Searched refs:bufsize (Results 1 - 7 of 7) 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/vold/bench/ |
H A D | benchgen.py | 107 bufsize = 1048576 variable 170 print >>bench, "char* buf = (char*) malloc(%d);" % (bufsize) 208 count = min(int(e.args[2]), bufsize) 217 count = min(int(e.args[2]), bufsize) 226 count = min(int(e.args[2]), bufsize) 234 count = min(int(e.args[2]), bufsize) 253 count = min(int(e.args[1]), bufsize)
|
/system/core/fs_mgr/ |
H A D | fs_mgr_verity.cpp | 238 typedef bool (*format_verity_table_func)(char *buf, const size_t bufsize, 241 static bool format_verity_table(char *buf, const size_t bufsize, argument 255 res = snprintf(buf, bufsize, 260 res = snprintf(buf, bufsize, 266 res = snprintf(buf, bufsize, "%s 2 " VERITY_TABLE_OPT_IGNZERO " %s", params->table, 269 res = snprintf(buf, bufsize, "%s 1 " VERITY_TABLE_OPT_IGNZERO, params->table); 272 if (res < 0 || (size_t)res >= bufsize) { 280 static bool format_legacy_verity_table(char *buf, const size_t bufsize, argument 286 res = strlcpy(buf, params->table, bufsize); 288 res = snprintf(buf, bufsize, " 304 size_t bufsize; local [all...] |
/system/core/libsysutils/src/ |
H A D | NetlinkEvent.cpp | 469 const size_t bufsize = kTagLength + numaddrs * kMaxSingleAddressLength; local 470 char *buf = (char *) malloc(bufsize); 483 inet_ntop(AF_INET6, addrs + i, buf + pos, bufsize - pos); 487 pos += strlcpy(buf + pos, ifname, bufsize - pos);
|
/system/core/fastboot/ |
H A D | usb_linux.cpp | 271 char* buf, int bufsize) 284 n = read(fd, buf, bufsize - 1); 270 read_sysfs_string(const char *sysfs_name, const char *sysfs_node, char* buf, int bufsize) argument
|
/system/netd/tests/ |
H A D | binder_test.cpp | 137 size_t bufsize = 0; local 139 while ((linelen = getline(&line, &bufsize, f)) >= 0) {
|
/system/core/sdcard/ |
H A D | sdcard.c | 327 static ssize_t get_node_path_locked(struct node* node, char* buf, size_t bufsize) { argument 341 if (bufsize < namelen + 1) { 347 pathlen = get_node_path_locked(node->parent, buf, bufsize - namelen - 1); 367 char* buf, size_t bufsize, int search) 374 if (bufsize <= childlen) { 653 char* buf, size_t bufsize) 656 if (node && get_node_path_locked(node, buf, bufsize) < 0) { 366 find_file_within(const char* path, const char* name, char* buf, size_t bufsize, int search) argument 652 lookup_node_and_path_by_id_locked(struct fuse* fuse, __u64 nid, char* buf, size_t bufsize) argument
|
Completed in 3597 milliseconds