Searched defs:bufsize (Results 1 - 9 of 9) sorted by relevance

/system/extras/libfec/test/
H A Dtest_read.cpp24 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 DVtsHalNetNetdTestUtils.cpp57 size_t bufsize = 0; local
59 while ((linelen = getline(&line, &bufsize, f)) >= 0) {
/system/vold/bench/
H A Dbenchgen.py107 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 Dusb_linux.cpp275 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 Dfs_mgr_avb.cpp321 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 Dfs_mgr_verity.cpp192 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 DNetlinkEvent.cpp483 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 Dbinder_test.cpp161 size_t bufsize = 0; local
163 while ((linelen = getline(&line, &bufsize, f)) >= 0) {
/system/connectivity/wificond/net/kernel-header-latest/
H A Dnl80211.h4324 * @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