Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 2223) sorted by relevance

12345678910>>...89

/openbsd-src/gnu/usr.bin/perl/dist/threads/t/
H A Dblocks.t69 threads->create('foo')->join();
71 threads->create(\&foo)->join();
73 threads->create(sub { lock($COUNT); $COUNT++; })->join();
76 threads->create('foo')->detach();
78 threads->create(\&foo)->detach();
80 threads->create(sub { lock($COUNT); $COUNT++; })->detach();
82 $bthr = threads->create('baz');
88 threads->create('foo')->join();
90 threads->create(\&foo)->join();
92 threads->create(sub { lock($COUNT); $COUNT++; })->join();
[all …]
H A Djoin.t59 my $retval = threads->create(sub { return ("hi") })->join();
63 my ($thread) = threads->create(sub { return (1,2,3) });
68 my $retval = threads->create(sub { return [1] })->join();
72 my $retval = threads->create(sub { return { foo => "bar" }})->join();
76 my $retval = threads->create( sub {
88 my $retval = threads->create(sub { return $_[0]}, \$test)->join();
94 my $retval = threads->create(sub { return $_[0]}, \$test)->join();
102 threads->create(sub {
115 threads->create(sub{ #print "# subthread: \$0 = $0\n";
148 my $t = threads->create(sub {});
[all …]
H A Dbasic.t48 threads->create('test1', 'bar')->join();
53 threads->create(\&test2, [{'foo' => 'bar'}])->join();
58 threads->create(\&test3, 1)->join();
65 my $thread1 = threads->create('test4');
76 threads->create('test6')->join();
84 threads->create('test5')->join();
92 threads->create('test7')->join;
99 threads->create('test8')->join;
110 threads->create(sub {
120 threads->create(sub {
[all …]
H A Dfree.t78 threads->create('threading_1', $q)->detach();
102 threads->create('threading_1', $q)->detach();
111 threads->create(sub {
112 threads->create(sub { })->join();
132 threads->create('threading_2', $q)->detach();
146 threads->create('threading_2', $q)->detach();
147 threads->create(sub {
148 threads->create(sub { })->join();
162 threads->create(sub { })->join();
174 threads->create(sub {
[all …]
H A Dcontext.t71 my ($thr) = threads->create('foo', 'array');
75 $thr = threads->create('foo', 'scalar');
79 threads->create('foo', 'void');
84 $thr = threads->create({'context' => 'array'}, 'foo', 'array');
88 ($thr) = threads->create({'scalar' => 'scalar'}, 'foo', 'scalar');
92 $thr = threads->create({'void' => 1}, 'foo', 'void');
114 ($thr) = threads->create('bar', 'list');
120 $thr = threads->create('bar', 'scalar');
126 threads->create('bar', 'void');
133 $thr = threads->create({'context' => 'list'}, 'bar', 'list');
[all …]
H A Dthread.t36 my $t = threads->create(\&content, "ok 2\n", "ok 3\n", 1..1000);
44 $t = threads->create(sub { lock($lock); print "ok 5\n"});
55 $ret = threads->create(\&dorecurse, @_);
60 my $t = threads->create(\&dorecurse, map { "ok $_\n" } 6..10);
66 my $t = threads->create(\&dorecurse, "ok 11\n");
80 $ret = threads->create(\&islocked, shift);
84 my $t = threads->create(\&islocked, "ok 13\n", "ok 14\n");
111 my $thr1 = threads->create(\&testsprintf, 15);
112 my $thr2 = threads->create(\&testsprintf, 16);
158 threads->create( sub { $rand{int(rand(10000000000))}++ } ) foreach 1..25;
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCExpr.h165 static const MCConstantExpr *create(int64_t Value, MCContext &Ctx,
386 static const MCSymbolRefExpr *create(const MCSymbol *Symbol, MCContext &Ctx) { in create() function
387 return MCSymbolRefExpr::create(Symbol, VK_None, Ctx); in create()
390 static const MCSymbolRefExpr *create(const MCSymbol *Symbol, VariantKind Kind,
392 static const MCSymbolRefExpr *create(StringRef Name, VariantKind Kind,
444 static const MCUnaryExpr *create(Opcode Op, const MCExpr *Expr,
448 return create(LNot, Expr, Ctx, Loc);
452 return create(Minus, Expr, Ctx, Loc);
456 return create(Not, Expr, Ctx, Loc);
460 return create(Plus, Expr, Ctx, Loc);
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DConstructionContext.cpp22 ConstructionContextLayer::create(BumpVectorContext &C, in create() function in ConstructionContextLayer
84 return create<SimpleTemporaryObjectConstructionContext>(C, BTE, MTE); in createMaterializedTemporaryFromLayers()
86 return create<ElidedTemporaryObjectConstructionContext>( in createMaterializedTemporaryFromLayers()
92 return create<SimpleTemporaryObjectConstructionContext>(C, BTE, MTE); in createMaterializedTemporaryFromLayers()
103 return create<SimpleTemporaryObjectConstructionContext>(C, BTE, in createBoundTemporaryFromLayers()
113 return create<CXX17ElidedCopyVariableConstructionContext>(C, DS, BTE); in createBoundTemporaryFromLayers()
123 return create<CXX17ElidedCopyReturnedValueConstructionContext>(C, RS, in createBoundTemporaryFromLayers()
148 return create<ArgumentConstructionContext>(C, E, ParentItem.getIndex(), in createBoundTemporaryFromLayers()
156 return create<CXX17ElidedCopyConstructorInitializerConstructionContext>( in createBoundTemporaryFromLayers()
162 return create<LambdaCaptureConstructionContext>(C, E, in createBoundTemporaryFromLayers()
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/Dumpvalue/t/
H A Dextend-coverage.t31 ok( $d, 'create a new Dumpvalue object' );
41 ok( $d = Dumpvalue->new(), 'create a new Dumpvalue object' );
54 ok( $d = Dumpvalue->new(), 'create a new Dumpvalue object' );
56 # Need to create a "stringify-overloaded object", then test with
65 ok( $d, 'create a new Dumpvalue object: quoteHighBit explicitly off' );
70 ok( $e, 'create a new Dumpvalue object: quoteHighBit on' );
75 ok( $f, 'create a new Dumpvalue object: quoteHighBit explicitly off, unctrl' );
80 ok( $g, 'create a new Dumpvalue object: quoteHighBit explicitly off, unctrl' );
85 ok( $h, 'create a new Dumpvalue object: quoteHighBit explicitly off, tick quote' );
90 ok( $i, 'create a new Dumpvalue object: quoteHighBit on, tick quote' );
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformRemoteMacOSX.cpp77 bool create = force; in CreateInstance() local
78 if (!create && arch && arch->IsValid()) { in CreateInstance()
82 create = true; in CreateInstance()
89 create = !arch->TripleVendorWasSpecified(); in CreateInstance()
96 if (create) { in CreateInstance()
106 create = !arch->TripleOSWasSpecified(); in CreateInstance()
110 create = false; in CreateInstance()
116 if (create) { in CreateInstance()
H A DPlatformRemoteAppleWatch.cpp74 bool create = force; in CreateInstance() local
75 if (!create && arch && arch->IsValid()) { in CreateInstance()
85 create = true; in CreateInstance()
93 create = !arch->TripleVendorWasSpecified(); in CreateInstance()
100 if (create) { in CreateInstance()
107 create = false; in CreateInstance()
122 create = false; in CreateInstance()
126 if (create) { in CreateInstance()
H A DPlatformRemoteAppleBridge.cpp76 bool create = force; in CreateInstance() local
77 if (!create && arch && arch->IsValid()) { in CreateInstance()
84 create = true; in CreateInstance()
92 create = !arch->TripleVendorWasSpecified(); in CreateInstance()
99 if (create) { in CreateInstance()
110 create = false; in CreateInstance()
123 if (create) { in CreateInstance()
H A DPlatformRemoteAppleTV.cpp77 bool create = force; in CreateInstance() local
78 if (!create && arch && arch->IsValid()) { in CreateInstance()
87 create = true; in CreateInstance()
95 create = !arch->TripleVendorWasSpecified(); in CreateInstance()
102 if (create) { in CreateInstance()
109 create = false; in CreateInstance()
119 if (create) { in CreateInstance()
H A DPlatformRemoteiOS.cpp71 bool create = force; in CreateInstance() local
72 if (!create && arch && arch->IsValid()) { in CreateInstance()
81 create = true; in CreateInstance()
89 create = !arch->TripleVendorWasSpecified(); in CreateInstance()
96 if (create) { in CreateInstance()
105 create = false; in CreateInstance()
115 if (create) { in CreateInstance()
/openbsd-src/gnu/usr.bin/perl/cpan/Win32API-File/
H A DFile.pm445 my( $create, $flags, $sec, $model )= ( "", 0, [], 0 );
455 $create= $opts->{Create} if exists( $opts->{Create} );
462 $create= $c if "" ne $c && "" eq $create;
490 if( $create =~ /^[ktn ce]*$/ ) {
491 local( $_ )= $create;
496 qq<more than one of "k", "t", and "n" ($create)>;
500 qq<both "c" and "e" ($create)>;
509 if( $c || $w && ! $e ) { $create= OPEN_ALWAYS();
510 } else { $create= OPEN_EXISTING(); }
512 if( $e ) { $create= TRUNCATE_EXISTING();
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/Builder/
H A Dis_passing.t21 my $tb = Test::Builder::NoOutput->create;
40 my $tb = Test::Builder::NoOutput->create;
52 my $tb = Test::Builder::NoOutput->create;
68 my $tb = Test::Builder::NoOutput->create;
81 my $tb = Test::Builder::NoOutput->create;
90 my $tb = Test::Builder::NoOutput->create;
98 my $tb = Test::Builder::NoOutput->create;
/openbsd-src/gnu/usr.bin/perl/dist/threads-shared/t/
H A Dav_refs.t52 my $av = threads->create(sub {
65 threads->create(sub { $av[0] = "hihi" })->join();
70 threads->create(sub { @$av = () })->join();
71 threads->create(sub { ok(9, scalar @$av == 0, 'Array cleared in thread'); })->join();
73 threads->create(sub {
74 unshift(@$av, threads->create(sub {
83 threads->create(sub { push @{$av->[0]}, \@av })->join();
84 threads->create(sub { $av[0] = 'testtest'})->join();
85 threads->create(sub { ok(11, $av->[0]->[0]->[0] eq 'testtest', 'Nested'); })->join();
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/subtest/
H A Dbasic.t30 my $tb = Test::Builder::NoOutput->create;
68 my $tb = Test::Builder::NoOutput->create;
112 my $tb = Test::Builder::NoOutput->create;
149 my $tb = Test::Builder::NoOutput->create;
156 my $tb = Test::Builder::NoOutput->create;
168 my $tb = Test::Builder::NoOutput->create;
183 my $tb = Test::Builder::NoOutput->create;
201 my $tb = Test::Builder::NoOutput->create;
/openbsd-src/gnu/usr.bin/perl/dist/Thread-Queue/t/
H A D06_insert.t28 threads->create(sub {
42 threads->create(sub {
54 threads->create(sub {
66 threads->create(sub {
77 threads->create(sub { $q->insert(0, 1..3); })->join();
83 threads->create(sub { $q->insert(20, 1..3); })->join();
89 threads->create(sub { $q->insert(-1, 1..3); })->join();
95 threads->create(sub {
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRMCInstLower.cpp29 const MCExpr *Expr = MCSymbolRefExpr::create(Sym, Ctx); in lowerSymbolOperand()
38 Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx); in lowerSymbolOperand()
46 AVRMCExpr::create(Subtarget.hasEIJMPCALL() ? AVRMCExpr::VK_AVR_LO8_GS in lowerSymbolOperand()
50 Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_LO8, Expr, IsNegated, Ctx); in lowerSymbolOperand()
55 AVRMCExpr::create(Subtarget.hasEIJMPCALL() ? AVRMCExpr::VK_AVR_HI8_GS in lowerSymbolOperand()
59 Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_HI8, Expr, IsNegated, Ctx); in lowerSymbolOperand()
99 MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), Ctx)); in lowerInstruction()
/openbsd-src/gnu/usr.bin/perl/dist/Thread-Queue/examples/
H A Dcallback.pl25 threads->create('CallBack', 'USR1', $regis_q)->detach();
26 threads->create('CallBack', 'USR2', $regis_q)->detach();
27 threads->create('CallBack', 'HUP', $regis_q)->detach();
28 threads->create('CallBack', 'ALRM', $regis_q)->detach();
31 threads->create('EventHandler', $regis_q, $event_q)->detach();
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonMCInstLower.cpp85 ME = MCSymbolRefExpr::create(Symbol, RelocationType, MC); in GetSymbolRef()
88 ME = MCBinaryExpr::createAdd(ME, MCConstantExpr::create(MO.getOffset(), MC), in GetSymbolRef()
91 ME = HexagonMCExpr::create(ME, MC); in GetSymbolRef()
145 auto Expr = HexagonMCExpr::create( in HexagonLowerToMC()
146 MCConstantExpr::create(*Val.bitcastToAPInt().getRawData(), in HexagonLowerToMC()
154 auto Expr = HexagonMCExpr::create( in HexagonLowerToMC()
155 MCConstantExpr::create(MO.getImm(), AP.OutContext), AP.OutContext); in HexagonLowerToMC()
161 MCExpr const *Expr = MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), in HexagonLowerToMC()
163 Expr = HexagonMCExpr::create(Expr, AP.OutContext); in HexagonLowerToMC()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Denv_opts.t20 ok my $harness = TAP::Harness::Env->create, 'made harness';
32 ok my $harness = TAP::Harness::Env->create, 'made harness';
46 ok my $harness = TAP::Harness::Env->create, 'made harness';
58 ok my $harness = TAP::Harness::Env->create, 'made harness';
64 ok my $harness = TAP::Harness::Env->create, 'made harness';
/openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/Static/
H A DDynamicLoaderStatic.cpp28 bool create = force; in LLDB_PLUGIN_DEFINE() local
29 if (!create) { in LLDB_PLUGIN_DEFINE()
43 create = true; in LLDB_PLUGIN_DEFINE()
48 if (!create) { in LLDB_PLUGIN_DEFINE()
53 create = (object_file->GetStrata() == ObjectFile::eStrataRawImage); in LLDB_PLUGIN_DEFINE()
58 if (create) in LLDB_PLUGIN_DEFINE()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp27 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getTTypeGlobalReference()
28 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference()
50 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getIndirectSymViaGOTPCRel()
51 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel()
57 return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext()); in getDebugThreadLocalSymbol()

12345678910>>...89