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