/external/libcups/cups/ |
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';
|
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;
|
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),
|
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...] |
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 | 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...] |
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...] |
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...] |
testlang.c | 171 *bufptr; /* Pointer to ".UTF-8" in POSIX locale */ local 218 if ((bufptr = strstr(buffer, ".UTF-8")) != NULL) 219 buflen = (size_t)(bufptr - buffer);
|
file.c | 492 char *bufptr, /* Current position in buffer */ local 525 bufptr = buffer; 530 if (*path == ';' || (*path == ':' && ((bufptr - buffer) > 1 || !isalpha(buffer[0] & 255)))) 535 if (bufptr > buffer && bufptr[-1] != '/' && bufptr < bufend) 536 *bufptr++ = '/'; 538 strlcpy(bufptr, filename, (size_t)(bufend - bufptr)); 550 bufptr = buffer [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...] |
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...] |
/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;
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
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) {
|
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) {
|
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);
|
dio_sparse.c | 60 void *bufptr; local 63 TEST(posix_memalign(&bufptr, align, writesize)); 69 memset(bufptr, 0, writesize); 72 if ((w = write(fd, bufptr, writesize)) != writesize) {
|
aiodio_sparse.c | 91 void *bufptr; local 93 TEST(posix_memalign(&bufptr, align, writesize)); 98 memset(bufptr, 0, writesize); 99 io_prep_pwrite(iocbs[i], fd, bufptr, writesize, offset);
|
/external/clang/test/CodeGen/ |
globalinit.c | 24 static char *bufptr = buf; local 26 return c ? buf : bufptr;
|
/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/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,
|
/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) {
|
/external/syslinux/core/lwip/src/netif/ppp/ |
vj.c | 597 u8_t *bufptr; local 611 bufptr = n0->payload; 613 MEMCPY(q->payload, bufptr, q->len); 614 bufptr += q->len;
|
/external/vboot_reference/cgpt/ |
cgpt_find.c | 23 uint8_t *bufptr = params->comparebuf; local 30 ssize_t bytes_read = read(fd, bufptr, count); 35 bufptr += bytes_read;
|
/external/syslinux/gpxe/src/drivers/net/ath5k/ |
base.h | 97 struct ath5k_buf *bufptr; /* allocated buffer ptr */ member in struct:ath5k_softc
|