Searched refs:bufend (Results 1 - 25 of 29) sorted by relevance

12

/external/libcups/cups/
H A Dsnmp.c38 unsigned char *bufend,
41 unsigned char *bufend,
44 unsigned char *bufend);
46 unsigned char *bufend,
50 unsigned char *bufend);
52 unsigned char *bufend);
732 unsigned char *bufend; /* End of buffer */ local
796 bufend = buffer + len;
798 while (buffer < bufend)
804 value_type = (unsigned char)asn1_get_type(&buffer, bufend);
932 *bufend; /* End of data */ local
1228 asn1_get_integer( unsigned char **buffer, unsigned char *bufend, unsigned length) argument
1256 asn1_get_length(unsigned char **buffer, unsigned char *bufend) argument
1291 asn1_get_oid( unsigned char **buffer, unsigned char *bufend, unsigned length, int *oid, int oidsize) argument
1345 asn1_get_packed( unsigned char **buffer, unsigned char *bufend) argument
1375 asn1_get_string( unsigned char **buffer, unsigned char *bufend, unsigned length, char *string, size_t strsize) argument
1418 asn1_get_type(unsigned char **buffer, unsigned char *bufend) argument
[all...]
H A Dipp-support.c623 *bufend, /* End of buffer */ local
640 bufend = buffer + bufsize - 1;
642 bufend = NULL;
648 if (buffer && bufptr < bufend)
659 if (buffer && bufptr < bufend)
660 strlcpy(bufptr, ptr, (size_t)(bufend - bufptr + 1));
666 if (buffer && bufptr < bufend)
667 bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%d", val->integer);
673 if (buffer && bufptr < bufend)
674 strlcpy(bufptr, val->boolean ? "true" : "false", (size_t)(bufend
2318 *bufend, /* End of buffer */ local
[all...]
H A Dsnprintf.c35 *bufend, /* Pointer to end of buffer */ local
55 bufend = buffer + bufsize - 1;
67 if (bufptr && bufptr < bufend) *bufptr++ = *format;
186 if ((bufptr + templen) > bufend)
188 strlcpy(bufptr, temp, (size_t)(bufend - bufptr));
189 bufptr = bufend;
217 if ((bufptr + templen) > bufend)
219 strlcpy(bufptr, temp, (size_t)(bufend - bufptr));
220 bufptr = bufend;
241 if ((bufptr + templen) > bufend)
[all...]
H A Ddebug.c337 *bufend, /* Pointer to end of buffer */ local
357 bufend = buffer + bufsize - 1;
369 if (bufptr < bufend)
483 strlcpy(bufptr, temp, (size_t)(bufend - bufptr));
513 strlcpy(bufptr, temp, (size_t)(bufend - bufptr));
528 strlcpy(bufptr, temp, (size_t)(bufend - bufptr));
542 if ((bufptr + width) > bufend)
543 width = (int)(bufend - bufptr);
560 for (bufend --; *s && bufptr < bufend;
[all...]
H A Dppd-emit.c615 *bufend; /* End of buffer */ local
757 bufend = buffer + bufsize - 1;
780 for (cptr = choices[i]->code; *cptr && bufptr < bufend;)
810 bufptr = _cupsStrFormatd(bufptr, bufend,
816 snprintf(bufptr, (size_t)(bufend - bufptr), "%d", cparam->current.custom_int);
825 strlcpy(bufptr, cparam->current.custom_string, (size_t)(bufend - bufptr));
845 strlcpy(bufptr, choices[i]->code, (size_t)(bufend - bufptr + 1));
856 strlcpy(bufptr, "[{\n", (size_t)(bufend - bufptr + 1));
881 strlcpy(bufptr, "%%BeginFeature: *CustomPageSize True\n", (size_t)(bufend - bufptr + 1));
964 bufptr = _cupsStrFormatd(bufptr, bufend, value
[all...]
H A Dgetifaddrs.c32 *bufend; /* End of buffer */ local
86 for (bufptr = buffer, bufend = buffer + conf.ifc_len;
87 bufptr < bufend;
H A Dstring.c208 char *bufend, /* I - End of string buffer */
257 tempptr < tempdec && bufptr < bufend;
262 if (*tempptr && bufptr < bufend)
266 while (*tempptr && bufptr < bufend)
274 strlcpy(buf, temp, (size_t)(bufend - buf + 1));
207 _cupsStrFormatd(char *buf, char *bufend, double number, struct lconv *loc) argument
H A Dppd-localize.c247 *bufend, /* Pointer to end of buffer */ local
352 bufend = buffer + bufsize - 1;
363 for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;)
373 while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend)
438 for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;)
447 while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend)
H A Dstring-private.h203 extern char *_cupsStrFormatd(char *buf, char *bufend, double number,
H A Dfile.c493 *bufend; /* End of buffer */ local
524 bufend = buffer + bufsize - 1;
535 if (bufptr > buffer && bufptr[-1] != '/' && bufptr < bufend)
538 strlcpy(bufptr, filename, (size_t)(bufend - bufptr));
552 else if (bufptr < bufend)
562 if (bufptr > buffer && bufptr[-1] != '/' && bufptr < bufend)
565 strlcpy(bufptr, filename, (size_t)(bufend - bufptr));
H A Dtls-gnutls.c1054 *bufend = buffer + bufsize - 1; /* End of buffer */ local
1060 while (*filename && bufptr < bufend)
1070 if (bufptr < bufend)
1073 strlcpy(bufptr, ext, (size_t)(bufend - bufptr + 1));
H A Dhttp.c1161 *bufend; /* Pointer to end of buffer */ local
1281 for (bufptr = http->buffer, bufend = http->buffer + http->used;
1282 lineptr < lineend && bufptr < bufend;)
H A Dipp.c6570 *bufend; /* End of buffer */ local
6577 for (bufptr = buffer, bufend = buffer + bufsize - 1;
6578 *value && bufptr < bufend;
/external/ltp/testcases/kernel/fs/doio/
H A Dwrite_log.c266 char buf[BSIZE * 32], *bufend, *cp, *bufstart; local
290 bufend = buf + sizeof(buf);
302 bufstart = bufend - (offset + leftover);
318 nbytes = read(fd, bufstart, bufend - bufstart - leftover);
324 (int)(bufend - bufstart - leftover),
329 cp = bufend;
342 memcpy(bufend - leftover, bufstart, leftover);
363 memcpy(bufend - leftover, bufstart, leftover);
H A Ddoio.c3648 char *cp, *bufend, *ep; local
3662 bufend = buf + length;
3664 while (cp < bufend) {
3666 nb = bufend - cp;
/external/lz4/programs/
H A Dutil.h423 char* bufend = buf + LIST_SIZE_INCREASE; local
431 if (buf + pos + len >= bufend) {
432 ptrdiff_t newListSize = (bufend - buf) + LIST_SIZE_INCREASE;
434 bufend = buf + newListSize;
437 if (buf + pos + len < bufend) {
438 strncpy(buf + pos, inputNames[i], bufend - (buf + pos));
443 nbFiles += UTIL_prepareFileList(inputNames[i], &buf, &pos, &bufend);
457 if (buf + pos > bufend) { free(buf); free((void*)fileTable); return NULL; }
/external/libdivsufsort/lib/
H A Dsssort.c548 saidx_t *a, *b, *c, *bufend; local
552 bufend = buf + (middle - first) - 1;
560 if(bufend <= b) { *bufend = t; return; }
567 while(b < bufend) { *a++ = *b, *b++ = *a; }
576 if(bufend <= b) { *bufend = t; return; }
583 while(b < bufend) { *a++ = *b, *b++ = *a; }
599 saidx_t *a, *b, *c, *bufend; local
604 bufend
[all...]
/external/curl/lib/
H A Dmime.h76 size_t bufend; /* First unused byte index in input buffer. */ member in struct:__anon3988
H A Dmime.c348 p->bufend = 0;
357 size_t insize = st->bufend - st->bufbeg;
380 size_t cursize = st->bufend - st->bufbeg;
407 while(st->bufbeg < st->bufend) {
421 if(size < 4 || st->bufend - st->bufbeg < 3)
442 switch(st->bufend - st->bufbeg) {
450 if(++st->bufbeg != st->bufend) {
495 if(n >= st->bufend && ateof)
497 if(n + 2 > st->bufend)
522 while(st->bufbeg < st->bufend) {
[all...]
/external/libcups/filter/
H A Draster.c50 *bufend; /* End of current (read) buffer */ member in struct:_cups_raster_s
1578 ssize_t end = r->bufend - r->buffer;/* Offset to current end of buffer */
1591 r->bufend = rptr + end;
1599 for (total = 0, remaining = (int)(r->bufend - r->bufptr);
1605 DEBUG_printf(("6cups_raster_read: count=" CUPS_LLFMT ", remaining=" CUPS_LLFMT ", buf=%p, bufptr=%p, bufend=%p", CUPS_LLCAST count, CUPS_LLCAST remaining, (void *)buf, (void *)r->bufptr, (void *)r->bufend));
1620 r->bufend = r->buffer + remaining;
H A Dpstops.c2219 *bufend; /* End of buffer */ local
2236 bufend = buffer + bufsize - 1;
2238 while (bufptr < bufend)
2267 i <= 3 && isdigit(start[i] & 255) && bufptr < bufend;
2283 if (bufptr == bufend)
/external/python/cpython2/Objects/
H A Dintobject.c1166 char buf[sizeof(long)*CHAR_BIT/3+6], *p, *bufend; local
1169 p = bufend = buf + sizeof(buf);
1177 return PyString_FromStringAndSize(p, bufend - p);
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 382 milliseconds

12