| /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...] |
| /libcore/luni/src/main/native/ |
| libcore_icu_NativeConverter.cpp | 38 #include <string.h> 65 std::vector<std::string>& result) { 78 const icu::UnicodeString* string = e.snext(status); local 82 std::string s; 83 string->toUTF8String(s); 84 if (s.find_first_of("+,") == std::string::npos) { 580 std::vector<std::string> aliases; 600 "(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V") [all...] |
| /packages/apps/Dialer/src/com/android/dialer/list/ |
| SearchFragment.java | 53 private static final String TAG = SearchFragment.class.getSimpleName(); 59 * Stores the untouched user-entered string that is used to populate the add to contacts 62 private String mAddToContactNumber; 198 public void setAddToContactNumber(String addToContactNumber) { 204 * (R.string.config_prohibited_phone_number_regexp) in the config files. False otherwise. 206 public boolean checkForProhibitedPhoneNumber(String number) { 208 String prohibitedPhoneNumberRegexp = getResources().getString( 209 R.string.config_prohibited_phone_number_regexp); 219 R.string.dialog_phone_call_prohibited_message); 243 final String number [all...] |
| /packages/apps/ExactCalculator/src/com/android/calculator2/ |
| CalculatorResult.java | 74 // string relative to the decimal point. Positive is to the right and negative is to 77 // We use the suffix "Index" to denote a zero-based index into a string representing a 129 // Ignore scrolls of error string, etc. 194 context.getString(R.string.dec_point), paint); 196 context.getString(R.string.op_sub), paint) - newCharWidth; 222 * @param msd Position of most significant digit. Offset from left of string. 229 void displayResult(int initPrec, int msd, int leastDigPos, String truncatedWholePart) { 243 String truncatedWholePart) { 337 * Return the most significant digit position in the given string or Evaluator.INVALID_MSD. 340 public static int getNaiveMsdIndexOf(String s) [all...] |
| /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
| AppPermissionsFragment.java | 65 private static final String LOG_TAG = "ManagePermsFragment"; 67 static final String EXTRA_HIDE_INFO_BUTTON = "hideInfoButton"; 77 public static AppPermissionsFragment newInstance(String packageName) { 81 private static <T extends Fragment> T setPackageName(T fragment, String packageName) { 98 String packageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); 102 Toast.makeText(activity, R.string.app_not_found_dlg_title, Toast.LENGTH_LONG).show(); 156 menu.add(Menu.NONE, MENU_ALL_PERMS, Menu.NONE, R.string.all_permissions); 157 HelpUtils.prepareHelpMenuItem(getActivity(), menu, R.string.help_app_permissions, 177 ab.setTitle(R.string.app_permissions); 201 extraPerms.setTitle(R.string.additional_permissions) [all...] |
| PermissionAppsFragment.java | 59 private static final String KEY_SHOW_SYSTEM_PREFS = "_showSystem"; 61 public static PermissionAppsFragment newInstance(String permissionName) { 65 private static <T extends Fragment> T setPermissionName(T fragment, String permissionName) { 76 private ArrayMap<String, AppPermissionGroup> mToggledGroups; 77 private ArraySet<String> mLauncherPkgs; 98 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); 113 R.string.menu_show_system); 115 R.string.menu_hide_system); 119 HelpUtils.prepareHelpMenuItem(getActivity(), menu, R.string.help_app_permissions, 157 ab.setTitle(fragment.getString(R.string.permission_title, label)) [all...] |
| /prebuilts/gdb/darwin-x86/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/gdb/darwin-x86/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/gdb/darwin-x86/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/gdb/darwin-x86/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/gdb/darwin-x86/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/gdb/linux-x86/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/gdb/linux-x86/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/gdb/linux-x86/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/gdb/linux-x86/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/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...] |