/system/core/sh/ |
H A D | mystring.h | 44 #define equal(s1, s2) (strcmp(s1, s2) == 0) 45 #define scopy(s1, s2) ((void)strcpy(s2, s1))
|
H A D | arith_lex.c | 1825 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) argument 1829 s1[i] = s2[i];
|
/system/extras/tests/bionic/libstdc++/ |
H A D | test_climits.cpp | 56 volatile short s1 = SHRT_MAX; local
|
/system/core/include/utils/ |
H A D | Unicode.h | 30 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n); 43 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2);
|
/system/core/libutils/ |
H A D | Unicode.cpp | 212 int strcmp16(const char16_t *s1, const char16_t *s2) argument 218 d = (int)(ch = *s1++) - (int)*s2++; 226 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n) argument 232 d = (int)(ch = *s1++) - (int)*s2++; 293 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) argument 295 const char16_t* e1 = s1+n1; 298 while (s1 < e1 && s2 < e2) { 299 const int d = (int)*s1++ - (int)*s2++; 308 ? ((int)*s1 - 0)
|
/system/core/libmincrypt/ |
H A D | sha256.c | 73 uint32_t s1 = ror(W[t-2], 17) ^ ror(W[t-2], 19) ^ shr(W[t-2], 10); local 74 W[t] = W[t-16] + s0 + W[t-7] + s1; 90 uint32_t s1 = ror(E, 6) ^ ror(E, 11) ^ ror(E, 25); local 92 uint32_t t1 = H + s1 + ch + K[t] + W[t];
|
/system/core/libpixelflinger/codeflinger/ |
H A D | load_store.cpp | 88 int s1 = scratches.obtain(); local 89 LDRB(AL, s1, addr.reg, immed12_pre(0)); // R 91 ORR(AL, 0, s1, s1, reg_imm(s0, LSL, 8)); 93 ORR(AL, 0, s.reg, s1, reg_imm(s0, LSL, 16));
|
/system/extras/libc_test/ |
H A D | main.cpp | 126 int (*test_strcmp)(const char *s1, const char *s2), 163 int (*test_strcmp)(const char *s1, const char *s2), 230 bool doStrcmpCheckRead(int (*test_strcmp)(const char *s1, const char *s2), argument 304 bool runStrcmpTest(int (*test_strcmp)(const char *s1, const char *s2), 125 doStrcmpExpectEqual(char *string1, char *string2, const int align[4], int (*test_strcmp)(const char *s1, const char *s2), bool verbose) argument 161 doStrcmpExpectDiff(char *string1, char *string2, const int diff_align[2], const int align[4], char diff_char, int (*test_strcmp)(const char *s1, const char *s2), bool verbose) argument
|
/system/core/toolbox/ |
H A D | newfs_msdos.c | 739 const char *s1, *s2; local 749 s1 = fname; 750 if (!strncmp(s1, _PATH_DEV, len)) 751 s1 += len; 752 r = S_ISCHR(mode) && s1 != fname && *s1 == 'r'; 757 if ((r && s2 != mp->f_mntfromname && !strcmp(s1 + 1, s2)) || 758 !strcmp(s1, s2))
|