Home
last modified time | relevance | path

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

12345678910>>...128

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp35 ASTRecordWriter Record; member in clang::ASTStmtWriter
44 /// Record.push_back(a->isSomething());
49 /// Record.push_back(b->isAnother());
57 PakedBitsWriter(ASTRecordWriter &Record) : RecordRef(Record) {} in PakedBitsWriter() argument
94 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) in ASTStmtWriter() argument
95 : Writer(Writer), Record(Writer, Record), in ASTStmtWriter()
97 CurrentPackingBits(this->Record) {} in ASTStmtWriter()
106 return Record.EmitStmt(Code, AbbrevToUse); in Emit()
121 Record.AddSourceLocation(ArgInfo.TemplateKWLoc); in AddTemplateKWAndArgsInfo()
122 Record.AddSourceLocation(ArgInfo.LAngleLoc); in AddTemplateKWAndArgsInfo()
[all …]
H A DASTReaderStmt.cpp73 ASTRecordReader &Record; member in clang::ASTStmtReader
79 return Record.readSourceLocation(); in readSourceLocation()
83 return Record.readSourceRange(); in readSourceRange()
87 return Record.readString(); in readString()
91 return Record.readTypeSourceInfo(); in readTypeSourceInfo()
95 return Record.readDecl(); in readDecl()
100 return Record.readDeclAs<T>(); in readDeclAs()
104 ASTStmtReader(ASTRecordReader &Record, llvm::BitstreamCursor &Cursor) in ASTStmtReader() argument
105 : Record(Record), DeclsCursor(Cursor) {} in ASTStmtReader()
107 /// The number of record fields required for the Stmt class
[all …]
H A DASTWriter.cpp275 ASTWriter::RecordData Record; member in __anon397e50ec0111::ASTTypeWriter
280 : Writer(Writer), BasicWriter(Writer, Record) {} in ASTTypeWriter()
301 ASTRecordWriter &Record; member in __anon397e50ec0111::TypeLocWriter
305 Record.AddSourceLocation(Loc, Seq); in addSourceLocation()
307 void addSourceRange(SourceRange Range) { Record.AddSourceRange(Range, Seq); } in addSourceRange()
310 TypeLocWriter(ASTRecordWriter &Record, LocSeq *Seq) in TypeLocWriter() argument
311 : Record(Record), Seq(Seq) {} in TypeLocWriter()
331 Record.push_back(TL.getWrittenTypeSpec()); in VisitBuiltinTypeLoc()
332 Record.push_back(static_cast<uint64_t>(TL.getWrittenSignSpec())); in VisitBuiltinTypeLoc()
333 Record.push_back(static_cast<uint64_t>(TL.getWrittenWidthSpec())); in VisitBuiltinTypeLoc()
[all …]
H A DASTWriterDecl.cpp38 ASTRecordWriter Record; member in clang::ASTDeclWriter
47 ASTWriter::RecordDataImpl &Record, bool GeneratingReducedBMI) in ASTDeclWriter() argument
48 : Writer(Writer), Context(Context), Record(Writer, Record), in ASTDeclWriter()
56 return Record.Emit(Code, AbbrevToUse); in Emit()
165 /// Add an Objective-C type parameter list to the given record.
169 Record.push_back(0); in AddObjCTypeParamList()
173 Record.push_back(typeParams->size()); in AddObjCTypeParamList()
175 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()
177 Record.AddSourceLocation(typeParams->getLAngleLoc()); in AddObjCTypeParamList()
178 Record.AddSourceLocation(typeParams->getRAngleLoc()); in AddObjCTypeParamList()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp414 /// the middle of the metadata block and load any record.
424 /// Index that keeps track of where to find a metadata record in the stream.
473 Error parseOneMetadata(SmallVectorImpl<uint64_t> &Record, unsigned Code,
476 Error parseMetadataStrings(ArrayRef<uint64_t> Record, StringRef Blob,
479 ArrayRef<uint64_t> Record);
480 Error parseMetadataKindRecord(SmallVectorImpl<uint64_t> &Record);
640 return error("Invalid record"); in upgradeDIExpression()
775 SmallVector<uint64_t, 64> Record; in lazyLoadModuleMetadataBlock() local
777 // Get the abbrevs, and preload record positions to make them lazy-loadable. in lazyLoadModuleMetadataBlock()
794 case BitstreamEntry::Record: { in lazyLoadModuleMetadataBlock()
[all …]
H A DBitcodeReader.cpp172 /// Convert a string from a record into an std::string, return true on failure.
174 static bool convertToString(ArrayRef<uint64_t> Record, unsigned Idx, in convertToString() argument
176 if (Idx > Record.size()) in convertToString()
179 Result.append(Record.begin() + Idx, Record.end()); in convertToString()
200 SmallVector<uint64_t, 64> Record; in readIdentificationBlock() local
215 case BitstreamEntry::Record: in readIdentificationBlock()
220 // Read a record. in readIdentificationBlock()
221 Record.clear(); in readIdentificationBlock()
222 Expected<unsigned> MaybeBitCode = Stream.readRecord(Entry.ID, Record); in readIdentificationBlock()
229 convertToString(Record, 0, ProducerIdentification); in readIdentificationBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DGOFF.h10 // Record classes and derivatives are also declared and implemented.
27 /// \brief Represents a GOFF physical record.
29 /// Specifies protected member functions to manipulate the record. These should
30 /// be called from deriving classes to change values as that record specifies.
31 class Record {
33 static Error getContinuousData(const uint8_t *Record, uint16_t DataLength,
36 static bool isContinued(const uint8_t *Record) { in isContinued() argument
38 getBits(Record, 1, 7, 1, IsContinued); in isContinued()
42 static bool isContinuation(const uint8_t *Record) { in isContinuation() argument
44 getBits(Record, 1, 6, 1, IsContinuation); in isContinuation()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTBitCodes.h181 /// preprocessing record.
310 /// The block containing the detailed preprocessing record.
347 /// Record types that occur within the control block.
353 /// Record code for the list of other AST files imported by
357 /// Record code for the original file that was used to
362 /// Record code for file ID of the file or buffer that was used to
370 /// Record code for the module name.
373 /// Record code for the module map file that was used to build this
377 /// Record code for the module build directory.
381 /// Record types that occur within the options block inside
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp222 // 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 …]
H A DCVTypeVisitor.cpp25 static Error visitKnownRecord(CVType &Record, TypeVisitorCallbacks &Callbacks) { in visitKnownRecord() argument
26 TypeRecordKind RK = static_cast<TypeRecordKind>(Record.kind()); in visitKnownRecord()
28 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord)) in visitKnownRecord()
34 static Error visitKnownMember(CVMemberRecord &Record, in visitKnownMember() argument
36 TypeRecordKind RK = static_cast<TypeRecordKind>(Record.Kind); in visitKnownMember()
38 if (auto EC = Callbacks.visitKnownMember(Record, KnownRecord)) in visitKnownMember()
43 static Error visitMemberRecord(CVMemberRecord &Record, in visitMemberRecord() argument
45 if (auto EC = Callbacks.visitMemberBegin(Record)) in visitMemberRecord()
48 switch (Record.Kind) { in visitMemberRecord()
50 if (auto EC = Callbacks.visitUnknownMember(Record)) in visitMemberRecord()
99 finishVisitation(CVType & Record) finishVisitation() argument
124 visitTypeRecord(CVType & Record,TypeIndex Index) visitTypeRecord() argument
131 visitTypeRecord(CVType & Record) visitTypeRecord() argument
138 visitMemberRecord(CVMemberRecord Record) visitMemberRecord() argument
176 CVMemberRecord Record; visitFieldListMemberStream() local
219 visitTypeRecord(CVType & Record,TypeIndex Index,TypeVisitorCallbacks & Callbacks,VisitorDataSource Source) visitTypeRecord() argument
226 visitTypeRecord(CVType & Record,TypeVisitorCallbacks & Callbacks,VisitorDataSource Source) visitTypeRecord() argument
255 visitMemberRecord(CVMemberRecord Record,TypeVisitorCallbacks & Callbacks,VisitorDataSource Source) visitMemberRecord() argument
263 visitMemberRecord(TypeLeafKind Kind,ArrayRef<uint8_t> Record,TypeVisitorCallbacks & Callbacks) visitMemberRecord() argument
[all...]
/freebsd/crypto/openssl/test/recipes/
H A D70-test_sslrecords.t43 my $content_type = TLSProxy::Record::RT_APPLICATION_DATA;
53 $content_type = TLSProxy::Record::RT_HANDSHAKE;
94 #Test 5: Inject an SSLv2 style record format for a TLSv1.2 ClientHello
104 #Test 6: Inject an SSLv2 style record format for an SSLv2 ClientHello. We don't
126 #Test 8: Fragment a TLSv1.2 ClientHello across a TLS1.2 record; an SSLv2
127 # record; and another TLS1.2 record. This isn't allowed so should fail
137 # fail because an SSLv2 ClientHello must be the first record.
146 #Unrecognised record type tests
148 #Test 10: Sending an unrecognised record type in TLS1.2 should fail
155 ok($fatal_alert, "Unrecognised record type in TLS1.2");
[all …]
/freebsd/contrib/wpa/src/wps/
H A 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 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 …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h68 Error visitTypeBegin(CVType &Record) override;
69 Error visitTypeBegin(CVType &Record, TypeIndex TI) override;
70 Error visitMemberBegin(CVMemberRecord &Record) override;
71 Error visitMemberEnd(CVMemberRecord &Record) override;
72 Error visitUnknownMember(CVMemberRecord &Record) override;
74 Error visitKnownRecord(CVType &Record, BuildInfoRecord &Args) override;
75 Error visitKnownRecord(CVType &Record, ClassRecord &Class) override;
76 Error visitKnownRecord(CVType &Record, EnumRecord &Enum) override;
77 Error visitKnownRecord(CVType &Record, FuncIdRecord &Func) override;
78 Error visitKnownRecord(CVType &Record, ProcedureRecor
444 visitKnownMember(CVMemberRecord & Record,TypeVisitorCallbacks & Callbacks,TypeIndex TI,LVElement * Element) visitKnownMember() argument
457 visitKnownRecord(CVType & Record,TypeIndex TI,LVElement * Element) visitKnownRecord() argument
[all...]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c134 object_from_path(const char *dataset, uint64_t object, zinject_record_t *record) in object_from_path() argument
141 record->zi_objset = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in object_from_path()
142 record->zi_object = object; in object_from_path()
154 zinject_record_t *record) in initialize_range() argument
165 record->zi_start = 0; in initialize_range()
166 record->zi_end = -1ULL; in initialize_range()
171 record->zi_start = strtoull(range, &end, 10); in initialize_range()
175 record->zi_end = record->zi_start + 1; in initialize_range()
177 record->zi_end = strtoull(end + 1, &end, 10); in initialize_range()
207 record->zi_start = record->zi_object * sizeof (dnode_phys_t); in initialize_range()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp91 : LeafRecordBase(K), Record(static_cast<TypeRecordKind>(K)) {} in LeafRecordImpl()
96 return TypeDeserializer::deserializeAs<T>(Type, Record); in fromCodeViewRecord()
100 TS.writeLeafType(Record); in toCodeViewRecord()
104 mutable T Record; member
129 : MemberRecordBase(K), Record(static_cast<TypeRecordKind>(K)) {} in MemberRecordImpl()
134 CRB.writeMemberType(Record); in writeTo()
137 mutable T Record; member
401 IO.mapRequired("ModifiedType", Record.ModifiedType); in map()
402 IO.mapRequired("Modifiers", Record.Modifiers); in map()
406 IO.mapRequired("ReturnType", Record.ReturnType); in map()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp110 Record = 1, enumerator
128 // We found a record. in skipUntilRecordOrBlock()
130 return Cursor::Record; in skipUntilRecordOrBlock()
179 case Cursor::Record: in readMetaBlock()
194 SmallVector<uint64_t, 1> Record; in readMetaBlock() local
195 Expected<unsigned> MaybeRecordID = Stream.readRecord(BlockOrCode, Record); in readMetaBlock()
201 if (Record.size() < 1) in readMetaBlock()
203 if (Record[0] > VersionNumber) in readMetaBlock()
223 SmallVector<uint64_t, 16> Record; in readDiagnosticBlock() local
246 case Cursor::Record: in readDiagnosticBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp58 // Generates an enum to use as an index in the Abbrev array of Metadata record.
117 /// Saves the offset of the VSTOffset record that must eventually be
220 SmallVectorImpl<uint64_t> &Record);
221 void writeMDTuple(const MDTuple *N, SmallVectorImpl<uint64_t> &Record,
223 void writeDILocation(const DILocation *N, SmallVectorImpl<uint64_t> &Record,
226 SmallVectorImpl<uint64_t> &Record, unsigned &Abbrev) { in writeGenericDINode() argument
229 void writeDISubrange(const DISubrange *N, SmallVectorImpl<uint64_t> &Record,
232 SmallVectorImpl<uint64_t> &Record, in writeDIGenericSubrange() argument
237 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
238 void writeDIBasicType(const DIBasicType *N, SmallVectorImpl<uint64_t> &Record,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
H A DSymbolFileBreakpad.cpp37 LineIterator(ObjectFile &obj, Record::Kind section_type) in LineIterator()
44 LineIterator(ObjectFile &obj, Record::Kind section_type, Bookmark bookmark);
91 Record::Kind section_type, in LineIterator()
133 SymbolFileBreakpad::lines(Record::Kind section_type) { in lines()
204 // first LINE record. in ParseCompileUnitAtIndex()
205 LineIterator It(*m_objfile_sp, Record::Func, data.bookmark), in ParseCompileUnitAtIndex()
207 assert(Record::classify(*It) == Record::Func); in ParseCompileUnitAtIndex()
208 ++It; // Skip FUNC record. in ParseCompileUnitAtIndex()
210 while (It != End && Record::classify(*It) == Record::Inline) in ParseCompileUnitAtIndex()
214 auto record = LineRecord::parse(*It); in ParseCompileUnitAtIndex() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp183 /// Saves the offset of the VSTOffset record that must eventually be
264 /// True if a module hash record should be written.
303 SmallVectorImpl<uint64_t> &Record);
304 void writeMDTuple(const MDTuple *N, SmallVectorImpl<uint64_t> &Record,
307 void writeDILocation(const DILocation *N, SmallVectorImpl<uint64_t> &Record,
311 SmallVectorImpl<uint64_t> &Record, unsigned &Abbrev);
312 void writeDISubrange(const DISubrange *N, SmallVectorImpl<uint64_t> &Record,
315 SmallVectorImpl<uint64_t> &Record,
318 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
319 void writeDIBasicType(const DIBasicType *N, SmallVectorImpl<uint64_t> &Record,
[all …]
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp228 Object serializeIdentifier(const APIRecord &Record, Language Lang) { in serializeIdentifier() argument
230 Identifier["precise"] = Record.USR; in serializeIdentifier()
333 Object serializeNames(const APIRecord *Record) { in serializeNames() argument
335 Names["title"] = Record->Name; in serializeNames()
338 serializeDeclarationFragments(Record->SubHeading)); in serializeNames()
340 NavigatorFragments.append(Record->Name, in serializeNames()
504 llvm_unreachable("API Record with uninstantiable kind"); in serializeSymbolKind()
515 Object serializeSymbolKind(const APIRecord &Record, Language Lang) { in serializeSymbolKind() argument
516 return serializeSymbolKind(Record.KindForDisplay, Lang); in serializeSymbolKind()
527 void serializeFunctionSignatureMixin(Object &Paren, const RecordTy &Record) { in serializeFunctionSignatureMixin() argument
[all …]
/freebsd/sys/contrib/ck/src/
H A Dck_epoch.c151 _ck_epoch_delref(struct ck_epoch_record *record, in CK_STACK_CONTAINER()
157 current = &record->local.bucket[i]; in CK_STACK_CONTAINER()
169 * If no other active bucket exists, then the record will go in CK_STACK_CONTAINER()
172 other = &record->local.bucket[(i + 1) & CK_EPOCH_SENSE_MASK]; in CK_STACK_CONTAINER()
179 ck_pr_store_uint(&record->epoch, other->epoch); in CK_STACK_CONTAINER()
186 _ck_epoch_addref(struct ck_epoch_record *record, in _ck_epoch_addref() argument
189 struct ck_epoch *global = record->global; in _ck_epoch_addref()
195 ref = &record->local.bucket[i]; in _ck_epoch_addref()
211 previous = &record->local.bucket[(i + 1) & in _ck_epoch_addref()
242 struct ck_epoch_record *record; in ck_epoch_recycle() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h18 #include "llvm/TableGen/Record.h"
38 /// RecordsEntry - Holds exactly one of a Record, ForeachLoop, or
41 std::unique_ptr<Record> Rec;
43 std::unique_ptr<Record::AssertionInfo> Assertion;
44 std::unique_ptr<Record::DumpInfo> Dump;
49 RecordsEntry(std::unique_ptr<Record> Rec) : Rec(std::move(Rec)) {} in RecordsEntry()
51 RecordsEntry(std::unique_ptr<Record::AssertionInfo> Assertion) in RecordsEntry()
53 RecordsEntry(std::unique_ptr<Record::DumpInfo> Dump) in RecordsEntry()
57 /// ForeachLoop - Record the iteration state associated with a for loop.
82 Record Rec; // Placeholder for template args and Name.
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DASTTableGen.h12 #include "llvm/TableGen/Record.h"
90 llvm::Record *Record; variable
93 WrappedRecord(llvm::Record *record = nullptr) : Record(record) {} in Record() argument
95 llvm::Record *get() const { in get()
96 assert(Record && "accessing null record"); in get()
97 return Record; in get()
101 llvm::Record *getRecord() const { return Record; } in getRecord()
103 explicit operator bool() const { return Record != nullptr; }
147 HasProperties(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument
160 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp32 CXXRecordDecl *Record = nullptr; member
38 BuiltinTypeDeclBuilder(CXXRecordDecl *R) : Record(R) { in BuiltinTypeDeclBuilder()
39 Record->startDefinition(); in BuiltinTypeDeclBuilder()
40 Template = Record->getDescribedClassTemplate(); in BuiltinTypeDeclBuilder()
61 Record = PrevDecl; in BuiltinTypeDeclBuilder()
65 Record = CXXRecordDecl::Create(AST, TagDecl::TagKind::Class, HLSLNamespace, in BuiltinTypeDeclBuilder()
68 Record->setImplicit(true); in BuiltinTypeDeclBuilder()
69 Record->setLexicalDeclContext(HLSLNamespace); in BuiltinTypeDeclBuilder()
70 Record->setHasExternalLexicalStorage(); in BuiltinTypeDeclBuilder()
73 Record->addAttr(FinalAttr::CreateImplicit(AST, SourceRange(), in BuiltinTypeDeclBuilder()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDeserializer.h42 template <typename T> static Error deserializeAs(CVType &CVT, T &Record) { in deserializeAs() argument
43 Record.Kind = static_cast<TypeRecordKind>(CVT.kind()); in deserializeAs()
47 if (auto EC = I.Mapping.visitKnownRecord(CVT, Record)) in deserializeAs()
60 T Record(K); in deserializeAs()
62 if (auto EC = deserializeAs<T>(CVT, Record)) in deserializeAs()
64 return Record; in deserializeAs()
67 Error visitTypeBegin(CVType &Record) override { in visitTypeBegin() argument
69 Mapping = std::make_unique<MappingInfo>(Record.content()); in visitTypeBegin()
70 return Mapping->Mapping.visitTypeBegin(Record); in visitTypeBegin()
73 Error visitTypeBegin(CVType &Record, TypeInde argument
77 visitTypeEnd(CVType & Record) visitTypeEnd() argument
95 visitKnownRecordImpl(CVType & CVR,RecordType & Record) visitKnownRecordImpl() argument
125 visitMemberBegin(CVMemberRecord & Record) visitMemberBegin() argument
130 visitMemberEnd(CVMemberRecord & Record) visitMemberEnd() argument
147 visitKnownMemberImpl(CVMemberRecord & CVR,RecordType & Record) visitKnownMemberImpl() argument
[all...]

12345678910>>...128