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

/system/core/libzipfile/
H A Dcentraldir.c155 ZD_TYPE bufsize = file->bufsize; local
163 if (bufsize < EOCD_LEN) {
164 fprintf(stderr, "Length is " ZD " -- too small\n", bufsize);
169 if (bufsize > MAX_EOCD_SEARCH) {
170 start = buf + bufsize - MAX_EOCD_SEARCH;
174 p = buf + bufsize - 4;
188 err = read_central_dir_values(file, eocd, (buf+bufsize)-eocd);
202 len = (buf+bufsize)-p;
H A Dprivate.h24 ssize_t bufsize; member in struct:Zipfile
H A Dzipfile.c18 file->bufsize = size;
115 decompress_zipentry(zipentry_t e, void* buf, int bufsize) argument
124 return uninflate(buf, bufsize, entry->data, entry->compressedSize);
/system/core/fastboot/
H A Dusb_linux.c243 char* buf, int bufsize)
256 n = read(fd, buf, bufsize - 1);
242 read_sysfs_string(const char *sysfs_name, const char *sysfs_node, char* buf, int bufsize) argument
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp437 int bufsize = kTagLength + numaddrs * (INET6_ADDRSTRLEN + 1); local
438 char *buf = (char *) malloc(bufsize);
451 inet_ntop(AF_INET6, addrs + i, buf + pos, bufsize - pos);
/system/core/adb/
H A Dtransport.c933 static size_t format_transport(atransport *t, char *buf, size_t bufsize, argument
941 return snprintf(buf, bufsize, "%s\t%s\n", serial, statename(t));
943 size_t len, remaining = bufsize;
957 return bufsize - remaining;
961 int list_transports(char *buf, size_t bufsize, int long_listing) argument
964 char* end = buf + bufsize;
H A Dadb.c291 static size_t fill_connect_data(char *buf, size_t bufsize) argument
294 return snprintf(buf, bufsize, "host::") + 1;
303 size_t remaining = bufsize;
317 return bufsize - remaining + 1;
/system/core/sdcard/
H A Dsdcard.c337 static ssize_t get_node_path_locked(struct node* node, char* buf, size_t bufsize) { argument
351 if (bufsize < namelen + 1) {
357 pathlen = get_node_path_locked(node->parent, buf, bufsize - namelen - 2);
377 char* buf, size_t bufsize, int search)
384 if (bufsize <= childlen) {
690 char* buf, size_t bufsize)
693 if (node && get_node_path_locked(node, buf, bufsize) < 0) {
376 find_file_within(const char* path, const char* name, char* buf, size_t bufsize, int search) argument
689 lookup_node_and_path_by_id_locked(struct fuse* fuse, __u64 nid, char* buf, size_t bufsize) argument

Completed in 230 milliseconds