/system/vold/bench/ |
benchgen.py | 107 bufsize = 1048576 variable 170 print >>bench, "char* buf = (char*) malloc(%d);" % (bufsize) 213 count = min(int(e.args[2]), bufsize) 222 count = min(int(e.args[2]), bufsize) 231 count = min(int(e.args[2]), bufsize) 239 count = min(int(e.args[2]), bufsize) 258 count = min(int(e.args[1]), bufsize)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
exceptions.c | 1166 Py_ssize_t bufsize; local [all...] |
classobject.c | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
exceptions.c | 1164 Py_ssize_t bufsize; local [all...] |
classobject.c | [all...] |
/external/python/cpython2/Modules/ |
bz2module.c | 411 Util_ReadAhead(BZ2FileObject *f, int bufsize) 427 if ((f->f_buf = PyMem_Malloc(bufsize)) == NULL) { 433 bufsize, f); 452 Util_ReadAheadGetLineSkip(BZ2FileObject *f, int skip, int bufsize) 460 if (Util_ReadAhead(f, bufsize) < 0) 484 bufsize + (bufsize>>2)); [all...] |
/external/python/cpython2/Objects/ |
exceptions.c | 1154 Py_ssize_t bufsize; local 1176 bufsize = PyString_GET_SIZE(str) + 64; 1178 bufsize += PyString_GET_SIZE(self->filename); 1180 buffer = PyMem_MALLOC(bufsize); [all...] |
/system/core/sdcard/ |
fuse.cpp | 107 static ssize_t get_node_path_locked(struct node* node, char* buf, size_t bufsize) { 121 if (bufsize < namelen + 1) { 127 pathlen = get_node_path_locked(node->parent, buf, bufsize - namelen - 1); 147 char* buf, size_t bufsize, int search) 154 if (bufsize <= childlen) { 435 char* buf, size_t bufsize) 438 if (node && get_node_path_locked(node, buf, bufsize) < 0) { [all...] |
/external/pdfium/third_party/libtiff/ |
tif_getimage.c | 764 tmsize_t bufsize; local 776 bufsize = TIFFSafeMultiply(tmsize_t,alpha?4:3,tilesize); 777 if (bufsize == 0) { 781 buf = (unsigned char*) _TIFFmalloc(bufsize); 786 _TIFFmemset(buf, 0, bufsize); 1021 tmsize_t bufsize; local 1027 bufsize = TIFFSafeMultiply(tmsize_t,alpha?4:3,stripsize); 1028 if (bufsize == 0) { 1032 p0 = buf = (unsigned char *)_TIFFmalloc(bufsize); 1037 _TIFFmemset(buf, 0, bufsize); [all...] |
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
gl2_entry.cpp | 62 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); 63 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); 73 void glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); 76 void glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); 78 void glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); 152 void glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary); 171 void glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei* length, GLchar* groupString); 172 void glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, GLchar* counterString); 192 void glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei* length, GLchar* driverControlString); 245 void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName) [all...] |
/external/libcups/cups/ |
file.c | 487 int bufsize) /* I - Size of filename buffer */ 497 DEBUG_printf(("cupsFileFind(filename=\"%s\", path=\"%s\", executable=%d, buffer=%p, bufsize=%d)", filename, path, executable, (void *)buffer, bufsize)); 499 if (!filename || !buffer || bufsize < 2) 510 strlcpy(buffer, filename, (size_t)bufsize); 521 bufend = buffer + bufsize - 1; [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
libGLESv2.cpp | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_io.py | 399 for bufsize in (0, 1, 100):
401 with self.open(support.TESTFN, "wb", bufsize) as f:
406 with self.open(support.TESTFN, "wb", bufsize) as f:
787 for bufsize, buf_read_sizes, raw_read_sizes in tests:
789 bufio = self.tp(rawio, buffer_size=bufsize)
878 bufsize = 16
879 for n in (2, bufsize - 1, bufsize, bufsize + 1, bufsize * 2): [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
syscall_darwin.go | 177 var bufsize uintptr 180 bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) 182 r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(_p0), bufsize, uintptr(flags))
|
/prebuilts/go/linux-x86/src/syscall/ |
syscall_darwin.go | 177 var bufsize uintptr 180 bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) 182 r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(_p0), bufsize, uintptr(flags))
|
/external/python/cpython2/Lib/test/ |
test_io.py | 421 for bufsize in (0, 1, 100): 423 with self.open(support.TESTFN, "wb", bufsize) as f: 428 with self.open(support.TESTFN, "wb", bufsize) as f: 940 for bufsize, buf_read_sizes, raw_read_sizes in tests: 942 bufio = self.tp(rawio, buffer_size=bufsize) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_io.py | 410 for bufsize in (0, 1, 100): 412 with self.open(support.TESTFN, "wb", bufsize) as f: 417 with self.open(support.TESTFN, "wb", bufsize) as f: 858 for bufsize, buf_read_sizes, raw_read_sizes in tests: 860 bufio = self.tp(rawio, buffer_size=bufsize) 949 bufsize = 16 950 for n in (2, bufsize - 1, bufsize, bufsize + 1, bufsize * 2) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_io.py | 410 for bufsize in (0, 1, 100): 412 with self.open(support.TESTFN, "wb", bufsize) as f: 417 with self.open(support.TESTFN, "wb", bufsize) as f: 858 for bufsize, buf_read_sizes, raw_read_sizes in tests: 860 bufio = self.tp(rawio, buffer_size=bufsize) 949 bufsize = 16 950 for n in (2, bufsize - 1, bufsize, bufsize + 1, bufsize * 2) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_io.py | 410 for bufsize in (0, 1, 100): 412 with self.open(support.TESTFN, "wb", bufsize) as f: 417 with self.open(support.TESTFN, "wb", bufsize) as f: 858 for bufsize, buf_read_sizes, raw_read_sizes in tests: 860 bufio = self.tp(rawio, buffer_size=bufsize) 949 bufsize = 16 950 for n in (2, bufsize - 1, bufsize, bufsize + 1, bufsize * 2) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_io.py | 410 for bufsize in (0, 1, 100): 412 with self.open(support.TESTFN, "wb", bufsize) as f: 417 with self.open(support.TESTFN, "wb", bufsize) as f: 858 for bufsize, buf_read_sizes, raw_read_sizes in tests: 860 bufio = self.tp(rawio, buffer_size=bufsize) 949 bufsize = 16 950 for n in (2, bufsize - 1, bufsize, bufsize + 1, bufsize * 2) [all...] |
/bionic/tests/ |
malloc_test.cpp | 321 size_t bufsize; local 322 FILE* memstream = open_memstream(&buf, &bufsize);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/ |
expatreader.py | 90 def __init__(self, namespaceHandling=0, bufsize=2**16-20):
91 xmlreader.IncrementalParser.__init__(self, bufsize)
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_mac.cc | 148 uptr internal_readlink(const char *path, char *buf, uptr bufsize) { 149 return readlink(path, buf, bufsize);
|
/external/e2fsprogs/e2fsck/ |
e2fsck.h | 608 const int bufsize, const char *proc); 612 struct ext2_inode * inode, int bufsize,
|
/external/ltp/include/ |
tst_safe_macros.h | 138 #define SAFE_READLINK(path, buf, bufsize) \ 139 safe_readlink(__FILE__, __LINE__, NULL, (path), (buf), (bufsize))
|