/external/python/cpython3/Lib/test/ |
D | test_finalization.py | 130 def assert_del_calls(self, ids): argument 131 self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids)) 133 def assert_tp_del_calls(self, ids): argument 134 self.assertEqual(sorted(SimpleBase.tp_del_calls), sorted(ids)) 136 def assert_survivors(self, ids): argument 137 self.assertEqual(sorted(id(x) for x in SimpleBase.survivors), sorted(ids)) 139 def assert_garbage(self, ids): argument 140 self.assertEqual(sorted(id(x) for x in gc.garbage), sorted(ids)) 154 ids = [id(s)] 158 self.assert_del_calls(ids) [all …]
|
/external/autotest/client/cros/chameleon/ |
D | audio_level.py | 9 from autotest_lib.client.cros.chameleon import chameleon_audio_ids as ids unknown 42 ids.ChameleonIds.LINEOUT: _AudioLevel.LINE_LEVEL, 43 ids.ChameleonIds.USBOUT: _AudioLevel.DIGITAL, 44 ids.CrosIds.HDMI: _AudioLevel.DIGITAL, 45 ids.CrosIds.HEADPHONE: _AudioLevel.LINE_LEVEL, 46 ids.CrosIds.SPEAKER: _AudioLevel.LINE_LEVEL, 47 ids.CrosIds.BLUETOOTH_HEADPHONE: _AudioLevel.DIGITAL, 48 ids.CrosIds.USBOUT: _AudioLevel.DIGITAL, 49 ids.PeripheralIds.MIC: _AudioLevel.MIC_LEVEL, 50 ids.PeripheralIds.BLUETOOTH_DATA_RX: _AudioLevel.LINE_LEVEL, [all …]
|
D | chameleon_audio_helper.py | 15 from autotest_lib.client.cros.chameleon import chameleon_audio_ids as ids unknown 44 self.host = ids.get_host(port_id) 45 self.interface = ids.get_interface(port_id) 46 self.role = ids.get_role(port_id) 82 (ids.CrosIds.HDMI, ids.ChameleonIds.HDMI): 84 (ids.CrosIds.HEADPHONE, ids.ChameleonIds.LINEIN): 86 (ids.ChameleonIds.LINEOUT, ids.CrosIds.EXTERNAL_MIC): 88 (ids.ChameleonIds.LINEOUT, ids.PeripheralIds.SPEAKER): 90 (ids.PeripheralIds.MIC, ids.ChameleonIds.LINEIN): 92 (ids.PeripheralIds.BLUETOOTH_DATA_RX, [all …]
|
D | audio_board.py | 9 from autotest_lib.client.cros.chameleon import chameleon_audio_ids as ids unknown 85 ids.ChameleonIds.LINEIN: 'Chameleon FPGA line-in', 86 ids.ChameleonIds.LINEOUT: 'Chameleon FPGA line-out', 87 ids.CrosIds.HEADPHONE: 'Cros device headphone', 88 ids.CrosIds.EXTERNAL_MIC: 'Cros device external microphone', 89 ids.PeripheralIds.SPEAKER: 'Peripheral speaker', 90 ids.PeripheralIds.MIC: 'Peripheral microphone', 91 ids.PeripheralIds.BLUETOOTH_DATA_RX: 93 ids.PeripheralIds.BLUETOOTH_DATA_TX:
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t039labels.py | 37 ids, w = parser.a() 39 assert len(ids) == 6, ids 40 assert ids[0].text == 'a', ids[0] 41 assert ids[1].text == 'b', ids[1] 42 assert ids[2].text == 'c', ids[2] 43 assert ids[3].text == '1', ids[3] 44 assert ids[4].text == '2', ids[4] 45 assert ids[5].text == 'A', ids[5]
|
D | t042ast.g | 215 : ids+=ID (','! ids+=ID)* 219 : ids+=ID! (','! ids+=ID!)* {$res = [id.text for id in $ids]} 223 : ids+=ID^ (','! ids+=ID^)* 231 : ids+=primary! (','! ids+=primary!)* {$res = [id.text for id in $ids]} 235 : ids+=primary (','! ids+=primary)* 239 : ids+=. (','! ids+=.)*
|
/external/iptables/extensions/ |
D | libip6t_frag.c | 31 .flags = XTOPT_INVERT | XTOPT_PUT, XTOPT_POINTER(s, ids)}, 48 fraginfo->ids[1] = ~0U; in frag_init() 59 fraginfo->ids[1] = fraginfo->ids[0]; in frag_parse() 113 print_ids("id", frag->ids[0], frag->ids[1], in frag_print() 143 if (!(fraginfo->ids[0] == 0 in frag_save() 144 && fraginfo->ids[1] == 0xFFFFFFFF)) { in frag_save() 147 if (fraginfo->ids[0] in frag_save() 148 != fraginfo->ids[1]) in frag_save() 150 fraginfo->ids[0], in frag_save() 151 fraginfo->ids[1]); in frag_save() [all …]
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | encoders.py | 32 def bow_encoder(ids, argument 71 scope, 'bow_encoder', [ids], reuse=reuse): 77 if isinstance(ids, sparse_tensor.SparseTensor): 78 sparse_ids = ids 80 sparse_ids = sparse_ops.dense_to_sparse_tensor(ids) 84 if isinstance(ids, sparse_tensor.SparseTensor): 85 raise TypeError('ids are expected to be dense Tensor, got: %s', ids) 87 embedding_ops.embedding_lookup(embeddings, ids), 91 def embed_sequence(ids, argument 132 scope, 'EmbedSequence', [ids], reuse=reuse): [all …]
|
D | embedding_ops.py | 352 ids = sparse_feature_cross_op.sparse_feature_cross( 355 ids = sparse_ops.sparse_tensor_to_dense(ids) 360 params, ids, partition_strategy="div") 448 def embedding_lookup_unique(params, ids, name=None): argument 469 with ops.name_scope(name, "EmbeddingLookupUnique", [params, ids]): 470 ids = ops.convert_to_tensor(ids) 471 shape = array_ops.shape(ids) 473 ids, math_ops.reduce_prod(shape, keep_dims=True)) 480 embeds.set_shape(ids.get_shape().concatenate( 646 ids = sp_ids.values [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | embedding_ops.py | 38 def _gather(params, ids, name=None): argument 53 return params.sparse_read(ids, name=name) 55 return array_ops.gather(params, ids, name=name) 58 def _clip(params, ids, max_norm): argument 92 ids_rank, ids_static = _rank(ids) 103 ids, argument 142 with ops.name_scope(name, "embedding_lookup", params + [ids]) as name: 148 ids = ops.convert_to_tensor(ids, name="ids") 149 if np == 1 and (not transform_fn or ids.get_shape().ndims == 1): 151 result = _clip(_gather(params[0], ids, name=name), ids, max_norm) [all …]
|
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/ |
D | NameScope.java | 50 return new NameScope(opPrefix, name, ids); in withName() 70 private NameScope(String opPrefix, String opName, Map<String, Integer> ids) { in NameScope() argument 73 if (ids != null) { in NameScope() 74 this.ids = ids; in NameScope() 76 this.ids = new HashMap<String, Integer>(); in NameScope() 92 if (!ids.containsKey(id)) { in makeUnique() 93 ids.put(id, 1); in makeUnique() 96 int cur = ids.get(id); in makeUnique() 97 ids.put(id, cur + 1); in makeUnique() 121 private final Map<String, Integer> ids; field in NameScope
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | embedding_ops_test.py | 191 for ids, wts in zip(id_vals, weight_vals): 195 if isinstance(ids, compat.integral_types): 196 ids = [ids] 198 for i, weight_value in zip(ids, wts): 249 ids = constant_op.constant(list(id_vals), dtype=dtypes.int32) 250 print("Construct ids", ids.get_shape()) 251 embedding = embedding_ops.embedding_lookup(p, ids) 262 ids = constant_op.constant([0], dtype=dtypes.int32) 264 [embeddings], ids, max_norm=1.0) 272 ids = constant_op.constant([0, 1], dtype=dtypes.int32) [all …]
|
D | lookup_ops_test.py | 278 ids = table.lookup(constant_op.constant(["salad", "surgery", "tarkus"])) 280 self.assertRaises(errors_impl.OpError, ids.eval) 282 self.assertAllEqual((1, 2, 3), ids.eval()) 293 ids = table.lookup(constant_op.constant(["salad", "surgery", "tarkus"])) 295 self.assertRaises(errors_impl.OpError, ids.eval) 297 self.assertAllEqual((1, 2, 3), ids.eval()) 309 ids = table.lookup(constant_op.constant(["salad", "surgery", "tarkus"])) 311 self.assertRaises(errors_impl.OpError, ids.eval) 313 self.assertAllEqual((1, 2, 3), ids.eval()) 321 ids = table.lookup(constant_op.constant(["salad", "surgery", "tarkus"])) [all …]
|
/external/libvpx/libvpx/examples/ |
D | vpx_temporal_svc_encoder.c | 226 int ids[1] = { 0 }; in set_temporal_layer_pattern() local 231 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 239 int ids[2] = { 0, 1 }; in set_temporal_layer_pattern() local 245 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 265 int ids[3] = { 0, 1, 1 }; in set_temporal_layer_pattern() local 271 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 283 int ids[6] = { 0, 2, 2, 1, 2, 2 }; in set_temporal_layer_pattern() local 290 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 303 int ids[4] = { 0, 2, 1, 2 }; in set_temporal_layer_pattern() local 310 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
D | properties.rb | 89 ids, w = parser.a 91 ids.should have( 6 ).things 92 ids[ 0 ].text.should == 'a' 93 ids[ 1 ].text.should == 'b' 94 ids[ 2 ].text.should == 'c' 95 ids[ 3 ].text.should == '1' 96 ids[ 4 ].text.should == '2' 97 ids[ 5 ].text.should == 'A'
|
/external/deqp/modules/gles3/functional/ |
D | es3fNegativeFragmentApiTests.cpp | 212 GLuint ids; in init() 213 glGenQueries (-1, &ids); in init() 219 GLuint ids[3]; in init() 220 glGenQueries (3, ids); in init() 223 glBeginQuery (-1, ids[0]); in init() 228 glBeginQuery (GL_ANY_SAMPLES_PASSED, ids[0]); in init() 230 glBeginQuery (GL_ANY_SAMPLES_PASSED, ids[1]); in init() 233 glBeginQuery (GL_ANY_SAMPLES_PASSED_CONSERVATIVE, ids[1]); in init() 235 glBeginQuery (GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, ids[1]); in init() 237 glBeginQuery (GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, ids[2]); in init() [all …]
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/ops/ |
D | embeddings_ops.py | 35 def embedding_lookup(params, ids, name='embedding_lookup'): argument 55 with ops.name_scope(name, 'embedding_lookup', [params, ids]): 57 ids = ops.convert_to_tensor(ids) 58 shape = array_ops_.shape(ids) 60 ids, math_ops.reduce_prod(shape, keep_dims=True)) 64 embeds.set_shape(ids.get_shape().concatenate(params.get_shape()[1:]))
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
D | t042ast.g | 221 : ids+=ID (','! ids+=ID)* 225 …: ids+=ID! (','! ids+=ID!)* {$res = org.antlr.lang.map($ids, function(id) { return id.getText(); }… 229 : ids+=ID^ (','! ids+=ID^)* 237 …: ids+=primary! (','! ids+=primary!)* {$res = org.antlr.lang.map($ids, function(id) { return id.ge… 241 : ids+=primary (','! ids+=primary)* 245 : ids+=. (','! ids+=.)*
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_sampler.c | 237 SVGA3dShaderResourceViewId ids[PIPE_MAX_SAMPLERS]; in update_sampler_resources() local 257 ids[i] = sv->id; in update_sampler_resources() 262 ids[i] = SVGA3D_INVALID_ID; in update_sampler_resources() 268 ids[i] = SVGA3D_INVALID_ID; in update_sampler_resources() 285 ids, in update_sampler_resources() 349 SVGA3dSamplerId ids[PIPE_MAX_SAMPLERS]; in update_samplers() local 355 ids[i] = svga->curr.sampler[shader][i]->id; in update_samplers() 356 assert(ids[i] != SVGA3D_INVALID_ID); in update_samplers() 359 ids[i] = SVGA3D_INVALID_ID; in update_samplers() 364 ids[i] = SVGA3D_INVALID_ID; in update_samplers() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransAPIUses.cpp | 41 IdentifierTable &ids = Pass.Ctx.Idents; in APIChecker() local 42 getReturnValueSel = sels.getUnarySelector(&ids.get("getReturnValue")); in APIChecker() 43 setReturnValueSel = sels.getUnarySelector(&ids.get("setReturnValue")); in APIChecker() 46 selIds[0] = &ids.get("getArgument"); in APIChecker() 47 selIds[1] = &ids.get("atIndex"); in APIChecker() 49 selIds[0] = &ids.get("setArgument"); in APIChecker() 52 zoneSel = sels.getNullarySelector(&ids.get("zone")); in APIChecker()
|
/external/golang-protobuf/proto/ |
D | message_set.go | 171 ids := make([]int, 0, len(m)) 173 ids = append(ids, int(id)) 175 sort.Ints(ids) 178 for _, id := range ids { 248 ids := make([]int32, 0, len(m)) 250 ids = append(ids, id) 252 sort.Sort(int32Slice(ids)) // int32Slice defined in text.go 254 for i, id := range ids {
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stackdepot_test.cc | 73 u32 ids[4] = {0}; in TEST() local 78 ids[0] = StackDepotPut(s1); in TEST() 79 ids[1] = StackDepotPut(s2); in TEST() 80 ids[2] = StackDepotPut(s3); in TEST() 81 ids[3] = StackDepotPut(s4); in TEST() 86 StackTrace stack = StackDepotGet(ids[i]); in TEST() 87 StackTrace from_map = map.Get(ids[i]); in TEST()
|
/external/perfetto/src/ftrace_reader/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_ioctl_pinop/ |
D | format | 12 field:struct nvmap_handle ** ids; offset:24; size:8; signed:0; 13 field:__data_loc struct nvmap_handle *[] ids; offset:32; size:4; signed:0; 15 …ent=%p, is_pin=%d, count=%d, ids=[%s]", REC->client, REC->is_pin, REC->count, __print_hex(__get_dy…
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeFragmentApiTests.cpp | 307 GLuint ids = 0; in gen_queries() local 308 ctx.glGenQueries (-1, &ids); in gen_queries() 315 GLuint ids[3]; in begin_query() local 316 ctx.glGenQueries (3, ids); in begin_query() 319 ctx.glBeginQuery (-1, ids[0]); in begin_query() 324 ctx.glBeginQuery (GL_ANY_SAMPLES_PASSED, ids[0]); in begin_query() 326 ctx.glBeginQuery (GL_ANY_SAMPLES_PASSED, ids[1]); in begin_query() 329 ctx.glBeginQuery (GL_ANY_SAMPLES_PASSED_CONSERVATIVE, ids[1]); in begin_query() 331 ctx.glBeginQuery (GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, ids[1]); in begin_query() 333 ctx.glBeginQuery (GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, ids[2]); in begin_query() [all …]
|
/external/libmtp/examples/ |
D | newplaylist.c | 41 uint32_t *ids = NULL; in main() local 56 if ((tmp = realloc(ids, sizeof(uint32_t) * (idcount))) == NULL) { in main() 60 ids = tmp; in main() 61 ids[(idcount-1)] = strtoul(optarg, &rest, 0); in main() 100 playlist->tracks = ids; in main()
|