| /external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/ |
| options.js | 33 var keys = new Array(); 35 keys.push(key); 38 keys.sort(); 39 for (var index in keys) { 40 var key = keys[index];
|
| /external/chromium_org/chrome/common/extensions/ |
| sync_type_unittest.cc | 15 namespace keys = extension_manifest_keys; 40 source.SetString(keys::kName, "PossiblySyncableExtension"); 41 source.SetString(keys::kVersion, "0.0.0.0"); 43 source.SetString(keys::kApp, "true"); 45 source.Set(keys::kTheme, new base::DictionaryValue()); 47 source.SetString(keys::kUpdateURL, update_url.spec()); 50 source.SetString(keys::kLaunchWebURL, launch_url.spec()); 53 source.SetBoolean(keys::kConvertedFromUserScript, type == USER_SCRIPT); 58 plugin->SetString(keys::kPluginsPath, std::string()); 61 source.Set(keys::kPlugins, plugins) [all...] |
| manifest_url_handler.cc | 30 namespace keys = extension_manifest_keys; 50 return GetManifestURL(extension, keys::kDevToolsPage); 55 const GURL& homepage_url = GetManifestURL(extension, keys::kHomepageURL); 65 return GetManifestURL(extension, keys::kUpdateURL); 75 return GetManifestURL(extension, keys::kOptionsPage); 98 extension->GetManifestData(keys::kChromeURLOverrides)); 113 if (!extension->manifest()->GetString(keys::kDevToolsPage, &devtools_str)) { 118 extension->SetManifestData(keys::kDevToolsPage, manifest_url.release()); 124 const std::vector<std::string> DevToolsPageHandler::Keys() const { 125 return SingleKey(keys::kDevToolsPage) [all...] |
| /external/chromium_org/chrome/renderer/extensions/ |
| safe_builtins_unittest.cc | 42 "Object.keys = function() {throw new Error()};\n" 44 "var keys = $Object.keys(obj);\n" 45 "assert.AssertTrue(keys.length == 1);\n" 46 "assert.AssertTrue(keys[0] == 'a');\n"
|
| /external/openfst/src/extensions/far/ |
| farextract.cc | 29 "Generate N digit numeric filenames (def: use keys)"); 30 DEFINE_string(keys, "", 31 "Extract set of keys separated by comma (default) " 33 DEFINE_string(key_separator, ",", "Separator for individual keys"); 34 DEFINE_string(range_delimiter, "-", "Delimiter for ranges of keys");
|
| /external/wpa_supplicant_8/hostapd/logwatch/ |
| hostapd | 40 if (keys %hostapd) { 41 foreach my $iface (sort keys %hostapd) { 43 foreach my $mac (sort keys %{$hostapd{$iface}}) { 45 foreach my $layer (sort keys %{$hostapd{$iface}->{$mac}}) { 47 foreach my $details (sort keys %{$hostapd{$iface}->{$mac}->{$layer}}) {
|
| /cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
| CameraCharacteristicsTest.java | 73 assertNotNull(String.format("Can't get camera characteristics keys from: ID %s", 75 assertTrue("Key not in keys list: android.control.aeAvailableAntibandingModes", allKeys.contains( 96 assertNotNull(String.format("Can't get camera characteristics keys from: ID %s", 98 assertTrue("Key not in keys list: android.control.aeAvailableTargetFpsRanges", allKeys.contains( 119 assertNotNull(String.format("Can't get camera characteristics keys from: ID %s", 121 assertTrue("Key not in keys list: android.control.aeCompensationRange", allKeys.contains( 142 assertNotNull(String.format("Can't get camera characteristics keys from: ID %s", 144 assertTrue("Key not in keys list: android.control.aeCompensationStep", allKeys.contains( 165 assertNotNull(String.format("Can't get camera characteristics keys from: ID %s", 167 assertTrue("Key not in keys list: android.control.afAvailableModes", allKeys.contains [all...] |
| /external/chromium/chrome/browser/extensions/ |
| extension_cookies_api.cc | 26 namespace keys = extension_cookies_api_constants; 61 dict->SetBoolean(keys::kRemovedKey, details->removed); 63 keys::kCookieKey, 71 cause = keys::kExplicitChangeCause; 75 cause = keys::kOverwriteChangeCause; 79 cause = keys::kExpiredChangeCause; 83 cause = keys::kEvictedChangeCause; 87 cause = keys::kExpiredOverwriteChangeCause; 93 dict->SetString(keys::kCauseKey, cause); 101 DispatchEvent(profile, keys::kOnChanged, json_args, cookie_domain) [all...] |
| extension_proxy_api_helpers_unittest.cc | 15 namespace keys = extension_proxy_api_constants; 28 dict->SetString(keys::kProxyConfigRuleHost, host); 38 dict->SetString(keys::kProxyConfigRuleScheme, schema); 39 dict->SetString(keys::kProxyConfigRuleHost, host); 40 dict->SetInteger(keys::kProxyConfigRulePort, port); 69 keys::kProxyConfigMode, 76 proxy_config.SetString(keys::kProxyConfigMode, "foobar"); 89 keys::kProxyConfigMode, 100 pacScriptDict->SetString(keys::kProxyConfigPacScriptUrl, kSamplePacScriptUrl); 101 proxy_config.Set(keys::kProxyConfigPacScript, pacScriptDict) [all...] |
| extension_proxy_api.cc | 19 namespace keys = extension_proxy_api_constants; 38 dict->SetBoolean(keys::kProxyEventFatal, true); 39 dict->SetString(keys::kProxyEventError, net::ErrorToString(error_code)); 40 dict->SetString(keys::kProxyEventDetails, ""); 48 keys::kProxyEventOnProxyError, json_args, profile_id, true, GURL()); 51 keys::kProxyEventOnProxyError, json_args, GURL()); 110 extension_pref->SetString(keys::kProxyConfigMode, 126 extension_pref->Set(keys::kProxyConfigPacScript, pac_dict); 134 extension_pref->Set(keys::kProxyConfigRules, proxy_rules_dict);
|
| extension_special_storage_policy_unittest.cc | 11 namespace keys = extension_manifest_keys; 22 manifest.SetString(keys::kName, "Protected"); 23 manifest.SetString(keys::kVersion, "1"); 24 manifest.SetString(keys::kLaunchWebURL, "http://explicit/protected/start"); 28 manifest.Set(keys::kWebURLs, list); 44 manifest.SetString(keys::kName, "Unlimited"); 45 manifest.SetString(keys::kVersion, "1"); 46 manifest.SetString(keys::kLaunchWebURL, "http://explicit/unlimited/start"); 49 manifest.Set(keys::kPermissions, list); 53 manifest.Set(keys::kWebURLs, list) [all...] |
| extension_webnavigation_api.cc | 23 namespace keys = extension_webnavigation_api_constants; 64 dict->SetInteger(keys::kTabIdKey, 66 dict->SetString(keys::kUrlKey, validated_url.spec()); 67 dict->SetInteger(keys::kFrameIdKey, GetFrameId(is_main_frame, frame_id)); 68 dict->SetString(keys::kRequestIdKey, 70 dict->SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(base::Time::Now())); 75 DispatchEvent(tab_contents->profile(), keys::kOnBeforeNavigate, json_args); 86 dict->SetInteger(keys::kTabIdKey, 88 dict->SetString(keys::kUrlKey, url.spec()); 89 dict->SetInteger(keys::kFrameIdKey, GetFrameId(is_main_frame, frame_id)) [all...] |
| /external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/ |
| webrequest_action.cc | 30 namespace keys = declarative_webrequest_constants; 52 if (dict->GetString(keys::kNameKey, &tmp)) 54 if (dict->GetString(keys::kValueKey, &tmp)) 64 if (dict->GetString(keys::kNameKey, &string_tmp)) 66 if (dict->GetString(keys::kValueKey, &string_tmp)) 68 if (dict->GetString(keys::kExpiresKey, &string_tmp)) 70 if (dict->GetInteger(keys::kMaxAgeKey, &int_tmp)) 72 if (dict->GetString(keys::kDomainKey, &string_tmp)) 74 if (dict->GetString(keys::kPathKey, &string_tmp)) 76 if (dict->GetBoolean(keys::kSecureKey, &bool_tmp) [all...] |
| /external/chromium/chrome/common/extensions/ |
| extension_l10n_util_unittest.cc | 21 namespace keys = extension_manifest_keys; 265 manifest.SetString(keys::kName, "no __MSG"); 273 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); 276 EXPECT_FALSE(manifest.HasKey(keys::kDescription)); 283 manifest.SetString(keys::kName, "__MSG_name__"); 291 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); 294 EXPECT_FALSE(manifest.HasKey(keys::kDescription)); 301 manifest.SetString(keys::kName, "__MSG_name_is_bad__"); 302 manifest.SetString(keys::kDescription, "__MSG_description__"); 310 ASSERT_TRUE(manifest.GetString(keys::kName, &result)) [all...] |
| /external/chromium-trace/trace-viewer/src/tracing/analysis/ |
| generic_object_view.js | 118 var keys = base.dictionaryKeys(object); 119 if (keys.length == 0) { 125 label + '{' + keys[0] + ': ', 126 object[keys[0]], 128 keys.length > 1 ? ',' : '}' + suffix); 129 for (var i = 1; i < keys.length; i++) { 131 keys[i] + ': ', 132 object[keys[i]], 134 i < keys.length - 1 ? ',' : '}' + suffix);
|
| /external/chromium_org/chrome/browser/policy/cloud/ |
| policy_builder.h | 26 // hard-coded signing keys by default, so should not be used in production code. 41 // initialized to dummy values and use the test signing keys. 78 // These return hard-coded testing keys. Don't use in production! 92 // The keys cannot be stored in NSS. Temporary keys are not guaranteed to 93 // remain in the database. Persistent keys require a persistent database, 94 // which would coincide with the user's database. However, these keys are used 96 // keys. Instead, we store the private keys as raw bytes. Where needed, a
|
| /external/chromium_org/third_party/leveldatabase/src/include/leveldb/ |
| filter_policy.h | 7 // of keys. These filters are stored in leveldb and are consulted 35 // keys[0,n-1] contains a list of keys (potentially with duplicates) 37 // Append a filter that summarizes keys[0,n-1] to *dst. 41 virtual void CreateFilter(const Slice* keys, int n, std::string* dst) 46 // the key was in the list of keys passed to CreateFilter(). 60 // of the keys being compared, you must not use NewBloomFilterPolicy() 62 // corresponding parts of the keys. For example, if the comparator 65 // trailing spaces in keys.
|
| /external/guava/guava/src/com/google/common/collect/ |
| Table.java | 30 * A collection that associates an ordered pair of keys, called a row key and a 35 * Map} whose keys are the columns. The reverse is also available, associating a 49 * @param <R> the type of the table row keys 50 * @param <C> the type of the table column keys 63 * row and column keys. 95 * Returns the value corresponding to the given row and column keys, or 131 * Associates the specified value with the specified keys. If the table 132 * already contained a mapping for those keys, the old value is replaced with 137 * @param value value to be associated with the specified keys 138 * @return the value previously associated with the keys, or {@code null} i [all...] |
| /packages/apps/Launcher2/src/com/android/launcher2/ |
| PagedViewIconCache.java | 97 /** Removes all the keys to applications that aren't in the passed in collection */ 98 public void retainAllApps(ArrayList<ApplicationInfo> keys) { 100 for (ApplicationInfo info : keys) { 105 /** Removes all the keys to shortcuts that aren't in the passed in collection */ 106 public void retainAllShortcuts(List<ResolveInfo> keys) { 108 for (ResolveInfo info : keys) { 113 /** Removes all the keys to widgets that aren't in the passed in collection */ 114 public void retainAllAppWidgets(List<AppWidgetProviderInfo> keys) { 116 for (AppWidgetProviderInfo info : keys) {
|
| /packages/apps/Launcher3/src/com/android/launcher3/ |
| PagedViewIconCache.java | 97 /** Removes all the keys to applications that aren't in the passed in collection */ 98 public void retainAllApps(ArrayList<AppInfo> keys) { 100 for (AppInfo info : keys) { 105 /** Removes all the keys to shortcuts that aren't in the passed in collection */ 106 public void retainAllShortcuts(List<ResolveInfo> keys) { 108 for (ResolveInfo info : keys) { 113 /** Removes all the keys to widgets that aren't in the passed in collection */ 114 public void retainAllAppWidgets(List<AppWidgetProviderInfo> keys) { 116 for (AppWidgetProviderInfo info : keys) {
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
| ObjectBrowser.py | 45 keys = dir(self.object) 47 for key in keys: 89 def keys(self): member in class:SequenceTreeItem 93 for key in self.keys(): 105 def keys(self): member in class:DictTreeItem 106 keys = self.object.keys() 108 keys.sort() 111 return keys
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
| ObjectBrowser.py | 45 keys = dir(self.object) 47 for key in keys: 89 def keys(self): member in class:SequenceTreeItem 93 for key in self.keys(): 105 def keys(self): member in class:DictTreeItem 106 keys = self.object.keys() 108 keys.sort() 111 return keys
|
| /external/chromium_org/chrome/browser/extensions/api/proxy/ |
| proxy_api.cc | 23 namespace keys = proxy_api_constants; 42 dict->SetBoolean(keys::kProxyEventFatal, true); 43 dict->SetString(keys::kProxyEventError, net::ErrorToString(error_code)); 44 dict->SetString(keys::kProxyEventDetails, std::string()); 49 keys::kProxyEventOnProxyError, args.Pass(), profile, true, GURL()); 52 keys::kProxyEventOnProxyError, args.Pass(), GURL()); 63 dict->SetBoolean(keys::kProxyEventFatal, false); 64 dict->SetString(keys::kProxyEventError, 73 dict->SetString(keys::kProxyEventDetails, error_msg); 78 keys::kProxyEventOnProxyError, args.Pass(), profile, true, GURL()) [all...] |
| /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
| SparseSwitchDataPseudoInstruction.java | 42 private int[] keys; field in class:SparseSwitchDataPseudoInstruction 50 public SparseSwitchDataPseudoInstruction(int[] keys, int[] targets) { 53 if (keys.length != targets.length) { 54 throw new RuntimeException("The number of keys and targets don't match"); 66 this.keys = keys; 83 keys = new int[targetCount]; 87 keys[i] = NumberUtils.decodeInt(buffer, bufferIndex + 4 + i*4); 100 int key = keys[0]; 104 for (int i = 1; i < keys.length; i++) 106 assert key >= keys[i - 1]; local [all...] |
| /external/dropbear/ |
| packet.c | 102 blocksize = ses.keys->recv_algo_crypt->blocksize; 159 blocksize = ses.keys->recv_algo_crypt->blocksize; 160 macsize = ses.keys->recv_algo_mac->hashsize; 195 if (ses.keys->recv_algo_crypt->cipherdesc == NULL) { 205 &ses.keys->recv_symmetric_struct) != CRYPT_OK) { 235 blocksize = ses.keys->recv_algo_crypt->blocksize; 236 macsize = ses.keys->recv_algo_mac->hashsize; 248 if (ses.keys->recv_algo_crypt->cipherdesc == NULL) { 259 &ses.keys->recv_symmetric_struct) != CRYPT_OK) { 291 if (ses.keys->recv_algo_comp == DROPBEAR_COMP_ZLIB) [all...] |