Home
last modified time | relevance | path

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

12

/external/libevent/
Devmap.c204 if (map->nentries <= slot) { in evmap_make_space()
205 int nentries = map->nentries ? map->nentries : 32; in evmap_make_space() local
208 while (nentries <= slot) in evmap_make_space()
209 nentries <<= 1; in evmap_make_space()
211 tmp = (void **)mm_realloc(map->entries, nentries * msize); in evmap_make_space()
215 memset(&tmp[map->nentries], 0, in evmap_make_space()
216 (nentries - map->nentries) * msize); in evmap_make_space()
218 map->nentries = nentries; in evmap_make_space()
228 ctx->nentries = 0; in evmap_signal_initmap()
237 for (i = 0; i < ctx->nentries; ++i) { in evmap_signal_clear()
[all …]
Devent-internal.h129 int nentries; member
/external/jemalloc/test/unit/
Dql.c47 init_entries(list_t *entries, unsigned nentries) in init_entries() argument
51 for (i = 0; i < nentries; i++) { in init_entries()
58 test_entries_list(list_head_t *head, list_t *entries, unsigned nentries) in test_entries_list() argument
64 assert_c_eq(ql_last(head, link)->id, entries[nentries-1].id, in test_entries_list()
75 assert_c_eq(t->id, entries[nentries-i-1].id, in test_entries_list()
80 for (i = 0; i < nentries-1; i++) { in test_entries_list()
84 assert_ptr_null(ql_next(head, &entries[nentries-1], link), in test_entries_list()
88 for (i = 1; i < nentries; i++) { in test_entries_list()
/external/eigen/bench/
Dsparse_randomsetter.cpp42 static double nentries; variable
53 for (int k=0; k<nentries; ++k) in dostuff()
74 nentries = rows*cols*density; in main()
75 std::cout << "n = " << nentries << "\n"; in main()
80 for (int k=0; k<nentries; ++k) in main()
/external/fio/lib/
Dbloom.c13 uint64_t nentries; member
73 b->nentries = entries; in bloom_new()
99 hash[i] = hash[i] % b->nentries; in __bloom_check()
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
Debtables.h44 unsigned int nentries; member
60 unsigned int nentries; member
84 unsigned int nentries; member
/external/bison/src/
Dtables.c106 static int nentries; variable
596 nentries = 0; in sort_actions()
604 int j = nentries - 1; in sort_actions()
612 for (k = nentries - 1; k > j; k--) in sort_actions()
616 nentries++; in sort_actions()
766 pos = xnmalloc (nentries, sizeof *pos); in pack_table()
780 for (i = 0; i < nentries; i++) in pack_table()
/external/elfutils/src/
Dnm.c1242 size_t nentries = size / (entsize ?: 1); in show_symbols() local
1315 if (nentries * sizeof (GElf_SymX) < MAX_STACK_ALLOC) in show_symbols()
1316 sym_mem = (GElf_SymX *) alloca (nentries * sizeof (GElf_SymX)); in show_symbols()
1318 sym_mem = (GElf_SymX *) xmalloc (nentries * sizeof (GElf_SymX)); in show_symbols()
1328 for (size_t cnt = 0; cnt < nentries; ++cnt) in show_symbols()
1452 nentries = nentries_used; in show_symbols()
1459 qsort (sym_mem, nentries, sizeof (GElf_SymX), sort_by_name); in show_symbols()
1462 qsort (sym_mem, nentries, sizeof (GElf_SymX), sort_by_address); in show_symbols()
1468 show_symbols_sysv (ebl, shdr->sh_link, fullname, sym_mem, nentries, in show_symbols()
1474 sym_mem, nentries); in show_symbols()
[all …]
Dobjdump.c418 int nentries = shdr->sh_size / sh_entsize; in show_relocs_rel() local
420 for (int cnt = 0; cnt < nentries; ++cnt) in show_relocs_rel()
439 int nentries = shdr->sh_size / sh_entsize; in show_relocs_rela() local
441 for (int cnt = 0; cnt < nentries; ++cnt) in show_relocs_rela()
Dreadelf.c1838 int nentries = shdr->sh_size / sh_entsize; in handle_relocs_rel() local
1880 nentries), in handle_relocs_rel()
1886 nentries); in handle_relocs_rel()
1895 nentries), in handle_relocs_rel()
1899 nentries); in handle_relocs_rel()
1908 for (int cnt = 0; cnt < nentries; ++cnt) in handle_relocs_rel()
2028 int nentries = shdr->sh_size / sh_entsize; in handle_relocs_rela() local
2070 nentries), in handle_relocs_rela()
2076 nentries); in handle_relocs_rela()
2085 nentries), in handle_relocs_rela()
[all …]
Delflint.c2396 uint32_t nentries = sym_shdr->sh_size / sym_shdr->sh_entsize; in compare_hash_gnu_hash() local
2397 char *used = alloca (nentries); in compare_hash_gnu_hash()
2398 memset (used, '\0', nentries); in compare_hash_gnu_hash()
2435 if (symidx >= max_nsyms || symidx + gnu_symbias >= nentries) in compare_hash_gnu_hash()
2439 gnu_hash_idx, gnu_hash_name, symidx, max_nsyms, nentries); in compare_hash_gnu_hash()
2478 while (symidx != STN_UNDEF && symidx < nentries && symidx < nchain) in compare_hash_gnu_hash()
2515 while (symidx != STN_UNDEF && symidx < nentries && symidx < nchain) in compare_hash_gnu_hash()
2541 for (uint32_t cnt = 1; cnt < nentries; ++cnt) in compare_hash_gnu_hash()
/external/openssh/
Dssh-agent.c122 int nentries; member
175 idtable[i].nentries = 0; in idtab_init()
253 (r = sshbuf_put_u32(msg, tab->nentries)) != 0) in process_request_identities()
478 if (tab->nentries < 1) in process_remove_identity()
481 tab->nentries); in process_remove_identity()
484 tab->nentries--; in process_remove_identity()
506 tab->nentries = 0; in process_remove_all_identities()
531 tab->nentries--; in reaper()
651 tab->nentries++; in process_add_identity()
780 tab->nentries++; in process_add_smartcard_key()
[all …]
/external/pdfium/third_party/lpng_v163/
Dpngset.c972 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries) in png_set_sPLT() argument
984 if (png_ptr == NULL || info_ptr == NULL || nentries <= 0 || entries == NULL) in png_set_sPLT()
991 info_ptr->splt_palettes, info_ptr->splt_palettes_num, nentries, in png_set_sPLT()
1038 entries->nentries, sizeof (png_sPLT_entry))); in png_set_sPLT()
1046 np->nentries = entries->nentries; in png_set_sPLT()
1051 entries->nentries * sizeof (png_sPLT_entry)); in png_set_sPLT()
1060 while (++entries, --nentries); in png_set_sPLT()
1062 if (nentries > 0) in png_set_sPLT()
Dpngrutil.c1675 new_palette.nentries = (png_int_32)(data_length / entry_size); in png_handle_sPLT()
1678 png_ptr, new_palette.nentries * (sizeof (png_sPLT_entry))); in png_handle_sPLT()
1687 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
1712 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
Dpngwutil.c1254 png_size_t palette_size = entry_size * spalette->nentries; in png_write_sPLT()
1278 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) in png_write_sPLT()
1302 for (i = 0; i>spalette->nentries; i++) in png_write_sPLT()
Dpng.h899 png_int_32 nentries; /* number of palette entries */ member
2553 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries));
/external/libpng/
Dpngset.c1000 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries) in png_set_sPLT() argument
1012 if (png_ptr == NULL || info_ptr == NULL || nentries <= 0 || entries == NULL) in png_set_sPLT()
1019 info_ptr->splt_palettes, info_ptr->splt_palettes_num, nentries, in png_set_sPLT()
1067 entries->nentries, sizeof (png_sPLT_entry))); in png_set_sPLT()
1076 np->nentries = entries->nentries; in png_set_sPLT()
1081 entries->nentries * sizeof (png_sPLT_entry)); in png_set_sPLT()
1090 while (++entries, --nentries); in png_set_sPLT()
1092 if (nentries > 0) in png_set_sPLT()
Dpngwutil.c1179 png_size_t palette_size = entry_size * spalette->nentries; in png_write_sPLT()
1203 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) in png_write_sPLT()
1227 for (i = 0; i>spalette->nentries; i++) in png_write_sPLT()
Dpngrutil.c1733 new_palette.nentries = (png_int_32)(data_length / entry_size); in png_handle_sPLT()
1736 png_ptr, new_palette.nentries * (sizeof (png_sPLT_entry))); in png_handle_sPLT()
1745 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
1770 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
Dpng.h574 png_int_32 nentries; /* number of palette entries */ member
2133 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries));
/external/blktrace/
Dblktrace.c1665 int i, ret, nentries = 0; in handle_pfds_file() local
1685 nentries++; in handle_pfds_file()
1702 return nentries; in handle_pfds_file()
1708 int i, nentries = 0; in handle_pfds_netclient() local
1725 nentries++; in handle_pfds_netclient()
1734 if (nentries) in handle_pfds_netclient()
1735 incr_entries(nentries); in handle_pfds_netclient()
1737 return nentries; in handle_pfds_netclient()
1742 int i, nentries = 0; in handle_pfds_entries() local
1754 nentries++; in handle_pfds_entries()
[all …]
/external/tcpdump/
Dprint-pim.c373 int nentries; in cisco_autorp_print() local
392 nentries = bp[5]; in cisco_autorp_print()
395 for (; nentries; nentries--) { in cisco_autorp_print()
/external/valgrind/memcheck/tests/solaris/
Dscalar.stderr.exp3132 Syscall param acl(nentries) contains uninitialised byte(s)
3155 Syscall param acl(nentries) contains uninitialised byte(s)
3178 Syscall param acl(nentries) contains uninitialised byte(s)
3197 Syscall param acl(nentries) contains uninitialised byte(s)
3220 Syscall param acl(nentries) contains uninitialised byte(s)
3243 Syscall param acl(nentries) contains uninitialised byte(s)
3947 Syscall param facl(nentries) contains uninitialised byte(s)
3966 Syscall param facl(nentries) contains uninitialised byte(s)
3985 Syscall param facl(nentries) contains uninitialised byte(s)
4000 Syscall param facl(nentries) contains uninitialised byte(s)
[all …]
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-solaris.c7498 int, nentries, void *, aclbufp);
8054 int, nentries, void *, aclbufp);
/external/llvm/tools/llvm-objdump/
DMachODump.cpp425 uint32_t nentries = DIC.datasize / sizeof(struct MachO::data_in_code_entry); in PrintDataInCodeTable() local
426 outs() << "Data in code table (" << nentries << " entries)\n"; in PrintDataInCodeTable()

12