Home
last modified time | relevance | path

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

/third_party/openssl/crypto/bio/
Dbss_bio.c310 size_t write_offset; in bio_write() local
315 write_offset = b->offset + b->len; in bio_write()
316 if (write_offset >= b->size) in bio_write()
317 write_offset -= b->size; in bio_write()
320 if (write_offset + rest <= b->size) in bio_write()
324 chunk = b->size - write_offset; in bio_write()
326 memcpy(b->buf + write_offset, buf, chunk); in bio_write()
351 size_t write_offset; in bio_nwrite0() local
377 write_offset = b->offset + b->len; in bio_nwrite0()
378 if (write_offset >= b->size) in bio_nwrite0()
[all …]
/third_party/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate01.c222 loff_t write_offset, lseek_offset; in runtest() local
253 write_offset = random() % len; in runtest()
254 lseek_offset = lseek(fd, write_offset, SEEK_CUR); in runtest()
255 if (lseek_offset != offset + write_offset) { in runtest()
/third_party/lwip/src/apps/mdns/
Dmdns.c229 u16_t write_offset; member
860 res = pbuf_take_at(outpkt->pbuf, domain->name, writelen, outpkt->write_offset); in mdns_write_domain()
868 outpkt->domain_offsets[i] = outpkt->write_offset; in mdns_write_domain()
873 outpkt->write_offset += writelen; in mdns_write_domain()
878 res = pbuf_take_at(outpkt->pbuf, &jump, DOMAIN_JUMP_SIZE, outpkt->write_offset); in mdns_write_domain()
882 outpkt->write_offset += DOMAIN_JUMP_SIZE; in mdns_write_domain()
912 outpkt->write_offset = SIZEOF_DNS_HDR; in mdns_add_question()
917 if (outpkt->write_offset + question_len > outpkt->pbuf->tot_len) { in mdns_add_question()
930 res = pbuf_take_at(outpkt->pbuf, &field16, sizeof(field16), outpkt->write_offset); in mdns_add_question()
934 outpkt->write_offset += sizeof(field16); in mdns_add_question()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_compile_ff_gs.c198 int write_offset = 0; in brw_ff_gs_emit_vue() local
203 int write_len = MIN2(c->nr_regs - write_offset, 14); in brw_ff_gs_emit_vue()
204 if (write_len == c->nr_regs - write_offset) in brw_ff_gs_emit_vue()
209 brw_copy8(p, brw_message_reg(1), offset(vert, write_offset), write_len); in brw_ff_gs_emit_vue()
232 write_offset, /* urb offset */ in brw_ff_gs_emit_vue()
234 write_offset += write_len; in brw_ff_gs_emit_vue()
/third_party/jerryscript/jerry-core/api/
Dgenerate-bytecode.c169 int write_offset = 0; in write_snapshot() local
180 res = write(fd, snapshot_buffer + write_offset, here_to_write); in write_snapshot()
186 write_offset = write_offset + here_to_write; in write_snapshot()
189 if (write_offset != snapshot_size) { in write_snapshot()
/third_party/gn/src/base/strings/
Dstring_util.cc771 size_t write_offset = first_match; in DoReplaceMatchesAfterOffset() local
775 CharTraits::copy(buffer + write_offset, replace_with.data(), in DoReplaceMatchesAfterOffset()
777 write_offset += replace_length; in DoReplaceMatchesAfterOffset()
786 CharTraits::move(buffer + write_offset, buffer + read_offset, length); in DoReplaceMatchesAfterOffset()
787 write_offset += length; in DoReplaceMatchesAfterOffset()
793 str->resize(write_offset); in DoReplaceMatchesAfterOffset()
/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()
647 dst_bo, write_offset, in intel_bufferobj_copy_subdata()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_buffer_objects.c671 GLintptr read_offset, GLintptr write_offset, in brw_copy_buffer_subdata() argument
682 dst_bo = brw_bufferobj_buffer(brw, intel_dst, write_offset, size, true); in brw_copy_buffer_subdata()
687 dst_bo, write_offset, size); in brw_copy_buffer_subdata()
/third_party/openGLES/extensions/NV/
DGLX_NV_copy_buffer.txt113 8 INT64 write_offset
127 8 INT64 write_offset
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DGLX_NV_copy_buffer.txt113 8 INT64 write_offset
127 8 INT64 write_offset
/third_party/mesa3d/src/compiler/glsl/
Dlower_ubo_reference.cpp587 ir_variable *write_offset = in write_to_memory() local
592 base_ir->insert_before(write_offset); in write_to_memory()
593 base_ir->insert_before(assign(write_offset, offset)); in write_to_memory()
596 emit_access(mem_ctx, true, deref, write_offset, const_offset, in write_to_memory()
/third_party/ffmpeg/libavcodec/x86/
Dsnowdsp.c797 #define snow_inner_add_yblock_mmx_mix(read_offset, write_offset)\ argument
808 "movq %%mm1, "write_offset"(%%"FF_REG_d") \n\t"
/third_party/chromium/patch/
D0001-cve.patch4588 - int64_t write_offset,
4596 - if (!base::CheckAdd(write_offset, write_size)
4607 - write_offset, reinterpret_cast<char*>(data.data()), write_size);