Home
last modified time | relevance | path

Searched refs:read_offset (Results 1 – 25 of 29) sorted by relevance

12

/third_party/grpc/src/core/lib/slice/
Dslice_string_helpers.cc50 const size_t read_offset, size_t* begin, in slice_find_separator_offset() argument
53 const uint8_t* str_ptr = GRPC_SLICE_START_PTR(str) + read_offset; in slice_find_separator_offset()
54 const size_t str_len = GRPC_SLICE_LENGTH(str) - read_offset; in slice_find_separator_offset()
62 *begin = read_offset; in slice_find_separator_offset()
63 *end = read_offset + i; in slice_find_separator_offset()
/third_party/flutter/skia/third_party/externals/piex/src/binary_parse/
Drange_checked_byte_ptr.h491 const size_t read_offset = current_pos_ + i; variable
498 size_t pos_in_page = read_offset - page_begin_offset_;
505 if (read_offset >= sub_array_begin_ && read_offset < sub_array_end_) {
507 loadPageForOffset(read_offset);
510 pos_in_page = read_offset - page_begin_offset_;
/third_party/skia/third_party/externals/piex/src/binary_parse/
Drange_checked_byte_ptr.h491 const size_t read_offset = current_pos_ + i; variable
498 size_t pos_in_page = read_offset - page_begin_offset_;
505 if (read_offset >= sub_array_begin_ && read_offset < sub_array_end_) {
507 loadPageForOffset(read_offset);
510 pos_in_page = read_offset - page_begin_offset_;
/third_party/freetype/src/cid/
Dcidparse.c114 FT_ULong read_offset = 0; in cid_parser_new() local
151 if ( read_offset + read_len < STARTDATA_LEN ) in cid_parser_new()
159 buffer + read_offset + read_len - STARTDATA_LEN, in cid_parser_new()
164 read_offset = STARTDATA_LEN; in cid_parser_new()
165 p = buffer + read_offset; in cid_parser_new()
/third_party/skia/third_party/externals/freetype/src/cid/
Dcidparse.c118 FT_ULong read_offset = 0; in cid_parser_new() local
155 if ( read_offset + read_len < STARTDATA_LEN ) in cid_parser_new()
163 buffer + read_offset + read_len - STARTDATA_LEN, in cid_parser_new()
168 read_offset = STARTDATA_LEN; in cid_parser_new()
169 p = buffer + read_offset; in cid_parser_new()
/third_party/flutter/skia/third_party/externals/freetype/src/cid/
Dcidparse.c115 FT_ULong read_offset = 0; in cid_parser_new() local
152 if ( read_offset + read_len < STARTDATA_LEN ) in cid_parser_new()
160 buffer + read_offset + read_len - STARTDATA_LEN, in cid_parser_new()
165 read_offset = STARTDATA_LEN; in cid_parser_new()
166 p = buffer + read_offset; in cid_parser_new()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dbias_add_grad_impl.cu58 int read_offset = warp_start_row * n + (blockIdx.y << 5) + shm_col_id; in BiasAddGradNHWC() local
62 partial_sum += static_cast<float>(dy[read_offset]); in BiasAddGradNHWC()
63 read_offset += n; in BiasAddGradNHWC()
68 partial_sum += static_cast<float>(dy[read_offset]); in BiasAddGradNHWC()
69 read_offset += n; in BiasAddGradNHWC()
/third_party/gstreamer/gstplugins_good/gst/multifile/
Dgstsplitfilesrc.c417 guint64 read_offset; in gst_split_file_src_create() local
447 read_offset = offset - cur_part.start; in gst_split_file_src_create()
450 src->cur_part, read_offset, cur_part.path); in gst_split_file_src_create()
454 if (!g_seekable_seek (seekable, read_offset, G_SEEK_SET, cancel, &err)) in gst_split_file_src_create()
459 bytes_to_end_of_part = (cur_part.stop - cur_part.start) + 1 - read_offset; in gst_split_file_src_create()
515 ("Seek to %" G_GUINT64_FORMAT " in %s failed", read_offset, in gst_split_file_src_create()
527 ("Read from %" G_GUINT64_FORMAT " in %s failed", read_offset, in gst_split_file_src_create()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstadapter.c1019 gsize read_offset = 0; in gst_adapter_get_buffer() local
1024 while (idx < len && read_offset < nbytes + adapter->skip) { in gst_adapter_get_buffer()
1028 read_offset += gst_buffer_get_size (cur); in gst_adapter_get_buffer()
1551 gsize read_offset = 0; in gst_adapter_prev_pts_at_offset() local
1561 while (idx < len && read_offset < offset + adapter->skip) { in gst_adapter_prev_pts_at_offset()
1566 pts_offset = read_offset; in gst_adapter_prev_pts_at_offset()
1569 read_offset += gst_buffer_get_size (cur); in gst_adapter_prev_pts_at_offset()
1601 gsize read_offset = 0; in gst_adapter_prev_dts_at_offset() local
1611 while (idx < len && read_offset < offset + adapter->skip) { in gst_adapter_prev_dts_at_offset()
1616 dts_offset = read_offset; in gst_adapter_prev_dts_at_offset()
[all …]
/third_party/jerryscript/jerry-core/api/
Dgenerate-bytecode.c124 int read_offset = 0; in read_js_or_snapshot_file() local
143 tmp_read = read(fd, target_file + read_offset, here_to_read); in read_js_or_snapshot_file()
149 read_offset = read_offset + here_to_read; in read_js_or_snapshot_file()
152 if (read_offset != *file_bytesize) { in read_js_or_snapshot_file()
/third_party/gn/src/base/strings/
Dstring_util.cc772 size_t read_offset = first_match + expansion; in DoReplaceMatchesAfterOffset() local
779 read_offset += find_length; in DoReplaceMatchesAfterOffset()
782 size_t match = std::min(matcher.Find(*str, read_offset), str_length); in DoReplaceMatchesAfterOffset()
784 size_t length = match - read_offset; in DoReplaceMatchesAfterOffset()
786 CharTraits::move(buffer + write_offset, buffer + read_offset, length); in DoReplaceMatchesAfterOffset()
788 read_offset += length; in DoReplaceMatchesAfterOffset()
790 } while (read_offset < str_length); in DoReplaceMatchesAfterOffset()
/third_party/grpc/test/core/tsi/
Dtransport_security_test_lib.cc245 size_t read_offset = 0; in tsi_test_frame_protector_receive_message_from_peer() local
261 read_offset = 0; in tsi_test_frame_protector_receive_message_from_peer()
272 protector, read_buffer + read_offset, &processed_size, message_buffer, in tsi_test_frame_protector_receive_message_from_peer()
279 read_offset += processed_size; in tsi_test_frame_protector_receive_message_from_peer()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_buffer_objects.c598 GLintptr read_offset, GLintptr write_offset, in intel_bufferobj_copy_subdata() argument
620 memmove(ptr + write_offset, ptr + read_offset, size); in intel_bufferobj_copy_subdata()
633 memcpy(dst_ptr + write_offset, src_ptr + read_offset, size); in intel_bufferobj_copy_subdata()
648 src_bo, read_offset + src_offset, size); in intel_bufferobj_copy_subdata()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format3.cc65 int32_t read_offset = in Loca() local
68 return read_offset; in Loca()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format3.cc65 int32_t read_offset = in Loca() local
68 return read_offset; in Loca()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_buffer_objects.c671 GLintptr read_offset, GLintptr write_offset, in brw_copy_buffer_subdata() argument
683 src_bo = brw_bufferobj_buffer(brw, intel_src, read_offset, size, false); in brw_copy_buffer_subdata()
686 src_bo, read_offset, in brw_copy_buffer_subdata()
/third_party/openGLES/extensions/NV/
DGLX_NV_copy_buffer.txt112 8 INT64 read_offset
126 8 INT64 read_offset
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DGLX_NV_copy_buffer.txt112 8 INT64 read_offset
126 8 INT64 read_offset
/third_party/NuttX/drivers/usbdev/gadget/
Dcdcacm.c126 uint32_t read_offset; /* Quick command offset */ member
448 ret = usbd_copy_to_user(read_buf, req->len, (req_buf + priv->read_offset), buflen); in cdcacm_fill_rdrequest()
456 priv->read_offset += buflen; in cdcacm_fill_rdrequest()
458 if (priv->read_offset < req->xfrd) in cdcacm_fill_rdrequest()
469 priv->read_offset = 0; in cdcacm_fill_rdrequest()
/third_party/ffmpeg/libavcodec/x86/
Dsnowdsp.c797 #define snow_inner_add_yblock_mmx_mix(read_offset, write_offset)\ argument
801 "paddw "read_offset"(%%"FF_REG_D"), %%mm1 \n\t"\
802 "paddw "read_offset"+8(%%"FF_REG_D"), %%mm5 \n\t"\
/third_party/gstreamer/gstplugins_base/ext/ogg/
Dgstoggdemux.h135 gint64 read_offset; member
/third_party/libdrm/etnaviv/
Detnaviv_drm.h169 __u32 read_offset; /* in, offset from read_bo */ member
Detnaviv_cmd_stream.c275 pmr->read_offset = p->offset; in etna_cmd_stream_perf()
/third_party/mesa3d/include/drm-uapi/
Detnaviv_drm.h178 __u32 read_offset; /* in, offset from read_bo */ member
/third_party/python/Lib/
Dzipfile.py1066 read_offset = new_pos - curr_pos
1067 buff_offset = read_offset + self._offset
1072 read_offset = 0
1073 elif read_offset < 0:
1083 read_offset = new_pos
1087 while read_offset > 0:
1088 read_len = min(self.MAX_SEEK_READ, read_offset)
1090 read_offset -= read_len

12