Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_eu_util.c66 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy4()
67 brw_MOV(p, byte_offset(dst, delta+16), byte_offset(src, delta+16)); in brw_copy4()
85 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy8()
118 brw_MOV(p, byte_offset(dst, delta), deref_4f(ptr, delta)); in brw_copy_from_indirect()
119 brw_MOV(p, byte_offset(dst, delta+16), deref_4f(ptr, delta+16)); in brw_copy_from_indirect()
Dbrw_clip_util.c304 byte_offset(c->reg.vertex[to], in brw_clip_copy_colors()
307 byte_offset(c->reg.vertex[from], in brw_clip_copy_colors()
313 byte_offset(c->reg.vertex[to], in brw_clip_copy_colors()
316 byte_offset(c->reg.vertex[from], in brw_clip_copy_colors()
322 byte_offset(c->reg.vertex[to], in brw_clip_copy_colors()
325 byte_offset(c->reg.vertex[from], in brw_clip_copy_colors()
331 byte_offset(c->reg.vertex[to], in brw_clip_copy_colors()
334 byte_offset(c->reg.vertex[from], in brw_clip_copy_colors()
Dbrw_clip_unfilled.c57 struct brw_reg v0 = byte_offset(c->reg.vertex[0], hpos_offset); in compute_tri_direction()
58 struct brw_reg v1 = byte_offset(c->reg.vertex[1], hpos_offset); in compute_tri_direction()
59 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()
236 brw_MOV(p, byte_offset(c->reg.vertex[0], in merge_edgeflags()
244 brw_MOV(p, byte_offset(c->reg.vertex[2], in merge_edgeflags()
Dbrw_vs_emit.c1174 GLuint byte_offset = arg.nr * 32 + arg.subnr + offset * reg_size; in deref() local
1188 brw_ADD(p, brw_address_reg(0), acc, brw_imm_uw(byte_offset)); in deref()
1191 brw_ADD(p, brw_address_reg(1), acc, brw_imm_uw(byte_offset)); in deref()
1212 GLuint byte_offset = base.nr * 32 + base.subnr; in move_to_reladdr_dst() local
1226 brw_ADD(p, brw_address_reg(0), acc, brw_imm_uw(byte_offset)); in move_to_reladdr_dst()
1231 brw_imm_uw(byte_offset + reg_size / 2)); in move_to_reladdr_dst()
Dbrw_clip_tri.c84 brw_MOV(&c->func, byte_offset(c->reg.vertex[j], delta), brw_imm_f(0)); in brw_clip_tri_alloc_regs()
/external/v8/src/runtime/
Druntime-typedarray.cc110 size_t byte_offset = 0; in RUNTIME_FUNCTION() local
112 RUNTIME_ASSERT(TryNumberToSize(isolate, *byte_offset_object, &byte_offset)); in RUNTIME_FUNCTION()
119 RUNTIME_ASSERT(byte_offset <= array_buffer_byte_length); in RUNTIME_FUNCTION()
120 RUNTIME_ASSERT(array_buffer_byte_length - byte_offset >= byte_length); in RUNTIME_FUNCTION()
152 static_cast<uint8_t*>(buffer->backing_store()) + byte_offset); in RUNTIME_FUNCTION()
257 NumberToSize(isolate, typed_array->byte_offset()); in RUNTIME_FUNCTION()
277 BUFFER_VIEW_GETTER(ArrayBufferView, ByteOffset, byte_offset) in BUFFER_VIEW_GETTER()
335 size_t target_offset = NumberToSize(isolate, target->byte_offset()); in RUNTIME_FUNCTION()
336 size_t source_offset = NumberToSize(isolate, source->byte_offset()); in RUNTIME_FUNCTION()
422 CONVERT_NUMBER_ARG_HANDLE_CHECKED(byte_offset, 2); in RUNTIME_FUNCTION()
[all …]
Druntime-futex.cc33 size_t addr = (index << 2) + NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
50 size_t addr = (index << 2) + NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
70 size_t addr1 = (index1 << 2) + NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
71 size_t addr2 = (index2 << 2) + NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
88 size_t addr = (index << 2) + NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
Druntime-atomics.cc380 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
412 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
444 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
476 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
508 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
540 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
572 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
604 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
636 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
Druntime-simd.cc918 size_t tarray_offset = NumberToSize(isolate, tarray->byte_offset()); \
937 size_t tarray_offset = NumberToSize(isolate, tarray->byte_offset()); \
/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/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()
Dbitbuffer.h77 bool Seek(size_t byte_offset, size_t bit_offset);
/external/e2fsprogs/ext2ed/
Dblockbitmap_com.c177 int byte_offset,j; in allocate_block() local
179 byte_offset=entry_num/8; /* Find the correct byte - entry_num/8 */ in allocate_block()
183 type_data.u.buffer [byte_offset] |= bit_mask; /* And apply it */ in allocate_block()
192 int byte_offset,j; in deallocate_block() local
194 byte_offset=entry_num/8; in deallocate_block()
199 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_block()
Dinodebitmap_com.c137 int byte_offset,j; in allocate_inode() local
139 byte_offset=entry_num/8; in allocate_inode()
142 type_data.u.buffer [byte_offset] |= bit_mask; in allocate_inode()
149 int byte_offset,j; in deallocate_inode() local
151 byte_offset=entry_num/8; in deallocate_inode()
156 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_inode()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tile_image.c202 uint byte_offset = tile_offset * bytes_per_tile; in lp_tiled_to_linear() local
203 const uint8_t *src_tile = (uint8_t *) src + byte_offset; in lp_tiled_to_linear()
291 uint byte_offset = tile_offset * bytes_per_tile; in lp_linear_to_tiled() local
292 uint8_t *dst_tile = (uint8_t *) dst + byte_offset; in lp_linear_to_tiled()
Dlp_texture.c1320 uint byte_offset = tile_offset * TILE_SIZE * TILE_SIZE * 4; in llvmpipe_unswizzle_cbuf_tile() local
1328 lp_tiled_to_linear(tile - byte_offset, linear_image, in llvmpipe_unswizzle_cbuf_tile()
1362 uint byte_offset = tile_offset * TILE_SIZE * TILE_SIZE * 4; in llvmpipe_swizzle_cbuf_tile() local
1370 lp_linear_to_tiled(linear_image, tile - byte_offset, in llvmpipe_swizzle_cbuf_tile()
/external/skia/src/images/
DSkJpegUtility.cpp26 static boolean sk_seek_input_data(j_decompress_ptr cinfo, long byte_offset) { in sk_seek_input_data() argument
28 size_t bo = (size_t) byte_offset; in sk_seek_input_data()
/external/kernel-headers/original/uapi/sound/
Dcompress_offload.h68 __u32 byte_offset; member
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c1457 unsigned int bsize, i = 0, bytes = 0, byte_offset = 0; in squashfs_readpage() local
1507 byte_offset = SQUASHFS_I(inode)->u.s1.fragment_offset; in squashfs_readpage()
1511 for (i = start_index; i <= end_index && byte_offset < bytes; in squashfs_readpage()
1512 i++, byte_offset += PAGE_CACHE_SIZE) { in squashfs_readpage()
1514 int available_bytes = (bytes - byte_offset) > PAGE_CACHE_SIZE ? in squashfs_readpage()
1515 PAGE_CACHE_SIZE : bytes - byte_offset; in squashfs_readpage()
1518 bytes, i, byte_offset, available_bytes); in squashfs_readpage()
1522 memcpy(pageaddr, data_ptr + byte_offset, in squashfs_readpage()
1534 memcpy(pageaddr, data_ptr + byte_offset, in squashfs_readpage()
/external/v8/include/
Dv8.h3641 size_t byte_offset, size_t length);
3643 size_t byte_offset, size_t length);
3659 size_t byte_offset, size_t length);
3661 Local<SharedArrayBuffer> shared_array_buffer, size_t byte_offset,
3677 size_t byte_offset, size_t length);
3679 size_t byte_offset, size_t length);
3695 size_t byte_offset, size_t length);
3697 size_t byte_offset, size_t length);
3713 size_t byte_offset, size_t length);
3715 size_t byte_offset, size_t length);
[all …]
/external/v8/src/
Dfactory.cc1845 size_t byte_offset, size_t byte_length, in SetupArrayBufferView() argument
1847 DCHECK(byte_offset + byte_length <= in SetupArrayBufferView()
1853 isolate->factory()->NewNumberFromSize(byte_offset, pretenure); in SetupArrayBufferView()
1888 size_t byte_offset, size_t length, in NewJSTypedArray() argument
1895 CHECK(byte_offset % element_size == 0); in NewJSTypedArray()
1900 SetupArrayBufferView(isolate(), obj, buffer, byte_offset, byte_length, in NewJSTypedArray()
1908 static_cast<uint8_t*>(buffer->backing_store()) + byte_offset, pretenure); in NewJSTypedArray()
1949 size_t byte_offset, in NewJSDataView() argument
1952 SetupArrayBufferView(isolate(), obj, buffer, byte_offset, byte_length); in NewJSDataView()
Dfactory.h458 size_t byte_offset, size_t length,
468 size_t byte_offset, size_t byte_length);
Dobjects-printer.cc832 os << "\n - byte_offset = " << Brief(byte_offset()); in JSTypedArrayPrint()
843 os << "\n - byte_offset = " << Brief(byte_offset()); in JSDataViewPrint()
/external/libpng/contrib/libtests/
Dmakepng.c515 const size_t byte_offset = in generate_row() local
519 0xFFU & (pixel_index + (byte_offset * 2*y) + 1); in generate_row()

12