| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| UnicodeSetStringSpan.java | 49 * All code points in the string are contained in the parent set. 65 private ArrayList<String> strings; 67 /** The lengths of span(), spanBack() etc. for each string. */ 86 public UnicodeSetStringSpan(final UnicodeSet set, final ArrayList<String> setStrings, int which) { 89 // as a NavigableSet<String>, rather than as an ArrayList copy of the set of strings. 104 // If any string is relevant, then all strings need to be used for 115 String string = strings.get(i); local 116 int length16 = string.length(); 117 spanLength = spanSet.span(string, SpanCondition.CONTAINED) 158 String string = strings.get(i); local 404 String string = strings.get(i); local 444 String string = strings.get(i); local 577 String string = strings.get(i); local 614 String string = strings.get(i); local 674 String string = strings.get(i); local 715 String string = strings.get(i); local 871 String string = strings.get(i); local 918 String string = strings.get(i); local [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
| TrieMapTest.java | 41 private Map<String, Integer> unicodeTestMap = new HashMap<String, Integer>(); 67 for (String s : testSet) { 69 String extendedName = UCharacter.getExtendedName(codePoint); 80 String localeName; 81 for (String languageCode : ULocale.getISOLanguages()) { 90 for (String countryCode : ULocale.getISOCountries()) { 101 for (String key : unicodeTestMap.keySet()) { 109 public static void main(String[] args) { 115 for (Entry<String, Integer> entry : unicodeTestMap.entrySet()) 250 String string = "xabcdab abcde abdfg"; local [all...] |
| /external/icu/icu4c/source/i18n/ |
| ucol_sit.cpp | 87 * from a short string. Also used to construct a short string from a 145 /* function prototype for functions used to parse a short string */ 148 ActionFunction(CollatorSpec *spec, uint32_t value1, const char* string, 154 _processLocaleElement(CollatorSpec *spec, uint32_t value, const char* string, 160 spec->locElements[value][len++] = uprv_tolower(*string); 162 spec->locElements[value][len++] = *string; 164 } while(*(++string) != '_' && *string && len < locElementCapacity); 167 return string; 514 const char *string = definition; local [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| crestst.c | 253 const UChar* string = NULL; local 354 /* string */ 364 string= kERROR; 372 string=ures_getStringByKey(theBundle, tag, &resultLen, &status); 392 CONFIRM_EQ(string, expected_string); 685 log_err("unable to access the string \"%s\" at %d in testdata/testtable32.res - %s\n", 709 log_err("\"%s\" at %d in testdata/testtable32.res has a string/int value of %d, expected %d\n", 727 log_err("unable to access the string \"%s\" in testdata/testtable32.res - %s\n", 751 log_err("\"%s\" in testdata/testtable32.res has a string/int value of %d, expected %d\n", 900 { "emptystring", 1}, /* empty string is still a string * [all...] |
| custrtst.c | 16 * Tests of ustring.h Unicode string API functions. 24 #include <string.h> 59 /* First String */ 61 /* Second String */ 64 /* Concatenated string */ 269 log_err("u_strchr can't find '_' in the string\n"); 274 log_err("u_strchr32 can't find '_' in the string\n"); 279 log_err("u_strchr can't find NULL in the string\n"); 284 log_err("u_strchr32 can't find NULL in the string\n"); 289 log_err("u_memchr can't find NULL in the string\n") 1135 static const UChar string[]={ local [all...] |
| /external/icu/icu4c/source/test/intltest/ |
| restsnew.cpp | 15 #include <string.h> 45 * Convert an integer, positive or negative, to a character string radix 10. 69 // Reverse the string 697 // string 709 UnicodeString string = theBundle.getStringEx(tag, status); local 711 string.setTo(TRUE, kErrorUChars, kErrorLength); 721 CONFIRM_EQ(string, expected_string); 773 string = kErrorUChars; 778 string=t; 792 CONFIRM_EQ(string,expected_string) [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| UnicodeSetStringSpan.java | 45 * All code points in the string are contained in the parent set. 61 private ArrayList<String> strings; 63 /** The lengths of span(), spanBack() etc. for each string. */ 82 public UnicodeSetStringSpan(final UnicodeSet set, final ArrayList<String> setStrings, int which) { 85 // as a NavigableSet<String>, rather than as an ArrayList copy of the set of strings. 100 // If any string is relevant, then all strings need to be used for 111 String string = strings.get(i); local 112 int length16 = string.length(); 113 spanLength = spanSet.span(string, SpanCondition.CONTAINED) 154 String string = strings.get(i); local 400 String string = strings.get(i); local 440 String string = strings.get(i); local 573 String string = strings.get(i); local 610 String string = strings.get(i); local 670 String string = strings.get(i); local 711 String string = strings.get(i); local 867 String string = strings.get(i); local 914 String string = strings.get(i); local [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
| TrieMapTest.java | 37 private Map<String, Integer> unicodeTestMap = new HashMap<String, Integer>(); 63 for (String s : testSet) { 65 String extendedName = UCharacter.getExtendedName(codePoint); 76 String localeName; 77 for (String languageCode : ULocale.getISOLanguages()) { 86 for (String countryCode : ULocale.getISOCountries()) { 97 for (String key : unicodeTestMap.keySet()) { 105 public static void main(String[] args) { 111 for (Entry<String, Integer> entry : unicodeTestMap.entrySet()) 246 String string = "xabcdab abcde abdfg"; local [all...] |
| /external/javassist/src/main/javassist/bytecode/analysis/ |
| Type.java | 130 private static Type lookupType(String name) { 208 String name = clazz.getName(); 323 String name = arrayName(rootComponent.clazz.getName(), dims); 335 String arrayName(String component, int dims) { 340 char[] string = new char[size]; local 341 component.getChars(0, i, string, 0); 343 string[i++] = '['; 344 string[i++] = ']'; 346 component = new String(string) [all...] |
| /external/libchrome/base/json/ |
| json_parser.cc | 30 // This and the class below are used to own the JSON input string for when 31 // string tokens are stored as StringPiece instead of std::string. This 32 // optimization avoids about 2/3rds of string memory copies. The constructor 33 // takes ownership of the input string. The real root value is Swap()ed into 37 DictionaryHiddenRootValue(std::string* json, Value* root) : json_(json) { 45 // First deep copy to convert JSONStringValue to std::string and swap that 60 bool RemoveWithoutPathExpansion(const std::string& key, 69 // to convert any JSONStringValues to std::string. 80 scoped_ptr<std::string> json_ 598 StringBuilder string; local [all...] |
| /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/ |
| afblue.h | 164 /* blue string can't be used in more than a single writing system, which */ 216 AF_Blue_String string; member in struct:AF_Blue_StringRec_
|
| /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/ |
| sfobjs.c | 54 FT_String* string = NULL; local 56 FT_Byte* read = (FT_Byte*)entry->string; 62 if ( FT_NEW_ARRAY( string, len + 1 ) ) 75 string[n] = (char)code; 78 string[n] = 0; 80 return string; 89 FT_String* string = NULL; local 91 FT_Byte* read = (FT_Byte*)entry->string; 97 if ( FT_NEW_ARRAY( string, len + 1 ) ) 110 string[n] = (char)code [all...] |
| /external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
| JsonReader.java | 36 public JsonValue parse (String json) {
86 Array<String> names = new Array(8);
188 String value = new String(data, s, p - s);
196 String name = names.size > 0 ? names.pop() : null;
207 string(name, null);
method 255 if (debug) System.out.println("string: " + name + "=" + value);
256 string(name, value);
method 265 String name = names.size > 0 ? names.pop() : null;
298 String name = names.size > 0 ? names.pop() : null; 466 string(name, null); method 515 string(name, value); method 699 protected void string (String name, String value) { method in class:JsonReader [all...] |
| /external/libweave/third_party/chromium/base/json/ |
| json_parser.cc | 29 // This and the class below are used to own the JSON input string for when 30 // string tokens are stored as StringPiece instead of std::string. This 31 // optimization avoids about 2/3rds of string memory copies. The constructor 32 // takes ownership of the input string. The real root value is Swap()ed into 36 DictionaryHiddenRootValue(std::string* json, Value* root) : json_(json) { 44 // First deep copy to convert JSONStringValue to std::string and swap that 59 bool RemoveWithoutPathExpansion(const std::string& key, 68 // to convert any JSONStringValues to std::string. 79 scoped_ptr<std::string> json_ 593 StringBuilder string; local [all...] |
| /external/libxml2/doc/ |
| apibuild.py | 11 import string namespace 452 self.last = ('string', tok) [all...] |
| /external/pdfium/core/src/fxcrt/ |
| fx_basic_bstring.cpp | 25 const FX_CHAR* string = "0123456789abcdef"; local 29 string = "0123456789ABCDEF"; 33 buf1[buf_pos--] = string[u % base]; 66 // where we can save a re-alloc when adding a few characters to a string 205 const CFX_ByteString& CFX_ByteString::operator+=(const CFX_ByteString& string) { 206 if (!string.m_pData) { 209 ConcatInPlace(string.m_pData->m_nDataLength, string.m_pData->m_String); 213 const CFX_ByteStringC& string) { 214 if (string.IsEmpty()) [all...] |
| /external/pdfium/third_party/freetype/src/sfnt/ |
| sfobjs.c | 54 FT_String* string = NULL; local 56 FT_Byte* read = (FT_Byte*)entry->string; 62 if ( FT_NEW_ARRAY( string, len + 1 ) ) 75 string[n] = (char)code; 78 string[n] = 0; 80 return string; 89 FT_String* string = NULL; local 91 FT_Byte* read = (FT_Byte*)entry->string; 97 if ( FT_NEW_ARRAY( string, len + 1 ) ) 110 string[n] = (char)code [all...] |
| /external/selinux/sepolgen/src/sepolgen/ |
| refpolicy.py | 20 import string namespace 45 # String represenations of the above constants 220 """Convert a set (or any sequence type) into a string representation 229 raise ValueError("cannot convert 0 len set to string") 239 raise ValueError("cannot conver 0 len set to comma string") 262 """Create a SecurityContext object, optionally from a string. 265 [context] - string representing a security context. Same format 266 as a string passed to the from_string method. 277 """Parse a string representing a context into a SecurityContext. 279 The string should be in the standard format - e.g. [all...] |
| /external/skia/src/animator/ |
| SkScript.cpp | 21 ? allow indexing arrays by string 56 "unterminated string" // kUnterminatedString 118 6, // kAddString, // string concat 348 #if 0 // !!! I want object->string to get string from displaystringtype, not id 464 SkString* string = (*array)[index].fString; local 465 int found = fTrackString.find(string); 820 topType == kString && fReturnType != kNoType) { // if result is a string, give handle property a chance to convert it to the property value 821 SkString* string = fOperandStack.top().fString; local 822 fToken = string->c_str() [all...] |
| /external/tcpdump/ |
| print-radius.c | 58 #include <string.h> 473 /* Print an attribute string */ 784 char string[26]; local 795 strlcpy(string, ctime(&attr_time), sizeof(string)); 797 string[24] = '\0'; 798 ND_PRINT((ndo, "%.24s", string)); [all...] |
| /external/v8/src/snapshot/ |
| serializer.cc | 360 // Instead of serializing this as an external string, we serialize 361 // an imaginary sequential string with the same content. 365 ExternalString* string = ExternalString::cast(object_); local 366 int length = string->length(); 371 // Find the map and size for the imaginary sequential string. 379 ExternalOneByteString::cast(string)->resource()->data()); 386 ExternalTwoByteString::cast(string)->resource()->data()); 394 // Output the rest of the imaginary string. 401 // Serialize string header (except for map). 402 Address string_start = string->address() 674 ExternalOneByteString* string = ExternalOneByteString::cast(source); local [all...] |
| /external/v8/tools/gyp/test/lib/ |
| TestCmd.py | 21 test = TestCmd.TestCmd(description = 'string', 35 test.description_set('string') 107 test.banner(string) 108 test.banner(string, width) 227 import string namespace 322 string = "" 334 string = string + ("%s line %d of %s%s\n" % (atfrom, line, file, name)) 336 return string 413 lines = string.split(lines, "\n" [all...] |
| /external/webrtc/webrtc/base/ |
| win32socketserver.cc | 60 LPCSTR string = "Unspecified"; local 64 string = "SUCCESS"; 68 string = "WSAEWOULDBLOCK"; 72 string = "WSAEACCES"; 76 string = "WSAEADDRNOTAVAIL"; 80 string = "WSAENETDOWN"; 84 string = "WSAENETUNREACH"; 88 string = "WSANETRESET"; 92 string = "WSAECONNABORTED"; 96 string = "WSAECONNRESET" [all...] |
| /frameworks/av/media/mtp/ |
| MtpServer.cpp | 440 MtpStringBuffer string; local 458 string.set(""); 461 string.set("microsoft.com: 1.0; android.com: 1.0;"); 463 mData.putString(string); // MTP Extensions 474 string.set(prop_value); 475 mData.putString(string); // Manufacturer 478 string.set(prop_value); 479 mData.putString(string); // Model 480 string.set("1.0"); 481 mData.putString(string); // Device Versio 532 MtpStringBuffer string; local [all...] |
| /frameworks/native/opengl/tests/hwc/ |
| hwcTestLib.cpp | 27 #include <string> 158 // Color fraction class to string conversion 159 ColorFract::operator string() 170 // Dimension class to string conversion 171 HwcTestDim::operator string() 194 // Hardware Composer rectangle to string conversion 195 string hwcTestRect2str(const struct hwc_rect& rect) 361 if (string(desc) == string(hwcTestGraphicFormat[n1].desc)) { 385 // a string that describes the format [all...] |