/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/ |
D | BufferReader.kt | 26 open class BufferReaderState(var buffer: ByteArray, var index: Int, var endIndexExclusive: Int) { in isDigit() variable in trebuchet.util.BufferReaderState 29 inline fun peek() = buffer[index] in isDigit() 31 inline fun isDigit() = buffer[index].isDigit() in isDigit() 34 index++ in isDigit() 38 index += count in isDigit() 42 while (index < endIndexExclusive && buffer[index] == char) { index++ } in isDigit() 50 while (index < endIndexExclusive && !cb(peek())) { index++ } in isDigit() 53 inline fun end() { index = endIndexExclusive } in isDigit() 56 val foundAt = search.find(buffer, index, endIndexExclusive) in isDigit() 57 index = if (foundAt != -1) foundAt else endIndexExclusive in isDigit() [all …]
|
/tools/dexter/slicer/ |
D | dex_ir.cc | 118 items[i]->index = i; in IndexItems() 130 if (irClass->index == dex::u4(-1)) { in TopSortClassIndex() 144 irClass->index = (*nextIndex)++; in TopSortClassIndex() 152 irClass->index = dex::u4(-1); in SortClassIndexes() 165 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedFields() 166 return a->decl->index < b->decl->index; in SortEncodedFields() 174 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedMethods() 175 return a->decl->index < b->decl->index; in SortEncodedMethods() 206 return a->descriptor->index < b->descriptor->index; in Normalize() 213 if (a->return_type->index != b->return_type->index) { in Normalize() [all …]
|
D | reader.cc | 73 const char* Reader::GetStringMUTF8(dex::u4 index) const { in GetStringMUTF8() 74 if (index == dex::kNoIndex) { in GetStringMUTF8() 77 const dex::u1* strData = GetStringData(index); in GetStringMUTF8() 89 void Reader::CreateClassIr(dex::u4 index) { in CreateClassIr() argument 90 auto ir_class = GetClass(index); in CreateClassIr() 121 ir::Class* Reader::GetClass(dex::u4 index) { in GetClass() argument 122 SLICER_CHECK(index != dex::kNoIndex); in GetClass() 123 auto& p = dex_ir_->classes_map[index]; in GetClass() 127 auto newClass = ParseClass(index); in GetClass() 130 dex_ir_->classes_indexes.MarkUsedIndex(index); in GetClass() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
D | audio_quality_measurement.py | 201 for index in range(0, rate * 2): 202 sample = 2.0 * math.pi * frequency * float(index) / float(rate) 319 for index in range(left_border, right_border): 320 result.append(temp[index - temp_left_border]) 359 for index in range(0, length): 360 while left_border < index - side_block_size: 363 while right_border < min(length, index + side_block_size): 367 left_average_value = float(left_block_sum) / (index - left_border + 1) 368 right_average_value = float(right_block_sum) / (right_border - index) 369 left_average_array[index] = left_average_value [all …]
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | FatType.java | 37 long readEntry(byte[] data, int index) { in readEntry() argument 38 final int idx = (int) (index * 1.5); in readEntry() 43 if ((index % 2) == 0) { in readEntry() 51 void writeEntry(byte[] data, int index, long entry) { in writeEntry() argument 52 final int idx = (int) (index * 1.5); in writeEntry() 54 if ((index % 2) == 0) { in writeEntry() 70 long readEntry(byte[] data, int index) { in readEntry() argument 71 final int idx = index << 1; in readEntry() 78 void writeEntry(byte[] data, int index, long entry) { in writeEntry() argument 79 final int idx = index << 1; in writeEntry() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/ |
D | apollo_qa_pb2.py | 35 name='TRACE', index=0, number=1, 39 name='GET_VER_RESPONSE', index=1, number=2, 43 name='GET_CODEC_RESPONSE', index=2, number=3, 47 name='GET_DSP_STATUS_RESPONSE', index=3, number=4, 51 name='FACTORY_PLAY_SOUND', index=4, number=5, 55 name='FACTORY_INFO_REQUEST', index=5, number=6, 59 name='FACTORY_INFO_RESPONSE', index=6, number=7, 78 name='OTA_ERASE_PARTITION', index=0, number=1, 82 name='OTA_START_PARTITION_WRITE', index=1, number=2, 86 name='OTA_FINISHED_PARTITION_WRITE', index=2, number=3, [all …]
|
D | audiowear_pb2.py | 33 name='UNKNOWN_MESSAGE_GROUP', index=0, number=0, 37 name='DEVICE_INPUT', index=1, number=1, 41 name='OTA', index=2, number=2, 45 name='DEVICE_CAPABILITY', index=3, number=3, 49 name='DEVICE_STATUS', index=4, number=4, 53 name='LOGGING', index=5, number=5, 57 name='SENSORS', index=6, number=6, 61 name='COMPANION_STATUS', index=7, number=7, 65 name='DEVICE_COMMAND', index=8, number=8, 69 name='BISTO_SETTINGS', index=9, number=9, [all …]
|
D | nanopb_pb2.py | 35 name='FT_DEFAULT', index=0, number=0, 39 name='FT_CALLBACK', index=1, number=1, 43 name='FT_POINTER', index=2, number=4, 47 name='FT_STATIC', index=3, number=2, 51 name='FT_IGNORE', index=4, number=3, 70 name='IS_DEFAULT', index=0, number=0, 74 name='IS_8', index=1, number=8, 78 name='IS_16', index=2, number=16, 82 name='IS_32', index=3, number=32, 86 name='IS_64', index=4, number=64, [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/loggers/protos/ |
D | bluetooth_metric_pb2.py | 35 name='SBC', index=0, number=0, 39 name='AAC', index=1, number=1, 43 name='APTX', index=2, number=2, 47 name='APTX_HD', index=3, number=3, 51 name='LDAC', index=4, number=4, 69 name='A2DP', index=0, number=0, 73 name='HFP', index=1, number=1, 77 name='HAP', index=2, number=2, 95 name='RFCOMM', index=0, number=0, 99 name='L2CAP', index=1, number=1, [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/google/protobuf/ |
D | descriptor_pb2.py | 33 name='TYPE_DOUBLE', index=0, number=1, 37 name='TYPE_FLOAT', index=1, number=2, 41 name='TYPE_INT64', index=2, number=3, 45 name='TYPE_UINT64', index=3, number=4, 49 name='TYPE_INT32', index=4, number=5, 53 name='TYPE_FIXED64', index=5, number=6, 57 name='TYPE_FIXED32', index=6, number=7, 61 name='TYPE_BOOL', index=7, number=8, 65 name='TYPE_STRING', index=8, number=9, 69 name='TYPE_GROUP', index=9, number=10, [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/loggers/protos/ |
D | telephony_metric_pb2.py | 34 name='UNAVAILABLE_NETWORK_TYPE', index=0, number=-2, 38 name='CALL_SETUP_FAILURE', index=1, number=-1, 42 name='SUCCESS', index=2, number=0, 46 name='INITIATE_FAILED', index=3, number=1, 50 name='NO_RING_EVENT_OR_ANSWER_FAILED', index=4, number=2, 54 name='NO_CALL_ID_FOUND', index=5, number=3, 58 name='CALL_STATE_NOT_ACTIVE_DURING_ESTABLISHMENT', index=6, number=4, 62 name='AUDIO_STATE_NOT_INCALL_DURING_ESTABLISHMENT', index=7, number=5, 66 name='AUDIO_STATE_NOT_INCALL_AFTER_CONNECTED', index=8, number=6, 70 name='CALL_DROP_OR_WRONG_STATE_DURING_ESTABLISHMENT', index=9, number=7, [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/x509/ |
D | TBSCertificate.java | 36 index = 0, 41 @Asn1Field(index = 1, type = Asn1Type.INTEGER) 44 @Asn1Field(index = 2, type = Asn1Type.SEQUENCE) 47 @Asn1Field(index = 3, type = Asn1Type.CHOICE) 50 @Asn1Field(index = 4, type = Asn1Type.SEQUENCE) 53 @Asn1Field(index = 5, type = Asn1Type.CHOICE) 56 @Asn1Field(index = 6, type = Asn1Type.SEQUENCE) 59 @Asn1Field(index = 7, 66 @Asn1Field(index = 8, 73 @Asn1Field(index = 9,
|
/tools/test/connectivity/acts/tests/google/fuchsia/wlan/ |
D | DownloadStressTest.py | 114 for index, url in enumerate(download_urls): 115 self.log.info('Create and start thread %d.' % index) 127 for index, t in enumerate(download_threads): 133 raise signals.TestFailure('Thread %d timedout' % index) 135 for index in range(0, len(self.download_threads_result)): 136 if not self.download_threads_result[index]: 137 self.log.info("Download failed for %d" % index) 139 'Thread %d failed to download' % index) 145 for index in range(self.num_of_iterations): 170 for index, t in enumerate(download_threads): [all …]
|
/tools/dexter/slicer/export/slicer/ |
D | reader.h | 49 const char* GetStringMUTF8(dex::u4 index) const; 61 void CreateClassIr(dex::u4 index); 66 ir::Class* GetClass(dex::u4 index); 67 ir::Type* GetType(dex::u4 index); 68 ir::FieldDecl* GetFieldDecl(dex::u4 index); 69 ir::MethodDecl* GetMethodDecl(dex::u4 index); 70 ir::Proto* GetProto(dex::u4 index); 71 ir::String* GetString(dex::u4 index); 90 ir::Class* ParseClass(dex::u4 index); 92 ir::Type* ParseType(dex::u4 index); [all …]
|
D | index_map.h | 38 void MarkUsedIndex(dex::u4 index) { in MarkUsedIndex() argument 39 if (index >= indexes_map_.size()) { in MarkUsedIndex() 40 indexes_map_.resize(index + 1); in MarkUsedIndex() 42 SLICER_CHECK(!indexes_map_[index]); in MarkUsedIndex() 43 indexes_map_[index] = true; in MarkUsedIndex()
|
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/ |
D | SignerInfo.java | 33 @Asn1Field(index = 0, type = Asn1Type.INTEGER) 36 @Asn1Field(index = 1, type = Asn1Type.CHOICE) 39 @Asn1Field(index = 2, type = Asn1Type.SEQUENCE) 43 index = 3, 49 @Asn1Field(index = 4, type = Asn1Type.SEQUENCE) 52 @Asn1Field(index = 5, type = Asn1Type.OCTET_STRING) 56 index = 6,
|
D | SignedData.java | 33 @Asn1Field(index = 0, type = Asn1Type.INTEGER) 36 @Asn1Field(index = 1, type = Asn1Type.SET_OF) 39 @Asn1Field(index = 2, type = Asn1Type.SEQUENCE) 43 index = 3, 50 index = 4, 56 @Asn1Field(index = 5, type = Asn1Type.SET_OF)
|
/tools/tradefederation/core/atest/proto/ |
D | internal_user_log_pb2.py | 40 name='command_line', full_name='AtestLogEventInternal.AtestStartEvent.command_line', index=0, 47 …name='test_references', full_name='AtestLogEventInternal.AtestStartEvent.test_references', index=1, 54 name='cwd', full_name='AtestLogEventInternal.AtestStartEvent.cwd', index=2, 61 name='os', full_name='AtestLogEventInternal.AtestStartEvent.os', index=3, 91 name='duration', full_name='AtestLogEventInternal.AtestExitEvent.duration', index=0, 98 name='exit_code', full_name='AtestLogEventInternal.AtestExitEvent.exit_code', index=1, 105 name='stacktrace', full_name='AtestLogEventInternal.AtestExitEvent.stacktrace', index=2, 112 name='logs', full_name='AtestLogEventInternal.AtestExitEvent.logs', index=3, 142 name='duration', full_name='AtestLogEventInternal.FindTestFinishEvent.duration', index=0, 149 name='success', full_name='AtestLogEventInternal.FindTestFinishEvent.success', index=1, [all …]
|
/tools/asuite/atest/proto/ |
D | internal_user_log_pb2.py | 40 name='command_line', full_name='AtestLogEventInternal.AtestStartEvent.command_line', index=0, 47 …name='test_references', full_name='AtestLogEventInternal.AtestStartEvent.test_references', index=1, 54 name='cwd', full_name='AtestLogEventInternal.AtestStartEvent.cwd', index=2, 61 name='os', full_name='AtestLogEventInternal.AtestStartEvent.os', index=3, 91 name='duration', full_name='AtestLogEventInternal.AtestExitEvent.duration', index=0, 98 name='exit_code', full_name='AtestLogEventInternal.AtestExitEvent.exit_code', index=1, 105 name='stacktrace', full_name='AtestLogEventInternal.AtestExitEvent.stacktrace', index=2, 112 name='logs', full_name='AtestLogEventInternal.AtestExitEvent.logs', index=3, 142 name='duration', full_name='AtestLogEventInternal.FindTestFinishEvent.duration', index=0, 149 name='success', full_name='AtestLogEventInternal.FindTestFinishEvent.success', index=1, [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextBackedAnnotationItem.kt | 37 val index = source.indexOf("(") constant 38 val annotationClass = if (index == -1) 40 else source.substring(1, index) 46 index == -1 -> "@$qualifiedName" 47 else -> "@" + qualifiedName + source.substring(index) 50 attributes = if (index == -1) { 54 source.substring(index + 1, source.lastIndexOf(')'))
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/ |
D | packet.py | 194 for index, raw_measurement in enumerate(samples): 195 self.measurements[index] = LvpmMeasurement( 196 raw_measurement, self._get_sample_time(index), 197 self.packet_type, index) 199 def _get_sample_time(self, index): argument 210 return time_per_sample * (index + 1) + self.time_since_start 220 def __getitem__(self, index): argument 221 return self.measurements[index]
|
/tools/tradefederation/core/atest/tools/ |
D | atest_tools.py | 82 for index in INDEXES: 83 if os.path.isfile(index): 84 os.remove(index) 201 def _index_testable_modules(index): argument 209 with open(index, 'wb') as cache: 216 def _index_cc_classes(output, index): argument 230 _dump_index(dump_file=index, output=output, 234 def _index_java_classes(output, index): argument 247 _dump_index(dump_file=index, output=output, 251 def _index_packages(output, index): argument [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | SuiteTestFilter.java | 58 int index = 0; in createFrom() local 61 index++; in createFrom() 63 name = parts[index]; in createFrom() 64 index++; in createFrom() 65 parts = filter.split(" ", index + 1); in createFrom() 66 if (parts.length > index) { in createFrom() 67 test = parts[index]; in createFrom()
|
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/proto/gen/ |
D | instrumentation_data_pb2.py | 34 name='SESSION_FINISHED', index=0, number=0, 38 name='SESSION_ABORTED', index=1, number=1, 63 name='key', full_name='android.am.ResultsBundleEntry.key', index=0, 70 name='value_string', full_name='android.am.ResultsBundleEntry.value_string', index=1, 77 name='value_int', full_name='android.am.ResultsBundleEntry.value_int', index=2, 84 name='value_float', full_name='android.am.ResultsBundleEntry.value_float', index=3, 91 name='value_double', full_name='android.am.ResultsBundleEntry.value_double', index=4, 98 name='value_long', full_name='android.am.ResultsBundleEntry.value_long', index=5, 105 name='value_bundle', full_name='android.am.ResultsBundleEntry.value_bundle', index=6, 112 name='value_bytes', full_name='android.am.ResultsBundleEntry.value_bytes', index=7, [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/ |
D | StreamingLineReader.kt | 37 var index = lineStartIndex in <lambda>() variable 40 if (index > stream.endIndex) { in <lambda>() 41 if (!stream.loadIndex(index)) break in <lambda>() 43 val window = stream.windowFor(index) in <lambda>() 44 foundAt = findNewlineInWindow(window, index) in <lambda>() 46 index = window.globalEndIndex + 1 in <lambda>()
|