/device/linaro/bootloader/edk2/StdLib/LibC/String/ |
D | Comparison.c | 29 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument 31 return (int)CompareMem( s1, s2, n); in memcmp() 41 int strcmp(const char *s1, const char *s2) in strcmp() argument 43 return (int)AsciiStrCmp( s1, s2); in strcmp() 55 int strcoll(const char *s1, const char *s2) in strcoll() argument 58 return (strcmp(s1, s2)); in strcoll() 70 int strncmp(const char *s1, const char *s2, size_t n) in strncmp() argument 72 return (int)AsciiStrnCmp( s1, s2, n); in strncmp() 108 strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 110 return (int)AsciiStriCmp( s1, s2); in strcasecmp()
|
D | Copying.c | 36 memcpy(void * __restrict s1, const void * __restrict s2, size_t n) in memcpy() argument 38 return CopyMem( s1, s2, n); in memcpy() 56 memmove(void *s1, const void *s2, size_t n) in memmove() argument 58 return CopyMem( s1, s2, n); in memmove() 68 strcpy(char * __restrict s1, const char * __restrict s2) in strcpy() argument 74 return AsciiStrCpy( s1, s2); in strcpy() 88 char *strncpy(char * __restrict s1, const char * __restrict s2, size_t n) in strncpy() argument 90 return AsciiStrnCpy( s1, s2, n); in strncpy() 118 int strncpyX(char * __restrict s1, const char * __restrict s2, size_t n) in strncpyX() argument 123 if((*s1++ = *s2++) == '\0') break; in strncpyX()
|
D | Searching.c | 64 BuildBitmap(unsigned char * bitmap, const char *s2, int n) in BuildBitmap() argument 74 for (; *s2 != '\0'; s2++) { in BuildBitmap() 75 index = WHICH8(*s2); in BuildBitmap() 76 bit = WHICH_BIT(*s2); in BuildBitmap() 88 strcspn(const char *s1, const char *s2) in strcspn() argument 97 BuildBitmap( bitmap, s2, sizeof(bitmap) / sizeof(UINT64)); in strcspn() 115 strpbrk(const char *s1, const char *s2) in strpbrk() argument 121 BuildBitmap( bitmap, s2, sizeof(bitmap) / sizeof(UINT64)); in strpbrk() 160 strspn(const char *s1 , const char *s2) in strspn() argument 167 BuildBitmap( bitmap, s2, sizeof(bitmap) / sizeof(UINT64)); in strspn() [all …]
|
D | Concatenation.c | 29 strcat(char * __restrict s1, const char * __restrict s2) in strcat() argument 31 return AsciiStrCat( s1, s2); in strcat() 44 strncat(char * __restrict s1, const char * __restrict s2, size_t n) in strncat() argument 46 return AsciiStrnCat( s1, s2, n); in strncat() 64 strncatX(char * __restrict s1, const char * __restrict s2, size_t n) in strncatX() argument 75 if((*s1++ = *s2++) == '\0') break; in strncatX()
|
D | strncasecmp.c | 61 strncasecmp(const char *s1, const char *s2, size_t n) in __weak_alias() 66 _DIAGASSERT(s2 != NULL); in __weak_alias() 70 CompareVal = tolower(*s1) - tolower(*s2); in __weak_alias() 75 ++s2; in __weak_alias()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | pystrcmp.c | 7 PyOS_mystrnicmp(const char *s1, const char *s2, Py_ssize_t size) in PyOS_mystrnicmp() argument 12 (tolower((unsigned)*s1) == tolower((unsigned)*s2))) { in PyOS_mystrnicmp() 13 if (!*s1++ || !*s2++) in PyOS_mystrnicmp() 16 return tolower((unsigned)*s1) - tolower((unsigned)*s2); in PyOS_mystrnicmp() 20 PyOS_mystricmp(const char *s1, const char *s2) in PyOS_mystricmp() argument 22 while (*s1 && (tolower((unsigned)*s1++) == tolower((unsigned)*s2++))) { in PyOS_mystricmp() 25 return (tolower((unsigned)*s1) - tolower((unsigned)*s2)); in PyOS_mystricmp()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | pystrcmp.c | 7 PyOS_mystrnicmp(const char *s1, const char *s2, Py_ssize_t size) in PyOS_mystrnicmp() argument 12 (tolower((unsigned)*s1) == tolower((unsigned)*s2))) { in PyOS_mystrnicmp() 13 if (!*s1++ || !*s2++) in PyOS_mystrnicmp() 16 return tolower((unsigned)*s1) - tolower((unsigned)*s2); in PyOS_mystrnicmp() 20 PyOS_mystricmp(const char *s1, const char *s2) in PyOS_mystricmp() argument 22 while (*s1 && (tolower((unsigned)*s1++) == tolower((unsigned)*s2++))) { in PyOS_mystricmp() 25 return (tolower((unsigned)*s1) - tolower((unsigned)*s2)); in PyOS_mystricmp()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Wchar/ |
D | Searching.c | 59 BuildBitmap(unsigned char * bitmap, const wchar_t *s2, UINTN n) in BuildBitmap() argument 71 for (; *s2 != 0; ++s2) { in BuildBitmap() 72 index = WHICH8(*s2); in BuildBitmap() 73 bit = WHICH_BIT(*s2); in BuildBitmap() 84 size_t wcscspn(const wchar_t *s1, const wchar_t *s2) in wcscspn() argument 94 BuildBitmap( __wchar_bitmap, s2, __wchar_bitmap_size); in wcscspn() 113 wchar_t *wcspbrk(const wchar_t *s1, const wchar_t *s2) in wcspbrk() argument 118 BuildBitmap( __wchar_bitmap, s2, __wchar_bitmap_size); in wcspbrk() 154 size_t wcsspn(const wchar_t *s1, const wchar_t *s2) in wcsspn() argument 160 BuildBitmap( __wchar_bitmap, s2, __wchar_bitmap_size); in wcsspn() [all …]
|
D | Copying.c | 30 wchar_t *wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscpy() argument 32 return (wchar_t *)StrCpy( (CHAR16 *)s1, (CONST CHAR16 *)s2); in wcscpy() 45 wchar_t *wcsncpy(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) in wcsncpy() argument 47 return (wchar_t *)StrnCpy( (CHAR16 *)s1, (CONST CHAR16 *)s2, (UINTN)n); in wcsncpy() 58 wchar_t *wmemcpy(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) in wmemcpy() argument 60 return (wchar_t *)CopyMem( s1, s2, (UINTN)(n * sizeof(wchar_t))); in wmemcpy() 77 wchar_t *wmemmove(wchar_t *s1, const wchar_t *s2, size_t n) in wmemmove() argument 79 return (wchar_t *)CopyMem( s1, s2, (UINTN)(n * sizeof(wchar_t))); in wmemmove()
|
D | Comparison.c | 33 int wcscmp(const wchar_t *s1, const wchar_t *s2) in wcscmp() argument 35 return (int)StrCmp( (CONST CHAR16 *)s1, (CONST CHAR16 *)s2); in wcscmp() 62 int wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n) in wcsncmp() argument 64 return (int)StrnCmp( (CONST CHAR16 *)s1, (CONST CHAR16 *)s2, (UINTN)n); in wcsncmp() 94 int wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n) in wmemcmp() argument 96 return (int)CompareMem( s1, s2, (UINTN)(n * sizeof(wchar_t))); in wmemcmp()
|
D | Concatenation.c | 32 wchar_t *wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscat() argument 34 return (wchar_t *)StrCat( (CHAR16 *)s1, (CONST CHAR16 *)s2); in wcscat() 45 wchar_t *wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) in wcsncat() argument 47 return (wchar_t *)StrnCat( (CHAR16 *)s1, (CONST CHAR16 *)s2, (UINTN)n); in wcsncat()
|
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/ |
D | strcmp.c | 46 strcmp(const char *s1, const char *s2) in strcmp() argument 48 while (*s1 == *s2++) in strcmp() 51 return *(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1); in strcmp() 55 strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 58 const unsigned char *us2 = (const unsigned char *)s2; in strcasecmp()
|
D | strncmp.c | 39 strncmp(const char *s1, const char *s2, size_t n) in strncmp() argument 45 if (*s1 != *s2++) in strncmp() 47 *(const unsigned char *)(s2 - 1)); in strncmp()
|
/device/google/contexthub/firmware/lib/libc/ |
D | strcasecmp.c | 77 strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 81 const u_char *us2 = (const u_char *)s2; in strcasecmp() 90 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() argument 95 const u_char *us2 = (const u_char *)s2; in strncasecmp()
|
/device/google/contexthub/firmware/lib/libm/ |
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 = s_h*s_h; 181 t_h = (float)3.0+s2+r; 184 t_l = r-((t_h-(float)3.0)-s2);
|
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);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
D | e_pow.c | 224 double ss,s2,s_h,s_l,t_h,t_l; in __ieee754_pow() local 250 s2 = ss*ss; in __ieee754_pow() 251 r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6))))); in __ieee754_pow() 253 s2 = s_h*s_h; in __ieee754_pow() 254 t_h = 3.0+s2+r; in __ieee754_pow() 256 t_l = r-((t_h-3.0)-s2); in __ieee754_pow()
|
D | s_atan.c | 76 double w,s1,s2,z; in atan() local 114 s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9])))); in atan() 115 if (id<0) return x - x*(s1+s2); in atan() 117 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atan()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
D | wcsxfrm.c | 45 const wchar_t *s2, in wcsxfrm() argument 53 len = wcslen(s2); in wcsxfrm() 55 wcscpy(s1, s2); in wcsxfrm()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
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/linaro/bootloader/edk2/StdLib/Include/ |
D | wchar.h | 1188 int wcscmp(const wchar_t *s1, const wchar_t *s2); 1200 int wcscoll(const wchar_t *s1, const wchar_t *s2); 1211 int wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n); 1227 size_t wcsxfrm(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n); 1237 int wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n); 1257 size_t wcscspn(const wchar_t *s1, const wchar_t *s2); 1267 wchar_t *wcspbrk(const wchar_t *s1, const wchar_t *s2); 1284 size_t wcsspn(const wchar_t *s1, const wchar_t *s2); 1294 wchar_t *wcsstr(const wchar_t *s1, const wchar_t *s2); 1331 wchar_t *wcstok(wchar_t * __restrict s1, const wchar_t * __restrict s2, wchar_t ** __restrict ptr);
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | sigtypes.h | 77 #define __sigsetequal(s1,s2) ((s1)->__bits[0] == (s2)->__bits[0] && \ argument 78 (s1)->__bits[1] == (s2)->__bits[1] && \ 79 (s1)->__bits[2] == (s2)->__bits[2] && \ 80 (s1)->__bits[3] == (s2)->__bits[3])
|
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/ |
D | s_atanf.c | 51 float w,s1,s2,z; in atanf() local 86 s2 = w*(aT[1]+w*aT[3]); in atanf() 87 if (id<0) return x - x*(s1+s2); in atanf() 89 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atanf()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
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): argument 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.st_ino
|
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/ |
D | dtoa.c | 128 j, jj1, k, k0, k_check, leftright, m2, m5, s2, s5, local 271 s2 = j; 275 s2 = 0; 280 s2 += k; 506 s2 += i; 511 if (m2 > 0 && s2 > 0) { 512 i = m2 < s2 ? m2 : s2; 515 s2 -= i; 563 s2 += Log2P; 576 if (( i = ((s5 ? 32 - hi0bits(S->x[S->wds-1]) : 1) + s2) & 0x1f )!=0) [all …]
|