/device/linaro/bootloader/edk2/StdLib/LibC/Wchar/ |
D | Searching.c | 84 size_t wcscspn(const wchar_t *s1, const wchar_t *s2) in wcscspn() argument 91 if(*s1 == 0) return 0; in wcscspn() 92 s1len = wcslen(s1); in wcscspn() 96 for(str = s1; str < &s1[s1len] ; str++) { in wcscspn() 102 return (str - s1); in wcscspn() 113 wchar_t *wcspbrk(const wchar_t *s1, const wchar_t *s2) in wcspbrk() argument 120 for( ; *s1 != 0; ++s1) { in wcspbrk() 121 index = WHICH8(*s1); in wcspbrk() 122 bit = WHICH_BIT(*s1); in wcspbrk() 124 return (wchar_t *)s1; in wcspbrk() [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/edk2/StdLib/LibC/String/ |
D | Searching.c | 88 strcspn(const char *s1, const char *s2) in strcspn() argument 95 if(*s1 == '\0') return 0; in strcspn() 99 for(str = s1; ; str++) { in strcspn() 105 return (str - s1); in strcspn() 115 strpbrk(const char *s1, const char *s2) in strpbrk() argument 123 for( ; *s1 != '\0'; ++s1) { in strpbrk() 124 index = WHICH8(*s1); in strpbrk() 125 bit = WHICH_BIT(*s1); in strpbrk() 127 return (char *)s1; in strpbrk() 160 strspn(const char *s1 , const char *s2) in strspn() argument [all …]
|
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() 57 memmove(void *s1, const void *s2, size_t n) in memmove() argument 59 return CopyMem( s1, s2, n); in memmove() 70 strcpy(char * __restrict s1, const char * __restrict s2) in strcpy() argument 76 return AsciiStrCpy( s1, s2); in strcpy() 90 char *strncpy(char * __restrict s1, const char * __restrict s2, size_t n) in strncpy() argument 92 return AsciiStrnCpy( s1, s2, n); in strncpy() 120 int strncpyX(char * __restrict s1, const char * __restrict s2, size_t n) in strncpyX() argument 125 if((*s1++ = *s2++) == '\0') break; in strncpyX() [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 70 if( *s1++ == '\0') break; in strncatX() 74 for( --s1; n != 0; --n) { in strncatX() 75 if((*s1++ = *s2++) == '\0') break; in strncatX() 80 *--s1 = '\0'; in strncatX()
|
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 | strncasecmp.c | 61 strncasecmp(const char *s1, const char *s2, size_t n) in __weak_alias() 65 _DIAGASSERT(s1 != NULL); in __weak_alias() 70 CompareVal = tolower(*s1) - tolower(*s2); in __weak_alias() 74 ++s1; in __weak_alias() 76 if (*s1 == '\0') { in __weak_alias()
|
/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/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/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() 49 if (*s1++ == '\0') 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 57 const unsigned char *us1 = (const unsigned char *)s1; 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() 46 return (*(const unsigned char *)s1 - in strncmp() 48 if (*s1++ == '\0') in strncmp()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_slice.py | 24 s1 = slice(1, 2, 3) 27 self.assertEqual(s1, s2) 28 self.assertNotEqual(s1, s3) 38 s1 = slice(BadCmp()) 40 self.assertRaises(Exc, cmp, s1, s2) 41 self.assertEqual(s1, s1) 43 s1 = slice(1, BadCmp()) 45 self.assertEqual(s1, s1) 46 self.assertRaises(Exc, cmp, s1, s2) 48 s1 = slice(1, 2, BadCmp()) [all …]
|
/device/google/contexthub/firmware/lib/libc/ |
D | strcasecmp.c | 77 strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 80 const u_char *us1 = (const u_char *)s1; in strcasecmp() 90 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() argument 94 const u_char *us1 = (const u_char *)s1; in strncasecmp()
|
/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 85 s1 = z*(aT[0]+w*(aT[2]+w*aT[4])); 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/StdLib/LibC/Math/ |
D | e_sqrt.c | 115 u_int32_t r,t1,s1,ix1,q1; in __ieee754_sqrt() local 155 q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */ in __ieee754_sqrt() 172 t1 = s1+r; in __ieee754_sqrt() 175 s1 = t1+r; in __ieee754_sqrt() 176 if(((t1&sign)==(u_int32_t)sign)&&(s1&sign)==0) s0 += 1; in __ieee754_sqrt()
|
D | s_atan.c | 76 double w,s1,s2,z; in atan() local 113 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10]))))); 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/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | genericpath.py | 71 s1 = min(m) 73 for i, c in enumerate(s1): 75 return s1[:i] 76 return s1
|
D | posixpath.py | 153 s1 = os.stat(f1) 155 return samestat(s1, s2) 163 s1 = os.fstat(fp1) 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 186 s1 = os.lstat(path) 190 dev1 = s1.st_dev 194 ino1 = s1.st_ino
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | genericpath.py | 79 s1 = min(m) 81 for i, c in enumerate(s1): 83 return s1[:i] 84 return s1
|
/device/google/contexthub/firmware/lib/libm/ |
D | sf_atan.c | 74 float w,s1,s2,z; local 108 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10]))))); 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/gdtoa/ |
D | gethex.c | 45 CONST unsigned char *decpt, *s0, *s, *s1; in gethex() local 90 s1 = s; in gethex() 103 s = s1; in gethex() 116 n = (int)(s1 - s0 - 1); in gethex() 125 while(s1 > s0) { in gethex() 126 if (*--s1 == decimalpoint) in gethex() 133 L |= (hexdig[*s1] & 0x0f) << n; in gethex()
|