Home
last modified time | relevance | path

Searched refs:byte_offset (Results 1 - 25 of 92) sorted by relevance

1234

/third_party/node/deps/v8/include/
H A Dv8-typed-array.h54 size_t byte_offset, size_t length);
56 size_t byte_offset, size_t length);
75 size_t byte_offset, size_t length);
77 Local<SharedArrayBuffer> shared_array_buffer, size_t byte_offset,
97 size_t byte_offset, size_t length);
99 size_t byte_offset, size_t length);
118 size_t byte_offset, size_t length);
120 size_t byte_offset, size_t length);
139 size_t byte_offset, size_t length);
141 size_t byte_offset, size_
[all...]
/third_party/node/deps/v8/include/v8-include/
H A Dv8-typed-array.h54 size_t byte_offset, size_t length);
56 size_t byte_offset, size_t length);
75 size_t byte_offset, size_t length);
77 Local<SharedArrayBuffer> shared_array_buffer, size_t byte_offset,
97 size_t byte_offset, size_t length);
99 size_t byte_offset, size_t length);
118 size_t byte_offset, size_t length);
120 size_t byte_offset, size_t length);
139 size_t byte_offset, size_t length);
141 size_t byte_offset, size_
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_eu_util.c64 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy4()
65 brw_MOV(p, byte_offset(dst, delta+16), byte_offset(src, delta+16)); in brw_copy4()
83 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy8()
116 brw_MOV(p, byte_offset(dst, delta), deref_4f(ptr, delta)); in brw_copy_from_indirect()
117 brw_MOV(p, byte_offset(dst, delta+16), deref_4f(ptr, delta+16)); in brw_copy_from_indirect()
H A Dbrw_clip_unfilled.c50 struct brw_reg v0 = byte_offset(c->reg.vertex[0], hpos_offset); in compute_tri_direction()
51 struct brw_reg v1 = byte_offset(c->reg.vertex[1], hpos_offset); in compute_tri_direction()
52 struct brw_reg v2 = byte_offset(c->reg.vertex[2], hpos_offset); in compute_tri_direction()
157 byte_offset(c->reg.vertex[i], in copy_bfc()
160 byte_offset(c->reg.vertex[i], in copy_bfc()
167 byte_offset(c->reg.vertex[i], in copy_bfc()
170 byte_offset(c->reg.vertex[i], in copy_bfc()
246 brw_MOV(p, byte_offset(c->reg.vertex[0], in merge_edgeflags()
254 brw_MOV(p, byte_offset(c->reg.vertex[2], in merge_edgeflags()
H A Dbrw_ir_fs.h73 byte_offset(fs_reg reg, unsigned delta) in byte_offset() function
118 return byte_offset(reg, delta * reg.stride * type_sz(reg.type)); in horiz_offset()
125 return byte_offset(reg, delta * stride * type_sz(reg.type)); in horiz_offset()
143 return byte_offset(reg, delta * reg.component_size(width)); in offset()
217 regions_overlap(byte_offset(t, 4 * REG_SIZE), dr / 2, s, ds); in regions_overlap()
316 return byte_offset(retype(reg, type), i * type_sz(type));
639 reg = byte_offset(reg, inst->size_read(i));
H A Dbrw_nir_analyze_ubo_ranges.c155 const unsigned byte_offset = nir_src_as_uint(intrin->src[1]); in analyze_ubos_block() local
156 const int offset = byte_offset / 32; in analyze_ubos_block()
170 const int start = ROUND_DOWN_TO(byte_offset, 32); in analyze_ubos_block()
171 const int end = ALIGN(byte_offset + bytes, 32); in analyze_ubos_block()
H A Dbrw_ir_vec4.h100 byte_offset(src_reg reg, unsigned bytes) in byte_offset() function
111 return byte_offset(reg, num_components * type_sz(reg.type) * delta); in offset()
117 return byte_offset(reg, delta * type_sz(reg.type)); in horiz_offset()
181 byte_offset(dst_reg reg, unsigned bytes) in byte_offset() function
192 return byte_offset(reg, num_components * type_sz(reg.type) * delta); in offset()
201 return byte_offset(reg, delta * type_sz(reg.type)); in horiz_offset()
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_a4xx.c51 struct ir3_instruction *byte_offset) in byte_offset_to_address()
58 byte_offset = ir3_ADD_U(b, create_uniform(b, cb), 0, byte_offset, 0); in byte_offset_to_address()
62 return ir3_collect(b, byte_offset, create_immed(b, 0)); in byte_offset_to_address()
64 return byte_offset; in byte_offset_to_address()
74 struct ir3_instruction *ldgb, *src0, *src1, *byte_offset, *offset; in emit_intrinsic_load_ssbo() local
78 byte_offset = ir3_get_src(ctx, &intr->src[1])[0]; in emit_intrinsic_load_ssbo()
82 src0 = byte_offset_to_address(ctx, &intr->src[0], byte_offset); in emit_intrinsic_load_ssbo()
101 struct ir3_instruction *stgb, *src0, *src1, *src2, *byte_offset, *offset; in emit_intrinsic_store_ssbo() local
109 byte_offset in emit_intrinsic_store_ssbo()
49 byte_offset_to_address(struct ir3_context *ctx, nir_src *ssbo, struct ir3_instruction *byte_offset) byte_offset_to_address() argument
162 struct ir3_instruction *byte_offset = emit_intrinsic_atomic_ssbo() local
[all...]
/third_party/vixl/test/
H A Dtest-utils.cc51 void ExecuteMemory(byte* buffer, size_t size, int byte_offset) { in ExecuteMemory() argument
54 VIXL_ASSERT((byte_offset >= 0) && (static_cast<size_t>(byte_offset) < size)); in ExecuteMemory()
58 entry_point += byte_offset; in ExecuteMemory()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-dataview-prototype.c129 return ecma_make_uint32_value (obj_p->byte_offset); in ecma_builtin_dataview_prototype_object_getters()
147 ecma_value_t byte_offset = arguments_number > 0 ? arguments_list_p[0] : ECMA_VALUE_UNDEFINED; in ecma_builtin_dataview_prototype_dispatch_routine() local
169 return ecma_op_dataview_get_set_view_value (this_arg, byte_offset, little_endian, ECMA_VALUE_EMPTY, id); in ecma_builtin_dataview_prototype_dispatch_routine()
184 return ecma_op_dataview_get_set_view_value (this_arg, byte_offset, little_endian, value_to_set, id); in ecma_builtin_dataview_prototype_dispatch_routine()
191 return ecma_op_dataview_get_set_view_value (this_arg, byte_offset, ECMA_VALUE_FALSE, ECMA_VALUE_EMPTY, id); in ecma_builtin_dataview_prototype_dispatch_routine()
200 return ecma_op_dataview_get_set_view_value (this_arg, byte_offset, ECMA_VALUE_FALSE, value_to_set, id); in ecma_builtin_dataview_prototype_dispatch_routine()
/third_party/node/test/js-native-api/test_dataview/
H A Dtest_dataview.c33 size_t byte_offset = 0; in CreateDataView() local
34 NODE_API_CALL(env, napi_get_value_uint32(env, args[1], (uint32_t*)(&byte_offset))); in CreateDataView()
48 byte_offset, &output_dataview)); in CreateDataView()
73 size_t byte_offset = 0; in CreateDataViewFromJSDataView() local
78 &buffer, &byte_offset)); in CreateDataViewFromJSDataView()
83 byte_offset, &output_dataview)); in CreateDataViewFromJSDataView()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-dataview.cc35 Handle<Object> byte_offset = args.atOrUndefined(isolate, 2); in BUILTIN() local
47 isolate, byte_offset, in BUILTIN()
48 Object::ToIndex(isolate, byte_offset, MessageTemplate::kInvalidOffset)); in BUILTIN()
49 size_t view_byte_offset = byte_offset->Number(); in BUILTIN()
65 isolate, NewRangeError(MessageTemplate::kInvalidOffset, byte_offset)); in BUILTIN()
148 isolate, NewRangeError(MessageTemplate::kInvalidOffset, byte_offset)); in BUILTIN()
H A Dbuiltins-sharedarraybuffer.cc114 inline size_t GetAddress64(size_t index, size_t byte_offset) { in GetAddress64() argument
115 return (index << 3) + byte_offset; in GetAddress64()
118 inline size_t GetAddress32(size_t index, size_t byte_offset) { in GetAddress32() argument
119 return (index << 2) + byte_offset; in GetAddress32()
173 wake_addr = GetAddress64(i, sta->byte_offset()); in BUILTIN()
176 wake_addr = GetAddress32(i, sta->byte_offset()); in BUILTIN()
241 isolate, mode, array_buffer, GetAddress64(i, sta->byte_offset()), in DoWait()
246 GetAddress32(i, sta->byte_offset()), in DoWait()
/third_party/node/test/js-native-api/test_typedarray/
H A Dtest_typedarray.c38 size_t byte_offset; in Multiply() local
41 env, input_array, &type, &length, NULL, &input_buffer, &byte_offset)); in Multiply()
55 env, type, length, output_buffer, byte_offset, &output_array)); in Multiply()
58 uint8_t* input_bytes = (uint8_t*)(data) + byte_offset; in Multiply()
64 double* input_doubles = (double*)((uint8_t*)(data) + byte_offset); in Multiply()
156 size_t byte_offset; in CreateTypedArray() local
159 env, input_array, &type, &length, NULL, &in_array_buffer, &byte_offset)); in CreateTypedArray()
180 byte_offset = uint32_byte_offset; in CreateTypedArray()
185 env, type, length, input_buffer, byte_offset, &output_array)); in CreateTypedArray()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_ubo_vec4.c90 nir_ssa_def *byte_offset = nir_ssa_for_src(b, intr->src[1], 1); in nir_lower_ubo_vec4_lower() local
91 nir_ssa_def *vec4_offset = nir_ushr_imm(b, byte_offset, 4); in nir_lower_ubo_vec4_lower()
132 nir_udiv_imm(b, byte_offset, chan_size_bytes), in nir_lower_ubo_vec4_lower()
145 result = nir_bcsel(b, nir_test_mask(b, byte_offset, 8), in nir_lower_ubo_vec4_lower()
160 nir_ssa_def *chan_byte_offset = nir_iadd_imm(b, byte_offset, i * chan_size_bytes); in nir_lower_ubo_vec4_lower()
/third_party/ffmpeg/libavutil/tests/
H A Daudio_fifo.c67 int byte_offset = av_get_bytes_per_sample(test_sample->format); in print_audio_bytes() local
70 int line_size = (buffers > 1) ? nb_samples * byte_offset in print_audio_bytes()
71 : nb_samples * byte_offset * test_sample->nb_ch; in print_audio_bytes()
73 for(b = 0; b < line_size; b+=byte_offset){ in print_audio_bytes()
74 for (f = 0; f < byte_offset; f++){ in print_audio_bytes()
75 int order = !HAVE_BIGENDIAN ? (byte_offset - f - 1) : f; in print_audio_bytes()
/third_party/node/deps/v8/src/wasm/
H A Dwasm-module.cc82 int GetNearestWasmFunction(const WasmModule* module, uint32_t byte_offset) { in GetNearestWasmFunction() argument
91 if (functions[mid].code.offset() <= byte_offset) { in GetNearestWasmFunction()
102 int GetContainingWasmFunction(const WasmModule* module, uint32_t byte_offset) { in GetContainingWasmFunction() argument
103 int func_index = GetNearestWasmFunction(module, byte_offset); in GetContainingWasmFunction()
108 if (byte_offset < func.code.offset() || in GetContainingWasmFunction()
109 byte_offset >= func.code.end_offset()) { in GetContainingWasmFunction()
146 int byte_offset, in GetSourcePosition()
157 return a.byte_offset < b.byte_offset; in GetSourcePosition()
163 AsmJsOffsetEntry{byte_offset, in GetSourcePosition()
145 GetSourcePosition(int declared_func_index, int byte_offset, bool is_at_number_conversion) GetSourcePosition() argument
600 GetSourcePosition(const WasmModule* module, uint32_t func_index, uint32_t byte_offset, bool is_at_number_conversion) GetSourcePosition() argument
[all...]
/third_party/node/test/addons/openssl-binding/
H A Dbinding.cc12 auto byte_offset = view->ByteOffset(); in RandomBytes() local
17 auto data = static_cast<unsigned char*>(contents->Data()) + byte_offset; in RandomBytes()
26 auto byte_offset = view->ByteOffset(); in Hash() local
31 auto data = static_cast<unsigned char*>(contents->Data()) + byte_offset; in Hash()
/third_party/python/Modules/_ctypes/libffi_osx/x86/
H A Dx86-ffi64.c142 size_t byte_offset) in classify_argument()
156 if (byte_offset + type->size <= 4) in classify_argument()
164 int size = byte_offset + type->size; in classify_argument()
193 if (byte_offset == 0) in classify_argument()
230 byte_offset = ALIGN(byte_offset, (*ptr)->alignment); in classify_argument()
232 num = classify_argument(*ptr, subclasses, byte_offset % 8); in classify_argument()
237 pos = byte_offset / 8; in classify_argument()
245 byte_offset += (*ptr)->size; in classify_argument()
139 classify_argument( ffi_type* type, enum x86_64_reg_class classes[], size_t byte_offset) classify_argument() argument
/third_party/node/src/
H A Daliased_buffer-inl.h38 const size_t byte_offset, in AliasedBufferBase()
44 byte_offset_(byte_offset), in AliasedBufferBase()
53 // validate that the byte_offset is aligned with sizeof(NativeT) in AliasedBufferBase()
54 CHECK_EQ(byte_offset & (sizeof(NativeT) - 1), 0); in AliasedBufferBase()
57 ab->ByteLength() - byte_offset); in AliasedBufferBase()
60 const_cast<uint8_t*>(backing_buffer.GetNativeBuffer() + byte_offset)); in AliasedBufferBase()
62 v8::Local<V8T> js_array = V8T::New(ab, byte_offset, count); in AliasedBufferBase()
36 AliasedBufferBase( v8::Isolate* isolate, const size_t byte_offset, const size_t count, const AliasedBufferBase<uint8_t, v8::Uint8Array>& backing_buffer, const AliasedBufferIndex* index) AliasedBufferBase() argument
/third_party/node/deps/v8/src/objects/
H A Djs-array-buffer.cc378 CHECK_GE(backing_byte_length, array.byte_offset()); in LengthTrackingGsabBackedTypedArrayLength()
380 return (backing_byte_length - array.byte_offset()) / element_byte_size; in LengthTrackingGsabBackedTypedArrayLength()
387 if (byte_offset() > buffer().byte_length()) { in GetVariableLengthOrOutOfBounds()
391 return (buffer().byte_length() - byte_offset()) / element_size(); in GetVariableLengthOrOutOfBounds()
393 if (byte_offset() > in GetVariableLengthOrOutOfBounds()
399 byte_offset()) / in GetVariableLengthOrOutOfBounds()
406 if (byte_offset() + array_length * element_size() > buffer().byte_length()) { in GetVariableLengthOrOutOfBounds()
H A Dheap-object.h168 inline ObjectSlot RawField(int byte_offset) const;
169 inline MaybeObjectSlot RawMaybeWeakField(int byte_offset) const;
170 inline CodeObjectSlot RawCodeField(int byte_offset) const;
171 inline ExternalPointer_t RawExternalPointerField(int byte_offset) const;
/third_party/node/src/crypto/
H A Dcrypto_random.cc48 const uint32_t byte_offset = args[offset + 1].As<Uint32>()->Value(); in AdditionalConfig() local
50 CHECK_GE(byte_offset + size, byte_offset); // Overflow check. in AdditionalConfig()
51 CHECK_LE(byte_offset + size, in.size()); // Bounds check. in AdditionalConfig()
53 params->buffer = in.data() + byte_offset; in AdditionalConfig()
/third_party/node/test/addons/zlib-binding/
H A Dbinding.cc11 auto byte_offset = view->ByteOffset(); in CompressBytes() local
16 auto data = static_cast<unsigned char*>(contents->Data()) + byte_offset; in CompressBytes()
/third_party/node/deps/v8/src/runtime/
H A Druntime-futex.cc34 size_t addr = (index << 2) + sta->byte_offset(); in RUNTIME_FUNCTION()
55 size_t addr = (index << 2) + sta->byte_offset(); in RUNTIME_FUNCTION()

Completed in 14 milliseconds

1234