Home
last modified time | relevance | path

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

12345678910>>...33

/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/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/
Dtest_builder_registry.py33 self.assertEqual(registry.lookup('fast', 'html'),
37 self.assertEqual(registry.lookup('permissive', 'xml'),
39 self.assertEqual(registry.lookup('strict', 'html'),
42 self.assertEqual(registry.lookup('html5lib', 'html'),
47 self.assertEqual(registry.lookup('html'), LXMLTreeBuilder)
48 self.assertEqual(registry.lookup('xml'), LXMLTreeBuilderForXML)
50 self.assertEqual(registry.lookup('xml'), None)
52 self.assertEqual(registry.lookup('html'), HTML5TreeBuilder)
54 self.assertEqual(registry.lookup('html'), HTMLParserTreeBuilder)
58 self.assertEqual(registry.lookup('lxml', 'xml'),
[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 …]
/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()
/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/src/ic/
Dic.cc860 bool IsCompatibleReceiver(LookupIterator* lookup, Handle<Map> receiver_map) { in IsCompatibleReceiver() argument
861 DCHECK(lookup->state() == LookupIterator::ACCESSOR); in IsCompatibleReceiver()
862 Isolate* isolate = lookup->isolate(); in IsCompatibleReceiver()
863 Handle<Object> accessors = lookup->GetAccessors(); in IsCompatibleReceiver()
876 Handle<JSObject> holder = lookup->GetHolder<JSObject>(); in IsCompatibleReceiver()
877 Handle<Object> receiver = lookup->GetReceiver(); in IsCompatibleReceiver()
899 void LoadIC::UpdateCaches(LookupIterator* lookup) { in UpdateCaches() argument
904 TRACE_IC("LoadIC", lookup->name()); in UpdateCaches()
909 if (lookup->state() == LookupIterator::JSPROXY || in UpdateCaches()
910 lookup->state() == LookupIterator::ACCESS_CHECK) { in UpdateCaches()
[all …]
/external/guice/core/src/com/google/inject/internal/
DLookupProcessor.java36 @Override public <T> Boolean visit(MembersInjectorLookup<T> lookup) { in visit() argument
39 = injector.membersInjectorStore.get(lookup.getType(), errors); in visit()
40 lookup.initializeDelegate(membersInjector); in visit()
48 @Override public <T> Boolean visit(ProviderLookup<T> lookup) { in visit() argument
51 Provider<T> provider = injector.getProviderOrThrow(lookup.getDependency(), errors); in visit()
52 lookup.initializeDelegate(provider); in visit()
DDeferredLookups.java53 ProviderLookup<T> lookup = new ProviderLookup<T>(key, key); in getProvider() local
54 lookups.add(lookup); in getProvider()
55 return lookup.getProvider(); in getProvider()
59 MembersInjectorLookup<T> lookup = new MembersInjectorLookup<T>(type, type); in getMembersInjector() local
60 lookups.add(lookup); in getMembersInjector()
61 return lookup.getMembersInjector(); in getMembersInjector()
/external/v8/test/mjsunit/regress/
Dregress-119609.js37 function lookup(name) { function
41 assertEquals(3, lookup("e"));
42 assertEquals(4, lookup("f"));
43 assertEquals(1, lookup("a"));
46 assertEquals(2, lookup("b"));
/external/v8/tools/turbolizer/
Dutil.js24 function lowerBound(a, value, compare, lookup) { argument
30 let middle_value = (lookup === undefined) ? a[middle] : lookup(a, middle);
43 function upperBound(a, value, compare, lookup) { argument
49 let middle_value = (lookup === undefined) ? a[middle] : lookup(a, middle);
/external/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/
Dppc32_elf_rel_addr16.s5 .globl lookup symbol
7 .type lookup,@function
8 lookup: # @lookup label
28 .size lookup, .Lfunc_end0-.Lfunc_begin0
/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 …]
DDenseMapTest.cpp125 this->Map.lookup(this->getKey())); in TYPED_TEST()
132 this->Map.lookup(this->getKey())); in TYPED_TEST()
163 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey())); in TYPED_TEST()
351 EXPECT_EQ(1, M.lookup("a")); in TEST()
352 EXPECT_EQ(2, M.lookup("b")); in TEST()
353 EXPECT_EQ(3, M.lookup("c")); in TEST()
355 EXPECT_EQ(0, M.lookup("q")); in TEST()
358 EXPECT_EQ(0, M.lookup("")); in TEST()
359 EXPECT_EQ(0, M.lookup(StringRef())); in TEST()
360 EXPECT_EQ(0, M.lookup(StringRef("a", 0))); in TEST()
[all …]
/external/libvncserver/webclients/novnc/include/
Dkeysymdef.js10 function lookup(k) { return k ? {keysym: k, keyname: keynames ? keynames[k] : k} : undefined; } function
12 fromUnicode : function(u) { return lookup(codepoints[u]); },
13 lookup : lookup
/external/openssh/
Dauth2-hostbased.c163 const char *resolvedname, *ipaddr, *lookup, *reason; in hostbased_key_allowed() local
189 lookup = chost; in hostbased_key_allowed()
201 lookup = resolvedname; in hostbased_key_allowed()
206 key_cert_check_authority(key, 1, 0, lookup, &reason)) { in hostbased_key_allowed()
212 host_status = check_key_in_hostfiles(pw, key, lookup, in hostbased_key_allowed()
218 host_status = check_key_in_hostfiles(pw, key, lookup, in hostbased_key_allowed()
232 cuser, lookup); in hostbased_key_allowed()
238 key_type(key), fp, cuser, lookup); in hostbased_key_allowed()
/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/libweave/third_party/chromium/base/strings/
Dstring_piece.cc181 bool lookup[UCHAR_MAX + 1] = { false }; in find_first_of() local
182 BuildLookupTable(s, lookup); in find_first_of()
184 if (lookup[static_cast<unsigned char>(self.data()[i])]) { in find_first_of()
205 bool lookup[UCHAR_MAX + 1] = { false }; in find_first_not_of() local
206 BuildLookupTable(s, lookup); in find_first_not_of()
208 if (!lookup[static_cast<unsigned char>(self.data()[i])]) { in find_first_not_of()
245 bool lookup[UCHAR_MAX + 1] = { false }; in find_last_of() local
246 BuildLookupTable(s, lookup); in find_last_of()
248 if (lookup[static_cast<unsigned char>(self.data()[i])]) in find_last_of()
271 bool lookup[UCHAR_MAX + 1] = { false }; in find_last_not_of() local
[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/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_SymbolInfo.h24 static CBC_SymbolInfo* lookup(int32_t dataCodewords, int32_t& e);
25 static CBC_SymbolInfo* lookup(int32_t dataCodewords,
28 static CBC_SymbolInfo* lookup(int32_t dataCodewords,
32 static CBC_SymbolInfo* lookup(int32_t dataCodewords,
36 static CBC_SymbolInfo* lookup(int32_t dataCodewords,

12345678910>>...33