/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableSetMultimapTest.java | 44 ImmutableSetMultimap<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:ImmutableSetMultimapTest.StringHolder 69 ImmutableSetMultimap.Builder<String, Integer> builder = 70 new Builder<String, Integer>(); 72 holder.string = "one" [all...] |
/external/icu4c/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/icu4c/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/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/linux-tools-perf/util/ |
trace-event.h | 63 char *string; member in struct:print_arg_string 129 struct print_arg_string string; member in union:print_arg::__anon21477
|
/external/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::__anon23965::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/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/smack/src/org/xbill/DNS/ |
ZoneTransferIn.java | 216 newAXFR(Name zone, String host, int port, TSIG key) 233 newAXFR(Name zone, String host, TSIG key) 271 newIXFR(Name zone, long serial, boolean fallback, String host, int port, 293 newIXFR(Name zone, long serial, boolean fallback, String host, TSIG key) 384 logxfr(String s) { 390 fail(String s) throws ZoneTransferException { 555 fail(Rcode.string(rcode));
|
/external/tcpdump/ |
print-radius.c | 56 #include <string.h> 441 /* Print an attribute string */ 732 char string[26]; local 743 strlcpy(string, ctime(&attr_time), sizeof(string)); 745 string[24] = '\0'; 746 printf("%.24s", string); [all...] |
/external/v8/src/ |
prettyprinter.cc | 342 Print(" %s ", Token::String(node->op())); 395 Print("(%s%s", Token::String(op), needsSpace ? " " : ""); 403 if (node->is_prefix()) Print("%s", Token::String(node->op())); 405 if (node->is_postfix()) Print("%s", Token::String(node->op())); 413 Print(" %s ", Token::String(node->op())); 422 Print(" %s ", Token::String(node->op())); 534 String* string = String::cast(object); local 536 for (int i = 0; i < string->length(); i++) [all...] |
/frameworks/av/media/mtp/ |
MtpServer.cpp | 423 MtpStringBuffer string; local 441 string.set(""); 444 string.set("microsoft.com: 1.0; android.com: 1.0;"); 446 mData.putString(string); // MTP Extensions 457 string.set(prop_value); 458 mData.putString(string); // Manufacturer 461 string.set(prop_value); 462 mData.putString(string); // Model 463 string.set("1.0"); 464 mData.putString(string); // Device Versio 512 MtpStringBuffer string; local [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcTestLib.cpp | 24 #include <string> 156 // Color fraction class to string conversion 157 ColorFract::operator string() 168 // Dimension class to string conversion 169 HwcTestDim::operator string() 192 // Hardware Composer rectangle to string conversion 193 string hwcTestRect2str(const struct hwc_rect& rect) 359 if (string(desc) == string(hwcTestGraphicFormat[n1].desc)) { 383 // a string that describes the format [all...] |
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
BinaryHprofReader.java | 52 * version string from header after read has been performed, 56 private String version; 63 private final Map<Integer, String> idToString = new HashMap<Integer, String>(); 64 private final Map<Integer, String> idToClassName = new HashMap<Integer, String>(); 98 public String getVersion() { 126 String version = BinaryHprof.readMagic(in); 180 String error = hprofTag.checkSize(recordLength); 252 String string = new String(bytes, "UTF-8") local 303 String string = idToString.get(id); local 312 String string = idToClassName.get(id); local [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
ManageAccountsSettings.java | 58 private static final String ACCOUNT_KEY = "account"; // to pass to auth settings 59 public static final String KEY_ACCOUNT_TYPE = "account_type"; 60 public static final String KEY_ACCOUNT_LABEL = "account_label"; 64 private static final String LAUNCHING_LOCATION_SETTINGS = 72 private String[] mAuthorities; 76 private String mAccountType; 151 R.string.account_sync_settings_title, acctPref.getAccount().name, 158 getString(R.string.sync_menu_sync_now)) 161 getString(R.string.sync_menu_sync_cancel)) 226 HashSet<String> userFacing = new HashSet<String>() [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
OnePaneController.java | 44 private static final String CONVERSATION_LIST_TRANSACTION_KEY = "conversation-list-transaction"; 46 private static final String CONVERSATION_TRANSACTION_KEY = "conversation-transaction"; 48 private static final String CONVERSATION_LIST_VISIBLE_KEY = "conversation-list-visible"; 50 private static final String CONVERSATION_LIST_NEVER_SHOWN_KEY = "conversation-list-never-shown"; 159 public String toString() { 286 private int replaceFragment(Fragment fragment, int transition, String tag, int anchor) { 413 R.string.undo, 426 R.string.undo,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_all.py | 415 import string namespace 416 string.letters=[chr(i) for i in xrange(65,91)]
|
test_basics.py | 8 import string namespace 1002 for x in string.letters: 1050 self.assertEqual(count, len(string.letters)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
configDialog.py | 14 import string namespace 42 'Python Strings':('string','05'), 194 ('\n ','normal'),('"""string"""','string'),('\n var0 = ','normal'), 195 ("'string'",'string'),('\n var1 = ','normal'),("'selected'",'hilite'), 564 value=str(value) #make sure we use a string 665 binding=string.join(prevKeys[event]) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
gensuitemodule.py | 15 import string namespace 78 sys.stderr.write("creator must be 4-char string\n") 704 modshortname = string.split(self.basemodule.__name__, '.')[-1] 740 # Generate doc string (important, since it may be the only [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
platform.py | 7 information concatenated as single string to stdout. The output 82 # 0.2.1 - added cache logic and changed the platform string format 116 import sys,string,os,re namespace 208 tv = string.split(line) 214 version = string.strip(value) 216 values = string.split(value,'-') 224 pkg = string.split(line,'-') 284 l = string.split(string.strip(firstline)) 455 version string using the format major.minor.build (or patchlevel) [all...] |
xmllib.py | 6 import string namespace 23 _QStr = "(?:'[^']*'|\"[^\"]*\")" # quoted XML string 73 attrtrans = string.maketrans(' \r\n\t', ' ') 225 # to the end of the string that is to be replaced [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_bigmem.py | 6 import string namespace 353 # The test takes about size bytes to build a string, and then about 371 # Allocates a string of twice size (and briefly two) and a list of 373 # list of size times the same one-character string, so we only 439 trans = string.maketrans('.aZ', '-!$') 498 # repr() will create a string four times as large as this 'binary 499 # string', but we don't want to allocate much more than twice 525 # doubled string is > 2G (but it tests more if both are > 2G :) 535 # repeated string is > 2G (but it tests more if both are > 2G :) 559 # string, too [all...] |
test_dict.py | 4 import UserDict, random, string namespace 18 items = [(''.join(random.sample(string.letters, 8)), i)
|
test_re.py | 7 import string namespace 365 self.assertEqual(re.match("(a)", "a").string, "a") 403 # There's a word boundary at the start of a string. 405 # A non-empty string includes a non-boundary zero-length match. 407 # There is no non-boundary match at the start of a string. 409 # However, an empty string contains no word boundaries, and also no 415 # A single word-character string has two boundaries, but no 504 alnum_chars = string.ascii_letters + string.digits 517 alnum_chars = (string.ascii_letters + string.digits).encode('ascii' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_all.py | 415 import string namespace 416 string.letters=[chr(i) for i in xrange(65,91)]
|