Home
last modified time | relevance | path

Searched refs:lookup (Results 1 – 25 of 638) sorted by relevance

12345678910>>...26

/external/boringssl/src/crypto/x509/
Dx509_d2.c65 X509_LOOKUP *lookup; in X509_STORE_set_default_paths() local
67 lookup=X509_STORE_add_lookup(ctx,X509_LOOKUP_file()); in X509_STORE_set_default_paths()
68 if (lookup == NULL) return(0); in X509_STORE_set_default_paths()
69 X509_LOOKUP_load_file(lookup,NULL,X509_FILETYPE_DEFAULT); in X509_STORE_set_default_paths()
71 lookup=X509_STORE_add_lookup(ctx,X509_LOOKUP_hash_dir()); in X509_STORE_set_default_paths()
72 if (lookup == NULL) return(0); in X509_STORE_set_default_paths()
73 X509_LOOKUP_add_dir(lookup,NULL,X509_FILETYPE_DEFAULT); in X509_STORE_set_default_paths()
84 X509_LOOKUP *lookup; in X509_STORE_load_locations() local
88 lookup=X509_STORE_add_lookup(ctx,X509_LOOKUP_file()); in X509_STORE_load_locations()
89 if (lookup == NULL) return(0); in X509_STORE_load_locations()
[all …]
/external/e2fsprogs/resize/
Dtest_extent.in21 lookup 10
23 lookup 11
25 lookup 12
27 lookup 13
29 lookup 14
31 lookup 15
33 lookup 16
35 lookup 1
37 lookup 50
41 lookup 18
[all …]
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/dummyExt/
DMDCStrLookupTest.java49 MDCStrLookup lookup = new MDCStrLookup(); in testLookup() local
50 assertEquals("value", lookup.lookup("key")); in testLookup()
51 assertEquals("2", lookup.lookup("number")); in testLookup()
52 assertEquals(null, lookup.lookup(null)); in testLookup()
53 assertEquals(null, lookup.lookup("")); in testLookup()
54 assertEquals(null, lookup.lookup("other")); in testLookup()
/external/lldb/source/Breakpoint/
DBreakpointResolverName.cpp112 LookupInfo lookup; in BreakpointResolverName() local
113 lookup.name.SetCString(method); in BreakpointResolverName()
114 lookup.lookup_name = lookup.name; in BreakpointResolverName()
115 lookup.name_type_mask = eFunctionNameTypeMethod; in BreakpointResolverName()
116 lookup.match_name_after_lookup = false; in BreakpointResolverName()
117 m_lookups.push_back (lookup); in BreakpointResolverName()
134 LookupInfo lookup; in AddNameLookup() local
135 lookup.name = name; in AddNameLookup()
136 lookup.lookup_name = objc_name; in AddNameLookup()
137 lookup.name_type_mask = eFunctionNameTypeFull; in AddNameLookup()
[all …]
/external/skia/src/animator/
DSkGetCondensedInfo.cpp54 int lookup = _searchByType(type); in GetMembers() local
55 if (lookup < 0) in GetMembers()
58 *infoCountPtr = gInfoCounts[lookup]; in GetMembers()
59 return gInfoTables[lookup]; in GetMembers()
69 static const SkMemberInfo* _lookup(int lookup, const char** matchPtr) { in _lookup() argument
70 int count = gInfoCounts[lookup]; in _lookup()
71 const SkMemberInfo* info = gInfoTables[lookup]; in _lookup()
83 const char* strings = gInfoNames[lookup]; in _lookup()
91 int count = gInfoCounts[lookup]; in Find()
92 const SkMemberInfo* info = gInfoTables[lookup]; in Find()
[all …]
/external/v8/test/mjsunit/
Ddebug-backtrace.js77 ParsedResponse.prototype.lookup = function(handle) { method in ParsedResponse
115 assertEquals("f", response.lookup(frames[0].func.ref).name);
117 assertEquals("", response.lookup(frames[1].func.ref).name);
118 assertEquals("m", response.lookup(frames[1].func.ref).inferredName);
120 assertEquals("g", response.lookup(frames[2].func.ref).name);
122 assertEquals("", response.lookup(frames[3].func.ref).name);
138 assertEquals("", response.lookup(frames[0].func.ref).name);
139 assertEquals("m", response.lookup(frames[0].func.ref).inferredName);
141 assertEquals("g", response.lookup(frames[1].func.ref).name);
156 assertEquals("g", response.lookup(frames[0].func.ref).name);
[all …]
Dmirror-array.js39 MirrorRefCache.prototype.lookup = function(handle) { method in MirrorRefCache
80 …assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected construct…
81 …assertEquals('Array', refs.lookup(fromJSON.constructorFunction.ref).name, 'Unexpected constructor …
90 …assertEquals('number', refs.lookup(fromJSON.properties[i].ref).type, "Unexpected type of the lengt…
91 …assertEquals(a.length, refs.lookup(fromJSON.properties[i].ref).value, "Length mismatch in parsed J…
101 …assertEquals(indexedProperties[index].value().type(), refs.lookup(fromJSON.properties[i].ref).type…
Dcodegen-coverage.js34 function lookup(w, a) { function
140 lookup(w, x);
141 lookup(w, x);
142 lookup(w, x);
Dmirror-unresolved-function.js39 MirrorRefCache.prototype.lookup = function(handle) { method in MirrorRefCache
73 assertEquals('undefined', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected construct…
75 assertEquals('undefined', refs.lookup(fromJSON.protoObject.ref).type, 'Unexpected proto object type…
77 assertEquals('undefined', refs.lookup(fromJSON.prototypeObject.ref).type, 'Unexpected prototype obj…
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_iz.c128 int lookup = c->key.iz_lookup; in brw_wm_lookup_iz() local
132 assert (lookup < IZ_BIT_MAX); in brw_wm_lookup_iz()
140 (lookup & IZ_PS_KILL_ALPHATEST_BIT) && in brw_wm_lookup_iz()
141 wm_iz_table[lookup].mode == P) { in brw_wm_lookup_iz()
145 if (lookup & IZ_PS_COMPUTES_DEPTH_BIT) in brw_wm_lookup_iz()
148 if (wm_iz_table[lookup].sd_present || uses_depth || in brw_wm_lookup_iz()
154 if (wm_iz_table[lookup].sd_to_rt || kill_stats_promoted_workaround) in brw_wm_lookup_iz()
157 if (wm_iz_table[lookup].ds_present || c->key.line_aa != AA_NEVER) { in brw_wm_lookup_iz()
159 c->runtime_check_aads_emit = (!wm_iz_table[lookup].ds_present && in brw_wm_lookup_iz()
164 if (wm_iz_table[lookup].dd_present) { in brw_wm_lookup_iz()
Dbrw_state_cache.c83 struct brw_cache_item *lookup) in search_cache() argument
98 if (brw_cache_item_equals(lookup, c)) in search_cache()
140 struct brw_cache_item lookup; in brw_search_cache() local
143 lookup.cache_id = cache_id; in brw_search_cache()
144 lookup.key = key; in brw_search_cache()
145 lookup.key_size = key_size; in brw_search_cache()
146 hash = hash_key(&lookup); in brw_search_cache()
147 lookup.hash = hash; in brw_search_cache()
149 item = search_cache(cache, hash, &lookup); in brw_search_cache()
/external/v8/test/cctest/
Dtest-ordered-hash-table.cc121 Object* lookup = ordered_map->Lookup(obj); in TEST() local
122 CHECK(lookup->SameValue(*val)); in TEST()
140 lookup = ordered_map->Lookup(obj1); in TEST()
141 CHECK(lookup->SameValue(*val1)); in TEST()
142 lookup = ordered_map->Lookup(obj2); in TEST()
143 CHECK(lookup->SameValue(*val2)); in TEST()
144 lookup = ordered_map->Lookup(obj3); in TEST()
145 CHECK(lookup->SameValue(*val3)); in TEST()
152 lookup = ordered_map->Lookup(obj); in TEST()
153 CHECK(lookup->SameValue(*val)); in TEST()
[all …]
/external/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp364 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
365 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
366 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
367 LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d")); in TEST()
368 LazyCallGraph::Node &E = *CG.lookup(lookupFunction(*M, "e")); in TEST()
404 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
405 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
406 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
407 LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d")); in TEST()
453 LazyCallGraph::Node &A1 = *CG.lookup(lookupFunction(*M, "a1")); in TEST()
[all …]
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/
DPhonePrefixMapTest.java99 assertEquals("New York", phonePrefixMapForUS.lookup(number)); in testLookupInvalidNumber_US()
104 assertEquals("Westwood, NJ", phonePrefixMapForUS.lookup(number)); in testLookupNumber_NJ()
109 assertEquals("New York", phonePrefixMapForUS.lookup(number)); in testLookupNumber_NY()
114 assertEquals("San Mateo, CA", phonePrefixMapForUS.lookup(number)); in testLookupNumber_CA_1()
119 assertEquals("California", phonePrefixMapForUS.lookup(number)); in testLookupNumber_CA_2()
124 assertEquals("Richardson, TX", phonePrefixMapForUS.lookup(number)); in testLookupNumberFound_TX()
129 assertNull(phonePrefixMapForUS.lookup(number)); in testLookupNumberNotFound_TX()
134 assertNull(phonePrefixMapForUS.lookup(number)); in testLookupNumber_CH()
139 assertEquals("Milan", phonePrefixMapForIT.lookup(number)); in testLookupNumber_IT()
142 assertEquals("Rome", phonePrefixMapForIT.lookup(number)); in testLookupNumber_IT()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-119609.js38 function lookup(name) { function
42 assertEquals(3, lookup("e"));
43 assertEquals(4, lookup("f"));
44 assertEquals(1, lookup("a"));
47 assertEquals(2, lookup("b"));
/external/llvm/unittests/ADT/
DImmutableMapTest.cpp39 EXPECT_EQ(nullptr, S.lookup(3)); in TEST()
40 EXPECT_EQ(nullptr, S.lookup(9)); in TEST()
42 EXPECT_EQ(10, *S2.lookup(3)); in TEST()
43 EXPECT_EQ(11, *S2.lookup(4)); in TEST()
44 EXPECT_EQ(12, *S2.lookup(5)); in TEST()
DIntervalMapTest.cpp26 EXPECT_EQ(0u, map.lookup(0)); in TEST()
27 EXPECT_EQ(7u, map.lookup(0, 7)); in TEST()
28 EXPECT_EQ(0u, map.lookup(~0u-1)); in TEST()
29 EXPECT_EQ(7u, map.lookup(~0u-1, 7)); in TEST()
61 EXPECT_EQ(0u, map.lookup(0)); in TEST()
62 EXPECT_EQ(0u, map.lookup(99)); in TEST()
63 EXPECT_EQ(1u, map.lookup(100)); in TEST()
64 EXPECT_EQ(1u, map.lookup(101)); in TEST()
65 EXPECT_EQ(1u, map.lookup(125)); in TEST()
66 EXPECT_EQ(1u, map.lookup(149)); in TEST()
[all …]
/external/openssh/
Dauth2-hostbased.c164 const char *resolvedname, *ipaddr, *lookup, *reason; in hostbased_key_allowed() local
190 lookup = chost; in hostbased_key_allowed()
202 lookup = resolvedname; in hostbased_key_allowed()
207 key_cert_check_authority(key, 1, 0, lookup, &reason)) { in hostbased_key_allowed()
213 host_status = check_key_in_hostfiles(pw, key, lookup, in hostbased_key_allowed()
219 host_status = check_key_in_hostfiles(pw, key, lookup, in hostbased_key_allowed()
233 cuser, lookup); in hostbased_key_allowed()
239 key_type(key), fp, cuser, lookup); in hostbased_key_allowed()
/external/v8/src/ic/
Dic.cc859 void LoadIC::UpdateCaches(LookupIterator* lookup) { in UpdateCaches() argument
864 TRACE_IC("LoadIC", lookup->name()); in UpdateCaches()
869 if (lookup->state() == LookupIterator::JSPROXY || in UpdateCaches()
870 lookup->state() == LookupIterator::ACCESS_CHECK) { in UpdateCaches()
872 } else if (!lookup->IsFound()) { in UpdateCaches()
874 code = NamedLoadHandlerCompiler::ComputeLoadNonexistent(lookup->name(), in UpdateCaches()
882 code = ComputeHandler(lookup); in UpdateCaches()
885 PatchCache(lookup->name(), code); in UpdateCaches()
886 TRACE_IC("LoadIC", lookup->name()); in UpdateCaches()
897 Handle<Code> IC::ComputeHandler(LookupIterator* lookup, Handle<Object> value) { in ComputeHandler() argument
[all …]
/external/llvm/unittests/IR/
DValueMapTest.cpp44 EXPECT_EQ(7, VM1.lookup(nullptr)); in TYPED_TEST()
50 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
53 EXPECT_EQ(7, VM.lookup(this->AddV.get())); in TYPED_TEST()
113 EXPECT_EQ(1, VM.lookup(this->AddV.get())); in TYPED_TEST()
114 EXPECT_EQ(2, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
173 EXPECT_EQ(9, VM.lookup(this->AddV.get())); in TYPED_TEST()
221 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
224 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
225 EXPECT_EQ(0, VM.lookup(this->AddV.get())); in TYPED_TEST()
227 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
[all …]
/external/ltrace/
Dprototype.c245 struct lookup { struct
271 struct lookup *lookup = data; in protolib_lookup_rec() argument
272 struct dict *dict = (*lookup->getter)(*plibp); in protolib_lookup_rec()
274 lookup->result = dict_find(dict, &lookup->name); in protolib_lookup_rec()
275 if (lookup->result != NULL) in protolib_lookup_rec()
278 if (lookup->imports && each_import(*plibp, NULL, &protolib_lookup_rec, in protolib_lookup_rec()
279 lookup) != NULL) { in protolib_lookup_rec()
280 assert(lookup->result != NULL); in protolib_lookup_rec()
293 struct lookup lookup = { name, getter, imports, NULL }; in protolib_lookup() local
294 if (protolib_lookup_rec(&plib, &lookup) == CBS_STOP) in protolib_lookup()
[all …]
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp234 if (!isa<Constant>(*I) && !SimplifiedValues.lookup(*I)) in isGEPOffsetConstant()
253 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) in accumulateGEPOffset()
277 if (Constant *Size = SimplifiedValues.lookup(I.getArraySize())) { in visitAlloca()
329 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Ptr); in visitGetElementPtr()
370 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitBitCast()
379 = ConstantOffsetPtrs.lookup(I.getOperand(0)); in visitBitCast()
398 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitPtrToInt()
411 = ConstantOffsetPtrs.lookup(I.getOperand(0)); in visitPtrToInt()
435 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitIntToPtr()
448 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Op); in visitIntToPtr()
[all …]
/external/llvm/test/Transforms/IRCE/
Dbug-mismatched-types.ll20 br i1 %1, label %switch.lookup, label %for.inc
22 switch.lookup:
46 br i1 %cond.a, label %switch.lookup.a, label %for.body.b
48 switch.lookup.a:
54 br i1 %cond.b, label %switch.lookup.b, label %for.inc
56 switch.lookup.b:
/external/deqp/modules/gles3/scripts/
Dgen-invalid-texture-funcs.py43 lookup = self.funcname + "(s"
45 lookup += ", %s" % getValueExpr(arg)
46 lookup += ")"
48 params = { "NAME": self.name, "SAMPLERTYPE": samplerType, "LOOKUP": lookup }
/external/elfutils/src/lib/
Ddynamicsizehash.c47 lookup (htab, hval, val) in lookup() function
149 lookup (htab, first->hashval, first->data), in insert_entry_2()
159 lookup (htab, runp->hashval, runp->data), runp->data); in insert_entry_2()
166 lookup (htab, table[idx].hashval, table[idx].data), in insert_entry_2()
226 idx = lookup (htab, hval, data);
253 idx = lookup (htab, hval, data);
276 idx = lookup (htab, hval, val);

12345678910>>...26