Home
last modified time | relevance | path

Searched refs:new (Results 126 – 150 of 3620) sorted by relevance

12345678910>>...145

/openbsd/usr.sbin/pkg_add/OpenBSD/
H A DIdCache.pod11 my $ucache = OpenBSD::UidCache->new;
14 my $gcache = OpenBSD::GidCache->new;
17 my $unamecache = OpenBSD::UnameCache->new;
20 my $gnamecache = OpenBSD::GnameCache->new;
29 C<UidCache::new> creates a UID cache, which can be used to look up user
34 C<GidCache::new> provides the same service for GIDs.
36 C<UnameCache::new> creates a user name cache, which can be used to look up
39 C<GnameCache::new> provides the same service for group names.
/openbsd/gnu/usr.bin/perl/dist/IO/t/
H A Dcachepropagate-udp.t24 my $new = IO::Socket::INET->new_from_fd($listener->fileno(), 'r+');
26 is($new->sockdomain(), $d, 'domain match');
30 if !defined $new->sockopt(Socket::SO_PROTOCOL);
31 is($new->protocol(), $p, 'protocol match');
38 if !defined $new->sockopt(Socket::SO_TYPE);
39 is($new->socktype(), $s, 'type match');
/openbsd/gnu/usr.bin/perl/t/class/
H A Ddestruct.t16 sub new { my $pkg = shift; bless [ @_ ], $pkg }
22 my $notifier = DestructionNotify->new( \$destroyed, 1 );
35 $x = DestructionNotify->new( \$destroyed, "x" );
43 $z = DestructionNotify->new( \$destroyed, "z" );
44 $y = DestructionNotify->new( \$destroyed, "y" );
48 my $obj = Test1->new;
/openbsd/lib/libc/arch/mips64/gen/
H A Dfpsetround.c14 fp_rnd new; local
18 new = old;
19 new &= ~0x03;
20 new |= (rnd_dir & 0x03);
22 __asm__("ctc1 %0,$31" : : "r" (new));
H A Dfpsetsticky.c14 fp_except new; local
18 new = old;
19 new &= ~(0x1f << 2);
20 new |= ((sticky & 0x1f) << 2);
22 __asm__("ctc1 %0,$31" : : "r" (new));
H A Dfpsetmask.c14 fp_except new; local
18 new = old;
19 new &= ~(0x1f << 7);
20 new |= ((mask & 0x1f) << 7);
22 __asm__("ctc1 %0,$31" : : "r" (new));
/openbsd/lib/libc/arch/sparc64/gen/
H A Dfpsetmask.c15 fp_except new; local
19 new = old;
20 new &= ~(0x1f << 23);
21 new |= ((mask & 0x1f) << 23);
23 __asm__("ld %0,%%fsr" : : "m" (*&new));
H A Dfpsetsticky.c15 fp_except new; local
19 new = old;
20 new &= ~(0x1f << 5);
21 new |= ((sticky & 0x1f) << 5);
23 __asm__("ld %0,%%fsr" : : "m" (*&new));
H A Dfpsetround.c15 fp_rnd new; local
19 new = old;
20 new &= ~(0x03 << 30);
21 new |= ((rnd_dir & 0x03) << 30);
23 __asm__("ld %0,%%fsr" : : "m" (*&new));
/openbsd/lib/libc/arch/m88k/gen/
H A Dfpsetmask.c16 fp_except new; local
20 new = old;
21 new &= ~0x1f; /* clear bottom 5 bits and */
22 new |= (mask & 0x1f); /* set them to mask */
24 __asm__ volatile("fstcr %0, %%fcr63" : : "r" (new));
H A Dfpsetround.c16 fp_rnd new; local
20 new = old;
21 new &= ~(0x03 << 14); /* clear old value */
22 new |= ((rnd_dir & 0x03) << 14);/* and set new one */
24 __asm__ volatile("fstcr %0, %%fcr63" : : "r" (new));
H A Dfpsetsticky.c16 fp_except new; local
20 new = old;
21 new &= ~(0x1f);
22 new |= (sticky & 0x1f);
24 __asm__ volatile("fstcr %0, %%fcr62" : : "r" (new));
/openbsd/gnu/gcc/gcc/
H A Dtree-inline.c200 tree new, t; in remap_type_1() local
226 return new; in remap_type_1()
253 TYPE_MAIN_VARIANT (new) = new; in remap_type_1()
280 TREE_TYPE (new) = remap_type (TREE_TYPE (new), id); in remap_type_1()
285 TREE_TYPE (new) = remap_type (TREE_TYPE (new), id); in remap_type_1()
286 TYPE_DOMAIN (new) = remap_type (TYPE_DOMAIN (new), id); in remap_type_1()
315 return new; in remap_type_1()
426 return new; in remap_blocks()
433 tree new; in copy_statement_list() local
438 *tp = new; in copy_statement_list()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/IO-Compress/t/
H A D004gziphdr.t40 my $lex = LexFile->new( my $name );
70 my $aname = "a new name" ;
465 ok $x = IO::Uncompress::Gunzip->new( $name );
617 ok my $gz = IO::Compress::Gzip->new( \$x,
622 ok ! IO::Uncompress::Gunzip->new( \$x,
647 ok my $gz = IO::Compress::Gzip->new( \$x,
668 ok my $gz = IO::Compress::Gzip->new( \$x,
696 ok my $gz = IO::Compress::Gzip->new( \$x,
724 #my $lex = LexFile->new( my $name );
775 #my $lex = LexFile->new( my $name );
[all …]
H A D006zip.t72 my $lex = LexFile->new( my $file1 );
80 my $zip = IO::Compress::Zip->new( $file1,
105 my $lex = LexFile->new( my $file1 );
138 my $lex = LexFile->new( my $file1 );
167 my $lex = LexFile->new( my $file1 );
196 my $lex = LexFile->new( my $file1 );
225 my $lex = LexFile->new( my $file1 );
254 my $lex = LexFile->new( my $file1 );
283 my $lex = LexFile->new( my $file1 );
338 my $lex = LexFile->new( my $file1 );
[all …]
H A Dglobmapper.t40 ok ! $gm, " new failed" ;
48 ok ! $gm, " new failed" ;
61 my $lex = LexDir->new( $tmpDir );
80 my $lex = LexDir->new( $tmpDir );
109 my $lex = LexDir->new( $tmpDir );
133 my $lex = LexDir->new( $tmpDir );
168 my $lex = LexDir->new( $tmpDir );
190 my $lex = LexDir->new( $tmpDir );
211 my $lex = LexDir->new( $tmpDir );
233 my $lex = LexDir->new( $tmpDir );
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Pod-Simple/lib/Pod/Simple/
H A DXHTML.pm248 my $new = $self->SUPER::new(@_);
252 $new->html_charset('ISO-8859-1');
253 $new->nix_X_codes(1);
254 $new->{'scratch'} = '';
255 $new->{'to_index'} = [];
256 $new->{'output'} = [];
257 $new->{'saved'} = [];
259 $new->{'in_li'} = [];
261 $new->{'__region_targets'} = [];
262 $new->{'__literal_targets'} = {};
[all …]
/openbsd/sys/arch/armv7/omap/
H A Dintc.c241 intc_splx(int new) in intc_splx() argument
244 intc_setipl(new); in intc_splx()
251 intc_spllower(int new) in intc_spllower() argument
255 intc_splx(new); in intc_spllower()
260 intc_splraise(int new) in intc_splraise() argument
273 if (old > new) in intc_splraise()
274 new = old; in intc_splraise()
276 intc_setipl(new); in intc_splraise()
282 intc_setipl(int new) in intc_setipl() argument
296 if (new != 12) in intc_setipl()
[all …]
/openbsd/gnu/usr.bin/texinfo/info/
H A Dgc.c49 char **new = (char **)NULL; in gc_pointers() local
68 (node->contents, new_index, new, new_slots, 10, char *); in gc_pointers()
79 if (gcable_pointers[i] == new[j]) in gc_pointers()
84 if (new && !new[j]) in gc_pointers()
89 gcable_pointers = new; in gc_pointers()
/openbsd/gnu/llvm/llvm/docs/
H A DExtendingLLVM.rst11 add something to LLVM, whether it be a new fundamental type, a new intrinsic
12 function, or a whole new instruction.
35 Adding a new intrinsic function
38 Adding a new intrinsic function to LLVM is much easier than adding a new
78 Adding a new SelectionDAG node
100 of arguments as your new node.
174 Adding a new instruction
231 understand this new instruction.
233 Adding a new type
287 add new class to represent new class in the hierarchy; add forward
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Pod-Simple/t/
H A Dfake-closers.t23 my $parser = Pod::Simple::Blurb->new();
37 my $parser = Pod::Simple::Blurb->new();
55 sub new {
56 my $new = shift->SUPER::new(@_);
57 $new->output_string(\my $doesnotmatter);
58 $new->accept_targets('*');
59 return $new;
/openbsd/gnu/usr.bin/perl/cpan/JSON-PP/t/
H A D019_incr.t37 splitter +JSON::PP->new->allow_nonref (0), ' ["x\\"","\\u1000\\\\n\\nx",1,{"\\\\" :5 , "": "x"}]';
38 splitter +JSON::PP->new->allow_nonref (0), '[ "x\\"","\\u1000\\\\n\\nx" , 1,{"\\\\ " :5 , "": " x"}…
39 splitter +JSON::PP->new , '"test"';
40 splitter +JSON::PP->new , ' "5" ';
41 splitter +JSON::PP->new , '-1e5';
43 splitter +JSON::PP->new , ' 0.00E+00 ';
48 my $coder = JSON::PP->new;
72 my $coder = JSON::PP->new;
81 my $coder = JSON::PP->new->max_size (5);
87 my $coder = JSON::PP->new->max_depth (3);
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/API/InterceptResult/
H A DSquasher.t17 Test2::API::InterceptResult::Event->new(facet_data => {
21 Test2::API::InterceptResult::Event->new(facet_data => {
25 Test2::API::InterceptResult::Event->new(facet_data => {
29 Test2::API::InterceptResult::Event->new(facet_data => {
35 Test2::API::InterceptResult::Event->new(facet_data => {
42 Test2::API::InterceptResult::Event->new(facet_data => {
48 Test2::API::InterceptResult::Event->new(facet_data => {
52 Test2::API::InterceptResult::Event->new(facet_data => {
57 Test2::API::InterceptResult::Event->new(facet_data => {
63 Test2::API::InterceptResult::Event->new(facet_data => {
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Dnew.C6 operator new(size_t alloc_sz, const char *fname, unsigned lineno) in new() function
8 return ::operator new (alloc_sz); in new()
11 operator new[](size_t alloc_sz, const char *fname, unsigned lineno)
13 return ::operator new[] (alloc_sz);
56 draw_area = new ("abc", 69) LMNFrame; in LMN()
58 scroll_h = new ("def", 71) ABC(ABC::ID0, this); in LMN()
/openbsd/usr.sbin/bgpd/
H A Drde_trie.c207 if ((new = calloc(1, sizeof(*new))) == NULL) in trie_add_v4()
212 new->addr = p; in trie_add_v4()
213 new->plen = plen; in trie_add_v4()
214 new->node = 1; in trie_add_v4()
217 *prev = new; in trie_add_v4()
224 return new; in trie_add_v4()
290 if ((new = calloc(1, sizeof(*new))) == NULL) in trie_add_v6()
295 new->addr = p; in trie_add_v6()
297 new->node = 1; in trie_add_v6()
300 *prev = new; in trie_add_v6()
[all …]

12345678910>>...145