/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 | 19 from autotest_lib.client.cros.chameleon import chameleon_audio_ids as ids unknown 48 self.host = ids.get_host(port_id) 49 self.interface = ids.get_interface(port_id) 50 self.role = ids.get_role(port_id) 86 (ids.CrosIds.HDMI, ids.ChameleonIds.HDMI): 88 (ids.CrosIds.HEADPHONE, ids.ChameleonIds.LINEIN): 90 (ids.ChameleonIds.LINEOUT, ids.CrosIds.EXTERNAL_MIC): 92 (ids.ChameleonIds.LINEOUT, ids.PeripheralIds.SPEAKER): 94 (ids.PeripheralIds.MIC, ids.ChameleonIds.LINEIN): 96 (ids.PeripheralIds.BLUETOOTH_DATA_RX, [all …]
|
/external/openscreen/util/ |
D | trace_logging_unittest.cc | 130 auto ids = TRACE_HIERARCHY; in TEST() local 131 EXPECT_NE(ids.current, kUnsetTraceId); in TEST() 132 EXPECT_NE(ids.parent, kUnsetTraceId); in TEST() 133 EXPECT_NE(ids.root, kUnsetTraceId); in TEST() 157 auto ids = TRACE_HIERARCHY; in TEST() local 158 EXPECT_EQ(ids.current, current); in TEST() 159 EXPECT_EQ(ids.parent, parent); in TEST() 160 EXPECT_EQ(ids.root, root); in TEST() 191 auto ids = TRACE_HIERARCHY; in TEST() local 192 EXPECT_EQ(ids.current, current); in TEST() [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/python/cpython3/Lib/test/ |
D | test_finalization.py | 147 def assert_del_calls(self, ids): argument 148 self.assertEqual(sorted(SimpleBase.del_calls), sorted(ids)) 150 def assert_tp_del_calls(self, ids): argument 151 self.assertEqual(sorted(SimpleBase.tp_del_calls), sorted(ids)) 153 def assert_survivors(self, ids): argument 154 self.assertEqual(sorted(id(x) for x in SimpleBase.survivors), sorted(ids)) 156 def assert_garbage(self, ids): argument 157 self.assertEqual(sorted(id(x) for x in gc.garbage), sorted(ids)) 171 ids = [id(s)] 175 self.assert_del_calls(ids) [all …]
|
/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])
|
/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/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/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2CellUnionTest.java | 33 ArrayList<S2CellId> ids = Lists.newArrayList(); in testBasic() local 34 empty.initFromCellIds(ids); in testBasic() 39 ids.add(face1Id); in testBasic() 40 face1Union.initFromCellIds(ids); in testBasic() 361 ArrayList<S2CellId> ids = Lists.newArrayList(); in testLeafCellsCovered() local 362 ids.add(S2CellId.fromFacePosLevel( in testLeafCellsCovered() 366 cellUnion.initFromCellIds(ids); in testLeafCellsCovered() 370 ids.add(S2CellId.fromFacePosLevel(0, 0, 0)); in testLeafCellsCovered() 371 cellUnion.initFromCellIds(ids); in testLeafCellsCovered() 383 ids.add(S2CellId.fromFacePosLevel(1, 0, 1)); in testLeafCellsCovered() [all …]
|
/external/openscreen/platform/test/ |
D | trace_logging_helpers.h | 41 TraceIdHierarchy ids, 64 TraceIdHierarchy ids, in ValidateTraceTimestampDiff() argument 76 TraceIdHierarchy ids, in ValidateTraceErrorCode() argument 90 TraceIdHierarchy ids, in ValidateTraceIdHierarchyOnSyncTrace() argument 93 ASSERT_EQ(ids.current, Current); in ValidateTraceIdHierarchyOnSyncTrace() 96 ASSERT_EQ(ids.parent, Parent); in ValidateTraceIdHierarchyOnSyncTrace() 99 ASSERT_EQ(ids.root, Root); in ValidateTraceIdHierarchyOnSyncTrace() 111 TraceIdHierarchy ids) { in ValidateTraceIdHierarchyOnAsyncTrace() argument 113 EXPECT_EQ(ids.current, Current); in ValidateTraceIdHierarchyOnAsyncTrace() 116 EXPECT_EQ(ids.parent, Parent); in ValidateTraceIdHierarchyOnAsyncTrace() [all …]
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastTimeline.java | 88 private final int[] ids; field in CastTimeline 102 ids = Arrays.copyOf(itemIds, itemCount); in CastTimeline() 106 for (int i = 0; i < ids.length; i++) { in CastTimeline() 107 int id = ids[i]; in CastTimeline() 120 return ids.length; in getWindowCount() 128 /* uid= */ ids[windowIndex], in getWindow() 129 /* tag= */ ids[windowIndex], in getWindow() 146 return ids.length; in getPeriodCount() 151 int id = ids[periodIndex]; in getPeriod() 162 return ids[periodIndex]; in getUidOfPeriod() [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/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/openscreen/platform/impl/ |
D | text_trace_logging_platform.cc | 35 TraceIdHierarchy ids, in LogTrace() argument 40 ss << "TRACE [" << std::hex << ids.root << ":" << ids.parent << ":" in LogTrace() 41 << ids.current << "] (" << std::dec << total_runtime << microseconds_symbol in LogTrace() 51 TraceIdHierarchy ids) { in LogAsyncStart() argument 53 ss << "ASYNC TRACE START [" << std::hex << ids.root << ":" << ids.parent in LogAsyncStart() 54 << ":" << ids.current << std::dec << "] (" << timestamp << ") " << name in LogAsyncStart()
|
/external/jackson-databind/src/test/java/perf/ |
D | ManualReadPerfWithUUID.java | 15 public UUID[] ids; field in ManualReadPerfWithUUID.UUIDNative 17 public UUIDNative(UUID[] ids) { this.ids = ids; } in UUIDNative() argument 38 public UUID[] ids; field in ManualReadPerfWithUUID.UUIDWithJdk 40 public UUIDWithJdk(UUID[] ids) { this.ids = ids; } in UUIDWithJdk() argument
|
/external/libvpx/libvpx/examples/ |
D | vpx_temporal_svc_encoder.c | 257 int ids[1] = { 0 }; in set_temporal_layer_pattern() local 262 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 270 int ids[2] = { 0, 1 }; in set_temporal_layer_pattern() local 276 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 296 int ids[3] = { 0, 1, 1 }; in set_temporal_layer_pattern() local 302 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 314 int ids[6] = { 0, 2, 2, 1, 2, 2 }; in set_temporal_layer_pattern() local 321 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() 334 int ids[4] = { 0, 2, 1, 2 }; in set_temporal_layer_pattern() local 341 memcpy(cfg->ts_layer_id, ids, sizeof(ids)); in set_temporal_layer_pattern() [all …]
|
/external/oboe/src/opensles/ |
D | EngineOpenSLES.cpp | 82 const SLInterfaceID ids[] = {SL_IID_BUFFERQUEUE, SL_IID_ANDROIDCONFIGURATION}; in createAudioPlayer() local 87 sizeof(ids) / sizeof(ids[0]), ids, reqs); in createAudioPlayer() 94 const SLInterfaceID ids[] = {SL_IID_ANDROIDSIMPLEBUFFERQUEUE, SL_IID_ANDROIDCONFIGURATION }; in createAudioRecorder() local 99 sizeof(ids) / sizeof(ids[0]), ids, reqs); in createAudioRecorder()
|
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/ |
D | ZoneInfoDb.java | 88 private String[] ids; field in ZoneInfoDb 169 int index = Arrays.binarySearch(ids, id); in getBufferIterator() 182 ids = new String[] { "GMT" }; in populateFallback() 257 ids = new String[entryCount]; in readIndex() 284 ids[i] = zoneId.intern(); in readIndex() 286 if (ids[i].compareTo(ids[i - 1]) <= 0) { in readIndex() 288 + ", index=" + i + ", ids[i]=" + ids[i] + ", ids[i - 1]=" + ids[i - 1]); in readIndex() 340 return ids.clone(); in getAvailableIDs() 355 matches.add(ids[i]); in getAvailableIDs() 365 rawUtcOffsetsCache = new int[ids.length]; in getRawUtcOffsets() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | embedding_ops_test.py | 200 for ids, wts in zip(id_vals, weight_vals): 204 if isinstance(ids, compat.integral_types): 205 ids = [ids] 207 for i, weight_value in zip(ids, wts): 259 ids = constant_op.constant(list(id_vals), dtype=dtypes.int32) 260 print("Construct ids", ids.get_shape()) 261 embedding = embedding_ops.embedding_lookup(p, ids) 273 ids = constant_op.constant([0], dtype=dtypes.int32) 275 [embeddings], ids, max_norm=1.0) 284 ids = constant_op.constant([0, 1], dtype=dtypes.int32) [all …]
|
/external/openscreen/util/trace_logging/ |
D | scoped_trace_operations_unittest.cc | 44 auto ids = ScopedTraceOperation::hierarchy(); in TEST() local 45 EXPECT_NE(ids.current, kEmptyTraceId); in TEST() 59 auto ids = ScopedTraceOperation::hierarchy(); in TEST() local 60 EXPECT_EQ(ids.current, kEmptyTraceId); in TEST() 61 EXPECT_EQ(ids.parent, kEmptyTraceId); in TEST() 62 EXPECT_EQ(ids.root, kEmptyTraceId); in TEST() 92 auto ids = ScopedTraceOperation::hierarchy(); in TEST() local 93 EXPECT_EQ(ids.current, kEmptyTraceId); in TEST() 94 EXPECT_EQ(ids.parent, kEmptyTraceId); in TEST() 95 EXPECT_EQ(ids.root, kEmptyTraceId); in TEST()
|
/external/tflite-support/tensorflow_lite_support/ios/text/tokenizers/Tests/ |
D | TFLBertTokenizerTest.swift | 32 let ids = bertTokenizer.ids(fromTokens: tokens) in testInitBertTokenizerFromPath() variable 34 XCTAssertEqual(ids, [1045, 1005, 1049, 3160, 6962, 13777, 19895, 19895]) in testInitBertTokenizerFromPath() 46 let ids = bertTokenizer.ids(fromTokens: tokens) in testInitBertTokenizerFromVocab() variable 48 XCTAssertEqual(ids, [0, 1, 4, 0, 1, 2, 3]) in testInitBertTokenizerFromVocab()
|
/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/python/ops/ |
D | embedding_ops.py | 43 def _clip(params, ids, max_norm): argument 77 ids_rank, ids_static = _rank(ids) 87 ids, argument 128 with ops.name_scope(name, "embedding_lookup", params + [ids]) as name: 134 ids = ops.convert_to_tensor(ids, name="ids") 135 if np == 1 and (not transform_fn or ids.get_shape().ndims == 1): 138 array_ops.gather(params[0], ids, name=name), ids, max_norm) 151 flat_ids = array_ops.reshape(ids, [-1]) 241 ret, array_ops.concat([array_ops.shape(ids), element_shape_d], 0)) 246 ret.set_shape(ids.get_shape().concatenate(element_shape_s)) [all …]
|
/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+=.)*
|