/external/valgrind/main/coregrind/m_debuginfo/ |
readstabs.c | 146 Char *string; local 157 /* handle continued string stabs */ 167 string = stabstr + qstringidx; 168 qlen = VG_(strlen)(string); 170 while (string 172 && (qcontinuing || string[qlen-1] == '\\')) { 178 qcontinuing = string[qlen-1] == '\\'; 181 while (string[qlen-1] == '\\' && qlen > 0) 185 VG_(printf)("found extension string: \"%s\" " 187 string, qlen, string[qlen-1], qidx, qbuflen) [all...] |
/frameworks/base/core/java/android/text/util/ |
Linkify.java | 143 public final String transformUrl(final Matcher match, String url) { 194 String transformUrl(final Matcher match, String url); 219 new String[] { "http://", "https://", "rtsp://" }, 225 new String[] { "mailto:" }, 302 * @param scheme Url scheme string (eg <code>http://</code> to be 306 public static final void addLinks(TextView text, Pattern pattern, String scheme) { 318 * @param scheme Url scheme string (eg <code>http://</code> to be 325 public static final void addLinks(TextView text, Pattern p, String scheme 464 String string = s.toString(); local [all...] |
/frameworks/base/core/java/android/util/ |
JsonWriter.java | 118 * malformed JSON string will fail with an {@link IllegalStateException}. 131 * A string containing a full set of spaces for a single level of 134 private String indent; 139 private String separator = ":"; 156 * Sets the indentation string to be repeated for each level of indentation 161 * @param indent a string containing only whitespace. 163 public void setIndent(String indent) { 238 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { 249 private JsonWriter close(JsonScope empty, JsonScope nonempty, String closeBracket) 284 public JsonWriter name(String name) throws IOException 369 String string = value.toString(); local 400 private void string(String value) throws IOException { method in class:JsonWriter [all...] |
/frameworks/rs/ |
rsCppUtils.h | 44 #include <string> 60 class String8: public std::string { 62 String8(const char *ptr) : std::string(ptr) { 65 String8(const char *ptr, size_t len) : std::string(ptr, len) { 68 String8() : std::string() { 72 const char* string() const { function in class:android::String8
|
/hardware/ti/omap4xxx/camera/ |
Encoder_libjpeg.cpp | 52 const char* string; member in struct:android::integer_string_pair 206 return degress_to_exif_lut[i].string; 222 // convert the decimal string into a rational
|
/libcore/json/src/main/java/org/json/ |
JSONStringer.java | 30 * String json = object.toString();</pre> 43 * Calls that would result in a malformed JSON string will fail with a 117 * A string containing a full set of spaces for a single level of 120 private final String indent; 129 indent = new String(indentChars); 174 JSONStringer open(Scope empty, String openBracket) throws JSONException { 188 JSONStringer close(Scope empty, Scope nonempty, String closeBracket) throws JSONException { 222 * @param value a {@link JSONObject}, {@link JSONArray}, String, Boolean, 252 string(value.toString()); 302 private void string(String value) method in class:JSONStringer [all...] |
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 90 private String ID; 111 public static synchronized String[] getAvailableIDs() { 122 public static synchronized String[] getAvailableIDs(int offsetMillis) { 136 String zoneName = (tzGetter != null) ? tzGetter.getId() : null; 159 public final String getDisplayName() { 166 public final String getDisplayName(Locale locale) { 174 public final String getDisplayName(boolean daylightTime, int style) { 188 public String getDisplayName(boolean daylightTime, int style, Locale locale) { 193 String[][] zoneStrings = TimeZoneNames.getZoneStrings(locale); 194 String result = TimeZoneNames.getDisplayName(zoneStrings, getID(), daylightTime, style) 230 String string = Integer.toString(value); local [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
NativeBreakIterator.java | 35 private String string; field in class:NativeBreakIterator 48 clone.string = this.string; 81 return currentImpl(this.address, this.string); 85 return firstImpl(this.address, this.string); 89 return followingImpl(this.address, this.string, offset); 93 int newLocation = currentImpl(this.address, this.string); 99 return lastImpl(this.address, this.string); 103 return nextImpl(this.address, this.string, n) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
GeneralName.java | 67 * iPAddress [7] OCTET STRING, 130 /** the name value (can be String or byte array) */ 139 * well established string representation of the name value. 140 * The String representation of [7] iPAddress is such as: 149 * have no the string representation, so exception will be thrown. 154 public GeneralName(int tag, String name) throws IOException { 163 throw new IOException("Unknown string representation for type [" + tag + "]"); 259 * [1] rfc822Name - String object, 260 * [2] dNSName - String object, 264 * [6] uniformResourceIdentifier - String object 562 String string = dns.toLowerCase(Locale.US); local [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
SimpleTimeZoneTest.java | 33 * java.util.SimpleTimeZone#SimpleTimeZone(int, java.lang.String) 36 // Test for method java.util.SimpleTimeZone(int, java.lang.String) 47 * java.util.SimpleTimeZone#SimpleTimeZone(int, java.lang.String, 51 // Test for method java.util.SimpleTimeZone(int, java.lang.String, int, 104 * java.util.SimpleTimeZone#SimpleTimeZone(int, java.lang.String, 108 // Test for method java.util.SimpleTimeZone(int, java.lang.String, int, 163 * java.util.SimpleTimeZone#SimpleTimeZone(int, java.lang.String, 167 // Test for method java.util.SimpleTimeZone(int, java.lang.String, int, 779 // Test for method java.lang.String java.util.SimpleTimeZone.toString() 780 String string = TimeZone.getTimeZone("EST").toString() local [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
lex.c | 27 #include <string.h> 165 int string(void); 349 return string(); /* BUG: should be like tran.c ? */ 357 int string(void) function 367 if (!adjbuf(&buf, &bufsz, bp-buf+2, 500, &bp, "string")) 368 FATAL("out of space for string %.10s...", buf); 373 SYNTAX( "non-terminated string %.10s...", buf ); 433 RET(STRING); 576 void unputstr(const char *s) /* put a string back on input */
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-rxspencer.c | 32 #include <string.h> 168 check_match (regmatch_t *rm, int idx, const char *string, 193 if (strncmp (string + rm[idx].rm_so, match + 1, strlen (match + 1) 203 || strncmp (string + rm[idx].rm_so, match, 214 test (const char *pattern, int cflags, const char *string, int eflags, 238 if (strcmp (string, codes[i].name)) 241 fail, codes[i].name, string); 264 if (strcmp (string, "EMPTY") == 0) 271 if (regexec (&re, string, 10, rm, eflags)) 291 ret = check_match (rm, 0, string, expect, fail) 440 char *pattern, *flagstr, *string, *expect, *matches, *p; local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
UploadHandler.java | 40 private String mCameraFilePath; 51 String getFilePath() { 93 void openFileChooser(ValueCallback<Uri> uploadMsg, String acceptType, String capture) { 95 final String imageMimeType = "image/*"; 96 final String videoMimeType = "video/*"; 97 final String audioMimeType = "audio/*"; 98 final String mediaSourceKey = "capture"; 99 final String mediaSourceValueCamera = "camera"; 100 final String mediaSourceValueFileSystem = "filesystem" [all...] |
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
SnepBasicTests.java | 32 private static final String TAG = "snepBasicTests"; 268 StringBuffer string = new StringBuffer(size); local 270 string.append('A' + (i % 26)); 273 new byte[0], string.toString().getBytes());
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothDevicePreference.java | 47 private static final String TAG = "BluetoothDevicePreference"; 191 String name = mCachedDevice.getName(); 193 name = context.getString(R.string.bluetooth_device); 195 String message = context.getString(R.string.bluetooth_disconnect_all_profiles, name); 196 String title = context.getString(R.string.bluetooth_disconnect_title); 211 R.string.bluetooth_pairing_error_message); 248 return R.string.bluetooth_connected_no_headset_no_a2dp; 250 return R.string.bluetooth_connected_no_a2dp [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
RecentLocationApps.java | 42 private static final String TAG = RecentLocationApps.class.getSimpleName(); 43 private static final String ANDROID_SYSTEM_PACKAGE_NAME = "android"; 57 private String mPackage; 59 public PackageEntryClickedListener(String packageName) { 69 R.string.application_info_label, null, null, 0); 83 pref.setSummary(R.string.location_high_battery_use); 85 pref.setSummary(R.string.location_low_battery_use); 134 String packageName = ops.getPackageName();
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ProjectsActivity.java | 49 private static final String LOG_TAG = "ProjectsActivity"; 55 public static final String PARAM_OPEN_PROJECT_PATH = "path"; 56 public static final String PARAM_CREATE_PROJECT_NAME = "name"; 66 private static final String PARAM_DIALOG_PATH_ID = "path"; 103 actionBar.setTitle(R.string.full_app_name); 170 menu.add(Menu.NONE, MENU_NEW_PROJECT_ID, Menu.NONE, R.string.projects_new_project) 198 getString(android.R.string.ok), 204 final String projectName = tv.getText().toString(); 209 getString(android.R.string.cancel), 224 getString(R.string.projects_project_name)) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
FeedbackFragment.java | 36 private static final String TAG = FeedbackFragment.class.getSimpleName(); 38 public static final String KEY_FEEDBACK_STRING = "FeedbackString"; 39 public static final String KEY_INCLUDE_ACCOUNT_NAME = "IncludeAccountName"; 40 public static final String KEY_HAS_USER_RECORDING = "HasRecording"; 94 final String feedbackContents = editable.toString(); 97 R.string.research_feedback_empty_feedback_error_message, 119 final String savedFeedbackString = mEditText.getText().toString();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactLookupKey.java | 35 public static final String PROFILE_LOOKUP_KEY = "profile"; 40 public String rawContactId; 41 public String key; 59 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) { 67 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, 68 String accountName, long rawContactId, String sourceId, 69 String displayName) { 91 private static boolean appendEscapedSourceId(StringBuilder sb, String sourceId) 122 String string = Uri.decode(lookupKey); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
Cookie.py | 88 The load() method of a Cookie extracts cookies from a string. In a 98 within a string. Escaped quotation marks, nested semicolons, and other 136 the value to a string, when the values are set dictionary-style. 140 >>> C["string"] = "seven" 143 >>> C["string"].value 146 'Set-Cookie: number=7\r\nSet-Cookie: string=seven' 160 >>> C["string"] = "seven" 163 >>> C["string"].value 166 'Set-Cookie: number="I7\\012."\r\nSet-Cookie: string="S\'seven\'\\012p1\\012."' 177 Python string. String objects are *not* serialized. Similarly 213 import string namespace [all...] |
/prebuilts/python/darwin-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/darwin-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, ', '))
|