/external/tensorflow/tensorflow/contrib/lookup/ |
D | lookup_ops_test.py | 23 from tensorflow.contrib import lookup 46 table = lookup.HashTable( 47 lookup.KeyValueTensorInitializer(keys, values), default_val) 53 output = table.lookup(input_string) 70 table = lookup.HashTable( 71 lookup.KeyValueTensorInitializer(keys, values), default_val) 78 output = table.lookup(input_string) 88 table = lookup.HashTable( 89 lookup.KeyValueTensorInitializer( 97 output = table.lookup(input_string) [all …]
|
/external/fonttools/Tests/feaLib/data/ |
D | lookupflag.fea | 8 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 …]
|
D | bug1307.fea | 3 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 …]
|
D | GSUB_6.fea | 1 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 …]
|
D | GPOS_8.fea | 3 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/grpc-grpc/examples/ruby/pubsub/tech/pubsub/proto/ |
D | pubsub.rb | 132 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/deqp/modules/glshared/ |
D | glsTextureTestUtil.cpp | 181 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/python/cpython3/Lib/test/ |
D | test_symtable.py | 89 self.assertTrue(self.spam.lookup("glob").is_global()) 90 self.assertFalse(self.spam.lookup("glob").is_declared_global()) 91 self.assertTrue(self.spam.lookup("bar").is_global()) 92 self.assertTrue(self.spam.lookup("bar").is_declared_global()) 93 self.assertFalse(self.internal.lookup("x").is_global()) 94 self.assertFalse(self.Mine.lookup("instance_var").is_global()) 97 self.assertTrue(self.spam.lookup("x").is_local()) 98 self.assertFalse(self.internal.lookup("x").is_local()) 101 self.assertTrue(self.internal.lookup("x").is_referenced()) 102 self.assertTrue(self.spam.lookup("internal").is_referenced()) [all …]
|
/external/boringssl/src/crypto/x509/ |
D | x509_d2.c | 64 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/python/cpython2/Lib/test/ |
D | test_symtable.py | 98 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/e2fsprogs/resize/ |
D | test_extent.in | 21 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/fonttools/Tests/voltLib/ |
D | parser_test.py | 472 [lookup] = self.parse( 485 [lookup] = self.parse( 498 [lookup] = self.parse( 514 [lookup] = self.parse( 530 [lookup] = self.parse( 546 [lookup] = self.parse( 560 self.assertEqual(lookup.name, "smcp") 561 self.assertSubEqual(lookup.sub, [["a"], ["b"]], [["a.sc"], ["b.sc"]]) 564 [group, lookup] = self.parse( 581 context = lookup.context[0] [all …]
|
/external/brotli/java/org/brotli/dec/ |
D | Context.java | 20 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/grpc-grpc/src/ruby/qps/src/proto/grpc/testing/ |
D | control_pb.rb | 160 …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 …]
|
D | messages_pb.rb | 68 …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/slf4j/slf4j-ext/src/test/java/org/slf4j/dummyExt/ |
D | MDCStrLookupTest.java | 49 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/grpc-grpc/src/ruby/pb/src/proto/grpc/testing/ |
D | messages_pb.rb | 68 …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/ |
D | embedding_lookup.cc | 54 const TfLiteTensor* lookup = GetInput(context, node, 0); in Prepare() local 55 TF_LITE_ENSURE_EQ(context, NumDimensions(lookup), 1); in Prepare() 56 TF_LITE_ENSURE_EQ(context, lookup->type, kTfLiteInt32); in Prepare() 64 outputSize->data[0] = SizeOfDimension(lookup, 0); in Prepare() 73 const TfLiteTensor* lookup, const TfLiteTensor* value, in EvalFloat() argument 78 for (int i = 0; i < SizeOfDimension(lookup, 0); i++) { in EvalFloat() 79 int idx = lookup->data.i32[i]; in EvalFloat() 96 const TfLiteTensor* lookup, const TfLiteTensor* value, in EvalHybrid() argument 107 for (int i = 0; i < SizeOfDimension(lookup, 0); i++) { in EvalHybrid() 108 int idx = lookup->data.i32[i]; in EvalHybrid() [all …]
|
/external/turbine/java/com/google/turbine/binder/lookup/ |
D | ImportScope.java | 17 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);
|
D | WildImportIndex.java | 17 package com.google.turbine.binder.lookup; 80 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) { in onDemandImport() 81 return packageIndex.lookup(lookupKey); in onDemandImport() 85 LookupResult result = cpi.scope().lookup(new LookupKey(i.type())); in onDemandImport() 95 public LookupResult lookup(LookupKey lookupKey, ResolveFunction unused) { in onDemandImport() 108 LookupResult result = cpi.scope().lookup(new LookupKey(i.type())); 114 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) { 155 public LookupResult lookup(LookupKey lookup, ResolveFunction resolve) { 161 LookupResult result = scope.lookup(lookup, resolve);
|
/external/bcc/tests/python/ |
D | test_brb.c | 79 tx_port_id_p = pem_ifindex.lookup(&ifindex); in pem() 82 dest_p = pem_dest.lookup(&tx_port_id); in pem() 92 ifindex_p = pem_port.lookup(&rx_port); in pem() 97 u32 *value = pem_stats.lookup(&index); in pem() 133 rtrif_p = br1_rtr.lookup(&index); in br_common() 135 rtrif_p = br2_rtr.lookup(&index); in br_common() 141 rtrif_p = br1_mac_ifindex.lookup(&dmac); in br_common() 143 rtrif_p = br2_mac_ifindex.lookup(&dmac); in br_common() 176 rtrif_p = br1_rtr.lookup(&index); in br_common() 178 rtrif_p = br2_rtr.lookup(&index); in br_common() [all …]
|
/external/libphonenumber/repackaged/internal/prefixmapper/test/com/android/i18n/phonenumbers/prefixmapper/ |
D | PhonePrefixMapTest.java | 101 assertEquals("New York", phonePrefixMapForUS.lookup(number)); in testLookupInvalidNumber_US() 106 assertEquals("Westwood, NJ", phonePrefixMapForUS.lookup(number)); in testLookupNumber_NJ() 111 assertEquals("New York", phonePrefixMapForUS.lookup(number)); in testLookupNumber_NY() 116 assertEquals("San Mateo, CA", phonePrefixMapForUS.lookup(number)); in testLookupNumber_CA_1() 121 assertEquals("California", phonePrefixMapForUS.lookup(number)); in testLookupNumber_CA_2() 126 assertEquals("Richardson, TX", phonePrefixMapForUS.lookup(number)); in testLookupNumberFound_TX() 131 assertNull(phonePrefixMapForUS.lookup(number)); in testLookupNumberNotFound_TX() 136 assertNull(phonePrefixMapForUS.lookup(number)); in testLookupNumber_CH() 141 assertEquals("Milan", phonePrefixMapForIT.lookup(number)); in testLookupNumber_IT() 144 assertEquals("Rome", phonePrefixMapForIT.lookup(number)); in testLookupNumber_IT() [all …]
|
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/ |
D | PhonePrefixMapTest.java | 99 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/intel/compiler/ |
D | brw_wm_iz.cpp | 129 int lookup = key->iz_lookup; in setup_fs_payload_gen4() local 131 assert(lookup < BRW_WM_IZ_BIT_MAX); in setup_fs_payload_gen4() 139 (lookup & BRW_WM_IZ_PS_KILL_ALPHATEST_BIT) && in setup_fs_payload_gen4() 140 wm_iz_table[lookup].mode == P) { in setup_fs_payload_gen4() 146 if (wm_iz_table[lookup].sd_present || prog_data->uses_src_depth || in setup_fs_payload_gen4() 152 if (wm_iz_table[lookup].sd_to_rt || kill_stats_promoted_workaround) in setup_fs_payload_gen4() 155 if (wm_iz_table[lookup].ds_present || key->line_aa != BRW_WM_AA_NEVER) { in setup_fs_payload_gen4() 158 !wm_iz_table[lookup].ds_present && key->line_aa == BRW_WM_AA_SOMETIMES; in setup_fs_payload_gen4() 162 if (wm_iz_table[lookup].dd_present) { in setup_fs_payload_gen4()
|
/external/llvm/unittests/Analysis/ |
D | LazyCallGraphTest.cpp | 434 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 …]
|