/external/chromium/chrome/browser/ui/webui/chromeos/ |
D | enterprise_enrollment_ui.cc | 181 DictionaryValue strings; in StartDataRequest() local 184 AddString(&strings, "loginHeader", in StartDataRequest() 186 AddString(&strings, "loginExplain", in StartDataRequest() 189 AddString(&strings, "cloudHeader", in StartDataRequest() 191 AddString(&strings, "cloudExplain", in StartDataRequest() 193 AddString(&strings, "accesscontrolHeader", in StartDataRequest() 195 AddString(&strings, "accesscontrolExplain", in StartDataRequest() 197 AddString(&strings, "confirmationHeader", in StartDataRequest() 199 AddString(&strings, "confirmationMessage", in StartDataRequest() 201 AddString(&strings, "confirmationClose", in StartDataRequest() [all …]
|
D | system_info_ui.cc | 110 DictionaryValue strings; in SyslogsComplete() local 111 strings.SetString("title", l10n_util::GetStringUTF16(IDS_ABOUT_SYS_TITLE)); in SyslogsComplete() 112 strings.SetString("description", in SyslogsComplete() 114 strings.SetString("table_title", in SyslogsComplete() 116 strings.SetString("expand_all_btn", in SyslogsComplete() 118 strings.SetString("collapse_all_btn", in SyslogsComplete() 120 strings.SetString("expand_btn", in SyslogsComplete() 122 strings.SetString("collapse_btn", in SyslogsComplete() 124 SetFontAndTextDirection(&strings); in SyslogsComplete() 128 strings.Set("details", details); in SyslogsComplete() [all …]
|
D | sim_unlock_ui.cc | 239 DictionaryValue strings; in StartDataRequest() local 240 strings.SetString("title", in StartDataRequest() 242 strings.SetString("ok", l10n_util::GetStringUTF16(IDS_OK)); in StartDataRequest() 243 strings.SetString("cancel", l10n_util::GetStringUTF16(IDS_CANCEL)); in StartDataRequest() 244 strings.SetString("enterPinTitle", in StartDataRequest() 246 strings.SetString("enterPinMessage", in StartDataRequest() 248 strings.SetString("enterPinTriesMessage", in StartDataRequest() 250 strings.SetString("incorrectPinTriesMessage", in StartDataRequest() 252 strings.SetString("incorrectPinTitle", in StartDataRequest() 255 strings.SetString("noPinTriesLeft", l10n_util::GetStringFUTF16( in StartDataRequest() [all …]
|
D | choose_mobile_network_ui.cc | 99 DictionaryValue strings; in StartDataRequest() local 100 strings.SetString( in StartDataRequest() 103 strings.SetString( in StartDataRequest() 106 strings.SetString( in StartDataRequest() 109 strings.SetString( in StartDataRequest() 112 strings.SetString("connect", in StartDataRequest() 114 strings.SetString("cancel", l10n_util::GetStringUTF16(IDS_CANCEL)); in StartDataRequest() 115 SetFontAndTextDirection(&strings); in StartDataRequest() 122 html, &strings); in StartDataRequest()
|
/external/chromium/chrome/browser/chromeos/offline/ |
D | offline_load_page.cc | 40 void SetString(DictionaryValue* strings, const char* name, int resource_id) { in SetString() argument 41 strings->SetString(name, l10n_util::GetStringUTF16(resource_id)); in SetString() 79 DictionaryValue strings; in GetHTMLContents() local 85 strings.SetInteger("time_to_wait", static_cast<int>(time_to_wait)); in GetHTMLContents() 87 SetString(&strings, "heading", IDS_OFFLINE_LOAD_HEADLINE); in GetHTMLContents() 88 SetString(&strings, "try_loading", IDS_OFFLINE_TRY_LOADING); in GetHTMLContents() 89 SetString(&strings, "network_settings", IDS_OFFLINE_NETWORK_SETTINGS); in GetHTMLContents() 92 strings.SetBoolean("show_activation", ShowActivationMessage()); in GetHTMLContents() 95 strings.SetString("textdirection", rtl ? "rtl" : "ltr"); in GetHTMLContents() 100 strings.SetString("url", failed_url); in GetHTMLContents() [all …]
|
/external/icu4c/common/ |
D | bytestriebuilder.cpp | 37 void setTo(const StringPiece &s, int32_t val, CharString &strings, UErrorCode &errorCode); 39 StringPiece getString(const CharString &strings) const { in getString() 43 length=(uint8_t)strings[offset++]; in getString() 46 length=((int32_t)(uint8_t)strings[offset]<<8)|(uint8_t)strings[offset+1]; in getString() 49 return StringPiece(strings.data()+offset, length); in getString() 51 int32_t getStringLength(const CharString &strings) const { in getStringLength() 54 return (uint8_t)strings[offset]; in getStringLength() 57 return ((int32_t)(uint8_t)strings[offset]<<8)|(uint8_t)strings[offset+1]; in getStringLength() 61 char charAt(int32_t index, const CharString &strings) const { return data(strings)[index]; } in charAt() 65 int32_t compareStringTo(const BytesTrieElement &o, const CharString &strings) const; [all …]
|
D | ucharstriebuilder.cpp | 37 void setTo(const UnicodeString &s, int32_t val, UnicodeString &strings, UErrorCode &errorCode); 39 UnicodeString getString(const UnicodeString &strings) const { in getString() 40 int32_t length=strings[stringOffset]; in getString() 41 return strings.tempSubString(stringOffset+1, length); in getString() 43 int32_t getStringLength(const UnicodeString &strings) const { in getStringLength() 44 return strings[stringOffset]; in getStringLength() 47 UChar charAt(int32_t index, const UnicodeString &strings) const { in charAt() 48 return strings[stringOffset+1+index]; in charAt() 53 int32_t compareStringTo(const UCharsTrieElement &o, const UnicodeString &strings) const; 64 UnicodeString &strings, UErrorCode &errorCode) { in setTo() argument [all …]
|
D | uniset.cpp | 146 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 173 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 200 patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 224 patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 237 if (strings != NULL && o.strings != NULL) { in UnicodeSet() 238 strings->assign(*o.strings, cloneUnicodeString, status); in UnicodeSet() 263 delete strings; in ~UnicodeSet() 298 if (strings != NULL && o.strings != NULL) { in operator =() 299 strings->assign(*o.strings, cloneUnicodeString, ec); in operator =() 307 stringSpan = new UnicodeSetStringSpan(*o.stringSpan, *strings); in operator =() [all …]
|
/external/emma/core/java12/com/vladium/util/ |
D | Strings.java | 33 public static String toListForm (final String [] strings, final char delimiter) in toListForm() argument 35 if (strings == null) return null; in toListForm() 36 if (strings.length == 0) return ""; in toListForm() 39 for (int i = 0, iLimit = strings.length; i < iLimit; ++ i) in toListForm() 42 s.append (strings [i]); in toListForm() 48 public static String [] removeDuplicates (final String [] strings, final boolean removeNull) in removeDuplicates() argument 50 if (strings == null) return strings; in removeDuplicates() 52 final int length = strings.length; in removeDuplicates() 53 if (length == 0) return strings; in removeDuplicates() 60 final String s = strings [i]; in removeDuplicates() [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | Arrays2Test.java | 366 String[] strings = new String[] { "a", "B", "c", "D" }; in test_binarySearch$TTLjava_util_ComparatorsuperT() local 367 Arrays.sort(strings, String.CASE_INSENSITIVE_ORDER); in test_binarySearch$TTLjava_util_ComparatorsuperT() 368 assertEquals(0, Arrays.binarySearch(strings, "a", in test_binarySearch$TTLjava_util_ComparatorsuperT() 370 assertEquals(0, Arrays.binarySearch(strings, "A", in test_binarySearch$TTLjava_util_ComparatorsuperT() 372 assertEquals(1, Arrays.binarySearch(strings, "b", in test_binarySearch$TTLjava_util_ComparatorsuperT() 374 assertEquals(1, Arrays.binarySearch(strings, "B", in test_binarySearch$TTLjava_util_ComparatorsuperT() 376 assertEquals(2, Arrays.binarySearch(strings, "c", in test_binarySearch$TTLjava_util_ComparatorsuperT() 378 assertEquals(2, Arrays.binarySearch(strings, "C", in test_binarySearch$TTLjava_util_ComparatorsuperT() 380 assertEquals(3, Arrays.binarySearch(strings, "d", in test_binarySearch$TTLjava_util_ComparatorsuperT() 382 assertEquals(3, Arrays.binarySearch(strings, "D", in test_binarySearch$TTLjava_util_ComparatorsuperT() [all …]
|
/external/chromium/chrome/browser/ssl/ |
D | ssl_blocking_page.cc | 66 DictionaryValue strings; in GetHTMLContents() local 68 strings.SetString("headLine", error_info.title()); in GetHTMLContents() 69 strings.SetString("description", error_info.details()); in GetHTMLContents() 71 strings.SetString("moreInfoTitle", in GetHTMLContents() 73 SetExtraInfo(&strings, error_info.extra_information()); in GetHTMLContents() 78 strings.SetString("title", in GetHTMLContents() 80 strings.SetString("proceed", in GetHTMLContents() 82 strings.SetString("exit", in GetHTMLContents() 87 strings.SetString("title", in GetHTMLContents() 89 strings.SetString("back", in GetHTMLContents() [all …]
|
/external/chromium/chrome/browser/safe_browsing/ |
D | safe_browsing_blocking_page.cc | 164 DictionaryValue strings; in GetHTMLContents() local 174 PopulateMultipleThreatStringDictionary(&strings); in GetHTMLContents() 179 PopulateMalwareStringDictionary(&strings); in GetHTMLContents() 184 PopulatePhishingStringDictionary(&strings); in GetHTMLContents() 188 return jstemplate_builder::GetTemplatesHtml(html, &strings, "template_root"); in GetHTMLContents() 192 DictionaryValue* strings, in PopulateStringDictionary() argument 198 strings->SetString("title", title); in PopulateStringDictionary() 199 strings->SetString("headLine", headline); in PopulateStringDictionary() 200 strings->SetString("description1", description1); in PopulateStringDictionary() 201 strings->SetString("description2", description2); in PopulateStringDictionary() [all …]
|
/external/dropbear/ |
D | compat.c | 86 static char **curshell, **shells, *strings; variable 222 if (strings != NULL) in endusershell() 223 free(strings); in endusershell() 224 strings = NULL; in endusershell() 243 if (strings != NULL) in initshells() 244 free(strings); in initshells() 245 strings = NULL; in initshells() 252 if ((strings = malloc((u_int)statb.st_size + 1)) == NULL) { in initshells() 259 free(strings); in initshells() 260 strings = NULL; in initshells() [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_6/Array/ |
D | regress-290592.js | 174 var strings = ['hello', 'Array', 'WORLD']; variable 194 strings.map(); 207 actual = strings.map(identity).toString(); 219 actual = strings.map(mutate).toString(); 227 strings = ['hello', 'Array', 'WORLD']; 233 actual = strings.map(makeUpperCase).toString(); 246 actual = strings.map(obj.makeUpperCase, obj).toString(); 258 actual = strings.map(obj.makeUpperCase, obj).toString(); 294 strings.forEach(); 308 strings.forEach(concat); [all …]
|
/external/chromium/chrome/browser/resources/shared/js/cr/ |
D | locale.js | 28 function Locale(strings) { argument 30 dayShort: strings.LOCALE_DAYS_SHORT.split('^'), 31 monthShort: strings.LOCALE_MONTHS_SHORT.split('^'), 32 shortDateFormat: strings.LOCALE_FMT_DATE_SHORT 93 var strings = this.dateStrings_; 136 case 'a': return fmt(strings.dayShort[date.getDay()]); 137 case 'b': return fmt(strings.monthShort[date.getMonth()]); 163 initLocale: function(strings) { argument 164 locale = new Locale(strings);
|
/external/freetype/src/sfnt/ |
D | ttbdf.c | 55 bdf->strings = NULL; in tt_face_free_bdf_props() 87 FT_ULong strings = FT_NEXT_ULONG ( p ); in tt_face_load_bdf_props() local 93 strings < 8 || in tt_face_load_bdf_props() 94 ( strings - 8 ) / 4 < num_strikes || in tt_face_load_bdf_props() 95 strings + 1 > length ) in tt_face_load_bdf_props() 101 bdf->strings = bdf->table + strings; in tt_face_load_bdf_props() 102 bdf->strings_size = length - strings; in tt_face_load_bdf_props() 122 if ( strike > bdf->strings ) in tt_face_load_bdf_props() 205 (const char*)bdf->strings + name_offset, in tt_face_find_bdf_prop() 214 ft_memchr( bdf->strings + value, 0, bdf->strings_size ) ) in tt_face_find_bdf_prop() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | StringIdsSection.java | 37 private final TreeMap<CstString, StringIdItem> strings; field in StringIdsSection 47 strings = new TreeMap<CstString, StringIdItem>(); in StringIdsSection() 53 return strings.values(); in items() 65 IndexedItem result = strings.get((CstString) cst); in get() 82 int sz = strings.size(); in writeHeaderPart() 129 StringIdItem already = strings.get(value); in intern() 135 strings.put(value, string); in intern() 163 StringIdItem s = strings.get(string); in indexOf() 177 for (StringIdItem s : strings.values()) { in orderItems()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableSortedSetTest.java | 819 String[] strings = NUMBER_NAMES.toArray(new String[0]); in testHeadSetInclusive() local 820 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); in testHeadSetInclusive() 821 Arrays.sort(strings); in testHeadSetInclusive() 822 for (int i = 0; i < strings.length; i++) { in testHeadSetInclusive() 823 ASSERT.that(set.headSet(strings[i], true)) in testHeadSetInclusive() 829 String[] strings = NUMBER_NAMES.toArray(new String[0]); in testHeadSetExclusive() local 830 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); in testHeadSetExclusive() 831 Arrays.sort(strings); in testHeadSetExclusive() 832 for (int i = 0; i < strings.length; i++) { in testHeadSetExclusive() 833 ASSERT.that(set.headSet(strings[i], false)).hasContentsInOrder(sortedNumberNames(0, i)); in testHeadSetExclusive() [all …]
|
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/ |
D | DOMInputCapsule.java | 153 String[] strings = parseTokens(tmpEl.getAttribute("data")); in readByteArray() local 156 if (strings.length != requiredSize) in readByteArray() 160 + strings.length); in readByteArray() 162 byte[] tmp = new byte[strings.length]; in readByteArray() 163 for (int i = 0; i < strings.length; i++) { in readByteArray() 164 tmp[i] = Byte.parseByte(strings[i]); in readByteArray() 254 String[] strings = parseTokens(tmpEl.getAttribute("data")); in readIntArray() local 257 if (strings.length != requiredSize) in readIntArray() 260 + ", data contains " + strings.length); in readIntArray() 262 int[] tmp = new int[strings.length]; in readIntArray() [all …]
|
/external/webkit/Tools/Scripts/ |
D | check-inspector-strings | 55 self.strings = [] 57 self.strings.append([]) 71 self.strings[index].append(decode_unicode_escapes(string)) 107 ui_strings = frozenset(strings_extractor.strings[0]) 108 strings = frozenset(strings_extractor.strings[1]) variable 115 suspicious_strings = strings & old_strings 118 unused_strings = old_strings - strings
|
/external/chromium/chrome/browser/ui/cocoa/translate/ |
D | after_translate_infobar_controller.mm | 14 std::vector<string16> strings; 16 &strings, &swappedLanugageButtons_); 17 DCHECK(strings.size() == 3U); 18 NSString* string1 = base::SysUTF16ToNSString(strings[0]); 19 NSString* string2 = base::SysUTF16ToNSString(strings[1]); 20 NSString* string3 = base::SysUTF16ToNSString(strings[2]);
|
/external/chromium/chrome/browser/ui/gtk/infobars/ |
D | after_translate_infobar_gtk.cc | 27 std::vector<string16> strings; in Init() local 29 &strings, &swapped_language_combos); in Init() 30 DCHECK(strings.size() == 3U); in Init() 46 gtk_box_pack_start(GTK_BOX(hbox), CreateLabel(UTF16ToUTF8(strings[0])), in Init() 52 gtk_box_pack_start(GTK_BOX(hbox), CreateLabel(UTF16ToUTF8(strings[1])), in Init() 58 gtk_box_pack_start(GTK_BOX(hbox), CreateLabel(UTF16ToUTF8(strings[2])), in Init()
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/ |
D | atom.c | 107 char *strings; member 119 stable->strings = (char *) malloc(INIT_STRING_TABLE_SIZE); in InitStringTable() 120 if (!stable->strings) in InitStringTable() 135 if (stable->strings) in FreeStringTable() 136 free(stable->strings); in FreeStringTable() 137 stable->strings = NULL; in FreeStringTable() 188 memcpy(str, stable->strings, stable->size); in AddString() 189 free(stable->strings); in AddString() 190 stable->strings = str; in AddString() 193 strcpy(&stable->strings[loc], s); in AddString() [all …]
|
/external/chromium/chrome/browser/sync/ |
D | sync_ui_util.cc | 328 DictionaryValue* strings) { in ConstructAboutInformation() argument 329 CHECK(strings); in ConstructAboutInformation() 331 strings->SetString("summary", "SYNC DISABLED"); in ConstructAboutInformation() 336 strings->SetString("service_url", service->sync_service_url().spec()); in ConstructAboutInformation() 337 strings->SetString("summary", in ConstructAboutInformation() 341 strings->Set("authenticated", in ConstructAboutInformation() 343 strings->SetString("auth_problem", in ConstructAboutInformation() 347 strings->SetString("time_since_sync", service->GetLastSyncedTimeString()); in ConstructAboutInformation() 350 strings->Set("details", details); in ConstructAboutInformation() 399 strings->Set("unrecoverable_error_detected", new FundamentalValue(true)); in ConstructAboutInformation() [all …]
|
/external/stlport/test/unit/ |
D | istmit_test.cpp | 101 vector<string> strings; in copy_n_test() local 109 copy_n(istream_string_ite(istr), 2, back_inserter(strings)); in copy_n_test() 110 CPPUNIT_ASSERT( strings.size() == 2 ); in copy_n_test() 111 CPPUNIT_ASSERT( strings[0] == "AA" ); in copy_n_test() 112 CPPUNIT_ASSERT( strings[1] == "BB" ); in copy_n_test() 113 strings.clear(); in copy_n_test()
|