| /dalvik/hit/src/com/android/hit/ |
| HprofParser.java | 70 * ID: heap name string ID 92 HashMap<Long, String> mStrings = new HashMap<Long, String>(); 93 HashMap<Long, String> mClassNames = new HashMap<Long, String>(); 104 String s = readNullTerminatedString(); 160 private String readNullTerminatedString() throws IOException { 182 private String readUTF8(int length) throws IOException { 187 return new String(b, "utf-8"); 192 String string = readUTF8(length) local [all...] |
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
| String2Test.java | 26 String hw1 = "HelloWorld"; 28 String hw2 = "HelloWorld"; 30 String hwlc = "helloworld"; 32 String hwuc = "HELLOWORLD"; 34 String hello1 = "Hello"; 36 String world1 = "World"; 38 String comp11 = "Test String"; 47 * @tests java.lang.String#String() 366 String string = new String(chars); local [all...] |
| /external/chromium/sdch/open-vcdiff/src/ |
| vcdecoder.cc | 34 #include <string.h> // memcpy, memset 36 #include <string> 215 // delta window, because the input data string may have been changed or 318 typedef std::string string; typedef in class:open_vcdiff::VCDiffStreamingDecoderImpl 472 string* decoded_target() { return &decoded_target_; } 529 // This string will be used to store any unparsed bytes left over when 534 string unparsed_bytes_; 537 // used to fill the output string for DecodeChunk(), and will also be used to 542 string decoded_target_ 827 typedef std::string string; typedef in class:open_vcdiff::__anon5227::TrackNewOutputText [all...] |
| vcdiffengine_test.cc | 18 #include <string.h> // memset, strlen 20 #include <string> 37 typedef std::string string; typedef in class:open_vcdiff::__anon5230::VCDiffEngineTestBase 254 // Call this function before beginning to iterate through the diff string 274 // diff string using the Expect... functions. It makes sure that the 304 string diff_; 305 OutputString<string> diff_output_string_; 570 // This test case takes a dictionary containing several instances of the string 571 // "weasel", and a target string which is identical to the dictionar [all...] |
| /external/chromium/third_party/libjingle/source/talk/base/ |
| httpcommon.h | 32 #include <string> 144 bool FromString(HttpVersion& version, const std::string& str); 147 bool FromString(HttpVerb& verb, const std::string& str); 150 bool FromString(HttpHeader& header, const std::string& str); 166 typedef std::pair<std::string, std::string> HttpAttribute; 169 std::string* composed); 173 const std::string& name, 174 std::string* value); 177 std::string* name 207 typedef typename Traits<CTYPE>::string string; typedef in class:talk_base::Url [all...] |
| /external/chromium-trace/trace-viewer/third_party/python_gflags/ |
| gflags.py | 69 The exception argument will be a human-readable string. 73 take a name, default value, help-string, and optional 'short' name 77 DEFINE_string: takes any input, and interprets it as a string. 96 error. Otherwise, assign to FLAGS.flag as a string. 370 3. DEFAULT_FLAG_VALUE is in serialized form, i.e., the string you can 375 string 'false' will be represented in the same way as the boolean 394 import string namespace 518 # If flagvalue is the empty string, then this exception is an due to a 707 """Takes a __doc__ string and reformats it as help.""" 741 string). Returns (None, None) if the module could not b [all...] |
| /external/clang/test/Misc/ |
| diag-template-diffing.cpp | 6 // PR9548 - "no known conversion from 'vector<string>' to 'vector<string>'" 7 // vector<string> refers to two different types here. Make sure the message 10 typedef versa_string string; typedef 15 void f(vector<string> v); 19 typedef basic_string string; typedef in namespace:std 22 vector<string> v; [all...] |
| /external/clang/test/SemaCXX/ |
| overload-call.cpp | 56 int* ip1 = k("foo"); // expected-warning{{conversion from string literal to 'char *' is deprecated}} 57 int* ip2 = k(("foo")); // expected-warning{{conversion from string literal to 'char *' is deprecated}} 65 int* ip1 = l(L"foo"); // expected-warning{{conversion from string literal to 'wchar_t *' is deprecated}} 83 int* ip2 = n("foo"); // expected-warning{{conversion from string literal to 'char *' is deprecated}} 178 double* q3 = quals_rank1("string literal"); 293 class string { }; class 294 class opt : public string { }; 297 SR(const string&); 443 struct String { String(char const*); } [all...] |
| /external/gcc-demangle/ |
| demangle.h | 87 /* Define string names for the various demangling styles. */ 148 return a string allocated by malloc on success, NULL on error. */ 195 tree representation into a demangled string. Here we define an 198 demangled string. This can be used to canonicalize user input into 209 /* A name, with a length and a pointer to a string. */ 320 NULL, or a string (represented as DEMANGLE_COMPONENT_NAME), or an 371 to the mangled string, but since negative numbers are mangled 373 number which involves neither modifying the mangled string nor 483 /* Standard substitution string. */ 484 const char* string; member in struct:demangle_component::__anon8165::__anon8173 [all...] |
| /external/guava/guava-tests/lib/ |
| libtruth.jar | |
| /external/guava/guava-tests/test/com/google/common/collect/ |
| ImmutableSortedMapTest.java | 189 public static class MapTests extends AbstractMapTests<String, Integer> { 190 @Override protected SortedMap<String, Integer> makeEmptyMap() { 194 @Override protected SortedMap<String, Integer> makePopulatedMap() { 198 @Override protected String getKeyNotInPopulatedMap() { 208 extends AbstractMapTests<String, Integer> { 209 @Override protected SortedMap<String, Integer> makePopulatedMap() { 213 @Override protected String getKeyNotInPopulatedMap() { 224 extends AbstractMapTests<String, Integer> { 225 @Override protected SortedMap<String, Integer> makePopulatedMap() { 230 @Override protected String getKeyNotInPopulatedMap() 366 String string; field in class:ImmutableSortedMapTest.CreationTests.StringHolder [all...] |
| /external/harfbuzz/src/ |
| harfbuzz-shaper.cpp | 430 const HB_UChar16 *uc = item->string + item->item.pos; 569 shaper_item->string + shaper_item->item.pos, shaper_item->item.length, 655 void HB_GetCharAttributes(const HB_UChar16 *string, hb_uint32 stringLength, 659 calcLineBreaks(string, stringLength, attributes); 668 attributeFunction(script, string, items[i].pos, items[i].length, attributes); 687 void HB_GetWordBoundaries(const HB_UChar16 *string, hb_uint32 stringLength, 693 unsigned int brk = HB_GetWordClass(string[0]); 700 hb_uint32 nbrk = HB_GetWordClass(string[i]); 702 attributes[i].wordBoundary = (HB_GetSentenceClass(string[i-1]) == HB_Sentence_Sep); 710 hb_uint32 testbrk = HB_GetWordClass(string[lookahead]) 805 static char string[5]; local [all...] |
| harfbuzz-shaper.h | 150 void HB_GetCharAttributes(const HB_UChar16 *string, hb_uint32 stringLength, 155 void HB_GetWordBoundaries(const HB_UChar16 *string, hb_uint32 stringLength, 160 void HB_GetSentenceBoundaries(const HB_UChar16 *string, hb_uint32 stringLength, 242 HB_Bool (*convertStringToGlyphIndices)(HB_Font font, const HB_UChar16 *string, hb_uint32 length, HB_Glyph *glyphs, hb_uint32 *numGlyphs, HB_Bool rightToLeft); 244 HB_Bool (*canRender)(HB_Font font, const HB_UChar16 *string, hb_uint32 length); 268 const HB_UChar16 *string; /* input: the Unicode UTF16 text to be shaped */ member in struct:HB_ShaperItem_ 270 HB_ScriptItem item; /* input: the current run to be shaped: a run of text all in the same script that is a substring of <string> */
|
| /external/harfbuzz_ng/src/hb-old/ |
| harfbuzz-shaper.h | 211 HB_Bool (*convertStringToGlyphIndices)(HB_Font font, const HB_UChar16 *string, hb_uint32 length, HB_Glyph *glyphs, hb_uint32 *numGlyphs, HB_Bool rightToLeft); 213 HB_Bool (*canRender)(HB_Font font, const HB_UChar16 *string, hb_uint32 length); 237 const HB_UChar16 *string; /* input: the Unicode UTF16 text to be shaped */ member in struct:HB_ShaperItem_ 239 HB_ScriptItem item; /* input: the current run to be shaped: a run of text all in the same script that is a substring of <string> */
|
| /external/icu4c/i18n/ |
| colldata.cpp | 50 CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status) 53 UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); 64 // **** only set flag if string has Han(gul) **** 226 void StringList::add(const UnicodeString *string, UErrorCode &status) 264 // is the same as copying the source string. 265 strings[listSize++].append(*string); 270 const UnicodeString string(chars, count); 272 add(&string, status); 333 void put(uint32_t ce, UnicodeString *string, UErrorCode &status) 887 const UnicodeString *string = strings->get(s); local [all...] |
| ucol_sit.cpp | 86 * from a short string. Also used to construct a short string from a 159 /* function prototype for functions used to parse a short string */ 162 ActionFunction(CollatorSpec *spec, uint32_t value1, const char* string, 168 _processLocaleElement(CollatorSpec *spec, uint32_t value, const char* string, 174 spec->locElements[value][len++] = uprv_tolower(*string); 176 spec->locElements[value][len++] = *string; 178 } while(*(++string) != '_' && *string && len < locElementCapacity); 181 return string; 528 const char *string = definition; local [all...] |
| /external/icu4c/test/cintltst/ |
| cldrtest.c | 206 /* A2 or A4 in the root string indicates that the resource can optionally be an array instead of a */ 207 /* string. Attempt to read it as an array. */ 211 log_err("Got a NULL string with key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", 219 log_err("Got something other than a string or array of size %d for key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", 231 log_err("Got something other than a string or array for key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", 239 log_err("Got a NULL string with key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", 329 const UChar *string = ures_getString(subBundle, &len, &errorCode); local 330 if (U_FAILURE(errorCode) || string == NULL) { 331 log_err("Can't open a string with key \"%s\" in \"%s\" for locale \"%s\"\n", 335 } else if (string[0] == (UChar)0x20) [all...] |
| custrtst.c | 16 * Tests of ustring.h Unicode string API functions. 23 #include <string.h> 64 /* First String */ 66 /* Second String */ 69 /* Concatenated string */ 274 log_err("u_strchr can't find '_' in the string\n"); 279 log_err("u_strchr32 can't find '_' in the string\n"); 284 log_err("u_strchr can't find NULL in the string\n"); 289 log_err("u_strchr32 can't find NULL in the string\n"); 294 log_err("u_memchr can't find NULL in the string\n") 1140 static const UChar string[]={ local [all...] |
| /external/icu4c/test/intltest/ |
| tmsgfmt.cpp | 203 #include <string.h> 266 // rather than toPattern() reconstituting a new, equivalent pattern string (testResultPatterns). 305 // rather than toPattern() reconstituting a new, equivalent pattern string (testResultPatterns). 470 UnicodeString string; local 472 form->format(testArgs1, 2, string, ignore, err); 473 if (U_FAILURE(err) || string != "The disk \"MyDisk\" contains 0 file(s).") { 478 string.remove(); 479 form->format(testArgs2, 2, string, ignore, err); 480 if (U_FAILURE(err) || string != "The disk \"MyDisk\" contains 1 file(s).") { 481 logln(string); 509 UnicodeString string; local [all...] |
| tsmthred.cpp | 131 #include <string.h> 593 // * Show exactly where the string's differences lie. 641 UnicodeString string; member in struct:FormatThreadTestData 642 FormatThreadTestData(double a, const UnicodeString& b) : number(a),string(b) {} 813 if(0 != output.compare(kNumberFormatTestData[whichLine].string)) { 814 error("format().. expected " + kNumberFormatTestData[whichLine].string 824 if(0 != output.compare(kPercentFormatTestData[whichLine].string)) 827 showDifference(kPercentFormatTestData[whichLine].string,output)); [all...] |
| /external/icu4c/tools/genrb/ |
| parse.cpp | 65 "string", /* A string token, such as "MonthNames" */ 108 getToken(NULL, NULL, status); bad - value is now a different string 406 /* terminate the string */ 572 printf(" string %s at line %i \n", (tag == NULL) ? "(null)" : tag, (int)startline); 578 /* create the string now - tokenValue doesn't survive a call to getToken (and therefore 610 /* create the string now - tokenValue doesn't survive a call to getToken (and therefore 1362 char *string; local 1450 char *string; local 1532 char *string; local [all...] |
| /external/javassist/src/main/javassist/bytecode/ |
| ConstPool.java | 125 public ConstPool(String thisclass) { 169 public String getClassName() { 206 * @see javassist.ClassPool#getCtClass(String) 208 public String getClassInfo(int index) { 281 public String getFieldrefClassName(int index) { 307 public String getFieldrefName(int index) { 328 public String getFieldrefType(int index) { 358 public String getMethodrefClassName(int index) { 384 public String getMethodrefName(int index) { 406 public String getMethodrefType(int index) 1398 int string; field in class:StringInfo 1543 String string; field in class:Utf8Info [all...] |
| /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
| DDSLoader.java | 297 throw new IOException("Unknown fourcc: " + string(fourcc) + ", " + Integer.toHexString(fourcc)); 815 * Converts a int representing a FourCC into a String 817 private static String string(int value) { method in class:DDSLoader
|
| /external/libxml2/ |
| xpointer.c | 28 #include <string.h> 973 * string and if the scheme is 'xpointer' it will call the XPath interpreter. 2776 xmlXPathObjectPtr string; local [all...] |
| /external/open-vcdiff/src/ |
| vcdecoder.cc | 34 #include <string.h> // memcpy, memset 36 #include <string> 208 // delta window, because the input data string may have been changed or 311 typedef std::string string; typedef in class:open_vcdiff::VCDiffStreamingDecoderImpl 465 string* decoded_target() { return &decoded_target_; } 531 // This string will be used to store any unparsed bytes left over when 536 string unparsed_bytes_; 539 // used to fill the output string for DecodeChunk(), and will also be used to 544 string decoded_target_ [all...] |