Home
last modified time | relevance | path

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

12

/external/libevent/
Devmap.c207 if (map->nentries <= slot) { in evmap_make_space()
208 int nentries = map->nentries ? map->nentries : 32; in evmap_make_space() local
214 while (nentries <= slot) in evmap_make_space()
215 nentries <<= 1; in evmap_make_space()
217 if (nentries > INT_MAX / msize) in evmap_make_space()
220 tmp = (void **)mm_realloc(map->entries, nentries * msize); in evmap_make_space()
224 memset(&tmp[map->nentries], 0, in evmap_make_space()
225 (nentries - map->nentries) * msize); in evmap_make_space()
227 map->nentries = nentries; in evmap_make_space()
237 ctx->nentries = 0; in evmap_signal_initmap_()
[all …]
Devent-internal.h156 int nentries; member
/external/jemalloc_new/test/unit/
Dql.c47 init_entries(list_t *entries, unsigned nentries) { in init_entries() argument
50 for (i = 0; i < nentries; i++) { in init_entries()
57 test_entries_list(list_head_t *head, list_t *entries, unsigned nentries) { in test_entries_list() argument
62 assert_c_eq(ql_last(head, link)->id, entries[nentries-1].id, in test_entries_list()
73 assert_c_eq(t->id, entries[nentries-i-1].id, in test_entries_list()
78 for (i = 0; i < nentries-1; i++) { in test_entries_list()
82 assert_ptr_null(ql_next(head, &entries[nentries-1], link), in test_entries_list()
86 for (i = 1; i < nentries; i++) { in test_entries_list()
/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/elfutils/src/
Dnm.c1226 size_t nentries = size / (entsize ?: 1); in show_symbols() local
1298 if (nentries > SIZE_MAX / sizeof (GElf_SymX)) in show_symbols()
1301 fullname, nentries, elf_ndxscn (scn), in show_symbols()
1304 if (nentries * sizeof (GElf_SymX) < MAX_STACK_ALLOC) in show_symbols()
1305 sym_mem = (GElf_SymX *) alloca (nentries * sizeof (GElf_SymX)); in show_symbols()
1307 sym_mem = (GElf_SymX *) xmalloc (nentries * sizeof (GElf_SymX)); in show_symbols()
1317 for (size_t cnt = 0; cnt < nentries; ++cnt) in show_symbols()
1441 size_t nentries_orig = nentries; in show_symbols()
1442 nentries = nentries_used; in show_symbols()
1449 qsort (sym_mem, nentries, sizeof (GElf_SymX), sort_by_name); in show_symbols()
[all …]
Dobjdump.c406 int nentries = shdr->sh_size / sh_entsize; in show_relocs_rel() local
408 for (int cnt = 0; cnt < nentries; ++cnt) in show_relocs_rel()
427 int nentries = shdr->sh_size / sh_entsize; in show_relocs_rela() local
429 for (int cnt = 0; cnt < nentries; ++cnt) in show_relocs_rela()
Delflint.c2425 uint32_t nentries = sym_shdr->sh_size / sym_shdr->sh_entsize; in compare_hash_gnu_hash() local
2426 char *used = alloca (nentries); in compare_hash_gnu_hash()
2427 memset (used, '\0', nentries); in compare_hash_gnu_hash()
2464 if (symidx >= max_nsyms || symidx + gnu_symbias >= nentries) in compare_hash_gnu_hash()
2468 gnu_hash_idx, gnu_hash_name, symidx, max_nsyms, nentries); in compare_hash_gnu_hash()
2507 while (symidx != STN_UNDEF && symidx < nentries && symidx < nchain) in compare_hash_gnu_hash()
2544 while (symidx != STN_UNDEF && symidx < nentries && symidx < nchain) in compare_hash_gnu_hash()
2570 for (uint32_t cnt = 1; cnt < nentries; ++cnt) in compare_hash_gnu_hash()
Dreadelf.c1970 int nentries = shdr->sh_size / sh_entsize; in handle_relocs_rel() local
2012 nentries), in handle_relocs_rel()
2018 nentries); in handle_relocs_rel()
2027 nentries), in handle_relocs_rel()
2031 nentries); in handle_relocs_rel()
2040 for (int cnt = 0; cnt < nentries; ++cnt) in handle_relocs_rel()
2160 int nentries = shdr->sh_size / sh_entsize; in handle_relocs_rela() local
2202 nentries), in handle_relocs_rela()
2208 nentries); in handle_relocs_rela()
2217 nentries), in handle_relocs_rela()
[all …]
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
Debtables.h48 unsigned int nentries; member
64 unsigned int nentries; member
88 unsigned int nentries; member
/external/openssh/
Dssh-agent.c122 int nentries; member
178 idtable[i].nentries = 0; in idtab_init()
256 (r = sshbuf_put_u32(msg, tab->nentries)) != 0) in process_request_identities()
493 if (tab->nentries < 1) in process_remove_identity()
496 tab->nentries); in process_remove_identity()
499 tab->nentries--; in process_remove_identity()
521 tab->nentries = 0; in process_remove_all_identities()
546 tab->nentries--; in reaper()
666 tab->nentries++; in process_add_identity()
807 tab->nentries++; in process_add_smartcard_key()
[all …]
/external/libpng/
Dpngset.c1063 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries) in png_set_sPLT() argument
1075 if (png_ptr == NULL || info_ptr == NULL || nentries <= 0 || entries == NULL) in png_set_sPLT()
1082 info_ptr->splt_palettes, info_ptr->splt_palettes_num, nentries, in png_set_sPLT()
1130 entries->nentries, sizeof (png_sPLT_entry))); in png_set_sPLT()
1139 np->nentries = entries->nentries; in png_set_sPLT()
1144 (unsigned int)entries->nentries * sizeof (png_sPLT_entry)); in png_set_sPLT()
1154 while (--nentries); in png_set_sPLT()
1156 if (nentries > 0) in png_set_sPLT()
Dpngwutil.c1185 size_t palette_size = entry_size * (size_t)spalette->nentries; in png_write_sPLT()
1208 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) in png_write_sPLT()
1232 for (i = 0; i>spalette->nentries; i++) in png_write_sPLT()
Dpngrutil.c1746 new_palette.nentries = (png_int_32)(data_length / (unsigned int)entry_size); in png_handle_sPLT()
1749 (png_alloc_size_t) new_palette.nentries * (sizeof (png_sPLT_entry))); in png_handle_sPLT()
1758 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
1783 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
Dpng.h538 png_int_32 nentries; /* number of palette entries */ member
2108 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries));
/external/pdfium/third_party/libpng16/
Dpngset.c1063 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries) in png_set_sPLT() argument
1075 if (png_ptr == NULL || info_ptr == NULL || nentries <= 0 || entries == NULL) in png_set_sPLT()
1082 info_ptr->splt_palettes, info_ptr->splt_palettes_num, nentries, in png_set_sPLT()
1130 entries->nentries, sizeof (png_sPLT_entry))); in png_set_sPLT()
1139 np->nentries = entries->nentries; in png_set_sPLT()
1144 (unsigned int)entries->nentries * sizeof (png_sPLT_entry)); in png_set_sPLT()
1154 while (--nentries); in png_set_sPLT()
1156 if (nentries > 0) in png_set_sPLT()
Dpngwutil.c1185 size_t palette_size = entry_size * (size_t)spalette->nentries; in png_write_sPLT()
1208 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) in png_write_sPLT()
1232 for (i = 0; i>spalette->nentries; i++) in png_write_sPLT()
Dpngrutil.c1746 new_palette.nentries = (png_int_32)(data_length / (unsigned int)entry_size); in png_handle_sPLT()
1749 (png_alloc_size_t) new_palette.nentries * (sizeof (png_sPLT_entry))); in png_handle_sPLT()
1758 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
1783 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
Dpng.h538 png_int_32 nentries; /* number of palette entries */ member
2108 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries));
/external/blktrace/
Dblktrace.c1720 int i, ret, nentries = 0; in handle_pfds_file() local
1740 nentries++; in handle_pfds_file()
1757 return nentries; in handle_pfds_file()
1763 int i, nentries = 0; in handle_pfds_netclient() local
1779 nentries++; in handle_pfds_netclient()
1788 if (nentries) in handle_pfds_netclient()
1789 incr_entries(nentries); in handle_pfds_netclient()
1791 return nentries; in handle_pfds_netclient()
1796 int i, nentries = 0; in handle_pfds_entries() local
1808 nentries++; in handle_pfds_entries()
[all …]
/external/tcpdump/
Dprint-pim.c398 int nentries; in cisco_autorp_print() local
427 nentries = bp[0]; in cisco_autorp_print()
431 for (; nentries; nentries--) { in cisco_autorp_print()
/external/python/cpython3/Tools/gdb/
Dlibpython.py678 entries, nentries = self._get_entries(keys)
679 for i in safe_range(nentries):
/external/llvm/tools/llvm-objdump/
DMachODump.cpp466 uint32_t nentries = DIC.datasize / sizeof(struct MachO::data_in_code_entry); in PrintDataInCodeTable() local
467 outs() << "Data in code table (" << nentries << " entries)\n"; in PrintDataInCodeTable()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DMachODump.cpp794 uint32_t nentries = DIC.datasize / sizeof(struct MachO::data_in_code_entry); in PrintDataInCodeTable() local
795 outs() << "Data in code table (" << nentries << " entries)\n"; in PrintDataInCodeTable()
/external/elfutils/po/
Dpl.po2447 "%<PRIu32>, nentries: %<PRIu32>\n"
2450 "(max_nsyms: %<PRIu32>, nentries: %<PRIu32>\n"

12