Searched defs:s1 (Results 1 - 25 of 68) 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.c44 wchar_t *s1,
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.c27 string pointed to by s1. The initial wide character of s2 overwrites the
28 null wide character at the end of s1.
30 @return The wcscat function returns the value of s1.
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.
43 @return The wcsncat function returns the value 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, (CONS
[all...]
H A DComparison.c25 /** The wcscmp function compares the wide string pointed to by s1 to the wide
29 less than zero, accordingly as the wide string pointed to by s1
33 int wcscmp(const wchar_t *s1, const wchar_t *s2) argument
35 return (int)StrCmp( (CONST CHAR16 *)s1, (CONST CHAR16 *)s2);
38 /** The wcscoll function compares the wide string pointed to by s1 to the wide
44 s1 is greater than, equal to, or less than the wide string
48 //int wcscoll(const wchar_t *s1, const wchar_t *s2)
55 s1 to the array pointed to by s2.
59 array pointed to by s1 is greater than, equal to, or less than
62 int wcsncmp(const wchar_t *s1, cons argument
94 wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument
[all...]
H A DCopying.c26 terminating null wide character) into the array pointed to by s1.
28 @return The wcscpy function returns the value of s1.
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.
41 pointed to by s1, until n wide characters in all have been written.
43 @return The wcsncpy function returns the value of s1.
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
58 wmemcpy(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) argument
77 wmemmove(wchar_t *s1, const wchar_t *s2, size_t n) argument
[all...]
H A DSearching.c79 the wide string pointed to by s1 which consists entirely of wide characters
84 size_t wcscspn(const wchar_t *s1, const wchar_t *s2) argument
91 if(*s1 == 0) return 0;
92 s1len = wcslen(s1);
96 for(str = s1; str < &s1[s1len] ; str++) {
102 return (str - s1);
106 pointed to by s1 of any wide character from the wide string
110 in s1, or a null pointer if no wide character from s2 occurs
111 in s1
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.c22 to by s1. The initial character of s2 overwrites the null character at the
23 end of s1. If copying takes place between objects that overlap, the
26 @return The strcat function returns the value of s1.
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
41 @return The strncat function returns the value of s1.
44 strncat(char * __restrict s1, const char * __restrict s2, size_t n) argument
46 return AsciiStrnCat( s1, s
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.
26 less than zero, accordingly as the object pointed to by s1 is
29 int memcmp(const void *s1, const void *s2, size_t n) argument
31 return (int)CompareMem( s1, s2, n);
34 /** The strcmp function compares the string pointed to by s1 to the string
38 less than zero, accordingly as the string pointed to by s1 is
41 int strcmp(const char *s1, const char *s2) argument
43 return (int)AsciiStrCmp( s1, s2);
46 /** The strcoll function compares the string pointed to by s1 to the string
51 or less than zero, accordingly as the string pointed to by s1 i
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.c28 into the object pointed to by s1.
30 The implementation is reentrant and handles the case where s2 overlaps s1.
32 @return The memcpy function returns the value of s1.
35 memcpy(void * __restrict s1, const void * __restrict s2, size_t n) argument
37 return CopyMem( s1, s2, n);
42 into the object pointed to by s1. Copying takes place as if the n
45 to by s1 and s2, and then the n characters from the temporary array are
46 copied into the object pointed to by s1.
48 This is a version of memcpy that is guaranteed to work when s1 and s2
52 @return The memmove function returns the value of s1
55 memmove(void *s1, const void *s2, size_t n) argument
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.c82 the string pointed to by s1 which consists entirely of characters not from
88 strcspn(const char *s1, const char *s2) argument
95 if(*s1 == '\0') return 0;
99 for(str = s1; ; str++) {
105 return (str - s1);
109 by s1 of any character from the string pointed to by s2.
112 null pointer if no character from s2 occurs in s1.
115 strpbrk(const char *s1, const char *s2) argument
123 for( ; *s1 != '\0'; ++s1) {
221 strtok(char * __restrict s1, const char * __restrict s2) argument
[all...]
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestXPIDLString.cpp14 nsXPIDLString s1; local
15 nsXPIDLStringTest_Value(getter_Copies(s1));
H A DTestAtoms.cpp57 nsAutoString s1, s2; local
88 id->ToString(s1);
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);
68 t1.AssignWithConversion(s1);
81 const char* s1; member in struct:Test
108 Check(tp->s1, tp->s2, tp->n);
/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
/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
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/src/
H A Dstrtok.c42 PL_strtok_r(char *s1, const char *s2, char **lasts) argument
48 if( s1 == NULL )
53 s1 = *lasts;
56 for( ; (c = *s1) != 0; s1++ )
73 tok = s1++;
75 for( ; (c = *s1) != 0; s1++ )
81 *s1++ = '\0';
82 *lasts = s1;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Math/
H A Ds_atan.c76 double w,s1,s2,z; local
113 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10])))));
115 if (id<0) return x - x*(s1+s2);
117 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
H A De_sqrt.c115 u_int32_t r,t1,s1,ix1,q1; local
155 q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */
172 t1 = s1+r;
175 s1 = t1+r;
176 if(((t1&sign)==(u_int32_t)sign)&&(s1&sign)==0) s0 += 1;
/vbox/src/recompiler/tests/
H A Dtest-i386-muldiv.h4 long res, s1, s0, flags; local
6 s1 = op1;
15 : "q" (s1), "0" (res), "1" (flags));
17 stringify(OP) "b", s0, s1, res, flags & CC_MASK);
22 long res, s1, flags, resh; local
23 s1 = op1;
33 : "q" (s1), "0" (res), "1" (flags), "2" (resh));
35 stringify(OP) "w", op0h, op0, s1, resh, res, flags & CC_MASK);
40 long res, s1, flags, resh; local
41 s1
59 long res, s1, flags, resh; local
[all...]
H A Dtest-i386.h8 #define EXECOP2(size, rsize, res, s1, flags) \
15 : "q" (s1), "0" (res), "1" (flags)); \
17 stringify(OP) size, s0, s1, res, iflags, flags & CC_MASK);
32 void exec_opq(long s0, long s1, long iflags) argument
41 void exec_opl(long s0, long s1, long iflags) argument
49 void exec_opw(long s0, long s1, long iflags) argument
57 void exec_opb(long s0, long s1, long iflags) argument
66 void exec_opq(long s0, long s1, long iflags) argument
71 EXECOP2("q", "", res, s1, flags);
75 void exec_opl(long s0, long s1, lon argument
83 exec_opw(long s0, long s1, long iflags) argument
91 exec_opb(long s0, long s1, long iflags) argument
100 exec_op(long s0, long s1) argument
[all...]
H A Dtest-i386-shift.h11 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \
18 : "r" (s1), "0" (res), "1" (flags));
20 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \
27 : "c" (s1), "0" (res), "1" (flags));
31 void exec_opq(long s2, long s0, long s1, long iflags) argument
36 EXECSHIFT("q", "", res, s1, s2, flags);
38 if (s1 != 1)
41 stringify(OP) "q", s0, s1, res, iflags, flags & CC_MASK);
45 void exec_opl(long s2, long s0, long s1, long iflags) argument
50 EXECSHIFT("l", "k", res, s1, s
58 exec_opw(long s2, long s0, long s1, long iflags) argument
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
125 exec_opb(long s0, long s1, long iflags) argument
139 exec_op(long s2, long s0, long s1) argument
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstRTAssertCompile.cpp118 STRUCT1 s1; 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/VBox/Devices/EFI/Firmware/StdLib/LibC/gdtoa/
H A Dgethex.c45 CONST unsigned char *decpt, *s0, *s, *s1; local
90 s1 = s;
103 s = s1;
116 n = (int)(s1 - s0 - 1);
125 while(s1 > s0) {
126 if (*--s1 == decimalpoint)
133 L |= (hexdig[*s1] & 0x0f) << n;
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/
H A Dctf_util.c123 ctf_strdup(const char *s1) argument
125 char *s2 = ctf_alloc(strlen(s1) + 1);
128 (void) strcpy(s2, s1);
/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
358 if (s1->type == FSW_STRING_TYPE_EMPTY) {
368 return fsw_streq(s1, &temp_s);
372 if (s1->len != s2->len)
374 if (s1->len == 0) // both strings are empty
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
408 fsw_streq_cstr(struct fsw_string *s1, const char *s2) argument
[all...]

Completed in 295 milliseconds

123