Home
last modified time | relevance | path

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

/external/valgrind/main/coregrind/m_ume/
Dmain.c73 SizeT bufsz = 4096, 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/icu4c/extra/uconv/
Duconv.cpp537 bufsz(0), signature(0) {} in ConvertFile()
541 bufsz = bufferSize; in setBufferSize()
543 buf = new char[2 * bufsz]; in setBufferSize()
544 outbuf = buf + bufsz; in setBufferSize()
547 fromoffsets = new int32_t[bufsz + 1]; in setBufferSize()
572 size_t bufsz; member in ConvertFile
738 rd = fread(buf, 1, bufsz, infile); in convertFile()
758 flush = (UBool)(rd != bufsz); in convertFile()
765 unibuf = unibufp = u.getBuffer((int32_t)bufsz); in convertFile()
769 ucnv_toUnicode(convfrom, &unibufp, unibuf + bufsz, &cbufp, in convertFile()
[all …]
/external/kernel-headers/original/linux/
Dkexec.h48 size_t bufsz; member
56 compat_size_t bufsz; member
/external/qemu/distrib/sdl-1.2.12/src/cdrom/aix/
DSDL_syscdrom.c146 int bufsz; in CheckMounts() local
151 bufsz = 10; in CheckMounts()
161 ret = mntctl ( MCTL_QUERY, bufsz, buffer ); in CheckMounts()
165 bufsz = *(int*)buffer; /* Required size is in first word. */ in CheckMounts()
169 buffer = (char*)SDL_malloc(bufsz); in CheckMounts()
174 bufsz ); in CheckMounts()
/external/openssl/crypto/rand/
Drand_win.c299 DWORD bufsz=0; in RAND_poll()
304 buf = realloc(buf,bufsz+8192); in RAND_poll()
307 bufsz += 8192; in RAND_poll()
309 length = bufsz; in RAND_poll()
Drand_os2.c83 …*DosQuerySysState) (ULONG func, ULONG arg1, ULONG pid, ULONG _res_, PVOID buf, ULONG bufsz) = NULL;
/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/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp1.cpp99 constexpr int bufsz = 1024; variable
/external/openssh/
Dmisc.c626 read_keyfile_line(FILE *f, const char *filename, char *buf, size_t bufsz, in read_keyfile_line() argument
629 while (fgets(buf, bufsz, f) != NULL) { in read_keyfile_line()
/external/chromium/third_party/libevent/
Devdns.c2916 DWORD bufsz = 0, type = 0; in config_nameserver_from_reg_key() local
2919 if (RegQueryValueEx(key, subkey, 0, &type, NULL, &bufsz) in config_nameserver_from_reg_key()
2922 if (!(buf = malloc(bufsz))) in config_nameserver_from_reg_key()
2925 if (RegQueryValueEx(key, subkey, 0, &type, (LPBYTE)buf, &bufsz) in config_nameserver_from_reg_key()
2926 == ERROR_SUCCESS && bufsz > 1) { in config_nameserver_from_reg_key()