Home
last modified time | relevance | path

Searched refs:Meta (Results 1 – 25 of 136) sorted by relevance

123456

/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/parse-cpan-meta/
H A D02_api.t18 use Parse::CPAN::Meta;
19 use Parse::CPAN::Meta::Test;
72 is(Parse::CPAN::Meta->yaml_backend(), 'CPAN::Meta::YAML', 'yaml_backend(): CPAN::Meta::YAML');
73 my $from_yaml = Parse::CPAN::Meta->load_file( $meta_yaml );
81 is(Parse::CPAN::Meta->yaml_backend(), 'CPAN::Meta::YAML', 'yaml_backend(): CPAN::Meta::YAML');
82 my $from_yaml = Parse::CPAN::Meta->load_file( $yaml_meta );
90 is(Parse::CPAN::Meta->yaml_backend(), 'CPAN::Meta::YAML', 'yaml_backend(): CPAN::Meta::YAML');
91 my $from_yaml = Parse::CPAN::Meta->load_file( $bare_yaml_meta );
99 is(Parse::CPAN::Meta->yaml_backend(), 'CPAN::Meta::YAML', 'yaml_backend(): CPAN::Meta::YAML');
100 my $from_yaml = Parse::CPAN::Meta->load_file( $CL018_yaml_meta );
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/lib/CPAN/
H A DMeta.pm4 package CPAN::Meta;
57 use CPAN::Meta::Feature;
58 use CPAN::Meta::Prereqs;
59 use CPAN::Meta::Converter;
60 use CPAN::Meta::Validator;
61 use Parse::CPAN::Meta 1.4414 ();
63 BEGIN { *_dclone = \&CPAN::Meta::Converter::_dclone }
225 my $cmc = CPAN::Meta::Converter->new( $struct );
231 my $cmv = CPAN::Meta::Validator->new( $struct );
244 my $cmc = CPAN::Meta::Converter->new( $struct );
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/tests/
H A Dbacktrace.cpp76 gwp_asan::AllocationMetadata Meta; in TEST() local
77 Meta.AllocationTrace.RecordBacktrace( in TEST()
84 EXPECT_EQ(2u, __gwp_asan_get_allocation_trace(&Meta, TraceOutput, 2)); in TEST()
90 gwp_asan::AllocationMetadata Meta; in TEST() local
91 Meta.AllocationTrace.RecordBacktrace( in TEST()
103 __gwp_asan_get_allocation_trace(&Meta, &TraceOutput, 1)); in TEST()
107 gwp_asan::AllocationMetadata Meta; in TEST() local
109 Meta.AllocationTrace.RecordBacktrace( in TEST()
118 __gwp_asan_get_allocation_trace(&Meta, &TraceOutput, 1)); in TEST()
122 gwp_asan::AllocationMetadata Meta; in TEST() local
[all …]
H A Dcrash_handler_api.cpp49 void setupBacktraces(AllocationMetadata *Meta) { in setupBacktraces() argument
50 Meta->AllocationTrace.TraceSize = gwp_asan::compression::pack( in setupBacktraces()
52 Meta->AllocationTrace.CompressedTrace, in setupBacktraces()
55 if (Meta->IsDeallocated) in setupBacktraces()
56 Meta->DeallocationTrace.TraceSize = gwp_asan::compression::pack( in setupBacktraces()
58 Meta->DeallocationTrace.CompressedTrace, in setupBacktraces()
62 void checkBacktrace(const AllocationMetadata *Meta, bool IsDeallocated) { in checkBacktrace() argument
66 Meta, Buffer, kNumBacktraceConstants)); in checkBacktrace()
72 __gwp_asan_get_deallocation_trace(Meta, Buffer, in checkBacktrace()
80 const AllocationMetadata *Meta = in checkMetadata() local
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/
H A Dconverter.t6 use CPAN::Meta;
7 use CPAN::Meta::Validator;
8 use CPAN::Meta::Converter;
12 use Parse::CPAN::Meta;
35 *_spec_version = \&CPAN::Meta::Converter::_extract_spec_version;
42 my $original = Parse::CPAN::Meta->load_file( $path );
47 my $cmc = CPAN::Meta::Converter->new( $original );
50 my $cmv = CPAN::Meta::Validator->new( $converted );
58 my $cmc = CPAN::Meta::Converter->new( $original );
61 my $cmv = CPAN::Meta::Validator->new( $converted );
[all …]
H A Dconverter-bad.t5 use CPAN::Meta;
6 use CPAN::Meta::Validator;
7 use CPAN::Meta::Converter;
10 use Parse::CPAN::Meta;
23 *_spec_version = \&CPAN::Meta::Converter::_extract_spec_version;
29 my $original = Parse::CPAN::Meta->load_file( $path );
34 my $cmc = CPAN::Meta::Converter->new( $original );
37 my $cmv = CPAN::Meta::Validator->new( $converted );
45 my $cmc = CPAN::Meta::Converter->new( $original );
48 my $cmv = CPAN::Meta::Validator->new( $converted );
[all …]
H A Dconverter-fail.t5 use CPAN::Meta;
6 use CPAN::Meta::Validator;
7 use CPAN::Meta::Converter;
10 use Parse::CPAN::Meta;
20 *_spec_version = \&CPAN::Meta::Converter::_extract_spec_version;
26 my $original = Parse::CPAN::Meta->load_file( $path );
31 my $cmc = CPAN::Meta::Converter->new( $original );
37 my $cmc = CPAN::Meta::Converter->new( $original );
H A Dvalidator.t5 use CPAN::Meta;
6 use CPAN::Meta::Validator;
9 use Parse::CPAN::Meta;
24 my $meta = Parse::CPAN::Meta->load_file( File::Spec->catfile($f) );
25 my $cmv = CPAN::Meta::Validator->new({%$meta});
39 my $meta = Parse::CPAN::Meta->load_file( File::Spec->catfile($f) );
40 my $cmv = CPAN::Meta::Validator->new({%$meta});
H A Dsave-load.t5 use CPAN::Meta;
7 use Parse::CPAN::Meta;
73 url => 'http://search.cpan.org/perldoc?CPAN::Meta::Spec',
78 my $meta = CPAN::Meta->new( $distmeta );
86 ok( my $loaded = Parse::CPAN::Meta->load_file($metafile), 'load saved file' );
100 ok( $loaded = Parse::CPAN::Meta->load_file('t/data-test/META-1_4.yml'), 'load META-1.4' );
110 ok( $loaded = Parse::CPAN::Meta->load_file($metayml), 'load saved file' );
116 qr/\ACPAN::Meta::YAML version [0-9]/,
127 ok( $loaded = CPAN::Meta->load_file('t/data-test/META-2.meta'), 'load_file META-2.meta' );
130 ok( $loaded = CPAN::Meta->load_string($string), 'load META-2.meta from string' );
H A Drepository.t5 use CPAN::Meta;
15 my $meta = CPAN::Meta->new(
49 my $meta = CPAN::Meta->new(
85 my $meta = CPAN::Meta->new(
121 my $meta = CPAN::Meta->new(
158 my $meta = CPAN::Meta->new(
195 my $meta = CPAN::Meta->new(
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DSanitizerMetadata.cpp51 llvm::GlobalVariable::SanitizerMetadata Meta; in reportGlobal() local
53 Meta = GV->getSanitizerMetadata(); in reportGlobal()
55 Meta.NoAddress |= NoSanitizeAttrSet.hasOneOf(SanitizerKind::Address); in reportGlobal()
56 Meta.NoAddress |= CGM.isInNoSanitizeList( in reportGlobal()
59 Meta.NoHWAddress |= NoSanitizeAttrSet.hasOneOf(SanitizerKind::HWAddress); in reportGlobal()
60 Meta.NoHWAddress |= CGM.isInNoSanitizeList( in reportGlobal()
63 Meta.Memtag |= in reportGlobal()
65 Meta.Memtag &= !NoSanitizeAttrSet.hasOneOf(SanitizerKind::MemTag); in reportGlobal()
66 Meta.Memtag &= !CGM.isInNoSanitizeList( in reportGlobal()
69 Meta.IsDynInit = IsDynInit && !Meta.NoAddress && in reportGlobal()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/
H A D12_write.t10 use CPAN::Meta::YAML;
20 my $obj = CPAN::Meta::YAML->new();
40 # CPAN::Meta::YAML doesn't preserve order in the file, so we can't actually check
53 # CPAN::Meta::YAML->write
54 ok( CPAN::Meta::YAML->new($c)->write($tempfile),
56 or diag "ERROR: " . CPAN::Meta::YAML->errstr;
58 # CPAN::Meta::YAML->read
59 ok( $data = eval { CPAN::Meta::YAML->read( $tempfile ) },
61 or diag "ERROR: " . CPAN::Meta::YAML->errstr;
69 # CPAN::Meta::YAML->read_string on UTF-8 decoded data
[all …]
H A D10_read.t10 use CPAN::Meta::YAML;
45 my $got = eval { CPAN::Meta::YAML->read( $file ) };
46 is( $@, '', "CPAN::Meta::YAML reads without exception" );
49 isa_ok( $got, 'CPAN::Meta::YAML' )
50 or diag "ERROR: " . CPAN::Meta::YAML->errstr;
51 cmp_deeply( $got, $case->{perl}, "CPAN::Meta::YAML parses correctly" );
79 my $result = eval { CPAN::Meta::YAML->read( $file ) };
88 eval { CPAN::Meta::YAML->read(); };
93 eval { CPAN::Meta::YAML->read( test_data_file('nonexistent.yml') ); };
98 eval { CPAN::Meta::YAML->read( test_data_directory() ); };
H A D21_yamlpm_compat.t14 use CPAN::Meta::YAML;
21 my $yamldump = CPAN::Meta::YAML::Dump( $scalar, $arrayref, $hashref );
22 my @yamldocsloaded = CPAN::Meta::YAML::Load($yamldump);
38 my $rv = CPAN::Meta::YAML::DumpFile(
42 my @yamldocsloaded = CPAN::Meta::YAML::LoadFile($filename);
53 eval { @yamldocsloaded = CPAN::Meta::YAML::Load("$str\n"); };
55 qr/CPAN::Meta::YAML failed to classify line '$str'/,
H A D01_api.t10 use CPAN::Meta::YAML;
15 ok( \&main::Load == \&CPAN::Meta::YAML::Load, 'Load is CPAN::Meta::YAML' );
16 ok( \&main::Dump == \&CPAN::Meta::YAML::Dump, 'Dump is CPAN::Meta::YAML' );
26 use CPAN::Meta::YAML qw/Load Dump LoadFile DumpFile freeze thaw/;
37 ok( my $yaml = CPAN::Meta::YAML->new( @docs ), "constructor" );
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/lib/
H A DTestBridge.pm17 use CPAN::Meta::YAML;
138 my $got = eval { CPAN::Meta::YAML->read_string( $yaml_copy ); };
160 my $roundtrip = eval { CPAN::Meta::YAML->read_string( $output ) };
195 my $result = eval { CPAN::Meta::YAML->new( @$input )->write_string };
226 my $result = eval { CPAN::Meta::YAML->new( @$input )->write_string };
252 my $result = eval { CPAN::Meta::YAML->read_string( $yaml ) };
283 my $result = eval { CPAN::Meta::YAML->read_string( $yaml ) };
314 CPAN::Meta::YAML::Load($yaml);
353 my $dump = CPAN::Meta::YAML::Dump($data);
357 my $yny = CPAN::Meta::YAML::Dump(CPAN::Meta::YAML::Load($yaml));
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp135 const AllocationMetadata &Meta = Metadata[i]; in iterate() local
136 if (Meta.Addr && !Meta.IsDeallocated && Meta.Addr >= Start && in iterate()
137 Meta.Addr < Start + Size) in iterate()
138 Cb(Meta.Addr, Meta.RequestedSize, Arg); in iterate()
239 AllocationMetadata *Meta = addrToMetadata(SlotStart); in allocate() local
260 Meta->RecordAllocation(UserPtr, Size); in allocate()
263 Meta->AllocationTrace.RecordBacktrace(Backtrace); in allocate()
330 AllocationMetadata *Meta = addrToMetadata(UPtr); in deallocate() local
334 if (Meta->HasCrashed) in deallocate()
337 if (Meta->Addr != UPtr) { in deallocate()
[all …]
/openbsd-src/gnu/usr.bin/texinfo/info/
H A Dinfomap.c56 keymap[Meta(i)].type = ISFUNC; in keymap_make_keymap()
57 keymap[Meta(i)].function = in keymap_make_keymap()
927 Meta('0'), NUL, A_info_add_digit_to_numeric_arg,
928 Meta('1'), NUL, A_info_add_digit_to_numeric_arg,
929 Meta('2'), NUL, A_info_add_digit_to_numeric_arg,
930 Meta('3'), NUL, A_info_add_digit_to_numeric_arg,
931 Meta('4'), NUL, A_info_add_digit_to_numeric_arg,
932 Meta('5'), NUL, A_info_add_digit_to_numeric_arg,
933 Meta('6'), NUL, A_info_add_digit_to_numeric_arg,
934 Meta('7'), NUL, A_info_add_digit_to_numeric_arg,
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-Requirements/t/
H A Dbasic.t4 use CPAN::Meta::Requirements;
23 my $req = CPAN::Meta::Requirements->new;
47 my $req = CPAN::Meta::Requirements->new;
55 my $req = CPAN::Meta::Requirements->new;
64 my $req = CPAN::Meta::Requirements->new;
109 my $req = CPAN::Meta::Requirements->new;
125 my $req = CPAN::Meta::Requirements->new;
136 my $req = CPAN::Meta::Requirements->new;
144 my $req = CPAN::Meta::Requirements->new;
150 $req = CPAN::Meta::Requirements->new;
[all …]
H A Dmerge.t4 use CPAN::Meta::Requirements;
5 use CPAN::Meta::Requirements::Range;
24 my $range = CPAN::Meta::Requirements::Range->with_minimum(2);
32 my $req_1 = CPAN::Meta::Requirements->new;
37 my $req_2 = CPAN::Meta::Requirements->new;
56 my $req_1 = CPAN::Meta::Requirements->new;
62 my $req_2 = CPAN::Meta::Requirements->new;
115 my $req_1 = CPAN::Meta::Requirements->new;
130 my $left = CPAN::Meta::Requirements->new;
134 my $right = CPAN::Meta
[all...]
H A Daccepts.t4 use CPAN::Meta::Requirements;
9 my $req = CPAN::Meta::Requirements->new->add_minimum(Foo => 1);
16 my $req = CPAN::Meta::Requirements->new->add_minimum(Foo => 0);
26 my $req = CPAN::Meta::Requirements->new->add_maximum(Foo => 1);
33 my $req = CPAN::Meta::Requirements->new->add_exclusion(Foo => 1);
40 my $req = CPAN::Meta::Requirements::Range->with_minimum(1);
47 my $req = CPAN::Meta::Requirements::Range->with_minimum(0);
57 my $req = CPAN::Meta::Requirements::Range->with_maximum(1);
64 my $req = CPAN::Meta::Requirements::Range->with_exclusion(1);
H A Dfrom-hash.t4 use CPAN::Meta::Requirements;
5 use CPAN::Meta::Requirements::Range;
24 my $range = CPAN::Meta::Requirements::Range->with_string_requirement($string);
35 my $req = CPAN::Meta::Requirements->from_string_hash($string_hash);
53 dies_ok { CPAN::Meta::Requirements->from_string_hash($string_hash) }
62 my $range = CPAN::Meta::Requirements::Range->with_string_requirement(undef);
76 my $req = CPAN::Meta::Requirements->from_string_hash($undef_hash);
100 my $req = eval { CPAN::Meta::Requirements->from_string_hash($string_hash); };
111 my $req = CPAN::Meta::Requirements->from_string_hash(
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/
H A DYAML.pm4 package CPAN::Meta::YAML; # git description: v1.68-2-gcc5324e
8 $CPAN::Meta::YAML::VERSION = '0.018';
26 return CPAN::Meta::YAML->new(@_)->_dump_string;
33 my $self = CPAN::Meta::YAML->_load_string(@_);
51 return CPAN::Meta::YAML->new(@_)->_dump_file($file);
56 my $self = CPAN::Meta::YAML->_load_file($file);
/openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/
H A Dmetafile_data.t9 eval { require CPAN::Meta; CPAN::Meta->VERSION(2.143240) }
10 or plan skip_all => 'CPAN::Meta 2.143240 required for this test';
11 eval { require CPAN::Meta::Converter; }
12 or plan skip_all => 'CPAN::Meta::Converter required for this test';
13 eval { require Parse::CPAN::Meta; }
14 or plan skip_all => 'Parse::CPAN::Meta required for this test';
32 like $have_gen, qr{CPAN::Meta}, "CPAN::Meta mentioned in the generated_by";
33 like $have_url, qr{CPAN::Meta::Spec}, "CPAN::Meta::Spec mentioned in meta-spec URL";
48 url => 'https://metacpan.org/pod/CPAN::Meta::Spec',
418 … generated_by => "ExtUtils::MakeMaker version 6.5707, CPAN::Meta::Converter version 2.110580",
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/lib/CPAN/Meta/
H A DMerge.pm4 package CPAN::Meta::Merge;
10 use CPAN::Meta::Converter 2.141170;
112 require CPAN::Meta::Prereqs;
114 CPAN::Meta::Prereqs->new($left->{$key}{prereqs})
115 ->with_merged_prereqs(CPAN::Meta::Prereqs->new($right->{$key}{prereqs}))
147 require CPAN::Meta::Prereqs;
148 my ($left, $right) = map { CPAN::Meta::Prereqs->new($_) } @_[0,1];
222 my $cmc = CPAN::Meta::Converter->new(

123456