Home
last modified time | relevance | path

Searched refs:byte_offset (Results 1 – 25 of 83) sorted by relevance

1234

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_eu_util.c65 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy4()
66 brw_MOV(p, byte_offset(dst, delta+16), byte_offset(src, delta+16)); in brw_copy4()
84 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy8()
117 brw_MOV(p, byte_offset(dst, delta), deref_4f(ptr, delta)); in brw_copy_from_indirect()
118 brw_MOV(p, byte_offset(dst, delta+16), deref_4f(ptr, delta+16)); in brw_copy_from_indirect()
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()
198 return byte_offset(reg, delta * type_sz(reg.type)); in horiz_offset()
Dbrw_clip_unfilled.c55 struct brw_reg v0 = byte_offset(c->reg.vertex[0], hpos_offset); in compute_tri_direction()
56 struct brw_reg v1 = byte_offset(c->reg.vertex[1], hpos_offset); in compute_tri_direction()
57 struct brw_reg v2 = byte_offset(c->reg.vertex[2], hpos_offset); in compute_tri_direction()
162 byte_offset(c->reg.vertex[i], in copy_bfc()
165 byte_offset(c->reg.vertex[i], in copy_bfc()
172 byte_offset(c->reg.vertex[i], in copy_bfc()
175 byte_offset(c->reg.vertex[i], in copy_bfc()
251 brw_MOV(p, byte_offset(c->reg.vertex[0], in merge_edgeflags()
259 brw_MOV(p, byte_offset(c->reg.vertex[2], in merge_edgeflags()
Dbrw_ir_fs.h72 byte_offset(fs_reg reg, unsigned delta) in byte_offset() function
117 return byte_offset(reg, delta * reg.stride * type_sz(reg.type)); in horiz_offset()
124 return byte_offset(reg, delta * stride * type_sz(reg.type)); in horiz_offset()
142 return byte_offset(reg, delta * reg.component_size(width)); in offset()
216 regions_overlap(byte_offset(t, 4 * REG_SIZE), dr / 2, s, ds); in regions_overlap()
312 return byte_offset(retype(reg, type), i * type_sz(type)); in subscript()
Dbrw_vec4_tcs.cpp244 inst = emit(MOV(byte_offset(dst_reg(retype(message, value.type)), REG_SIZE), in emit_urb_write()
293 emit_input_urb_read(byte_offset(tmp_d, REG_SIZE), vertex_index, in nir_emit_intrinsic()
364 shuffled_float = byte_offset(shuffled_float, REG_SIZE); in nir_emit_intrinsic()
/external/libbrillo/brillo/
Dpointer_utils.h15 inline void* AdvancePointer(void* pointer, ssize_t byte_offset) { in AdvancePointer() argument
16 return reinterpret_cast<uint8_t*>(pointer) + byte_offset; in AdvancePointer()
18 inline const void* AdvancePointer(const void* pointer, ssize_t byte_offset) { in AdvancePointer() argument
19 return reinterpret_cast<const uint8_t*>(pointer) + byte_offset; in AdvancePointer()
/external/v8/src/debug/
Dinterface-types.h46 WasmDisassemblyOffsetTableEntry(uint32_t byte_offset, int line, int column) in WasmDisassemblyOffsetTableEntry()
47 : byte_offset(byte_offset), line(line), column(column) {} in WasmDisassemblyOffsetTableEntry()
49 uint32_t byte_offset; member
/external/webrtc/webrtc/base/
Dbitbuffer_unittest.cc144 size_t byte_offset, bit_offset; in TEST() local
148 buffer.GetCurrentOffset(&byte_offset, &bit_offset); in TEST()
149 EXPECT_EQ(0u, byte_offset); in TEST()
152 buffer.GetCurrentOffset(&byte_offset, &bit_offset); in TEST()
153 EXPECT_EQ(0u, byte_offset); in TEST()
159 buffer.GetCurrentOffset(&byte_offset, &bit_offset); in TEST()
160 EXPECT_EQ(2u, byte_offset); in TEST()
164 buffer.GetCurrentOffset(&byte_offset, &bit_offset); in TEST()
165 EXPECT_EQ(4u, byte_offset); in TEST()
174 EXPECT_DEATH(buffer.GetCurrentOffset(&byte_offset, NULL), ""); in TEST()
Dbitbuffer.cc211 bool BitBuffer::Seek(size_t byte_offset, size_t bit_offset) { in Seek() argument
212 if (byte_offset > byte_count_ || bit_offset > 7 || in Seek()
213 (byte_offset == byte_count_ && bit_offset > 0)) { in Seek()
216 byte_offset_ = byte_offset; in Seek()
/external/e2fsprogs/ext2ed/
Dinodebitmap_com.c138 int byte_offset,j; in allocate_inode() local
140 byte_offset=entry_num/8; in allocate_inode()
143 type_data.u.buffer [byte_offset] |= bit_mask; in allocate_inode()
150 int byte_offset,j; in deallocate_inode() local
152 byte_offset=entry_num/8; in deallocate_inode()
157 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_inode()
Dblockbitmap_com.c178 int byte_offset,j; in allocate_block() local
180 byte_offset=entry_num/8; /* Find the correct byte - entry_num/8 */ in allocate_block()
184 type_data.u.buffer [byte_offset] |= bit_mask; /* And apply it */ in allocate_block()
193 int byte_offset,j; in deallocate_block() local
195 byte_offset=entry_num/8; in deallocate_block()
200 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_block()
/external/v8/src/builtins/
Dbuiltins-dataview.cc34 Handle<Object> byte_offset = args.atOrUndefined(isolate, 2); in BUILTIN() local
50 Object::ToIndex(isolate, byte_offset, MessageTemplate::kInvalidOffset)); in BUILTIN()
132 return data_view->byte_offset(); in BUILTIN()
178 size_t const data_view_byte_offset = NumberToSize(data_view->byte_offset()); in GetViewValue()
265 size_t const data_view_byte_offset = NumberToSize(data_view->byte_offset()); in SetViewValue()
296 Handle<Object> byte_offset = args.atOrUndefined(isolate, 1); \
301 GetViewValue<type>(isolate, data_view, byte_offset, \
319 Handle<Object> byte_offset = args.atOrUndefined(isolate, 1); \
325 SetViewValue<type>(isolate, data_view, byte_offset, \
/external/v8/src/inspector/
Dwasm-translation.cc80 uint32_t byte_offset = static_cast<uint32_t>(loc->column); in Translate() local
87 if (offset_table[mid].byte_offset <= byte_offset) { in Translate()
95 if (offset_table[left].byte_offset == byte_offset) { in Translate()
133 found_byte_offset = (*reverse_table)[left].byte_offset; in TranslateBack()
136 found_byte_offset = (*reverse_table)[left + 1].byte_offset; in TranslateBack()
234 return el1.byte_offset < el2.byte_offset; in GetReverseTable()
/external/python/cpython2/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi64.c142 size_t byte_offset) in classify_argument() 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()
228 byte_offset = ALIGN(byte_offset, (*ptr)->alignment); in classify_argument()
230 int num = classify_argument(*ptr, subclasses, byte_offset % 8); in classify_argument()
235 int pos = byte_offset / 8; in classify_argument()
243 byte_offset += (*ptr)->size; in classify_argument()
/external/python/cpython3/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi64.c142 size_t byte_offset) in classify_argument() 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()
/external/syslinux/gpxe/src/drivers/bitbash/
Dspi_bit.c94 unsigned int byte_offset; in spi_bit_transfer() local
106 byte_offset = ( bit_offset / 8 ); in spi_bit_transfer()
115 byte = ( data_out + byte_offset ); in spi_bit_transfer()
131 byte = ( data_in + byte_offset ); in spi_bit_transfer()
/external/v8/src/runtime/
Druntime-wasm.cc67 Object* ThrowRuntimeError(Isolate* isolate, int message_id, int byte_offset, in ThrowRuntimeError() argument
95 stack_elements->SetOffset(0, Smi::FromInt(-1 - byte_offset)); in ThrowRuntimeError()
116 &it, handle(Smi::FromInt(byte_offset + 1), isolate)); in ThrowRuntimeError()
134 CONVERT_SMI_ARG_CHECKED(byte_offset, 1); in RUNTIME_FUNCTION()
135 return ThrowRuntimeError(isolate, message_id, byte_offset, true); in RUNTIME_FUNCTION()
Druntime-typedarray.cc118 size_t byte_offset = 0; in RUNTIME_FUNCTION() local
120 CHECK(TryNumberToSize(*byte_offset_object, &byte_offset)); in RUNTIME_FUNCTION()
126 CHECK(byte_offset <= array_buffer_byte_length); in RUNTIME_FUNCTION()
127 CHECK(array_buffer_byte_length - byte_offset >= byte_length); in RUNTIME_FUNCTION()
159 static_cast<uint8_t*>(buffer->backing_store()) + byte_offset); in RUNTIME_FUNCTION()
263 size_t source_byte_offset = NumberToSize(typed_array->byte_offset()); in RUNTIME_FUNCTION()
283 BUFFER_VIEW_GETTER(ArrayBufferView, ByteOffset, byte_offset) in BUFFER_VIEW_GETTER()
340 size_t target_offset = NumberToSize(target->byte_offset()); in RUNTIME_FUNCTION()
341 size_t source_offset = NumberToSize(source->byte_offset()); in RUNTIME_FUNCTION()
Druntime-futex.cc38 size_t addr = (index << 2) + NumberToSize(sta->byte_offset()); in RUNTIME_FUNCTION()
54 size_t addr = (index << 2) + NumberToSize(sta->byte_offset()); in RUNTIME_FUNCTION()
69 size_t addr = (index << 2) + NumberToSize(sta->byte_offset()); in RUNTIME_FUNCTION()
Druntime-atomics.cc361 NumberToSize(sta->byte_offset()); in RUNTIME_FUNCTION()
394 NumberToSize(sta->byte_offset()); in RUNTIME_FUNCTION()
426 NumberToSize(sta->byte_offset()); in RUNTIME_FUNCTION()
458 NumberToSize(sta->byte_offset()); in RUNTIME_FUNCTION()
490 NumberToSize(sta->byte_offset()); in RUNTIME_FUNCTION()
522 NumberToSize(sta->byte_offset()); in RUNTIME_FUNCTION()
554 NumberToSize(sta->byte_offset()); in RUNTIME_FUNCTION()
/external/python/cpython2/Modules/_ctypes/libffi/src/x86/
Dffi64.c157 size_t byte_offset) in classify_argument() argument
171 size_t size = byte_offset + type->size; in classify_argument()
198 if (!(byte_offset % 8)) in classify_argument()
240 byte_offset = ALIGN (byte_offset, (*ptr)->alignment); in classify_argument()
242 num = classify_argument (*ptr, subclasses, byte_offset % 8); in classify_argument()
247 size_t pos = byte_offset / 8; in classify_argument()
252 byte_offset += (*ptr)->size; in classify_argument()
/external/python/cpython3/Modules/_ctypes/libffi/src/x86/
Dffi64.c157 size_t byte_offset) in classify_argument() argument
171 size_t size = byte_offset + type->size; in classify_argument()
198 if (!(byte_offset % 8)) in classify_argument()
240 byte_offset = ALIGN (byte_offset, (*ptr)->alignment); in classify_argument()
242 num = classify_argument (*ptr, subclasses, byte_offset % 8); in classify_argument()
247 size_t pos = byte_offset / 8; in classify_argument()
252 byte_offset += (*ptr)->size; in classify_argument()
/external/libffi/src/x86/
Dffi64.c157 size_t byte_offset) in classify_argument() argument
171 size_t size = byte_offset + type->size; in classify_argument()
198 if (!(byte_offset % 8)) in classify_argument()
240 byte_offset = ALIGN (byte_offset, (*ptr)->alignment); in classify_argument()
242 num = classify_argument (*ptr, subclasses, byte_offset % 8); in classify_argument()
247 size_t pos = byte_offset / 8; in classify_argument()
252 byte_offset += (*ptr)->size; in classify_argument()
/external/syslinux/gpxe/src/include/
Dfs.h23 int devread(unsigned long sector, unsigned long byte_offset,
/external/v8/src/wasm/
Dwasm-objects.cc873 int WasmCompiledModule::GetContainingFunction(uint32_t byte_offset) { in GetContainingFunction() argument
882 if (functions[mid].code_start_offset <= byte_offset) { in GetContainingFunction()
890 if (byte_offset < func.code_start_offset || in GetContainingFunction()
891 byte_offset >= func.code_end_offset) { in GetContainingFunction()
973 DCHECK_IMPLIES(idx > 0, func_offset + e.byte_offset > in GetDecodedAsmJsOffsetTable()
975 decoded_table->set_int(idx + kOTEByteOffset, func_offset + e.byte_offset); in GetDecodedAsmJsOffsetTable()
990 uint32_t byte_offset, bool is_at_number_conversion) { in GetAsmJsSourcePosition() argument
998 uint32_t total_offset = func_code_offset + byte_offset; in GetAsmJsSourcePosition()

1234