Home
last modified time | relevance | path

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

12345678

/external/u-boot/arch/x86/lib/fsp/
Dfsp_dram.c67 unsigned int num_entries = 0; in install_e820_map() local
76 entries[num_entries].addr = res_desc->phys_start; in install_e820_map()
77 entries[num_entries].size = res_desc->len; in install_e820_map()
80 entries[num_entries].type = E820_RAM; in install_e820_map()
82 entries[num_entries].type = E820_RESERVED; in install_e820_map()
84 num_entries++; in install_e820_map()
90 entries[num_entries].addr = CONFIG_PCIE_ECAM_BASE; in install_e820_map()
91 entries[num_entries].size = CONFIG_PCIE_ECAM_SIZE; in install_e820_map()
92 entries[num_entries].type = E820_RESERVED; in install_e820_map()
93 num_entries++; in install_e820_map()
[all …]
/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()
219 for (unsigned i = 0; i < page->num_entries; ++i) { in u_log_page_destroy()
233 for (unsigned i = 0; i < page->num_entries; ++i) in u_log_page_print()
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dplatform.cpp34 clGetPlatformIDs(cl_uint num_entries, cl_platform_id *rd_platforms, in clGetPlatformIDs() argument
36 if ((!num_entries && rd_platforms) || in clGetPlatformIDs()
115 clover::IcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *rd_platforms, in IcdGetPlatformIDsKHR() argument
117 return clGetPlatformIDs(num_entries, rd_platforms, rnum_platforms); in IcdGetPlatformIDsKHR()
138 clIcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *rd_platforms, in clIcdGetPlatformIDsKHR() argument
140 return IcdGetPlatformIDsKHR(num_entries, rd_platforms, rnum_platforms); in clIcdGetPlatformIDsKHR()
/external/u-boot/arch/x86/cpu/coreboot/
Dsdram.c17 unsigned int num_entries; in install_e820_map() local
20 num_entries = min((unsigned int)lib_sysinfo.n_memranges, max_entries); in install_e820_map()
21 if (num_entries < lib_sysinfo.n_memranges) { in install_e820_map()
23 num_entries); in install_e820_map()
25 for (i = 0; i < num_entries; i++) { in install_e820_map()
42 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/v8/src/compiler/
Dnode-cache.cc39 size_t num_entries = size_ + kLinearProbe; in Resize() local
40 entries_ = zone->NewArray<Entry>(num_entries); in Resize()
41 memset(entries_, 0, sizeof(Entry) * num_entries); in Resize()
69 size_t num_entries = kInitialSize + kLinearProbe; in Find() local
70 entries_ = zone->NewArray<Entry>(num_entries); in Find()
72 memset(entries_, 0, sizeof(Entry) * num_entries); in Find()
/external/adhd/cras/src/server/
Dcras_alsa_ucm.c181 int num_entries; in ucm_section_exists_with_name() local
184 num_entries = snd_use_case_get_list(mgr->mgr, identifier, &list); in ucm_section_exists_with_name()
185 if (num_entries <= 0) in ucm_section_exists_with_name()
188 for (i = 0; i < (unsigned int)num_entries; i+=2) { in ucm_section_exists_with_name()
198 snd_use_case_free_list(list, num_entries); in ucm_section_exists_with_name()
207 int num_entries; in ucm_section_exists_with_suffix() local
210 num_entries = snd_use_case_get_list(mgr->mgr, identifier, &list); in ucm_section_exists_with_suffix()
211 if (num_entries <= 0) in ucm_section_exists_with_suffix()
214 for (i = 0; i < (unsigned int)num_entries; i+=2) { in ucm_section_exists_with_suffix()
224 snd_use_case_free_list(list, num_entries); in ucm_section_exists_with_suffix()
[all …]
/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.c228 _glapi_new_nop_table(unsigned num_entries) in _glapi_new_nop_table() argument
232 if (num_entries > MAPI_TABLE_NUM_SLOTS) in _glapi_new_nop_table()
233 num_entries = MAPI_TABLE_NUM_SLOTS; in _glapi_new_nop_table()
235 table = malloc(num_entries * sizeof(mapi_func)); in _glapi_new_nop_table()
237 memcpy(table, table_noop_array, num_entries * sizeof(mapi_func)); in _glapi_new_nop_table()
/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/contrib/boosted_trees/lib/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/python/kernel_tests/
Dsparse_xent_op_test.py270 num_entries = array_ops.shape(logits)[1]
271 length = batch_size * num_entries
272 labels += num_entries * math_ops.range(batch_size)
275 target = array_ops.reshape(target, array_ops.stack([-1, num_entries]))
297 def sparse_vs_dense_xent_benchmark(batch_size, num_entries, use_gpu): argument
301 labels = np.random.randint(num_entries, size=batch_size).astype(np.int32)
302 logits = np.random.randn(batch_size, num_entries).astype(np.float32)
335 print("%d \t %d \t %s \t %f \t %f \t %f" % (batch_size, num_entries, use_gpu,
346 for num_entries in (100, 1000, 10000):
347 sparse_vs_dense_xent_benchmark(batch_size, num_entries, use_gpu)
/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/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_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/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/u-boot/drivers/input/
Dinput.c152 int num_entries; /* Number of entries in xlate */ member
465 if (key >= table->num_entries || table->xlate[key] == 0xff) { in input_keycodes_to_ascii()
480 if (key < table->num_entries) { in input_keycodes_to_ascii()
584 int right_keycode, const uchar *xlate, int num_entries) in input_add_table() argument
597 table->num_entries = num_entries; in input_add_table()
634 entry->num_entries); in input_add_tables()
/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/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc170 uint16 num_entries = files_.size(); in WriteDirectory() local
175 for (int i = 0; i < num_entries; ++i) { in WriteDirectory()
207 WriteShort(&output, num_entries); // central directory entries (this disk) in WriteDirectory()
208 WriteShort(&output, num_entries); // central directory entries (total) in WriteDirectory()
/external/tensorflow/tensorflow/core/kernels/
Ddeserialize_sparse_string_op.cc111 int64 num_entries = output_indices.dim_size(0); in Compute() local
116 Tensor expanded_indices(DT_INT64, TensorShape({num_entries, 1 + rank})); in Compute()
122 Eigen::DSizes<Eigen::DenseIndex, 2> indices_sizes(num_entries, rank); in Compute()
238 int64 num_entries = output_indices->dim_size(0); in GetAndValidateSparseTensor() local
255 if (num_entries != output_values->dim_size(0)) { in GetAndValidateSparseTensor()
259 "].values to match but they do not: ", num_entries, " vs. ", in GetAndValidateSparseTensor()
/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