Home
last modified time | relevance | path

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

1234567891011

/openbsd-src/gnu/usr.bin/perl/t/lib/strict/
H A Drefs1 Check strict refs functionality
20 # strict refs - error
25 Can't use string ("A::Really::Big::Package::Name::T"...) as a HASH ref while "strict refs" in use a…
28 # strict refs - error
33 Can't use string ("A::Really::Big::Package::Name::T"...) as a SCALAR ref while "strict refs" in use…
36 # strict refs - error
40 Can't use string ("A::Really::Big::Package::Name::T"...) as a symbol ref while "strict refs" in use…
43 # strict refs - error
48 Can't use string ("A::Really::Big::Package::Name::T"...) as a symbol ref while "strict refs" in use…
51 # strict refs - error
[all …]
H A Dsubs14 use strict qw(refs vars);
127 # Check runtime scope of strict refs pragma
128 use strict 'refs';
137 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 10.
140 # Check runtime scope of strict refs pragma
145 use strict 'refs' ;
150 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 8.
153 # Check runtime scope of strict refs pragma
158 use strict 'refs' ;
163 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 8.
[all …]
/openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/22_locale/
H A Dfacet.cc53 gnu_collate_byname(const char* c, size_t refs = 0) in gnu_collate_byname() argument
54 : std::collate_byname<char>(c, refs) { } in gnu_collate_byname()
61 gnu_ctype_byname(const char* c, size_t refs = 0) in gnu_ctype_byname() argument
62 : std::ctype_byname<char>(c, refs) { } in gnu_ctype_byname()
69 gnu_moneypunct_byname_true(const char* c, size_t refs = 0) in gnu_moneypunct_byname_true() argument
70 : std::moneypunct_byname<char, true>(c, refs) { } in gnu_moneypunct_byname_true()
77 gnu_moneypunct_byname_false(const char* c, size_t refs = 0) in gnu_moneypunct_byname_false() argument
78 : std::moneypunct_byname<char, false>(c, refs) { } in gnu_moneypunct_byname_false()
86 gnu_money_get_in(size_t refs = 0) in gnu_money_get_in() argument
87 : std::money_get<char, input_iterator>(refs) { } in gnu_money_get_in()
[all …]
/openbsd-src/usr.bin/dig/lib/isc/include/isc/
H A Drefcount.h92 int refs; member
95 #define isc_refcount_destroy(rp) ISC_REQUIRE((rp)->refs == 0)
96 #define isc_refcount_current(rp) ((unsigned int)((rp)->refs))
101 int _n = ++(rp)->refs; \
110 ISC_REQUIRE((rp)->refs > 0); \
111 _n = ++(rp)->refs; \
120 ISC_REQUIRE((rp)->refs > 0); \
121 _n = --(rp)->refs; \
/openbsd-src/sys/kern/
H A Dkern_synch.c906 u_int refs;
908 refs = atomic_inc_int_nv(&r->r_refs);
909 KASSERT(refs != 0);
910 TRACEINDEX(refcnt, r->r_traceidx, r, refs - 1, +1);
911 (void)refs;
917 u_int refs;
920 refs = atomic_dec_int_nv(&r->r_refs);
921 KASSERT(refs != ~0);
922 TRACEINDEX(refcnt, r->r_traceidx, r, refs + 1, -1);
923 if (refs
809 u_int refs; refcnt_take() local
820 u_int refs; refcnt_rele() local
843 u_int refs; refcnt_finalize() local
862 u_int refs; refcnt_shared() local
872 u_int refs; refcnt_read() local
[all...]
/openbsd-src/gnu/gcc/gcc/
H A Dtree-ssa-loop-prefetch.c180 struct mem_ref *refs; /* References in the group. */ member
252 group->refs = NULL; in find_or_create_group()
269 for (aref = &group->refs; *aref; aref = &(*aref)->next) in record_ref()
312 for (ref = groups->refs; ref; ref = next_r) in release_mem_refs()
436 gather_memory_references_ref (struct loop *loop, struct mem_ref_group **refs, in gather_memory_references_ref() argument
448 agrp = find_or_create_group (refs, base, step); in gather_memory_references_ref()
462 struct mem_ref_group *refs = NULL; in gather_memory_references() local
482 gather_memory_references_ref (loop, &refs, rhs, false, stmt); in gather_memory_references()
484 gather_memory_references_ref (loop, &refs, lhs, true, stmt); in gather_memory_references()
489 return refs; in gather_memory_references()
[all …]
/openbsd-src/gnu/usr.bin/texinfo/info/
H A Dfootnotes.c70 REFERENCE **refs; in make_footnotes_node() local
72 refs = info_xrefs_of_node (node); in make_footnotes_node()
74 if (refs) in make_footnotes_node()
85 for (i = 0; refs[i]; i++) in make_footnotes_node()
86 if ((refs[i]->nodename != (char *)NULL) && in make_footnotes_node()
89 (strcmp (refs[i]->nodename, refname) == 0 || in make_footnotes_node()
90 (strncmp (refs[i]->nodename, refname, reflen - 1) == 0 && in make_footnotes_node()
91 refs[i]->nodename[reflen - 1] == '-' && in make_footnotes_node()
92 isdigit (refs[i]->nodename[reflen])))) in make_footnotes_node()
109 info_free_references (refs); in make_footnotes_node()
H A Dman.c588 REFERENCE **refs = (REFERENCE **)NULL; in xrefs_of_manpage() local
643 (entry, refs_index, refs, refs_slots, 10, REFERENCE *); in xrefs_of_manpage()
649 return (refs); in xrefs_of_manpage()
655 REFERENCE **refs; in locate_manpage_xref() local
658 refs = xrefs_of_manpage (node); in locate_manpage_xref()
660 if (refs) in locate_manpage_xref()
665 for (i = 0; refs[i]; i++); in locate_manpage_xref()
670 for (i = 0; (entry = refs[i]); i++) in locate_manpage_xref()
681 entry = refs[i]; in locate_manpage_xref()
691 info_free_references (refs); in locate_manpage_xref()
/openbsd-src/usr.bin/tsort/
H A Dtsort.c92 unsigned int refs; /* Number of arcs left, coming into this node. member
217 n->refs = 0; in new_node()
251 if (n->refs == 0) in dump_node()
253 printf("%s (%u/%u): ", n->k, n->order, n->refs); in dump_node()
255 if (n->refs != 0) in dump_node()
256 printf("%s(%u/%u) ", l->node->k, l->node->order, l->node->refs); in dump_node()
294 b->refs++; in insert_arc()
544 if (n->refs == 0) in split_nodes()
566 if (n->refs == 1) in find_good_cycle_break()
568 if (n->refs != 0 && n->refs < best) { in find_good_cycle_break()
[all …]
/openbsd-src/usr.sbin/ldapd/
H A Dmodify.c37 struct referrals *refs; in ldap_delete() local
51 refs = namespace_referrals(dn); in ldap_delete()
52 if (refs == NULL) in ldap_delete()
55 return ldap_refer(req, dn, NULL, refs); in ldap_delete()
132 struct referrals *refs; in ldap_add() local
147 refs = namespace_referrals(dn); in ldap_add()
148 if (refs == NULL) in ldap_add()
151 return ldap_refer(req, dn, NULL, refs); in ldap_add()
246 struct referrals *refs; in ldap_modify() local
260 refs = namespace_referrals(dn); in ldap_modify()
[all …]
/openbsd-src/gnu/usr.bin/binutils/ld/
H A Dldcref.c60 struct cref_ref *refs; member
128 ret->refs = NULL; in cref_hash_newfunc()
161 for (r = h->refs; r != NULL; r = r->next) in add_cref()
168 r->next = h->refs; in add_cref()
169 h->refs = r; in add_cref()
280 for (r = h->refs; r != NULL; r = r->next) in output_one_cref()
292 for (r = h->refs; r != NULL; r = r->next) in output_one_cref()
306 for (r = h->refs; r != NULL; r = r->next) in output_one_cref()
401 for (ref = h->refs; ref != NULL; ref = ref->next) in check_nocrossref()
/openbsd-src/gnu/usr.bin/perl/cpan/Tie-RefHash/lib/Tie/
H A DRefHash.pm144 my ( $refs, $reg ) = @$self;
145 return ( $storable_format_version, [ values %$refs ], $reg || {} );
149 my ( $self, $is_cloning, $version, $refs, $reg ) = @_;
154 $self->_reindex_keys( $refs );
/openbsd-src/usr.bin/dig/lib/dns/
H A Ddst_api.c255 isc_refcount_increment(&source->refs, NULL); in dst_key_attach()
262 unsigned int refs; in dst_key_free() local
269 isc_refcount_decrement(&key->refs, &refs); in dst_key_free()
270 if (refs != 0) in dst_key_free()
273 isc_refcount_destroy(&key->refs); in dst_key_free()
328 result = isc_refcount_init(&key->refs, 1); in get_key_struct()
/openbsd-src/usr.sbin/vmd/
H A Dvioqcow2.c524 * if needed. The cluster starts off with a refs of one,
616 uint16_t refs; in inc_refs()
625 fatal("could not read refs"); in inc_refs()
638 refs = 1; in inc_refs()
640 if (pread(disk->fd, &refs, sizeof(refs), in inc_refs()
643 refs = be16toh(refs) + 1; in inc_refs()
645 refs = htobe16(refs); in inc_refs()
619 uint16_t refs; inc_refs() local
676 uint16_t refs; virtio_qcow2_create() local
[all...]
/openbsd-src/gnu/usr.bin/binutils-2.17/ld/
H A Dldcref.c60 struct cref_ref *refs; member
128 ret->refs = NULL; in cref_hash_newfunc()
162 for (r = h->refs; r != NULL; r = r->next) in add_cref()
169 r->next = h->refs; in add_cref()
170 h->refs = r; in add_cref()
281 for (r = h->refs; r != NULL; r = r->next) in output_one_cref()
293 for (r = h->refs; r != NULL; r = r->next) in output_one_cref()
307 for (r = h->refs; r != NULL; r = r->next) in output_one_cref()
432 for (ref = h->refs; ref != NULL; ref = ref->next) in check_nocrossref()
/openbsd-src/gnu/usr.bin/perl/t/comp/
H A Duse.t137 like ($@, qr/\QCan't use string ("foo") as a SCALAR ref while "strict refs" in use\E/);
139 eval 'use 5.11.0; no strict "refs"; ${"foo"} = "bar";';
151 'explicit use strict "subs" does not stop ver decl from enabling refs';
153 ok $@, 'no strict subs allows ver decl to enable refs';
156 eval 'no strict "refs"; use 5.012; fancy_bareword';
157 ok $@, 'no strict refs allows ver decl to enable subs';
158 eval 'no strict "refs"; use 5.012; $nonexistent_pack_var';
159 ok $@, 'no strict refs allows ver decl to enable subs';
161 ok $@, 'no strict vars allows ver decl to enable refs';
/openbsd-src/gnu/usr.bin/perl/ext/Hash-Util-FieldHash/t/
H A D02_function.t15 # skipping CODE refs, they are differently scoped
153 my @refs = map gen_ref( $_), @test_types;
154 @f{ @refs} = @test_types;
188 my @refs = map [], 1 .. $size;
189 $f{ $_} = 1 for @refs;
205 my @refs = map [], 1 .. $size;
206 @f{ @refs } = ( 1) x @refs;
/openbsd-src/gnu/usr.bin/perl/Porting/
H A DGitUtils.pm43 my $refs= $name=~m!^refs/! ? $name : "refs/$reftype/$name";
44 my $cmd= "git name-rev --name-only --refs=$refs $sha1";
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransforms.h207 void clearRefsIn(Stmt *S, ExprSet &refs);
209 void clearRefsIn(iterator begin, iterator end, ExprSet &refs) { in clearRefsIn() argument
211 clearRefsIn(*begin, refs); in clearRefsIn()
214 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
H A DTransforms.cpp216 ReferenceClear(ExprSet &refs) : Refs(refs) { } in ReferenceClear() argument
225 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector() argument
226 : Dcl(D), Refs(refs) { } in ReferenceCollector()
299 void trans::clearRefsIn(Stmt *S, ExprSet &refs) { in clearRefsIn() argument
300 ReferenceClear(refs).TraverseStmt(S); in clearRefsIn()
303 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs() argument
304 ReferenceCollector(D, refs).TraverseStmt(S); in collectRefs()
/openbsd-src/gnu/usr.bin/perl/lib/
H A Dstrict.pm16 refs => 0x00000002,
22 refs => 0x00000020,
89 use strict "refs";
104 strict about: "subs", "vars", and "refs".
108 =item C<strict refs>
113 use strict 'refs';
/openbsd-src/usr.bin/dig/lib/isc/
H A Dtimer.c54 unsigned int refs; member
413 timermgr->refs++; in isc_timermgr_create()
433 manager->refs = 1; in isc_timermgr_create()
452 manager->refs--; in isc_timermgr_destroy()
453 if (manager->refs > 0) { in isc_timermgr_destroy()
/openbsd-src/gnu/usr.bin/perl/lib/Class/
H A DStruct.pm108 my %refs = ();
146 $refs{$name}++;
194 if( defined $refs{$name} ){
/openbsd-src/sys/uvm/
H A Duvm_object.c62 uvm_obj_init(struct uvm_object *uobj, const struct uvm_pagerops *pgops, int refs) in uvm_obj_init() argument
67 (pgops != &bufcache_pager) && (refs != UVM_OBJ_KERN)); in uvm_obj_init()
79 uobj->uo_refs = refs; in uvm_obj_init()
/openbsd-src/gnu/usr.bin/perl/dist/Storable/t/
H A Dcircular_hook.t69 my ($self, $clone, $string, @refs) = @_;
74 $self->{$class} = shift @refs;

1234567891011