Home
last modified time | relevance | path

Searched refs:bufsize (Results 1 – 13 of 13) sorted by relevance

/system/core/libzipfile/
Dcentraldir.c186 ssize_t bufsize = file->bufsize; in read_central_dir() local
194 if (bufsize < EOCD_LEN) { in read_central_dir()
195 fprintf(stderr, "Length is %zd -- too small\n", bufsize); in read_central_dir()
200 if (bufsize > MAX_EOCD_SEARCH) { in read_central_dir()
201 start = buf + bufsize - MAX_EOCD_SEARCH; in read_central_dir()
205 p = buf + bufsize - 4; in read_central_dir()
219 err = read_central_dir_values(file, eocd, (buf+bufsize)-eocd); in read_central_dir()
233 len = (buf+bufsize)-p; in read_central_dir()
Dzipfile.c18 file->bufsize = size; in init_zipfile()
116 decompress_zipentry(zipentry_t e, void* buf, int bufsize) in decompress_zipentry() argument
125 return uninflate(buf, bufsize, entry->data, entry->compressedSize); in decompress_zipentry()
Dprivate.h24 ssize_t bufsize; member
/system/core/sh/
Doutput.c157 dest->buf = ckmalloc(dest->bufsize); in emptyoutbuf()
159 dest->nleft = dest->bufsize; in emptyoutbuf()
162 offset = dest->bufsize; in emptyoutbuf()
164 dest->bufsize <<= 1; in emptyoutbuf()
165 dest->buf = ckrealloc(dest->buf, dest->bufsize); in emptyoutbuf()
166 dest->nleft = dest->bufsize - offset; in emptyoutbuf()
193 dest->nleft = dest->bufsize; in flushout()
Doutput.h45 int bufsize; member
Deval.c983 memout.bufsize = 64; in evalcommand()
/system/core/include/zipfile/
Dzipfile.h48 int decompress_zipentry(zipentry_t entry, void* buf, int bufsize);
/system/core/adb/
Dsysdeps.h219 static __inline__ int adb_socket_setbufsize( int fd, int bufsize ) in adb_socket_setbufsize() argument
221 int opt = bufsize; in adb_socket_setbufsize()
432 static __inline__ int adb_socket_setbufsize( int fd, int bufsize ) in adb_socket_setbufsize() argument
434 int opt = bufsize; in adb_socket_setbufsize()
Dtransport.c918 static size_t format_transport(atransport *t, char *buf, size_t bufsize, in format_transport() argument
926 return snprintf(buf, bufsize, "%s\t%s\n", serial, statename(t)); in format_transport()
928 size_t len, remaining = bufsize; in format_transport()
942 return bufsize - remaining; in format_transport()
946 int list_transports(char *buf, size_t bufsize, int long_listing) in list_transports() argument
949 char* end = buf + bufsize; in list_transports()
Dadb.c285 static size_t fill_connect_data(char *buf, size_t bufsize) in fill_connect_data() argument
288 return snprintf(buf, bufsize, "host::") + 1; in fill_connect_data()
297 size_t remaining = bufsize; in fill_connect_data()
311 return bufsize - remaining + 1; in fill_connect_data()
Dadb.h268 int list_transports(char *buf, size_t bufsize, int long_listing);
/system/core/libcutils/
Dtzstrftime.c741 size_t bufsize; member
788 bufsize = namesize + st.st_size;
790 lbuf = (lbuf == NULL) ? malloc(bufsize) : realloc(lbuf, bufsize);
/system/core/sdcard/
Dsdcard.c209 static ssize_t get_node_path_locked(struct node* node, char* buf, size_t bufsize) in get_node_path_locked() argument
212 if (bufsize < namelen + 1) { in get_node_path_locked()
218 pathlen = get_node_path_locked(node->parent, buf, bufsize - namelen - 2); in get_node_path_locked()
239 char* buf, size_t bufsize, int search) in find_file_within() argument
246 if (bufsize <= childlen) { in find_file_within()
387 char* buf, size_t bufsize) in lookup_node_and_path_by_id_locked() argument
390 if (node && get_node_path_locked(node, buf, bufsize) < 0) { in lookup_node_and_path_by_id_locked()