| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/ |
| H A D | nouveau_nvkm_core_event.c | 36 if (--event->refs[index * event->types_nr + type] == 0) { in nvkm_event_put() 49 if (++event->refs[index * event->types_nr + type] == 1) { in nvkm_event_get() 63 if (!event->refs || WARN_ON(index >= event->index_nr)) in nvkm_event_send() 82 if (event->refs) { in nvkm_event_fini() 83 kfree(event->refs); in nvkm_event_fini() 84 event->refs = NULL; in nvkm_event_fini() 94 event->refs = kzalloc(array3_size(index_nr, types_nr, in nvkm_event_init() 95 sizeof(*event->refs)), in nvkm_event_init() 97 if (!event->refs) in nvkm_event_init()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/ |
| H A D | referral.c | 205 BerVarray refs; in referral_rewrite() local 220 refs = ch_malloc( ( i + 1 ) * sizeof( struct berval ) ); in referral_rewrite() 222 for ( iv = in, jv = refs; !BER_BVISNULL( iv ); iv++ ) { in referral_rewrite() 257 if ( jv == refs ) { in referral_rewrite() 258 ch_free( refs ); in referral_rewrite() 259 refs = NULL; in referral_rewrite() 265 return refs; in referral_rewrite() 274 BerVarray refs; in get_entry_referrals() local 290 refs = ch_malloc( (i + 1) * sizeof(struct berval)); in get_entry_referrals() 292 for( iv=attr->a_vals, jv=refs; iv->bv_val != NULL; iv++ ) { in get_entry_referrals() [all …]
|
| /netbsd-src/external/gpl2/texinfo/dist/info/ |
| H A D | footnotes.c | 72 REFERENCE **refs; in make_footnotes_node() local 74 refs = info_xrefs_of_node (node); in make_footnotes_node() 76 if (refs) in make_footnotes_node() 87 for (i = 0; refs[i]; i++) in make_footnotes_node() 88 if ((refs[i]->nodename != (char *)NULL) && in make_footnotes_node() 91 (strcmp (refs[i]->nodename, refname) == 0 || in make_footnotes_node() 92 (strncmp (refs[i]->nodename, refname, reflen - 1) == 0 && in make_footnotes_node() 93 refs[i]->nodename[reflen - 1] == '-' && in make_footnotes_node() 94 isdigit (refs[i]->nodename[reflen])))) in make_footnotes_node() 111 info_free_references (refs); in make_footnotes_node()
|
| H A D | man.c | 590 REFERENCE **refs = (REFERENCE **)NULL; in xrefs_of_manpage() local 645 (entry, refs_index, refs, refs_slots, 10, REFERENCE *); in xrefs_of_manpage() 651 return (refs); in xrefs_of_manpage() 657 REFERENCE **refs; in locate_manpage_xref() local 660 refs = xrefs_of_manpage (node); in locate_manpage_xref() 662 if (refs) in locate_manpage_xref() 667 for (i = 0; refs[i]; i++); in locate_manpage_xref() 672 for (i = 0; (entry = refs[i]); i++) in locate_manpage_xref() 683 entry = refs[i]; in locate_manpage_xref() 693 info_free_references (refs); in locate_manpage_xref()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | tree-ssa-loop-prefetch.c | 228 struct mem_ref *refs; /* References in the group. */ member 336 group->refs = NULL; in find_or_create_group() 355 for (aref = &group->refs; *aref; aref = &(*aref)->next) in record_ref() 410 for (ref = groups->refs; ref; ref = next_r) in release_mem_refs() 537 gather_memory_references_ref (class loop *loop, struct mem_ref_group **refs, in gather_memory_references_ref() argument 598 agrp = find_or_create_group (refs, base, step); in gather_memory_references_ref() 616 struct mem_ref_group *refs = NULL; in gather_memory_references() local 650 *no_other_refs &= gather_memory_references_ref (loop, &refs, in gather_memory_references() 656 *no_other_refs &= gather_memory_references_ref (loop, &refs, in gather_memory_references() 664 return refs; in gather_memory_references() [all …]
|
| H A D | tree-predcom.c | 309 vec<dref> refs; member 365 vec<dref> refs; member 494 FOR_EACH_VEC_ELT (chain->refs, i, a) in dump_chain() 524 FOR_EACH_VEC_ELT (comp->refs, i, a) in dump_component() 552 FOR_EACH_VEC_ELT (chain->refs, i, ref) in release_chain() 555 chain->refs.release (); in release_chain() 586 comp->refs.release (); in release_component() 902 comp->refs.create (comp_size[ca]); in split_data_refs_to_components() 916 dataref->pos = comp->refs.length (); in split_data_refs_to_components() 917 comp->refs.quick_push (dataref); in split_data_refs_to_components() [all …]
|
| H A D | df-scan.c | 152 free (df->def_info.refs); in df_scan_free_internal() 157 free (df->use_info.refs); in df_scan_free_internal() 508 ref_info->refs = XRESIZEVEC (df_ref, ref_info->refs, new_size); in df_grow_ref_info() 509 memset (ref_info->refs + ref_info->refs_size, 0, in df_grow_ref_info() 729 df_ref *refs = NULL; in df_reg_chain_unlink() local 735 refs = df->def_info.refs; in df_reg_chain_unlink() 747 refs = df->use_info.refs; in df_reg_chain_unlink() 756 refs = df->use_info.refs; in df_reg_chain_unlink() 760 if (refs) in df_reg_chain_unlink() 765 refs[id] = NULL; in df_reg_chain_unlink() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | tree-ssa-loop-prefetch.cc | 228 struct mem_ref *refs; /* References in the group. */ member 336 group->refs = NULL; in find_or_create_group() 355 for (aref = &group->refs; *aref; aref = &(*aref)->next) in record_ref() 410 for (ref = groups->refs; ref; ref = next_r) in release_mem_refs() 537 gather_memory_references_ref (class loop *loop, struct mem_ref_group **refs, in gather_memory_references_ref() argument 598 agrp = find_or_create_group (refs, base, step); in gather_memory_references_ref() 616 struct mem_ref_group *refs = NULL; in gather_memory_references() local 650 *no_other_refs &= gather_memory_references_ref (loop, &refs, in gather_memory_references() 656 *no_other_refs &= gather_memory_references_ref (loop, &refs, in gather_memory_references() 664 return refs; in gather_memory_references() [all …]
|
| H A D | ipa-modref-tree.h | 212 vec <modref_ref_node <T> *, va_gc> *refs; member 217 refs (NULL), in modref_base_node() 225 FOR_EACH_VEC_SAFE_ELT (refs, i, n) in search() 251 if (ref && refs && refs->length () >= max_refs) 267 vec_safe_push (refs, ref_node); 276 if (refs) in collapse() 278 FOR_EACH_VEC_SAFE_ELT (refs, i, r) in collapse() 283 vec_free (refs); in collapse() 285 refs = NULL; in collapse() 490 if (base_node->refs) in cleanup() [all …]
|
| H A D | tree-predcom.cc | 315 auto_vec<dref> refs; member 374 auto_vec<dref> refs; member 643 FOR_EACH_VEC_ELT (chain->refs, i, a) in dump_chain() 672 FOR_EACH_VEC_ELT (comp->refs, i, a) in dump_component() 700 FOR_EACH_VEC_ELT (chain->refs, i, ref) in release_chain() 1035 comp->refs.reserve_exact (comp_size[ca]); in split_data_refs_to_components() 1048 dataref->pos = comp->refs.length (); in split_data_refs_to_components() 1049 comp->refs.quick_push (dataref); in split_data_refs_to_components() 1086 FOR_EACH_VEC_ELT (comp->refs, i, a) in suitable_component_p() 1100 first = comp->refs[0]; in suitable_component_p() [all …]
|
| H A D | ipa-modref-tree.cc | 911 ASSERT_NE (base_node->refs, NULL); in test_insert_search_collapse() 912 ASSERT_EQ (base_node->refs->length (), 1); in test_insert_search_collapse() 925 ASSERT_NE (base_node->refs, NULL); in test_insert_search_collapse() 926 ASSERT_EQ (base_node->refs->length (), 2); in test_insert_search_collapse() 948 ASSERT_EQ (base_node->refs, NULL); in test_insert_search_collapse() 956 ASSERT_EQ (base_node->refs, NULL); in test_insert_search_collapse() 1006 ASSERT_NE (base_node->refs, NULL); in test_merge() 1008 ASSERT_EQ (base_node->refs->length (), 4); in test_merge() 1011 ASSERT_NE (base_node->refs, NULL); in test_merge() 1013 ASSERT_EQ (base_node->refs->length (), 1); in test_merge() [all …]
|
| H A D | df-scan.cc | 152 free (df->def_info.refs); in df_scan_free_internal() 157 free (df->use_info.refs); in df_scan_free_internal() 508 ref_info->refs = XRESIZEVEC (df_ref, ref_info->refs, new_size); in df_grow_ref_info() 509 memset (ref_info->refs + ref_info->refs_size, 0, in df_grow_ref_info() 729 df_ref *refs = NULL; in df_reg_chain_unlink() local 735 refs = df->def_info.refs; in df_reg_chain_unlink() 747 refs = df->use_info.refs; in df_reg_chain_unlink() 756 refs = df->use_info.refs; in df_reg_chain_unlink() 760 if (refs) in df_reg_chain_unlink() 765 refs[id] = NULL; in df_reg_chain_unlink() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/ |
| H A D | refcount.h | 145 uint_fast32_t refs = \ 149 __func__, func, file, line, isc_tid(), ptr, refs); \ 156 uint_fast32_t refs = \ 158 if (refs == 0) { \ 164 __func__, func, file, line, isc_tid(), ptr, refs); \ 170 uint_fast32_t refs = \ 174 __func__, func, file, line, isc_tid(), ptr, refs); \ 183 uint_fast32_t refs = \ 185 if (refs == 0) { \ 191 __func__, func, file, line, isc_tid(), ptr, refs); \ [all...] |
| /netbsd-src/external/bsd/openldap/dist/clients/tools/ |
| H A D | ldapwhoami.c | 118 char *matcheddn = NULL, *text = NULL, **refs = NULL; in main() local 177 &code, &matcheddn, &text, &refs, &ctrls, 0 ); in main() 184 tool_perror( "ldap_parse_result", rc, NULL, matcheddn, text, refs ); in main() 208 ( matcheddn && *matcheddn ) || ( text && *text ) || refs || ctrls ) in main() 220 if( refs ) { in main() 222 for( i=0; refs[i]; i++ ) { in main() 223 printf(_("Referral: %s\n"), refs[i] ); in main() 235 ber_memvfree( (void **) refs ); in main()
|
| H A D | ldapcompare.c | 285 char **refs; in docompare() local 319 rc = ldap_parse_result( ld, res, &code, &matcheddn, &text, &refs, &ctrls, 1 ); in docompare() 328 (matcheddn && *matcheddn) || (text && *text) || (refs && *refs) ) ) in docompare() 341 if( refs ) { in docompare() 343 for( i=0; refs[i]; i++ ) { in docompare() 344 printf(_("Referral: %s\n"), refs[i] ); in docompare() 367 ber_memvfree( (void **) refs ); in docompare()
|
| H A D | ldapmodrdn.c | 250 char *matcheddn=NULL, *text=NULL, **refs=NULL; in domodrdn() local 295 rc = ldap_parse_result( ld, res, &code, &matcheddn, &text, &refs, &ctrls, 1 ); in domodrdn() 304 (matcheddn && *matcheddn) || (text && *text) || (refs && *refs) ) in domodrdn() 317 if( refs ) { in domodrdn() 319 for( i=0; refs[i]; i++ ) { in domodrdn() 320 printf(_("Referral: %s\n"), refs[i] ); in domodrdn() 332 ber_memvfree( (void **) refs ); in domodrdn()
|
| H A D | ldapdelete.c | 236 char *matcheddn = NULL, *text = NULL, **refs = NULL; in dodelete() local 286 rc = ldap_parse_result( ld, res, &code, &matcheddn, &text, &refs, &ctrls, 1 ); in dodelete() 306 tool_perror( "ldap_delete", code, NULL, matcheddn, text, refs ); in dodelete() 308 ((matcheddn && *matcheddn) || (text && *text) || (refs && *refs) )) in dodelete() 321 if( refs ) { in dodelete() 323 for( i=0; refs[i]; i++ ) { in dodelete() 324 printf(_("Referral: %s\n"), refs[i] ); in dodelete() 336 ber_memvfree( (void **) refs ); in dodelete()
|
| H A D | ldapexop.c | 80 char *matcheddn = NULL, *text = NULL, **refs = NULL; in main() local 240 &code, &matcheddn, &text, &refs, &ctrls, 0 ); in main() 246 tool_perror( "ldap_parse_result", rc, NULL, matcheddn, text, refs ); in main() 327 ( matcheddn && *matcheddn ) || ( text && *text ) || refs ) { in main() 338 if( refs ) { in main() 340 for( i=0; refs[i]; i++ ) { in main() 341 printf(_("Referral: %s\n"), refs[i] ); in main() 353 ber_memvfree( (void **) refs ); in main()
|
| H A D | ldappasswd.c | 182 char *matcheddn = NULL, *text = NULL, **refs = NULL; in main() local 339 &code, &matcheddn, &text, &refs, &ctrls, 0 ); in main() 382 ( matcheddn && *matcheddn ) || ( text && *text ) || refs || ctrls ) in main() 394 if( refs ) { in main() 396 for( i=0; refs[i]; i++ ) { in main() 397 printf(_("Referral: %s\n"), refs[i] ); in main() 409 ber_memvfree( (void **) refs ); in main()
|
| H A D | ldapvc.c | 282 char *matcheddn = NULL, *text = NULL, **refs = NULL; in main() local 443 &code, &matcheddn, &text, &refs, &ctrls, 0 ); in main() 448 tool_perror( "ldap_parse_result", rc, NULL, matcheddn, text, refs ); in main() 476 ( matcheddn && *matcheddn ) || ( text && *text ) || refs || ctrls ) in main() 488 if( refs ) { in main() 490 for( i=0; refs[i]; i++ ) { in main() 491 printf(_("Referral: %s\n"), refs[i] ); in main() 503 ber_memvfree( (void **) refs ); in main()
|
| /netbsd-src/external/bsd/openldap/dist/contrib/ldapc++/src/ |
| H A D | LDAPResult.cpp | 23 char **refs=0; in LDAPResult() local 28 &matchedDN, &errMsg,&refs,&srvctrls,0); in LDAPResult() 30 ber_memvfree((void**) refs); in LDAPResult() 34 if (refs){ in LDAPResult() 35 m_referrals=LDAPUrlList(refs); in LDAPResult() 36 ber_memvfree((void**) refs); in LDAPResult()
|
| /netbsd-src/share/doc/papers/pulldown/ |
| H A D | Makefile | 6 DPSRCS= ${SRCS} refs.r Makefile 10 ${TOOL_REFER} -P -S -e -p ${.CURDIR}/refs.r | \ 16 ${TOOL_REFER} -P -S -e -p ${.CURDIR}/refs.r | \ 22 ${TOOL_REFER} -P -S -e -p ${.CURDIR}/refs.r | \
|
| /netbsd-src/external/gpl3/binutils/dist/ld/ |
| H A D | ldcref.c | 66 struct cref_ref *refs; member 144 ret->refs = NULL; in cref_hash_newfunc() 178 for (r = h->refs; r != NULL; r = r->next) in add_cref() 187 r->next = h->refs; in add_cref() 188 h->refs = r; in add_cref() 230 for (r = c->refs; r != NULL; r = r->next) in handle_asneeded_cref() 261 for (r = c->refs; r != NULL; r = r->next) in handle_asneeded_cref() 303 for (r = c->refs; r != NULL; r = r->next) in handle_asneeded_cref() 426 for (r = h->refs; r != NULL; r = r->next) in output_one_cref() 446 for (r = h->refs; r != NULL; r = r->next) in output_one_cref() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/ld/ |
| H A D | ldcref.c | 66 struct cref_ref *refs; member 144 ret->refs = NULL; in cref_hash_newfunc() 178 for (r = h->refs; r != NULL; r = r->next) in add_cref() 187 r->next = h->refs; in add_cref() 188 h->refs = r; in add_cref() 230 for (r = c->refs; r != NULL; r = r->next) in handle_asneeded_cref() 261 for (r = c->refs; r != NULL; r = r->next) in handle_asneeded_cref() 303 for (r = c->refs; r != NULL; r = r->next) in handle_asneeded_cref() 426 for (r = h->refs; r != NULL; r = r->next) in output_one_cref() 446 for (r = h->refs; r != NULL; r = r->next) in output_one_cref() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/libraries/libldap/ |
| H A D | references.c | 92 char **refs = NULL; in ldap_parse_reference() local 106 if ( ber_scanf( &be, "{v" /*}*/, &refs ) == LBER_ERROR ) { in ldap_parse_reference() 127 *referralsp = refs; in ldap_parse_reference() 130 LDAP_VFREE( refs ); in ldap_parse_reference()
|