Home
last modified time | relevance | path

Searched refs:num_entries (Results 1 – 25 of 199) sorted by relevance

12345678

/external/u-boot/arch/x86/lib/fsp/
Dfsp_dram.c50 unsigned int num_entries = 0; in install_e820_map() local
59 entries[num_entries].addr = res_desc->phys_start; in install_e820_map()
60 entries[num_entries].size = res_desc->len; in install_e820_map()
63 entries[num_entries].type = E820_RAM; in install_e820_map()
65 entries[num_entries].type = E820_RESERVED; in install_e820_map()
67 num_entries++; in install_e820_map()
73 entries[num_entries].addr = CONFIG_PCIE_ECAM_BASE; in install_e820_map()
74 entries[num_entries].size = CONFIG_PCIE_ECAM_SIZE; in install_e820_map()
75 entries[num_entries].type = E820_RESERVED; in install_e820_map()
76 num_entries++; in install_e820_map()
[all …]
/external/OpenCSD/decoder/source/
Dtrc_ret_stack.cpp59 num_entries(0) in TrcAddrReturnStack()
74 num_entries++; in push()
75 if (num_entries > 16) in push()
76 num_entries = 16; in push()
87 if (num_entries > 0) in pop()
94 num_entries--; in pop()
104 num_entries = 0; in flush()
136 oss << "current entries = " << std::dec << num_entries << ";"; in LogOp()
/external/google-breakpad/src/common/
Dsimple_string_dictionary.h63 static const size_t num_entries = NumEntries; variable
88 while (current_ < map_.num_entries) { in Next()
114 assert(other.num_entries == num_entries);
116 other.num_entries == num_entries) {
135 for (size_t i = 0; i < num_entries; ++i) { in GetCount()
180 for (size_t i = 0; i < num_entries; ++i) { in SetKeyValue()
199 for (size_t i = 0; i < num_entries; ++i) { in SetKeyValue()
239 for (size_t i = 0; i < num_entries; ++i) { in GetConstEntryForKey()
/external/u-boot/arch/powerpc/cpu/mpc8xxx/
Dpamu_table.c11 void construct_pamu_addr_table(struct pamu_addr_tbl *tbl, int *num_entries) in construct_pamu_addr_table() argument
42 *num_entries = i; in construct_pamu_addr_table()
48 int num_entries = 0; in sec_config_pamu_table() local
51 construct_pamu_addr_table(&tbl, &num_entries); in sec_config_pamu_table()
53 ret = config_pamu(&tbl, num_entries, liodn_ns); in sec_config_pamu_table()
57 ret = config_pamu(&tbl, num_entries, liodn_s); in sec_config_pamu_table()
/external/libavc/common/
Dih264_list.c83 WORD32 ih264_list_size(WORD32 num_entries, WORD32 entry_size) in ih264_list_size() argument
91 clz = CLZ(num_entries); in ih264_list_size()
92 num_entries = 1 << (32 - clz); in ih264_list_size()
94 size += num_entries * entry_size; in ih264_list_size()
252 WORD32 num_entries, in ih264_list_init() argument
275 ASSERT(0 == (num_entries & (num_entries - 1))); in ih264_list_init()
278 ASSERT((num_entries * entry_size) <= buf_size); in ih264_list_init()
285 ps_list->i4_log2_buf_max_idx = 32 - CLZ(num_entries); in ih264_list_init()
286 ps_list->i4_buf_max_idx = num_entries; in ih264_list_init()
/external/mesa3d/src/gallium/auxiliary/util/
Du_log.c36 unsigned num_entries; member
163 if (page->num_entries >= page->max_entries) { in u_log_chunk()
164 unsigned new_max_entries = MAX2(16, page->num_entries * 2); in u_log_chunk()
175 page->entries[page->num_entries].type = type; in u_log_chunk()
176 page->entries[page->num_entries].data = data; in u_log_chunk()
177 page->num_entries++; in u_log_chunk()
223 for (unsigned i = 0; i < page->num_entries; ++i) { in u_log_page_destroy()
237 for (unsigned i = 0; i < page->num_entries; ++i) in u_log_page_print()
/external/u-boot/arch/x86/cpu/coreboot/
Dsdram.c18 unsigned int num_entries; in install_e820_map() local
21 num_entries = min((unsigned int)lib_sysinfo.n_memranges, max_entries); in install_e820_map()
22 if (num_entries < lib_sysinfo.n_memranges) { in install_e820_map()
24 num_entries); in install_e820_map()
26 for (i = 0; i < num_entries; i++) { in install_e820_map()
43 return num_entries; in install_e820_map()
Dtimestamp.c21 uint32_t num_entries; member
36 if (!ts_table || (ts_table->num_entries == ts_table->max_entries)) in timestamp_add()
39 tse = &ts_table->entries[ts_table->num_entries++]; in timestamp_add()
56 for (i = 0; i < ts_table->num_entries; i++) { in timestamp_add_to_bootstage()
/external/u-boot/arch/x86/cpu/efi/
Dpayload.c186 unsigned int num_entries = 0; in install_e820_map() local
242 if (num_entries >= E820MAX) in install_e820_map()
245 entries[num_entries].addr = desc->physical_start; in install_e820_map()
246 entries[num_entries].size = desc->num_pages; in install_e820_map()
247 entries[num_entries].size <<= EFI_PAGE_SHIFT; in install_e820_map()
248 entries[num_entries].type = e820_type; in install_e820_map()
249 last_entry = &entries[num_entries]; in install_e820_map()
251 num_entries++; in install_e820_map()
255 return num_entries; in install_e820_map()
/external/arm-trusted-firmware/plat/nvidia/tegra/common/drivers/smmu/
Dsmmu.c79 uint32_t i, num_entries = 0; in tegra_smmu_save_context() local
104 while ((smmu_ctx_regs[num_entries].reg != 0xFFFFFFFFU)) { in tegra_smmu_save_context()
105 num_entries++; in tegra_smmu_save_context()
109 if (num_entries != smmu_ctx_regs[0].val) { in tegra_smmu_save_context()
115 for (i = 1U; i < num_entries; i++) { in tegra_smmu_save_context()
120 num_entries++; in tegra_smmu_save_context()
124 (sizeof(smmu_regs_t) * num_entries)); in tegra_smmu_save_context()
/external/grpc-grpc/src/core/lib/slice/
Dslice_hash_table.h63 static RefCountedPtr<SliceHashTable> Create(size_t num_entries,
88 SliceHashTable(size_t num_entries, Entry* entries, ValueCmp value_cmp);
107 RefCountedPtr<SliceHashTable<T>> SliceHashTable<T>::Create(size_t num_entries, in Create() argument
110 return MakeRefCounted<SliceHashTable<T>>(num_entries, entries, value_cmp); in Create()
114 SliceHashTable<T>::SliceHashTable(size_t num_entries, Entry* entries, in SliceHashTable() argument
118 size_(num_entries * 2), in SliceHashTable()
121 for (size_t i = 0; i < num_entries; ++i) { in SliceHashTable()
/external/mesa3d/src/mapi/
Dmapi_glapi.c240 _glapi_new_nop_table(unsigned num_entries) in _glapi_new_nop_table() argument
244 if (num_entries > MAPI_TABLE_NUM_SLOTS) in _glapi_new_nop_table()
245 num_entries = MAPI_TABLE_NUM_SLOTS; in _glapi_new_nop_table()
247 table = malloc(num_entries * sizeof(mapi_func)); in _glapi_new_nop_table()
249 memcpy(table, table_noop_array, num_entries * sizeof(mapi_func)); in _glapi_new_nop_table()
/external/adhd/cras/src/server/
Dcras_alsa_ucm.c179 int num_entries; in ucm_section_exists_with_name() local
182 num_entries = snd_use_case_get_list(mgr->mgr, identifier, &list); in ucm_section_exists_with_name()
183 if (num_entries <= 0) in ucm_section_exists_with_name()
186 for (i = 0; i < (unsigned int)num_entries; i += 2) { in ucm_section_exists_with_name()
195 snd_use_case_free_list(list, num_entries); in ucm_section_exists_with_name()
205 int num_entries; in ucm_section_exists_with_suffix() local
208 num_entries = snd_use_case_get_list(mgr->mgr, identifier, &list); in ucm_section_exists_with_suffix()
209 if (num_entries <= 0) in ucm_section_exists_with_suffix()
212 for (i = 0; i < (unsigned int)num_entries; i += 2) { in ucm_section_exists_with_suffix()
221 snd_use_case_free_list(list, num_entries); in ucm_section_exists_with_suffix()
[all …]
/external/mesa3d/src/gallium/frontends/clover/api/
Dplatform.cpp38 clGetPlatformIDs(cl_uint num_entries, cl_platform_id *rd_platforms, in clGetPlatformIDs() argument
40 if ((!num_entries && rd_platforms) || in clGetPlatformIDs()
209 clover::IcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *rd_platforms, in IcdGetPlatformIDsKHR() argument
211 return clGetPlatformIDs(num_entries, rd_platforms, rnum_platforms); in IcdGetPlatformIDsKHR()
232 clIcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *rd_platforms, in clIcdGetPlatformIDsKHR() argument
234 return IcdGetPlatformIDsKHR(num_entries, rd_platforms, rnum_platforms); in clIcdGetPlatformIDsKHR()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_buffer.h95 size_t num_entries = 0; in GenerateEntryList() local
99 ++num_entries; in GenerateEntryList()
100 ret[num_entries] = tmp; in GenerateEntryList()
102 ret[num_entries].weight += ret[i].weight; in GenerateEntryList()
105 ret.resize(num_entries + 1); in GenerateEntryList()
/external/tensorflow/tensorflow/core/kernels/
Dserialize_sparse_op.cc191 const int64 num_entries = values.size(); in operator ()() local
193 Tensor output_indices = Tensor(DT_INT64, {num_entries, rank - 1}); in operator ()()
194 Tensor output_values = Tensor(DataTypeToEnum<T>::value, {num_entries}); in operator ()()
199 for (int i = 0; i < num_entries; ++i) { in operator ()()
290 const int64 num_entries = values.size(); in operator ()() local
293 DT_INT64, TensorShape({num_entries, rank - 1})); in operator ()()
295 T_type, TensorShape({num_entries})); in operator ()()
307 for (int i = 0; i < num_entries; ++i) { in operator ()()
311 for (int i = 0; i < num_entries; ++i) { in operator ()()
320 CopyValues(values_ptr, output_values_ptr, num_entries); in operator ()()
/external/mesa3d/src/mapi/glapi/
Dglapi_nop.c124 _glapi_new_nop_table(unsigned num_entries) in _glapi_new_nop_table() argument
126 struct _glapi_table *table = malloc(num_entries * sizeof(_glapi_proc)); in _glapi_new_nop_table()
129 num_entries * sizeof(_glapi_proc)); in _glapi_new_nop_table()
/external/arm-trusted-firmware/plat/xilinx/common/
Dplat_startup.c65 uint32_t num_entries; member
179 atf_handoff_addr, ATFHandoffParams->num_entries); in fsbl_atf_handover()
180 if (ATFHandoffParams->num_entries > FSBL_MAX_PARTITIONS) { in fsbl_atf_handover()
182 ATFHandoffParams->num_entries, FSBL_MAX_PARTITIONS); in fsbl_atf_handover()
191 for (size_t i = 0; i < ATFHandoffParams->num_entries; i++) { in fsbl_atf_handover()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/Windows/
Dalloca-no-stack-arg-probe.ll3 declare arm_aapcs_vfpcc i32 @num_entries()
8 %call = call arm_aapcs_vfpcc i32 @num_entries()
15 ; CHECK: bl num_entries
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/gk20a/gk20a_channel_submit_gpfifo/
Dformat11 field:u32 num_entries; offset:20; size:4; signed:0;
16 …t fmt: "name=%s, hw_chid=%d, num_entries=%u, flags=%u, wait_id=%d, wait_value=%u", REC->name, REC-…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/gk20a/gk20a_channel_submitted_gpfifo/
Dformat11 field:u32 num_entries; offset:20; size:4; signed:0;
16 …t fmt: "name=%s, hw_chid=%d, num_entries=%u, flags=%u, incr_id=%u, incr_value=%u", REC->name, REC-…
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_xent_op_test.py271 num_entries = array_ops.shape(logits)[1]
272 length = batch_size * num_entries
273 labels += num_entries * math_ops.range(batch_size)
276 target = array_ops.reshape(target, array_ops.stack([-1, num_entries]))
298 def sparse_vs_dense_xent_benchmark(batch_size, num_entries, use_gpu): argument
302 labels = np.random.randint(num_entries, size=batch_size).astype(np.int32)
303 logits = np.random.randn(batch_size, num_entries).astype(np.float32)
336 print("%d \t %d \t %s \t %f \t %f \t %f" % (batch_size, num_entries, use_gpu,
347 for num_entries in (100, 1000, 10000):
348 sparse_vs_dense_xent_benchmark(batch_size, num_entries, use_gpu)
/external/llvm/test/CodeGen/ARM/Windows/
Dalloca.ll3 declare arm_aapcs_vfpcc i32 @num_entries()
8 %call = call arm_aapcs_vfpcc i32 @num_entries()
15 ; CHECK: bl num_entries
/external/harfbuzz_ng/test/api/
Dtest-ot-name.c76 unsigned int num_entries; in test_ot_name() local
82 entries = hb_ot_name_list_names (face, &num_entries); in test_ot_name()
83 g_assert_cmpuint (12, ==, num_entries); in test_ot_name()
/external/libxaac/decoder/drc_src/
Dimpd_drc_extr_delta_coded_info.c40 WORD32* num_entries) { in impd_get_delta_gain_code_tbl() argument
43 *num_entries = NUM_GAIN_TBL_PROF_2_ENTRIES; in impd_get_delta_gain_code_tbl()
46 *num_entries = NUM_GAIN_TBL_PROF_0_1_ENTRIES; in impd_get_delta_gain_code_tbl()

12345678