Searched defs:s2 (Results 1 - 9 of 9) sorted by relevance

/system/extras/tests/bionic/libstdc++/
H A Dtest_climits.cpp57 volatile short s2 = SHRT_MIN; local
/system/wlan/ti/wilink_6_1/Test/
H A DsmeDebug.c124 char* sme_strcpy(char *s1,char *s2) argument
126 while (*s2)
128 *s1++ = *s2++;
136 int sme_memcmp(char* s1, char* s2, int n) argument
138 while(n-- > 0 && *s1 == *s2)
139 s1++, s2++;
141 return( n < 0 ? 0 : *s1 - *s2 );
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/
H A Dconsole.c973 int console_stricmp( char *s1, char *s2, U16 len ) argument
977 for( i=0; i<len && s1[i] && s2[i]; i++ )
979 if (tolower( s1[i]) != tolower( s2[i] ))
983 return ( (len - i) * (s1[i] - s2[i]) );
/system/core/adb/
H A Dsockets.c645 asocket *s2; local
667 s2 = create_host_service_socket(service, serial);
668 if(s2 == 0) {
685 s->peer->peer = s2;
686 s2->peer = s->peer;
692 s2->ready(s2);
/system/extras/tests/memtest/
H A Dmemtest.cpp373 static int ref_memcmp(const void *s1, const void *s2, size_t n) argument
375 const unsigned char *c1 = (const unsigned char *)s1, *c2 = (const unsigned char *)s2;
/system/wlan/ti/wilink_6_1/CUDK/os/linux/src/
H A Dosapi.c288 S32 os_memcmp(const PVOID s1, const PVOID s2, S32 n) argument
290 return memcmp(s1, s2, n);
300 S32 os_strcmp(const PS8 s1, const PS8 s2) argument
302 return strcmp((char*)s1,(char*)s2);
313 S32 os_strncmp(const PS8 s1, const PS8 s2, U32 n) argument
315 return strncmp((char*)s1,(char*)s2,n);
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/src/
H A Dconsole.c163 static S32 Console_stricmp( PS8 s1, PS8 s2, U16 len ) argument
167 for( i=0; i<len && s1[i] && s2[i]; i++ )
169 if (os_tolower(s1[i]) != os_tolower(s2[i] ))
173 return ( (len - i) * (s1[i] - s2[i]) );
/system/core/toolbox/
H A Dnewfs_msdos.c738 const char *s1, *s2; local
753 s2 = mp->f_mntfromname;
754 if (!strncmp(s2, _PATH_DEV, len))
755 s2 += len;
756 if ((r && s2 != mp->f_mntfromname && !strcmp(s1 + 1, s2)) ||
757 !strcmp(s1, s2))
/system/core/sh/
H A Darith_lex.c1825 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) argument
1829 s1[i] = s2[i];

Completed in 196 milliseconds