Home
last modified time | relevance | path

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

12345678910>>...97

/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DFileTreeTest.java149 assertExists(lookup("/"), "/", "/"); in testLookup_root()
150 assertExists(lookup("$"), "$", "$"); in testLookup_root()
156 lookup("!"); in testLookup_nonExistentRoot()
162 lookup("!a"); in testLookup_nonExistentRoot()
170 assertExists(lookup("/work"), "/", "work"); in testLookup_absolute()
171 assertExists(lookup("/work/one/two/three"), "two", "three"); in testLookup_absolute()
172 assertExists(lookup("$a"), "$", "a"); in testLookup_absolute()
173 assertExists(lookup("$a/b/c"), "b", "c"); in testLookup_absolute()
179 lookup("/a/b"); in testLookup_absolute_notExists()
185 lookup("/work/one/foo/bar"); in testLookup_absolute_notExists()
[all …]
/external/fonttools/Tests/feaLib/data/
Dlookupflag.fea8 lookup A {
13 lookup B {
18 lookup C {
23 lookup D {
29 lookup E {
34 lookup F {
39 lookup G {
44 lookup H {
49 lookup I {
54 lookup J {
[all …]
Dbug1307.fea3 lookup a {
7 lookup b {
11 lookup c {
15 lookup d {
19 lookup e {
23 lookup f {
27 lookup g {
31 lookup h {
35 lookup i {
46 lookup a;
[all …]
DGSUB_6.fea1 lookup ChainedSingleSubst {
6 lookup ChainedMultipleSubst {
10 lookup ChainedAlternateSubst {
14 lookup ChainedLigatureSubst {
18 lookup ChainedContextualSubst {
19 sub A D E c_t' lookup ChainedMultipleSubst V W X;
23 lookup ChainedSingleSubst;
24 lookup ChainedMultipleSubst;
25 lookup ChainedAlternateSubst;
26 lookup ChainedLigatureSubst;
[all …]
DGPOS_8.fea3 lookup ChainedSinglePos {
7 lookup L1 {
11 lookup L2 {
15 lookup ChainedContextualPos {
16 pos [A a] [B b] I' lookup L1 N' lookup L2 P' [Y y] [Z z];
20 lookup ChainedSinglePos;
21 lookup ChainedContextualPos;
/external/swiftshader/tests/SystemUnitTests/
DLRUCacheTests.cpp47 ASSERT_EQ(cache.lookup(""), ""); in TEST()
48 ASSERT_EQ(cache.lookup("123"), ""); in TEST()
70 ASSERT_EQ(cache.lookup("1"), "one"); in TEST()
71 ASSERT_EQ(cache.lookup("2"), "two"); in TEST()
72 ASSERT_EQ(cache.lookup("3"), "three"); in TEST()
73 ASSERT_EQ(cache.lookup("4"), "four"); in TEST()
94 ASSERT_EQ(cache.lookup("1"), ""); in TEST()
95 ASSERT_EQ(cache.lookup("2"), ""); in TEST()
96 ASSERT_EQ(cache.lookup("3"), "three"); in TEST()
97 ASSERT_EQ(cache.lookup("4"), "four"); in TEST()
[all …]
/external/python/cpython3/Lib/test/
Dtest_symtable.py99 self.assertTrue(self.spam.lookup("glob").is_global())
100 self.assertFalse(self.spam.lookup("glob").is_declared_global())
101 self.assertTrue(self.spam.lookup("bar").is_global())
102 self.assertTrue(self.spam.lookup("bar").is_declared_global())
103 self.assertFalse(self.internal.lookup("x").is_global())
104 self.assertFalse(self.Mine.lookup("instance_var").is_global())
105 self.assertTrue(self.spam.lookup("bar").is_global())
107 self.assertTrue(self.top.lookup("some_non_assigned_global_var").is_global())
108 self.assertTrue(self.top.lookup("some_assigned_global_var").is_global())
111 self.assertFalse(self.spam.lookup("some_var").is_nonlocal())
[all …]
/external/grpc-grpc/examples/ruby/pubsub/tech/pubsub/proto/
Dpubsub.rb132 Topic = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.Topic").msgclass
133 …PubsubMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.PubsubMessage"…
134 …GetTopicRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.GetTopicRequ…
135 …PublishRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.PublishReques…
136 …PublishBatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.PublishB…
137 …PublishBatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.Publish…
138 …ListTopicsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.ListTopics…
139 …ListTopicsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.ListTopic…
140 …DeleteTopicRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.DeleteTop…
141 …Subscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.Subscription").…
[all …]
/external/fonttools/Tests/voltLib/
Dparser_test.py467 [lookup] = self.parse(
477 [lookup] = self.parse(
488 self.assertEqual(lookup.name, "test")
489 self.assertEqual(lookup.comments, "Hello\nWorld")
495 [lookup] = self.parse(
508 [lookup] = self.parse(
524 [lookup] = self.parse(
540 [lookup] = self.parse(
556 [lookup] = self.parse(
570 self.assertEqual(lookup.name, "smcp")
[all …]
/external/rust/crates/quiche/deps/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/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/brotli/java/org/brotli/dec/
DContext.java20 private static void unpackLookupTable(int[] lookup, String map, String rle) { in unpackLookupTable() argument
23 lookup[i] = i & 0x3F; in unpackLookupTable()
24 lookup[512 + i] = i >> 2; in unpackLookupTable()
25 lookup[1792 + i] = 2 + (i >> 6); in unpackLookupTable()
29 lookup[1024 + i] = 4 * (map.charAt(i) - 32); in unpackLookupTable()
32 lookup[1152 + i] = i & 1; in unpackLookupTable()
33 lookup[1216 + i] = 2 + (i & 1); in unpackLookupTable()
40 lookup[offset++] = value; in unpackLookupTable()
45 lookup[1792 + i] = 1; in unpackLookupTable()
46 lookup[2032 + i] = 6; in unpackLookupTable()
[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/llvm-project/openmp/runtime/test/ompt/misc/
Dapi_calls_without_ompt.c112 int ompt_initialize(ompt_function_lookup_t lookup, int initial_device_num, in ompt_initialize() argument
114 ompt_set_callback = (ompt_set_callback_t)lookup("ompt_set_callback"); in ompt_initialize()
115 ompt_get_callback = (ompt_get_callback_t)lookup("ompt_get_callback"); in ompt_initialize()
116 ompt_get_state = (ompt_get_state_t)lookup("ompt_get_state"); in ompt_initialize()
117 ompt_get_task_info = (ompt_get_task_info_t)lookup("ompt_get_task_info"); in ompt_initialize()
118 ompt_get_thread_data = (ompt_get_thread_data_t)lookup("ompt_get_thread_data"); in ompt_initialize()
120 (ompt_get_parallel_info_t)lookup("ompt_get_parallel_info"); in ompt_initialize()
121 ompt_get_unique_id = (ompt_get_unique_id_t)lookup("ompt_get_unique_id"); in ompt_initialize()
123 ompt_get_num_procs = (ompt_get_num_procs_t)lookup("ompt_get_num_procs"); in ompt_initialize()
124 ompt_get_num_places = (ompt_get_num_places_t)lookup("ompt_get_num_places"); in ompt_initialize()
[all …]
/external/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/Inputs/
Dtag-types.lldbinit1 type lookup -- Struct
2 type lookup -- Class
3 type lookup -- Union
4 type lookup -- Derived
5 type lookup -- Derived2
6 type lookup -- DerivedVirtual1
7 type lookup -- DerivedVirtual2
8 type lookup -- EnumInt
9 type lookup -- EnumShort
10 type lookup -- InvalidType
/external/grpc-grpc/src/ruby/qps/src/proto/grpc/testing/
Dcontrol_pb.rb160 …PoissonParams = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.PoissonParams…
161 …ClosedLoopParams = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ClosedLoop…
162 …LoadParams = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.LoadParams").msg…
163 …SecurityParams = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SecurityPara…
164 …ChannelArg = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ChannelArg").msg…
165 …ClientConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ClientConfig")…
166 …ClientStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ClientStatus")…
167 Mark = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.Mark").msgclass
168 …ClientArgs = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ClientArgs").msg…
169 …ServerConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ServerConfig")…
[all …]
Dmessages_pb.rb68 …BoolValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.BoolValue").msgcl…
69 … Payload = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.Payload").msgclass
70 …EchoStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.EchoStatus").msg…
71 …SimpleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SimpleRequest…
72 …SimpleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SimpleRespon…
73 …StreamingInputCallRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.S…
74 …StreamingInputCallResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.…
75 …ResponseParameters = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.Response…
76 …StreamingOutputCallRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.…
77 …StreamingOutputCallResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing…
[all …]
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DPartitionInfoTest.java71 byte[] lookup = info.getPartitionLookupArray(); in testPartitionInfo()
72 assertThat(lookup[LSR.indexForRegion("CA")]).isEqualTo(1); in testPartitionInfo()
73 assertThat(lookup[LSR.indexForRegion("VI")]).isEqualTo(1); in testPartitionInfo()
74 assertThat(lookup[LSR.indexForRegion("DE")]).isEqualTo(2); in testPartitionInfo()
75 assertThat(lookup[LSR.indexForRegion("FR")]).isEqualTo(2); in testPartitionInfo()
76 assertThat(lookup[LSR.indexForRegion("GB")]).isEqualTo(3); in testPartitionInfo()
77 assertThat(lookup[LSR.indexForRegion("PR")]).isEqualTo(4); in testPartitionInfo()
78 assertThat(lookup[LSR.indexForRegion("US")]).isEqualTo(4); in testPartitionInfo()
79 assertThat(lookup[LSR.indexForRegion("001")]).isEqualTo(5); in testPartitionInfo()
80 assertThat(lookup[LSR.indexForRegion("003")]).isEqualTo(6); in testPartitionInfo()
[all …]
/external/grpc-grpc/src/ruby/pb/src/proto/grpc/testing/
Dmessages_pb.rb68 …BoolValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.BoolValue").msgcl…
69 … Payload = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.Payload").msgclass
70 …EchoStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.EchoStatus").msg…
71 …SimpleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SimpleRequest…
72 …SimpleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SimpleRespon…
73 …StreamingInputCallRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.S…
74 …StreamingInputCallResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.…
75 …ResponseParameters = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.Response…
76 …StreamingOutputCallRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.…
77 …StreamingOutputCallResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing…
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dembedding_lookup.cc49 const TfLiteTensor* lookup; in Prepare() local
50 TF_LITE_ENSURE_OK(context, GetInputSafe(context, node, 0, &lookup)); in Prepare()
51 TF_LITE_ENSURE_EQ(context, NumDimensions(lookup), 1); in Prepare()
52 TF_LITE_ENSURE_EQ(context, lookup->type, kTfLiteInt32); in Prepare()
62 outputSize->data[0] = SizeOfDimension(lookup, 0); in Prepare()
71 const TfLiteTensor* lookup, const TfLiteTensor* value, in EvalSimple() argument
78 const int32_t* lookup_data = GetTensorData<int32_t>(lookup); in EvalSimple()
79 for (int i = 0; i < SizeOfDimension(lookup, 0); i++) { in EvalSimple()
97 const TfLiteTensor* lookup, const TfLiteTensor* value, in EvalHybrid() argument
110 const int32_t* lookup_data = GetTensorData<int32_t>(lookup); in EvalHybrid()
[all …]
/external/turbine/java/com/google/turbine/binder/lookup/
DImportScope.java17 package com.google.turbine.binder.lookup;
39 LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve); in lookup() method
45 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) { in append()
46 LookupResult result = next.lookup(lookupKey, resolve); in append()
50 return ImportScope.this.lookup(lookupKey, resolve); in append()
63 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) {
64 return scope.lookup(lookupKey);
74 public LookupResult lookup(LookupKey lookupKey) {
75 return ImportScope.this.lookup(lookupKey, resolve);
/external/protobuf/ruby/tests/
Dbasic_proto2.rb26 BadFieldNames = pool.lookup("BadFieldNames").msgclass
40 assert !TestMessage.descriptor.lookup('optional_int32').has?(m)
42 assert !TestMessage.descriptor.lookup('optional_int64').has?(m)
44 assert !TestMessage.descriptor.lookup('optional_uint32').has?(m)
46 assert !TestMessage.descriptor.lookup('optional_uint64').has?(m)
48 assert !TestMessage.descriptor.lookup('optional_bool').has?(m)
50 assert !TestMessage.descriptor.lookup('optional_float').has?(m)
52 assert !TestMessage.descriptor.lookup('optional_double').has?(m)
54 assert !TestMessage.descriptor.lookup('optional_string').has?(m)
56 assert !TestMessage.descriptor.lookup('optional_bytes').has?(m)
[all …]

12345678910>>...97