/external/llvm-project/clang/utils/TableGen/ |
D | TableGenBackends.h | 30 void EmitClangBasicReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 31 void EmitClangBasicWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 32 void EmitClangTypeNodes(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 33 void EmitClangTypeReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 34 void EmitClangTypeWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 35 void EmitClangAttrParserStringSwitches(llvm::RecordKeeper &Records, 38 llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 39 void EmitClangAttrClass(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 40 void EmitClangAttrImpl(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 41 void EmitClangAttrList(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); [all …]
|
D | TableGen.cpp | 97 clEnumValN(PrintRecords, "print-records", 98 "Print all records to stdout (default)"), 100 "Dump all records as machine-readable JSON"), 248 bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in ClangTableGenMain() argument 251 OS << Records; // No argument, dump all contents in ClangTableGenMain() 254 EmitJSON(Records, OS); in ClangTableGenMain() 257 EmitClangAttrClass(Records, OS); in ClangTableGenMain() 260 EmitClangAttrParserStringSwitches(Records, OS); in ClangTableGenMain() 263 EmitClangAttrSubjectMatchRulesParserStringSwitches(Records, OS); in ClangTableGenMain() 266 EmitClangAttrImpl(Records, OS); in ClangTableGenMain() [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/llvm-project/llvm/utils/TableGen/ |
D | TableGen.cpp | 75 clEnumValN(PrintRecords, "print-records", 76 "Print all records to stdout (default)"), 77 clEnumValN(PrintDetailedRecords, "print-detailed-records", 78 "Print full details of all records to stdout"), 82 "Dump all records as machine-readable JSON"), 148 bool LLVMTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in LLVMTableGenMain() argument 151 OS << Records; // No argument, dump all contents in LLVMTableGenMain() 154 EmitDetailedRecords(Records, OS); in LLVMTableGenMain() 159 EmitJSON(Records, OS); in LLVMTableGenMain() 162 EmitCodeEmitter(Records, OS); in LLVMTableGenMain() [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/llvm-project/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/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/ltp/testcases/realtime/lib/ |
D | libstats.c | 75 data->records = calloc(size, sizeof(stats_record_t)); in stats_container_init() 76 if (!data->records) in stats_container_init() 90 data->records[myindex] = rec; in stats_container_append() 97 realloc(data->records, size * sizeof(stats_record_t)); in stats_container_resize() 100 data->records = newrecords; in stats_container_resize() 102 memset(data->records + data->size, 0, size - data->size); in stats_container_resize() 109 free(data->records); in stats_container_free() 116 qsort(data->records, data->index + 1, sizeof(stats_record_t), in stats_sort() 133 sum += data->records[i].y; in stats_stddev() 140 delta = (data->records[i].y - avg); in stats_stddev() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | decode_csv_op_test.py | 49 "records": ["1", "2", '"3"'], 59 "records": ["1,4", "2,5", "3,6"], 69 "records": ["1", "2", "3"], 84 "records": ["1", "2", '"3"'], 94 args = {"records": '1,""', "record_defaults": [[3], [4]]} 101 args = {"records": [["1", "2"], ['""', "4"]], "record_defaults": [[5]]} 108 "records": [["1", "2"], ['""', '"']], 118 "records": ["1.0", "-1.79e+308", '"1.79e+308"'], 128 "records": ["1", "2", '"2147483648"'], 138 "records": ['"1.0"', '"ab , c"', '"a\nbc"', '"ab""c"', " abc "], [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-range-loop-analysis-trivially-copyable.cpp | 9 Record records[8]; in test_POD_64_bytes() local 10 for (const auto r : records) in test_POD_64_bytes() 21 Record records[8]; in test_POD_65_bytes() local 22 for (const auto r : records) in test_POD_65_bytes() 32 Record records[8]; in test_TriviallyCopyable_64_bytes() local 33 for (const auto r : records) in test_TriviallyCopyable_64_bytes() 45 Record records[8]; in test_TriviallyCopyable_65_bytes() local 46 for (const auto r : records) in test_TriviallyCopyable_65_bytes() 60 Record records[8]; in test_NonTriviallyCopyable() local 61 for (const auto r : records) in test_NonTriviallyCopyable() [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/llvm-project/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/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/tensorflow/tensorflow/python/lib/io/ |
D | tf_record_test.py | 82 records = [self._Record(i, j) for j in range(self._num_records)] 83 fn = self._WriteRecordsToFile(records, name, options) 87 def _WriteRecordsToFile(self, records, name="tfrecord", options=None): argument 90 for r in records: 142 def _CompressionSizeDelta(self, records, options_a, options_b): argument 145 Compress records with options_a and options_b. Uncompress both compressed 146 files and assert that the contents match the original records. Finally 151 records: The records to compress 162 fn_a = self._WriteRecordsToFile(records, "tfrecord_a", options=options_a) 164 self.assertEqual(records, test_a, options_a) [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | GSIStreamBuilder.cpp | 39 // Sum of the size of all public or global records. 59 // Assign public and global symbol records into hash table buckets. 60 // Modifies the list of records to store the bucket index, but does not 66 // DenseMapInfo implementation for deduplicating symbol records. 175 // structure for this purpose, even though these are global records, not in finalizeGlobalBuckets() 176 // public records. Most of the same fields are required: in finalizeGlobalBuckets() 182 std::vector<BulkPublic> Records; in finalizeGlobalBuckets() local 183 Records.resize(Globals.size()); in finalizeGlobalBuckets() 187 Records[I].Name = Name.data(); in finalizeGlobalBuckets() 188 Records[I].NameLen = Name.size(); in finalizeGlobalBuckets() [all …]
|
/external/llvm-project/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 80 def write_textual_afdo_profile(stream, records): argument 81 for r in records: 85 def analyze_functions(records, cwp, benchmark): argument 88 all_functions = {x.function_name for x in records} 101 records = _read_textual_afdo_profile(input_stream) 102 num_functions = len(records) 111 records, cwp_records, benchmark_records) 113 records.sort(key=lambda x: (-x.function_count, x.function_name)) 114 records = records[:goal] [all …]
|
/external/openscreen/discovery/mdns/ |
D | mdns_responder.cc | 45 // If no records are present, re-querying should happen at the minimum in GetTtlForNsecTargetingType() 52 // so creating NSEC records for type OPT is not valid. in GetTtlForNsecTargetingType() 80 auto records = record_handler->GetRecords(domain, type, clazz); in AddRecords() local 81 if (records.empty()) { in AddRecords() 83 // TODO(rwkeane): Aggregate all NSEC records together into a single NSEC in AddRecords() 90 for (auto it = records.begin(); it != records.end(); it++) { in AddRecords() 142 // All records matching the provided query which have been published by this in ApplyQueryResults() 152 // Per RFC 6763 section 12.1, when querying for a PTR record, all SRV records in ApplyQueryResults() 153 // and TXT records named in the PTR record's rdata should be added to the in ApplyQueryResults() 154 // messages additional records, as well as the address records of types A and in ApplyQueryResults() [all …]
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_thread.py | 73 records = 1000 variable in ConcurrentDataStoreBase 81 keys=range(self.records) 84 records_per_writer=self.records//self.writers 86 self.assertEqual(self.records,self.writers*records_per_writer) 132 print "%s: creating records %d - %d" % (name, start, stop) 141 print "%s: records %d - %d finished" % (name, start, x) 149 print "%s: finished creating records" % name 170 print "%s: found %d records" % (name, count) 181 records = 1000 variable in BTreeConcurrentDataStore 188 records = 1000 variable in HashConcurrentDataStore [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | GSIStreamBuilder.cpp | 51 std::vector<CVSymbol> Records; member 75 Records.push_back(Symbol); in addSymbol() 89 for (const auto &Sym : Records) in calculateRecordByteSize() 137 for (const CVSymbol &Sym : Records) { in finalizeBuckets() 150 // Compute the three tables: the hash records in bucket and chain order, the in finalizeBuckets() 152 HashRecords.reserve(Records.size()); in finalizeBuckets() 195 Size += PSH->Records.size() * sizeof(uint32_t); // AddrMap in calculatePublicsHashStreamSize() 206 // First we write public symbol records, then we write global symbol records. in finalizeMsfLayout() 245 static std::vector<ulittle32_t> computeAddrMap(ArrayRef<CVSymbol> Records) { in computeAddrMap() argument 252 DeserializedPublics.reserve(Records.size()); in computeAddrMap() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
D | PlayReadyHeader.java | 41 private List<PlayReadyRecord> records; field in PlayReadyHeader 54 PlayReady Records See Text Varies in parse() 61 records = PlayReadyRecord.createFor(byteBuffer, recordCount); in parse() 68 for (PlayReadyRecord record : records) { in getData() 75 IsoTypeWriter.writeUInt16BE(byteBuffer, records.size()); in getData() 76 for (PlayReadyRecord record : records) { in getData() 86 public void setRecords(List<PlayReadyRecord> records) { in setRecords() argument 87 this.records = records; in setRecords() 91 return Collections.unmodifiableList(records); in getRecords() 99 sb.append(", recordCount=").append(records.size()); in toString() [all …]
|