Home
last modified time | relevance | path

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

12

/external/libevent/
Devmap.c206 if (map->nentries <= slot) { in evmap_make_space()
207 int nentries = map->nentries ? map->nentries : 32; in evmap_make_space() local
210 while (nentries <= slot) in evmap_make_space()
211 nentries <<= 1; in evmap_make_space()
213 tmp = (void **)mm_realloc(map->entries, nentries * msize); in evmap_make_space()
217 memset(&tmp[map->nentries], 0, in evmap_make_space()
218 (nentries - map->nentries) * msize); in evmap_make_space()
220 map->nentries = nentries; in evmap_make_space()
230 ctx->nentries = 0; in evmap_signal_initmap_()
239 for (i = 0; i < ctx->nentries; ++i) { in evmap_signal_clear_()
[all …]
Devent-internal.h156 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/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/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.c1228 size_t nentries = size / (entsize ?: 1); in show_symbols() local
1300 if (nentries > SIZE_MAX / sizeof (GElf_SymX)) in show_symbols()
1303 fullname, nentries, elf_ndxscn (scn), in show_symbols()
1306 if (nentries * sizeof (GElf_SymX) < MAX_STACK_ALLOC) in show_symbols()
1307 sym_mem = (GElf_SymX *) alloca (nentries * sizeof (GElf_SymX)); in show_symbols()
1309 sym_mem = (GElf_SymX *) xmalloc (nentries * sizeof (GElf_SymX)); in show_symbols()
1319 for (size_t cnt = 0; cnt < nentries; ++cnt) in show_symbols()
1443 nentries = nentries_used; in show_symbols()
1450 qsort (sym_mem, nentries, sizeof (GElf_SymX), sort_by_name); in show_symbols()
1453 qsort (sym_mem, nentries, sizeof (GElf_SymX), sort_by_address); 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.c1935 int nentries = shdr->sh_size / sh_entsize; in handle_relocs_rel() local
1977 nentries), in handle_relocs_rel()
1983 nentries); in handle_relocs_rel()
1992 nentries), in handle_relocs_rel()
1996 nentries); in handle_relocs_rel()
2005 for (int cnt = 0; cnt < nentries; ++cnt) in handle_relocs_rel()
2125 int nentries = shdr->sh_size / sh_entsize; in handle_relocs_rela() local
2167 nentries), in handle_relocs_rela()
2173 nentries); in handle_relocs_rela()
2182 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/pdfium/third_party/libpng16/
Dpngset.c1015 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries) in png_set_sPLT() argument
1027 if (png_ptr == NULL || info_ptr == NULL || nentries <= 0 || entries == NULL) in png_set_sPLT()
1034 info_ptr->splt_palettes, info_ptr->splt_palettes_num, nentries, in png_set_sPLT()
1082 entries->nentries, sizeof (png_sPLT_entry))); in png_set_sPLT()
1091 np->nentries = entries->nentries; in png_set_sPLT()
1096 entries->nentries * sizeof (png_sPLT_entry)); in png_set_sPLT()
1105 while (++entries, --nentries); in png_set_sPLT()
1107 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/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.c1186 png_size_t palette_size = entry_size * (png_size_t)spalette->nentries; in png_write_sPLT()
1210 for (ep = spalette->entries; ep<spalette->entries + spalette->nentries; ep++) in png_write_sPLT()
1234 for (i = 0; i>spalette->nentries; i++) in png_write_sPLT()
Dpngrutil.c1747 new_palette.nentries = (png_int_32)(data_length / (unsigned int)entry_size); in png_handle_sPLT()
1750 (png_alloc_size_t) new_palette.nentries * (sizeof (png_sPLT_entry))); in png_handle_sPLT()
1759 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
1784 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
Dpng.h569 png_int_32 nentries; /* number of palette entries */ member
2139 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries));
/external/syzkaller/sys/linux/
Dnetfilter_bridge.txt52 nentries const[0, int32]
65 nentries len[entries, int32]
114 nentries const[0, int32]
126 nentries const[0, int32]
137 nentries int32[3:4]
/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/syzkaller/sys/akaros/
Dsys.txt95 dup_fds_to(pid pid[opt], map ptr[in, array[childfdmap]], nentries len[map])
/external/python/cpython3/Tools/gdb/
Dlibpython.py678 entries, nentries = self._get_entries(keys)
679 for i in safe_range(nentries):
/external/libmtp/src/
Dptp.c2348 PTPCanon_changes_entry *entries = NULL, *nentries; in ptp_check_eos_events() local
2357nentries = realloc(params->backlogentries,sizeof(entries[0])*(params->nrofbacklogentries+nrofentri… in ptp_check_eos_events()
2358 if (!nentries) in ptp_check_eos_events()
2360 params->backlogentries = nentries; in ptp_check_eos_events()
2361 memcpy (nentries+params->nrofbacklogentries, entries, nrofentries*sizeof(entries[0])); in ptp_check_eos_events()

12