Searched refs:s2 (Results 1 - 25 of 155) sorted by relevance

1234567

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/String/
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 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 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 Dstrncasecmp.c61 strncasecmp(const char *s1, const char *s2, size_t n)
65 _DIAGASSERT(s2 != NULL);
69 *us2 = (const unsigned char *)s2;
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/EFI/Firmware/StdLib/LibC/Wchar/
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 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 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/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/libs/xpcom18a4/xpcom/string/public/
H A DnsCharTraits.h146 move( char_type* s1, const char_type* s2, size_t n ) argument
148 return NS_STATIC_CAST(char_type*, memmove(s1, s2, n * sizeof(char_type)));
153 copy( char_type* s1, const char_type* s2, size_t n ) argument
155 return NS_STATIC_CAST(char_type*, memcpy(s1, s2, n * sizeof(char_type)));
160 copyASCII( char_type* s1, const char* s2, size_t n ) argument
162 for (char_type* s = s1; n--; ++s, ++s2) {
163 NS_ASSERTION(!(*s2 & ~0x7F), "Unexpected non-ASCII character");
164 *s = *s2;
185 compare( const char_type* s1, const char_type* s2, size_t n ) argument
188 return wmemcmp(s1, s2,
202 compareASCII( const char_type* s1, const char* s2, size_t n ) argument
262 compareLowerCaseToASCII( const char_type* s1, const char* s2, size_t n ) argument
427 move( char_type* s1, const char_type* s2, size_t n ) argument
434 copy( char_type* s1, const char_type* s2, size_t n ) argument
441 copyASCII( char_type* s1, const char* s2, size_t n ) argument
455 compare( const char_type* s1, const char_type* s2, size_t n ) argument
462 compareASCII( const char_type* s1, const char* s2, size_t n ) argument
509 compareLowerCaseToASCII( const char_type* s1, const char* s2, size_t n ) 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/xpcom/tests/
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);
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) &&
/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/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/libs/xpcom18a4/xpcom/tests/StringFactoringTests/
H A Dprofile_main.cpp152 nsCString s2("This is another string that I will use in the concatenation test.");
155 PRUint32 len = TotalLength( s1 + s2 + s3 + s1 + s2 + s3 );
177 len += TotalLength( s1 + s2 + s3 + s1 + s2 + s3 );
179 cout << "TotalLength( s1 + s2 + s3 + s1 + s2 + s3 )" << endl;
185 len += TotalLength( s1 + s2 );
187 cout << "TotalLength( s1 + s2 )" << endl;
198 nsCString s2("Thi
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/funcs/
H A Dtst.strtok.d89 string s2;
98 command[i].s2 = "";
103 command[i].s2 = "";
108 command[i].s2 = "o";
113 command[i].s2 = "o";
118 command[i].s2 = "bar";
123 command[i].s2 = "foo";
133 (this->result = strtok(command[i].s1, command[i].s2)) != command[i].result/
136 command[i].s1, command[i].s2,
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsCRT.h139 /// Compare s1 and s2.
140 static PRInt32 strcmp(const char* s1, const char* s2) { argument
141 return PRInt32(PL_strcmp(s1, s2));
144 static PRInt32 strncmp(const char* s1, const char* s2, argument
146 return PRInt32(PL_strncmp(s1, s2, aMaxLen));
150 static PRInt32 strcasecmp(const char* s1, const char* s2) { argument
151 return PRInt32(PL_strcasecmp(s1, s2));
155 static PRInt32 strncasecmp(const char* s1, const char* s2, PRUint32 aMaxLen) { argument
156 PRInt32 result=PRInt32(PL_strncasecmp(s1, s2, aMaxLen));
164 static PRInt32 strncmp(const char* s1, const char* s2, PRInt3 argument
[all...]
/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/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);

Completed in 97 milliseconds

1234567