Home
last modified time | relevance | path

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

123

/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer.cc33 reader.entry_count = 0; in Clear()
60 reader.entry_count = 0; in AttachReader()
71 reader.entry_count = 0; in DetachReader()
120 reader.entry_count++; in InternalPushBack()
172 if (reader.entry_count == 0) { in InternalRead()
209 size_t entry_count = GetSlowestReader().entry_count; in InternalPopFrontAll() local
210 PW_DASSERT(entry_count != 0); in InternalPopFrontAll()
213 if (reader.entry_count == entry_count) { in InternalPopFrontAll()
295 if (reader.entry_count == 0) { in InternalPopFront()
304 reader.entry_count--; in InternalPopFront()
[all …]
/external/pigweed/pw_log_multisink/
Dlog_queue.cc98 .entry_count = 1}; in Pop()
103 size_t entry_count = 0; in PopMultiple() local
116 entry_count += result.value().entry_count; in PopMultiple()
120 .entry_count = entry_count}; in PopMultiple()
Dlog_queue_test.cc104 EXPECT_EQ(pop_result.value().entry_count, 1U); in TEST()
137 EXPECT_EQ(pop_result.value().entry_count, 1U); in TEST()
170 EXPECT_EQ(pop_result.value().entry_count, kEntryCount); in TEST()
/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()
/external/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/pigweed/pw_log_rpc/
Dlogs_rpc.cc61 if (possible_logs.value().entry_count == 0) { in Flush()
68 dropped_entries_ = possible_logs.value().entry_count; in Flush()
/external/pigweed/pw_trace/example/
Dsample_app.cc90 size_t entry_count = jobs_.EntryCount(); in Run() local
106 &entry_count, in Run()
107 sizeof(entry_count)); in Run()
/external/pigweed/pw_ring_buffer/public/pw_ring_buffer/
Dprefixed_entry_ring_buffer.h60 constexpr Reader() : buffer(nullptr), read_idx(0), entry_count(0) {} in Reader()
129 size_t EntryCount() { return entry_count; } in EntryCount()
136 size_t entry_count; variable
/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/llvm-project/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
DDynamicLoaderDarwinKernel.h216 uint32_t entry_count; member
220 : version(0), entry_size(0), entry_count(0), in OSKextLoadedKextSummaryHeader()
239 entry_count = 0; in Clear()
/external/llvm-project/lldb/include/lldb/Symbol/
DCompactUnwindInfo.h114 uint32_t entry_count, uint32_t function_offset,
119 uint32_t entry_count,
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDebugMacro.cpp45 uint8_t entry_count = debug_macro_data.GetU8(offset); in SkipOperandTable() local
46 for (uint8_t i = 0; i < entry_count; i++) { in SkipOperandTable()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
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 …]
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 …]
/external/arm-trusted-firmware/include/drivers/partition/
Dpartition.h40 int entry_count; member

123