Searched refs:bufptr (Results 1 - 25 of 44) sorted by relevance

12

/external/libcups/filter/
H A Dcommandtops.c135 *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...]
H A Draster.c49 *bufptr, /* Current (read) position in buffer */ member in struct:_cups_raster_s
1204 unsigned char *bufptr; /* Pointer into write buffer */ local
1214 bufptr = realloc(r->buffer, len);
1216 bufptr = malloc(len);
1218 if (!bufptr)
1221 r->buffer = bufptr;
1229 for (bufptr = r->buffer, count = len; count > 1; count -= 2, bufptr += 2)
1231 bufptr[1] = *p++;
1232 bufptr[
1669 unsigned char *bufptr; /* Temporary buffer pointer */ local
[all...]
/external/libcups/cups/
H A Dsnprintf.c34 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
[all...]
H A Dipp-support.c622 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 < bufen
2317 char *bufptr, /* Position in buffer */ local
[all...]
H A Ddebug.c336 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...]
H A Ddest-localization.c451 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
495 char *bufptr; /* Pointer into string */ local
[all...]
H A Dppd-emit.c300 *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 < bufen
[all...]
H A Dstring.c212 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
399 _cupsStrScand(const char *buf, char **bufptr, struct lconv *loc) argument
[all...]
H A Dppd-attr.c146 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';
H A Dsnmp.c927 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, bufen
1085 unsigned char *bufptr; /* Pointer into buffer */ local
[all...]
H A Dipp.c1161 *bufptr; /* Pointer into buffer */ local
1163 bufptr = buffer + strlen(buffer) - 1;
1166 while (bufptr > bufmax)
1168 if (*bufptr & 0x80)
1170 while ((*bufptr & 0xc0) == 0x80 && bufptr > buffer)
1171 bufptr --;
1174 bufptr --;
1177 *bufptr = '\0';
2947 *bufptr; /* Pointe local
4487 *bufptr; /* Pointer into buffer */ local
5482 *bufptr; /* Pointer into buffer */ local
6546 char *bufptr, /* Pointer into buffer */ local
[all...]
H A Dgetifaddrs.c31 *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;
H A Dppd-localize.c246 *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
[all...]
H A Dlangprintf.c34 *bufptr, /* Pointer into buffer */ local
68 bufptr = buffer + strlen(buffer);
71 bufptr = buffer;
73 snprintf(bufptr, sizeof(buffer) - (size_t)(bufptr - buffer),
H A Dfile.c489 char *bufptr, /* Current position in buffer */ local
522 bufptr = buffer;
527 if (*path == ';' || (*path == ':' && ((bufptr - buffer) > 1 || !isalpha(buffer[0] & 255))))
532 if (bufptr > buffer && bufptr[-1] != '/' && bufptr < bufend)
533 *bufptr++ = '/';
535 strlcpy(bufptr, filename, (size_t)(bufend - bufptr));
547 bufptr
[all...]
/external/clang/test/CodeGen/
H A Dglobalinit.c24 static char *bufptr = buf; local
26 return c ? buf : bufptr;
/external/ltp/testcases/kernel/io/ltp-aiodio/
H A Ddio_truncate.c69 void *bufptr; local
71 if (posix_memalign(&bufptr, 4096, 64 * 1024)) {
86 r = read(fd, bufptr, 64 * 1024);
88 if ((bufoff = check_zero(bufptr, r))) {
104 void *bufptr; local
115 if (posix_memalign(&bufptr, 4096, 64 * 1024)) {
120 memset(bufptr, fill, 64 * 1024);
123 if ((w = write(fd, bufptr, 64 * 1024)) != 64 * 1024) {
H A Ddio_append.c99 void *bufptr; local
110 if (posix_memalign(&bufptr, 4096, 64 * 1024)) {
115 memset(bufptr, 0, 64 * 1024);
117 if ((w = write(fd, bufptr, 64 * 1024)) != 64 * 1024) {
H A Daiodio_append.c98 void *bufptr; local
118 if (posix_memalign(&bufptr, 4096, AIO_SIZE)) {
122 memset(bufptr, 0, AIO_SIZE);
123 io_prep_pwrite(&iocb_array[i], fd, bufptr, AIO_SIZE, offset);
H A Ddio_sparse.c59 void *bufptr; local
71 if (posix_memalign(&bufptr, align, writesize)) {
77 memset(bufptr, 0, writesize);
79 if ((w = write(fd, bufptr, writesize)) != writesize) {
H A Daiodio_sparse.c98 void *bufptr; local
100 if (posix_memalign(&bufptr, align, writesize)) {
106 memset(bufptr, 0, writesize);
107 io_prep_pwrite(iocbs[i], fd, bufptr, writesize, offset);
/external/libvpx/libvpx/vp8/decoder/
H A Ddboolhuff.c35 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/aio/aio02/
H A Daio_tio.c94 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,
/external/syslinux/gpxe/src/drivers/net/ath5k/
H A Dbase.h97 struct ath5k_buf *bufptr; /* allocated buffer ptr */ member in struct:ath5k_softc
/external/syslinux/gpxe/src/drivers/net/
H A Dnatsemi.h15 uint32_t bufptr; member in struct:natsemi_tx
21 uint32_t bufptr; member in struct:natsemi_rx

Completed in 594 milliseconds

12