Searched refs:keys (Results 1 - 25 of 779) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/regress/
H A Dregress-1150.js28 // Test that Object.keys is working correctly on the global object.
32 var keys = Object.keys(global);
33 assertTrue(keys.indexOf("a") > 0);
H A Dregress-3294.js6 var keys = Object.keys(e);
8 assertEquals(keys, Object.keys(e));
H A Dregress-crbug-148376.js35 var keys = Object.keys(this);
H A Dregress-crbug-158185.js29 Object.keys(JSON.parse('{"0023456": 1}'))[0]);
31 Object.keys(JSON.parse('{"1234567890123": 1}'))[0]);
33 Object.keys(JSON.parse('{"123456789ABCD": 1}'))[0]);
35 Object.keys(JSON.parse('{"12A": 1}'))[0]);
H A Dregress-convert-enum2.js40 var keys = ["a", "b", "c"]; variable
44 assertEquals(keys[i], y);
/external/v8/test/mjsunit/third_party/
H A Dobject-keys.js32 // Based on LayoutTests/fast/js/Object-keys.html
34 assertThrows(function () { Object.keys(2) }, TypeError);
35 assertThrows(function () { Object.keys("foo") }, TypeError);
36 assertThrows(function () { Object.keys(null) }, TypeError);
37 assertThrows(function () { Object.keys(undefined) }, TypeError);
39 assertEquals(Object.keys({}), []);
40 assertEquals(Object.keys({a:null}), ['a']);
41 assertEquals(Object.keys({a:null, b:null}), ['a', 'b']);
42 assertEquals(Object.keys({b:null, a:null}), ['b', 'a']);
43 assertEquals(Object.keys([]), []);
[all...]
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
H A DSparseSwitchPayloadDecodedInstruction.java26 private final int[] keys; field in class:SparseSwitchPayloadDecodedInstruction
38 int opcode, int[] keys, int[] targets) {
41 if (keys.length != targets.length) {
42 throw new IllegalArgumentException("keys/targets length mismatch");
45 this.keys = keys;
55 return keys;
37 SparseSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] keys, int[] targets) argument
/external/libcxx/test/std/localization/locale.categories/
H A D__scan_keyword.pass.cpp49 std::string keys[] = {"a", "abb"}; local
52 keys, keys+sizeof(keys)/sizeof(keys[0]),
54 assert(k - keys == 0);
61 std::string keys[] = {"a", "abb"}; local
64 keys, keys+sizeof(keys)/sizeo
73 std::string keys[] = {"a", "abb"}; local
85 std::string keys[] = {"Mon", "Monday", "Tue", "Tuesday"}; local
97 std::string keys[] = {"Mon", "Monday", "Tue", "Tuesday"}; local
109 std::string keys[] = {"Mon", "Monday", "Tue", "Tuesday"}; local
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/
H A DLookupSwitchInsnNode.java54 * The values of the keys. This list is a list of {@link Integer} objects.
56 public List keys; field in class:LookupSwitchInsnNode
68 * @param keys the values of the keys.
70 * the beginning of the handler block for the <tt>keys[i]</tt> key.
74 final int[] keys,
79 this.keys = new ArrayList(keys == null ? 0 : keys.length);
81 if (keys !
72 LookupSwitchInsnNode( final LabelNode dflt, final int[] keys, final LabelNode[] labels) argument
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/
H A DFixedKeySet.java24 public FixedKeySet(String[] keys) { argument
25 size = keys.length;
26 set = Collections.unmodifiableSet(new HashSet(Arrays.asList(keys)));
/external/skia/src/core/
H A DSkScalar.cpp13 SkScalar SkScalarInterpFunc(SkScalar searchKey, const SkScalar keys[], argument
16 SkASSERT(keys != NULL);
20 SkASSERT(keys[i] >= keys[i-1]);
23 while (right < length && searchKey > keys[right])
32 SkScalar rightKey = keys[right];
33 SkScalar leftKey = keys[right-1];
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Dikev2_common.c36 { ENCR_AES_CBC, 16, 16 }, /* only 128-bit keys supported for now */
372 struct ikev2_keys *keys, int initiator,
381 const u8 *SK_p = initiator ? keys->SK_pi : keys->SK_pr;
395 if (ikev2_prf_hash(prf->id, SK_p, keys->SK_prf_len,
430 struct ikev2_keys *keys, int initiator,
441 const u8 *SK_e = initiator ? keys->SK_ei : keys->SK_er;
442 const u8 *SK_a = initiator ? keys->SK_ai : keys
370 ikev2_derive_auth_data(int prf_alg, const struct wpabuf *sign_msg, const u8 *ID, size_t ID_len, u8 ID_type, struct ikev2_keys *keys, int initiator, const u8 *shared_secret, size_t shared_secret_len, const u8 *nonce, size_t nonce_len, const u8 *key_pad, size_t key_pad_len, u8 *auth_data) argument
429 ikev2_decrypt_payload(int encr_id, int integ_id, struct ikev2_keys *keys, int initiator, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, size_t *res_len) argument
531 ikev2_build_encrypted(int encr_id, int integ_id, struct ikev2_keys *keys, int initiator, struct wpabuf *msg, struct wpabuf *plain, u8 next_payload) argument
609 ikev2_keys_set(struct ikev2_keys *keys) argument
616 ikev2_free_keys(struct ikev2_keys *keys) argument
630 ikev2_derive_sk_keys(const struct ikev2_prf_alg *prf, const struct ikev2_integ_alg *integ, const struct ikev2_encr_alg *encr, const u8 *skeyseed, const u8 *data, size_t data_len, struct ikev2_keys *keys) argument
[all...]
/external/wpa_supplicant_8/src/eap_common/
H A Dikev2_common.c36 { ENCR_AES_CBC, 16, 16 }, /* only 128-bit keys supported for now */
372 struct ikev2_keys *keys, int initiator,
381 const u8 *SK_p = initiator ? keys->SK_pi : keys->SK_pr;
395 if (ikev2_prf_hash(prf->id, SK_p, keys->SK_prf_len,
430 struct ikev2_keys *keys, int initiator,
441 const u8 *SK_e = initiator ? keys->SK_ei : keys->SK_er;
442 const u8 *SK_a = initiator ? keys->SK_ai : keys
370 ikev2_derive_auth_data(int prf_alg, const struct wpabuf *sign_msg, const u8 *ID, size_t ID_len, u8 ID_type, struct ikev2_keys *keys, int initiator, const u8 *shared_secret, size_t shared_secret_len, const u8 *nonce, size_t nonce_len, const u8 *key_pad, size_t key_pad_len, u8 *auth_data) argument
429 ikev2_decrypt_payload(int encr_id, int integ_id, struct ikev2_keys *keys, int initiator, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, size_t *res_len) argument
531 ikev2_build_encrypted(int encr_id, int integ_id, struct ikev2_keys *keys, int initiator, struct wpabuf *msg, struct wpabuf *plain, u8 next_payload) argument
609 ikev2_keys_set(struct ikev2_keys *keys) argument
616 ikev2_free_keys(struct ikev2_keys *keys) argument
630 ikev2_derive_sk_keys(const struct ikev2_prf_alg *prf, const struct ikev2_integ_alg *integ, const struct ikev2_encr_alg *encr, const u8 *skeyseed, const u8 *data, size_t data_len, struct ikev2_keys *keys) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Dikev2_common.c36 { ENCR_AES_CBC, 16, 16 }, /* only 128-bit keys supported for now */
372 struct ikev2_keys *keys, int initiator,
381 const u8 *SK_p = initiator ? keys->SK_pi : keys->SK_pr;
395 if (ikev2_prf_hash(prf->id, SK_p, keys->SK_prf_len,
430 struct ikev2_keys *keys, int initiator,
441 const u8 *SK_e = initiator ? keys->SK_ei : keys->SK_er;
442 const u8 *SK_a = initiator ? keys->SK_ai : keys
370 ikev2_derive_auth_data(int prf_alg, const struct wpabuf *sign_msg, const u8 *ID, size_t ID_len, u8 ID_type, struct ikev2_keys *keys, int initiator, const u8 *shared_secret, size_t shared_secret_len, const u8 *nonce, size_t nonce_len, const u8 *key_pad, size_t key_pad_len, u8 *auth_data) argument
429 ikev2_decrypt_payload(int encr_id, int integ_id, struct ikev2_keys *keys, int initiator, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, size_t *res_len) argument
531 ikev2_build_encrypted(int encr_id, int integ_id, struct ikev2_keys *keys, int initiator, struct wpabuf *msg, struct wpabuf *plain, u8 next_payload) argument
609 ikev2_keys_set(struct ikev2_keys *keys) argument
616 ikev2_free_keys(struct ikev2_keys *keys) argument
630 ikev2_derive_sk_keys(const struct ikev2_prf_alg *prf, const struct ikev2_integ_alg *integ, const struct ikev2_encr_alg *encr, const u8 *skeyseed, const u8 *data, size_t data_len, struct ikev2_keys *keys) argument
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
H A DDummyMap.java14 HashSet<K> keys = new HashSet<K>(); field in class:DummyMap
25 public void addKeys(K[] keys) { argument
26 Collections.addAll(this.keys, keys);
31 return keys.size();
35 return keys.isEmpty();
39 return keys.contains(key);
47 return keys.contains(key) ? value : null;
52 keys.add(key);
58 keys
[all...]
/external/v8/test/perf-test/Collections/
H A Dweakset.js17 var keys = []; variable
21 keys[i] = {};
28 ws.add(keys[i]);
46 if (!ws.has(keys[i])) {
51 if (ws.has(keys[i])) {
62 ws.delete(keys[i]);
H A Dweakmap.js19 var keys = []; variable
23 keys[i] = {};
30 wm.set(keys[i], i);
48 if (!wm.has(keys[i])) {
53 if (wm.has(keys[i])) {
62 if (wm.get(keys[i]) !== i) {
67 if (wm.get(keys[i]) !== undefined) {
78 wm.delete(keys[i]);
/external/wpa_supplicant_8/hostapd/logwatch/
H A Dhostapd40 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}}) {
/external/marisa-trie/v0_1_5/tests/
H A Dtrie-test.cc34 std::vector<std::string> *keys)
35 : key_ids_(key_ids), keys_(keys) {}
63 std::vector<std::string> keys; local
64 trie.build(keys);
69 keys.push_back("apple");
70 keys.push_back("and");
71 keys.push_back("Bad");
72 keys.push_back("apple");
73 keys.push_back("app");
76 trie.build(keys,
33 PredictCallback(std::vector<marisa_alpha::UInt32> *key_ids, std::vector<std::string> *keys) argument
186 std::vector<std::string> keys; local
427 std::vector<std::string> keys; local
529 std::vector<std::string> keys; local
593 std::vector<std::string> keys; local
[all...]
H A Dtail-test.cc19 marisa_alpha::Vector<marisa_alpha::String> keys; local
20 tail.build(keys, NULL, MARISA_ALPHA_BINARY_TAIL);
26 keys.push_back(marisa_alpha::String(""));
28 tail.build(keys, &offsets, MARISA_ALPHA_BINARY_TAIL);
34 ASSERT(offsets.size() == keys.size() + 1);
39 keys[0] = marisa_alpha::String(binary_key, sizeof(binary_key));
40 tail.build(keys, &offsets, MARISA_ALPHA_TEXT_TAIL);
46 ASSERT(offsets.size() == keys.size() + 1);
50 tail.build(keys, &offsets, MARISA_ALPHA_BINARY_TAIL);
56 ASSERT(offsets.size() == keys
144 marisa_alpha::Vector<marisa_alpha::String> keys; local
[all...]
/external/marisa-trie/tests/
H A Dtrie-test.cc34 std::vector<std::string> *keys)
35 : key_ids_(key_ids), keys_(keys) {}
63 std::vector<std::string> keys; local
64 trie.build(keys);
69 keys.push_back("apple");
70 keys.push_back("and");
71 keys.push_back("Bad");
72 keys.push_back("apple");
73 keys.push_back("app");
76 trie.build(keys,
33 PredictCallback(std::vector<marisa::UInt32> *key_ids, std::vector<std::string> *keys) argument
184 std::vector<std::string> keys; local
409 std::vector<std::string> keys; local
511 std::vector<std::string> keys; local
575 std::vector<std::string> keys; local
[all...]
H A Dtail-test.cc19 marisa::Vector<marisa::String> keys; local
20 tail.build(keys, NULL, MARISA_BINARY_TAIL);
26 keys.push_back(marisa::String(""));
28 tail.build(keys, &offsets, MARISA_BINARY_TAIL);
34 ASSERT(offsets.size() == keys.size() + 1);
39 keys[0] = marisa::String(binary_key, sizeof(binary_key));
40 tail.build(keys, &offsets, MARISA_TEXT_TAIL);
46 ASSERT(offsets.size() == keys.size() + 1);
50 tail.build(keys, &offsets, MARISA_BINARY_TAIL);
56 ASSERT(offsets.size() == keys
140 marisa::Vector<marisa::String> keys; local
[all...]
/external/icu/icu4c/source/samples/legacy/
H A Dlegacy.cpp25 extern "C" void test_current(UChar data[][5], uint32_t size, uint32_t maxLen, uint8_t keys[][32]);
26 extern "C" void test_legacy(UChar data[][5], uint32_t size, uint32_t maxlen, uint8_t keys[][32]);
49 void printKeys(const char *comment, uint8_t keys[][32], int32_t keySize) { argument
54 currentKey = keys[i];
88 static uint8_t keys[4][32]; local
96 test_current(uTest, 4, 5, keys);
98 printKeys("Current keys", keys, 4);
104 test_legacy(uTest, 4, 5, keys);
106 printKeys("Legacy keys", key
[all...]
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/lib/common/
H A Dutils.js7 Object.keys(optObj).forEach(function (key) {
/external/jemalloc/test/unit/
H A Drtree.c60 uintptr_t keys[] = {0, 1, local
68 for (j = 0; j < sizeof(keys)/sizeof(uintptr_t); j++) {
69 rtree_set(&rtree, keys[j], &node);
70 for (k = 0; k < sizeof(keys)/sizeof(uintptr_t); k++) {
71 assert_ptr_eq(rtree_get(&rtree, keys[k], true),
76 j, k, keys[j], keys[k]); local
82 rtree_set(&rtree, keys[j], NULL);
99 uintptr_t keys[NSET]; local
108 keys[
[all...]

Completed in 1354 milliseconds

1234567891011>>