Home
last modified time | relevance | path

Searched refs:current_offset (Results 1 – 25 of 47) sorted by relevance

12

/third_party/node/deps/v8/src/compiler/
Dbytecode-analysis.cc339 table.LookupRange(iterator.current_offset(), &handler_context, nullptr); in UpdateOutLiveness()
480 int current_offset = iterator.current_offset(); in Analyze() local
488 int loop_end = current_offset + iterator.current_bytecode_size(); in Analyze()
492 if (current_offset == osr_loop_end_offset) { in Analyze()
494 } else if (current_offset < osr_loop_end_offset) { in Analyze()
512 iterator.GetJumpTargetOffset() == current_offset); in Analyze()
527 int resume_offset = current_offset + iterator.current_bytecode_size(); in Analyze()
533 if (current_offset == current_loop.header_offset) { in Analyze()
568 ResumeJumpTarget::AtLoopHeader(current_offset, target)); in Analyze()
575 ResumeJumpTarget::AtLoopHeader(current_offset, target)); in Analyze()
[all …]
Dbytecode-graph-builder.cc185 const int offset = bytecode_iterator().current_offset(); in PrepareFrameState()
196 DCHECK_EQ(bytecode_iterator().current_offset(), 0); in PrepareFrameStateForFunctionEntryStackCheck()
340 void BuildLoopHeaderEnvironment(int current_offset);
341 void SwitchToMergeEnvironment(int current_offset);
357 void ExitThenEnterExceptionHandlers(int current_offset);
1174 BytecodeOffset bailout_id(bytecode_iterator().current_offset()); in PrepareEagerCheckpoint()
1178 bytecode_iterator().current_offset()); in PrepareEagerCheckpoint()
1217 for (; bytecode_iterator().current_offset() != bytecode_offset; in AdvanceIteratorsTo()
1219 UpdateSourcePosition(bytecode_iterator().current_offset()); in AdvanceIteratorsTo()
1258 graph_builder_->bytecode_iterator().current_offset()); in ProcessOsrPrelude()
[all …]
/third_party/node/deps/v8/src/interpreter/
Dbytecode-array-writer.cc157 size_t current_offset = bytecodes()->size(); in BindLabel() local
159 PatchJump(current_offset, label->jump_offset()); in BindLabel()
165 size_t current_offset = bytecodes()->size(); in BindLoopHeader() local
166 loop_header->bind_to(current_offset); in BindLoopHeader()
176 size_t current_offset = bytecodes()->size(); in BindJumpTableEntry() local
177 size_t relative_jump = current_offset - jump_table->switch_bytecode_offset(); in BindJumpTableEntry()
189 size_t current_offset = bytecodes()->size(); in BindHandlerTarget() local
191 handler_table_builder->SetHandlerTarget(handler_id, current_offset); in BindHandlerTarget()
196 size_t current_offset = bytecodes()->size(); in BindTryRegionStart() local
200 handler_table_builder->SetTryRegionStart(handler_id, current_offset); in BindTryRegionStart()
[all …]
Dbytecode-array-iterator.h101 int current_offset() const { in current_offset() function
104 int next_offset() const { return current_offset() + current_bytecode_size(); } in next_offset()
Dbytecode-array-random-iterator.cc24 offsets_.push_back(current_offset()); in Initialize()
/third_party/node/deps/v8/tools/ignition/
Dlinux_perf_bytecode_annotate.py99 current_offset = next_offset()
100 print(current_offset);
104 if disassembly_offset == current_offset:
105 count = offset_counts[current_offset]
108 current_offset = next_offset()
/third_party/curl/tests/libtest/
Dlib552.c127 static size_t current_offset = 0; variable
134 size_t available = sizeof(databuf) - current_offset; /* What we have to in read_callback()
138 memcpy(ptr, databuf + current_offset, given); in read_callback()
139 current_offset += given; in read_callback()
160 current_offset = 0; in ioctl_callback()
/third_party/ffmpeg/tools/
Dqt-faststart.c187 uint32_t current_offset; in update_stco_offsets() local
210 current_offset = BE_32(pos); in update_stco_offsets()
211 if (current_offset > UINT_MAX - context->moov_atom_size) { in update_stco_offsets()
214 current_offset += context->moov_atom_size; in update_stco_offsets()
215 AV_WB32(pos, current_offset); in update_stco_offsets()
223 uint64_t current_offset; in update_co64_offsets() local
243 current_offset = BE_64(pos); in update_co64_offsets()
244 current_offset += context->moov_atom_size; in update_co64_offsets()
245 AV_WB64(pos, current_offset); in update_co64_offsets()
/third_party/node/deps/v8/src/runtime/
Druntime-trace.cc30 while (bytecode_iterator.current_offset() + in AdvanceToOffsetForTracing()
35 DCHECK(bytecode_iterator.current_offset() == offset || in AdvanceToOffsetForTracing()
36 ((bytecode_iterator.current_offset() + 1) == offset && in AdvanceToOffsetForTracing()
132 if (offset == bytecode_iterator.current_offset()) { in RUNTIME_FUNCTION()
187 offset > bytecode_iterator.current_offset()) { in RUNTIME_FUNCTION()
Druntime-test.cc536 const int current_offset = frame->GetBytecodeOffset(); in OffsetOfNextJumpLoop() local
538 interpreter::BytecodeArrayIterator it(bytecode_array, current_offset); in OffsetOfNextJumpLoop()
545 if (!base::IsInRange(current_offset, it.GetJumpTargetOffset(), in OffsetOfNextJumpLoop()
546 it.current_offset())) { in OffsetOfNextJumpLoop()
550 return BytecodeOffset(it.current_offset()); in OffsetOfNextJumpLoop()
554 it.SetOffset(current_offset); in OffsetOfNextJumpLoop()
557 return BytecodeOffset(it.current_offset()); in OffsetOfNextJumpLoop()
/third_party/gn/src/base/files/
Dfile_util.cc209 long current_offset = ftell(file); in TruncateFile() local
210 if (current_offset == -1) in TruncateFile()
214 if (_chsize(fd, current_offset) != 0) in TruncateFile()
218 if (ftruncate(fd, current_offset) != 0) in TruncateFile()
/third_party/ffmpeg/libavformat/
Dsierravmd.c92 int64_t current_offset; in vmd_read_header() local
202 current_offset = AV_RL32(&raw_frame_table[6 * i + 2]); in vmd_read_header()
228 vmd->frame_table[total_frames].frame_offset = current_offset; in vmd_read_header()
242 vmd->frame_table[total_frames].frame_offset = current_offset; in vmd_read_header()
250 current_offset += size; in vmd_read_header()
/third_party/python/Lib/
Ddis.py474 def __init__(self, x, *, first_line=None, current_offset=None): argument
485 self.current_offset = current_offset
503 return cls(tb.tb_frame.f_code, current_offset=tb.tb_lasti)
512 if self.current_offset is not None:
513 offset = self.current_offset
/third_party/node/deps/v8/src/maglev/
Dmaglev-graph-builder.h161 int offset = iterator_.current_offset(); in VisitSingleBytecode()
341 BytecodeOffset(iterator_.current_offset()), in GetLatestCheckpointedState()
350 BytecodeOffset(iterator_.current_offset()), in GetCheckpointedStateForLazyDeopt()
373 return iterator_.current_offset() + iterator_.current_bytecode_size(); in next_offset()
376 return bytecode_analysis().GetInLivenessFor(iterator_.current_offset()); in GetInLiveness()
379 return bytecode_analysis().GetOutLivenessFor(iterator_.current_offset()); in GetOutLiveness()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_elements_base_vertex/
DesextcDrawElementsBaseVertexTests.cpp1067 unsigned int current_offset = 0; in setUpFunctionalTestObjects() local
1084 gl.bufferSubData(GL_ARRAY_BUFFER, current_offset, m_bo_functional_data_vertex_size, in setUpFunctionalTestObjects()
1086 current_offset += m_bo_functional_data_vertex_size; in setUpFunctionalTestObjects()
1088 gl.bufferSubData(GL_ARRAY_BUFFER, current_offset, m_bo_functional2_data_vertex_size, in setUpFunctionalTestObjects()
1090 current_offset += m_bo_functional2_data_vertex_size; in setUpFunctionalTestObjects()
1092 …gl.bufferSubData(GL_ARRAY_BUFFER, current_offset, m_bo_functional_data_index_size, m_bo_functional… in setUpFunctionalTestObjects()
1093 current_offset += m_bo_functional_data_index_size; in setUpFunctionalTestObjects()
1095 gl.bufferSubData(GL_ARRAY_BUFFER, current_offset, m_bo_functional2_data_index_size, in setUpFunctionalTestObjects()
1097 current_offset += m_bo_functional2_data_index_size; in setUpFunctionalTestObjects()
1099 gl.bufferSubData(GL_ARRAY_BUFFER, current_offset, m_bo_functional3_data_index_size, in setUpFunctionalTestObjects()
[all …]
/third_party/jerryscript/jerry-core/jmem/
Djmem-heap.c212 uint32_t current_offset = JERRY_HEAP_CONTEXT (first).next_offset; in jmem_heap_alloc() local
215 while (JERRY_LIKELY (current_offset != JMEM_HEAP_END_OF_LIST)) in jmem_heap_alloc()
217 jmem_heap_free_t *current_p = JMEM_HEAP_GET_ADDR_FROM_OFFSET (current_offset); in jmem_heap_alloc()
272 current_offset = next_offset; in jmem_heap_alloc()
/third_party/mesa3d/src/intel/perf/
Dgen_perf.py496 def output_counter_report(set, counter, counter_to_idx, current_offset): argument
520 current_offset = pot_align(current_offset, sizeof(c_type))
524 str(current_offset) + ", " +
529 str(current_offset) + ", " +
538 return current_offset + sizeof(c_type)
/third_party/node/deps/v8/src/baseline/
Dbytecode-offset-iterator.h34 current_bytecode_offset_ = bytecode_iterator_.current_offset(); in Advance()
/third_party/node/deps/v8/src/objects/
Dmap-updater.cc790 int current_offset = 0; in BuildDescriptorArray() local
794 current_offset += old_details.field_width_in_words(); in BuildDescriptorArray()
854 d = Descriptor::DataField(key, current_offset, next_attributes, in BuildDescriptorArray()
861 current_offset += d.GetDetails().field_width_in_words(); in BuildDescriptorArray()
901 d = Descriptor::DataField(key, current_offset, next_attributes, in BuildDescriptorArray()
908 current_offset += d.GetDetails().field_width_in_words(); in BuildDescriptorArray()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c551 if (pool->current_offset + layout_size <= pool->size) { in tu_descriptor_set_create()
552 set->mapped_ptr = (uint32_t*)(pool_base(pool) + pool->current_offset); in tu_descriptor_set_create()
553 set->va = pool->host_bo ? 0 : pool->bo->iova + pool->current_offset; in tu_descriptor_set_create()
556 pool->entries[pool->entry_count].offset = pool->current_offset; in tu_descriptor_set_create()
561 pool->current_offset += layout_size; in tu_descriptor_set_create()
793 pool->current_offset = 0; in tu_ResetDescriptorPool()
Dtu_descriptor_set.h128 uint64_t current_offset; member
/third_party/node/deps/v8/src/execution/
Dtiering-manager.cc154 const int current_offset = frame->GetBytecodeOffset(); in HaveCachedOSRCodeForCurrentBytecodeOffset() local
161 if (base::IsInRange(current_offset, iterator.GetJumpTargetOffset(), in HaveCachedOSRCodeForCurrentBytecodeOffset()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp368 int current_offset = 0; in r600_nir_lower_atomics() local
374 var->data.index = current_offset; in r600_nir_lower_atomics()
375 current_offset += var->type->atomic_size() / ATOMIC_COUNTER_SIZE; in r600_nir_lower_atomics()
379 current_offset = var->type->atomic_size() / ATOMIC_COUNTER_SIZE; in r600_nir_lower_atomics()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c502 pool->current_offset = 0; in v3dv_CreateDescriptorPool()
597 pool->current_offset = 0; in v3dv_ResetDescriptorPool()
858 if (pool->current_offset + layout->bo_size <= pool->bo->size) { in descriptor_set_create()
859 offset = pool->current_offset; in descriptor_set_create()
860 pool->current_offset += layout->bo_size; in descriptor_set_create()
/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c672 if (pool->current_offset + layout_size <= pool->size) { in radv_descriptor_set_create()
674 set->header.mapped_ptr = (uint32_t *)(pool->mapped_ptr + pool->current_offset); in radv_descriptor_set_create()
675 set->header.va = pool->bo ? (radv_buffer_get_va(set->header.bo) + pool->current_offset) : 0; in radv_descriptor_set_create()
677 pool->entries[pool->entry_count].offset = pool->current_offset; in radv_descriptor_set_create()
681 pool->current_offset += layout_size; in radv_descriptor_set_create()
940 pool->current_offset = 0; in radv_ResetDescriptorPool()

12