Searched defs:bufsize (Results 1 - 25 of 195) sorted by path

12345678

/external/bison/lib/
H A Dquotearg.c703 size_t bufsize = quotearg_buffer_restyled (0, 0, arg, argsize, p->style, local
707 char *buf = xcharalloc (bufsize);
708 quotearg_buffer_restyled (buf, bufsize, arg, argsize, p->style, flags,
713 *size = bufsize - 1;
/external/bison/src/
H A Dlocation.c37 add_column_width (int column, char const *buf, size_t bufsize) argument
44 if (INT_MAX / 2 <= bufsize)
46 width = mbsnwidth (buf, bufsize, 0);
49 width = bufsize;
/external/blktrace/
H A Dblktrace.c1117 static inline struct trace_buf *alloc_trace_buf(int cpu, int bufsize) argument
1121 tbp = malloc(sizeof(*tbp) + bufsize);
/external/c-ares/
H A Dares__read_line.c28 * ares__read_line multiple times with the same buf and bufsize
29 * pointers; *buf will be reallocated and *bufsize adjusted as
33 int ares__read_line(FILE *fp, char **buf, size_t *bufsize) argument
44 *bufsize = 128;
49 int bytestoread = aresx_uztosi(*bufsize - offset);
60 if(len < *bufsize - 1)
64 newbuf = realloc(*buf, *bufsize * 2);
68 *bufsize *= 2;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cc306 uptr internal_readlink(const char *path, char *buf, uptr bufsize) { argument
309 (uptr)path, (uptr)buf, bufsize);
311 return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize);
H A Dsanitizer_mac.cc148 uptr internal_readlink(const char *path, char *buf, uptr bufsize) { argument
149 return readlink(path, buf, bufsize);
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cc62 static void temp_file_name(char *buf, size_t bufsize, const char *prefix) { argument
72 internal_strncpy(buf, tmp_path, bufsize);
83 internal_snprintf(buf, bufsize, "%s/%s%d", tmpdir, prefix, uid);
/external/curl/lib/
H A Dhostip.c161 * bufsize bytes big.
166 Curl_printable_address(const Curl_addrinfo *ai, char *buf, size_t bufsize) argument
180 bufsize);
186 bufsize);
/external/curl/lib/vtls/
H A Dmbedtls.c513 const size_t bufsize = 16384; local
514 char *buffer = malloc(bufsize);
519 if(mbedtls_x509_crt_info(buffer, bufsize, "* ", peercert) > 0)
/external/curl/packages/OS400/
H A Dos400sys.c578 const char * ebcdicbuf, int bufsize, const char * * buffer)
591 if(!(asciibuf = malloc(bufsize + 1))) {
595 QadrtConvertE2A(asciibuf, ebcdicbuf, bufsize, bufsize);
596 asciibuf[bufsize] = '\0';
577 cachestring(struct Curl_gsk_descriptor * p, const char * ebcdicbuf, int bufsize, const char * * buffer) argument
/external/curl/tests/server/
H A Dgetpart.c75 * and 'bufsize' pointers to avoid multiple buffer allocations. Buffer
76 * will be reallocated and 'bufsize' increased until whole line fits in
87 static int readline(char **buffer, size_t *bufsize, FILE *stream) argument
97 *bufsize = 128;
101 int bytestoread = curlx_uztosi(*bufsize - offset);
110 if(length < *bufsize - 1)
113 newptr = realloc(*buffer, *bufsize * 2);
117 *bufsize *= 2;
265 size_t bufsize = 0; local
287 while((error = readline(&buffer, &bufsize, strea
[all...]
H A Dtftpd.c107 size_t bufsize; /* size of the data in buffer */ member in struct:testcase
1150 test->bufsize = count; /* set total count */
1208 test->bufsize = count; /* set total count */
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/dtc/libfdt/
H A Dfdt.c242 int fdt_move(const void *fdt, void *buf, int bufsize) argument
246 if (fdt_totalsize(fdt) > bufsize)
H A Dfdt_empty_tree.c58 int fdt_create_empty_tree(void *buf, int bufsize) argument
62 err = fdt_create(buf, bufsize);
82 return fdt_open_into(buf, buf, bufsize);
H A Dfdt_rw.c415 int fdt_open_into(const void *fdt, void *buf, int bufsize) argument
441 err = fdt_move(fdt, buf, bufsize);
446 fdt_set_totalsize(buf, bufsize);
454 if (bufsize < newsize)
463 if ((tmp + newsize) > ((char *)buf + bufsize))
471 fdt_set_totalsize(buf, bufsize);
H A Dfdt_sw.c88 int fdt_create(void *buf, int bufsize) argument
92 if (bufsize < sizeof(struct fdt_header))
95 memset(buf, 0, bufsize);
100 fdt_set_totalsize(fdt, bufsize);
105 fdt_set_off_dt_strings(fdt, bufsize);
110 int fdt_resize(void *fdt, void *buf, int bufsize) argument
120 if ((headsize + tailsize) > bufsize)
124 newtail = (char *)buf + bufsize - tailsize;
136 fdt_set_off_dt_strings(buf, bufsize);
137 fdt_set_totalsize(buf, bufsize);
[all...]
/external/dtc/tests/
H A Ddtb_reverse.c136 int bufsize; local
146 bufsize = fdt_totalsize(in);
147 out = xmalloc(bufsize);
149 CHECK(fdt_create(out, bufsize));
H A Dincbin.c37 int bufsize = 0, n; local
46 if (bufsize < (*len + CHUNKSIZE)) {
48 bufsize = *len + CHUNKSIZE;
H A Dmove_and_save.c37 int bufsize; local
47 bufsize = fdt_totalsize(fdt) + shuntsize;
48 buf = xmalloc(bufsize);
51 err = fdt_move(fdt, fdt1, bufsize);
59 err = fdt_move(fdt1, fdt2, bufsize-shuntsize);
67 err = fdt_move(fdt2, fdt3, bufsize);
H A Dopen_pack.c36 int oldsize, bufsize, packsize; local
47 bufsize = oldsize * 2;
49 buf = xmalloc(bufsize);
51 memset(buf, 0, bufsize);
54 err = fdt_open_into(fdt, fdt1, bufsize);
68 verbose_printf("oldsize = %d, bufsize = %d, packsize = %d\n",
69 oldsize, bufsize, packsize);
/external/dtc/
H A Dutil.c234 off_t bufsize = 1024, offset = 0; local
245 buf = xmalloc(bufsize);
248 if (offset == bufsize) {
249 bufsize *= 2;
250 buf = xrealloc(buf, bufsize);
253 ret = read(fd, &buf[offset], bufsize - offset);
267 *len = bufsize;
/external/e2fsprogs/debugfs/
H A Djournal.c127 int bufsize = sizeof(*bh) + kdev->k_fs->blocksize - local
131 retval = ext2fs_get_memzero(bufsize, &bh);
H A Dutil.c419 const char *cmd, int bufsize)
423 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize);
447 int bufsize)
452 inode, bufsize);
418 debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, const char *cmd, int bufsize) argument
444 debugfs_write_inode_full(ext2_ino_t ino, struct ext2_inode *inode, const char *cmd, int bufsize) argument
H A Dzap.c235 void do_byte_hexdump(FILE *fp, unsigned char *buf, size_t bufsize) argument
240 for (i = 0; i < bufsize; i += 16) {

Completed in 2019 milliseconds

12345678