Searched refs:s2 (Results 1 - 8 of 8) sorted by relevance

/system/core/sh/
H A Dmystring.h44 #define equal(s1, s2) (strcmp(s1, s2) == 0)
45 #define scopy(s1, s2) ((void)strcpy(s2, s1))
H A Darith_lex.c1825 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 Dtest_climits.cpp57 volatile short s2 = SHRT_MIN; local
/system/core/include/utils/
H A DUnicode.h30 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 DUnicode.cpp212 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
296 const char16_t* e2 = s2+n2;
298 while (s1 < e1 && s2 < e2) {
299 const int d = (int)*s1++ - (int)*s2++;
306 ? (0 - (int)*s2)
/system/core/adb/
H A Dsockets.c731 asocket *s2; local
753 s2 = create_host_service_socket(service, serial);
754 if(s2 == 0) {
771 s->peer->peer = s2;
772 s2->peer = s->peer;
778 s2->ready(s2);
/system/extras/libc_test/
H A Dmain.cpp126 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 Dnewfs_msdos.c739 const char *s1, *s2; local
754 s2 = mp->f_mntfromname;
755 if (!strncmp(s2, _PATH_DEV, len))
756 s2 += len;
757 if ((r && s2 != mp->f_mntfromname && !strcmp(s1 + 1, s2)) ||
758 !strcmp(s1, s2))

Completed in 147 milliseconds