/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 43 self.host = ids.get_host(port_id) 44 self.interface = ids.get_interface(port_id) 45 self.role = ids.get_role(port_id) 81 (ids.CrosIds.HDMI, ids.ChameleonIds.HDMI): 83 (ids.CrosIds.HEADPHONE, ids.ChameleonIds.LINEIN): 85 (ids.ChameleonIds.LINEOUT, ids.CrosIds.EXTERNAL_MIC): 87 (ids.ChameleonIds.LINEOUT, ids.PeripheralIds.SPEAKER): 89 (ids.PeripheralIds.MIC, ids.ChameleonIds.LINEIN): 91 (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/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/antlr/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/antlr/runtime/Python3/tests/ |
D | t039labels.py | 37 ids, w = parser.a() 39 self.assertEqual(len(ids), 6, ids) 40 self.assertEqual(ids[0].text, 'a', ids[0]) 41 self.assertEqual(ids[1].text, 'b', ids[1]) 42 self.assertEqual(ids[2].text, 'c', ids[2]) 43 self.assertEqual(ids[3].text, '1', ids[3]) 44 self.assertEqual(ids[4].text, '2', ids[4]) 45 self.assertEqual(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), axis=1) 90 def embed_sequence(ids, argument 131 scope, 'EmbedSequence', [ids], reuse=reuse): [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/skia/src/compute/skc/ |
D | suballocator.c | 76 suballocator->ids = skc_runtime_host_perm_alloc(runtime, in skc_suballocator_create() 78 sizeof(*suballocator->ids) * subbufs); in skc_suballocator_create() 80 suballocator->ids[ii] = ii; in skc_suballocator_create() 98 skc_runtime_host_perm_free(runtime,suballocator->ids); in skc_suballocator_dispose() 139 skc_subbuf_id_t * const ids = suballocator->ids; in skc_suballocator_subbuf_alloc() local 148 skc_subbuf_id_t const avail_id = ids[avail_idx]; in skc_suballocator_subbuf_alloc() 173 skc_subbuf_id_t const last_id = ids[avail_rem]; in skc_suballocator_subbuf_alloc() 176 ids[avail_idx] = last_id; // move id in skc_suballocator_subbuf_alloc() 190 skc_subbuf_id_t const spare_id = ids[spare_idx]; in skc_suballocator_subbuf_alloc() 290 skc_subbuf_id_t const last_id = suballocator->ids[last_idx]; in skc_suballocator_subbuf_free() [all …]
|
/external/skqp/src/compute/skc/ |
D | suballocator.c | 76 suballocator->ids = skc_runtime_host_perm_alloc(runtime, in skc_suballocator_create() 78 sizeof(*suballocator->ids) * subbufs); in skc_suballocator_create() 80 suballocator->ids[ii] = ii; in skc_suballocator_create() 98 skc_runtime_host_perm_free(runtime,suballocator->ids); in skc_suballocator_dispose() 139 skc_subbuf_id_t * const ids = suballocator->ids; in skc_suballocator_subbuf_alloc() local 148 skc_subbuf_id_t const avail_id = ids[avail_idx]; in skc_suballocator_subbuf_alloc() 173 skc_subbuf_id_t const last_id = ids[avail_rem]; in skc_suballocator_subbuf_alloc() 176 ids[avail_idx] = last_id; // move id in skc_suballocator_subbuf_alloc() 190 skc_subbuf_id_t const spare_id = ids[spare_idx]; in skc_suballocator_subbuf_alloc() 290 skc_subbuf_id_t const last_id = suballocator->ids[last_idx]; in skc_suballocator_subbuf_free() [all …]
|
/external/antlr/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/libvpx/libvpx/examples/ |
D | vpx_temporal_svc_encoder.c | 252 int ids[1] = { 0 }; in set_temporal_layer_pattern() local 257 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 265 int ids[2] = { 0, 1 }; in set_temporal_layer_pattern() local 271 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 291 int ids[3] = { 0, 1, 1 }; in set_temporal_layer_pattern() local 297 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 309 int ids[6] = { 0, 2, 2, 1, 2, 2 }; in set_temporal_layer_pattern() local 316 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 329 int ids[4] = { 0, 2, 1, 2 }; in set_temporal_layer_pattern() local 336 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | embedding_ops_test.py | 199 for ids, wts in zip(id_vals, weight_vals): 203 if isinstance(ids, compat.integral_types): 204 ids = [ids] 206 for i, weight_value in zip(ids, wts): 258 ids = constant_op.constant(list(id_vals), dtype=dtypes.int32) 259 print("Construct ids", ids.get_shape()) 260 embedding = embedding_ops.embedding_lookup(p, ids) 272 ids = constant_op.constant([0], dtype=dtypes.int32) 274 [embeddings], ids, max_norm=1.0) 283 ids = constant_op.constant([0, 1], dtype=dtypes.int32) [all …]
|
/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/syzkaller/vendor/google.golang.org/grpc/internal/channelz/ |
D | funcs.go | 374 ids := make([]int64, 0, l) 378 ids = append(ids, k) 380 sort.Sort(int64Slice(ids)) 381 idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= id }) 385 for i, v := range ids[idx:] { 397 if i == len(ids[idx:])-1 { 418 ids := make([]int64, 0, l) 421 ids = append(ids, k) 423 sort.Sort(int64Slice(ids)) 424 idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= id }) [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | embedding_ops.py | 40 def _clip(params, ids, max_norm): argument 74 ids_rank, ids_static = _rank(ids) 85 ids, argument 124 with ops.name_scope(name, "embedding_lookup", params + [ids]) as name: 130 ids = ops.convert_to_tensor(ids, name="ids") 131 if np == 1 and (not transform_fn or ids.get_shape().ndims == 1): 133 result = _clip(array_ops.gather(params[0], ids, name=name), 134 ids, max_norm) 147 flat_ids = array_ops.reshape(ids, [-1]) 238 [array_ops.shape(ids), element_shape_d], 0)) [all …]
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/ops/ |
D | embeddings_ops.py | 39 def embedding_lookup(params, ids, name='embedding_lookup'): argument 59 with ops.name_scope(name, 'embedding_lookup', [params, ids]): 61 ids = ops.convert_to_tensor(ids) 62 shape = array_ops_.shape(ids) 64 ids, math_ops.reduce_prod(shape, keepdims=True)) 68 embeds.set_shape(ids.get_shape().concatenate(params.get_shape()[1:]))
|
/external/antlr/runtime/Cpp/tests/ |
D | t042ast.g | 228 : ids+=ID (','! ids+=ID)* 232 : ids+=ID! (','! ids+=ID!)* {$res = [id.text for id in $ids]} 236 : ids+=ID^ (','! ids+=ID^)* 244 : ids+=primary! (','! ids+=primary!)* {$res = [id.text for id in $ids]} 248 : ids+=primary (','! ids+=primary)* 252 : ids+=. (','! ids+=.)*
|
/external/antlr/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/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/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() 281 SVGA3dShaderResourceViewId *pIds = ids; in update_sampler_resources() 389 SVGA3dSamplerId ids[PIPE_MAX_SAMPLERS]; in update_samplers() local 409 ids[i] = svga->curr.sampler[shader][i]->id[fs_shadow]; in update_samplers() 410 assert(ids[i] != SVGA3D_INVALID_ID); in update_samplers() 413 ids[i] = SVGA3D_INVALID_ID; in update_samplers() 418 ids[i] = SVGA3D_INVALID_ID; in update_samplers() [all …]
|
/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()
|