/external/chromium_org/base/json/ |
json_parser.cc | 28 // This and the class below are used to own the JSON input string for when 29 // string tokens are stored as StringPiece instead of std::string. This 30 // optimization avoids about 2/3rds of string memory copies. The constructor 31 // takes ownership of the input string. The real root value is Swap()ed into 35 DictionaryHiddenRootValue(std::string* json, Value* root) : json_(json) { 43 // First deep copy to convert JSONStringValue to std::string and swap that 58 virtual bool RemoveWithoutPathExpansion(const std::string& key, 67 // to convert any JSONStringValues to std::string. 78 scoped_ptr<std::string> json_ 588 StringBuilder string; local [all...] |
/external/chromium_org/sdch/open-vcdiff/src/ |
vcdiffengine_test.cc | 18 #include <string.h> // memset, strlen 20 #include <string> 36 typedef std::string string; typedef in class:open_vcdiff::__anon10359::VCDiffEngineTestBase 249 // Call this function before beginning to iterate through the diff string 269 // diff string using the Expect... functions. It makes sure that the 285 string diff_; 286 OutputString<string> diff_output_string_; 547 // This test case takes a dictionary containing several instances of the string 548 // "weasel", and a target string which is identical to the dictionar [all...] |
/external/chromium_org/third_party/JSON/JSON-2.59/blib/lib/JSON/ |
backportPP.pm | 647 decode_error("malformed JSON string, neither array, object, number, string or atom"); 694 decode_error("malformed JSON string, neither array, object, number, string or atom") unless $valid_start; 698 'JSON text must be an object or array (but found number, string, true, false or null,' 728 return string() if($ch eq '"' or ($singlequote and $ch eq "'")); 733 sub string { subroutine 803 decode_error('illegal backslash escape sequence in string'); 814 decode_error("malformed UTF-8 character in JSON string"); 830 decode_error('invalid character encountered while parsing JSON string'); [all...] |
/external/chromium_org/third_party/JSON/JSON-2.59/lib/JSON/ |
backportPP.pm | 647 decode_error("malformed JSON string, neither array, object, number, string or atom"); 694 decode_error("malformed JSON string, neither array, object, number, string or atom") unless $valid_start; 698 'JSON text must be an object or array (but found number, string, true, false or null,' 728 return string() if($ch eq '"' or ($singlequote and $ch eq "'")); 733 sub string { subroutine 803 decode_error('illegal backslash escape sequence in string'); 814 decode_error("malformed UTF-8 character in JSON string"); 830 decode_error('invalid character encountered while parsing JSON string'); [all...] |
/external/chromium_org/third_party/JSON/out/lib/perl5/JSON/ |
backportPP.pm | 647 decode_error("malformed JSON string, neither array, object, number, string or atom"); 694 decode_error("malformed JSON string, neither array, object, number, string or atom") unless $valid_start; 698 'JSON text must be an object or array (but found number, string, true, false or null,' 728 return string() if($ch eq '"' or ($singlequote and $ch eq "'")); 733 sub string { subroutine 803 decode_error('illegal backslash escape sequence in string'); 814 decode_error("malformed UTF-8 character in JSON string"); 830 decode_error('invalid character encountered while parsing JSON string'); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Position.cpp | 1060 String string = toText(prev.deprecatedNode())->data(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
TextIterator.h | 64 String plainText(const Range*, TextIteratorBehaviorFlags = TextIteratorDefaultBehavior); 65 PassRefPtr<Range> findPlainText(const Range*, const String&, FindOptions); 97 String substring(unsigned position, unsigned length) const; 112 string().appendTo(output, startOffset() + position, lengthToAppend); 132 const String& string() const { return m_text; } function in class:WebCore::TextIterator 168 String m_text; 275 String m_textContainer; // We're interested in the range [m_textOffset, m_textOffset + m_textLength) of m_textContainer. 319 String string(int numChars) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
XSSAuditor.cpp | 64 // Instead, we remove backslashes and zeros (since the string "\\0" =(remove backslashes)=> "0"). However, this has the 65 // adverse effect that we remove any legitimate zeros from a string. 67 // For instance: new String("http://localhost:8000") => new String("http://localhost:8"). 71 static String canonicalize(const String& string) 73 return string.removeCharacters(&isNonCanonicalCharacter); 97 static bool startsHTMLCommentAt(const String& string, size_t start 638 String string = request.sourceTracker.sourceForToken(request.token); local [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
WTFString.cpp | 46 // Construct a string with UTF-16 data. 47 String::String(const UChar* characters, unsigned length) 52 // Construct a string with UTF-16 data, from a null-terminated source. 53 String::String(const UChar* str) 60 // Construct a string with latin1 data. 61 String::String(const LChar* characters, unsigned length) 66 String::String(const char* characters, unsigned length 1242 String* string(const char* s) function [all...] |
/external/chromium_org/third_party/angle/src/compiler/ |
OutputHLSL.cpp | 2482 TString string = "struct\\n" local 2581 TString string; local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
crestst.c | 257 const UChar* string = NULL; local 358 /* string */ 368 string= kERROR; 376 string=ures_getStringByKey(theBundle, tag, &resultLen, &status); 396 CONFIRM_EQ(string, expected_string); 688 log_err("unable to access the string \"%s\" at %d in testdata/testtable32.res - %s\n", 712 log_err("\"%s\" at %d in testdata/testtable32.res has a string/int value of %d, expected %d\n", 730 log_err("unable to access the string \"%s\" in testdata/testtable32.res - %s\n", 754 log_err("\"%s\" in testdata/testtable32.res has a string/int value of %d, expected %d\n", 903 { "emptystring", 1}, /* empty string is still a string * [all...] |
/external/chromium_org/third_party/icu/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/chromium_org/third_party/libjingle/source/talk/base/ |
win32socketserver.cc | 74 LPCSTR string = "Unspecified"; local 78 string = "SUCCESS"; 82 string = "WSAEWOULDBLOCK"; 86 string = "WSAEACCES"; 90 string = "WSAEADDRNOTAVAIL"; 94 string = "WSAENETDOWN"; 98 string = "WSAENETUNREACH"; 102 string = "WSANETRESET"; 106 string = "WSAECONNABORTED"; 110 string = "WSAECONNRESET" [all...] |
/external/chromium_org/third_party/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/chromium_org/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/chromium_org/ui/base/resource/ |
resource_bundle.cc | 81 gfx::FontList::SetDefaultFontDescription(std::string()); 145 std::string ResourceBundle::InitSharedInstanceWithLocale( 146 const std::string& pref_locale, Delegate* delegate) { 149 std::string result = g_shared_instance_->LoadLocaleResources(pref_locale); 155 std::string ResourceBundle::InitSharedInstanceLocaleOnly( 156 const std::string& pref_locale, Delegate* delegate) { 158 std::string result = g_shared_instance_->LoadLocaleResources(pref_locale); 208 bool ResourceBundle::LocaleDataPakExists(const std::string& locale) { 235 base::FilePath ResourceBundle::GetLocaleFilePath(const std::string& app_locale, 263 std::string ResourceBundle::LoadLocaleResources 446 base::string16 string; local [all...] |
/external/chromium_org/ui/views/controls/textfield/ |
native_textfield_views_unittest.cc | 8 #include <string> 256 void SetClipboardText(const std::string& text) { 338 // The string from Controller::ContentsChanged callback. 431 std::string locale = l10n_util::GetApplicationLocale(""); 470 // Insert a test string in a textfield. 505 // Insert a test string in a textfield. 861 // Check that dragging left selects the beginning of the string. 865 // Check that dragging right selects the rest of the string. 885 string16 string(ASCIIToUTF16("string ")); 939 string16 string; local 984 string16 string; local 1039 string16 string; local [all...] |
/external/chromium_org/v8/src/ |
prettyprinter.cc | 375 Print(" %s ", Token::String(node->op())); 434 Print("(%s%s", Token::String(op), needsSpace ? " " : ""); 442 if (node->is_prefix()) Print("%s", Token::String(node->op())); 444 if (node->is_postfix()) Print("%s", Token::String(node->op())); 452 Print(" %s ", Token::String(node->op())); 461 Print(" %s ", Token::String(node->op())); 573 String* string = String::cast(object); local 575 for (int i = 0; i < string->length(); i++) [all...] |
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
p5-0x.cpp | 169 struct string { struct in namespace:pr10644 170 string(const char* __s); 173 int& operator[](const string& __k); 175 int& operator[](const string&& __k);
|
/external/clang/test/Sema/ |
designated-initializers.c | 209 char *string; member in struct:Enigma::__anon16881::__anon16882::__anon16883 281 // Check initializer override warnings overriding a character in a string
|
/external/clang/test/SemaCXX/ |
typo-correction.cpp | 78 class string {}; class in namespace:AnotherStd 80 another_std::string str; // expected-error{{use of undeclared identifier 'another_std'; did you mean 'AnotherStd'?}}
|
/external/guava/guava-tests/lib/ |
libtruth-gwt.jar | |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractBiMapTest.java | 42 protected abstract BiMap<Integer, String> create(); 44 protected BiMap<Integer, String> bimap; 45 protected Set<Entry<Integer, String>> entrySet; 87 BiMap<Integer, String> biMap = create(); 114 BiMap<String, Integer> inverse = bimap.inverse(); 124 BiMap<String, Integer> inverse = bimap.inverse(); 161 Map<Integer, String> expected = Maps.newHashMap(); 187 Map<Integer, String> newEntries = ImmutableMap.of(2, "two", 3, "three"); 208 Map<Integer, String> map = Maps.newHashMap(); 244 String string = bimap.toString() local [all...] |
ImmutableListMultimapTest.java | 44 ImmutableListMultimap<String, Integer> multimap = new Builder<String, Integer>() 51 Builder<String, Integer> builder = new Builder<String, Integer>(); 58 builder.put(Maps.immutableEntry((String) null, 1)); 65 String string; field in class:ImmutableListMultimapTest.StringHolder 69 ImmutableListMultimap.Builder<String, Integer> builder = 70 new Builder<String, Integer>(); 72 holder.string = "one" [all...] |
ImmutableMapTest.java | 175 public static class MapTests extends AbstractMapTests<String, Integer> { 176 @Override protected Map<String, Integer> makeEmptyMap() { 180 @Override protected Map<String, Integer> makePopulatedMap() { 184 @Override protected String getKeyNotInPopulatedMap() { 194 extends AbstractMapTests<String, Integer> { 195 @Override protected Map<String, Integer> makePopulatedMap() { 199 @Override protected String getKeyNotInPopulatedMap() { 210 extends AbstractMapTests<String, Integer> { 211 @Override protected Map<String, Integer> makePopulatedMap() { 216 @Override protected String getKeyNotInPopulatedMap() 329 String string; field in class:ImmutableMapTest.CreationTests.StringHolder [all...] |