Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 154) sorted by relevance

1234567

/openbsd-src/lib/libcbor/src/cbor/
H A Dmaps.c13 return item->metadata.map_metadata.end_ptr; in cbor_map_size()
18 return item->metadata.map_metadata.allocated; in cbor_map_allocated()
28 .metadata = {.map_metadata = {.allocated = size, in cbor_new_definite_map()
44 .metadata = {.map_metadata = {.allocated = 0, in cbor_new_indefinite_map()
54 struct _cbor_map_metadata *metadata = in _cbor_map_add_key() local
55 (struct _cbor_map_metadata *)&item->metadata; in _cbor_map_add_key()
58 if (metadata->end_ptr >= metadata->allocated) { in _cbor_map_add_key()
63 data[metadata->end_ptr].key = key; in _cbor_map_add_key()
64 data[metadata->end_ptr++].value = NULL; in _cbor_map_add_key()
66 if (metadata->end_ptr >= metadata->allocated) { in _cbor_map_add_key()
[all …]
H A Darrays.c14 return item->metadata.array_metadata.end_ptr; in cbor_array_size()
19 return item->metadata.array_metadata.allocated; in cbor_array_allocated()
27 if (index == item->metadata.array_metadata.end_ptr) { in cbor_array_set()
29 } else if (index < item->metadata.array_metadata.end_ptr) { in cbor_array_set()
37 if (index >= item->metadata.array_metadata.end_ptr) return false; in cbor_array_replace()
46 struct _cbor_array_metadata *metadata = in cbor_array_push() local
47 (struct _cbor_array_metadata *)&array->metadata; in cbor_array_push()
51 if (metadata->end_ptr >= metadata->allocated) { in cbor_array_push()
54 data[metadata->end_ptr++] = pushee; in cbor_array_push()
57 if (metadata->end_ptr >= metadata->allocated) { in cbor_array_push()
[all …]
H A Dfloats_ctrls.c14 return item->metadata.float_ctrl_metadata.width; in cbor_float_get_width()
20 return item->metadata.float_ctrl_metadata.ctrl; in cbor_ctrl_value()
63 return item->metadata.float_ctrl_metadata.ctrl == CBOR_CTRL_TRUE; in cbor_get_bool()
87 item->metadata.float_ctrl_metadata.ctrl = value; in cbor_set_ctrl()
92 item->metadata.float_ctrl_metadata.ctrl = in cbor_set_bool()
104 .metadata = {.float_ctrl_metadata = {.width = CBOR_FLOAT_0, in cbor_new_ctrl()
117 .metadata = {.float_ctrl_metadata = {.width = CBOR_FLOAT_16}}}; in cbor_new_float2()
129 .metadata = {.float_ctrl_metadata = {.width = CBOR_FLOAT_32}}}; in cbor_new_float4()
141 .metadata = {.float_ctrl_metadata = {.width = CBOR_FLOAT_64}}}; in cbor_new_float8()
H A Dtags.c17 .metadata = {.tag_metadata = {.value = value, .tagged_item = NULL}}, in cbor_new_tag()
25 return cbor_incref(item->metadata.tag_metadata.tagged_item); in cbor_tag_item()
30 return item->metadata.tag_metadata.value; in cbor_tag_value()
36 item->metadata.tag_metadata.tagged_item = tagged_item; in cbor_tag_set_item()
H A Dstrings.c18 .metadata = {.string_metadata = {_CBOR_METADATA_DEFINITE, 0}}}; in cbor_new_definite_string()
28 .metadata = {.string_metadata = {.type = _CBOR_METADATA_INDEFINITE, in cbor_new_indefinite_string()
68 item->metadata.string_metadata.length = length; in cbor_string_set_handle()
112 return item->metadata.string_metadata.length; in cbor_string_length()
122 return item->metadata.string_metadata.codepoint_count; in cbor_string_codepoint_count()
127 return item->metadata.string_metadata.type == _CBOR_METADATA_DEFINITE; in cbor_string_is_definite()
H A Dbytestrings.c14 return item->metadata.bytestring_metadata.length; in cbor_bytestring_length()
24 return item->metadata.bytestring_metadata.type == _CBOR_METADATA_DEFINITE; in cbor_bytestring_is_definite()
37 .metadata = {.bytestring_metadata = {.type = _CBOR_METADATA_DEFINITE, in cbor_new_definite_bytestring()
48 .metadata = {.bytestring_metadata = {.type = _CBOR_METADATA_INDEFINITE, in cbor_new_indefinite_bytestring()
77 item->metadata.bytestring_metadata.length = length; in cbor_bytestring_set_handle()
H A Dints.c12 return item->metadata.int_metadata.width; in cbor_int_get_width()
93 .metadata = {.int_metadata = {.width = CBOR_INT_8}}, in cbor_new_int8()
103 .metadata = {.int_metadata = {.width = CBOR_INT_16}}, in cbor_new_int16()
113 .metadata = {.int_metadata = {.width = CBOR_INT_32}}, in cbor_new_int32()
123 .metadata = {.int_metadata = {.width = CBOR_INT_64}}, in cbor_new_int64()
H A Dcommon.c132 for (size_t i = 0; i < item->metadata.map_metadata.end_ptr; in cbor_decref()
141 if (item->metadata.tag_metadata.tagged_item != NULL) in cbor_decref()
142 cbor_decref(&item->metadata.tag_metadata.tagged_item); in cbor_decref()
/openbsd-src/gnu/llvm/llvm/docs/
H A DPCSectionsMetadata.rst14 (``!pcsections``) kind; the following section describes the metadata format.
39 metadata causes the backend to emit the PC for the associated instruction or
52 ``MD_pcsections`` metadata.
65 Attaching ``!pcsections`` metadata to LLVM IR instructions *shall not* affect
68 While relying on LLVM IR metadata to request PC sections makes the above
69 guarantee relatively trivial, propagation of metadata through the optimization
75 In general, LLVM *does not make any guarantees* about preserving IR metadata
77 sections metadata, this guarantee is unchanged, and ``!pcsections`` metadata is
83 As with other LLVM IR metadata, there are no requirements for LLVM IR
84 transformation passes to preserve ``!pcsections`` metadata, with the following
[all …]
H A DAssignmentTracking.md29 converts conventional debug intrinsics to assignment tracking metadata and sets
78 void @llvm.dbg.assign(metadata, metadata, metadata, metadata, metadata, metadata)
83 `DIAssignID` metadata is the mechanism that is currently used to encode the
84 store<->marker link. The metadata node has no operands and all instances are
87 `llvm.dbg.assign` intrinsics use a `DIAssignID` metadata node instance as an
105 …l void @llvm.dbg.assign(metadata i1 undef, metadata !14, metadata !DIExpression(), metadata !13, m…
107 …ll void @llvm.dbg.assign(metadata i32 %a, metadata !14, metadata !DIExpression(), metadata !16, me…
227 value) and therefore we have nowhere to put the metadata attachment. To solve
H A DSourceLevelDebugging.rst48 the source-level program is maintained in LLVM metadata in an
141 particular, the use of metadata avoids duplicated debugging information from
147 in the form of LLVM metadata.
167 Debug information descriptors are `specialized metadata nodes
168 <LangRef.html#specialized-metadata>`_, first-class subclasses of ``Metadata``.
183 void @llvm.dbg.addr(metadata, metadata, metadata)
186 The first argument is metadata holding the address of variable, typically a
196 call void @llvm.dbg.addr(metadata i32* %i.addr, metadata !1,
197 metadata !DIExpression()), !dbg !2
203 call void @llvm.dbg.addr(metadata [256 x i8]* %buffer, metadata !3,
[all …]
H A DTypeMetadata.rst5 Type metadata is a mechanism that allows IR modules to co-operatively build
7 `control flow integrity`_ implementation uses this metadata to efficiently
10 whole-program devirtualization pass uses the metadata to identify potential
13 To use the mechanism, a client creates metadata nodes with two elements:
16 2. a metadata object representing an identifier for the type
18 These metadata nodes are associated with globals by using global object
19 metadata attachments with the ``!type`` metadata kind.
26 The current implementation only supports attaching metadata to functions on
38 virtual tables using type metadata.
102 this is done is to create type metadata named after each of the compatible
[all …]
H A DBranchWeightMetadata.rst34 !0 = metadata !{
35 metadata !"branch_weights",
48 !0 = metadata !{
49 metadata !"branch_weights",
61 !0 = metadata !{
62 metadata !"branch_weights",
70 Calls may have branch weight metadata, containing the execution count of
76 !0 = metadata !{
77 metadata !"branch_weights",
84 Invoke instruction may have branch weight metadata with one or two weights.
[all …]
H A DRemarks.rst158 In this mode, the remarks and the metadata are serialized separately. The
159 client is responsible for parsing the metadata first, then use the metadata
164 In this mode, the remarks and the metadata are serialized to the same
165 stream. The metadata will always come before the remarks.
225 index in the string table that can be provided separately through metadata.
242 YAML metadata
245 The metadata used together with the YAML format is:
258 When the metadata is serialized separately from the remarks, the file path
261 In case the metadata only acts as a header to the remarks, the file path can be
270 and their associated metadata.
[all …]
/openbsd-src/gnu/llvm/llvm/utils/TableGen/jupyter/
H A DLLVM_TableGen.ipynb6 "metadata": {},
14 "metadata": {},
23 "metadata": {},
45 "metadata": {},
54 "metadata": {
76 "metadata": {},
85 "metadata": {},
109 "metadata": {},
120 "metadata": {
146 "metadata": {},
[all …]
/openbsd-src/lib/libfido2/src/
H A Dcredman.c181 fido_credman_metadata_t *metadata = arg; in credman_parse_metadata() local
191 return (cbor_decode_uint64(val, &metadata->rk_existing)); in credman_parse_metadata()
193 return (cbor_decode_uint64(val, &metadata->rk_remaining)); in credman_parse_metadata()
201 credman_rx_metadata(fido_dev_t *dev, fido_credman_metadata_t *metadata, int *ms) in credman_rx_metadata() argument
207 memset(metadata, 0, sizeof(*metadata)); in credman_rx_metadata()
215 if ((r = cbor_parse_reply(reply, (size_t)reply_len, metadata, in credman_rx_metadata()
225 credman_get_metadata_wait(fido_dev_t *dev, fido_credman_metadata_t *metadata, in credman_get_metadata_wait() argument
232 (r = credman_rx_metadata(dev, metadata, ms)) != FIDO_OK) in credman_get_metadata_wait()
239 fido_credman_get_dev_metadata(fido_dev_t *dev, fido_credman_metadata_t *metadata, in fido_credman_get_dev_metadata() argument
244 return (credman_get_metadata_wait(dev, metadata, pin, &ms)); in fido_credman_get_dev_metadata()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp386 Metadata *metadata = in FindHeapChunkByAddress() local
388 return HwasanChunkView(reinterpret_cast<uptr>(block), metadata); in FindHeapChunkByAddress()
511 __hwasan::Metadata *metadata = reinterpret_cast<__hwasan::Metadata *>( in PointsIntoChunk() local
513 if (!metadata || !metadata->IsAllocated()) in PointsIntoChunk()
515 if (addr < chunk + metadata->GetRequestedSize()) in PointsIntoChunk()
517 if (IsSpecialCaseOfOperatorNew0(chunk, metadata->GetRequestedSize(), addr)) in PointsIntoChunk()
529 __hwasan::Metadata *metadata = reinterpret_cast<__hwasan::Metadata *>( in GetUserBegin() local
531 if (!metadata || !metadata->IsAllocated()) in GetUserBegin()
583 __hwasan::Metadata *metadata = reinterpret_cast<__hwasan::Metadata *>( in IgnoreObjectLocked() local
585 if (!metadata || !metadata->IsAllocated()) in IgnoreObjectLocked()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/tests/
H A Dcrash_handler_api.cpp24 size_t metadata(uintptr_t Addr, uintptr_t Size, bool IsDeallocated) { in metadata() function in CrashHandlerAPITest
136 metadata(/* Addr */ 0x7000, /* Size */ 0x20, /* IsDeallocated */ true); in TEST_F()
152 metadata(/* Addr */ 0x7000, /* Size */ 0x20, /* IsDeallocated */ false); in TEST_F()
182 metadata(/* Addr */ 0x7000, /* Size */ 0x20, /* IsDeallocated */ true); in TEST_F()
194 metadata(/* Addr */ 0x5f00, /* Size */ 0x100, /* IsDeallocated */ false); in TEST_F()
206 metadata(/* Addr */ 0x3000, /* Size */ 0x10, /* IsDeallocated*/ false); in TEST_F()
/openbsd-src/gnu/llvm/lldb/source/Plugins/TraceExporter/common/
H A DTraceHTR.cpp390 HTRBlockMetadata metadata = htr.GetInstructionLayer().GetMetadataByIndex(i); in toJSON() local
391 lldb::addr_t load_address = metadata.GetFirstInstructionLoadAddress(); in toJSON()
442 HTRBlockMetadata metadata = block.GetMetadata(); in toJSON() local
445 metadata.GetMostFrequentlyCalledFunction(); in toJSON()
447 stream << "0x" << std::hex << metadata.GetFirstInstructionLoadAddress(); in toJSON()
460 auto duration = metadata.GetNumInstructions(); in toJSON()
480 llvm::json::Value lldb_private::toJSON(const HTRBlockMetadata &metadata) { in toJSON() argument
482 for (const auto &it : metadata.GetFunctionCalls()) { in toJSON()
489 {"Number of Instructions", (ssize_t)metadata.GetNumInstructions()}, in toJSON()
H A DTraceHTR.h104 HTRBlock(size_t offset, size_t size, HTRBlockMetadata metadata) in HTRBlock() argument
105 : m_offset(offset), m_size(size), m_metadata(metadata) {} in HTRBlock()
358 llvm::json::Value toJSON(const HTRBlockMetadata &metadata);
/openbsd-src/gnu/usr.bin/perl/cpan/podlators/
H A DMakefile.PL84 my %metadata = (
179 delete $metadata{$key};
185 WriteMakefile(%metadata);
/openbsd-src/gnu/usr.bin/perl/cpan/podlators/t/style/
H A Dmodule-version.t46 my $metadata = $json->decode(scalar(slurp('MYMETA.json')));
47 my $version = $metadata->{version};
/openbsd-src/gnu/llvm/lldb/examples/python/scripted_process/
H A Dscripted_process.py20 metadata = None variable in ScriptedProcess
47 self.metadata = {}
205 return self.metadata
/openbsd-src/gnu/llvm/clang/docs/HLSL/
H A DHLSLIRReference.rst12 IR metadata and attributes used by the HLSL code generation path.
20 The ``hlsl.uavs`` metadata is a list of all the external global variables that
/openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/
H A DMM_Any.pm1137 my $metadata = $self->metafile_data(
1142 my $meta = $self->_fix_metadata_before_conversion( $metadata );
1180 my ( $self, $metadata ) = @_;
1187 my $bad_version = $metadata->{version} &&
1188 !CPAN::Meta::Validator->new->version( 'version', $metadata->{version} );
1191 warn "Can't parse version '$metadata->{version}'\n";
1192 $metadata->{version} = '';
1195 my $validator2 = CPAN::Meta::Validator->new( $metadata );
1200 %$metadata,
1217 $metadata->{resources}{$new_key} = $metadata->{resources}{$key}
[all …]

1234567