Lines Matching refs:s2
64 BuildBitmap(unsigned char * bitmap, const char *s2, int n)
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)
97 BuildBitmap( bitmap, s2, sizeof(bitmap) / sizeof(UINT64));
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)
121 BuildBitmap( bitmap, s2, sizeof(bitmap) / sizeof(UINT64));
155 string pointed to by s2.
160 strspn(const char *s1 , const char *s2)
167 BuildBitmap( bitmap, s2, sizeof(bitmap) / sizeof(UINT64));
180 character) in the string pointed to by s2.
183 null pointer if the string is not found. If s2 points to a string
187 strstr(const char *s1 , const char *s2)
189 return AsciiStrStr( s1, s2);
194 from the string pointed to by s2. The first call in the sequence has a
196 argument. The separator string pointed to by s2 may be different from call
201 pointed to by s2. If no such character is found, then there are no tokens
221 strtok(char * __restrict s1, const char * __restrict s2)
235 // s2 can be different on each call, so build the bitmap each time.
236 BuildBitmap( bitmap, s2, sizeof(bitmap) / sizeof(UINT64));
238 // skip leading delimiters: all chars in s2