/external/v8/src/snapshot/ |
deserializer.cc | 247 // Used to insert a deserialized internalized string into the string table. 250 explicit StringTableInsertionKey(String* string) 251 : string_(string), hash_(HashForObject(string)) { 252 DCHECK(string->IsInternalizedString()); 255 bool IsMatch(Object* string) override { 258 if (hash_ != HashForObject(string)) return false; 260 return string_->SlowEquals(String::cast(string)) 282 String* string = String::cast(obj); local [all...] |
/external/v8/src/ |
string-builder.h | 29 static inline void StringBuilderConcatHelper(String* special, sinkchar* sink, 52 String::WriteToFlat(special, sink + position, pos, pos + len); 55 String* string = String::cast(element); local 56 int element_length = string->length(); 57 String::WriteToFlat(string, sink + position, 0, element_length); 99 String* element = String::cast(elt) 361 Handle<SeqString> string = Handle<SeqString>::cast(string_); local [all...] |
/external/valgrind/coregrind/m_demangle/ |
d-demangle.c | 45 #include <string.h> 68 /* A mini string-handling package */ 70 typedef struct string /* Beware: these aren't required to be */ struct 72 char *b; /* pointer to start of string */ 75 } string; typedef in typeref:struct:string 78 string_need (string *s, int n) 103 string_delete (string *s) 113 string_init (string *s) 119 string_length (string *s) 129 string_setlength (string *s, int n [all...] |
/frameworks/base/core/java/android/text/util/ |
Linkify.java | 101 * {@link android.webkit.WebView#findAddress(String) findAddress()} method in 177 public final String transformUrl(final Matcher match, String url) { 228 String transformUrl(final Matcher match, String url); 263 new String[] { "http://", "https://", "rtsp://" }, 269 new String[] { "mailto:" }, 351 * @param scheme URL scheme string (eg <code>http://</code>) to be 355 @Nullable String scheme) { 367 * @param scheme URL scheme string (eg <code>http://</code>) to b 805 String string = s.toString(); local [all...] |
/frameworks/base/core/java/android/util/ |
TypedValue.java | 36 /** The <var>string</var> field holds string data. In addition, if 37 * <var>data</var> is non-zero then it is the string block 38 * index of the string and <var>assetCookie</var> is the set of 39 * assets the string came from. */ 173 /** If the value holds a string, this is it. */ 174 public CharSequence string; field in class:TypedValue 448 * string value. For example, a color type will be converted to a 449 * string of the form #aarrggbb. 451 * @return CharSequence The coerced string value. If the value i [all...] |
/libcore/ojluni/src/main/java/java/util/ |
TimeZone.java | 100 * the specified string doesn't match the syntax, <code>"GMT"</code> 287 public String getID() 297 public void setID(String ID) 321 public final String getDisplayName() { 341 public final String getDisplayName(Locale locale) { 369 public final String getDisplayName(boolean daylight, int style) { 384 public String getDisplayName(boolean daylightTime, int style, Locale locale) { 401 String canonicalID = android.icu.util.TimeZone.getCanonicalID(getID()); 405 String displayName = names.getDisplayName(canonicalID, nameType, now); 422 // BEGIN Android-added: utility method to format an offset as a GMT offset string 457 String string = Integer.toString(value); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
CreateEventDialogFragment.java | 56 private static final String TAG = "CreateEventDialogFragment"; 60 private static final String KEY_DATE_STRING = "date_string"; 61 private static final String KEY_DATE_IN_MILLIS = "date_in_millis"; 62 private static final String EVENT_DATE_FORMAT = "%a, %b %d, %Y"; 79 private String mDateString; 84 private String mCalendarOwner; 146 .setTitle(R.string.new_event_dialog_label) 148 .setPositiveButton(R.string.create_event_dialog_save, 157 .setNeutralButton(R.string.edit_label, 171 .setNegativeButton(android.R.string.cancel, null [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ImportDialogFragment.java | 60 public static final String TAG = "ImportDialogFragment"; 62 public static final String KEY_RES_ID = "resourceId"; 63 public static final String KEY_SUBSCRIPTION_ID = "subscriptionId"; 65 public static final String EXTRA_SIM_ONLY = "extraSimOnly"; 67 public static final String EXTRA_SIM_CONTACT_COUNT_PREFIX = "simContactCount_"; 134 // Adapter that shows a list of string resources 146 if (entry.mChoiceResourceId == R.string.import_from_sim) { 173 // We use a template instead of format string so that the TTS span is preserved 176 return TextUtils.expandTemplate(template, String.valueOf(count), phone); 198 if (resId == R.string.import_from_sim) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
SettingsDAO.java | 57 private static final String KEY_SORT_PREFERENCE = "sort_preference"; 60 private static final String KEY_DEFAULT_ALARM_RINGTONE_URI = "default_alarm_ringtone_uri"; 63 private static final String KEY_ALARM_GLOBAL_ID = "intent.extra.alarm.global.id"; 66 private static final String KEY_RESTORE_BACKUP_FINISHED = "restore_finished"; 115 String timeZoneId = prefs.getString(SettingsActivity.KEY_HOME_TZ, null); 186 final String uriString = prefs.getString(SettingsActivity.KEY_TIMER_RINGTONE, null); 216 final String uriString = prefs.getString(KEY_DEFAULT_ALARM_RINGTONE_URI, null); 232 final String crescendoSeconds = prefs.getString(SettingsActivity.KEY_ALARM_CRESCENDO, "0"); 241 final String crescendoSeconds = prefs.getString(SettingsActivity.KEY_TIMER_CRESCENDO, "0"); 250 final String defaultValue = String.valueOf(Calendar.getInstance().getFirstDayOfWeek()) 300 final String string = prefs.getString(SettingsActivity.KEY_AUTO_SILENCE, "10"); local 309 final String string = prefs.getString(SettingsActivity.KEY_ALARM_SNOOZE, "10"); local [all...] |
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
BlockNumberDialogFragment.java | 46 private static final String BLOCK_DIALOG_FRAGMENT = "BlockNumberDialog"; 47 private static final String ARG_BLOCK_ID = "argBlockId"; 48 private static final String ARG_NUMBER = "argNumber"; 49 private static final String ARG_COUNTRY_ISO = "argCountryIso"; 50 private static final String ARG_DISPLAY_NUMBER = "argDisplayNumber"; 51 private static final String ARG_PARENT_VIEW_ID = "parentViewId"; 52 private String number; 53 private String displayNumber; 54 private String countryIso; 62 String number [all...] |
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
ContactsFragment.java | 77 private static final String EXTRA_HEADER = "extra_header"; 78 private static final String EXTRA_HAS_PHONE_NUMBERS = "extra_has_phone_numbers"; 103 private String query; 138 * <li>Contacts are filterable via {@link #updateQuery(String)} 217 emptyContentView.setDescription(R.string.permission_no_contacts); 218 emptyContentView.setActionLabel(R.string.permission_single_turn_on); 243 public void updateQuery(String query) { 252 emptyContentView.setDescription(R.string.all_contacts_empty); 253 emptyContentView.setActionLabel(R.string.all_contacts_empty_add_contact_action); 293 String anchoredHeaderString = adapter.getHeaderString(firstCompletelyVisible) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionarySettings.java | 54 private static final String[] QUERY_PROJECTION_SHORTCUT_UNSUPPORTED = 56 private static final String[] QUERY_PROJECTION_SHORTCUT_SUPPORTED = 58 private static final String[] QUERY_PROJECTION = 65 private static final String[] ADAPTER_FROM_SHORTCUT_UNSUPPORTED = { 69 private static final String[] ADAPTER_FROM_SHORTCUT_SUPPORTED = { 73 private static final String[] ADAPTER_FROM = IS_SHORTCUT_API_SUPPORTED ? 89 private static final String QUERY_SELECTION = 91 private static final String QUERY_SELECTION_ALL_LOCALES = 94 private static final String DELETE_SELECTION_WITH_SHORTCUT = UserDictionary.Words.WORD 96 private static final String DELETE_SELECTION_WITHOUT_SHORTCUT = UserDictionary.Words.WOR [all...] |
/packages/services/Telephony/src/com/android/phone/ |
GsmUmtsCallForwardOptions.java | 21 private static final String LOG_TAG = "GsmUmtsCallForwardOptions"; 23 private static final String NUM_PROJECTION[] = { 27 private static final String BUTTON_CFU_KEY = "button_cfu_key"; 28 private static final String BUTTON_CFB_KEY = "button_cfb_key"; 29 private static final String BUTTON_CFNRY_KEY = "button_cfnry_key"; 30 private static final String BUTTON_CFNRC_KEY = "button_cfnrc_key"; 32 private static final String KEY_TOGGLE = "toggle"; 33 private static final String KEY_STATUS = "status"; 34 private static final String KEY_NUMBER = "number"; 59 getActionBar(), getResources(), R.string.call_forwarding_settings_with_label) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
bthsdpdef.h | 90 } string; member in union:_SPD_ELEMENT_DATA::__anon63511
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
bexport.go | 36 fields are all encoded as integer or string values. 50 predeclared types (int, string, error, unsafe.Pointer, etc.). This way 56 string and either an empty string, or "debug", when emitting the debug 84 If the string was exported already, it is represented by its index only. 85 Otherwise, the export data starts with the negative string length (negative, 86 so we can distinguish from string index), followed by the string bytes. 87 The empty string is mapped to index 0. (The initial format string is a 1751 func (p *exporter) string(s string) { func [all...] |
/prebuilts/go/darwin-x86/src/encoding/gob/ |
type.go | 70 return nil, errors.New("can't represent recursive pointer type " + ut.base.String()) 170 name() string 171 string() string // not public; only for debugging 172 safeString(seen map[typeId]bool) string 196 // string returns the string representation of the type associated with the typeId. 197 func (t typeId) string() string { func 201 return t.gobType().string() 225 func (t *CommonType) string() string { return t.Name } func 314 func (a *arrayType) string() string { return a.safeString(make(map[typeId]bool)) } func 331 func (g *gobEncoderType) string() string { return g.Name } func 362 func (m *mapType) string() string { return m.safeString(make(map[typeId]bool)) } func 394 func (s *sliceType) string() string { return s.safeString(make(map[typeId]bool)) } func 423 func (s *structType) string() string { return s.safeString(make(map[typeId]bool)) } func 649 func (w *wireType) string() string { func [all...] |
/prebuilts/go/darwin-x86/src/encoding/json/ |
encode.go | 37 // its MarshalText method and encodes the result as a JSON string. 48 // String values encode as JSON strings coerced to valid UTF-8, 57 // []byte encodes as a base64-encoded string, and a nil slice 65 // The encoding of each struct field can be customized by the format string 67 // The format string gives the name of the field, possibly followed by a 74 // slice, map, or string. 100 // The "string" option signals that a field is stored as JSON inside a 101 // JSON-encoded string. It applies only to fields of string, floating point, 105 // Int64String int64 `json:",string"` 876 func (e *encodeState) string(s string, escapeHTML bool) { func [all...] |
/prebuilts/go/darwin-x86/src/go/constant/ |
value.go | 35 String 48 // String returns a short, quoted (human-readable) form of the value. 50 // for String values the result may be a shortened string. 51 // Use ExactString for a string representing a value exactly. 52 String() string 55 // If the Value is of Kind String, use StringVal to obtain the unquoted string. 56 ExactString() string 120 func (x *stringVal) string() string { func [all...] |
/prebuilts/go/darwin-x86/src/go/internal/gcimporter/ |
bimport.go | 22 imports map[string]*types.Package 24 importpath string 29 strList []string // in order of appearance 30 pathList []string // in order of appearance 38 prevFile string 41 files map[string]*token.File 52 func BImportData(fset *token.FileSet, imports map[string]*types.Package, data []byte, path string) (_ int, pkg *types.Package, err error) { 68 strList: []string{""}, // empty string is mapped to 819 func (p *importer) string() string { func [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
bexport.go | 36 fields are all encoded as integer or string values. 50 predeclared types (int, string, error, unsafe.Pointer, etc.). This way 56 string and either an empty string, or "debug", when emitting the debug 84 If the string was exported already, it is represented by its index only. 85 Otherwise, the export data starts with the negative string length (negative, 86 so we can distinguish from string index), followed by the string bytes. 87 The empty string is mapped to index 0. (The initial format string is a 1751 func (p *exporter) string(s string) { func [all...] |
/prebuilts/go/linux-x86/src/encoding/gob/ |
type.go | 70 return nil, errors.New("can't represent recursive pointer type " + ut.base.String()) 170 name() string 171 string() string // not public; only for debugging 172 safeString(seen map[typeId]bool) string 196 // string returns the string representation of the type associated with the typeId. 197 func (t typeId) string() string { func 201 return t.gobType().string() 225 func (t *CommonType) string() string { return t.Name } func 314 func (a *arrayType) string() string { return a.safeString(make(map[typeId]bool)) } func 331 func (g *gobEncoderType) string() string { return g.Name } func 362 func (m *mapType) string() string { return m.safeString(make(map[typeId]bool)) } func 394 func (s *sliceType) string() string { return s.safeString(make(map[typeId]bool)) } func 423 func (s *structType) string() string { return s.safeString(make(map[typeId]bool)) } func 649 func (w *wireType) string() string { func [all...] |
/prebuilts/go/linux-x86/src/encoding/json/ |
encode.go | 37 // its MarshalText method and encodes the result as a JSON string. 48 // String values encode as JSON strings coerced to valid UTF-8, 57 // []byte encodes as a base64-encoded string, and a nil slice 65 // The encoding of each struct field can be customized by the format string 67 // The format string gives the name of the field, possibly followed by a 74 // slice, map, or string. 100 // The "string" option signals that a field is stored as JSON inside a 101 // JSON-encoded string. It applies only to fields of string, floating point, 105 // Int64String int64 `json:",string"` 876 func (e *encodeState) string(s string, escapeHTML bool) { func [all...] |
/prebuilts/go/linux-x86/src/go/constant/ |
value.go | 35 String 48 // String returns a short, quoted (human-readable) form of the value. 50 // for String values the result may be a shortened string. 51 // Use ExactString for a string representing a value exactly. 52 String() string 55 // If the Value is of Kind String, use StringVal to obtain the unquoted string. 56 ExactString() string 120 func (x *stringVal) string() string { func [all...] |
/prebuilts/go/linux-x86/src/go/internal/gcimporter/ |
bimport.go | 22 imports map[string]*types.Package 24 importpath string 29 strList []string // in order of appearance 30 pathList []string // in order of appearance 38 prevFile string 41 files map[string]*token.File 52 func BImportData(fset *token.FileSet, imports map[string]*types.Package, data []byte, path string) (_ int, pkg *types.Package, err error) { 68 strList: []string{""}, // empty string is mapped to 819 func (p *importer) string() string { func [all...] |
/system/tools/hidl/utils/ |
FQName.cpp | 40 FQName::FQName(const std::string &s) 46 bool FQName::parse(const std::string& s, FQName* into) { 51 const std::string &package, 52 const std::string &version, 53 const std::string &name, 54 const std::string &valueName) 64 CHECK(parse(this->string(), &other)) << this->string(); 65 CHECK((*this) == other) << this->string() << " " << other.string(); 280 std::string FQName::string() const { function in class:android::FQName [all...] |