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

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

Completed in 131 milliseconds