/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/ |
fdt_empty_tree.c | 58 int fdt_create_empty_tree(void *buf, int bufsize) 62 err = fdt_create(buf, bufsize); 82 return fdt_open_into(buf, buf, bufsize);
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/ |
fdt_empty_tree.c | 58 int fdt_create_empty_tree(void *buf, int bufsize)
62 err = fdt_create(buf, bufsize);
82 return fdt_open_into(buf, buf, bufsize);
|
/external/dtc/libfdt/ |
fdt_empty_tree.c | 58 int fdt_create_empty_tree(void *buf, int bufsize) 62 err = fdt_create(buf, bufsize); 82 return fdt_open_into(buf, buf, bufsize);
|
/external/tensorflow/tensorflow/core/lib/jpeg/ |
jpeg_handle.h | 34 int bufsize; member in struct:tensorflow::jpeg::__anon45605 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/u-boot/scripts/dtc/libfdt/ |
fdt_empty_tree.c | 58 int fdt_create_empty_tree(void *buf, int bufsize) 62 err = fdt_create(buf, bufsize); 82 return fdt_open_into(buf, buf, bufsize);
|
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/decoder/ |
foo_dec.h | 16 size_t decode(void *buf, size_t bufsize, IOStream *stream, ChecksumCalculator* checksumCalc);
|
/external/vboot_reference/utility/include/ |
image_types.h | 17 ImageFormat identify_image_type(const void *buf, uint32_t bufsize,
|
/device/google/bonito/json-c/ |
printbuf.h | 42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ 44 if ((p->size - p->bpos) > bufsize) { \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 46 p->bpos += bufsize; \ 48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
|
/device/google/crosshatch/json-c/ |
printbuf.h | 42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ 44 if ((p->size - p->bpos) > bufsize) { \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 46 p->bpos += bufsize; \ 48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
|
/external/ltp/testcases/kernel/fs/mongo/ |
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/apache-commons-bcel/src/examples/Mini/ |
ASCII_CharStream.java | 29 static int bufsize; field in class:ASCII_CharStream 50 char[] newbuffer = new char[bufsize + 2048]; 51 int newbufline[] = new int[bufsize + 2048]; 52 int newbufcolumn[] = new int[bufsize + 2048]; 58 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 60 bufsize - tokenBegin, bufpos); 63 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); 64 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); 67 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); 68 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos) [all...] |
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/ |
SimpleCharStream.java | 34 int bufsize; field in class:SimpleCharStream 63 char[] newbuffer = new char[bufsize + 2048]; 64 int newbufline[] = new int[bufsize + 2048]; 65 int newbufcolumn[] = new int[bufsize + 2048]; 71 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 72 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos); 75 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); 76 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); 79 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); 80 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos) [all...] |
/external/python/cpython3/Tools/freeze/ |
bkfile.py | 3 def open(file, mode='r', bufsize=-1): 5 return _orig_open(file, mode, bufsize) 15 return _orig_open(file, mode, bufsize) 16 f = _orig_open(file, mode, bufsize)
|
/external/libcups/cups/ |
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, "HP %s", make_and_model) [all...] |
/external/dtc/tests/ |
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);
|
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);
|
/external/fec/ |
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/ltp/utils/sctp/lib/ |
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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/ |
JavaCharStream.java | 79 int bufsize; field in class:JavaCharStream 106 char[] newbuffer = new char[bufsize + 2048]; 107 int newbufline[] = new int[bufsize + 2048]; 108 int newbufcolumn[] = new int[bufsize + 2048]; 114 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 115 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos); 118 System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); 119 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); 122 System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); 123 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
popen2.py | 40 def __init__(self, cmd, capturestderr=False, bufsize=-1):
47 process. The default is false. If the 'bufsize' parameter is
65 self.tochild = os.fdopen(p2cwrite, 'w', bufsize)
67 self.fromchild = os.fdopen(c2pread, 'r', bufsize)
70 self.childerr = os.fdopen(errout, 'r', bufsize)
119 def __init__(self, cmd, bufsize=-1):
132 self.tochild = os.fdopen(p2cwrite, 'w', bufsize)
134 self.fromchild = os.fdopen(c2pread, 'r', bufsize)
141 def popen2(cmd, bufsize=-1, mode='t'):
146 'bufsize' is specified, it sets the buffer size for the I/O pipes. The [all...] |
/external/python/cpython2/Lib/ |
popen2.py | 40 def __init__(self, cmd, capturestderr=False, bufsize=-1): 47 process. The default is false. If the 'bufsize' parameter is 65 self.tochild = os.fdopen(p2cwrite, 'w', bufsize) 67 self.fromchild = os.fdopen(c2pread, 'r', bufsize) 70 self.childerr = os.fdopen(errout, 'r', bufsize) 119 def __init__(self, cmd, bufsize=-1): 132 self.tochild = os.fdopen(p2cwrite, 'w', bufsize) 134 self.fromchild = os.fdopen(c2pread, 'r', bufsize) 141 def popen2(cmd, bufsize=-1, mode='t'): 146 'bufsize' is specified, it sets the buffer size for the I/O pipes. Th [all...] |
/external/vboot_reference/firmware/lib/ |
utility_string.c | 13 uint32_t Uint64ToString(char *buf, uint32_t bufsize, uint64_t value, 38 if (++usedsize > bufsize) 45 if (++usedsize > bufsize)
|
/external/python/cpython2/Python/ |
getargs.c | 425 int *levels, char *msgbuf, size_t bufsize, int toplevel, 453 PyOS_snprintf(msgbuf, bufsize, 463 PyOS_snprintf(msgbuf, bufsize, 479 strncpy(msgbuf, "is not retrievable", bufsize); 483 msgbuf, bufsize, freelist); 501 int *levels, char *msgbuf, size_t bufsize, PyObject **freelist) 509 bufsize, 0, freelist); 515 msgbuf, bufsize, freelist); 532 converterr(const char *expected, PyObject *arg, char *msgbuf, size_t bufsize) 537 PyOS_snprintf(msgbuf, bufsize, [all...] |
/external/tensorflow/tensorflow/core/util/ |
cuda_kernel_helper_test.cu.cc | 48 __global__ void Count1D(CudaLaunchConfig config, int bufsize, int* outbuf) { 53 atomicAdd(&outbuf[x % bufsize], 1); 56 __global__ void Count2D(Cuda2DLaunchConfig config, int bufsize, int* outbuf) { 66 atomicAdd(&outbuf[idx % bufsize], 1); 70 __global__ void Count3D(Cuda3DLaunchConfig config, int bufsize, int* outbuf) { 86 atomicAdd(&outbuf[idx % bufsize], 1); 134 const int bufsize = 1024; member in class:tensorflow::CudaLaunchConfigTest 140 cudaError_t err = cudaMallocManaged(&outbuf, sizeof(int) * bufsize); 156 cfg = GetCudaLaunchConfig(bufsize, d); \ 163 0, d.stream(), cfg, bufsize, outbuf)); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
getargs.c | 425 int *levels, char *msgbuf, size_t bufsize, int toplevel,
453 PyOS_snprintf(msgbuf, bufsize,
463 PyOS_snprintf(msgbuf, bufsize,
479 strncpy(msgbuf, "is not retrievable", bufsize);
483 msgbuf, bufsize, freelist);
501 int *levels, char *msgbuf, size_t bufsize, PyObject **freelist)
509 bufsize, 0, freelist);
515 msgbuf, bufsize, freelist);
532 converterr(const char *expected, PyObject *arg, char *msgbuf, size_t bufsize)
536 PyOS_snprintf(msgbuf, bufsize,
[all...] |