/external/libcups/filter/ |
commandtops.c | 135 *bufptr; /* Pointer into buffer */ local 219 for (bufptr = buffer, valptr = attr->value; *valptr; valptr ++) 227 *bufptr = '\0'; 229 bufptr = buffer; 233 if (bufptr >= (buffer + sizeof(buffer) - 4)) 235 *bufptr = '\0'; 237 bufptr = buffer; 242 *bufptr++ = '\\'; 243 *bufptr++ = 'r'; 247 *bufptr++ = '\\' [all...] |
/external/libcups/cups/ |
snprintf.c | 34 char *bufptr, /* Pointer to position in buffer */ local 54 bufptr = buffer; 67 if (bufptr && bufptr < bufend) *bufptr++ = *format; 184 if (bufptr) 186 if ((bufptr + templen) > bufend) 188 strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); 189 bufptr = bufend [all...] |
ipp-support.c | 622 char *bufptr, /* Pointer into buffer */ local 638 bufptr = buffer; 648 if (buffer && bufptr < bufend) 649 *bufptr++ = ','; 651 bufptr ++; 659 if (buffer && bufptr < bufend) 660 strlcpy(bufptr, ptr, (size_t)(bufend - bufptr + 1)); 662 bufptr += strlen(ptr); 666 if (buffer && bufptr < bufend 2317 char *bufptr, \/* Position in buffer *\/ local [all...] |
debug.c | 336 char *bufptr, /* Pointer to position in buffer */ local 356 bufptr = buffer; 369 if (bufptr < bufend) 370 *bufptr++ = *format; 481 if (bufptr) 483 strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); 484 bufptr += strlen(bufptr); 511 if (bufptr) [all...] |
dest-localization.c | 451 char *bufptr; /* Pointer into buffer */ local 460 bufptr = cups_scan_strings(buffer); 462 if (*bufptr != '\"') 465 *bufptr++ = '\0'; 467 while (*bufptr && *bufptr != '\"') 468 bufptr ++; 470 if (!*bufptr) 473 *str = bufptr + 1; 474 bufptr = cups_scan_strings(bufptr) 495 char *bufptr; \/* Pointer into string *\/ local [all...] |
ppd-emit.c | 300 *bufptr; /* Pointer into code */ local 326 bufptr = buffer; 332 if ((bytes = (ssize_t)write(fd, bufptr, (unsigned)buflength)) < 0) 334 if ((bytes = write(fd, bufptr, buflength)) < 0) 344 bufptr += bytes; 614 *bufptr, /* Pointer into buffer */ local 764 for (i = 0, bufptr = buffer; i < count; i ++, bufptr += strlen(bufptr)) 780 for (cptr = choices[i]->code; *cptr && bufptr < bufend; [all...] |
string.c | 212 char *bufptr, /* Pointer into buffer */ local 256 for (tempptr = temp, bufptr = buf; 257 tempptr < tempdec && bufptr < bufend; 258 *bufptr++ = *tempptr++); 262 if (*tempptr && bufptr < bufend) 264 *bufptr++ = '.'; 266 while (*tempptr && bufptr < bufend) 267 *bufptr++ = *tempptr++; 270 *bufptr = '\0'; 275 bufptr = buf + strlen(buf) [all...] |
ppd-attr.c | 146 char *bufptr; /* Pointer into buffer */ local 172 if ((bufptr = strrchr(buffer, ')')) != NULL) 173 *bufptr = '\0'; 307 for (bufptr = buffer + strlen(buffer) - 1; 308 bufptr >= buffer && _cups_isspace(*bufptr); 309 bufptr --); 311 bufptr[1] = '\0';
|
snmp.c | 927 unsigned char *bufptr, /* Pointer into the data */ local 939 bufptr = buffer; 942 if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_SEQUENCE) 944 else if (asn1_get_length(&bufptr, bufend) == 0) 946 else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_INTEGER) 948 else if ((length = asn1_get_length(&bufptr, bufend)) == 0) 950 else if ((packet->version = asn1_get_integer(&bufptr, bufend, length)) 953 else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_OCTET_STRING) 955 else if ((length = asn1_get_length(&bufptr, bufend)) == 0) 959 asn1_get_string(&bufptr, bufend, length, packet->community 1085 unsigned char *bufptr; \/* Pointer into buffer *\/ local [all...] |
ipp.c | 1161 *bufptr; \/* Pointer into buffer *\/ local 2947 *bufptr; \/* Pointer into buffer *\/ local 4487 *bufptr; \/* Pointer into buffer *\/ local 5482 *bufptr; \/* Pointer into buffer *\/ local 6546 char *bufptr, \/* Pointer into buffer *\/ local [all...] |
getifaddrs.c | 31 *bufptr, /* Pointer into buffer */ local 86 for (bufptr = buffer, bufend = buffer + conf.ifc_len; 87 bufptr < bufend; 88 bufptr += ifpsize) 94 ifp = (struct ifreq *)bufptr;
|
ppd-localize.c | 246 *bufptr, /* Pointer into buffer */ local 363 for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;) 373 while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend) 391 *bufptr++ = (char)(ch | (*valptr - '0')); 393 *bufptr++ = (char)(ch | (tolower(*valptr) - 'a' + 10)); 398 *bufptr++ = ' '; 402 *bufptr++ = *valptr++; 423 if (bufptr > buffer) 424 *bufptr = '\0' [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/ |
lbxbufstr.h | 38 char *bufptr; member in struct:_zlibbuffer 43 (((inbuf)->bufcnt >= (len)) ? (inbuf)->bufptr : NULL)
|
/external/clang/test/CodeGen/ |
globalinit.c | 24 static char *bufptr = buf; local 26 return c ? buf : bufptr;
|
/external/libvpx/libvpx/vp8/decoder/ |
dboolhuff.c | 35 const unsigned char *bufptr = br->user_buffer; local 39 size_t bytes_left = br->user_buffer_end - bufptr; 47 br->decrypt_cb(br->decrypt_state, bufptr, decrypted, (int)n); 48 bufptr = decrypted; 59 value |= (VP8_BD_VALUE)*bufptr << shift; 60 ++bufptr;
|
/hardware/qcom/msm8998/json-c/ |
printbuf.h | 42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
dio_truncate.c | 72 void *bufptr; local 74 TEST(posix_memalign(&bufptr, 4096, 64 * 1024)); 90 r = read(fd, bufptr, 64 * 1024); 92 if ((bufoff = check_zero(bufptr, r))) { 108 void *bufptr; local 119 TEST(posix_memalign(&bufptr, 4096, 64 * 1024)); 126 memset(bufptr, fill, 64 * 1024); 129 if ((w = write(fd, bufptr, 64 * 1024)) != 64 * 1024) {
|
dio_append.c | 81 void *bufptr; local 92 TEST(posix_memalign(&bufptr, 4096, 64 * 1024)); 99 memset(bufptr, 0, 64 * 1024); 101 if ((w = write(fd, bufptr, 64 * 1024)) != 64 * 1024) {
|
aiodio_append.c | 80 void *bufptr; local 100 TEST(posix_memalign(&bufptr, 4096, AIO_SIZE)); 105 memset(bufptr, 0, AIO_SIZE); 106 io_prep_pwrite(&iocb_array[i], fd, bufptr, AIO_SIZE, offset);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
lmconfig.h | 15 NET_API_STATUS WINAPI NetConfigGet(LPCWSTR server,LPCWSTR component,LPCWSTR parameter,LPBYTE *bufptr); 16 NET_API_STATUS WINAPI NetConfigGetAll(LPCWSTR server,LPCWSTR component,LPBYTE *bufptr);
|
lmmsg.h | 14 NET_API_STATUS WINAPI NetMessageNameEnum(LPCWSTR servername,DWORD level,LPBYTE *bufptr,DWORD prefmaxlen,LPDWORD entriesread,LPDWORD totalentries,LPDWORD resume_handle); 15 NET_API_STATUS WINAPI NetMessageNameGetInfo(LPCWSTR servername,LPCWSTR msgname,DWORD level,LPBYTE *bufptr);
|
/external/ltp/testcases/kernel/io/aio/aio02/ |
aio_tio.c | 94 void *bufptr = NULL; local 115 if (posix_memalign(&bufptr, alignment, AIO_BLKSIZE)) { 119 memset(bufptr, 0, AIO_BLKSIZE); 121 io_prep_pwrite(&iocb_array[i], fd, bufptr, 129 if (posix_memalign(&bufptr, alignment, AIO_BLKSIZE)) { 133 memset(bufptr, 0, AIO_BLKSIZE); 135 io_prep_pread(&iocb_array[i], fd, bufptr,
|
/system/core/adb/client/ |
usb_linux.cpp | 141 unsigned char* bufptr = devdesc; local 164 bufend = bufptr + desclength; 173 device = (struct usb_device_descriptor*)bufptr; 174 bufptr += USB_DT_DEVICE_SIZE; 186 config = (struct usb_config_descriptor *)bufptr; 187 bufptr += USB_DT_CONFIG_SIZE; 195 while (bufptr < bufend) { 196 unsigned char length = bufptr[0]; 197 unsigned char type = bufptr[1]; 200 interface = (struct usb_interface_descriptor *)bufptr; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xlibint.h | 99 char *bufptr; /* Output buffer index pointer. */ member in struct:_XDisplay 418 #define WORD64ALIGN if ((long)dpy->bufptr >> 61) {\ 419 dpy->last_req = dpy->bufptr;\ 420 *(dpy->bufptr) = X_NoOperation;\ 421 *(dpy->bufptr+1) = 0;\ 422 *(dpy->bufptr+2) = 0;\ 423 *(dpy->bufptr+3) = 1;\ 425 dpy->bufptr += 4;\ 444 if ((dpy->bufptr + SIZEOF(x##name##Req)) > dpy->bufmax)\ 446 req = (x##name##Req *)(dpy->last_req = dpy->bufptr);\ [all...] |
/frameworks/av/media/mtp/ |
MtpPacket.cpp | 70 char* bufptr = buffer; local 73 bufptr += snprintf(bufptr, sizeof(buffer) - (bufptr - buffer), "%02X ", 77 bufptr = buffer; 80 if (bufptr != buffer) {
|