Home
last modified time | relevance | path

Searched refs:bufsz (Results 1 – 16 of 16) sorted by relevance

/external/toybox/toys/pending/
Dfold.c34 int bufsz, len = 0, maxlen; local
40 while ((bufsz = read(fd, toybuf, sizeof(toybuf))) > 0) {
44 while (pos < bufsz) {
51 bufsz -= pos + 1;
83 bufsz -= split + 1;
89 xwrite(1, buf, bufsz);
/external/strace/
Dkexec.c18 struct { u_int32_t buf, bufsz, mem, memsz; } seg32; in print_kexec_segments() member
19 struct { u_int64_t buf, bufsz, mem, memsz; } seg64; in print_kexec_segments() member
26 (current_wordsize == 4 ? (uint64_t) seg.seg32.bufsz : seg.seg64.bufsz) in print_kexec_segments()
34 size_t bufsz; in print_kexec_segments()
40 # define seg_bufsz seg.bufsz in print_kexec_segments()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_curbe.c190 const GLuint bufsz = sz * 16 * sizeof(GLfloat); in brw_upload_constant_buffer() local
280 bufsz, brw->curbe.last_bufsz, in brw_upload_constant_buffer()
281 brw->curbe.last_buf ? memcmp(buf, brw->curbe.last_buf, bufsz) : -1); in brw_upload_constant_buffer()
285 bufsz == brw->curbe.last_bufsz && in brw_upload_constant_buffer()
286 memcmp(buf, brw->curbe.last_buf, bufsz) == 0) { in brw_upload_constant_buffer()
293 memcpy(brw->curbe.last_buf, buf, bufsz); in brw_upload_constant_buffer()
294 brw->curbe.last_bufsz = bufsz; in brw_upload_constant_buffer()
297 brw->curbe.curbe_next_offset + bufsz > brw->curbe.curbe_bo->size) in brw_upload_constant_buffer()
312 assert(bufsz < 4096); in brw_upload_constant_buffer()
316 brw->curbe.curbe_next_offset += bufsz; in brw_upload_constant_buffer()
[all …]
/external/valgrind/coregrind/m_ume/
Dmain.c73 SizeT bufsz = sizeof buf, fsz; in VG_() local
100 if (fsz < bufsz) in VG_()
101 bufsz = fsz; in VG_()
103 res = VG_(pread)(fd, buf, bufsz, 0); in VG_()
104 if (sr_isError(res) || sr_Res(res) != bufsz) { in VG_()
108 bufsz = sr_Res(res); in VG_()
112 if ((*exe_handlers[i].match_fn)(buf, bufsz)) { in VG_()
/external/icu/icu4c/source/extra/uconv/
Duconv.cpp536 bufsz(0), signature(0) {} in ConvertFile()
540 bufsz = bufferSize; in setBufferSize()
542 buf = new char[2 * bufsz]; in setBufferSize()
543 outbuf = buf + bufsz; in setBufferSize()
546 fromoffsets = new int32_t[bufsz + 1]; in setBufferSize()
571 size_t bufsz; member in ConvertFile
739 rd = fread(buf, 1, bufsz, infile); in convertFile()
759 flush = (UBool)(rd != bufsz); in convertFile()
766 unibuf = unibufp = u.getBuffer((int32_t)bufsz); in convertFile()
770 ucnv_toUnicode(convfrom, &unibufp, unibuf + bufsz, &cbufp, in convertFile()
[all …]
/external/linux-tools-perf/src/tools/perf/tests/
Dsample-parsing.c186 size_t i, sz, bufsz; in do_test() local
202 bufsz = sz + 4096; /* Add a bit for overrun checking */ in do_test()
203 event = malloc(bufsz); in do_test()
209 memset(event, 0xff, bufsz); in do_test()
224 for (i = bufsz; i > 0; i--) { in do_test()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_sanity.c535 if (sz * sizeof(int) > cmdbuf->bufsz) { in radeon_emit_packets()
557 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_packets()
585 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_scalars()
617 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_scalars2()
657 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_vectors()
796 cmdsz * 4 > cmdbuf->bufsz || in radeon_emit_packet3()
940 cmdbuf->bufsz -= cmdsz * 4; in radeon_emit_packet3()
990 cmdbuf.bufsz = rmesa->store.cmd_used; in radeonSanityCmdBuffer()
994 while ( cmdbuf.bufsz >= sizeof(header) ) { in radeonSanityCmdBuffer()
998 cmdbuf.bufsz -= sizeof(header); in radeonSanityCmdBuffer()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_sanity.c813 if (sz * sizeof(int) > cmdbuf->bufsz) { in radeon_emit_packets()
835 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_packets()
863 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_scalars()
895 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_scalars2()
935 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_vectors()
991 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_veclinear()
1145 cmdsz * 4 > cmdbuf->bufsz || in radeon_emit_packet3()
1307 cmdbuf->bufsz -= cmdsz * 4; in radeon_emit_packet3()
1357 cmdbuf.bufsz = rmesa->store.cmd_used; in r200SanityCmdBuffer()
1361 while ( cmdbuf.bufsz >= sizeof(header) ) { in r200SanityCmdBuffer()
[all …]
/external/kernel-headers/original/uapi/linux/
Dkexec.h53 size_t bufsz; member
/external/libmtp/examples/
Dsendtr.c64 static char *prompt (const char *prompt, char *buffer, size_t bufsz, int required) in prompt() argument
70 if ( fgets(buffer, bufsz, stdin) == NULL ) { in prompt()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_vbuf.c101 overflow( void *map, void *ptr, unsigned bytes, unsigned bufsz ) in overflow() argument
104 return (used + bytes) > bufsz; in overflow()
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp1.cpp101 constexpr int bufsz = 1024; variable
/external/elfutils/src/src/
Dnm.c773 const size_t bufsz = sizeof "[invalid sh_name 0x12345678]"; in show_symbols_sysv() local
774 name = alloca (bufsz); in show_symbols_sysv()
775 snprintf (name, bufsz, "[invalid sh_name %#" PRIx32 "]", in show_symbols_sysv()
/external/openssh/
Dmisc.c627 read_keyfile_line(FILE *f, const char *filename, char *buf, size_t bufsz, in read_keyfile_line() argument
630 while (fgets(buf, bufsz, f) != NULL) { in read_keyfile_line()
/external/kernel-headers/original/uapi/drm/
Dradeon_drm.h660 int bufsz; member
/external/libdrm/include/drm/
Dradeon_drm.h658 int bufsz; member