/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
H A D | pystrcmp.c | 7 PyOS_mystrnicmp(const char *s1, const char *s2, Py_ssize_t size)
argument 12 (tolower((unsigned)*s1) == tolower((unsigned)*s2))) {
13 if (!*s1++ || !*s2++)
16 return tolower((unsigned)*s1) - tolower((unsigned)*s2);
20 PyOS_mystricmp(const char *s1, const char *s2)
argument 22 while (*s1 && (tolower((unsigned)*s1++) == tolower((unsigned)*s2++))) {
25 return (tolower((unsigned)*s1) - tolower((unsigned)*s2));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
H A D | pystrcmp.c | 7 PyOS_mystrnicmp(const char *s1, const char *s2, Py_ssize_t size)
argument 12 (tolower((unsigned)*s1) == tolower((unsigned)*s2))) {
13 if (!*s1++ || !*s2++)
16 return tolower((unsigned)*s1) - tolower((unsigned)*s2);
20 PyOS_mystricmp(const char *s1, const char *s2)
argument 22 while (*s1 && (tolower((unsigned)*s1++) == tolower((unsigned)*s2++))) {
25 return (tolower((unsigned)*s1) - tolower((unsigned)*s2));
|
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/ |
H A D | strncmp.c | 39 strncmp(const char *s1, const char *s2, size_t n) argument 45 if (*s1 != *s2++) 47 *(const unsigned char *)(s2 - 1));
|
H A D | strcmp.c | 46 strcmp(const char *s1, const char *s2) argument 48 while (*s1 == *s2++) 51 return *(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1); 55 strcasecmp(const char *s1, const char *s2) argument 58 const unsigned char *us2 = (const unsigned char *)s2;
|
/device/linaro/bootloader/edk2/StdLib/LibC/String/ |
H A D | Comparison.c | 23 to by s1 to the first n characters of the object pointed to by s2.
27 greater than, equal to, or less than the object pointed to by s2.
29 int memcmp(const void *s1, const void *s2, size_t n)
argument 31 return (int)CompareMem( s1, s2, n);
35 pointed to by s2.
39 greater than, equal to, or less than the string pointed to by s2.
41 int strcmp(const char *s1, const char *s2)
argument 43 return (int)AsciiStrCmp( s1, s2);
47 pointed to by s2, both interpreted as appropriate to the LC_COLLATE
52 greater than, equal to, or less than the string pointed to by s2
55 strcoll(const char *s1, const char *s2) argument 70 strncmp(const char *s1, const char *s2, size_t n) argument 108 strcasecmp(const char *s1, const char *s2) argument [all...] |
H A D | Concatenation.c | 20 /** The strcat function appends a copy of the string pointed to by s2
22 to by s1. The initial character of s2 overwrites the null character at the
29 strcat(char * __restrict s1, const char * __restrict s2)
argument 31 return AsciiStrCat( s1, s2);
36 by s2 to the end of the string pointed to by s1. The initial character of
37 s2 overwrites the null character at the end of s1. A terminating null
44 strncat(char * __restrict s1, const char * __restrict s2, size_t n)
argument 46 return AsciiStrnCat( s1, s2, n);
51 by s2 to the end of the string pointed to by s1. The initial character of
52 s2 overwrite 64 strncatX(char * __restrict s1, const char * __restrict s2, size_t n) argument [all...] |
H A D | Copying.c | 28 /** The memcpy function copies n characters from the object pointed to by s2
31 The implementation is reentrant and handles the case where s2 overlaps s1.
36 memcpy(void * __restrict s1, const void * __restrict s2, size_t n)
argument 38 return CopyMem( s1, s2, n);
42 /** The memmove function copies n characters from the object pointed to by s2
44 characters from the object pointed to by s2 are first copied into a
46 to by s1 and s2, and then the n characters from the temporary array are
49 This is a version of memcpy that is guaranteed to work when s1 and s2
56 memmove(void *s1, const void *s2, size_t n)
argument 58 return CopyMem( s1, s2, 68 strcpy(char * __restrict s1, const char * __restrict s2) argument 88 strncpy(char * __restrict s1, const char * __restrict s2, size_t n) argument 118 strncpyX(char * __restrict s1, const char * __restrict s2, size_t n) argument [all...] |
H A D | strncasecmp.c | 61 strncasecmp(const char *s1, const char *s2, size_t n)
66 _DIAGASSERT(s2 != NULL);
70 CompareVal = tolower(*s1) - tolower(*s2);
75 ++s2;
|
H A D | Searching.c | 64 BuildBitmap(unsigned char * bitmap, const char *s2, int n)
argument 73 // Set bits in bitmap corresponding to the characters in s2
74 for (; *s2 != '\0'; s2++) {
75 index = WHICH8(*s2);
76 bit = WHICH_BIT(*s2);
83 the string pointed to by s2.
88 strcspn(const char *s1, const char *s2)
argument 97 BuildBitmap( bitmap, s2, sizeof(bitmap) / sizeof(UINT64));
109 by s1 of any character from the string pointed to by s2 115 strpbrk(const char *s1, const char *s2) argument 160 strspn(const char *s1 , const char *s2) argument 187 strstr(const char *s1 , const char *s2) argument 221 strtok(char * __restrict s1, const char * __restrict s2) argument [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Wchar/ |
H A D | Comparison.c | 26 string pointed to by s2.
31 pointed to by s2.
33 int wcscmp(const wchar_t *s1, const wchar_t *s2)
argument 35 return (int)StrCmp( (CONST CHAR16 *)s1, (CONST CHAR16 *)s2);
39 string pointed to by s2, both interpreted as appropriate to the LC_COLLATE
45 pointed to by s2 when both are interpreted as appropriate to
48 //int wcscoll(const wchar_t *s1, const wchar_t *s2)
55 s1 to the array pointed to by s2.
60 the possibly null-terminated array pointed to by s2.
62 int wcsncmp(const wchar_t *s1, const wchar_t *s2, size_ argument 94 wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument [all...] |
H A D | Copying.c | 25 /** The wcscpy function copies the wide string pointed to by s2 (including the
30 wchar_t *wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2)
argument 32 return (wchar_t *)StrCpy( (CHAR16 *)s1, (CONST CHAR16 *)s2);
37 s2 to the array pointed to by s1.
39 If the array pointed to by s2 is a wide string that is shorter than n wide
45 wchar_t *wcsncpy(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n)
argument 47 return (wchar_t *)StrnCpy( (CHAR16 *)s1, (CONST CHAR16 *)s2, (UINTN)n);
51 s2 to the object pointed to by s1.
53 Use this function if you know that s1 and s2 DO NOT Overlap. Otherwise,
58 wchar_t *wmemcpy(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_ argument 77 wmemmove(wchar_t *s1, const wchar_t *s2, size_t n) argument [all...] |
H A D | Concatenation.c | 25 /** The wcscat function appends a copy of the wide string pointed to by s2
27 string pointed to by s1. The initial wide character of s2 overwrites the
32 wchar_t *wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2)
argument 34 return (wchar_t *)StrCat( (CHAR16 *)s1, (CONST CHAR16 *)s2);
39 to by s2 to the end of the wide string pointed to by s1. The initial wide
40 character of s2 overwrites the null wide character at the end of s1.
45 wchar_t *wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n)
argument 47 return (wchar_t *)StrnCat( (CHAR16 *)s1, (CONST CHAR16 *)s2, (UINTN)n);
|
H A D | Searching.c | 59 BuildBitmap(unsigned char * bitmap, const wchar_t *s2, UINTN n)
argument 70 // Set bits in bitmap corresponding to the characters in s2
71 for (; *s2 != 0; ++s2) {
72 index = WHICH8(*s2);
73 bit = WHICH_BIT(*s2);
80 not from the wide string pointed to by s2.
84 size_t wcscspn(const wchar_t *s1, const wchar_t *s2)
argument 94 BuildBitmap( __wchar_bitmap, s2, __wchar_bitmap_size);
107 pointed to by s2 113 wcspbrk(const wchar_t *s1, const wchar_t *s2) argument 154 wcsspn(const wchar_t *s1, const wchar_t *s2) argument 179 wcsstr(const wchar_t *s1, const wchar_t *s2) argument 219 wcstok(wchar_t * __restrict s1, const wchar_t * __restrict s2, wchar_t ** __restrict ptr) argument [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
H A D | wcscoll.c | 43 wcscoll(const wchar_t *s1, const wchar_t *s2)
argument 46 return (wcscmp(s1, s2));
|
H A D | wcsxfrm.c | 45 const wchar_t *s2,
53 len = wcslen(s2);
55 wcscpy(s1, s2);
43 wcsxfrm( wchar_t *s1, const wchar_t *s2, size_t n ) argument
|
/device/google/contexthub/firmware/lib/libc/ |
H A D | strcasecmp.c | 77 strcasecmp(const char *s1, const char *s2) argument 81 const u_char *us2 = (const u_char *)s2; 90 strncasecmp(const char *s1, const char *s2, size_t n) argument 95 const u_char *us2 = (const u_char *)s2;
|
H A D | memcmp.c | 42 memcmp(const void *s1, const void *s2, size_t n) argument 45 const unsigned char *p1 = s1, *p2 = s2;
|
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/ |
H A D | s_atanf.c | 51 float w,s1,s2,z; local 86 s2 = w*(aT[1]+w*aT[3]); 87 if (id<0) return x - x*(s1+s2); 89 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_slice.py | 25 s2 = slice(1, 2, 3)
27 self.assertEqual(s1, s2)
39 s2 = slice(BadCmp())
40 self.assertRaises(Exc, cmp, s1, s2)
44 s2 = slice(1, BadCmp())
46 self.assertRaises(Exc, cmp, s1, s2)
49 s2 = slice(1, 2, BadCmp())
51 self.assertRaises(Exc, cmp, s1, s2)
|
/device/google/contexthub/firmware/lib/libm/ |
H A D | sf_atan.c | 74 float w,s1,s2,z; local 109 s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9])))); 110 if (id<0) return x - x*(s1+s2); 112 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
|
H A D | ef_pow.c | 151 float s2,s_h,s_l,t_h,t_l; local 177 s2 = s*s; 178 r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6))))); 180 s2 [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
H A D | s_atan.c | 76 double w,s1,s2,z;
local 114 s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9]))));
115 if (id<0) return x - x*(s1+s2);
117 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
H A D | sigtypes.h | 77 #define __sigsetequal(s1,s2) ((s1)->__bits[0] == (s2)->__bits[0] && \
78 (s1)->__bits[1] == (s2)->__bits[1] && \
79 (s1)->__bits[2] == (s2)->__bits[2] && \
80 (s1)->__bits[3] == (s2)->__bits[3])
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | posixpath.py | 154 s2 = os.stat(f2)
155 return samestat(s1, s2)
164 s2 = os.fstat(fp2)
165 return samestat(s1, s2)
171 def samestat(s1, s2):
173 return s1.st_ino == s2.st_ino and \
174 s1.st_dev == s2.st_dev
187 s2 = os.lstat(join(path, '..'))
191 dev2 = s2.st_dev
195 ino2 = s2 [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/ |
H A D | wchar.h | 85 const wchar_t * __restrict s2);
87 const wchar_t * __restrict s2, size_t n);
89 const wchar_t * __restrict s2, size_t n);
90 wchar_t *wmemmove (wchar_t *s1, const wchar_t *s2, size_t n);
94 const wchar_t * __restrict s2);
96 const wchar_t * __restrict s2, size_t n);
99 int wcscmp (const wchar_t *s1, const wchar_t *s2);
100 int wcscoll (const wchar_t *s1, const wchar_t *s2);
101 int wcsncmp (const wchar_t *s1, const wchar_t *s2, size_t n);
103 const wchar_t * __restrict s2, size_ [all...] |