Home
last modified time | relevance | path

Searched refs:write_offset (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/crypto/bio/
Dpair.c281 size_t write_offset; in bio_zero_copy_get_write_buf() local
286 write_offset = b->offset + b->len; in bio_zero_copy_get_write_buf()
288 if (write_offset >= b->size) { in bio_zero_copy_get_write_buf()
290 write_offset -= b->size; in bio_zero_copy_get_write_buf()
292 max_available = b->offset - write_offset; in bio_zero_copy_get_write_buf()
295 max_available = b->size - write_offset; in bio_zero_copy_get_write_buf()
299 *out_buf_offset = write_offset; in bio_zero_copy_get_write_buf()
536 size_t write_offset; in bio_write() local
541 write_offset = b->offset + b->len; in bio_write()
542 if (write_offset >= b->size) { in bio_write()
[all …]
/external/libchrome/base/strings/
Dstring_util.cc744 size_t write_offset = offset; in DoReplaceSubstringsAfterOffset() local
747 str->replace(write_offset, replace_length, in DoReplaceSubstringsAfterOffset()
749 write_offset += replace_length; in DoReplaceSubstringsAfterOffset()
757 memmove(&(*str)[write_offset], &(*str)[read_offset], in DoReplaceSubstringsAfterOffset()
759 write_offset += length; in DoReplaceSubstringsAfterOffset()
762 str->resize(write_offset); in DoReplaceSubstringsAfterOffset()
789 for (size_t prev_match = str_length, write_offset = final_length; ; in DoReplaceSubstringsAfterOffset() local
795 write_offset -= length; in DoReplaceSubstringsAfterOffset()
796 memmove(&(*str)[write_offset], &(*str)[read_offset], in DoReplaceSubstringsAfterOffset()
799 write_offset -= replace_length; in DoReplaceSubstringsAfterOffset()
[all …]
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_buffer_objects.c639 GLintptr read_offset, GLintptr write_offset, in intel_bufferobj_copy_subdata() argument
661 memmove(ptr + write_offset, ptr + read_offset, size); in intel_bufferobj_copy_subdata()
672 memcpy(dst_ptr + write_offset, src_ptr + read_offset, size); in intel_bufferobj_copy_subdata()
686 dst_bo, write_offset, in intel_bufferobj_copy_subdata()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_buffer_objects.c639 GLintptr read_offset, GLintptr write_offset, in intel_bufferobj_copy_subdata() argument
661 memmove(ptr + write_offset, ptr + read_offset, size); in intel_bufferobj_copy_subdata()
672 memcpy(dst_ptr + write_offset, src_ptr + read_offset, size); in intel_bufferobj_copy_subdata()
686 dst_bo, write_offset, in intel_bufferobj_copy_subdata()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_buffer_objects.c639 GLintptr read_offset, GLintptr write_offset, in intel_bufferobj_copy_subdata() argument
661 memmove(ptr + write_offset, ptr + read_offset, size); in intel_bufferobj_copy_subdata()
672 memcpy(dst_ptr + write_offset, src_ptr + read_offset, size); in intel_bufferobj_copy_subdata()
686 dst_bo, write_offset, in intel_bufferobj_copy_subdata()