Lines Matching defs:string
14 #include <string.h>
211 //String source = "0x" + Integer.toString(start,16).toUpperCase();
233 //String pat1 = unescapeLeniently(pat0);
240 //String pat3 = unescapeLeniently(pat2);
1622 return result; // Indicate failure with empty string
1672 errln((UnicodeString)"Failed to read to end of string \""
2102 // the result of calling set.toPattern(), which is the string representation of
2346 // Append the UTF-8 version of the string to t and return the appended UTF-8 length.
2355 // The string contains an unpaired surrogate.
2356 // Ignore this string.
2379 // Store the pointer to the set's string element
2899 * Count spans on a string with the method according to type and set the span limits.
2903 * Sets typeName to an empty string if there is no such type.
3056 // temporarily modify the string by placing a NUL where the previous spanBack() stopped.
3166 UnicodeString string;
3172 string.setTo(FALSE, s16+prev, length); // read-only alias
3174 if(!sets[SLOW]->getSet().containsAll(string)) {
3179 if(!sets[FAST]->getSet().containsAll(string)) {
3185 if(!sets[SLOW]->getSet().containsNone(string)) {
3190 if(!sets[FAST]->getSet().containsNone(string)) {
3321 // Skip the UTF-8 part of the test - if the string contains surrogates -
3351 // Test with a particular, interesting string.
3528 // span(contained) of "abcd" spans the entire string
3590 // span(longest match) will not span the whole string.
3600 // spanBack(longest match) will not span the whole string.
3635 // in the test string.
3771 UnicodeString string=UnicodeString(s, -1, US_INV).unescape();
3779 testSpanBothUTFs(sets_with_str, string.getBuffer(), string.length(), whichSpans[j], testName, i);
3792 static const char *const string=
3809 UnicodeString string16=UnicodeString(string, -1, US_INV).unescape();
3812 errln("FAIL: UnicodeSet(%s).containsAll(%s) should be FALSE", pattern, string);
3818 errln("FAIL: UnicodeSet(%s).containsAll(%s[:-4]) should be TRUE", pattern, string);