/third_party/python/Python/ |
H A D | hashtable.c | 126 size += ht->nentries * sizeof(_Py_hashtable_entry_t); in _Py_hashtable_size() 195 ht->nentries--; in _Py_hashtable_steal() 200 if ((float)ht->nentries / (float)ht->nbuckets < HASHTABLE_LOW) { in _Py_hashtable_steal() 232 ht->nentries++; in _Py_hashtable_set() 233 if ((float)ht->nentries / (float)ht->nbuckets > HASHTABLE_HIGH) { in _Py_hashtable_set() 235 ht->nentries--; in _Py_hashtable_set() 282 size_t new_size = round_size((size_t)(ht->nentries * HASHTABLE_REHASH_FACTOR)); in hashtable_rehash() 337 ht->nentries = 0; in _Py_hashtable_new_full() 396 ht->nentries = 0; in _Py_hashtable_clear()
|
H A D | marshal.c | 322 size_t s = p->hashtable->nentries; in w_ref()
|
/third_party/ffmpeg/libavcodec/ |
H A D | vorbisenc.c | 48 int nentries; member 157 av_assert2(entry < cb->nentries); in put_codeword() 178 ff_vorbis_len2vlc(cb->lens, cb->codewords, cb->nentries); in ready_codebook() 183 int vals = cb_lookup_vals(cb->lookup, cb->ndimensions, cb->nentries); in ready_codebook() 184 cb->dimensions = av_malloc_array(cb->nentries, sizeof(float) * cb->ndimensions); in ready_codebook() 185 cb->pow2 = av_calloc(cb->nentries, sizeof(*cb->pow2)); in ready_codebook() 188 for (i = 0; i < cb->nentries; i++) { in ready_codebook() 230 for (j = 0; j < cb->nentries; j++) { in ready_residue() 297 cb->nentries = cvectors[book].real_len; in create_vorbis_context() 303 cb->lens = av_malloc_array(cb->nentries, sizeo in create_vorbis_context() [all...] |
/third_party/elfutils/src/ |
H A D | nm.c | 1255 size_t nentries = size / (entsize ?: 1); in show_symbols() local 1329 if (nentries > SIZE_MAX / sizeof (GElf_SymX)) in show_symbols() 1331 fullname, nentries, elf_ndxscn (scn), in show_symbols() 1334 if (nentries * sizeof (GElf_SymX) < MAX_STACK_ALLOC) in show_symbols() 1335 sym_mem = (GElf_SymX *) alloca (nentries * sizeof (GElf_SymX)); in show_symbols() 1337 sym_mem = xmalloc (nentries * sizeof (GElf_SymX)); in show_symbols() 1347 for (size_t cnt = 0; cnt < nentries; ++cnt) in show_symbols() 1471 size_t nentries_orig = nentries; in show_symbols() 1472 nentries = nentries_used; in show_symbols() 1479 qsort (sym_mem, nentries, sizeo in show_symbols() [all...] |
H A D | objdump.c | 405 int nentries = shdr->sh_size / sh_entsize; in show_relocs_rel() local 407 for (int cnt = 0; cnt < nentries; ++cnt) in show_relocs_rel() 426 int nentries = shdr->sh_size / sh_entsize; in show_relocs_rela() local 428 for (int cnt = 0; cnt < nentries; ++cnt) in show_relocs_rela()
|
H A D | elflint.c | 2428 uint32_t nentries = sym_shdr->sh_size / sym_shdr->sh_entsize; in compare_hash_gnu_hash() local 2429 char *used = alloca (nentries); in compare_hash_gnu_hash() 2430 memset (used, '\0', nentries); in compare_hash_gnu_hash() 2467 if (symidx >= max_nsyms || symidx + gnu_symbias >= nentries) in compare_hash_gnu_hash() 2470 hash section [%2zu] '%s' invalid symbol index %" PRIu32 " (max_nsyms: %" PRIu32 ", nentries: %" PRIu32 "\n"), in compare_hash_gnu_hash() 2471 gnu_hash_idx, gnu_hash_name, symidx, max_nsyms, nentries); in compare_hash_gnu_hash() 2510 while (symidx != STN_UNDEF && symidx < nentries && symidx < nchain) in compare_hash_gnu_hash() 2547 while (symidx != STN_UNDEF && symidx < nentries && symidx < nchain) in compare_hash_gnu_hash() 2573 for (uint32_t cnt = 1; cnt < nentries; ++cnt) in compare_hash_gnu_hash()
|
H A D | readelf.c | 2050 int nentries = shdr->sh_size / sh_entsize; in handle_relocs_rel() local 2091 nentries), in handle_relocs_rel() 2097 nentries); in handle_relocs_rel() local 2106 nentries), in handle_relocs_rel() 2110 nentries); in handle_relocs_rel() local 2119 for (int cnt = 0; cnt < nentries; ++cnt) in handle_relocs_rel() 2239 int nentries = shdr->sh_size / sh_entsize; in handle_relocs_rela() local 2280 nentries), in handle_relocs_rela() 2286 nentries); in handle_relocs_rela() local 2295 nentries), in handle_relocs_rela() 2299 nentries); handle_relocs_rela() local 3606 int nentries = shdr->sh_size / sh_entsize; print_liblist() local 3615 nentries); print_liblist() local [all...] |
/third_party/libwebsockets/lib/misc/ |
H A D | lws-struct-sqlite.c | 244 int n, m, pk = 0, nentries = (int)(ssize_t)schema->child_map_size, nef = 0, did; in _lws_struct_sq3_ser_one() local 261 for (n = 0; n < nentries; n++) { in _lws_struct_sq3_ser_one() 277 for (n = 0; n < nentries; n++) { in _lws_struct_sq3_ser_one() 339 for (n = 0; n < nentries; n++) { in _lws_struct_sq3_ser_one() 357 for (n = 0; n < nentries; n++) { in _lws_struct_sq3_ser_one()
|
/third_party/libuv/test/ |
H A D | test-fs-readdir.c | 83 dir->nentries = ARRAY_SIZE(dirents); in empty_opendir_cb() 128 dir->nentries = ARRAY_SIZE(dirents); in TEST_IMPL() 314 dir->nentries = ARRAY_SIZE(dirents); in non_empty_readdir_cb() 333 dir->nentries = ARRAY_SIZE(dirents); in non_empty_opendir_cb() 408 dir->nentries = ARRAY_SIZE(dirents); in TEST_IMPL()
|
/third_party/python/Modules/ |
H A D | _testinternalcapi.c | 190 assert(table->nentries == 0); in test_hashtable() 203 assert(table->nentries == 26); in test_hashtable() 204 assert(table->nbuckets > table->nentries); in test_hashtable() 224 assert(table->nentries == 25); in test_hashtable() 235 assert(table->nentries == 0); in test_hashtable()
|
/third_party/skia/third_party/externals/libpng/ |
H A D | pngset.c | 1063 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries) in png_set_sPLT() 1069 * nentries - number of palette structures to be in png_set_sPLT() 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 > in png_set_sPLT() 1062 png_set_sPLT(png_const_structrp png_ptr, png_inforp info_ptr, png_const_sPLT_tp entries, int nentries) png_set_sPLT() argument [all...] |
H A D | pngwutil.c | 1185 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()
|
H A D | pngrutil.c | 1745 new_palette.nentries = (png_int_32)(data_length / (unsigned int)entry_size); in png_handle_sPLT() 1748 (png_alloc_size_t) new_palette.nentries * (sizeof (png_sPLT_entry))); in png_handle_sPLT() 1757 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT() 1782 for (i = 0; i < new_palette.nentries; i++) in png_handle_sPLT()
|
H A D | png.h | 538 png_int_32 nentries; /* number of palette entries */ member 2108 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries));
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_event_win32.c | 536 ULONG nentries = sizeof(entries) / sizeof(*entries); in ares_evsys_win32_wait() local 542 ew->iocp_handle, entries, nentries, &nentries, in ares_evsys_win32_wait() 549 for (i = 0; i < (size_t)nentries; i++) { in ares_evsys_win32_wait()
|
/third_party/python/Include/internal/ |
H A D | pycore_hashtable.h | 61 size_t nentries; // Total number of entries in the table member
|
/third_party/node/src/ |
H A D | node_dir.cc | 102 dir_->nentries = 0; in DirHandle() 297 dir->dir_->nentries = buffer_size; in Read()
|
/third_party/python/Tools/gdb/ |
H A D | libpython.py | 725 entries, nentries = PyDictObjectPtr._get_entries(keys) 726 for i in safe_range(nentries): 771 entries, nentries = self._get_entries(keys) 772 for i in safe_range(nentries):
|
/third_party/libuv/src/win/ |
H A D | fs.c | 1569 memset(dirents, 0, dir->nentries * sizeof(*dir->dirents)); in fs__readdir() 1573 while (dirent_idx < dir->nentries) { in fs__readdir()
|
/third_party/node/deps/uv/src/win/ |
H A D | fs.c | 1646 memset(dirents, 0, dir->nentries * sizeof(*dir->dirents)); in fs__readdir() 1650 while (dirent_idx < dir->nentries) { in fs__readdir()
|
/third_party/libuv/src/unix/ |
H A D | fs.c | 549 while (dirent_idx < dir->nentries) { in uv__fs_readdir()
|
/third_party/libuv/include/ |
H A D | uv.h | 1437 size_t nentries; member
|
/third_party/libuv/include/uv_ndk/ |
H A D | uv.h | 1309 size_t nentries; member
|
/third_party/node/deps/uv/include/ |
H A D | uv.h | 1325 size_t nentries; member
|
/third_party/node/deps/uv/src/unix/ |
H A D | fs.c | 602 while (dirent_idx < dir->nentries) { in uv__fs_readdir()
|