/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glGetShaderSource.java | 1 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) 5 int bufsize, 12 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) 17 int bufsize, 22 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
|
/external/libvncserver/libvncserver/ |
rfbssl.h | 9 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize); 10 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize); 11 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize);
|
rfbssl_none.c | 36 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize) 41 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize) 46 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize)
|
/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::__anon40009 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/utility/include/ |
image_types.h | 17 ImageFormat identify_image_type(const void *buf, uint32_t 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) ;
|
/hardware/qcom/msm8998/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/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/syslinux/core/fs/ |
chdir.c | 21 static size_t copy_string(char *buf, size_t ix, size_t bufsize, const char *src) 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) 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) 67 s = this_fs->fs_ops->realpath(this_fs, dst, src, bufsize); 76 s = generic_inode_to_path(file->inode, dst, bufsize); [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...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
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...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
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)
|