Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 5221) sorted by relevance

12345678910>>...209

/external/clang/test/Analysis/
Dobjc-radar17039661.m62 // CHECK: <key>diagnostics</key>
65 // CHECK: <key>path</key>
68 // CHECK: <key>kind</key><string>control</string>
69 // CHECK: <key>edges</key>
72 // CHECK: <key>start</key>
75 // CHECK: <key>line</key><integer>48</integer>
76 // CHECK: <key>col</key><integer>3</integer>
77 // CHECK: <key>file</key><integer>0</integer>
80 // CHECK: <key>line</key><integer>48</integer>
81 // CHECK: <key>col</key><integer>15</integer>
[all …]
Dedges-new.mm593 // CHECK: <key>diagnostics</key>
596 // CHECK-NEXT: <key>path</key>
599 // CHECK-NEXT: <key>kind</key><string>event</string>
600 // CHECK-NEXT: <key>location</key>
602 // CHECK-NEXT: <key>line</key><integer>52</integer>
603 // CHECK-NEXT: <key>col</key><integer>3</integer>
604 // CHECK-NEXT: <key>file</key><integer>0</integer>
606 // CHECK-NEXT: <key>ranges</key>
610 // CHECK-NEXT: <key>line</key><integer>52</integer>
611 // CHECK-NEXT: <key>col</key><integer>3</integer>
[all …]
Dplist-output.m197 // CHECK: <key>diagnostics</key>
200 // CHECK-NEXT: <key>path</key>
203 // CHECK-NEXT: <key>kind</key><string>event</string>
204 // CHECK-NEXT: <key>location</key>
206 // CHECK-NEXT: <key>line</key><integer>5</integer>
207 // CHECK-NEXT: <key>col</key><integer>3</integer>
208 // CHECK-NEXT: <key>file</key><integer>0</integer>
210 // CHECK-NEXT: <key>ranges</key>
214 // CHECK-NEXT: <key>line</key><integer>5</integer>
215 // CHECK-NEXT: <key>col</key><integer>3</integer>
[all …]
Dbug_hash_test.m30 // CHECK: <key>diagnostics</key>
33 // CHECK-NEXT: <key>path</key>
36 // CHECK-NEXT: <key>kind</key><string>control</string>
37 // CHECK-NEXT: <key>edges</key>
40 // CHECK-NEXT: <key>start</key>
43 // CHECK-NEXT: <key>line</key><integer>19</integer>
44 // CHECK-NEXT: <key>col</key><integer>3</integer>
45 // CHECK-NEXT: <key>file</key><integer>0</integer>
48 // CHECK-NEXT: <key>line</key><integer>19</integer>
49 // CHECK-NEXT: <key>col</key><integer>5</integer>
[all …]
Dretain-release.m774 [dictionary setObject:array forKey:@"key"];
1021 void rdar_6539791(CFMutableDictionaryRef y, void* key, void* val_key) {
1023 CFDictionaryAddValue(y, key, x);
1126 int pthread_setspecific(pthread_key_t key, const void *value);
1145 void rdar11282706(pthread_key_t key) {
1147 pthread_setspecific(key, (void*) number);
1569 extern const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key);
1593 extern void rdar_9234108_helper(void *key, void * CF_CONSUMED value);
2190 // CHECK: <key>diagnostics</key>
2193 // CHECK-NEXT: <key>path</key>
[all …]
Dretain-release-path-notes.m31 - (id)objectForKeyedSubscript:(id)key;
189 void testDictionary(id key, id value) {
190 …id result = @{key: value}; // expected-note{{NSDictionary literal is an object with a +0 retain co…
332 // CHECK: <key>diagnostics</key>
335 // CHECK-NEXT: <key>path</key>
338 // CHECK-NEXT: <key>kind</key><string>control</string>
339 // CHECK-NEXT: <key>edges</key>
342 // CHECK-NEXT: <key>start</key>
345 // CHECK-NEXT: <key>line</key><integer>47</integer>
346 // CHECK-NEXT: <key>col</key><integer>3</integer>
[all …]
Dplist-output-alternate.m60 // CHECK: <key>diagnostics</key>
63 // CHECK-NEXT: <key>path</key>
66 // CHECK-NEXT: <key>kind</key><string>event</string>
67 // CHECK-NEXT: <key>location</key>
69 // CHECK-NEXT: <key>line</key><integer>5</integer>
70 // CHECK-NEXT: <key>col</key><integer>3</integer>
71 // CHECK-NEXT: <key>file</key><integer>0</integer>
73 // CHECK-NEXT: <key>ranges</key>
77 // CHECK-NEXT: <key>line</key><integer>5</integer>
78 // CHECK-NEXT: <key>col</key><integer>3</integer>
[all …]
Dgenerics.m346 // CHECK: <key>diagnostics</key>
349 // CHECK-NEXT: <key>path</key>
352 // CHECK-NEXT: <key>kind</key><string>event</string>
353 // CHECK-NEXT: <key>location</key>
355 // CHECK-NEXT: <key>line</key><integer>92</integer>
356 // CHECK-NEXT: <key>col</key><integer>7</integer>
357 // CHECK-NEXT: <key>file</key><integer>0</integer>
359 // CHECK-NEXT: <key>ranges</key>
363 // CHECK-NEXT: <key>line</key><integer>92</integer>
364 // CHECK-NEXT: <key>col</key><integer>7</integer>
[all …]
Dobjc-arc.m234 // CHECK: <key>diagnostics</key>
237 // CHECK-NEXT: <key>path</key>
240 // CHECK-NEXT: <key>kind</key><string>event</string>
241 // CHECK-NEXT: <key>location</key>
243 // CHECK-NEXT: <key>line</key><integer>53</integer>
244 // CHECK-NEXT: <key>col</key><integer>3</integer>
245 // CHECK-NEXT: <key>file</key><integer>0</integer>
247 // CHECK-NEXT: <key>ranges</key>
251 // CHECK-NEXT: <key>line</key><integer>53</integer>
252 // CHECK-NEXT: <key>col</key><integer>3</integer>
[all …]
Dnull-deref-path-notes.m54 // CHECK: <key>diagnostics</key>
57 // CHECK-NEXT: <key>path</key>
60 // CHECK-NEXT: <key>kind</key><string>control</string>
61 // CHECK-NEXT: <key>edges</key>
64 // CHECK-NEXT: <key>start</key>
67 // CHECK-NEXT: <key>line</key><integer>14</integer>
68 // CHECK-NEXT: <key>col</key><integer>3</integer>
69 // CHECK-NEXT: <key>file</key><integer>0</integer>
72 // CHECK-NEXT: <key>line</key><integer>14</integer>
73 // CHECK-NEXT: <key>col</key><integer>4</integer>
[all …]
Dretain-release-path-notes-gc.m76 // CHECK: <key>diagnostics</key>
79 // CHECK-NEXT: <key>path</key>
82 // CHECK-NEXT: <key>kind</key><string>control</string>
83 // CHECK-NEXT: <key>edges</key>
86 // CHECK-NEXT: <key>start</key>
89 // CHECK-NEXT: <key>line</key><integer>43</integer>
90 // CHECK-NEXT: <key>col</key><integer>3</integer>
91 // CHECK-NEXT: <key>file</key><integer>0</integer>
94 // CHECK-NEXT: <key>line</key><integer>43</integer>
95 // CHECK-NEXT: <key>col</key><integer>11</integer>
[all …]
/external/clang/test/Analysis/inlining/
Dpath-notes.m177 // CHECK: <key>diagnostics</key>
180 // CHECK-NEXT: <key>path</key>
183 // CHECK-NEXT: <key>kind</key><string>control</string>
184 // CHECK-NEXT: <key>edges</key>
187 // CHECK-NEXT: <key>start</key>
190 // CHECK-NEXT: <key>line</key><integer>79</integer>
191 // CHECK-NEXT: <key>col</key><integer>3</integer>
192 // CHECK-NEXT: <key>file</key><integer>0</integer>
195 // CHECK-NEXT: <key>line</key><integer>79</integer>
196 // CHECK-NEXT: <key>col</key><integer>3</integer>
[all …]
/external/clang/test/Analysis/diagnostics/
Dundef-value-param.m77 // CHECK: <key>diagnostics</key>
80 // CHECK-NEXT: <key>path</key>
83 // CHECK-NEXT: <key>kind</key><string>control</string>
84 // CHECK-NEXT: <key>edges</key>
87 // CHECK-NEXT: <key>start</key>
90 // CHECK-NEXT: <key>line</key><integer>35</integer>
91 // CHECK-NEXT: <key>col</key><integer>5</integer>
92 // CHECK-NEXT: <key>file</key><integer>0</integer>
95 // CHECK-NEXT: <key>line</key><integer>35</integer>
96 // CHECK-NEXT: <key>col</key><integer>21</integer>
[all …]
/external/guava/guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/
DAtomicLongMapTest.java56 String key = "key"; in testIncrementAndGet() local
58 long before = map.get(key); in testIncrementAndGet()
59 long result = map.incrementAndGet(key); in testIncrementAndGet()
60 long after = map.get(key); in testIncrementAndGet()
66 assertTrue(map.containsKey(key)); in testIncrementAndGet()
67 assertEquals(ITERATIONS, (int) map.get(key)); in testIncrementAndGet()
72 String key = "key"; in testIncrementAndGet_zero() local
73 assertEquals(0L, map.get(key)); in testIncrementAndGet_zero()
74 assertFalse(map.containsKey(key)); in testIncrementAndGet_zero()
76 assertEquals(1L, map.incrementAndGet(key)); in testIncrementAndGet_zero()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_maps.c31 long long key, next_key, value; in test_hashmap() local
34 fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(key), sizeof(value), in test_hashmap()
41 key = 1; in test_hashmap()
44 assert(bpf_map_update_elem(fd, &key, &value, BPF_ANY) == 0); in test_hashmap()
48 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && in test_hashmap()
53 assert(bpf_map_update_elem(fd, &key, &value, -1) == -1 && in test_hashmap()
57 assert(bpf_map_lookup_elem(fd, &key, &value) == 0 && value == 1234); in test_hashmap()
59 key = 2; in test_hashmap()
61 assert(bpf_map_lookup_elem(fd, &key, &value) == -1 && errno == ENOENT); in test_hashmap()
64 assert(bpf_map_update_elem(fd, &key, &value, BPF_EXIST) == -1 && in test_hashmap()
[all …]
Dtest_lru_map.c99 unsigned long long key, value[nr_cpus]; in test_lru_sanity0() local
121 key = 1; in test_lru_sanity0()
122 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0()
123 assert(!bpf_map_update_elem(expected_map_fd, &key, value, in test_lru_sanity0()
127 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST) == -1 in test_lru_sanity0()
131 assert(bpf_map_update_elem(lru_map_fd, &key, value, -1) == -1 && in test_lru_sanity0()
137 key = 2; in test_lru_sanity0()
138 assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && in test_lru_sanity0()
142 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_EXIST) == -1 && in test_lru_sanity0()
146 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBundle.java34 public void remove(String key) { in remove() argument
35 map.remove(key); in remove()
39 public Object get(String key) { in get() argument
40 return map.get(key); in get()
44 public void putString(String key, String value) { in putString() argument
45 map.put(key, value); in putString()
49 public String getString(String key) { in getString() argument
50 Object value = map.get(key); in getString()
55 public String getString(String key, String defaultValue) { in getString() argument
59 Object value = map.get(key); in getString()
[all …]
/external/vboot_reference/host/lib21/
Dhost_key.c72 void vb2_private_key_free(struct vb2_private_key *key) in vb2_private_key_free() argument
74 if (!key) in vb2_private_key_free()
77 if (key->rsa_private_key) in vb2_private_key_free()
78 RSA_free(key->rsa_private_key); in vb2_private_key_free()
80 if (key->desc) in vb2_private_key_free()
81 free(key->desc); in vb2_private_key_free()
83 free(key); in vb2_private_key_free()
92 struct vb2_private_key *key; in vb2_private_key_unpack() local
124 key = calloc(1, sizeof(*key)); in vb2_private_key_unpack()
125 if (!key) in vb2_private_key_unpack()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapTest.java71 String key = "key"; in testIncrementAndGet() local
73 long before = map.get(key); in testIncrementAndGet()
74 long result = map.incrementAndGet(key); in testIncrementAndGet()
75 long after = map.get(key); in testIncrementAndGet()
81 assertTrue(map.containsKey(key)); in testIncrementAndGet()
82 assertEquals(ITERATIONS, (int) map.get(key)); in testIncrementAndGet()
87 String key = "key"; in testIncrementAndGet_zero() local
88 assertEquals(0L, map.get(key)); in testIncrementAndGet_zero()
89 assertFalse(map.containsKey(key)); in testIncrementAndGet_zero()
91 assertEquals(1L, map.incrementAndGet(key)); in testIncrementAndGet_zero()
[all …]
/external/wpa_supplicant_8/src/tls/
Drsa.c64 struct crypto_rsa_key *key; in crypto_rsa_import_public_key() local
68 key = os_zalloc(sizeof(*key)); in crypto_rsa_import_public_key()
69 if (key == NULL) in crypto_rsa_import_public_key()
72 key->n = bignum_init(); in crypto_rsa_import_public_key()
73 key->e = bignum_init(); in crypto_rsa_import_public_key()
74 if (key->n == NULL || key->e == NULL) { in crypto_rsa_import_public_key()
75 crypto_rsa_free(key); in crypto_rsa_import_public_key()
98 pos = crypto_rsa_parse_integer(pos, end, key->n); in crypto_rsa_import_public_key()
99 pos = crypto_rsa_parse_integer(pos, end, key->e); in crypto_rsa_import_public_key()
111 return key; in crypto_rsa_import_public_key()
[all …]
/external/selinux/libsepol/src/
Davtab.c92 avtab_insert_node(avtab_t * h, int hvalue, avtab_ptr_t prev, avtab_key_t * key, in avtab_insert_node() argument
102 newnode->key = *key; in avtab_insert_node()
104 if (key->specified & AVTAB_XPERMS) { in avtab_insert_node()
135 int avtab_insert(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert() argument
140 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_insert()
145 hvalue = avtab_hash(key, h->mask); in avtab_insert()
148 if (key->source_type == cur->key.source_type && in avtab_insert()
149 key->target_type == cur->key.target_type && in avtab_insert()
150 key->target_class == cur->key.target_class && in avtab_insert()
151 (specified & cur->key.specified)) { in avtab_insert()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DOutputProperties.java118 public void setProperty(QName key, String value) in setProperty() argument
120 setProperty(key.toNamespacedString(), value); in setProperty()
130 public void setProperty(String key, String value) in setProperty() argument
132 if(key.equals(OutputKeys.METHOD)) in setProperty()
137 if (key.startsWith(OutputPropertiesFactory.S_BUILTIN_OLD_EXTENSIONS_UNIVERSAL)) in setProperty()
138 key = OutputPropertiesFactory.S_BUILTIN_EXTENSIONS_UNIVERSAL in setProperty()
139 + key.substring(OutputPropertiesFactory.S_BUILTIN_OLD_EXTENSIONS_UNIVERSAL_LEN); in setProperty()
141 m_properties.put(key, value); in setProperty()
153 public String getProperty(QName key) in getProperty() argument
155 return m_properties.getProperty(key.toNamespacedString()); in getProperty()
[all …]
/external/protobuf/src/google/protobuf/testdata/
Dmap_test_data.txt2 key: 0
6 key: 1
10 key: 0
14 key: 1
18 key: 0
22 key: 1
26 key: 0
30 key: 1
34 key: 0
38 key: 1
[all …]
/external/vboot_reference/host/lib/
Dhost_key.c25 VbPrivateKey* key; in PrivateKeyReadPem() local
49 key = (VbPrivateKey*)malloc(sizeof(VbPrivateKey)); in PrivateKeyReadPem()
50 if (!key) { in PrivateKeyReadPem()
54 key->rsa_private_key = rsa_key; in PrivateKeyReadPem()
55 key->algorithm = algorithm; in PrivateKeyReadPem()
58 return key; in PrivateKeyReadPem()
62 void PrivateKeyFree(VbPrivateKey* key) { in PrivateKeyFree() argument
63 if (!key) in PrivateKeyFree()
65 if (key->rsa_private_key) in PrivateKeyFree()
66 RSA_free(key->rsa_private_key); in PrivateKeyFree()
[all …]
/external/autotest/client/site_tests/platform_OSLimits/
Dplatform_OSLimits.py22 def get_limit(self, key, path): argument
42 if key in multivals:
46 if limits[key] in line:
47 fields = line.split(limits[key])
138 for key in refpath:
139 osvalue[key] = None
141 for key in ref_min:
142 osvalue[key] = self.get_limit(key, refpath[key])
143 if osvalue[key] < ref_min[key]:
144 logging.warning('%s is %d', refpath[key], osvalue[key])
[all …]

12345678910>>...209