Home
last modified time | relevance | path

Searched refs:num_written (Results 1 – 9 of 9) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dio.c44 ssize_t num_written = 0; in test_write() local
66 rc, num_written, num_left); in test_write()
72 num_written += rc; in test_write()
77 } while (num_written < count); in test_write()
79 return num_written; in test_write()
/external/avb/libavb_user/
Davb_ops_user.cpp192 ssize_t num_written; in write_to_partition() local
215 num_written = write(fd, buffer, num_bytes); in write_to_partition()
216 if (num_written == -1) { in write_to_partition()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c167 ssize_t num_written = send(sd, buf, (long)len, 0); in write_all() local
168 if (num_written < 0 || (size_t)num_written > len) in write_all()
179 (long)num_written, (long)len, in write_all()
180 (num_written < 0) ? dnssd_errno : 0, in write_all()
181 (num_written < 0) ? dnssd_strerror(dnssd_errno) : ""); in write_all()
186 (long)num_written, (long)len, in write_all()
187 (num_written < 0) ? dnssd_errno : 0, in write_all()
188 (num_written < 0) ? dnssd_strerror(dnssd_errno) : ""); in write_all()
192 buf += num_written; in write_all()
193 len -= num_written; in write_all()
/external/brotli/c/dec/
Ddecode.c1273 size_t num_written = *available_out; in WriteRingBuffer() local
1274 if (num_written > to_write) { in WriteRingBuffer()
1275 num_written = to_write; in WriteRingBuffer()
1284 memcpy(*next_out, start, num_written); in WriteRingBuffer()
1285 *next_out += num_written; in WriteRingBuffer()
1288 *available_out -= num_written; in WriteRingBuffer()
1290 BROTLI_LOG_UINT(num_written); in WriteRingBuffer()
1291 s->partial_pos_out += num_written; in WriteRingBuffer()
1295 if (num_written < to_write) { in WriteRingBuffer()
/external/compiler-rt/lib/dfsan/
Ddfsan_custom.cc935 size_t num_written = retval; in num_written_bytes() local
938 if (num_written >= num_avail) { in num_written_bytes()
939 num_written -= num_avail; in num_written_bytes()
942 return num_written; in num_written_bytes()
/external/llvm-project/compiler-rt/lib/dfsan/
Ddfsan_custom.cpp989 size_t num_written = retval; in num_written_bytes() local
992 if (num_written >= num_avail) { in num_written_bytes()
993 num_written -= num_avail; in num_written_bytes()
996 return num_written; in num_written_bytes()
/external/avb/test/
Dfake_avb_ops.cc245 ssize_t num_written = write(fd, buffer, num_bytes); in write_to_partition() local
246 if (num_written < 0) { in write_to_partition()
/external/libchrome/base/
Dlogging.cc813 DWORD num_written; in ~LogMessage() local
817 &num_written, in ~LogMessage()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c3330 unsigned i, num_interp, num_written = 0; in si_emit_spi_map() local
3343 spi_ps_input_cntl[num_written++] = si_get_ps_input_cntl(sctx, vs, semantic, interpolate); in si_emit_spi_map()
3352 spi_ps_input_cntl[num_written++] = si_get_ps_input_cntl(sctx, vs, semantic, in si_emit_spi_map()
3356 assert(num_interp == num_written); in si_emit_spi_map()