Searched defs:bufsize (Results 1 - 9 of 9) sorted by relevance
/system/extras/libfec/test/ |
H A D | test_read.cpp | 24 const unsigned bufsize = 2 * 1024 * FEC_BLOCKSIZE; variable 33 unique_ptr<uint8_t[]> buffer(new (nothrow) uint8_t[bufsize]); 56 count = input.read(buffer.get(), bufsize);
|
/system/hardware/interfaces/net/netd/testutils/ |
H A D | VtsHalNetNetdTestUtils.cpp | 57 size_t bufsize = 0; local 59 while ((linelen = getline(&line, &bufsize, f)) >= 0) {
|
/system/vold/bench/ |
H A 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/fastboot/ |
H A D | usb_linux.cpp | 275 char* buf, int bufsize) 288 n = read(fd, buf, bufsize - 1); 274 read_sysfs_string(const char *sysfs_name, const char *sysfs_node, char* buf, int bufsize) argument
|
/system/core/fs_mgr/ |
H A D | fs_mgr_avb.cpp | 321 size_t bufsize = DM_BUF_SIZE - (verity_params - buffer); local 326 if (verity_table.size() > bufsize - 1) { 328 << " (max allowable size: " << bufsize - 1 << ")";
|
H A D | fs_mgr_verity.cpp | 192 typedef bool (*format_verity_table_func)(char *buf, const size_t bufsize, 195 static bool format_verity_table(char *buf, const size_t bufsize, argument 209 res = snprintf(buf, bufsize, 214 res = snprintf(buf, bufsize, 220 res = snprintf(buf, bufsize, "%s 2 " VERITY_TABLE_OPT_IGNZERO " %s", params->table, 223 res = snprintf(buf, bufsize, "%s 1 " VERITY_TABLE_OPT_IGNZERO, params->table); 226 if (res < 0 || (size_t)res >= bufsize) { 234 static bool format_legacy_verity_table(char *buf, const size_t bufsize, argument 240 res = strlcpy(buf, params->table, bufsize); 242 res = snprintf(buf, bufsize, " 259 size_t bufsize; local [all...] |
/system/core/libsysutils/src/ |
H A D | NetlinkEvent.cpp | 483 const size_t bufsize = kTagLength + numaddrs * kMaxSingleAddressLength; local 484 char *buf = (char *) malloc(bufsize); 497 inet_ntop(AF_INET6, addrs + i, buf + pos, bufsize - pos); 501 pos += strlcpy(buf + pos, ifname, bufsize - pos);
|
/system/netd/tests/ |
H A D | binder_test.cpp | 161 size_t bufsize = 0; local 163 while ((linelen = getline(&line, &bufsize, f)) >= 0) {
|
/system/connectivity/wificond/net/kernel-header-latest/ |
H A D | nl80211.h | 4324 * @bufsize: total available token buffer size (max size of @token_stream) 4327 __u32 min_len, max_len, bufsize; member in struct:nl80211_wowlan_tcp_data_token_feature
|
Completed in 197 milliseconds