/external/dtc/libfdt/ |
H A D | fdt_empty_tree.c | 58 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 D | fdt.c | 242 int fdt_move(const void *fdt, void *buf, int bufsize) argument 246 if (fdt_totalsize(fdt) > bufsize)
|
/external/syslinux/com32/lib/sys/ |
H A D | line_input.c | 38 ssize_t __line_input(struct file_info * fp, char *buf, size_t bufsize, argument 81 if (n < bufsize - 1) {
|
/external/ltp/testcases/kernel/fs/mongo/ |
H A D | mongo_read.c | 22 int bufsize = 4096; local 30 buf = malloc(bufsize); 32 printf("Malloc failed on %d\n", bufsize); 47 while ((rd = read(fd, buf, bufsize)) == bufsize) ;
|
/external/dtc/tests/ |
H A D | incbin.c | 37 int bufsize = 0, n; local 46 if (bufsize < (*len + CHUNKSIZE)) { 48 bufsize = *len + CHUNKSIZE;
|
H A D | move_and_save.c | 37 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 D | open_pack.c | 36 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);
|
H A D | dtb_reverse.c | 136 int bufsize; local 146 bufsize = fdt_totalsize(in); 147 out = xmalloc(bufsize); 149 CHECK(fdt_create(out, bufsize));
|
/external/libcups/cups/ |
H A D | ppd-attr.c | 144 size_t bufsize) /* I - Size of string buffer */ 149 if (!make_and_model || !buffer || bufsize < 1) 170 strlcpy(buffer, make_and_model + 1, bufsize); 181 snprintf(buffer, bufsize, "Xerox %s", make_and_model); 189 snprintf(buffer, bufsize, "Kodak %s", make_and_model + 7); 197 snprintf(buffer, bufsize, "Apple LaserWriter%s", make_and_model + 11); 205 snprintf(buffer, bufsize, "Seiko %s", make_and_model); 213 snprintf(buffer, bufsize, "EFI %s", make_and_model); 222 snprintf(buffer, bufsize, "Canon %s", make_and_model); 231 snprintf(buffer, bufsize, "H 141 _ppdNormalizeMakeAndModel( const char *make_and_model, char *buffer, size_t bufsize) argument [all...] |
H A D | tls.c | 81 httpCredentialsString(cups_array_t *credentials, char *buffer, size_t bufsize) argument 84 (void)bufsize;
|
H A D | snprintf.c | 30 size_t bufsize, /* O - Size of output buffer */ 55 bufend = buffer + bufsize - 1; 339 size_t bufsize, /* O - Size of output buffer */ 348 bytes = vsnprintf(buffer, bufsize, format, ap); 29 _cups_vsnprintf(char *buffer, size_t bufsize, const char *format, va_list ap) argument 338 _cups_snprintf(char *buffer, size_t bufsize, const char *format, ...) argument
|
/external/libvncserver/libvncserver/ |
H A D | rfbssl_none.c | 36 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize) argument 41 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize) argument 46 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize) argument
|
H A D | rfbssl_openssl.c | 86 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize) argument 91 while ((ret = SSL_write(ctx->ssl, buf, bufsize)) <= 0) { 98 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize) argument 103 while ((ret = SSL_peek(ctx->ssl, buf, bufsize)) <= 0) { 110 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize) argument 115 while ((ret = SSL_read(ctx->ssl, buf, bufsize)) <= 0) {
|
/external/python/cpython2/Tools/scripts/ |
H A D | md5sum.py | 7 bufsize = 8096 variable 12 usage: sum5 [-b] [-t] [-l] [-s bufsize] [file ...] 16 -s bufsize: read buffer size (default %d) 18 """ % bufsize 59 data = fp.read(bufsize) 70 global fnfilter, rmode, bufsize 84 bufsize = int(a)
|
/external/python/cpython3/Tools/scripts/ |
H A D | md5sum.py | 7 bufsize = 8096 variable 12 usage: md5sum.py [-b] [-t] [-l] [-s bufsize] [file ...] 16 -s bufsize: read buffer size (default %d) 18 """ % bufsize 60 data = fp.read(bufsize) 73 global fnfilter, rmode, bufsize 87 bufsize = int(a)
|
/external/skia/tests/ |
H A D | Reader32Test.cpp | 45 const size_t bufsize = sizeof(data) > sizeof(data2) ? local 47 char buffer[bufsize];
|
/external/skqp/tests/ |
H A D | Reader32Test.cpp | 45 const size_t bufsize = sizeof(data) > sizeof(data2) ? local 47 char buffer[bufsize];
|
/external/tensorflow/tensorflow/core/lib/jpeg/ |
H A D | jpeg_handle.h | 34 int bufsize; member in struct:tensorflow::jpeg::__anon26688 50 // size "bufsize", if the buffer overflows, we will be in trouble. 51 void SetDest(j_compress_ptr cinfo, void *buffer, int bufsize); 54 void SetDest(j_compress_ptr cinfo, void *buffer, int bufsize,
|
/external/vboot_reference/firmware/lib/ |
H A D | utility_string.c | 13 uint32_t Uint64ToString(char *buf, uint32_t bufsize, uint64_t value, argument 38 if (++usedsize > bufsize) 45 if (++usedsize > bufsize)
|
/external/fec/ |
H A D | sumsq_test.c | 30 int bufsize = 2048; local 61 bufsize = atoi(optarg); 75 buf = (signed short *)calloc(bufsize,sizeof(signed short)); 78 (void)sumsq(buf,bufsize); 85 length = (random() % bufsize) - offset; 88 for(i=0;i<bufsize;i++)
|
/external/libjpeg-turbo/ |
H A D | jdatadst-tj.c | 44 size_t bufsize; member in struct:__anon11670 96 nextsize = dest->bufsize * 2; 102 MEMCOPY(nextbuffer, dest->buffer, dest->bufsize); 109 dest->pub.next_output_byte = nextbuffer + dest->bufsize; 110 dest->pub.free_in_buffer = dest->bufsize; 113 dest->bufsize = nextsize; 134 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); 200 dest->bufsize = *outsize; 201 dest->pub.free_in_buffer = dest->bufsize;
|
/external/ltp/utils/sctp/lib/ |
H A D | addrs.c | 42 size_t bufsize = 4096; /*enough for most cases*/ local 44 struct sctp_getaddrs *getaddrs = (struct sctp_getaddrs*)malloc(bufsize); 51 len = bufsize; 64 if (bufsize > 128*1024) { 70 new_buf = realloc(getaddrs, bufsize+4096); 75 bufsize += 4096;
|
/external/syslinux/core/fs/ |
H A D | chdir.c | 21 static size_t copy_string(char *buf, size_t ix, size_t bufsize, const char *src) argument 26 if (ix+1 < bufsize) 31 if (ix < bufsize) 37 static size_t generic_inode_to_path(struct inode *inode, char *dst, size_t bufsize) argument 47 s = generic_inode_to_path(inode->parent, dst, bufsize); 51 s = copy_string(dst, s, bufsize, "/"); 52 s = copy_string(dst, s, bufsize, inode->name); 58 __export size_t realpath(char *dst, const char *src, size_t bufsize) argument 67 s = this_fs->fs_ops->realpath(this_fs, dst, src, bufsize); 76 s = generic_inode_to_path(file->inode, dst, bufsize); [all...] |
/external/capstone/suite/fuzz/ |
H A D | fuzz_harness.c | 113 long bufsize = 0; local 120 bufsize = ftell(fp); 122 if (bufsize == -1) return 1; 124 buf = malloc(bufsize + 1); 129 size_t len = fread(buf, sizeof(char), bufsize, fp); 141 if (bufsize < 3) return 0; 147 long buf_ptr_size = bufsize - 1;
|
/external/e2fsprogs/debugfs/ |
H A D | zap.c | 235 void do_byte_hexdump(FILE *fp, unsigned char *buf, size_t bufsize) argument 240 for (i = 0; i < bufsize; i += 16) {
|