Home
last modified time | relevance | path

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

12345678910>>...35

/external/boringssl/src/crypto/x509/
Dx509_d2.c64 X509_LOOKUP *lookup; in X509_STORE_set_default_paths() local
66 lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_file()); in X509_STORE_set_default_paths()
67 if (lookup == NULL) 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) in X509_STORE_set_default_paths()
74 X509_LOOKUP_add_dir(lookup, NULL, X509_FILETYPE_DEFAULT); in X509_STORE_set_default_paths()
85 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) in X509_STORE_load_locations()
[all …]
/external/deqp/modules/glshared/
DglsTextureTestUtil.cpp181 const char* lookup = DE_NULL; in getProgram() local
187 …case PROGRAM_2D_FLOAT: sampler = "sampler2D"; lookup = "texture(u_sampler, v_texCoord)"; … in getProgram()
188 …case PROGRAM_2D_INT: sampler = "isampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord))";… in getProgram()
189 …case PROGRAM_2D_UINT: sampler = "usampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord))"… in getProgram()
190 …case PROGRAM_2D_SHADOW: sampler = "sampler2DShadow"; lookup = "vec4(texture(u_sampler, vec3(v_t… in getProgram()
191 …case PROGRAM_2D_FLOAT_BIAS: sampler = "sampler2D"; lookup = "texture(u_sampler, v_texCoord, u_… in getProgram()
192 …case PROGRAM_2D_INT_BIAS: sampler = "isampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord… in getProgram()
193 …case PROGRAM_2D_UINT_BIAS: sampler = "usampler2D"; lookup = "vec4(texture(u_sampler, v_texCoor… in getProgram()
194 …case PROGRAM_2D_SHADOW_BIAS: sampler = "sampler2DShadow"; lookup = "vec4(texture(u_sampler, vec3(… in getProgram()
195 …case PROGRAM_1D_FLOAT: sampler = "sampler1D"; lookup = "texture(u_sampler, v_texCoord)"; … in getProgram()
[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/python/cpython2/Lib/test/
Dtest_symtable.py98 self.assertTrue(self.spam.lookup("glob").is_global())
99 self.assertFalse(self.spam.lookup("glob").is_declared_global())
100 self.assertTrue(self.spam.lookup("bar").is_global())
101 self.assertTrue(self.spam.lookup("bar").is_declared_global())
102 self.assertFalse(self.internal.lookup("x").is_global())
103 self.assertFalse(self.Mine.lookup("instance_var").is_global())
106 self.assertTrue(self.spam.lookup("x").is_local())
107 self.assertFalse(self.internal.lookup("x").is_local())
110 self.assertTrue(self.internal.lookup("x").is_referenced())
111 self.assertTrue(self.spam.lookup("internal").is_referenced())
[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/r8/src/test/examplesAndroidO/invokecustom/
DInvokeCustom.java79 final MethodHandles.Lookup lookup = MethodHandles.lookup(); in bsmLookupStatic() local
80 final MethodHandle targetMH = lookup.findStatic(lookup.lookupClass(), name, type); in bsmLookupStatic()
91 final MethodHandles.Lookup lookup = MethodHandles.lookup(); in bsmLookupStaticWithExtraArgs() local
92 final MethodHandle targetMH = lookup.findStatic(lookup.lookupClass(), name, type); in bsmLookupStaticWithExtraArgs()
109 final MethodHandle targetMH = MethodHandles.lookup().findSpecial(Super.class, in bsmCreateCallSite()
119 MethodHandles.lookup().findVirtual( in bsmCreateCallCallingtargetMethodTest6()
129 MethodHandles.lookup().findVirtual( in bsmCreateCallCallingtargetMethodTest7()
143 MethodHandles.lookup().findVirtual( in bsmCreateCallCallingtargetMethodTest8()
153 MethodHandles.lookup().findVirtual( in bsmCreateCallCallingtargetMethodTest9()
167 MethodHandles.lookup().findVirtual( in bsmCreateCallCallingtargetMethodTest10()
/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/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_iz.cpp130 int lookup = key->iz_lookup; in setup_fs_payload_gen4() local
132 assert(lookup < IZ_BIT_MAX); in setup_fs_payload_gen4()
140 (lookup & IZ_PS_KILL_ALPHATEST_BIT) && in setup_fs_payload_gen4()
141 wm_iz_table[lookup].mode == P) { in setup_fs_payload_gen4()
147 if (wm_iz_table[lookup].sd_present || prog_data->uses_src_depth || in setup_fs_payload_gen4()
153 if (wm_iz_table[lookup].sd_to_rt || kill_stats_promoted_workaround) in setup_fs_payload_gen4()
156 if (wm_iz_table[lookup].ds_present || key->line_aa != AA_NEVER) { in setup_fs_payload_gen4()
159 !wm_iz_table[lookup].ds_present && key->line_aa == AA_SOMETIMES; in setup_fs_payload_gen4()
163 if (wm_iz_table[lookup].dd_present) { in setup_fs_payload_gen4()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dcmd.py10 from mako.lookup import TemplateLookup
38 lookup = TemplateLookup(lookup_dirs)
40 template = Template(sys.stdin.read(), lookup=lookup)
48 lookup = TemplateLookup(lookup_dirs)
50 template = Template(filename=filename, lookup=lookup)
/external/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp434 LazyCallGraph::Node &N1 = *CG.lookup(lookupFunction(*M, "f1")); in TEST()
435 LazyCallGraph::Node &N2 = *CG.lookup(lookupFunction(*M, "f2")); in TEST()
436 LazyCallGraph::Node &N3 = *CG.lookup(lookupFunction(*M, "f3")); in TEST()
437 LazyCallGraph::Node &N4 = *CG.lookup(lookupFunction(*M, "f4")); in TEST()
438 LazyCallGraph::Node &N5 = *CG.lookup(lookupFunction(*M, "f4")); in TEST()
483 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
484 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
485 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
486 LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d")); in TEST()
604 LazyCallGraph::Node &A1 = *CG.lookup(lookupFunction(*M, "a1")); in TEST()
[all …]
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DMemberValuePropagation.java133 DexEncodedMethod definition = appInfo.lookup(invoke.getType(), invokedMethod); in rewriteWithConstantValues()
137 ProguardMemberRuleLookup lookup = lookupMemberRule(definition); in rewriteWithConstantValues() local
138 if (lookup != null) { in rewriteWithConstantValues()
139 if (lookup.type == RuleType.ASSUME_NO_SIDE_EFFECTS in rewriteWithConstantValues()
146 constantReplacementFromProguardRule(lookup.rule, code, invoke); in rewriteWithConstantValues()
148 replaceInstructionFromProguardRule(lookup.type, iterator, current, replacement); in rewriteWithConstantValues()
152 setValueRangeFromProguardRule(lookup.rule, current.outValue()); in rewriteWithConstantValues()
196 ProguardMemberRuleLookup lookup = null; in rewriteWithConstantValues() local
201 lookup = lookupMemberRule(target); in rewriteWithConstantValues()
202 if (lookup != null) { in rewriteWithConstantValues()
[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/src/ic/
Dic.cc1050 bool IsCompatibleReceiver(LookupIterator* lookup, Handle<Map> receiver_map) { in IsCompatibleReceiver() argument
1051 DCHECK(lookup->state() == LookupIterator::ACCESSOR); in IsCompatibleReceiver()
1052 Isolate* isolate = lookup->isolate(); in IsCompatibleReceiver()
1053 Handle<Object> accessors = lookup->GetAccessors(); in IsCompatibleReceiver()
1066 Handle<JSObject> holder = lookup->GetHolder<JSObject>(); in IsCompatibleReceiver()
1067 Handle<Object> receiver = lookup->GetReceiver(); in IsCompatibleReceiver()
1089 void LoadIC::UpdateCaches(LookupIterator* lookup) { in UpdateCaches() argument
1095 TRACE_IC("LoadIC", lookup->name()); in UpdateCaches()
1100 if (lookup->state() == LookupIterator::JSPROXY || in UpdateCaches()
1101 lookup->state() == LookupIterator::ACCESS_CHECK) { in UpdateCaches()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DMethodDescriptor.cs88 IDescriptor lookup = File.DescriptorPool.LookupSymbol(Proto.InputType, this); in CrossLink()
89 if (!(lookup is MessageDescriptor)) in CrossLink()
93 inputType = (MessageDescriptor) lookup; in CrossLink()
95 lookup = File.DescriptorPool.LookupSymbol(Proto.OutputType, this); in CrossLink()
96 if (!(lookup is MessageDescriptor)) in CrossLink()
100 outputType = (MessageDescriptor) lookup; in CrossLink()
/external/protobuf/src/google/protobuf/stubs/
Dstringpiece.cc170 bool lookup[UCHAR_MAX + 1] = { false }; in find_first_of() local
171 BuildLookupTable(s, lookup); in find_first_of()
173 if (lookup[static_cast<unsigned char>(ptr_[i])]) { in find_first_of()
187 bool lookup[UCHAR_MAX + 1] = { false }; in find_first_not_of() local
188 BuildLookupTable(s, lookup); in find_first_not_of()
190 if (!lookup[static_cast<unsigned char>(ptr_[i])]) { in find_first_not_of()
215 bool lookup[UCHAR_MAX + 1] = { false }; in find_last_of() local
216 BuildLookupTable(s, lookup); in find_last_of()
219 if (lookup[static_cast<unsigned char>(ptr_[i])]) { in find_last_of()
236 bool lookup[UCHAR_MAX + 1] = { false }; in find_last_not_of() local
[all …]
/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 …]
/external/pdfium/xfa/fxbarcode/datamatrix/
DBC_SymbolInfo.cpp117 CBC_SymbolInfo* CBC_SymbolInfo::lookup(int32_t dataCodewords, int32_t& e) { in lookup() function in CBC_SymbolInfo
118 return lookup(dataCodewords, FORCE_NONE, true, e); in lookup()
120 CBC_SymbolInfo* CBC_SymbolInfo::lookup(int32_t dataCodewords, in lookup() function in CBC_SymbolInfo
123 return lookup(dataCodewords, shape, true, e); in lookup()
125 CBC_SymbolInfo* CBC_SymbolInfo::lookup(int32_t dataCodewords, in lookup() function in CBC_SymbolInfo
130 return lookup(dataCodewords, shape, fail, e); in lookup()
132 CBC_SymbolInfo* CBC_SymbolInfo::lookup(int32_t dataCodewords, in lookup() function in CBC_SymbolInfo
136 return lookup(dataCodewords, shape, nullptr, nullptr, fail, e); in lookup()
138 CBC_SymbolInfo* CBC_SymbolInfo::lookup(int32_t dataCodewords, in lookup() function in CBC_SymbolInfo
/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/llvm/include/llvm/Support/
DAtomicOrdering.h91 static const bool lookup[8][8] = { in isStrongerThan() local
102 return lookup[(size_t)ao][(size_t)other]; in isStrongerThan()
107 static const bool lookup[8][8] = { in isAtLeastOrStrongerThan() local
118 return lookup[(size_t)ao][(size_t)other]; in isAtLeastOrStrongerThan()
138 static const AtomicOrderingCABI lookup[8] = { in toCABI() local
148 return lookup[(size_t)ao]; in toCABI()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp226 const char* lookup = DE_NULL; in initializePrograms() local
230 …case PROGRAM_2D_FLOAT: sampler = "sampler2D"; lookup = "texture(u_sampler, v_texCoord)"; … in initializePrograms()
231 …case PROGRAM_2D_INT: sampler = "isampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord))";… in initializePrograms()
232 …case PROGRAM_2D_UINT: sampler = "usampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord))"… in initializePrograms()
233 …case PROGRAM_2D_SHADOW: sampler = "sampler2DShadow"; lookup = "vec4(texture(u_sampler, vec3(v_t… in initializePrograms()
234 …case PROGRAM_2D_FLOAT_BIAS: sampler = "sampler2D"; lookup = "texture(u_sampler, v_texCoord, u_… in initializePrograms()
235 …case PROGRAM_2D_INT_BIAS: sampler = "isampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord… in initializePrograms()
236 …case PROGRAM_2D_UINT_BIAS: sampler = "usampler2D"; lookup = "vec4(texture(u_sampler, v_texCoor… in initializePrograms()
237 …case PROGRAM_2D_SHADOW_BIAS: sampler = "sampler2DShadow"; lookup = "vec4(texture(u_sampler, vec3(… in initializePrograms()
238 …case PROGRAM_1D_FLOAT: sampler = "sampler1D"; lookup = "texture(u_sampler, v_texCoord)"; … in initializePrograms()
[all …]
/external/swiftshader/third_party/LLVM/unittests/ADT/
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 …]

12345678910>>...35