| /external/clang/lib/Serialization/ |
| D | ASTWriterStmt.cpp | 33 ASTRecordWriter Record; member in clang::ASTStmtWriter 39 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) in ASTStmtWriter() argument 40 : Writer(Writer), Record(Writer, Record), in ASTStmtWriter() 48 return Record.EmitStmt(Code, AbbrevToUse); in Emit() 63 Record.AddSourceLocation(ArgInfo.TemplateKWLoc); in AddTemplateKWAndArgsInfo() 64 Record.AddSourceLocation(ArgInfo.LAngleLoc); in AddTemplateKWAndArgsInfo() 65 Record.AddSourceLocation(ArgInfo.RAngleLoc); in AddTemplateKWAndArgsInfo() 67 Record.AddTemplateArgumentLoc(Args[i]); in AddTemplateKWAndArgsInfo() 75 Record.AddSourceLocation(S->getSemiLoc()); in VisitNullStmt() 76 Record.push_back(S->HasLeadingEmptyMacro); in VisitNullStmt() [all …]
|
| D | ASTReaderStmt.cpp | 34 const ASTReader::RecordData &Record; member in clang::ASTStmtReader 83 const ASTReader::RecordData &Record, unsigned &Idx) in ASTStmtReader() argument 84 : Reader(Reader), F(F), DeclsCursor(Cursor), Record(Record), Idx(Idx) { } in ASTStmtReader() 86 /// \brief The number of record fields required for the Stmt class 90 /// \brief The number of record fields required for the Expr class 112 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); in ReadTemplateKWAndArgsInfo() 114 ArgInfo.setLAngleLoc(ReadSourceLocation(Record, Idx)); in ReadTemplateKWAndArgsInfo() 115 ArgInfo.setRAngleLoc(ReadSourceLocation(Record, Idx)); in ReadTemplateKWAndArgsInfo() 118 Reader.ReadTemplateArgumentLoc(F, Record, Idx)); in ReadTemplateKWAndArgsInfo() 128 S->setSemiLoc(ReadSourceLocation(Record, Idx)); in VisitNullStmt() [all …]
|
| D | ASTWriter.cpp | 88 ASTRecordWriter Record; member in clang::ASTTypeWriter 90 /// \brief Type code that corresponds to the record generated. 92 /// \brief Abbreviation to use for the record, if any. 96 ASTTypeWriter(ASTWriter &Writer, ASTWriter::RecordDataImpl &Record) in ASTTypeWriter() argument 97 : Writer(Writer), Record(Writer, Record), Code((TypeCode)0), AbbrevToUse(0) { } in ASTTypeWriter() 100 return Record.Emit(Code, AbbrevToUse); in Emit() 106 Record.AddTypeRef(T.getLocalUnqualifiedType()); in Visit() 107 Record.push_back(Qs.getAsOpaqueValue()); in Visit() 137 Record.AddTypeRef(T->getElementType()); in VisitComplexType() 142 Record.AddTypeRef(T->getPointeeType()); in VisitPointerType() [all …]
|
| D | ASTWriterDecl.cpp | 37 ASTRecordWriter Record; member in clang::ASTDeclWriter 44 ASTWriter::RecordDataImpl &Record) in ASTDeclWriter() argument 45 : Writer(Writer), Context(Context), Record(Writer, Record), in ASTDeclWriter() 52 return Record.Emit(Code, AbbrevToUse); in Emit() 145 /// Add an Objective-C type parameter list to the given record. 149 Record.push_back(0); in AddObjCTypeParamList() 153 Record.push_back(typeParams->size()); in AddObjCTypeParamList() 155 Record.AddDeclRef(typeParam); in AddObjCTypeParamList() 157 Record.AddSourceLocation(typeParams->getLAngleLoc()); in AddObjCTypeParamList() 158 Record.AddSourceLocation(typeParams->getRAngleLoc()); in AddObjCTypeParamList() [all …]
|
| /external/llvm/lib/DebugInfo/CodeView/ |
| D | TypeTableBuilder.cpp | 24 TypeIndex TypeTableBuilder::writeModifier(const ModifierRecord &Record) { in writeModifier() argument 25 TypeRecordBuilder Builder(Record.getKind()); in writeModifier() 27 Builder.writeTypeIndex(Record.getModifiedType()); in writeModifier() 28 Builder.writeUInt16(static_cast<uint16_t>(Record.getModifiers())); in writeModifier() 33 TypeIndex TypeTableBuilder::writeProcedure(const ProcedureRecord &Record) { in writeProcedure() argument 34 TypeRecordBuilder Builder(Record.getKind()); in writeProcedure() 36 Builder.writeTypeIndex(Record.getReturnType()); in writeProcedure() 37 Builder.writeUInt8(static_cast<uint8_t>(Record.getCallConv())); in writeProcedure() 38 Builder.writeUInt8(static_cast<uint8_t>(Record.getOptions())); in writeProcedure() 39 Builder.writeUInt16(Record.getParameterCount()); in writeProcedure() [all …]
|
| D | FieldListRecordBuilder.cpp | 18 void FieldListRecordBuilder::writeBaseClass(const BaseClassRecord &Record) { in writeBaseClass() argument 22 Builder.writeUInt16(static_cast<uint16_t>(Record.getAccess())); in writeBaseClass() 23 Builder.writeTypeIndex(Record.getBaseType()); in writeBaseClass() 24 Builder.writeEncodedUnsignedInteger(Record.getBaseOffset()); in writeBaseClass() 29 void FieldListRecordBuilder::writeEnumerator(const EnumeratorRecord &Record) { in writeEnumerator() argument 33 Builder.writeUInt16(static_cast<uint16_t>(Record.getAccess())); in writeEnumerator() 35 Builder.writeEncodedUnsignedInteger(Record.getValue().getZExtValue()); in writeEnumerator() 36 Builder.writeNullTerminatedString(Record.getName()); in writeEnumerator() 41 void FieldListRecordBuilder::writeDataMember(const DataMemberRecord &Record) { in writeDataMember() argument 44 Builder.writeTypeRecordKind(Record.getKind()); in writeDataMember() [all …]
|
| /external/icu/icu4j/tools/misc/src/main/java/com/ibm/icu/dev/tool/layout/ |
| D | LanguageData.java | 23 public static class Record class in LanguageData 28 public Record(String tag, String name) in Record() method in LanguageData.Record 59 private Record[] languages = 61 new Record("", "null"), 62 new Record("ARA", "Arabic"), 63 new Record("ASM", "Assamese"), 64 new Record("BEN", "Bengali"), 65 new Record("FAR", "Farsi"), 66 new Record("GUJ", "Gujarati"), 67 new Record("HIN", "Hindi"), [all …]
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/ |
| D | AsyncBasicCrudTest.java | 51 private static class Record { class in AsyncBasicCrudTest 62 private Record setId(String id) { in setId() 71 private Record setSort(String sort) { in setSort() 80 private Record setAttribute(String attribute) { in setAttribute() 89 private Record setAttribute2(String attribute2) { in setAttribute2() 98 private Record setAttribute3(String attribute3) { in setAttribute3() 107 Record record = (Record) o; in equals() 108 return Objects.equals(id, record.id) && in equals() 109 Objects.equals(sort, record.sort) && in equals() 110 Objects.equals(attribute, record.attribute) && in equals() [all …]
|
| D | BasicCrudTest.java | 50 private static class Record { class in BasicCrudTest 61 private Record setId(String id) { in setId() 70 private Record setSort(String sort) { in setSort() 79 private Record setAttribute(String attribute) { in setAttribute() 88 private Record setAttribute2(String attribute2) { in setAttribute2() 97 private Record setAttribute3(String attribute3) { in setAttribute3() 106 Record record = (Record) o; in equals() 107 return Objects.equals(id, record.id) && in equals() 108 Objects.equals(sort, record.sort) && in equals() 109 Objects.equals(attribute, record.attribute) && in equals() [all …]
|
| D | PutItemWithResponseTest.java | 39 private static class Record { class in PutItemWithResponseTest 47 private Record setId(Integer id) { in setId() 56 private Record setStringAttr1(String stringAttr1) { in setStringAttr1() 69 Record record = (Record) o; in equals() local 70 return Objects.equals(id, record.id) && Objects.equals(stringAttr1, record.stringAttr1); in equals() 79 private static final TableSchema<Record> TABLE_SCHEMA = 80 StaticTableSchema.builder(Record.class) 81 .newItemSupplier(Record::new) 83 .getter(Record::getId) 84 .setter(Record::setId) [all …]
|
| D | AsyncPutItemWithResponseTest.java | 37 private static class Record { class in AsyncPutItemWithResponseTest 45 private Record setId(Integer id) { in setId() 54 private Record setStringAttr1(String stringAttr1) { in setStringAttr1() 67 Record record = (Record) o; in equals() local 68 return Objects.equals(id, record.id) && Objects.equals(stringAttr1, record.stringAttr1); in equals() 77 private static final TableSchema<Record> TABLE_SCHEMA = 78 StaticTableSchema.builder(Record.class) 79 .newItemSupplier(Record::new) 81 .getter(Record::getId) 82 .setter(Record::setId) [all …]
|
| D | UpdateBehaviorTest.java | 49 RecordWithUpdateBehaviors record = new RecordWithUpdateBehaviors(); in updateBehaviors_firstUpdate() local 50 record.setId("id123"); in updateBehaviors_firstUpdate() 51 record.setCreatedOn(INSTANT_1); in updateBehaviors_firstUpdate() 52 record.setLastUpdatedOn(INSTANT_2); in updateBehaviors_firstUpdate() 53 mappedTable.updateItem(record); in updateBehaviors_firstUpdate() 55 RecordWithUpdateBehaviors persistedRecord = mappedTable.getItem(record); in updateBehaviors_firstUpdate() 72 RecordWithUpdateBehaviors record = new RecordWithUpdateBehaviors(); in updateBehaviors_secondUpdate() local 73 record.setId("id123"); in updateBehaviors_secondUpdate() 74 record.setCreatedOn(INSTANT_1); in updateBehaviors_secondUpdate() 75 record.setLastUpdatedOn(INSTANT_2); in updateBehaviors_secondUpdate() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Bitcode/Reader/ |
| D | MetadataLoader.cpp | 413 /// the middle of the metadata block and load any record. 423 /// Index that keeps track of where to find a metadata record in the stream. 469 Error parseOneMetadata(SmallVectorImpl<uint64_t> &Record, unsigned Code, 472 Error parseMetadataStrings(ArrayRef<uint64_t> Record, StringRef Blob, 475 ArrayRef<uint64_t> Record); 476 Error parseMetadataKindRecord(SmallVectorImpl<uint64_t> &Record); 550 return error("Invalid record"); in upgradeDIExpression() 683 SmallVector<uint64_t, 64> Record; in lazyLoadModuleMetadataBlock() local 685 // Get the abbrevs, and preload record positions to make them lazy-loadable. in lazyLoadModuleMetadataBlock() 702 case BitstreamEntry::Record: { in lazyLoadModuleMetadataBlock() [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
| D | TypeRecordMapping.cpp | 177 // record. Truncating large names are done during writing, so its not in mapNameAndUniqueName() 192 // split with continuation records. All other record types cannot be in visitTypeBegin() 193 // longer than the maximum record length. in visitTypeBegin() 206 error(IO.mapInteger(RecordLen, "Record length")); in visitTypeBegin() 207 error(IO.mapEnum(RecordKind, "Record kind: " + RecordKindName)); in visitTypeBegin() 219 Error TypeRecordMapping::visitTypeEnd(CVType &Record) { in visitTypeEnd() argument 229 Error TypeRecordMapping::visitMemberBegin(CVMemberRecord &Record) { in visitMemberBegin() argument 233 // The largest possible subrecord is one in which there is a record prefix, in visitMemberBegin() 235 // sequence spaws `MaxRecordLength` bytes. So the record's length is in visitMemberBegin() 242 MemberKind = Record.Kind; in visitMemberBegin() [all …]
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/it/java/software/amazon/awssdk/enhanced/dynamodb/ |
| D | CrudWithResponseIntegrationTest.java | 32 import software.amazon.awssdk.enhanced.dynamodb.model.Record; 58 private static DynamoDbTable<Record> mappedTable; 73 .forEach(record -> mappedTable.deleteItem(record)); in tearDown() 87 Record record = new Record().setId("1").setSort(10); in putItem_set_requestedMetadataNull() local 88 … PutItemEnhancedResponse<Record> response = mappedTable.putItemWithResponse(r -> r.item(record)); in putItem_set_requestedMetadataNull() 96 Record record = new Record().setId("1").setSort(10); in putItem_set_requestedMetadataNotNull() local 97 PutItemEnhancedRequest<Record> request = PutItemEnhancedRequest.builder(Record.class) in putItem_set_requestedMetadataNotNull() 98 .item(record) in putItem_set_requestedMetadataNotNull() 103 PutItemEnhancedResponse<Record> response = mappedTable.putItemWithResponse(request); in putItem_set_requestedMetadataNotNull() 112 Record record = new Record().setId("1").setSort(10); in updateItem_set_requestedMetadataNull() local [all …]
|
| D | AsyncCrudWithResponseIntegrationTest.java | 32 import software.amazon.awssdk.enhanced.dynamodb.model.Record; 56 private static DynamoDbAsyncTable<Record> mappedTable; 71 .subscribe(record -> mappedTable.deleteItem(record).join()) in tearDown() 87 Record record = new Record().setId("1").setSort(10); in putItem_returnItemCollectionMetrics_set_itemCollectionMetricsNull() local 88 PutItemEnhancedRequest<Record> request = PutItemEnhancedRequest.builder(Record.class) in putItem_returnItemCollectionMetrics_set_itemCollectionMetricsNull() 89 .item(record) in putItem_returnItemCollectionMetrics_set_itemCollectionMetricsNull() 92 PutItemEnhancedResponse<Record> response = mappedTable.putItemWithResponse(request).join(); in putItem_returnItemCollectionMetrics_set_itemCollectionMetricsNull() 99 Record record = new Record().setId("1").setSort(10); in putItem_returnItemCollectionMetrics_set_itemCollectionMetricsNotNull() local 100 PutItemEnhancedRequest<Record> request = PutItemEnhancedRequest.builder(Record.class) in putItem_returnItemCollectionMetrics_set_itemCollectionMetricsNotNull() 101 .item(record) in putItem_returnItemCollectionMetrics_set_itemCollectionMetricsNotNull() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/CodeView/ |
| D | TypeRecordMapping.cpp | 222 // record. Truncating large names are done during writing, so its not in mapNameAndUniqueName() 237 // split with continuation records. All other record types cannot be in visitTypeBegin() 238 // longer than the maximum record length. in visitTypeBegin() 251 error(IO.mapInteger(RecordLen, "Record length")); in visitTypeBegin() 252 error(IO.mapEnum(RecordKind, "Record kind: " + RecordKindName)); in visitTypeBegin() 264 Error TypeRecordMapping::visitTypeEnd(CVType &Record) { in visitTypeEnd() argument 274 Error TypeRecordMapping::visitMemberBegin(CVMemberRecord &Record) { in visitMemberBegin() argument 278 // The largest possible subrecord is one in which there is a record prefix, in visitMemberBegin() 280 // sequence spawns `MaxRecordLength` bytes. So the record's length is in visitMemberBegin() 287 MemberKind = Record.Kind; in visitMemberBegin() [all …]
|
| /external/clang/include/clang/Serialization/ |
| D | ASTBitCodes.h | 156 /// preprocessing record. 227 /// \brief The block containing the detailed preprocessing record. 258 /// \brief Record types that occur within the control block. 264 /// \brief Record code for the list of other AST files imported by 268 /// \brief Record code for the original file that was used to 276 /// \brief Record code for file ID of the file or buffer that was used to 284 /// \brief Record code for the module name. 287 /// \brief Record code for the module map file that was used to build this 291 /// \brief Record code for the signature that identifiers this AST file. 294 /// \brief Record code for the module build directory. [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
| D | MetadataLoader.cpp | 431 /// the middle of the metadata block and load any record. 441 /// Index that keeps track of where to find a metadata record in the stream. 472 Error parseOneMetadata(SmallVectorImpl<uint64_t> &Record, unsigned Code, 475 Error parseMetadataStrings(ArrayRef<uint64_t> Record, StringRef Blob, 478 ArrayRef<uint64_t> Record); 479 Error parseMetadataKindRecord(SmallVectorImpl<uint64_t> &Record); 554 return error("Invalid record"); in upgradeDIExpression() 686 SmallVector<uint64_t, 64> Record; in lazyLoadModuleMetadataBlock() local 687 // Get the abbrevs, and preload record positions to make them lazy-loadable. in lazyLoadModuleMetadataBlock() 702 case BitstreamEntry::Record: { in lazyLoadModuleMetadataBlock() [all …]
|
| /external/tensorflow/tensorflow/core/profiler/convert/ |
| D | op_metrics_to_record.h | 49 template <typename Record> 50 inline void SetExecutionTimes(const OpMetrics& metrics, Record* record) { in SetExecutionTimes() argument 51 record->set_occurrences(metrics.occurrences()); in SetExecutionTimes() 52 record->set_total_time_in_us(PicoToMicro(metrics.time_ps())); in SetExecutionTimes() 53 record->set_avg_time_in_us( in SetExecutionTimes() 54 SafeDivide(record->total_time_in_us(), metrics.occurrences())); in SetExecutionTimes() 55 record->set_total_self_time_in_us(PicoToMicro(metrics.self_time_ps())); in SetExecutionTimes() 56 record->set_avg_self_time_in_us( in SetExecutionTimes() 57 SafeDivide(record->total_self_time_in_us(), metrics.occurrences())); in SetExecutionTimes() 60 template <typename Record> [all …]
|
| /external/deqp/external/vulkancts/framework/vulkan/ |
| D | vkAllocationCallbackUtil.cpp | 133 AllocationCallbackRecord record; in allocation() local 135 record.type = TYPE_ALLOCATION; in allocation() 136 record.data.allocation.size = size; in allocation() 137 record.data.allocation.alignment = alignment; in allocation() 138 record.data.allocation.scope = scope; in allocation() 139 record.data.allocation.returnedPtr = returnedPtr; in allocation() 141 return record; in allocation() 147 AllocationCallbackRecord record; in reallocation() local 149 record.type = TYPE_REALLOCATION; in reallocation() 150 record.data.reallocation.original = original; in reallocation() [all …]
|
| /external/openthread/src/core/utils/ |
| D | flash.cpp | 44 RecordHeader record; in Init() local 68 …for (mSwapUsed = kSwapMarkerSize; mSwapUsed <= mSwapSize - sizeof(record); mSwapUsed += record.Get… in Init() 70 otPlatFlashRead(&GetInstance(), mSwapIndex, mSwapUsed, &record, sizeof(record)); in Init() 71 if (!record.IsAddBeginSet()) in Init() 76 if (!record.IsAddCompleteSet()) in Init() 120 RecordHeader record; in Get() local 122 for (offset = kSwapMarkerSize; offset < mSwapUsed; offset += record.GetSize()) in Get() 124 otPlatFlashRead(&GetInstance(), mSwapIndex, offset, &record, sizeof(record)); in Get() 126 if ((record.GetKey() != aKey) || !record.IsValid()) in Get() 131 if (record.IsFirst()) in Get() [all …]
|
| /external/llvm/lib/Bitcode/Reader/ |
| D | BitcodeReader.cpp | 356 /// Read a value/type pair out of the specified record from slot 'Slot'. 357 /// Increment Slot past the number of slots used in the record. Return true on 359 bool getValueTypePair(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, in getValueTypePair() argument 361 if (Slot == Record.size()) return true; in getValueTypePair() 362 unsigned ValNo = (unsigned)Record[Slot++]; in getValueTypePair() 372 if (Slot == Record.size()) in getValueTypePair() 375 unsigned TypeNo = (unsigned)Record[Slot++]; in getValueTypePair() 380 /// Read a value out of the specified record from slot 'Slot'. Increment Slot 381 /// past the number of slots used by the value in the record. Return true if 383 bool popValue(SmallVectorImpl<uint64_t> &Record, unsigned &Slot, in popValue() argument [all …]
|
| /external/wpa_supplicant_8/src/wps/ |
| D | ndef.c | 36 struct ndef_record *record) in ndef_parse_record() argument 42 record->type_length = *pos++; in ndef_parse_record() 46 record->payload_length = *pos++; in ndef_parse_record() 55 record->payload_length = len; in ndef_parse_record() 62 record->id_length = *pos++; in ndef_parse_record() 64 record->id_length = 0; in ndef_parse_record() 66 if (record->type_length > data + size - pos) in ndef_parse_record() 68 record->type = record->type_length == 0 ? NULL : pos; in ndef_parse_record() 69 pos += record->type_length; in ndef_parse_record() 71 if (record->id_length > data + size - pos) in ndef_parse_record() [all …]
|
| /external/conscrypt/common/src/test/resources/crypto/ |
| D | parse_records.py | 38 def format_records(record): argument 42 if 'key' in record and 'iv' in record and 'plaintext' in record and 'ciphertext' in record: 44 return ["{key},{iv},{plaintext},{ciphertext}".format(**record)] 45 elif 'key' in record and 'nonce' in record and 'plaintext' in record and 'ciphertext' in record: 47 return ["{key},{nonce},{plaintext},{ciphertext}".format(**record)] 48 elif 'key' in record and 'plaintext' in record and 'ciphertext' in record: 50 return ["{key},,{plaintext},{ciphertext}".format(**record)] 51 elif 'keys' in record and 'iv' in record and 'plaintext' in record and 'ciphertext' in record: 53 return ["{keys}{keys}{keys},{iv},{plaintext},{ciphertext}".format(**record)] 54 elif 'keys' in record and 'plaintext' in record and 'ciphertext' in record: [all …]
|