Lines Matching refs:offset

31 const uint8_t* Closure::GetUnsafeAtOffset(size_t offset) const {
33 return reinterpret_cast<const uint8_t*>(captured_) + offset;
36 size_t Closure::GetCapturedVariableSize(ShortyFieldType variable_type, size_t offset) const {
40 return GetClosureSize(GetUnsafeAtOffset<Closure>(offset));
58 size_t offset = (flags & VariableInfo::kOffset) ? GetStartingOffset() : 0;
67 // Accumulate the sizes of all preceding captured variables as the current offset only.
68 offset += prev_offset;
69 prev_offset = GetCapturedVariableSize(last_type, offset);
90 result.offset_ = offset;
205 size_t offset;
206 GetCapturedVariableTypeAndOffset(index, &variable_type, &offset);
217 CopyUnsafeAtOffset<bool>(offset, &result);
220 CopyUnsafeAtOffset<uint8_t>(offset, &result);
223 CopyUnsafeAtOffset<uint16_t>(offset, &result);
226 CopyUnsafeAtOffset<int16_t>(offset, &result);
229 CopyUnsafeAtOffset<int32_t>(offset, &result);
235 CopyUnsafeAtOffset<float>(offset, &result);
251 size_t offset;
252 GetCapturedVariableTypeAndOffset(index, &variable_type, &offset);
263 CopyUnsafeAtOffset<int64_t>(offset, &result);
266 CopyUnsafeAtOffset<double>(offset, &result);
282 size_t offset;
283 GetCapturedVariableTypeAndOffset(index, &variable_type, &offset);
299 CopyUnsafeAtOffset<uint32_t>(offset, &compressed_result);
314 size_t offset = GetCapturedVariableOffset(index);
317 size_t closure_size = GetClosureSize(captured_ptr + offset);
324 size_t offset = GetCapturedVariableOffset(index);
327 size_t closure_size = GetClosureSize(captured_ptr + offset);
332 CopyUnsafeAtOffset<Closure>(offset, destination, closure_size, destination_room);
340 size_t offset = variable_info.offset_;
342 return offset;
358 size_t offset = variable_info.offset_;
361 *out_offset = offset;
365 void Closure::CopyUnsafeAtOffset(size_t offset,
370 const uint8_t* data_ptr = GetUnsafeAtOffset<T>(offset);