/haiku/headers/cpp/std/ |
H A D | straits.h | 59 static int compare (const char_type* s1, const char_type* s2, size_t n) argument 63 if (ne (s1[i], s2[i])) 64 return lt (s1[i], s2[i]) ? -1 : 1; 77 static char_type* copy (char_type* s1, const char_type* s2, size_t n) argument 80 assign (s1[n], s2[n]); 81 return s1; 84 static char_type* move (char_type* s1, const char_type* s2, size_t n) argument 91 assign (s1[i], a[i]); 92 return s1; 95 static char_type* set (char_type* s1, cons argument 122 compare(const char_type* s1, const char_type* s2, size_t n) argument 126 copy(char_type* s1, const char_type* s2, size_t n) argument 128 move(char_type* s1, const char_type* s2, size_t n) argument 130 set(char_type* s1, const char_type& c, size_t n) argument [all...] |
/haiku/headers/libs/agg/ |
H A D | agg_renderer_outline_aa.h | 598 int s1 = base_type::step_hor_base(m_di); local 602 *p1++ = (cover_type)base_type::m_ren.cover(s1); 605 while((dist = base_type::m_dist[dy] - s1) <= base_type::m_width) 612 while((dist = base_type::m_dist[dy] + s1) <= base_type::m_width) 629 int s1 = base_type::step_ver_base(m_di); local 633 *p1++ = (cover_type)base_type::m_ren.cover(s1); 636 while((dist = base_type::m_dist[dx] - s1) <= base_type::m_width) 643 while((dist = base_type::m_dist[dx] + s1) <= base_type::m_width) 763 int s1 = base_type::step_hor_base(m_di); local 772 *p1 = (cover_type)base_type::m_ren.cover(s1); 815 int s1 = base_type::step_ver_base(m_di); local 907 int s1 = base_type::step_hor_base(m_di); local 962 int s1 = base_type::step_ver_base(m_di); local 1122 int s1 = base_type::step_hor_base(m_di); local 1185 int s1 = base_type::step_ver_base(m_di); local [all...] |
H A D | agg_renderer_outline_image.h | 132 const color_type* s1; local 136 //s1 = m_buf.row_ptr(m_height + m_dilation - 1) + m_dilation; 142 //*d1++ = color_type(*s1++, 0); 152 s1 = m_buf.row_ptr(y) + m_dilation; 159 *d1++ = *s1++; 608 int s1 = m_di.dist() / m_lp.len; local 609 int s2 = -s1; 611 if(m_lp.inc < 0) s1 = -s1; 638 while((dist = m_dist_pos[dy]) - s1 < 694 int s1 = m_di.dist() / m_lp.len; local [all...] |
/haiku/headers/os/locale/ |
H A D | Collator.h | 60 int Compare(const char* s1, const char* s2) 62 bool Equal(const char* s1, const char* s2) 64 bool Greater(const char* s1, const char* s2) 66 bool GreaterOrEqual(const char* s1, const char* s2) 81 BCollator::Equal(const char *s1, const char *s2) const argument 83 return Compare(s1, s2) == 0; 88 BCollator::Greater(const char *s1, const char *s2) const argument 90 return Compare(s1, s2) > 0; 95 BCollator::GreaterOrEqual(const char *s1, const char *s2) const argument 97 return Compare(s1, s [all...] |
H A D | Locale.h | 45 int StringCompare(const char* s1, 47 int StringCompare(const BString* s1, 65 BLocale::StringCompare(const char* s1, const char* s2) const argument 67 return fCollator.Compare(s1, s2); 72 BLocale::StringCompare(const BString* s1, const BString* s2) const argument 74 return fCollator.Compare(s1->String(), s2->String());
|
/haiku/headers/tools/cppunit/cppunit/extensions/ |
H A D | HelperMacros.h | 262 #define __CPPUNIT_CONCATENATE_DIRECT( s1, s2 ) s1##s2 263 #define __CPPUNIT_CONCATENATE( s1, s2 ) __CPPUNIT_CONCATENATE_DIRECT( s1, s2 )
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_interrupts.c | 246 u_int32_t s0, s1; local 258 s1 = OS_REG_READ(ah, AR_ISR_S1); 259 OS_REG_WRITE(ah, AR_ISR_S1, s1);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | unistr.c | 112 * @s1: name to compare to @s2 113 * @s1_len: length in Unicode characters of @s1 114 * @s2: name to compare to @s1 120 * Compare the names @s1 and @s2 and return TRUE (1) if the names are 124 BOOL ntfs_names_are_equal(const ntfschar *s1, size_t s1_len, argument 134 return ntfs_ucsncmp(s1, s2, s1_len) ? FALSE: TRUE; 135 return ntfs_ucsncasecmp(s1, s2, s1_len, upcase, upcase_size) ? FALSE: 247 * @s1: first string 251 * Compare the first @n characters of the Unicode strings @s1 and @s2, 256 * if @s1 (o 259 ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n) argument 301 ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, const ntfschar *upcase, const u32 upcase_size) argument [all...] |
H A D | unistr.h | 29 extern BOOL ntfs_names_are_equal(const ntfschar *s1, size_t s1_len, 38 extern int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n); 40 extern int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n,
|
/haiku/src/add-ons/print/drivers/lpstyl/ |
H A D | Lpstyl.cpp | 82 int s1; local 87 s1 = _GetStatus('1'); 94 if (s1 == 1) { 99 } while (s1 == 1);
|
/haiku/src/add-ons/print/transports/ipp/ |
H A D | IppContent.cpp | 396 IppDoubleStringAttribute::IppDoubleStringAttribute(IPP_TAG t, const char *n, const char *s1, const char *s2) argument 397 : IppNamedAttribute(t, n), text1(s1 ? s1 : ""), text2(s2 ? s2 : "") 866 void IppContent::setTextWithLanguage(const char *name, const char *s1, const char *s2) argument 868 attrs.push_back(new IppDoubleStringAttribute(IPP_TEXT_WITH_LANGUAGE, name, s1, s2)); 871 void IppContent::setNameWithLanguage(const char *name, const char *s1, const char *s2) argument 873 attrs.push_back(new IppDoubleStringAttribute(IPP_NAME_WITH_LANGUAGE, name, s1, s2));
|
H A D | IppContent.h | 304 IppStringAttribute(IPP_TAG t, const char *s, const char *s1); 325 IppDoubleStringAttribute(IPP_TAG t, const char *n, const char *s1, const char *s2); 420 void setTextWithLanguage(const char *name, const char *s1, const char *s2); 421 void setNameWithLanguage(const char *name, const char *s1, const char *s2);
|
/haiku/src/apps/glteapot/ |
H A D | Quaternion.h | 269 float s1 = sin(t * theta);
local 270 return Quaternion((m_x * s0 + q.x() * s1) * d,
271 (m_y * s0 + q.y() * s1) * d,
272 (m_z * s0 + q.z() * s1) * d,
273 (m_w * s0 + q.m_w * s1) * d);
|
/haiku/src/apps/haiku3d/ |
H A D | Quaternion.h | 277 float s1 = sin(t * theta); local 278 return Quaternion((m_x * s0 + q.x() * s1) * d, 279 (m_y * s0 + q.y() * s1) * d, 280 (m_z * s0 + q.z() * s1) * d, 281 (m_w * s0 + q.m_w * s1) * d);
|
/haiku/src/bin/ |
H A D | comm.c | 218 stricoll(const char *s1, const char *s2) argument 222 for (p = line1; *s1; s1++) 223 *p++ = tolower((unsigned char)*s1);
|
/haiku/src/bin/rc/ |
H A D | parser.y | 44 operator()(const char* s1, const char* s2) const 46 return strcmp(s1, s2) < 0;
|
/haiku/src/bin/unzip/ |
H A D | extract.c | 2248 static int namecmp(s1, s2) /* [not] used by dircomp(); swiped from Zip */ 2249 ZCONST char *s1, *s2; 2254 d = (int)(uch)case_map(*s1) 2257 if (d || *s1 == 0 || *s2 == 0) 2260 s1++;
|
H A D | fileio.c | 2403 int zstrnicmp(s1, s2, n) 2404 register ZCONST char *s1, *s2; 2407 for (; n > 0; --n, ++s1, ++s2) { 2409 if (ToLower(*s1) != ToLower(*s2)) 2411 return (ToLower(*s1) < ToLower(*s2))? -1 : 1; 2413 if (*s1 == '\0') /* both strings terminate early */ 2543 char Far * Far zfstrcpy(char Far *s1, const char Far *s2) argument 2545 char Far *p = s1; 2547 while ((*s1++ = *s2++) != '\0');
|
H A D | unzpriv.h | 1798 int zstrnicmp OF((register ZCONST char *s1, 1823 char Far * Far zfstrcpy OF((char Far *s1, const char Far *s2));
|
/haiku/src/kits/tracker/ |
H A D | TrackerString.cpp | 394 const char* s1 = string1; local 397 if (IsStartOfGlyph(*s1) && *s1 == *s2) { 398 s1++; 401 while (IsInsideGlyph(*s1) && *s1 == *s2) { 402 s1++; 406 return !IsInsideGlyph(*s1) 407 && !IsInsideGlyph(*s2) && *(s1 - 1) == *(s2 - 1);
|
/haiku/src/libs/compat/freebsd_wlan/crypto/rijndael/ |
H A D | rijndael-alg-fst.c | 864 u32 s0, s1, s2, s3, t0, t1, t2, t3; local 874 s1 = GETU32(pt + 4) ^ rk[1]; 879 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4]; 880 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; 881 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; 882 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7]; 885 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[ 9]; 889 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; 890 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; 891 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 1045 u32 s0, s1, s2, s3, t0, t1, t2, t3; local [all...] |
/haiku/src/libs/iconv/ |
H A D | cp932.h | 68 Conversion between SJIS codes (s1,s2) and JISX0208 codes (c1,c2): 69 Example. (s1,s2) = 0x8140, (c1,c2) = 0x2121. 70 0x81 <= s1 <= 0x9F || 0xE0 <= s1 <= 0xEA, 74 94*2*(s1 < 0xE0 ? s1-0x81 : s1-0xC1) + (s2 < 0x80 ? s2-0x40 : s2-0x41) 76 Conversion (s1,s2) -> (c1,c2): 77 t1 := (s1 < 0xE0 ? s1 97 unsigned char s1, s2; local [all...] |
H A D | johab.h | 26 Conversion between JOHAB codes (s1,s2) and KSX1001 codes (c1,c2): 27 Example. (s1,s2) = 0xD931, (c1,c2) = 0x2121. 28 (s1,s2) = 0xDEF1, (c1,c2) = 0x2C71. 29 (s1,s2) = 0xE031, (c1,c2) = 0x4A21. 30 (s1,s2) = 0xF9FE, (c1,c2) = 0x7D7E. 31 0xD9 <= s1 <= 0xDE || 0xE0 <= s1 <= 0xF9, 36 94*(s1 < 0xE0 ? 2*s1-0x1B2 : 2*s1 63 unsigned char s1, s2; local [all...] |
H A D | shift_jisx0213.h | 247 unsigned int s1, s2; local 251 s1 = jch >> 8; 253 s1 -= 0x21; 255 if (s1 >= 0x5e) { 257 if (s1 >= 0xcd) /* rows 0x26E..0x27E */ 258 s1 -= 102; 259 else if (s1 >= 0x8b || s1 == 0x87) /* rows 0x228, 0x22C..0x22F */ 260 s1 -= 40; 262 s1 [all...] |
H A D | sjis.h | 26 Conversion between SJIS codes (s1,s2) and JISX0208 codes (c1,c2): 27 Example. (s1,s2) = 0x8140, (c1,c2) = 0x2121. 28 0x81 <= s1 <= 0x9F || 0xE0 <= s1 <= 0xEA, 32 94*2*(s1 < 0xE0 ? s1-0x81 : s1-0xC1) + (s2 < 0x80 ? s2-0x40 : s2-0x41) 34 Conversion (s1,s2) -> (c1,c2): 35 t1 := (s1 < 0xE0 ? s1 53 unsigned char s1, s2; local [all...] |