/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/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 194 typedef bool (*format_verity_table_func)(char *buf, const size_t bufsize, 197 static bool format_verity_table(char *buf, const size_t bufsize, in format_verity_table() argument 211 res = snprintf(buf, bufsize, in format_verity_table() 216 res = snprintf(buf, bufsize, in format_verity_table() 222 res = snprintf(buf, bufsize, "%s 2 " VERITY_TABLE_OPT_IGNZERO " %s", params->table, in format_verity_table() 225 res = snprintf(buf, bufsize, "%s 1 " VERITY_TABLE_OPT_IGNZERO, params->table); in format_verity_table() 228 if (res < 0 || (size_t)res >= bufsize) { in format_verity_table() 236 static bool format_legacy_verity_table(char *buf, const size_t bufsize, in format_legacy_verity_table() argument 242 res = strlcpy(buf, params->table, bufsize); in format_legacy_verity_table() 244 res = snprintf(buf, bufsize, "%s %d", params->table, params->mode); in format_legacy_verity_table() [all …]
|
/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/netd/tests/ |
D | test_utils.cpp | 49 size_t bufsize = 0; in runCommand() local 51 while ((linelen = getline(&line, &bufsize, f)) >= 0) { in runCommand()
|
/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/tools/mkbootimg/ |
D | mkbootimg.py | 278 def __init__(self, bufsize): argument 279 self.bufsize = bufsize 283 if len(arg_bytes) > self.bufsize: 436 type=AsciizBytes(bufsize=VENDOR_RAMDISK_NAME_SIZE), 504 parser.add_argument('--cmdline', type=AsciizBytes(bufsize=cmdline_size), 507 type=AsciizBytes(bufsize=VENDOR_BOOT_ARGS_SIZE), 527 parser.add_argument('--board', type=AsciizBytes(bufsize=BOOT_NAME_SIZE),
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 507 const size_t bufsize = numaddrs * kMaxSingleAddressLength; in parseNdUserOptMessage() local 508 char *buf = (char *) malloc(bufsize); in parseNdUserOptMessage() 520 inet_ntop(AF_INET6, addrs + i, buf + pos, bufsize - pos); in parseNdUserOptMessage() 524 pos += strlcpy(buf + pos, ifname, bufsize - pos); in parseNdUserOptMessage()
|
/system/core/fastboot/ |
D | usb_linux.cpp | 287 char* buf, int bufsize) in read_sysfs_string() argument 300 n = read(fd, buf, bufsize - 1); in read_sysfs_string()
|
/system/netd/client/ |
D | NetdClient.cpp | 234 int netdClientSendto(int sockfd, const void* buf, size_t bufsize, int flags, const sockaddr* addr, in netdClientSendto() argument 243 return libcSendto(sockfd, buf, bufsize, flags, addr, addrlen); in netdClientSendto()
|
/system/connectivity/wificond/net/kernel-header-latest/ |
D | nl80211.h | 4854 __u32 min_len, max_len, bufsize; member
|