/dragonfly/stand/boot/efi/libefi/ |
H A D | handles.c | 42 int nentries; variable 51 idx = nentries; in efi_register_handles() 52 nentries += count; in efi_register_handles() 53 sz = nentries * sizeof(struct entry); in efi_register_handles() 55 for (unit = 0; idx < nentries; idx++, unit++) { in efi_register_handles() 72 for (idx = 0; idx < nentries; idx++) { in efi_find_handle() 87 for (idx = 0; idx < nentries; idx++) { in efi_handle_lookup() 107 for (idx = 0; idx < nentries; idx++) { in efi_handle_update_dev()
|
/dragonfly/contrib/elftoolchain/libelf/ |
H A D | libelf_ar.c | 289 unsigned int n, nentries; in _libelf_ar_process_bsd_symtab() local 330 nentries = (size_t) arraysize / entrysize; in _libelf_ar_process_bsd_symtab() 341 for (n = 0, sym = symtab; n < nentries; n++, sym++) { in _libelf_ar_process_bsd_symtab() 367 *count = e->e_u.e_ar.e_symtabsz = nentries + 1; in _libelf_ar_process_bsd_symtab() 402 size_t n, nentries; in _libelf_ar_process_svr4_symtab() local 418 GET_WORD(p, nentries); in _libelf_ar_process_svr4_symtab() 421 if (nentries == 0 || p + nentries * INTSZ >= end) in _libelf_ar_process_svr4_symtab() 425 if ((symtab = malloc(sizeof(Elf_Arsym) * (nentries+1))) == NULL) { in _libelf_ar_process_svr4_symtab() 430 s = p + (nentries * INTSZ); /* start of the string table. */ in _libelf_ar_process_svr4_symtab() 432 for (n = nentries, sym = symtab; n > 0; n--) { in _libelf_ar_process_svr4_symtab() [all …]
|
/dragonfly/bin/ps/ |
H A D | ps.c | 414 for (i = 0; i < nentries; ++i) { in main() 430 if (nentries == 0) in main() 442 dochain(KSort, &nentries, pid); in main() 447 for (i = lineno = 0; i < nentries; i++) { in main() 649 int nentries = *nentriesp; in dochain() local 665 for (i = 0; i < nentries; ++i) { in dochain() 675 for (i = 0; i < nentries; ++i) { in dochain() 698 for (i = j = 0; i < nentries; ++i) { in dochain() 714 nentries = j; in dochain() 715 *nentriesp = nentries; in dochain() [all …]
|
/dragonfly/usr.bin/flame_graph/ |
H A D | collect.c | 115 if (bytes < sizeof(*fge) * fg->nentries) in flame_collect() 118 ptr = (char *)ptr + sizeof(*fge) * fg->nentries; in flame_collect() 119 bytes -= sizeof(*fge) * fg->nentries; in flame_collect() 128 if (delta >= fg->nentries) in flame_collect() 129 rindex = windex - fg->nentries + 1; in flame_collect() 135 scan = &fge[rindex % fg->nentries]; in flame_collect()
|
/dragonfly/contrib/gcc-4.7/libcpp/ |
H A D | symtab.c | 187 hashnode *nentries, *p, *limit; in ht_expand() local 191 nentries = XCNEWVEC (hashnode, size); in ht_expand() 204 if (nentries[index]) in ht_expand() 211 while (nentries[index]); in ht_expand() 213 nentries[index] = *p; in ht_expand() 220 table->entries = nentries; in ht_expand()
|
/dragonfly/contrib/gcc-8.0/libcpp/ |
H A D | symtab.c | 184 hashnode *nentries, *p, *limit; in ht_expand() local 188 nentries = XCNEWVEC (hashnode, size); in ht_expand() 201 if (nentries[index]) in ht_expand() 208 while (nentries[index]); in ht_expand() 210 nentries[index] = *p; in ht_expand() 217 table->entries = nentries; in ht_expand()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | hash-table.h | 606 value_type *nentries = alloc_entries (size PASS_MEM_STAT); in hash_table() local 611 mark_deleted (nentries[i]); in hash_table() 613 nentries[i] = entry; in hash_table() 615 m_entries = nentries; in hash_table() 644 value_type *nentries; in alloc_entries() local 650 nentries = Allocator <value_type> ::data_alloc (n); in alloc_entries() 654 gcc_assert (nentries != NULL); in alloc_entries() 656 mark_empty (nentries[i]); in alloc_entries() 658 return nentries; in alloc_entries() 736 value_type *nentries = alloc_entries (nsize); in expand() local [all …]
|
/dragonfly/sys/vm/ |
H A D | vm_zone.h | 81 vm_zone_t zinit (char *name, size_t size, long nentries, uint32_t flags); 83 size_t size, long nentries, uint32_t flags);
|
H A D | vm_zone.c | 284 zinitna(vm_zone_t z, char *name, size_t size, long nentries, uint32_t flags) in zinitna() argument 328 totsize = round_page((size_t)z->zsize * nentries); in zinitna() 341 z->zmax += nentries; in zinitna() 400 zinit(char *name, size_t size, long nentries, uint32_t flags) in zinit() argument 409 if (zinitna(z, name, size, nentries, flags & ~ZONE_DESTROYABLE) == 0) { in zinit()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | vec.c | 566 int nentries = 0; in dump_vec_loc_statistics() local 577 htab_traverse (vec_desc_hash, add_statistics, &nentries); in dump_vec_loc_statistics() 578 qsort (loc_array, nentries, sizeof (*loc_array), cmp_statistic); in dump_vec_loc_statistics() 579 for (i = 0; i < nentries; i++) in dump_vec_loc_statistics() 585 for (i = 0; i < nentries; i++) in dump_vec_loc_statistics()
|
H A D | ggc-common.c | 1048 int nentries = 0; in dump_ggc_loc_statistics() local 1061 htab_traverse (loc_hash, add_statistics, &nentries); in dump_ggc_loc_statistics() 1062 qsort (loc_array, nentries, sizeof (*loc_array), in dump_ggc_loc_statistics() 1064 for (i = 0; i < nentries; i++) in dump_ggc_loc_statistics() 1073 for (i = 0; i < nentries; i++) in dump_ggc_loc_statistics()
|
/dragonfly/crypto/openssh/ |
H A D | ssh-agent.c | 151 int nentries; member 216 idtab->nentries = 0; in idtab_init() 517 u_int nentries = 0; in process_request_identities() local 533 nentries++; in process_request_identities() 536 nentries, idtab->nentries); in process_request_identities() 901 idtab->nentries--; in process_remove_identity() 922 idtab->nentries = 0; in process_remove_all_identities() 943 idtab->nentries--; in reaper() 1259 idtab->nentries++; in process_add_identity() 1431 idtab->nentries++; in process_add_smartcard_key() [all …]
|
/dragonfly/sys/kern/ |
H A D | kern_subr.c | 389 phashinit(int elements, struct malloc_type *type, u_long *nentries) in phashinit() argument 407 *nentries = hashsize; in phashinit() 420 u_long *nentries) in phashinit_ext() argument 436 *nentries = hashsize; in phashinit_ext()
|
/dragonfly/contrib/gdb-7/libiberty/ |
H A D | hashtab.c | 531 PTR *nentries; in htab_expand() local 555 nentries = (PTR *) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_expand() 558 nentries = (PTR *) (*htab->alloc_f) (nsize, sizeof (PTR *)); in htab_expand() 559 if (nentries == NULL) in htab_expand() 561 htab->entries = nentries; in htab_expand()
|
/dragonfly/contrib/gcc-4.7/libiberty/ |
H A D | hashtab.c | 531 PTR *nentries; in htab_expand() local 555 nentries = (PTR *) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_expand() 558 nentries = (PTR *) (*htab->alloc_f) (nsize, sizeof (PTR *)); in htab_expand() 559 if (nentries == NULL) in htab_expand() 561 htab->entries = nentries; in htab_expand()
|
/dragonfly/sys/sys/ |
H A D | flame_graph.h | 53 uint32_t nentries; member
|
/dragonfly/contrib/binutils-2.34/libiberty/ |
H A D | hashtab.c | 522 PTR *nentries; in htab_expand() local 546 nentries = (PTR *) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_expand() 549 nentries = (PTR *) (*htab->alloc_f) (nsize, sizeof (PTR *)); in htab_expand() 550 if (nentries == NULL) in htab_expand() 552 htab->entries = nentries; in htab_expand()
|
/dragonfly/contrib/binutils-2.27/libiberty/ |
H A D | hashtab.c | 523 PTR *nentries; in htab_expand() local 547 nentries = (PTR *) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_expand() 550 nentries = (PTR *) (*htab->alloc_f) (nsize, sizeof (PTR *)); in htab_expand() 551 if (nentries == NULL) in htab_expand() 553 htab->entries = nentries; in htab_expand()
|
/dragonfly/contrib/gcc-8.0/libiberty/ |
H A D | hashtab.c | 522 PTR *nentries; in htab_expand() local 546 nentries = (PTR *) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_expand() 549 nentries = (PTR *) (*htab->alloc_f) (nsize, sizeof (PTR *)); in htab_expand() 550 if (nentries == NULL) in htab_expand() 552 htab->entries = nentries; in htab_expand()
|
/dragonfly/sys/netgraph7/netflow/ |
H A D | netflow.c | 530 data->nentries = 0; in ng_netflow_flow_show() 563 bcopy(&fle->f, &(data->entries[data->nentries]), in ng_netflow_flow_show() 565 data->nentries++; in ng_netflow_flow_show() 566 if (data->nentries == NREC_AT_ONCE) { in ng_netflow_flow_show()
|
/dragonfly/usr.bin/w/ |
H A D | w.c | 130 int ch, i, nentries, nusers, wcmd, longidle, dropgid; in main() local 272 if ((kp = kvm_getprocs(kd, KERN_PROC_ALL, 0, &nentries)) == NULL) in main() 274 for (i = 0; i < nentries; i++, kp++) { in main()
|
/dragonfly/contrib/byacc/ |
H A D | output.c | 15 static int nentries; variable 744 nentries = 0; in sort_actions() 752 j = nentries - 1; in sort_actions() 760 for (k = nentries - 1; k > j; k--) in sort_actions() 764 nentries++; in sort_actions() 922 pos = NEW2(nentries, Value_t); in pack_table() 934 for (i = 0; i < nentries; i++) in pack_table()
|
/dragonfly/sys/dev/netif/ath/ath/ |
H A D | if_ath_pci.c | 147 ath_pci_probe_device(device_t dev, const struct pci_device_id *dev_table, int nentries) in ath_pci_probe_device() argument 158 for (i = 0; i < nentries; i++) { in ath_pci_probe_device()
|
/dragonfly/contrib/nvi2/ex/ |
H A D | ex_cscope.c | 297 int fd, nentries; in get_paths() local 334 for (nentries = 0, p = csc->pbuf; *p != '\0'; ++p) in get_paths() 336 ++nentries; in get_paths() 339 CALLOC_GOTO(sp, csc->paths, nentries + 1, sizeof(char **)); in get_paths()
|
/dragonfly/contrib/tcpdump/ |
H A D | print-pim.c | 400 u_int nentries; in cisco_autorp_print() local 426 nentries = GET_U_1(bp); in cisco_autorp_print() 430 while (nentries != 0) { in cisco_autorp_print() 443 nentries--; in cisco_autorp_print()
|