Home
last modified time | relevance | path

Searched refs:current_index (Results 1 – 20 of 20) sorted by relevance

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_page.cc65 int16_t current_index = root->global_empty_page_ring_index; in PartitionRegisterEmptyPage() local
66 PartitionPage* page_to_decommit = root->global_empty_page_ring[current_index]; in PartitionRegisterEmptyPage()
76 root->global_empty_page_ring[current_index] = page; in PartitionRegisterEmptyPage()
77 page->empty_cache_index = current_index; in PartitionRegisterEmptyPage()
78 ++current_index; in PartitionRegisterEmptyPage()
79 if (current_index == kMaxFreeableSpans) in PartitionRegisterEmptyPage()
80 current_index = 0; in PartitionRegisterEmptyPage()
81 root->global_empty_page_ring_index = current_index; in PartitionRegisterEmptyPage()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_composite_insert.cpp201 std::vector<uint32_t> current_index; in AddDataSynonymFacts() local
221 current_index.push_back(i); in AddDataSynonymFacts()
226 MakeDataDescriptor(message_.fresh_id(), current_index), in AddDataSynonymFacts()
227 MakeDataDescriptor(message_.composite_id(), current_index)); in AddDataSynonymFacts()
229 current_index.pop_back(); in AddDataSynonymFacts()
232 current_index.push_back(current_level); in AddDataSynonymFacts()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_composite_insert.cpp196 std::vector<uint32_t> current_index; in AddDataSynonymFacts() local
216 current_index.push_back(i); in AddDataSynonymFacts()
221 MakeDataDescriptor(message_.fresh_id(), current_index), in AddDataSynonymFacts()
222 MakeDataDescriptor(message_.composite_id(), current_index)); in AddDataSynonymFacts()
224 current_index.pop_back(); in AddDataSynonymFacts()
227 current_index.push_back(current_level); in AddDataSynonymFacts()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_composite_insert.cpp196 std::vector<uint32_t> current_index; in AddDataSynonymFacts() local
216 current_index.push_back(i); in AddDataSynonymFacts()
221 MakeDataDescriptor(message_.fresh_id(), current_index), in AddDataSynonymFacts()
222 MakeDataDescriptor(message_.composite_id(), current_index)); in AddDataSynonymFacts()
224 current_index.pop_back(); in AddDataSynonymFacts()
227 current_index.push_back(current_level); in AddDataSynonymFacts()
/external/rust/crates/crossbeam-utils/src/sync/
Dsharded_lock.rs227 let current_index = current_index().unwrap_or(0); in try_read() localVariable
228 let shard_index = current_index & (self.shards.len() - 1); in try_read()
287 let current_index = current_index().unwrap_or(0); in read() localVariable
288 let shard_index = current_index & (self.shards.len() - 1); in read()
570 fn current_index() -> Option<usize> { in current_index() function
/external/tensorflow/tensorflow/core/platform/windows/
Dstacktrace_handler.cc92 int current_index = start_index + num_hex_chars; in PtrToString() local
93 buf[current_index] = '\n'; in PtrToString()
94 buf[current_index + 1] = '\0'; in PtrToString()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_valuepool.cpp406 int current_index = m_next_register_index; in allocate_arrays() local
418 current_index = m_next_register_index; in allocate_arrays()
428 PValue array = PValue(new GPRArray(current_index, a.length, mask, ncomponents)); in allocate_arrays()
430 sfn_log << SfnLog::reg << "Add array at "<< current_index in allocate_arrays()
434 m_local_register_map[a.index] = current_index + instance; in allocate_arrays()
437 m_registers[((current_index + instance) << 3) + i] = array; in allocate_arrays()
439 VRec next_reg = {current_index + instance, mask, mask}; in allocate_arrays()
440 m_register_map[current_index + instance] = next_reg; in allocate_arrays()
/external/llvm-project/openmp/runtime/src/
Dkmp_dispatch_hier.h267 kmp_uint64 current_index = tdata->index; in barrier() local
268 kmp_uint64 next_index = 1 - current_index; in barrier()
269 kmp_uint64 current_wait_value = tdata->wait_val[current_index]; in barrier()
274 __kmp_get_gtid(), current_index, next_index, current_wait_value, in barrier()
277 (RCAST(volatile char *, &(bdata->val[current_index])))[id] = v; in barrier()
278 __kmp_wait<kmp_uint64>(&(bdata->val[current_index]), current_wait_value, in barrier()
280 tdata->wait_val[current_index] = next_wait_value; in barrier()
314 kmp_uint64 current_index = tdata->index; in barrier() local
315 kmp_uint64 next_index = 1 - current_index; in barrier()
316 kmp_uint64 current_wait_value = tdata->wait_val[current_index]; in barrier()
[all …]
/external/e2fsprogs/contrib/android/
De2fsdroid.c169 size_t current_index; in parse_ugid_map() local
186 for (line = strtok_r(arg, "\n", &line_saveptr), current_index = 0; in parse_ugid_map()
188 line = strtok_r(NULL, "\n", &line_saveptr), ++current_index) { in parse_ugid_map()
190 line, &result->entries[current_index])) { in parse_ugid_map()
/external/rust/crates/rayon/src/iter/find_first_last/
Dmod.rs80 fn current_index(&self) -> usize { in current_index() method
111 boundary: self.current_index(), in into_folder()
123 self.current_index(), in full()
/external/bcc/src/cc/frontends/p4/compiler/
DebpfDeparser.py30 current_index = tag_stacks_index[base_name]
31 if current_index > hdr.max_index:
34 name = base_name + "[%d]" % current_index
/external/tensorflow/tensorflow/core/framework/
Drun_handler.cc470 current_index(0), in ThreadData()
488 int current_index = thread_data_[thread_id].current_index; in FindTask() local
492 if (current_index >= searching_range_end || in FindTask()
493 current_index < searching_range_start) { in FindTask()
494 current_index = searching_range_start; in FindTask()
496 *tws = thread_work_sources[current_index]; in FindTask()
497 ++current_index; in FindTask()
515 thread_data_[thread_id].current_index = current_index; in FindTask()
Drun_handler.h278 int current_index; member
/external/tensorflow/tensorflow/python/framework/
Dop_def_library.py149 current_index = 0
152 result.append(l[current_index])
153 current_index += 1
155 result.append(l[current_index:current_index+element])
156 current_index += element
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/
Ddfs.c40 uint32_t current_index; member
1851 rk3399_dram_status.current_index = in dram_dfs_init()
1858 rk3399_dram_status.index_freq[rk3399_dram_status.current_index]; in dram_dfs_init()
1861 rk3399_dram_status.index_freq[rk3399_dram_status.current_index] = in dram_dfs_init()
1863 rk3399_dram_status.index_freq[(rk3399_dram_status.current_index + 1) & in dram_dfs_init()
1897 rk3399_dram_status.current_index << 8); in dram_dfs_init()
1995 index = (rk3399_dram_status.current_index + 1) & 0x1; in prepare_ddr_timing()
2020 rk3399_dram_status.index_freq[rk3399_dram_status.current_index]) in ddr_set_rate()
2044 rk3399_dram_status.current_index = ddr_index; in ddr_set_rate()
2065 rk3399_dram_status.index_freq[rk3399_dram_status.current_index]; in ddr_prepare_for_sys_suspend()
[all …]
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/zephyr_riscv/src/
Daccelerometer_handler.cc27 int current_index = 0; variable
/external/tensorflow/tensorflow/python/ops/
Dcond_v2.py637 current_index = 0
658 indexed_slice_indices.append(current_index + 1)
660 current_index += len(nest.flatten(branch_outs[0], expand_composites=True))
664 current_index += 1
671 if current_index != len(branch_graphs[0].outputs):
675 (current_index, len(branch_graphs[0].outputs)))
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_util.cc152 int current_index, const ScopedHandles& outputs, in PopulateOpWorkingSet() argument
156 if (input.op_index() >= current_index) { in PopulateOpWorkingSet()
159 " is above the current position: ", current_index); in PopulateOpWorkingSet()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedClearAttachmentTests.cpp970 void runCallbackOnCombination(std::vector<deBool>& array, size_t current_index, CallbackFunction ca… in runCallbackOnCombination() argument
972 DE_ASSERT(current_index < array.size()); in runCallbackOnCombination()
975 array[current_index] = DE_BOOL_VALUES[i]; in runCallbackOnCombination()
976 if (current_index == array.size() - 1) in runCallbackOnCombination()
979 runCallbackOnCombination(array, current_index + 1, callback); in runCallbackOnCombination()
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
Dtfl_ops.cc353 const std::vector<int64_t> &current_index) { in GetElementIndex() argument
357 ind += (current_index[i] % shape[i]) * mul; in GetElementIndex()
367 std::vector<int64_t> &current_index = *current_index_ptr; in IncrementIndex() local
369 current_index[i]++; in IncrementIndex()
370 if (current_index[i] == result_shape[i]) { in IncrementIndex()
371 current_index[i] = 0; in IncrementIndex()
413 std::vector<int64_t> current_index(type.getRank(), 0); in ConstFoldBinaryOpDenseDense() local
431 lhs_is_splat ? 0 : GetElementIndex(lhs_new_shape, current_index); in ConstFoldBinaryOpDenseDense()
433 rhs_is_splat ? 0 : GetElementIndex(rhs_new_shape, current_index); in ConstFoldBinaryOpDenseDense()
437 IncrementIndex(result_shape, &current_index); in ConstFoldBinaryOpDenseDense()