Home
last modified time | relevance | path

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

123

/third_party/uboot/u-boot-2020.01/fs/
Dfs_internal.c14 lbaint_t sector, int byte_offset, int byte_len, char *buf) in fs_devread() argument
26 if ((sector + ((byte_offset + byte_len - 1) >> log2blksz)) in fs_devread()
34 sector += byte_offset >> log2blksz; in fs_devread()
35 byte_offset &= blk->blksz - 1; in fs_devread()
37 debug(" <" LBAFU ", %d, %d>\n", sector, byte_offset, byte_len); in fs_devread()
39 if (byte_offset != 0) { in fs_devread()
47 readlen = min((int)blk->blksz - byte_offset, in fs_devread()
49 memcpy(buf, sec_buf + byte_offset, readlen); in fs_devread()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
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… 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_EM… 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,… in ecma_builtin_dataview_prototype_dispatch_routine()
/third_party/node/test/js-native-api/test_dataview/
Dtest_dataview.c32 size_t byte_offset = 0; in CreateDataView() local
33 NAPI_CALL(env, napi_get_value_uint32(env, args[1], (uint32_t*)(&byte_offset))); in CreateDataView()
47 byte_offset, &output_dataview)); in CreateDataView()
72 size_t byte_offset = 0; in CreateDataViewFromJSDataView() local
77 &buffer, &byte_offset)); in CreateDataViewFromJSDataView()
82 byte_offset, &output_dataview)); in CreateDataViewFromJSDataView()
/third_party/boost/boost/atomic/detail/
Dinterlocked.hpp194 …OCKED_EXCHANGE_ADD_POINTER(dest, byte_offset) ((void*)BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD64((lon… argument
200 …LOCKED_EXCHANGE_ADD_POINTER(dest, byte_offset) ((void*)BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD((long… argument
287 …KED_EXCHANGE_ADD_POINTER(dest, byte_offset) ((void*)BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD64((__int… argument
288 …_ADD_POINTER_RELAXED(dest, byte_offset) ((void*)BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD64_RELAXED((_… argument
289 …_ADD_POINTER_ACQUIRE(dest, byte_offset) ((void*)BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD64_ACQUIRE((_… argument
290 …_ADD_POINTER_RELEASE(dest, byte_offset) ((void*)BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD64_RELEASE((_… argument
292 …LOCKED_EXCHANGE_ADD_POINTER(dest, byte_offset) ((void*)BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD((long… argument
293 …NGE_ADD_POINTER_RELAXED(dest, byte_offset) ((void*)BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD_RELAXED((… argument
294 …NGE_ADD_POINTER_ACQUIRE(dest, byte_offset) ((void*)BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD_ACQUIRE((… argument
295 …NGE_ADD_POINTER_RELEASE(dest, byte_offset) ((void*)BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD_RELEASE((… argument
[all …]
/third_party/uboot/u-boot-2020.01/fs/btrfs/
Ddev.c18 int byte_offset; in btrfs_devread() local
21 byte_offset = address % btrfs_blk_desc->blksz; in btrfs_devread()
23 return fs_devread(btrfs_blk_desc, btrfs_part_info, sector, byte_offset, in btrfs_devread()
/third_party/node/test/js-native-api/test_typedarray/
Dtest_typedarray.c37 size_t byte_offset; in Multiply() local
40 env, input_array, &type, &length, NULL, &input_buffer, &byte_offset)); in Multiply()
54 env, type, length, output_buffer, byte_offset, &output_array)); in Multiply()
57 uint8_t* input_bytes = (uint8_t*)(data) + byte_offset; in Multiply()
63 double* input_doubles = (double*)((uint8_t*)(data) + byte_offset); in Multiply()
155 size_t byte_offset; in CreateTypedArray() local
158 env, input_array, &type, &length, NULL, &in_array_buffer, &byte_offset)); in CreateTypedArray()
179 byte_offset = uint32_byte_offset; in CreateTypedArray()
184 env, type, length, input_buffer, byte_offset, &output_array)); in CreateTypedArray()
/third_party/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()
/third_party/ffmpeg/libavutil/tests/
Daudio_fifo.c66 int byte_offset = av_get_bytes_per_sample(test_sample->format); in print_audio_bytes() local
69 int line_size = (buffers > 1) ? nb_samples * byte_offset in print_audio_bytes()
70 : nb_samples * byte_offset * test_sample->nb_ch; in print_audio_bytes()
72 for(b = 0; b < line_size; b+=byte_offset){ in print_audio_bytes()
73 for (f = 0; f < byte_offset; f++){ in print_audio_bytes()
74 int order = !HAVE_BIGENDIAN ? (byte_offset - f - 1) : f; in print_audio_bytes()
/third_party/node/src/
Daliased_buffer.h63 const size_t byte_offset, in AliasedBufferBase() argument
66 : isolate_(isolate), count_(count), byte_offset_(byte_offset) { in AliasedBufferBase()
72 CHECK_EQ(byte_offset & (sizeof(NativeT) - 1), 0); in AliasedBufferBase()
75 ab->ByteLength() - byte_offset); in AliasedBufferBase()
78 const_cast<uint8_t*>(backing_buffer.GetNativeBuffer() + byte_offset)); in AliasedBufferBase()
80 v8::Local<V8T> js_array = V8T::New(ab, byte_offset, count); in AliasedBufferBase()
Djs_native_api_v8.cc44 env, type, size_of_element, buffer, byte_offset, length, out) \ argument
48 (env), (byte_offset) % (size_of_element) == 0, \
53 (byte_offset) <= buffer->ByteLength(), \
56 (out) = v8::type::New((buffer), (byte_offset), (length)); \
2808 size_t byte_offset, in napi_create_typedarray() argument
2823 env, Int8Array, 1, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2827 env, Uint8Array, 1, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2831 env, Uint8ClampedArray, 1, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2835 env, Int16Array, 2, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2839 env, Uint16Array, 2, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
[all …]
/third_party/python/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()
/third_party/uboot/u-boot-2020.01/fs/reiserfs/
Ddev.c24 int reiserfs_devread(int sector, int byte_offset, int byte_len, char *buf) in reiserfs_devread() argument
26 return fs_devread(reiserfs_blk_desc, part_info, sector, byte_offset, in reiserfs_devread()
/third_party/uboot/u-boot-2020.01/fs/zfs/
Ddev.c26 int zfs_devread(int sector, int byte_offset, int byte_len, char *buf) in zfs_devread() argument
28 return fs_devread(zfs_blk_desc, part_info, sector, byte_offset, in zfs_devread()
/third_party/uboot/u-boot-2020.01/fs/ext4/
Ddev.c49 int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, in ext4fs_devread() argument
52 return fs_devread(get_fs()->dev_desc, part_info, sector, byte_offset, in ext4fs_devread()
/third_party/libffi/src/x86/
Dffi64.c161 size_t byte_offset) in classify_argument() argument
176 size_t size = byte_offset + type->size; in classify_argument()
203 if (!(byte_offset % 8)) in classify_argument()
246 byte_offset = FFI_ALIGN (byte_offset, (*ptr)->alignment); in classify_argument()
248 num = classify_argument (*ptr, subclasses, byte_offset % 8); in classify_argument()
253 size_t pos = byte_offset / 8; in classify_argument()
258 byte_offset += (*ptr)->size; in classify_argument()
324 if (byte_offset % 8) in classify_argument()
/third_party/node/test/addons/openssl-binding/
Dbinding.cc11 auto byte_offset = view->ByteOffset(); in RandomBytes() local
16 auto data = static_cast<unsigned char*>(contents->Data()) + byte_offset; in RandomBytes()
/third_party/node/test/addons/zlib-binding/
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/jerryscript/tests/unit-core/
Dtest-typedarray.c98 jerry_length_t byte_offset = (uint32_t) -1; in test_typedarray_info() local
99 jerry_value_t arraybuffer = jerry_get_typedarray_buffer (typedarray, &byte_offset, &byte_length); in test_typedarray_info()
103 TEST_ASSERT (byte_offset == 0); in test_typedarray_info()
263 jerry_length_t byte_offset = 0; in test_typedarray_complex_creation() local
264 jerry_value_t buffer = jerry_get_typedarray_buffer (typedarray, &byte_offset, &byte_length); in test_typedarray_complex_creation()
266 TEST_ASSERT (byte_offset == offset); in test_typedarray_complex_creation()
/third_party/node/benchmark/napi/function_args/
Dnapi_binding.c134 size_t byte_offset = 0; in CallWithTypedarray() local
137 NULL, &input_buffer, &byte_offset); in CallWithTypedarray()
147 uint32_t* input_integers = (uint32_t*)((uint8_t*)(data) + byte_offset); in CallWithTypedarray()
/third_party/gettext/libtextstyle/gnulib-local/lib/libcroco/
Dcr-parsing-location.h52 guint byte_offset ; member
/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h650 const jerry_length_t byte_offset,
658 jerry_length_t *byte_offset,
698 jerry_length_t byte_offset,
705 jerry_length_t *byte_offset,
/third_party/jerryscript/jerry-core/api/
Djerry.c3967 … const jerry_length_t byte_offset, /**< offset in bytes, to the first byte in the buffer */ in jerry_create_dataview() argument
3981 ecma_make_uint32_value (byte_offset), in jerry_create_dataview()
3988 JERRY_UNUSED (byte_offset); in jerry_create_dataview()
4027 jerry_length_t *byte_offset, /**< [out] byteOffset property */ in jerry_get_dataview_buffer() argument
4045 if (byte_offset != NULL) in jerry_get_dataview_buffer()
4047 *byte_offset = dataview_p->byte_offset; in jerry_get_dataview_buffer()
4061 JERRY_UNUSED (byte_offset); in jerry_get_dataview_buffer()
4215 … jerry_length_t byte_offset, /**< offset for the ArrayBuffer */ in jerry_create_typedarray_for_arraybuffer_sz() argument
4244 ecma_make_uint32_value (byte_offset), in jerry_create_typedarray_for_arraybuffer_sz()
4256 JERRY_UNUSED (byte_offset); in jerry_create_typedarray_for_arraybuffer_sz()
[all …]
/third_party/ffmpeg/libavformat/
Dvividas.c41 int64_t byte_offset; member
466 viv->sb_blocks[i].byte_offset = off; in track_index()
651 pkt->pos += viv->sb_offset + viv->sb_blocks[viv->current_sb].byte_offset; in viv_read_packet()
694 pkt->pos += viv->sb_offset + viv->sb_blocks[viv->current_sb].byte_offset; in viv_read_packet()
723 pkt->pos += viv->sb_offset + viv->sb_blocks[viv->current_sb].byte_offset; in viv_read_packet()
763 avio_seek(s->pb, viv->sb_offset + viv->sb_blocks[i].byte_offset, SEEK_SET); in viv_read_seek()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-dataview-object.c141 dataview_obj_p->byte_offset = (uint32_t) offset; in ecma_op_dataview_create()
281 uint32_t view_offset = view_p->byte_offset; in ecma_op_dataview_get_set_view_value()

123