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

123

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Locale/
H A Dwcscoll.c43 wcscoll(const wchar_t *s1, const wchar_t *s2) argument
46 return (wcscmp(s1, s2));
H A Dwcsxfrm.c45 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
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Wchar/
H A DConcatenation.c25 /** 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 DComparison.c26 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 DCopying.c25 /** 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 DSearching.c59 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...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/String/
H A DConcatenation.c20 /** 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 DComparison.c23 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 DCopying.c27 /** The memcpy function copies n characters from the object pointed to by s2
30 The implementation is reentrant and handles the case where s2 overlaps s1.
35 memcpy(void * __restrict s1, const void * __restrict s2, size_t n) argument
37 return CopyMem( s1, s2, n);
41 /** The memmove function copies n characters from the object pointed to by s2
43 characters from the object pointed to by s2 are first copied into a
45 to by s1 and s2, and then the n characters from the temporary array are
48 This is a version of memcpy that is guaranteed to work when s1 and s2
55 memmove(void *s1, const void *s2, size_t n) argument
57 return CopyMem( s1, s2,
67 strcpy(char * __restrict s1, const char * __restrict s2) argument
87 strncpy(char * __restrict s1, const char * __restrict s2, size_t n) argument
117 strncpyX(char * __restrict s1, const char * __restrict s2, size_t n) argument
[all...]
H A DSearching.c64 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...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/msvcrt/
H A Dmemory.h28 static inline int memicmp(const void* s1, const void* s2, size_t len) { return _memicmp(s1, s2, len); } argument
29 static inline void* memccpy(void *s1, const void *s2, int c, size_t n) { return _memccpy(s1, s2, c, n); } argument
H A Dstring.h40 static inline int memicmp(const void* s1, const void* s2, size_t len) { return _memicmp(s1, s2, len); } argument
41 static inline void* memccpy(void *s1, const void *s2, int c, size_t n) { return _memccpy(s1, s2, c, n); } argument
134 static inline int strcasecmp(const char* s1, const char* s2) { return _stricmp(s1, s2); } argument
135 static inline int strcmpi(const char* s1, const char* s2) { return _strcmpi(s1, s2); } argument
137 static inline int stricmp(const char* s1, const char* s2) { return _stricmp(s1, s2); } argument
138 stricoll(const char* s1, const char* s2) argument
141 strnicmp(const char* s1, const char* s2, size_t n) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/msvcrt/
H A Dmemory.h37 static inline int memicmp(const void* s1, const void* s2, size_t len) { return _memicmp(s1, s2, len); } argument
38 static inline void* memccpy(void *s1, const void *s2, int c, size_t n) { return _memccpy(s1, s2, c, n); } argument
H A Dstring.h49 static inline int memicmp(const void* s1, const void* s2, size_t len) { return _memicmp(s1, s2, len); } argument
50 static inline void* memccpy(void *s1, const void *s2, int c, size_t n) { return _memccpy(s1, s2, c, n); } argument
119 static inline int strcasecmp(const char* s1, const char* s2) { return _stricmp(s1, s2); } argument
120 static inline int strcmpi(const char* s1, const char* s2) { return _strcmpi(s1, s2); } argument
122 static inline int stricmp(const char* s1, const char* s2) { return _stricmp(s1, s2); } argument
123 stricoll(const char* s1, const char* s2) argument
126 strnicmp(const char* s1, const char* s2, size_t n) argument
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/src/
H A Dstrtok.c42 PL_strtok_r(char *s1, const char *s2, char **lasts) argument
58 for( sepp = s2 ; (sc = *sepp) != 0 ; sepp++ )
77 for( sepp = s2; (sc = *sepp) != 0; sepp++ )
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Math/
H A Ds_atan.c76 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);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_string.c147 char *q, *s2, c; local
172 if ((s2 = malloc(n + addl + 1)) == NULL)
175 for (p = s, q = s2; p < s + n; p++) {
235 return (s2);
/vbox/src/VBox/Runtime/testcase/
H A DtstRTAssertCompile.cpp119 STRUCT2 s2; member in union:UNION1U
122 AssertCompile2MemberOffsets(UNION1, s1.u8, s2.u8);
123 AssertCompile2MemberOffsets(UNION1, s1.u16, s2.u16);
124 AssertCompile2MemberOffsets(UNION1, s1.u32, s2.u32);
125 AssertCompile2MemberOffsets(UNION1, s1.u64, s2.u64);
126 AssertCompile2MemberOffsets(UNION1, s1.psz, s2.psz);
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestCOMPtrEq.cpp89 nsCOMPtr<nsICOMPtrEqTestFoo2> s2; local
95 nsDerivedSafe<nsICOMPtrEqTestFoo2>* d2 = s2.get();
149 (s == s2) &&
156 (r == s2) &&
163 (sc == s2) &&
170 (rc == s2) &&
177 (rk == s2) &&
184 (rkc == s2) &&
191 (d == s2) &&
H A DTestAtoms.cpp57 nsAutoString s1, s2; local
89 ids[i]->ToString(s2);
91 NS_LossyConvertUCS2toASCII(s1).get(), i, NS_LossyConvertUCS2toASCII(s2).get());
H A DTestCRT.cpp60 static void Check(const char* s1, const char* s2, PRIntn n) argument
62 PRIntn clib = PL_strcmp(s1, s2);
63 PRIntn clib_n = PL_strncmp(s1, s2, n);
64 PRIntn clib_case = PL_strcasecmp(s1, s2);
65 PRIntn clib_case_n = PL_strncasecmp(s1, s2, n);
69 t2.AssignWithConversion(s2);
82 const char* s2; member in struct:Test
108 Check(tp->s1, tp->s2, tp->n);
/vbox/src/recompiler/tests/
H A Dtest-i386-shift.h11 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \
20 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \
31 void exec_opq(long s2, long s0, long s1, long iflags) argument
36 EXECSHIFT("q", "", res, s1, s2, flags);
45 void exec_opl(long s2, long s0, long s1, long iflags) argument
50 EXECSHIFT("l", "k", res, s1, s2, flags);
58 void exec_opw(long s2, long s0, long s1, long iflags) argument
63 EXECSHIFT("w", "w", res, s1, s2, flags);
72 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \
79 : "c" (s1), "0" (res), "1" (flags), "r" (s2));
82 exec_opq(long s2, long s0, long s1, long iflags) argument
96 exec_opl(long s2, long s0, long s1, long iflags) argument
109 exec_opw(long s2, long s0, long s1, long iflags) argument
139 exec_op(long s2, long s0, long s1) argument
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/
H A Dctf_util.c125 char *s2 = ctf_alloc(strlen(s1) + 1); local
127 if (s2 != NULL)
128 (void) strcpy(s2, s1);
130 return (s2);
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/
H A Dfsw_lib.c353 int fsw_streq(struct fsw_string *s1, struct fsw_string *s2) argument
362 return fsw_streq(&temp_s, s2);
364 if (s2->type == FSW_STRING_TYPE_EMPTY) {
372 if (s1->len != s2->len)
377 if (s1->type == s2->type) {
379 if (s1->size != s2->size)
381 return fsw_memeq(s1->data, s2->data, s1->size);
386 if (s1->type == FSW_STRING_TYPE_##type1 && s2->type == FSW_STRING_TYPE_##type2) \
387 return fsw_streq_##type1##_##type2(s1->data, s2->data, s1->len); \
388 if (s2
408 fsw_streq_cstr(struct fsw_string *s1, const char *s2) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dstringextra.c45 * @s2: The other string
48 int strnicmp(const char *s1, const char *s2, size_t len) argument
56 c1 = *s1; c2 = *s2;
57 s1++; s2++;

Completed in 70 milliseconds

123