/third_party/node/deps/openssl/openssl/crypto/bio/ |
H A D | bss_bio.c | 308 size_t write_offset; in bio_write() local 313 write_offset = b->offset + b->len; in bio_write() 314 if (write_offset >= b->size) in bio_write() 315 write_offset -= b->size; in bio_write() 316 /* b->buf[write_offset] is the first byte we can write to. */ in bio_write() 318 if (write_offset + rest <= b->size) in bio_write() 322 chunk = b->size - write_offset; in bio_write() 324 memcpy(b->buf + write_offset, buf, chunk); in bio_write() 349 size_t write_offset; in bio_nwrite0() local 375 write_offset in bio_nwrite0() [all...] |
/third_party/openssl/crypto/bio/ |
H A D | bss_bio.c | 308 size_t write_offset; in bio_write() local 313 write_offset = b->offset + b->len; in bio_write() 314 if (write_offset >= b->size) in bio_write() 315 write_offset -= b->size; in bio_write() 316 /* b->buf[write_offset] is the first byte we can write to. */ in bio_write() 318 if (write_offset + rest <= b->size) in bio_write() 322 chunk = b->size - write_offset; in bio_write() 324 memcpy(b->buf + write_offset, buf, chunk); in bio_write() 349 size_t write_offset; in bio_nwrite0() local 375 write_offset in bio_nwrite0() [all...] |
/third_party/ltp/testcases/kernel/syscalls/fallocate/ |
H A D | fallocate01.c | 222 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/ |
H A D | mdns.c | 229 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 in mdns_add_question() [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_compile_ff_gs.c | 199 int write_offset = 0; in brw_ff_gs_emit_vue() local 204 int write_len = MIN2(c->nr_regs - write_offset, 14); in brw_ff_gs_emit_vue() 205 if (write_len == c->nr_regs - write_offset) in brw_ff_gs_emit_vue() 210 brw_copy8(p, brw_message_reg(1), offset(vert, write_offset), write_len); in brw_ff_gs_emit_vue() 233 write_offset, /* urb offset */ in brw_ff_gs_emit_vue() 235 write_offset += write_len; in brw_ff_gs_emit_vue()
|
/third_party/jerryscript/jerry-core/api/ |
H A D | generate-bytecode.c | 169 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/ |
H A D | string_util.cc | 754 // unsearched region of the string so long as |write_offset| <= |read_offset|; in DoReplaceMatchesAfterOffset() 758 // |write_offset| grows slower than |read_offset|. in DoReplaceMatchesAfterOffset() 760 // (b) If the string is being lengthened, |write_offset| grows faster than in DoReplaceMatchesAfterOffset() 761 // |read_offset|, but |expansion| is big enough so that |write_offset| in DoReplaceMatchesAfterOffset() 764 size_t write_offset = first_match; in DoReplaceMatchesAfterOffset() local 768 CharTraits::copy(buffer + write_offset, replace_with.data(), in DoReplaceMatchesAfterOffset() 770 write_offset += replace_length; in DoReplaceMatchesAfterOffset() 779 CharTraits::move(buffer + write_offset, buffer + read_offset, length); in DoReplaceMatchesAfterOffset() 780 write_offset += length; in DoReplaceMatchesAfterOffset() 786 str->resize(write_offset); in DoReplaceMatchesAfterOffset() [all...] |
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/fw-api/ |
H A D | pvr_rogue_fwif_shared.h | 170 uint32_t write_offset; member
|
/third_party/ffmpeg/libavcodec/x86/ |
H A D | snowdsp.c | 799 #define snow_inner_add_yblock_mmx_mix(read_offset, write_offset)\ 810 "movq %%mm1, "write_offset"(%%"FF_REG_d") \n\t"
|
/third_party/python/Objects/ |
H A D | codeobject.c | 412 Py_ssize_t write_offset = output - (uint8_t *)PyBytes_AS_STRING(res); in remove_column_info() local 413 if (write_offset + 16 >= PyBytes_GET_SIZE(res)) { in remove_column_info() 417 output = (uint8_t *)PyBytes_AS_STRING(res) + write_offset; in remove_column_info() 436 Py_ssize_t write_offset = output - (uint8_t *)PyBytes_AS_STRING(res); in remove_column_info() local 437 if (_PyBytes_Resize(&res, write_offset)) { in remove_column_info()
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_instruction_selection.cpp | 6930 Temp write_offset = offset; 6931 lower_global_address(bld, offsets[i], &write_address, &write_const_offset, &write_offset); 6955 assert(global && write_offset.id() && write_offset.type() == RegType::vgpr); 6956 flat->operands[0] = Operand(write_offset); 6959 assert(write_address.type() == RegType::vgpr && !write_offset.id()); 6984 mubuf->operands[2] = Operand(write_offset);
|