Home
last modified time | relevance | path

Searched refs:bufptr (Results 1 – 8 of 8) sorted by relevance

/device/google/crosshatch/json-c/
Dprintbuf.h42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument
45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \
48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
/device/google/sunfish/json-c/
Dprintbuf.h42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument
45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \
48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
/device/google/coral/json-c/
Dprintbuf.h42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument
45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \
48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
/device/google/bonito/json-c/
Dprintbuf.h42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument
45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \
48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dbz2module.c467 char *bufptr; in Util_ReadAheadGetLineSkip() local
479 bufptr = memchr(f->f_bufptr, '\n', len); in Util_ReadAheadGetLineSkip()
480 if (bufptr != NULL) { in Util_ReadAheadGetLineSkip()
481 bufptr++; /* Count the '\n' */ in Util_ReadAheadGetLineSkip()
482 len = bufptr - f->f_bufptr; in Util_ReadAheadGetLineSkip()
488 f->f_bufptr = bufptr; in Util_ReadAheadGetLineSkip()
489 if (bufptr == f->f_bufend) in Util_ReadAheadGetLineSkip()
492 bufptr = f->f_bufptr; in Util_ReadAheadGetLineSkip()
501 memcpy(PyString_AS_STRING(s)+skip, bufptr, len); in Util_ReadAheadGetLineSkip()
Dposixmodule.c2106 char *bufptr = namebuf; in posix_listdir() local
2191 Py_FileSystemDefaultEncoding, &bufptr, &len)) in posix_listdir()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dfileobject.c2212 char *bufptr; in readahead_get_line_skip() local
2224 bufptr = (char *)memchr(f->f_bufptr, '\n', len); in readahead_get_line_skip()
2225 if (bufptr != NULL) { in readahead_get_line_skip()
2226 bufptr++; /* Count the '\n' */ in readahead_get_line_skip()
2227 len = bufptr - f->f_bufptr; in readahead_get_line_skip()
2233 f->f_bufptr = bufptr; in readahead_get_line_skip()
2234 if (bufptr == f->f_bufend) in readahead_get_line_skip()
2237 bufptr = f->f_bufptr; in readahead_get_line_skip()
2247 memcpy(PyString_AS_STRING(s)+skip, bufptr, len); in readahead_get_line_skip()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dfileobject.c2280 char *bufptr; in readahead_get_line_skip() local
2292 bufptr = (char *)memchr(f->f_bufptr, '\n', len); in readahead_get_line_skip()
2293 if (bufptr != NULL) { in readahead_get_line_skip()
2294 bufptr++; /* Count the '\n' */ in readahead_get_line_skip()
2295 len = bufptr - f->f_bufptr; in readahead_get_line_skip()
2301 f->f_bufptr = bufptr; in readahead_get_line_skip()
2302 if (bufptr == f->f_bufend) in readahead_get_line_skip()
2305 bufptr = f->f_bufptr; in readahead_get_line_skip()
2314 memcpy(PyString_AS_STRING(s) + skip, bufptr, len); in readahead_get_line_skip()