/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/intel/bootstub/ |
mb.h | 108 u32 string; member in struct:__anon39403
|
/hardware/ti/omap4-aah/camera/ |
Encoder_libjpeg.cpp | 52 const char* string; member in struct:Ti::Camera::integer_string_pair 263 return degress_to_exif_lut[i].string; 279 // convert the decimal string into a rational
|
/hardware/ti/omap4-aah/libtiutils/ |
DebugUtils.h | 44 const char * string() const; 153 Ti::IndentString<>(debug->offsetForCurrentThread()).string(), \ 240 inline const char * IndentString<Size>::string() const function in class:Ti::IndentString 357 (int)mThreadId, IndentString<>(debug->offsetForCurrentThread()).string(), 368 (int)mThreadId, IndentString<>(debug->offsetForCurrentThread()).string(), 382 (int)mThreadId, IndentString<>(debug->offsetForCurrentThread()).string(),
|
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ReaderTest.java | 28 String s = "MY TEST STRING"; 42 String s = "MY TEST STRING"; 50 assertEquals(s, String.valueOf(destBuffer)); 54 String s = "MY TEST STRING"; 69 assertEquals(s.substring(CHARBUFFER_REMAINING), String 95 String string = "MY TEST STRING" local 137 String string = "MY TEST STRING"; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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...] |
/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) 251 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...] |
/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 | 36 private final static String IMAGE_MIME_TYPE = "image/*"; 37 private final static String VIDEO_MIME_TYPE = "video/*"; 38 private final static String AUDIO_MIME_TYPE = "audio/*"; 40 private final static String FILE_PROVIDER_AUTHORITY = "com.android.browser-classic.file"; 125 Toast.makeText(mController.getActivity(), R.string.uploads_disabled, 131 String mimeType = "*/*"; 132 String[] acceptTypes = mParams.getAcceptTypes(); 155 private Uri createTempFileContentUri(String suffix) { 162 String.valueOf(System.currentTimeMillis()), suffix, mediaPath);
|
/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 | 49 private static final String TAG = "BluetoothDevicePreference"; 195 String name = mCachedDevice.getName(); 197 name = context.getString(R.string.bluetooth_device); 199 String message = context.getString(R.string.bluetooth_disconnect_all_profiles, name); 200 String title = context.getString(R.string.bluetooth_disconnect_title); 215 R.string.bluetooth_pairing_error_message); 222 data.screenTitle = context.getResources().getString(R.string.bluetooth_settings); 263 return R.string.bluetooth_connected_no_headset_no_a2dp [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
RecentLocationApps.java | 48 private static final String TAG = RecentLocationApps.class.getSimpleName(); 49 private static final String ANDROID_SYSTEM_PACKAGE_NAME = "android"; 63 private String mPackage; 65 public PackageEntryClickedListener(String packageName) { 75 R.string.application_info_label, null, null, 0); 112 pref.setSummary(R.string.location_high_battery_use); 114 pref.setSummary(R.string.location_low_battery_use); 141 String packageName = ops.getPackageName(); 168 String packageName = ops.getPackageName();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
GeneralPrefsFragment.java | 51 static final String AUTO_ADVANCE_WIDGET = "auto-advance-widget"; 53 static final String CALLED_FROM_TEST = "called-from-test"; 56 protected static final String REMOVAL_ACTIONS_GROUP = "removal-actions-group"; 120 final String key = preference.getKey(); 123 final String removalAction = newValue.toString(); 128 AUTO_ADVANCE_VALUES[mAutoAdvance.findIndexOfValue((String) newValue)]; 152 .setMessage(R.string.clear_history_dialog_message) 153 .setTitle(R.string.clear_history_dialog_title) 155 .setPositiveButton(R.string.clear, this) 156 .setNegativeButton(R.string.cancel, this [all...] |
/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/ndk/9/platforms/android-19/arch-arm/usr/include/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
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/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
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/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
|
/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
|