Home
last modified time | relevance | path

Searched full:record (Results 1 – 25 of 6775) sorted by relevance

12345678910>>...271

/external/clang/lib/Serialization/
DASTWriterStmt.cpp33 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 …]
DASTReaderStmt.cpp34 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 …]
DASTWriter.cpp88 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 …]
DASTWriterDecl.cpp37 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-project/clang/lib/Serialization/
DASTWriterStmt.cpp34 ASTRecordWriter Record; member in clang::ASTStmtWriter
40 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) in ASTStmtWriter() argument
41 : Writer(Writer), Record(Writer, Record), in ASTStmtWriter()
49 return Record.EmitStmt(Code, AbbrevToUse); in Emit()
64 Record.AddSourceLocation(ArgInfo.TemplateKWLoc); in AddTemplateKWAndArgsInfo()
65 Record.AddSourceLocation(ArgInfo.LAngleLoc); in AddTemplateKWAndArgsInfo()
66 Record.AddSourceLocation(ArgInfo.RAngleLoc); in AddTemplateKWAndArgsInfo()
68 Record.AddTemplateArgumentLoc(Args[i]); in AddTemplateKWAndArgsInfo()
76 Record.AddSourceLocation(S->getSemiLoc()); in VisitNullStmt()
77 Record.push_back(S->NullStmtBits.HasLeadingEmptyMacro); in VisitNullStmt()
[all …]
DASTReaderStmt.cpp72 ASTRecordReader &Record; member in clang::ASTStmtReader
76 return Record.readSourceLocation(); in readSourceLocation()
80 return Record.readSourceRange(); in readSourceRange()
84 return Record.readString(); in readString()
88 return Record.readTypeSourceInfo(); in readTypeSourceInfo()
92 return Record.readDecl(); in readDecl()
97 return Record.readDeclAs<T>(); in readDeclAs()
101 ASTStmtReader(ASTRecordReader &Record, llvm::BitstreamCursor &Cursor) in ASTStmtReader() argument
102 : Record(Record), DeclsCursor(Cursor) {} in ASTStmtReader()
104 /// The number of record fields required for the Stmt class
[all …]
DASTWriter.cpp153 ASTWriter::RecordData Record; member in __anon34b38c630111::ASTTypeWriter
158 : Writer(Writer), BasicWriter(Writer, Record) {} in ASTTypeWriter()
177 ASTRecordWriter &Record; member in __anon34b38c630111::TypeLocWriter
180 TypeLocWriter(ASTRecordWriter &Record) : Record(Record) {} in TypeLocWriter() argument
198 Record.AddSourceLocation(TL.getBuiltinLoc()); in VisitBuiltinTypeLoc()
200 Record.push_back(TL.getWrittenTypeSpec()); in VisitBuiltinTypeLoc()
201 Record.push_back(static_cast<uint64_t>(TL.getWrittenSignSpec())); in VisitBuiltinTypeLoc()
202 Record.push_back(static_cast<uint64_t>(TL.getWrittenWidthSpec())); in VisitBuiltinTypeLoc()
203 Record.push_back(TL.hasModeAttr()); in VisitBuiltinTypeLoc()
208 Record.AddSourceLocation(TL.getNameLoc()); in VisitComplexTypeLoc()
[all …]
DASTWriterDecl.cpp38 ASTRecordWriter Record; member in clang::ASTDeclWriter
45 ASTWriter::RecordDataImpl &Record) in ASTDeclWriter() argument
46 : Writer(Writer), Context(Context), Record(Writer, Record), in ASTDeclWriter()
53 return Record.Emit(Code, AbbrevToUse); in Emit()
159 /// Add an Objective-C type parameter list to the given record.
163 Record.push_back(0); in AddObjCTypeParamList()
167 Record.push_back(typeParams->size()); in AddObjCTypeParamList()
169 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()
171 Record.AddSourceLocation(typeParams->getLAngleLoc()); in AddObjCTypeParamList()
172 Record.AddSourceLocation(typeParams->getRAngleLoc()); in AddObjCTypeParamList()
[all …]
/external/llvm/lib/DebugInfo/CodeView/
DTypeTableBuilder.cpp24 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 …]
DFieldListRecordBuilder.cpp18 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/com/ibm/icu/dev/tool/layout/
DLanguageData.java23 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/llvm-project/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp428 /// the middle of the metadata block and load any record.
438 /// Index that keeps track of where to find a metadata record in the stream.
483 Error parseOneMetadata(SmallVectorImpl<uint64_t> &Record, unsigned Code,
486 Error parseMetadataStrings(ArrayRef<uint64_t> Record, StringRef Blob,
489 ArrayRef<uint64_t> Record);
490 Error parseMetadataKindRecord(SmallVectorImpl<uint64_t> &Record);
565 return error("Invalid record"); in upgradeDIExpression()
697 SmallVector<uint64_t, 64> Record; in lazyLoadModuleMetadataBlock() local
699 // Get the abbrevs, and preload record positions to make them lazy-loadable. in lazyLoadModuleMetadataBlock()
715 case BitstreamEntry::Record: { in lazyLoadModuleMetadataBlock()
[all …]
DBitcodeReader.cpp149 /// Convert a string from a record into an std::string, return true on failure.
151 static bool convertToString(ArrayRef<uint64_t> Record, unsigned Idx, in convertToString() argument
153 if (Idx > Record.size()) in convertToString()
156 Result.append(Record.begin() + Idx, Record.end()); in convertToString()
177 SmallVector<uint64_t, 64> Record; in readIdentificationBlock() local
194 case BitstreamEntry::Record: in readIdentificationBlock()
199 // Read a record. in readIdentificationBlock()
200 Record.clear(); in readIdentificationBlock()
201 Expected<unsigned> MaybeBitCode = Stream.readRecord(Entry.ID, Record); in readIdentificationBlock()
208 convertToString(Record, 0, ProducerIdentification); in readIdentificationBlock()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DTypeRecordMapping.cpp177 // 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/llvm-project/llvm/lib/DebugInfo/CodeView/
DTypeRecordMapping.cpp177 // 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/clang/include/clang/Serialization/
DASTBitCodes.h156 /// 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/
DMetadataLoader.cpp431 /// 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 …]
DBitcodeReader.cpp149 /// Convert a string from a record into an std::string, return true on failure.
151 static bool convertToString(ArrayRef<uint64_t> Record, unsigned Idx, in convertToString() argument
153 if (Idx > Record.size()) in convertToString()
156 for (unsigned i = Idx, e = Record.size(); i != e; ++i) in convertToString()
157 Result += (char)Record[i]; in convertToString()
178 SmallVector<uint64_t, 64> Record; in readIdentificationBlock() local
195 case BitstreamEntry::Record: in readIdentificationBlock()
200 // Read a record. in readIdentificationBlock()
201 Record.clear(); in readIdentificationBlock()
202 Expected<unsigned> MaybeBitCode = Stream.readRecord(Entry.ID, Record); in readIdentificationBlock()
[all …]
/external/tensorflow/tensorflow/core/profiler/convert/
Dop_metrics_to_record.h31 template <typename Record>
32 inline void SetExecutionTimes(const OpMetrics& metrics, Record* record) { in SetExecutionTimes() argument
33 record->set_occurrences(metrics.occurrences()); in SetExecutionTimes()
34 record->set_total_time_in_us(PicosToMicros(metrics.time_ps())); in SetExecutionTimes()
35 record->set_avg_time_in_us( in SetExecutionTimes()
36 SafeDivide(record->total_time_in_us(), metrics.occurrences())); in SetExecutionTimes()
37 record->set_total_self_time_in_us(PicosToMicros(metrics.self_time_ps())); in SetExecutionTimes()
38 record->set_avg_self_time_in_us( in SetExecutionTimes()
39 SafeDivide(record->total_self_time_in_us(), metrics.occurrences())); in SetExecutionTimes()
42 template <typename Record>
[all …]
/external/llvm-project/clang/include/clang/Serialization/
DASTBitCodes.h167 /// preprocessing record.
297 /// The block containing the detailed preprocessing record.
334 /// Record types that occur within the control block.
340 /// Record code for the list of other AST files imported by
344 /// Record code for the original file that was used to
352 /// Record code for file ID of the file or buffer that was used to
360 /// Record code for the module name.
363 /// Record code for the module map file that was used to build this
367 /// Record code for the module build directory.
371 /// Record types that occur within the options block inside
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkAllocationCallbackUtil.cpp132 AllocationCallbackRecord record; in allocation() local
134 record.type = TYPE_ALLOCATION; in allocation()
135 record.data.allocation.size = size; in allocation()
136 record.data.allocation.alignment = alignment; in allocation()
137 record.data.allocation.scope = scope; in allocation()
138 record.data.allocation.returnedPtr = returnedPtr; in allocation()
140 return record; in allocation()
145 AllocationCallbackRecord record; in reallocation() local
147 record.type = TYPE_REALLOCATION; in reallocation()
148 record.data.reallocation.original = original; in reallocation()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp356 /// 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/
Dndef.c36 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 record->type = record->type_length == 0 ? NULL : pos; in ndef_parse_record()
67 pos += record->type_length; in ndef_parse_record()
69 record->id = record->id_length == 0 ? NULL : pos; in ndef_parse_record()
70 pos += record->id_length; in ndef_parse_record()
[all …]
/external/conscrypt/common/src/test/resources/crypto/
Dparse_records.py38 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 …]
/external/skqp/tests/
DRecordTest.cpp31 void apply(const SkRecord& record) { in apply() argument
32 for (int i = 0; i < record.count(); i++) { in apply()
33 record.visit(i, *this); in apply()
49 void apply(SkRecord* record) { in apply()
50 for (int i = 0; i < record->count(); i++) { in apply()
51 record->mutate(i, *this); in apply()
56 #define APPEND(record, type, ...) new (record.append<type>()) type{__VA_ARGS__} argument
59 DEF_TEST(Record, r) { in DEF_TEST() argument
60 SkRecord record; in DEF_TEST() local
65 APPEND(record, SkRecords::DrawRect, paint, rect); in DEF_TEST()
[all …]

12345678910>>...271