Searched refs:s2 (Results 26 - 50 of 59) sorted by relevance

123

/haiku/src/apps/mail/
H A DWords.cpp468 const char *s1, *s2; local
472 s2 = reference;
476 while (*s2 || *s1) {
478 c2 = tolower(*s2);
480 if (*s2 && *s1) {
483 b = (tolower(s2[1]) == c1);
488 s2++;
498 s2++;
511 if (*s2)
512 s2
[all...]
/haiku/src/libs/mapm/
H A Dmapmutl2.c308 /* returns char position of first occurence of s2 in s1
311 int M_strposition(char *s1, char *s2) argument
320 if (*s2 == '\0') return(-1);
326 p2 = s2;
/haiku/src/system/libroot/posix/glibc/math/
H A Dk_casinhf.c128 float s2 = sqrtf ((d - rx * rx) / 2.0f); local
130 __real__ res = log1pf (rx * rx + d + 2.0f * (rx * s1 + s2)) / 2.0f;
133 copysignf (1.0f + s2,
136 __imag__ res = atan2f (1.0f + s2, rx + s1);
H A Dk_casinh.c127 double s2 = sqrt ((d - rx * rx) / 2.0); local
129 __real__ res = log1p (rx * rx + d + 2.0 * (rx * s1 + s2)) / 2.0;
131 __imag__ res = atan2 (rx + s1, copysign (1.0 + s2,
134 __imag__ res = atan2 (1.0 + s2, rx + s1);
H A Dk_casinhl.c135 long double s2 = sqrtl ((d - rx * rx) / 2.0L); local
137 __real__ res = log1pl (rx * rx + d + 2.0L * (rx * s1 + s2)) / 2.0L;
140 copysignl (1.0L + s2,
143 __imag__ res = atan2l (1.0L + s2, rx + s1);
/haiku/src/apps/haikudepot/model/
H A DLanguageModel.cpp270 LanguageModel::_NullSafeStrCmp(const char* s1, const char* s2) { argument
271 if ((NULL == s1) && (NULL == s2))
275 if (NULL == s2)
277 return strcmp(s1, s2);
/haiku/src/system/kernel/arch/riscv64/
H A Darch_asm.S25 sd s2, 3*8(a0)
41 ld s2, 3*8(a1)
138 mv a0, s2
H A Darch_user_debugger.cpp67 frame->s2 = cpuState->x[17];
117 cpuState->x[17] = frame->s2;
H A Darch_thread.cpp206 signalFrameData->context.uc_mcontext.x[17] = frame->s2;
291 frame->s2 = signalFrameData->context.uc_mcontext.x[17];
/haiku/headers/private/kernel/arch/riscv64/
H A Darch_thread_types.h39 uint64 s2; member in struct:iframe
/haiku/headers/libs/agg/
H A Dagg_renderer_outline_image.h133 const color_type* s2; local
137 //s2 = m_buf.row_ptr(m_dilation) + m_dilation;
143 //*d2++ = color_type(*s2++, 0);
153 s2 = m_buf.row_ptr(y) + m_dilation + m_width;
160 *--d2 = *--s2;
609 int s2 = -s1; local
631 m_ren.pixel(p1, dist_pict, s2);
647 m_ren.pixel(p1, dist_pict, s2 - dist);
668 m_ren.pixel(p0, dist_pict, s2 + dist);
695 int s2 local
[all...]
/haiku/src/system/libroot/posix/stdlib/
H A Dstrtod.c1830 j, j1, k, k0, k_check, leftright, m2, m5, s2, s5,
1951 s2 = j;
1954 s2 = 0;
1959 s2 += k;
2171 s2 += i;
2174 if (m2 > 0 && s2 > 0) {
2175 i = m2 < s2 ? m2 : s2;
2178 s2 -= i;
2207 s2
[all...]
/haiku/src/system/boot/platform/riscv/
H A Dtraps.cpp37 uint64 s2; member in struct:iframe
/haiku/src/system/libroot/posix/glibc/include/
H A Dwchar.h39 extern wchar_t *__wmemcpy (wchar_t *__s1, __const wchar_t *s2,
/haiku/src/system/libroot/posix/musl/math/
H A Dlgamma_r.c129 s2 = 3.25778796408930981787e-01, /* 0x3FD4D98F, 0x4F139F59 */ variable
257 p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6))))));
H A Dlgammaf_r.c64 s2 = 3.2577878237e-01, /* 0x3ea6cc7a */ variable
192 p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6))))));
H A Dlgammal.c171 s2 = -6.573568698209374121847873064292963089438E6L, variable
308 p = y * (s0 + y * (s1 + y * (s2 + y * (s3 + y * (s4 + y * (s5 + y * s6))))));
/haiku/src/kits/locale/
H A DCollator.cpp173 BCollator::Compare(const char* s1, const char* s2) const
178 return fICUCollator->compare(s1, s2, error);
/haiku/src/libs/icon/
H A DIconUtils.cpp67 uint8* s2 = s1 + bpr; local
69 d[0] = (((s2[0] - s1[0]) * weight) + (s1[0] << 8)) >> 8;
70 d[1] = (((s2[1] - s1[1]) * weight) + (s1[1] << 8)) >> 8;
71 d[2] = (((s2[2] - s1[2]) * weight) + (s1[2] << 8)) >> 8;
72 d[3] = (((s2[3] - s1[3]) * weight) + (s1[3] << 8)) >> 8;
97 uint8* s2 = s1 + 4; local
99 d[0] = (((s2[0] - s1[0]) * weight) + (s1[0] << 8)) >> 8;
100 d[1] = (((s2[1] - s1[1]) * weight) + (s1[1] << 8)) >> 8;
101 d[2] = (((s2[2] - s1[2]) * weight) + (s1[2] << 8)) >> 8;
102 d[3] = (((s2[
[all...]
/haiku/src/add-ons/print/transports/ipp/
H A DIppContent.cpp396 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 DIppContent.h325 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/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunistr.c112 * @s1: name to compare to @s2
114 * @s2: name to compare to @s1
115 * @s2_len: length in Unicode characters of @s2
120 * Compare the names @s1 and @s2 and return TRUE (1) if the names are
125 const ntfschar *s2, size_t s2_len,
134 return ntfs_ucsncmp(s1, s2, s1_len) ? FALSE: TRUE;
135 return ntfs_ucsncasecmp(s1, s2, s1_len, upcase, upcase_size) ? FALSE:
248 * @s2: second string
251 * Compare the first @n characters of the Unicode strings @s1 and @s2,
257 * to be less than, to match, or be greater than @s2
124 ntfs_names_are_equal(const ntfschar *s1, size_t s1_len, const ntfschar *s2, size_t s2_len, const IGNORE_CASE_BOOL ic, const ntfschar *upcase, const u32 upcase_size) argument
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...]
/haiku/src/bin/unzip/
H A Dfileio.c2403 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;
2543 char Far * Far zfstrcpy(char Far *s1, const char Far *s2) argument
2547 while ((*s1++ = *s2++) != '\0');
/haiku/src/build/libgnuregex/
H A Dregex.c54 #define bcmp(s1, s2, n) memcmp ((s1), (s2), (n))
227 #define STREQ(s1, s2) ((strcmp (s1, s2) == 0))
476 #define DEBUG_PRINT_DOUBLE_STRING(w, s1, sz1, s2, sz2) \
477 if (debug) print_double_string (w, s1, sz1, s2, sz2)
789 #define DEBUG_PRINT_DOUBLE_STRING(w, s1, sz1, s2, sz2)
4602 bcmp_translate (s1, s2, len, translate)
4603 unsigned char *s1, *s2;
4607 register unsigned char *p1 = s1, *p2 = s2;
[all...]
/haiku/src/apps/deskbar/
H A DSwitcher.cpp299 SmartStrcmp(const char* s1, const char* s2) argument
301 if (strcasecmp(s1, s2) == 0)
305 while (*s1 && *s2) {
310 if ((*s2 == ' ') || (*s2 == '_')) {
311 s2++;
314 if (*s1 != *s2) {
319 s2++;
326 if (*s2)

Completed in 164 milliseconds

123