/external/python/mobly/tests/mobly/ |
D | records_test.py | 23 from mobly import records 53 """This test class tests the implementation of classes in mobly.records.""" 87 d[records.TestResultEnums.RECORD_NAME] = self.tn 88 d[records.TestResultEnums.RECORD_RESULT] = result 89 d[records.TestResultEnums.RECORD_DETAILS] = details 90 d[records.TestResultEnums.RECORD_TERMINATION_SIGNAL_TYPE] = ( 93 d[records.TestResultEnums.RECORD_EXTRAS] = extras 94 d[records.TestResultEnums.RECORD_BEGIN_TIME] = record.begin_time 95 d[records.TestResultEnums.RECORD_END_TIME] = record.end_time 96 d[records.TestResultEnums.RECORD_SIGNATURE] = ( [all …]
|
/external/clang/utils/TableGen/ |
D | TableGenBackends.h | 35 void EmitClangAttrParserStringSwitches(RecordKeeper &Records, raw_ostream &OS); 36 void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS); 37 void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS); 38 void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS); 39 void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS); 40 void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS); 41 void EmitClangAttrHasAttrImpl(RecordKeeper &Records, raw_ostream &OS); 42 void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS); 43 void EmitClangAttrASTVisitor(RecordKeeper &Records, raw_ostream &OS); 44 void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS); [all …]
|
D | TableGen.cpp | 144 bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in ClangTableGenMain() argument 147 EmitClangAttrClass(Records, OS); in ClangTableGenMain() 150 EmitClangAttrParserStringSwitches(Records, OS); in ClangTableGenMain() 153 EmitClangAttrImpl(Records, OS); in ClangTableGenMain() 156 EmitClangAttrList(Records, OS); in ClangTableGenMain() 159 EmitClangAttrPCHRead(Records, OS); in ClangTableGenMain() 162 EmitClangAttrPCHWrite(Records, OS); in ClangTableGenMain() 165 EmitClangAttrHasAttrImpl(Records, OS); in ClangTableGenMain() 168 EmitClangAttrSpellingListIndex(Records, OS); in ClangTableGenMain() 171 EmitClangAttrASTVisitor(Records, OS); in ClangTableGenMain() [all …]
|
/external/pytorch/test/dynamo/ |
D | test_logging.py | 61 def fn(self, records): argument 64 self.assertEqual(len(records), num_records) 71 def fn(self, records): argument 74 self.assertGreaterEqual(len(records), num_records_lower) 75 self.assertLessEqual(len(records), num_records_higher) 91 def test_schedule(self, records): argument 94 self.assertGreater(len(records), 0) 95 self.assertLess(len(records), 5) 99 def test_fusion(self, records): argument 102 self.assertGreater(len(records), 0) [all …]
|
/external/pytorch/torch/testing/_internal/ |
D | logging_utils.py | 70 # 2. patches the emit method of each setup handler to gather records 72 # 3. passes a ref to the gathered records to each test case for checking 75 # that the logs are setup correctly and capturing the correct records. 82 records = [] 85 with self._handler_watcher(records): 86 fn(self, records) 88 with log_settings(kwargs_to_settings(**kwargs)), self._handler_watcher(records): 89 fn(self, records) 93 records.clear() 94 with log_api(**kwargs), self._handler_watcher(records): [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeStreamMerger.h | 25 /// Merge one set of type records into another. This method assumes 26 /// that all records are type records, and there are no Id records present. 28 /// \param Dest The table to store the re-written type records into. 42 /// Merge one set of id records into another. This method assumes 43 /// that all records are id records, and there are no Type records present. 44 /// However, since Id records can refer back to Type records, this method 45 /// assumes that the referenced type records have also been merged into 50 /// \param Dest The table to store the re-written id records into. 52 /// \param Types The mapping to use for the type records that these id 53 /// records refer to. [all …]
|
/external/llvm/utils/TableGen/ |
D | TableGen.cpp | 53 cl::values(clEnumValN(PrintRecords, "print-records", 54 "Print all records to stdout (default)"), 101 bool LLVMTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in LLVMTableGenMain() argument 104 OS << Records; // No argument, dump all contents in LLVMTableGenMain() 107 EmitCodeEmitter(Records, OS); in LLVMTableGenMain() 110 EmitRegisterInfo(Records, OS); in LLVMTableGenMain() 113 EmitInstrInfo(Records, OS); in LLVMTableGenMain() 116 EmitCallingConv(Records, OS); in LLVMTableGenMain() 119 EmitAsmWriter(Records, OS); in LLVMTableGenMain() 122 EmitAsmMatcher(Records, OS); in LLVMTableGenMain() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeStreamMerger.h | 32 /// Merge one set of type records into another. This method assumes 33 /// that all records are type records, and there are no Id records present. 35 /// \param Dest The table to store the re-written type records into. 49 /// Merge one set of id records into another. This method assumes 50 /// that all records are id records, and there are no Type records present. 51 /// However, since Id records can refer back to Type records, this method 52 /// assumes that the referenced type records have also been merged into 57 /// \param Dest The table to store the re-written id records into. 59 /// \param Types The mapping to use for the type records that these id 60 /// records refer to. [all …]
|
/external/ltp/testcases/realtime/lib/ |
D | libstats.c | 69 data->records = calloc(size, sizeof(stats_record_t)); in stats_container_init() 70 if (!data->records) in stats_container_init() 84 data->records[myindex] = rec; in stats_container_append() 91 realloc(data->records, size * sizeof(stats_record_t)); in stats_container_resize() 94 data->records = newrecords; in stats_container_resize() 96 memset(data->records + data->size, 0, size - data->size); in stats_container_resize() 103 free(data->records); in stats_container_free() 110 qsort(data->records, data->index + 1, sizeof(stats_record_t), in stats_sort() 127 sum += data->records[i].y; in stats_stddev() 134 delta = (data->records[i].y - avg); in stats_stddev() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/io_ops/ |
D | decode_csv_op_test.py | 45 "records": ["1", "2", '"3"'], 55 "records": ["1,4", "2,5", "3,6"], 65 "records": ["1", "2", "3"], 80 "records": ["1", "2", '"3"'], 90 args = {"records": '1,""', "record_defaults": [[3], [4]]} 97 args = {"records": [["1", "2"], ['""', "4"]], "record_defaults": [[5]]} 104 "records": [["1", "2"], ['""', '"']], 114 "records": ["1.0", "-1.79e+308", '"1.79e+308"'], 124 "records": ["1", "2", '"2147483648"'], 134 "records": ['"1.0"', '"ab , c"', '"a\nbc"', '"ab""c"', " abc "], [all …]
|
/external/intel-media-driver/cmrtlib/agnostic/hardware/ |
D | cm_perf_statistics.cpp | 63 //! Insert API Call Records Into m_apiCallRecords Array and Update Perf Statistic Array accordingly 68 ApiCallRecord *records = new ApiCallRecord ; in InsertApiCallRecord() local 70 records->startTime = start; in InsertApiCallRecord() 71 records->endTime = end; in InsertApiCallRecord() 72 records->duration = time; in InsertApiCallRecord() 74 CM_STRCPY(records->functionName, MSG_STRING_SIZE, functionName); in InsertApiCallRecord() 76 m_apiCallRecords.push_back(records); in InsertApiCallRecord() 79 InsertPerfStatistic(records); in InsertApiCallRecord() 98 //Update statistic records in InsertPerfStatistic() 121 //Dump APICall Records and Release m_apiCallRecords Array [all …]
|
/external/selinux/libsemanage/src/ |
D | database_activedb.c | 25 * a linked list to store the records */ 39 record_t **records = NULL; in dbase_activedb_cache() local 53 if (ratable->read_list(handle, &records, &rcount) < 0) in dbase_activedb_cache() 56 /* Add records one by one */ in dbase_activedb_cache() 58 if (dbase_llist_cache_prepend(handle, &dbase->llist, records[i]) in dbase_activedb_cache() 61 rtable->free(records[i]); in dbase_activedb_cache() 64 free(records); in dbase_activedb_cache() 70 rtable->free(records[i]); in dbase_activedb_cache() 72 free(records); in dbase_activedb_cache() 83 record_t **records = NULL; in dbase_activedb_flush() local [all …]
|
D | policy_components.c | 16 record_t ** records, in clear_obsolete() argument 31 if (rtable->key_extract(handle, records[i], &key) < 0) in clear_obsolete() 41 rtable->free(records[i]); in clear_obsolete() 42 records[i] = NULL; in clear_obsolete() 61 record_t ** records, unsigned int nrecords, int mode) in load_records() argument 74 if (!records[i]) in load_records() 77 if (rtable->key_extract(handle, records[i], &rkey) < 0) in load_records() 81 dtable->set(handle, dbase, rkey, records[i]) < 0) in load_records() 85 dtable->modify(handle, dbase, rkey, records[i]) < 0) in load_records() 151 record_t **records = NULL; in semanage_base_merge_components() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
D | BlockIndexer.cpp | 10 // thread and a range of records representing a block. 21 CurrentBlock.Records.push_back(&R); in visit() 27 CurrentBlock.Records.push_back(&R); in visit() 32 CurrentBlock.Records.push_back(&R); in visit() 37 CurrentBlock.Records.push_back(&R); in visit() 42 CurrentBlock.Records.push_back(&R); in visit() 47 CurrentBlock.Records.push_back(&R); in visit() 52 CurrentBlock.Records.push_back(&R); in visit() 58 CurrentBlock.Records.push_back(&R); in visit() 63 if (!CurrentBlock.Records.empty()) in visit() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/XRay/ |
D | BlockIndexer.cpp | 10 // thread and a range of records representing a block. 21 CurrentBlock.Records.push_back(&R); in visit() 27 CurrentBlock.Records.push_back(&R); in visit() 32 CurrentBlock.Records.push_back(&R); in visit() 37 CurrentBlock.Records.push_back(&R); in visit() 42 CurrentBlock.Records.push_back(&R); in visit() 47 CurrentBlock.Records.push_back(&R); in visit() 52 CurrentBlock.Records.push_back(&R); in visit() 58 CurrentBlock.Records.push_back(&R); in visit() 63 if (!CurrentBlock.Records.empty()) in visit() [all …]
|
/external/federated-compute/fcp/secagg/server/ |
D | tracing_schema.fbs | 94 // Span that records the lifetime of SecAggServer i.e from starting the SecAgg 98 // Span that records the lifetime of each state within SecAggServer. 104 // Span that records the duration of SecAggServer::Create method. 107 // Metric that records the parameters of the complete graph SecAggServer 115 // Metric that records the parameters of the SubGraph SecAggServer instance. 124 // Span that records the duration of an external abort call to the SecAggServer. 130 // Span that records the duration of an external abort client call. 138 // Span that records the duration of an external ProceedToNextRound call. 141 // Span that records the duration of an external ReceiveMessage call. 147 // Span that records the duration of an external StartPrng call. [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | metrics.h | 31 // Records that a tf.data.Dataset executed by the program used autotuning. 68 // Records the number of bytes fetched from tf.data.Dataset iterator. 71 // Records the number of times tf.data experiment is applied to input pipelines. 74 // Records the time (in microseconds) spent in a single invocation of 78 // Records the histogram of ratios of tf.data autotune algorithm used RAM over 82 // Records the histogram of ratios of tf.data autotune algorithm max buffer 86 // Records the number of times each tf.data fingerprint is used 93 // Records the time (in microseconds) during which `IteratorResource` was busy 97 // Records the time (in microseconds) between `IteratorResource` receiving the 101 // Records the time histogram (in microseconds) between `IteratorResource` [all …]
|
/external/nullaway/jdk-recent-unit-tests/src/test/java/com/uber/nullaway/jdk17/ |
D | NullAwayRecordTests.java | 32 "Records.java", in testRecordConstructorCalls() 35 "class Records {", in testRecordConstructorCalls() 50 "Records.java", in testRecordInstanceMethodCalls() 53 "class Records {", in testRecordInstanceMethodCalls() 69 "Records.java", in testRecordInstanceMethods() 72 "class Records {", in testRecordInstanceMethods() 95 "Records.java", in testRecordFields() 98 "class Records {", in testRecordFields() 121 "Records.java", in testRecordConstructor() 124 "class Records {", in testRecordConstructor() [all …]
|
/external/openscreen/discovery/dnssd/impl/ |
D | conversion_layer_unittest.cc | 106 std::vector<MdnsRecord> records = GetDnsRecords(instance_endpoint); in TEST() local 107 auto it = std::find_if(records.begin(), records.end(), in TEST() 111 ASSERT_NE(it, records.end()); in TEST() 142 std::vector<MdnsRecord> records = GetDnsRecords(instance_endpoint); in TEST() local 143 auto it = std::find_if(records.begin(), records.end(), in TEST() 147 ASSERT_NE(it, records.end()); in TEST() 174 std::vector<MdnsRecord> records = GetDnsRecords(instance_endpoint); in TEST() local 175 auto it = std::find_if(records.begin(), records.end(), in TEST() 179 ASSERT_NE(it, records.end()); in TEST() 203 std::vector<MdnsRecord> records = GetDnsRecords(instance_endpoint); in TEST() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | LazyRandomTypeCollection.cpp | 42 Records.resize(RecordCountHint); in LazyRandomTypeCollection() 68 Records.clear(); in reset() 69 Records.resize(RecordCountHint); in reset() 87 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType() 97 return Records[Index.toArrayIndex()].Type; in getType() 110 return Records[Index.toArrayIndex()].Type; in tryGetType() 128 if (Records[I].Name.data() == nullptr) { in getTypeName() 130 Records[I].Name = Result; in getTypeName() 132 return Records[I].Name; in getTypeName() 139 if (Records.size() <= Index.toArrayIndex()) in contains() [all …]
|
/external/toolchain-utils/afdo_redaction/ |
D | remove_cold_functions.py | 10 records. Then it'll start with the functions with lowest sample count and 87 def write_textual_afdo_profile(stream, records): argument 88 for r in records: 92 def analyze_functions(records, cwp, benchmark): argument 95 all_functions = {x.function_name for x in records} 110 records = _read_textual_afdo_profile(input_stream) 111 num_functions = len(records) 120 records, cwp_records, benchmark_records 123 records.sort(key=lambda x: (-x.function_count, x.function_name)) 124 records = records[:goal] [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/CodeView/ |
D | LazyRandomTypeCollection.cpp | 42 Records.resize(RecordCountHint); in LazyRandomTypeCollection() 67 Records.clear(); in reset() 68 Records.resize(RecordCountHint); in reset() 86 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType() 96 return Records[Index.toArrayIndex()].Type; in getType() 109 return Records[Index.toArrayIndex()].Type; in tryGetType() 127 if (Records[I].Name.data() == nullptr) { in getTypeName() 129 Records[I].Name = Result; in getTypeName() 131 return Records[I].Name; in getTypeName() 138 if (Records.size() <= Index.toArrayIndex()) in contains() [all …]
|
/external/cronet/stable/base/test/android/javatests/src/org/chromium/base/test/util/ |
D | HistogramWatcher.java | 31 * Uses the delta of records between build() and assertExpected(), so that records logged in 69 * record with {@code value} for {@code histogram} and no more records to the same histogram. 77 * record with {@code value} for {@code histogram} and no more records to the same histogram. 85 * any value for {@code histogram} and no more records to the same histogram. 91 /** Builder for {@link HistogramWatcher}. Use to list the expectations of records. */ 101 * Build the {@link HistogramWatcher} and snapshot current number of records of the expected 153 "Cannot expect records a negative number of times"); in expectIntRecordTimes() 156 "Cannot expect records zero times. Use expectNoRecords() if no records are" in expectIntRecordTimes() 158 + " for this histogram, by default extra records will already raise an" in expectIntRecordTimes() 188 "Cannot expect no records but also expect records in previous calls."); in expectNoRecords() [all …]
|
/external/cronet/tot/base/test/android/javatests/src/org/chromium/base/test/util/ |
D | HistogramWatcher.java | 31 * Uses the delta of records between build() and assertExpected(), so that records logged in 69 * record with {@code value} for {@code histogram} and no more records to the same histogram. 77 * record with {@code value} for {@code histogram} and no more records to the same histogram. 85 * any value for {@code histogram} and no more records to the same histogram. 91 /** Builder for {@link HistogramWatcher}. Use to list the expectations of records. */ 101 * Build the {@link HistogramWatcher} and snapshot current number of records of the expected 153 "Cannot expect records a negative number of times"); in expectIntRecordTimes() 156 "Cannot expect records zero times. Use expectNoRecords() if no records are" in expectIntRecordTimes() 158 + " for this histogram, by default extra records will already raise an" in expectIntRecordTimes() 188 "Cannot expect no records but also expect records in previous calls."); in expectNoRecords() [all …]
|
/external/mesa3d/src/intel/vulkan/grl/gpu/morton/ |
D | phase0.cl | 19 uniform global struct BuildRecordMorton* records, 114 records[write_position] = sg_children; 126 uniform global struct BuildRecordMorton* records, 223 records[write_position] = sg_children; 254 /* a queue of build records in global memory */ 255 …global struct BuildRecordMorton *records = (global struct BuildRecordMorton *)(bvh_mem + 64*bvh->q… 268 records[0].nodeID = globals->binary_hierarchy_root; 269 records[0].items = globals->numPrimitives; 270 records[0].current_index = rootNode - nodeData; 271 records[0].parent_index = -1; [all …]
|