/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...] |
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...] |
dest-localization.c | 487 char *bufptr; /* Pointer into buffer */ local 496 bufptr = cups_scan_strings(buffer); 498 if (*bufptr != '\"') 501 *bufptr++ = '\0'; 503 while (*bufptr && *bufptr != '\"') 504 bufptr ++; 506 if (!*bufptr) 509 *str = bufptr + 1; 510 bufptr = cups_scan_strings(bufptr) 531 char *bufptr; \/* Pointer into string *\/ local [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 | 931 unsigned char *bufptr, /* Pointer into the data */ local 943 bufptr = buffer; 946 if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_SEQUENCE) 948 else if (asn1_get_length(&bufptr, bufend) == 0) 950 else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_INTEGER) 952 else if ((length = asn1_get_length(&bufptr, bufend)) == 0) 954 else if ((packet->version = asn1_get_integer(&bufptr, bufend, length)) 957 else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_OCTET_STRING) 959 else if ((length = asn1_get_length(&bufptr, bufend)) == 0) 963 asn1_get_string(&bufptr, bufend, length, packet->community 1089 unsigned char *bufptr; \/* Pointer into buffer *\/ local [all...] |
ipp.c | 1161 *bufptr; \/* Pointer into buffer *\/ local 2968 *bufptr; \/* Pointer into buffer *\/ local 4508 *bufptr; \/* Pointer into buffer *\/ local 5503 *bufptr; \/* Pointer into buffer *\/ local 6569 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...] |
langprintf.c | 34 *bufptr, /* Pointer into buffer */ local 68 bufptr = buffer + strlen(buffer); 71 bufptr = buffer; 73 snprintf(bufptr, sizeof(buffer) - (size_t)(bufptr - buffer),
|
/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 | 84 void *bufptr; local 104 TEST(posix_memalign(&bufptr, 4096, AIO_SIZE)); 109 memset(bufptr, 0, AIO_SIZE); 110 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);
|
lmshare.h | 16 NET_API_STATUS WINAPI NetShareEnum(LMSTR servername,DWORD level,LPBYTE *bufptr,DWORD prefmaxlen,LPDWORD entriesread,LPDWORD totalentries,LPDWORD resume_handle); 17 NET_API_STATUS WINAPI NetShareEnumSticky(LMSTR servername,DWORD level,LPBYTE *bufptr,DWORD prefmaxlen,LPDWORD entriesread,LPDWORD totalentries,LPDWORD resume_handle); 18 NET_API_STATUS WINAPI NetShareGetInfo(LMSTR servername,LMSTR netname,DWORD level,LPBYTE *bufptr); 130 NET_API_STATUS WINAPI NetSessionEnum(LMSTR servername,LMSTR UncClientName,LMSTR username,DWORD level,LPBYTE *bufptr,DWORD prefmaxlen,LPDWORD entriesread,LPDWORD totalentries,LPDWORD resume_handle); 132 NET_API_STATUS WINAPI NetSessionGetInfo(LMSTR servername,LMSTR UncClientName,LMSTR username,DWORD level,LPBYTE *bufptr); 186 NET_API_STATUS WINAPI NetConnectionEnum(LMSTR servername,LMSTR qualifier,DWORD level,LPBYTE *bufptr,DWORD prefmaxlen,LPDWORD entriesread,LPDWORD totalentries,LPDWORD resume_handle); 207 NET_API_STATUS WINAPI NetFileEnum(LMSTR servername,LMSTR basepath,LMSTR username,DWORD level,LPBYTE *bufptr,DWORD prefmaxlen,LPDWORD entriesread,LPDWORD totalentries,PDWORD_PTR resume_handle); 208 NET_API_STATUS WINAPI NetFileGetInfo(LMSTR servername,DWORD fileid,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...] |
/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) {
|