Home
last modified time | relevance | path

Searched refs:entry_count (Results 1 – 25 of 53) sorted by relevance

123

/external/u-boot/lib/efi_selftest/
Defi_selftest_open_protocol.c90 efi_uintn_t entry_count; in execute() local
104 &entry_buffer, &entry_count); in execute()
109 if (entry_count != 1) { in execute()
112 (unsigned int)entry_count); in execute()
126 &entry_buffer, &entry_count); in execute()
131 if (entry_count != 1) { in execute()
134 (unsigned int)entry_count); in execute()
156 &entry_buffer, &entry_count); in execute()
161 if (entry_count != 2) { in execute()
164 (unsigned int)entry_count); in execute()
[all …]
Defi_selftest_controllers.c45 efi_uintn_t entry_count; in count_child_controllers() local
50 &entry_buffer, &entry_count); in count_child_controllers()
53 if (!entry_count) in count_child_controllers()
55 while (entry_count) { in count_child_controllers()
56 if (entry_buffer[--entry_count].attributes & in count_child_controllers()
/external/u-boot/common/
Dimage-android-dt.c46 u32 entry_count, entries_offset, entry_size; in android_dt_get_fdt_by_index() local
51 entry_count = fdt32_to_cpu(hdr->dt_entry_count); in android_dt_get_fdt_by_index()
56 if (index >= entry_count) { in android_dt_get_fdt_by_index()
58 entry_count); in android_dt_get_fdt_by_index()
106 u32 entry_count, entries_offset, entry_size; in android_dt_print_contents() local
110 entry_count = fdt32_to_cpu(hdr->dt_entry_count); in android_dt_print_contents()
120 printf(" dt_entry_count = %d\n", entry_count); in android_dt_print_contents()
128 for (i = 0; i < entry_count; ++i) { in android_dt_print_contents()
/external/arm-trusted-firmware/drivers/partition/
Dpartition.c101 list.entry_count = header.list_num; in load_gpt_header()
102 if (list.entry_count > PLAT_PARTITION_MAX_ENTRIES) { in load_gpt_header()
103 list.entry_count = PLAT_PARTITION_MAX_ENTRIES; in load_gpt_header()
147 list.entry_count = MBR_PRIMARY_ENTRY_NUMBER; in load_mbr_entries()
149 for (i = 0; i < list.entry_count; i++) { in load_mbr_entries()
177 for (i = 0; i < list.entry_count; i++) { in verify_partition_gpt()
192 list.entry_count = i; in verify_partition_gpt()
193 dump_entries(list.entry_count); in verify_partition_gpt()
240 for (i = 0; i < list.entry_count; i++) { in get_partition_entry()
/external/bcc/src/cc/
Dbcc_proc.c192 uint32_t entry_count; member
207 uint32_t entry_count; member
223 (const char *)(ldcache->entries + ldcache->entry_count); in read_cache1()
227 (struct ld_lib *)malloc(ldcache->entry_count * sizeof(struct ld_lib)); in read_cache1()
228 lib_cache_count = (int)ldcache->entry_count; in read_cache1()
230 for (i = 0; i < ldcache->entry_count; ++i) { in read_cache1()
250 (struct ld_lib *)malloc(ldcache->entry_count * sizeof(struct ld_lib)); in read_cache2()
251 lib_cache_count = (int)ldcache->entry_count; in read_cache2()
253 for (i = 0; i < ldcache->entry_count; ++i) { in read_cache2()
289 (cache1->entry_count * sizeof(struct ld_cache1_entry)); in load_ld_cache()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DIdmap.java75 if (input_entry_id >= dtohs(header.entry_count)) { in Lookup()
176 (dtohs(entry_header.entry_count))) { in Load()
178 (int) dtohs(entry_header.entry_count))); in Load()
183 if (dtohs(entry_header.entry_count) != 0) { in Load()
193 SIZEOF_CPTR + (dtohs(entry_header.entry_count) * SIZEOF_INT); in Load()
DLoadedArsc.java231 int entry_count = dtohl(header.entryCount); in VerifyResTableType() local
233 if (entry_count > 0xffff) { in VerifyResTableType()
234 logError("RES_TABLE_TYPE_TYPE has too many entries (" + entry_count + ")."); in VerifyResTableType()
241 int offsets_length = 4 * entry_count; in VerifyResTableType()
380 int entry_count = dtohl(type_chunk.entryCount); in GetEntryOffset() local
397 for (int i = 0; i < entry_count; i++) { in GetEntryOffset()
418 if (entry_index >= entry_count) { in GetEntryOffset()
517 int entry_count = type.entryCount; in FindEntryByName() local
519 for (int entry_idx = 0; entry_idx < entry_count; entry_idx++) { in FindEntryByName()
650 int entry_count = dtohl(type_spec.entryCount); in Load() local
[all …]
DCppAssetManager2.java115 public int entry_count; field in CppAssetManager2.ResolvedBag
993 final int entry_count = (map_entry_end - curOffset) / ResTable_map.SIZEOF; in GetBag() local
997 ResolvedBag.Entry[] new_entry = new_bag.entries = new Entry[entry_count]; in GetBag()
1038 new_bag.entry_count = entry_count; in GetBag()
1058 final int max_count = parent_bag.entry_count + dtohl(map.count); in GetBag()
1069 final int parentEntryCount = parent_bag.entry_count; in GetBag()
1165 while (parentEntryIndex != parent_bag.entry_count) { in GetBag()
1190 new_bag.entry_count = actual_count; in GetBag()
1390 int entry_count; field in CppAssetManager2.Theme.ThemeType
1473 type.entry_count = entry_idx + 1; in ApplyStyle()
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c444 if (!pool->host_memory_base && pool->entry_count == pool->max_entry_count) { in tu_descriptor_set_create()
456 pool->entries[pool->entry_count].offset = pool->current_offset; in tu_descriptor_set_create()
457 pool->entries[pool->entry_count].size = layout_size; in tu_descriptor_set_create()
458 pool->entries[pool->entry_count].set = set; in tu_descriptor_set_create()
459 pool->entry_count++; in tu_descriptor_set_create()
466 for (index = 0; index < pool->entry_count; ++index) { in tu_descriptor_set_create()
480 sizeof(pool->entries[0]) * (pool->entry_count - index)); in tu_descriptor_set_create()
484 pool->entry_count++; in tu_descriptor_set_create()
523 for (int i = 0; i < pool->entry_count; ++i) { in tu_descriptor_set_destroy()
526 sizeof(pool->entries[i]) * (pool->entry_count - i - 1)); in tu_descriptor_set_destroy()
[all …]
Dtu_cs.c144 if (cs->entry_count == cs->entry_capacity) { in tu_cs_reserve_entry()
176 assert(cs->entry_count < cs->entry_capacity); in tu_cs_add_entry()
179 cs->entries[cs->entry_count++] = (struct tu_cs_entry) { in tu_cs_add_entry()
202 for (unsigned i = 0; i < target->entry_count; i++) { in tu_cs_add_entries()
206 cs->entries[cs->entry_count++] = target->entries[i]; in tu_cs_add_entries()
399 assert(!cs->bo_count && !cs->entry_count); in tu_cs_reset()
417 cs->entry_count = 0; in tu_cs_reset()
Dtu_cs.h124 cs->entry_count = 0; in tu_cs_discard_entries()
135 return cs->entry_count * 4; in tu_cs_get_call_size()
203 cs->entry_count < cs->entry_capacity) { in tu_cs_reserve()
292 for (uint32_t i = 0; i < target->entry_count; i++) in tu_cs_emit_call()
Dtu_kgsl.c339 uint32_t entry_count = 0; in tu_QueueSubmit() local
342 entry_count += cmdbuf->cs.entry_count; in tu_QueueSubmit()
345 max_entry_count = MAX2(max_entry_count, entry_count); in tu_QueueSubmit()
362 for (unsigned k = 0; k < cs->entry_count; k++) { in tu_QueueSubmit()
Dtu_drm.c671 uint32_t entry_count = 0; in tu_QueueSubmit() local
674 entry_count += cmdbuf->cs.entry_count; in tu_QueueSubmit()
679 struct drm_msm_gem_submit_cmd cmds[entry_count]; in tu_QueueSubmit()
684 for (unsigned i = 0; i < cs->entry_count; ++i, ++entry_idx) { in tu_QueueSubmit()
713 .nr_cmds = entry_count, in tu_QueueSubmit()
/external/v8/src/diagnostics/
Dperf-jit.cc337 uint32_t entry_count = 0; in LogWriteDebugInfo() local
340 entry_count++; in LogWriteDebugInfo()
342 if (entry_count == 0) return; in LogWriteDebugInfo()
352 debug_info.entry_count_ = entry_count; in LogWriteDebugInfo()
356 size += entry_count * sizeof(PerfJitDebugEntry); in LogWriteDebugInfo()
403 uint32_t entry_count = 0; in LogWriteDebugInfo() local
415 entry_count++; in LogWriteDebugInfo()
419 if (entry_count == 0) return; in LogWriteDebugInfo()
427 debug_info.entry_count_ = entry_count; in LogWriteDebugInfo()
431 size += entry_count * sizeof(PerfJitDebugEntry); in LogWriteDebugInfo()
/external/zlib/google/
Dzip_writer.cc151 size_t entry_count = in FlushEntriesIfNeeded() local
156 pending_entries_.begin() + entry_count); in FlushEntriesIfNeeded()
158 iter != pending_entries_.begin() + entry_count; ++iter) { in FlushEntriesIfNeeded()
163 pending_entries_.begin() + entry_count); in FlushEntriesIfNeeded()
/external/v8/third_party/zlib/google/
Dzip_writer.cc152 size_t entry_count = in FlushEntriesIfNeeded() local
157 pending_entries_.begin() + entry_count); in FlushEntriesIfNeeded()
159 iter != pending_entries_.begin() + entry_count; ++iter) { in FlushEntriesIfNeeded()
164 pending_entries_.begin() + entry_count); in FlushEntriesIfNeeded()
/external/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c552 if (!pool->host_memory_base && pool->entry_count == pool->max_entry_count) { in radv_descriptor_set_create()
565 pool->entries[pool->entry_count].offset = pool->current_offset; in radv_descriptor_set_create()
566 pool->entries[pool->entry_count].size = layout_size; in radv_descriptor_set_create()
567 pool->entries[pool->entry_count].set = set; in radv_descriptor_set_create()
568 pool->entry_count++; in radv_descriptor_set_create()
575 for (index = 0; index < pool->entry_count; ++index) { in radv_descriptor_set_create()
589 sizeof(pool->entries[0]) * (pool->entry_count - index)); in radv_descriptor_set_create()
593 pool->entry_count++; in radv_descriptor_set_create()
630 for (int i = 0; i < pool->entry_count; ++i) { in radv_descriptor_set_destroy()
633 sizeof(pool->entries[i]) * (pool->entry_count - i - 1)); in radv_descriptor_set_destroy()
[all …]
/external/ltp/testcases/kernel/syscalls/acct/
Dacct02.c160 int entry_count = 0, i = 0; in run() local
199 entry_count++; in run()
203 entry_count); in run()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c494 for (uint32_t i = 0; i < pool->entry_count; i++) { in descriptor_set_destroy()
497 sizeof(pool->entries[i]) * (pool->entry_count - i - 1)); in descriptor_set_destroy()
498 --pool->entry_count; in descriptor_set_destroy()
518 for(int i = 0; i < pool->entry_count; ++i) { in v3dv_DestroyDescriptorPool()
540 for(int i = 0; i < pool->entry_count; ++i) { in v3dv_ResetDescriptorPool()
545 pool->entry_count = 0; in v3dv_ResetDescriptorPool()
779 uint32_t index = pool->entry_count; in descriptor_set_create()
782 if (!pool->host_memory_base && pool->entry_count == pool->max_entry_count) { in descriptor_set_create()
801 for (index = 0; index < pool->entry_count; index++) { in descriptor_set_create()
811 sizeof(pool->entries[0]) * (pool->entry_count - index)); in descriptor_set_create()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager9.java906 int[] array = new int[bag.entry_count]; in nativeGetStyleAttributes()
911 for (int i = 0; i < bag.entry_count; i++) { in nativeGetStyleAttributes()
930 String[] array = new String[bag.entry_count]; in nativeGetResourceStringArray()
935 for (int i = 0; i < bag.entry_count; i++) { in nativeGetResourceStringArray()
990 int[] array = new int[bag.entry_count * 2]; in nativeGetResourceStringArrayInfo()
1000 for (int i = 0; i < bag.entry_count; i++) { in nativeGetResourceStringArrayInfo()
1034 int[] array = new int[bag.entry_count]; in nativeGetResourceIntArray()
1044 for (int i = 0; i < bag.entry_count; i++) { in nativeGetResourceIntArray()
1073 return (int) (bag.entry_count); in nativeGetResourceArraySize()
1092 if ((int) (bag.entry_count) > out_data_length * STYLE_NUM_ENTRIES) { in nativeGetResourceArray()
[all …]
DShadowArscAssetManager10.java910 int[] array = new int[bag.entry_count]; in nativeGetStyleAttributes()
915 for (int i = 0; i < bag.entry_count; i++) { in nativeGetStyleAttributes()
934 String[] array = new String[bag.entry_count]; in nativeGetResourceStringArray()
939 for (int i = 0; i < bag.entry_count; i++) { in nativeGetResourceStringArray()
994 int[] array = new int[bag.entry_count * 2]; in nativeGetResourceStringArrayInfo()
1004 for (int i = 0; i < bag.entry_count; i++) { in nativeGetResourceStringArrayInfo()
1038 int[] array = new int[bag.entry_count]; in nativeGetResourceIntArray()
1048 for (int i = 0; i < bag.entry_count; i++) { in nativeGetResourceIntArray()
1077 return (int) (bag.entry_count); in nativeGetResourceArraySize()
1096 if ((int) (bag.entry_count) > out_data_length * STYLE_NUM_ENTRIES) { in nativeGetResourceArray()
[all …]
/external/arm-trusted-firmware/include/drivers/partition/
Dpartition.h40 int entry_count; member
/external/v8/src/codegen/
Dassembler.cc267 CHECK_IMPLIES(code_comments_writer_.entry_count() > 0, in WriteCodeComments()
269 if (code_comments_writer_.entry_count() == 0) return 0; in WriteCodeComments()
Dcode-comments.h40 size_t entry_count() const;
Dcode-comments.cc85 size_t CodeCommentsWriter::entry_count() const { return comments_.size(); } in entry_count() function in v8::internal::CodeCommentsWriter

123