/external/chromium/chrome/browser/chromeos/offline/ |
offline_load_page.cc | 40 void SetString(DictionaryValue* strings, const char* name, int resource_id) { 41 strings->SetString(name, l10n_util::GetStringUTF16(resource_id)); 79 DictionaryValue strings; local 85 strings.SetInteger("time_to_wait", static_cast<int>(time_to_wait)); 87 SetString(&strings, "heading", IDS_OFFLINE_LOAD_HEADLINE); 88 SetString(&strings, "try_loading", IDS_OFFLINE_TRY_LOADING); 89 SetString(&strings, "network_settings", IDS_OFFLINE_NETWORK_SETTINGS); 92 strings.SetBoolean("show_activation", ShowActivationMessage()); 95 strings.SetString("textdirection", rtl ? "rtl" : "ltr"); 100 strings.SetString("url", failed_url) [all...] |
/external/emma/core/java12/com/vladium/util/ |
Strings.java | 7 * $Id: Strings.java,v 1.1.1.1 2004/05/09 16:57:55 vlad_r Exp $ 24 abstract class Strings 33 public static String toListForm (final String [] strings, final char delimiter) 35 if (strings == null) return null; 36 if (strings.length == 0) return ""; 39 for (int i = 0, iLimit = strings.length; i < iLimit; ++ i) 42 s.append (strings [i]); 48 public static String [] removeDuplicates (final String [] strings, final boolean removeNull) 50 if (strings == null) return strings; [all...] |
/external/chromium_org/tools/json_schema_compiler/test/ |
objects_unittest.cc | 14 scoped_ptr<ListValue> strings(new ListValue()); 15 strings->Append(Value::CreateStringValue("one")); 16 strings->Append(Value::CreateStringValue("two")); 18 info_value->Set("strings", strings.release()); 27 EXPECT_EQ((size_t) 2, params->info.strings.size()); 28 EXPECT_EQ("one", params->info.strings[0]); 29 EXPECT_EQ("two", params->info.strings[1]); 34 scoped_ptr<ListValue> strings(new ListValue()); 35 strings->Append(Value::CreateStringValue("one")) [all...] |
/bionic/tests/ |
strings_test.cpp | 20 #include <strings.h> 22 TEST(strings, ffs) {
|
/external/openfst/src/include/fst/extensions/far/ |
farlib.h | 25 #include <fst/extensions/far/compile-strings.h> 29 #include <fst/extensions/far/print-strings.h>
|
/external/smack/src/org/xbill/DNS/ |
SPFRecord.java | 26 * @param strings The text strings 27 * @throws IllegalArgumentException One of the strings has invalid escapes 30 SPFRecord(Name name, int dclass, long ttl, List strings) { 31 super(name, Type.SPF, dclass, ttl, strings);
|
TXTRecord.java | 8 * Text - stores text strings 26 * @param strings The text strings 27 * @throws IllegalArgumentException One of the strings has invalid escapes 30 TXTRecord(Name name, int dclass, long ttl, List strings) { 31 super(name, Type.TXT, dclass, ttl, strings);
|
/external/chromium_org/tools/grit/grit/gather/ |
admin_template.py | 25 - there is only one [strings] section and it is always the last section 27 - translateable strings do not need to be escaped. 30 # Finds the strings section as the group named 'strings' 32 '(?P<first_part>.+^\[strings\])(?P<strings>.+)\Z', 35 # Finds the translateable sections from within the [strings] section. 58 self._RegExpParse(self._TRANSLATEABLES, m.group('strings'))
|
/external/chromium/chrome/browser/ssl/ |
ssl_blocking_page.cc | 66 DictionaryValue strings; local 68 strings.SetString("headLine", error_info.title()); 69 strings.SetString("description", error_info.details()); 71 strings.SetString("moreInfoTitle", 73 SetExtraInfo(&strings, error_info.extra_information()); 78 strings.SetString("title", 80 strings.SetString("proceed", 82 strings.SetString("exit", 87 strings.SetString("title", 89 strings.SetString("back" [all...] |
/external/icu4c/common/ |
ucharstriebuilder.cpp | 38 void setTo(const UnicodeString &s, int32_t val, UnicodeString &strings, UErrorCode &errorCode); 40 UnicodeString getString(const UnicodeString &strings) const { 41 int32_t length=strings[stringOffset]; 42 return strings.tempSubString(stringOffset+1, length); 44 int32_t getStringLength(const UnicodeString &strings) const { 45 return strings[stringOffset]; 48 UChar charAt(int32_t index, const UnicodeString &strings) const { 49 return strings[stringOffset+1+index]; 54 int32_t compareStringTo(const UCharsTrieElement &o, const UnicodeString &strings) const; 57 // The first strings unit contains the string length 135 const UnicodeString *strings=static_cast<const UnicodeString *>(context); local [all...] |
/external/chromium_org/chrome/browser/ui/webui/chromeos/ |
system_info_ui.cc | 14 #include "base/strings/string_piece.h" 15 #include "base/strings/string_util.h" 16 #include "base/strings/utf_string_conversions.h" 126 DictionaryValue strings; local 127 strings.SetString("title", l10n_util::GetStringUTF16(IDS_ABOUT_SYS_TITLE)); 128 strings.SetString("description", 130 strings.SetString("tableTitle", 132 strings.SetString( 135 strings.SetString("expandAllBtn", 137 strings.SetString("collapseAllBtn" [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
StringIdsSection.java | 30 * Strings list section of a {@code .dex} file. 38 private final TreeMap<CstUtf8, StringIdItem> strings; field in class:StringIdsSection 48 strings = new TreeMap<CstUtf8, StringIdItem>(); 54 return strings.values(); 70 IndexedItem result = strings.get((CstUtf8) cst); 87 int sz = strings.size(); 146 StringIdItem already = strings.get(value); 152 strings.put(value, string); 180 StringIdItem s = strings.get(string); 205 for (StringIdItem s : strings.values()) [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
StringIdsSection.java | 28 * Strings list section of a {@code .dex} file. 36 private final TreeMap<CstString, StringIdItem> strings; field in class:StringIdsSection 46 strings = new TreeMap<CstString, StringIdItem>(); 52 return strings.values(); 64 IndexedItem result = strings.get((CstString) cst); 81 int sz = strings.size(); 128 StringIdItem already = strings.get(value); 134 strings.put(value, string); 162 StringIdItem s = strings.get(string); 176 for (StringIdItem s : strings.values()) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
StringIdsSection.java | 29 * Strings list section of a {@code .dex} file. 37 private final TreeMap<CstString, StringIdItem> strings; field in class:StringIdsSection 47 strings = new TreeMap<CstString, StringIdItem>(); 53 return strings.values(); 65 IndexedItem result = strings.get((CstString) cst); 82 int sz = strings.size(); 129 StringIdItem already = strings.get(value); 135 strings.put(value, string); 163 StringIdItem s = strings.get(string); 177 for (StringIdItem s : strings.values()) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
Arrays2Test.java | 366 String[] strings = new String[] { "a", "B", "c", "D" }; local 367 Arrays.sort(strings, String.CASE_INSENSITIVE_ORDER); 368 assertEquals(0, Arrays.binarySearch(strings, "a", 370 assertEquals(0, Arrays.binarySearch(strings, "A", 372 assertEquals(1, Arrays.binarySearch(strings, "b", 374 assertEquals(1, Arrays.binarySearch(strings, "B", 376 assertEquals(2, Arrays.binarySearch(strings, "c", 378 assertEquals(2, Arrays.binarySearch(strings, "C", 380 assertEquals(3, Arrays.binarySearch(strings, "d", 382 assertEquals(3, Arrays.binarySearch(strings, "D" [all...] |
/external/chromium/chrome/browser/sync/ |
sync_ui_util_unittest.cc | 19 DictionaryValue strings; local 38 sync_ui_util::ConstructAboutInformation(&service, &strings); 40 EXPECT_TRUE(strings.HasKey("unrecoverable_error_detected"));
|
/external/chromium/chrome/browser/ui/webui/chromeos/ |
system_info_ui.cc | 110 DictionaryValue strings; local 111 strings.SetString("title", l10n_util::GetStringUTF16(IDS_ABOUT_SYS_TITLE)); 112 strings.SetString("description", 114 strings.SetString("table_title", 116 strings.SetString("expand_all_btn", 118 strings.SetString("collapse_all_btn", 120 strings.SetString("expand_btn", 122 strings.SetString("collapse_btn", 124 SetFontAndTextDirection(&strings); 128 strings.Set("details", details) [all...] |
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttbdf.c | 55 bdf->strings = NULL; 87 FT_ULong strings = FT_NEXT_ULONG ( p ); local 93 strings < 8 || 94 ( strings - 8 ) / 4 < num_strikes || 95 strings + 1 > length ) 101 bdf->strings = bdf->table + strings; 102 bdf->strings_size = length - strings; 122 if ( strike > bdf->strings ) 205 (const char*)bdf->strings + name_offset [all...] |
/external/freetype/src/sfnt/ |
ttbdf.c | 55 bdf->strings = NULL; 87 FT_ULong strings = FT_NEXT_ULONG ( p ); local 93 strings < 8 || 94 ( strings - 8 ) / 4 < num_strikes || 95 strings + 1 > length ) 101 bdf->strings = bdf->table + strings; 102 bdf->strings_size = length - strings; 122 if ( strike > bdf->strings ) 205 (const char*)bdf->strings + name_offset [all...] |
/dalvik/tests/003-omnibus-opcodes/src/ |
Array.java | 61 static void checkStrings(String[] strings) { 62 assert(strings[0].equals("zero")); 63 assert(strings[1].equals("one")); 64 assert(strings[2].equals("two")); 65 assert(strings[3].equals("three")); 66 assert(strings[4].equals("four")); 176 String[] strings; local 187 strings = new String[count];
|
/external/chromium_org/chrome/browser/safe_browsing/ |
safe_browsing_blocking_page.cc | 17 #include "base/strings/string_number_conversions.h" 18 #include "base/strings/string_piece.h" 19 #include "base/strings/stringprintf.h" 20 #include "base/strings/utf_string_conversions.h" 857 DictionaryValue strings; local 1007 DictionaryValue strings; local [all...] |
/bionic/libc/arch-mips/bionic/ |
memmove.c | 29 #include <strings.h>
|
/bionic/libc/bionic/ |
strerror_r.cpp | 17 static const char* __code_string_lookup(const Pair* strings, int code) { 18 for (size_t i = 0; strings[i].msg != NULL; ++i) { 19 if (strings[i].code == code) { 20 return strings[i].msg;
|
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_blocking_page.h | 91 // Fills the passed dictionary with the strings passed to JS Template when 93 void PopulateMultipleThreatStringDictionary(DictionaryValue* strings); 94 void PopulateMalwareStringDictionary(DictionaryValue* strings); 95 void PopulatePhishingStringDictionary(DictionaryValue* strings); 99 void PopulateStringDictionary(DictionaryValue* strings,
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
xmppauth.cc | 56 static bool contains(const std::vector<std::string>& strings, 58 return std::find(strings.begin(), strings.end(), string) != strings.end();
|