/bionic/libc/string/ |
strcoll.c | 37 strcoll(const char *s1, const char *s2) 39 return strcmp(s1, s2);
|
strcmp.c | 45 strcmp(const char *s1, const char *s2) 47 while (*s1 == *s2++) 48 if (*s1++ == 0) 50 return (*(unsigned char *)s1 - *(unsigned char *)--s2);
|
strncmp.c | 39 strncmp(const char *s1, const char *s2, size_t n) 44 if (*s1 != *s2++) 45 return (*(unsigned char *)s1 - *(unsigned char *)--s2); 46 if (*s1++ == 0)
|
strpbrk.c | 34 * Find the first occurrence in s1 of a character in s2 (excluding NUL). 37 strpbrk(const char *s1, const char *s2) 42 while ((c = *s1++) != 0) { 45 return ((char *)(s1 - 1));
|
strcspn.c | 40 strcspn(const char *s1, const char *s2) 49 for (p = s1;;) { 54 return (p - 1 - s1);
|
strspn.c | 37 strspn(const char *s1, const char *s2) 39 const char *p = s1, *spanp; 50 return (p - 1 - s1);
|
/dalvik/vm/mterp/c/ |
OP_AGET_BYTE.c | 1 HANDLE_OP_AGET(OP_AGET_BYTE, "-byte", s1, )
|
OP_APUT_BYTE.c | 1 HANDLE_OP_APUT(OP_APUT_BYTE, "-byte", s1, )
|
OP_INT_TO_BYTE.c | 1 HANDLE_INT_TO_SMALL(OP_INT_TO_BYTE, "byte", s1)
|
OP_GOTO.c | 3 if ((s1)vdst < 0) 4 ILOGV("|goto -0x%02x", -((s1)vdst)); 6 ILOGV("|goto +0x%02x", ((s1)vdst)); 8 if ((s1)vdst < 0) 9 PERIODIC_CHECKS(kInterpEntryInstr, (s1)vdst); 10 FINISH((s1)vdst);
|
/external/webkit/JavaScriptCore/wtf/ |
StringExtras.cpp | 34 int strcasecmp(const char* s1, const char* s2) 36 while (toASCIIUpper(*s1) == toASCIIUpper(*s2)) { 37 if (*s1 == '\0') 39 s1++; 43 return toASCIIUpper(*s1) - toASCIIUpper(*s2); 46 int strncasecmp(const char* s1, const char* s2, size_t len) 48 while (len > 0 && toASCIIUpper(*s1) == toASCIIUpper(*s2)) { 49 if (*s1 == '\0') 51 s1++; 59 return toASCIIUpper(*s1) - toASCIIUpper(*s2) [all...] |
/bionic/libc/wchar/ |
wcscmp.c | 48 wcscmp(const wchar_t *s1, const wchar_t *s2) 51 while (*s1 == *s2++) 52 if (*s1++ == '\0') 55 return (*(const unsigned int *)s1 - *(const unsigned int *)--s2);
|
wcscasecmp.c | 34 wcscasecmp(const wchar_t *s1, const wchar_t *s2) 38 for (; *s1; s1++, s2++) { 39 c1 = towlower(*s1);
|
wcsncmp.c | 42 wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n) 48 if (*s1 != *s2++) { 50 return (*(const unsigned int *)s1 - 53 if (*s1++ == 0)
|
wmemcmp.c | 40 wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n) 45 if (*s1 != *s2) { 47 return *s1 > *s2 ? 1 : -1; 49 s1++;
|
wcsncasecmp.c | 34 wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n) 40 for (; *s1; s1++, s2++) { 41 c1 = towlower(*s1);
|
wcscat.c | 40 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) 44 cp = s1; 50 return (s1);
|
wcscpy.c | 40 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) 44 cp = s1; 48 return (s1);
|
/system/core/sh/ |
mystring.h | 44 #define equal(s1, s2) (strcmp(s1, s2) == 0) 45 #define scopy(s1, s2) ((void)strcpy(s2, s1))
|
/dalvik/vm/compiler/template/armv5te-vfp/ |
funop.S | 3 * "instr" line that specifies an instruction that performs "s1 = op s0". 13 $instr @ s1<- op s0 14 fsts s1, [r0] @ vA<- s1
|
/bootable/bootloader/legacy/libc/ |
strstr.c | 31 char *strstr(const char *s1, const char *s2) 33 int l1 = strlen(s1); 37 if (memcmp(s1, s2, l2) == 0) { 38 return s1; 40 s1++;
|
/ndk/build/awk/ |
check-awk.awk | 25 s1="A real world example" 26 if (! match(s1,"world")) { 33 s2=substr(s1,RSTART,RLENGTH)
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
nj_str.c | 64 NJ_INT16 nj_strcmp(NJ_CHAR *s1, NJ_CHAR *s2) { 66 while (*s1 == *s2) { 67 if (*s1 == NJ_CHAR_NUL) { 70 s1++; 73 return NJ_CHAR_DIFF(s1, s2); 76 NJ_INT16 nj_strncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { 79 if (*s1 != *s2++) { 80 return NJ_CHAR_DIFF(s1, (s2 - 1)); 82 if (*s1++ == NJ_CHAR_NUL) { 102 NJ_INT16 nj_charncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
convolve.cpp | 216 Word32 s1, s2; local 225 s1 = ((Word32) * (x++)) * *(h); 230 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1); 232 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1); 237 *(y++) = (Word16)(s1 >> 12);
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
syn_filt.cpp | 259 Word32 s1; local 287 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a), 0x00000800L); 289 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); 294 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); 296 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); 298 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); [all...] |