Searched refs:bufsize (Results 1 – 8 of 8) sorted by relevance
/system/extras/libfec/test/ |
D | test_read.cpp | 24 const unsigned bufsize = 2 * 1024 * FEC_BLOCKSIZE; variable 33 unique_ptr<uint8_t[]> buffer(new (nothrow) uint8_t[bufsize]); in main() 56 count = input.read(buffer.get(), bufsize); in main()
|
/system/vold/bench/ |
D | benchgen.py | 107 bufsize = 1048576 variable 172 print >>bench, "char* buf = (char*) malloc(%d);" % (bufsize) 221 count = min(int(e.args[2]), bufsize) 230 count = min(int(e.args[2]), bufsize) 239 count = min(int(e.args[2]), bufsize) 247 count = min(int(e.args[2]), bufsize) 266 count = min(int(e.args[1]), bufsize)
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 193 typedef bool (*format_verity_table_func)(char *buf, const size_t bufsize, 196 static bool format_verity_table(char *buf, const size_t bufsize, in format_verity_table() argument 210 res = snprintf(buf, bufsize, in format_verity_table() 215 res = snprintf(buf, bufsize, in format_verity_table() 221 res = snprintf(buf, bufsize, "%s 2 " VERITY_TABLE_OPT_IGNZERO " %s", params->table, in format_verity_table() 224 res = snprintf(buf, bufsize, "%s 1 " VERITY_TABLE_OPT_IGNZERO, params->table); in format_verity_table() 227 if (res < 0 || (size_t)res >= bufsize) { in format_verity_table() 235 static bool format_legacy_verity_table(char *buf, const size_t bufsize, in format_legacy_verity_table() argument 241 res = strlcpy(buf, params->table, bufsize); in format_legacy_verity_table() 243 res = snprintf(buf, bufsize, "%s %d", params->table, params->mode); in format_legacy_verity_table() [all …]
|
/system/hardware/interfaces/net/netd/testutils/ |
D | VtsHalNetNetdTestUtils.cpp | 57 size_t bufsize = 0; in runCommand() local 59 while ((linelen = getline(&line, &bufsize, f)) >= 0) { in runCommand()
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 484 const size_t bufsize = kTagLength + numaddrs * kMaxSingleAddressLength; in parseNdUserOptMessage() local 485 char *buf = (char *) malloc(bufsize); in parseNdUserOptMessage() 498 inet_ntop(AF_INET6, addrs + i, buf + pos, bufsize - pos); in parseNdUserOptMessage() 502 pos += strlcpy(buf + pos, ifname, bufsize - pos); in parseNdUserOptMessage()
|
/system/core/fastboot/ |
D | usb_linux.cpp | 278 char* buf, int bufsize) in read_sysfs_string() argument 291 n = read(fd, buf, bufsize - 1); in read_sysfs_string()
|
/system/connectivity/wificond/net/kernel-header-latest/ |
D | nl80211.h | 4327 __u32 min_len, max_len, bufsize; member
|
/system/netd/tests/ |
D | binder_test.cpp | 200 size_t bufsize = 0; in runCommand() local 202 while ((linelen = getline(&line, &bufsize, f)) >= 0) { in runCommand()
|