| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
| test_associate.py | 5 import sys, os, string namespace
|
| test_dbshelve.py | 5 import os, string, sys namespace 62 for x in string.letters: 63 d[self.mk('S' + x)] = 10 * x # add a string 142 self.assertEqual(d.get(self.mk('bad key'), 'a string'), 'a string') 350 self.key_map = {} # map string keys to the number we gave them
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
| build_ext.py | 11 import sys, os, string, re namespace 173 self.library_dirs = string.split(self.library_dirs, os.pathsep) 178 self.rpath = string.split(self.rpath, os.pathsep) 250 # The argument parsing will result in self.define being a string, but 259 # The option for macros to undefine is also a string from the 378 "must be the extension name (a string)") 634 all_dots = string.maketrans('/'+os.sep, '..') 674 ext_path = string.split(ext_name, '.') [all...] |
| install.py | 11 import sys, os, string, re namespace 23 from string import maketrans 328 py_version = (string.split(sys.version))[0] 428 opt_name = string.translate(self.negative_opt[opt_name], 432 opt_name = string.translate(opt_name, longopt_xlate) 551 self.extra_path = string.split(self.extra_path, ',') 560 "comma-separated string with 1 or 2 elements")
|
| sdist.py | 8 import string namespace 246 string.join(alts, ', '))
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
| msvccompiler.py | 15 import string namespace 150 s = string.replace(s, k, v) 161 i = string.find(sys.version, prefix) 183 i = string.find(sys.version, prefix) 186 j = string.find(sys.version, ")", i) 281 for p in string.split(os.environ['path'], ';'): 286 os.environ['path'] = string.join(self.__paths, ';') 595 for p in string.split(os.environ['Path'],';'): 624 return string.split(self.__macros.sub(d[path]), ";") 626 return string.split(d[path], ";" [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
| Debugger.py | 351 import string namespace 352 sourceline = string.strip(sourceline)
|
| UndoDelegator.py | 1 import string namespace 254 alphanumeric = string.ascii_letters + string.digits + "_"
|
| configHandler.py | 22 import string namespace 37 cfgFile - string, fully specified configuration file name 300 fgBg - string ('fg'or'bg') or None, if None return a dictionary 326 type - string, 'default' or 'user' theme type 327 themeName - string, theme name 351 'string-foreground':'#000000', 352 'string-background':'#ffffff', 450 virtualEvent - string, name of the virtual event to test for, without 518 keySetName - string, name of key binding set 519 eventStr - string, the virtual event we want the binding for [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
| tokenize.py | 12 the token (a string) 15 the original line (string) 32 import string, re namespace 69 # Tail end of ' string. 71 # Tail end of " string. 73 # Tail end of ''' string. 75 # Tail end of """ string. 78 # Single-line ' or " string. 79 String = group(r"[uU]?[rR]?'[^\n'\\]*(?:\\.[^\n'\\]*)*'", 94 PlainToken = group(Number, Funny, String, Name [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_hashlib.py | 27 import string namespace 28 h = string.hexdigits
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| tokenize.py | 9 the token (a string) 12 the original line (string) 29 import string, re namespace 65 # Tail end of ' string. 67 # Tail end of " string. 69 # Tail end of ''' string. 71 # Tail end of """ string. 74 # Single-line ' or " string. 75 String = group(r"[uUbB]?[rR]?'[^\n'\\]*(?:\\.[^\n'\\]*)*'", 90 PlainToken = group(Number, Funny, String, Name [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
| ExtractStringProposal.java | 80 public String getAdditionalProposalInfo() { 87 String string = buffer.getText(start, length); local 88 string = ExtractStringRefactoring.unquoteAttrValue(string); 89 String token = ExtractStringInputPage.guessId(string); 91 // Look up the beginning and the end of the line (outside of the extracted string) 93 // foo.setTitle("Hello"); we want to show foo.setTitle(R.string.hello); 105 String linePrefix = buffer.getText(i + 1, start - (i + 1)).trim() [all...] |
| /toolchain/binutils/binutils-2.25/bfd/ |
| stabs.c | 33 4 byte string table index 42 the string table for this unit, and the desc field is the number of 109 /* This is an array of string indices. For each stab symbol, we 110 store the string index here. If a stab symbol should not be 111 included in the final output, the string index is -1. */ 122 const char *string) 137 bfd_hash_newfunc ((struct bfd_hash_entry *) ret, table, string)); 233 /* Look through the stabs symbols, work out the new string indices, 238 each stab section's place in the single concatenated string 250 const char *string; 248 const char *string; local [all...] |
| /toolchain/binutils/binutils-2.25/binutils/ |
| rddbg.c | 183 next string table. */ 229 see the same string more than once. */ 387 char *string; 393 /* Save a stabs string. */ 396 save_stab (int type, int desc, bfd_vma value, const char *string) 398 if (saved_stabs[saved_stabs_index].string != NULL) 399 free (saved_stabs[saved_stabs_index].string); 403 saved_stabs[saved_stabs_index].string = xstrdup (string); 415 fprintf (stderr, "n_type n_desc n_value string\n") 386 char *string; member in struct:saved_stab [all...] |
| /toolchain/binutils/binutils-2.25/gas/config/ |
| te-vms.c | 39 #include <string.h> 62 /* Variable length string. */ 66 char string[NAM$C_MAXRSS+1]; member in struct:vstring 145 = {NAM$C_MAXRSS, DSC$K_DTYPE_T, DSC$K_CLASS_S, (void *) file.string}; 148 = {NAM$C_MAXRSS, DSC$K_DTYPE_T, DSC$K_CLASS_S, (void *) device.string}; 151 = {NAM$C_MAXRSS, DSC$K_DTYPE_VT, DSC$K_CLASS_VS, (void *) result.string}; 180 nam.nam$l_esa = file.string; 182 nam.nam$l_rsa = result.string; 193 file.string[nam.nam$b_esl] = 0; 200 file.string[nam.nam$b_esl] = 0 [all...] |
| /toolchain/binutils/binutils-2.25/gas/ |
| hash.c | 39 /* String being hashed. */ 40 const char *string; member in struct:hash_entry 124 /* Look up a string in a hash table. This returns a pointer to the 125 hash_entry, or NULL if the string is not in the table. If PLIST is 130 Each time we look up a string, we move it to the start of the list 181 if (strncmp (p->string, key, len) == 0 && p->string[len] == '\0') 201 On error, it returns a printable string indicating the error. It 221 p->string = key; 232 success. On error, it returns a printable string indicating th [all...] |
| /toolchain/binutils/binutils-2.25/gold/ |
| stringpool.h | 1 // stringpool.h -- a string pool for gold -*- C++ -*- 23 #include <string> 35 // Return the length of a string in units of Char_type. 60 // Every string in the pool is unique. Thus, if you have two strings 62 // pointer comparison rather than string comparison. 64 // There is a key associated with every string in the pool. If you 66 // each string will always be the same for any run of the linker. 67 // This is not true of the string pointers themselves, as they may 70 // string pointer so that repeated runs of the linker will generate 73 // When you add a string to a Stringpool, Stringpool will optionall 336 const Stringpool_char* string; member in struct:gold::Stringpool_template::Hashkey [all...] |
| yyscript.y | 33 #include <string.h> 54 /* A string. */ 55 struct Parser_string string; 103 %token <string> STRING 104 %token <string> QUOTED_STRING 222 %type <string> wildcard_name 228 %type <string> string 262 | OPTION '(' string ')' 1116 string: label [all...] |
| /toolchain/binutils/binutils-2.25/ld/ |
| ldfile.c | 382 char *string; local 391 string = concat (search->name, slash, lib, entry->filename, 394 string = concat (search->name, slash, entry->filename, 397 if (ldfile_try_open_bfd (string, entry)) 399 entry->filename = string; 403 free (string); 674 ldfile_set_output_arch (const char *string, enum bfd_architecture defarch) 676 const bfd_arch_info_type *arch = bfd_scan_arch (string); 687 einfo (_("%P%F: cannot represent machine `%s'\n"), string);
|
| /toolchain/binutils/binutils-2.25/libiberty/ |
| d-demangle.c | 40 #include <string.h> 53 /* A mini string-handling package */ 55 typedef struct string /* Beware: these aren't required to be */ struct 57 char *b; /* pointer to start of string */ 60 } string; typedef in typeref:struct:string 63 string_need (string *s, int n) 88 string_delete (string *s) 98 string_init (string *s) 104 string_length (string *s) 114 string_setlength (string *s, int n [all...] |
| /toolchain/binutils/binutils-2.25/opcodes/ |
| nds32-dis.c | 896 char *string = NULL; local 927 string = "sh"; 932 string = "nop"; 935 string = cctl_subtype [__GF (insn, 5, 5)]; 941 string = "tit"; 948 string = "ex9"; 953 string = "nop16"; 957 if (string) 959 while (strstr ((*opc)->opcode, string) == NULL 960 && strstr ((*opc)->instruction, string) == NULL && (*opc)->next [all...] |
| /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.1/ |
| hamcrest-library-1.1.jar | |
| /libcore/luni/src/test/java/libcore/io/ |
| OsTest.java | 73 String path = System.getProperty("java.io.tmpdir") + "/test_unix_socket"; 116 String s = new String(request, "UTF-8"); 133 String string = "hello, world!"; local 135 byte[] request = string.getBytes("UTF-8"); 141 assertEquals(string.toUpperCase(Locale.ROOT), new String(response, "UTF-8")); 175 final byte[] contents = new String("goodbye, cruel world").getBytes(StandardCharsets.US_ASCII); 499 final String NAME_TEST = "user.meow" [all...] |
| /art/runtime/interpreter/mterp/ |
| gen_mterp.py | 22 import sys, string, re, time namespace 23 from string import Template
|