/external/nanopb-c/ |
pb_decode.h | 106 pb_istream_t pb_istream_from_buffer(uint8_t *buf, size_t bufsize);
|
pb_encode.h | 89 pb_ostream_t pb_ostream_from_buffer(uint8_t *buf, size_t bufsize);
|
/external/vboot_reference/cgpt/ |
cgpt_nor.c | 99 const int bufsize = 4096; local 100 char *buf = malloc(bufsize); 123 if (to_read > bufsize) { 124 to_read = bufsize;
|
/external/vboot_reference/firmware/lib/include/ |
utility.h | 92 * 16=hex) and store it in <buf>, which is <bufsize> chars long. If 96 uint32_t Uint64ToString(char *buf, uint32_t bufsize, uint64_t value,
|
/frameworks/base/libs/hwui/ |
JankTracker.h | 69 ANDROID_API static void dumpBuffer(const void* buffer, size_t bufsize, int fd);
|
/frameworks/native/include/gui/ |
BitTube.h | 40 explicit BitTube(size_t bufsize);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
posixfile.py | 3 f = posixfile.open(filename, [mode, [bufsize]]) 76 def open(self, name, mode='r', bufsize=-1): 78 return self.fileopen(__builtin__.open(name, mode, bufsize)) 220 def open(name, mode='r', bufsize=-1): 222 return _posixfile_().open(name, mode, bufsize)
|
os.py | 656 def popen2(cmd, mode="t", bufsize=-1): 661 'bufsize' is specified, it sets the buffer size for the I/O pipes. The 670 bufsize=bufsize, stdin=PIPE, stdout=PIPE, 676 def popen3(cmd, mode="t", bufsize=-1): 681 'bufsize' is specified, it sets the buffer size for the I/O pipes. The 690 bufsize=bufsize, stdin=PIPE, stdout=PIPE, 696 def popen4(cmd, mode="t", bufsize=-1): 701 'bufsize' is specified, it sets the buffer size for the I/O pipes. Th [all...] |
fileinput.py | 69 speed-up has been obtained by using readlines(bufsize) instead of 70 readline(). A new keyword argument, bufsize=N, is present on the 91 def input(files=None, inplace=0, backup="", bufsize=0, 103 _state = FileInput(files, inplace, backup, bufsize, mode, openhook) 197 def __init__(self, files=None, inplace=0, backup="", bufsize=0, 211 self._bufsize = bufsize or DEFAULT_BUFSIZE
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
posixfile.py | 3 f = posixfile.open(filename, [mode, [bufsize]]) 76 def open(self, name, mode='r', bufsize=-1): 78 return self.fileopen(__builtin__.open(name, mode, bufsize)) 220 def open(name, mode='r', bufsize=-1): 222 return _posixfile_().open(name, mode, bufsize)
|
os.py | 656 def popen2(cmd, mode="t", bufsize=-1): 661 'bufsize' is specified, it sets the buffer size for the I/O pipes. The 670 bufsize=bufsize, stdin=PIPE, stdout=PIPE, 676 def popen3(cmd, mode="t", bufsize=-1): 681 'bufsize' is specified, it sets the buffer size for the I/O pipes. The 690 bufsize=bufsize, stdin=PIPE, stdout=PIPE, 696 def popen4(cmd, mode="t", bufsize=-1): 701 'bufsize' is specified, it sets the buffer size for the I/O pipes. Th [all...] |
fileinput.py | 69 speed-up has been obtained by using readlines(bufsize) instead of 70 readline(). A new keyword argument, bufsize=N, is present on the 91 def input(files=None, inplace=0, backup="", bufsize=0, 103 _state = FileInput(files, inplace, backup, bufsize, mode, openhook) 197 def __init__(self, files=None, inplace=0, backup="", bufsize=0, 211 self._bufsize = bufsize or DEFAULT_BUFSIZE
|
/external/libpcap/ |
sf-pcap.c | 371 p->bufsize = p->snapshot; 372 if (p->bufsize <= 0) { 376 p->bufsize = 65536; 378 p->buffer = malloc(p->bufsize); 493 if (hdr->caplen > p->bufsize) { 535 * We can only keep up to p->bufsize bytes. Since 536 * caplen > p->bufsize is exactly how we got here, 537 * we know we can only keep the first p->bufsize bytes 542 hdr->caplen = p->bufsize; 543 memcpy(p->buffer, (char *)tp, p->bufsize); [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
lib.c | 109 int bufsize = *pbufsize, savebufsize = bufsize; local 144 c = readrec(&buf, &bufsize, infile); 159 *pbufsize = bufsize; 186 int bufsize = *pbufsize; local 200 if (rr-buf+1 > bufsize) 201 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 1")) 209 if (!adjbuf(&buf, &bufsize, 2+rr-buf, recsize, &rr, "readrec 2")) 214 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 3")) 219 *pbufsize = bufsize; [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/ |
pulldom.py | 211 def __init__(self, stream, parser, bufsize): 214 self.bufsize = bufsize 261 buf = self.stream.read(self.bufsize) 330 def parse(stream_or_string, parser=None, bufsize=None): 331 if bufsize is None: 332 bufsize = default_bufsize 339 return DOMEventStream(stream, parser, bufsize) 347 bufsize = len(string) 351 return DOMEventStream(buf, parser, bufsize) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/ |
pulldom.py | 211 def __init__(self, stream, parser, bufsize): 214 self.bufsize = bufsize 261 buf = self.stream.read(self.bufsize) 330 def parse(stream_or_string, parser=None, bufsize=None): 331 if bufsize is None: 332 bufsize = default_bufsize 339 return DOMEventStream(stream, parser, bufsize) 347 bufsize = len(string) 351 return DOMEventStream(buf, parser, bufsize) [all...] |
/external/iputils/ninfod/ |
ni_ifaddrs.c | 166 size_t bufsize = 65536, lastbufsize = 0; local 172 void *newbuff = realloc(buff, bufsize); 173 if (newbuff == NULL || bufsize < lastbufsize) { 179 result = read_size = nl_recvmsg(sd, request, seq, buff, bufsize, &msg_flags); 181 lastbufsize = bufsize; 182 bufsize *= 2;
|
/external/elfutils/src/libcpu/ |
i386_disasm.c | 266 size_t bufsize; member in struct:output_data 292 if (unlikely (bufcnt == bufsize)) \ 308 if (unlikely (bufcnt + _len > bufsize)) \ 322 #define BUFSIZE 512 323 char initbuf[BUFSIZE]; 326 size_t bufsize = BUFSIZE; local 334 .bufsize = bufsize, 459 buf = malloc (2 * bufsize); [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_libc_test.cc | 59 static void temp_file_name(char *buf, size_t bufsize, const char *prefix) { 69 internal_snprintf(buf, bufsize, "%s/%s%d", tmpdir, prefix, uid);
|
/external/skia/tests/ |
Reader32Test.cpp | 45 const size_t bufsize = sizeof(data) > sizeof(data2) ? local 47 char buffer[bufsize];
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_posix.h | 48 uptr internal_readlink(const char *path, char *buf, uptr bufsize);
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glGetActiveAttrib.cpp | 1 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */ 4 (JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset, jbyteArray name_ref, jint nameOffset) { 92 (GLsizei)bufsize, 121 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */ 124 (JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jobject length_buf, jobject size_buf, jobject type_buf, jbyte name) { 156 (GLsizei)bufsize, 173 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */ 268 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
|
glGetActiveUniform.cpp | 1 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */ 4 (JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset, jbyteArray name_ref, jint nameOffset) { 92 (GLsizei)bufsize, 121 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */ 124 (JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jobject length_buf, jobject size_buf, jobject type_buf, jbyte name) { 156 (GLsizei)bufsize, 173 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */ 271 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
|
glGetTransformFeedbackVarying.cpp | 1 /* void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) */ 4 (JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset, jbyteArray name_ref, jint nameOffset) { 92 (GLsizei)bufsize, 121 /* void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) */ 124 (JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jobject length_buf, jobject size_buf, jobject type_buf, jbyte name) { 156 (GLsizei)bufsize, 177 /* void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) */ 272 /* void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) */
|
/development/ndk/platforms/android-21/samples/native-codec/jni/ |
native-codec-jni.cpp | 94 size_t bufsize; local 95 uint8_t *buf = AMediaCodec_getInputBuffer(d->codec, bufidx, &bufsize); 96 ssize_t sampleSize = AMediaExtractor_readSampleData(d->ex, buf, bufsize);
|