/external/libcups/cups/ |
D | snmp.c | 38 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 */ in asn1_debug() local 796 bufend = buffer + len; in asn1_debug() 798 while (buffer < bufend) in asn1_debug() 804 value_type = (unsigned char)asn1_get_type(&buffer, bufend); in asn1_debug() [all …]
|
D | ipp-support.c | 623 *bufend, /* End of buffer */ in ippAttributeString() local 640 bufend = buffer + bufsize - 1; in ippAttributeString() 642 bufend = NULL; in ippAttributeString() 648 if (buffer && bufptr < bufend) in ippAttributeString() 659 if (buffer && bufptr < bufend) in ippAttributeString() 660 strlcpy(bufptr, ptr, (size_t)(bufend - bufptr + 1)); in ippAttributeString() 666 if (buffer && bufptr < bufend) in ippAttributeString() 667 bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%d", val->integer); in ippAttributeString() 673 if (buffer && bufptr < bufend) in ippAttributeString() 674 strlcpy(bufptr, val->boolean ? "true" : "false", (size_t)(bufend - bufptr + 1)); in ippAttributeString() [all …]
|
D | snprintf.c | 35 *bufend, /* Pointer to end of buffer */ in _cups_vsnprintf() local 55 bufend = buffer + bufsize - 1; in _cups_vsnprintf() 67 if (bufptr && bufptr < bufend) *bufptr++ = *format; in _cups_vsnprintf() 186 if ((bufptr + templen) > bufend) in _cups_vsnprintf() 188 strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); in _cups_vsnprintf() 189 bufptr = bufend; in _cups_vsnprintf() 217 if ((bufptr + templen) > bufend) in _cups_vsnprintf() 219 strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); in _cups_vsnprintf() 220 bufptr = bufend; in _cups_vsnprintf() 241 if ((bufptr + templen) > bufend) in _cups_vsnprintf() [all …]
|
D | debug.c | 337 *bufend, /* Pointer to end of buffer */ in _cups_safe_vsnprintf() local 357 bufend = buffer + bufsize - 1; in _cups_safe_vsnprintf() 369 if (bufptr < bufend) in _cups_safe_vsnprintf() 483 strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); in _cups_safe_vsnprintf() 513 strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); in _cups_safe_vsnprintf() 528 strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); in _cups_safe_vsnprintf() 542 if ((bufptr + width) > bufend) in _cups_safe_vsnprintf() 543 width = (int)(bufend - bufptr); in _cups_safe_vsnprintf() 560 for (bufend --; *s && bufptr < bufend; s ++) in _cups_safe_vsnprintf() 600 if ((bufptr + 2) >= bufend) in _cups_safe_vsnprintf() [all …]
|
D | ppd-emit.c | 615 *bufend; /* End of buffer */ in ppdEmitString() local 757 bufend = buffer + bufsize - 1; in ppdEmitString() 780 for (cptr = choices[i]->code; *cptr && bufptr < bufend;) in ppdEmitString() 810 bufptr = _cupsStrFormatd(bufptr, bufend, in ppdEmitString() 816 snprintf(bufptr, (size_t)(bufend - bufptr), "%d", cparam->current.custom_int); in ppdEmitString() 825 strlcpy(bufptr, cparam->current.custom_string, (size_t)(bufend - bufptr)); in ppdEmitString() 845 strlcpy(bufptr, choices[i]->code, (size_t)(bufend - bufptr + 1)); in ppdEmitString() 856 strlcpy(bufptr, "[{\n", (size_t)(bufend - bufptr + 1)); in ppdEmitString() 881 strlcpy(bufptr, "%%BeginFeature: *CustomPageSize True\n", (size_t)(bufend - bufptr + 1)); in ppdEmitString() 964 bufptr = _cupsStrFormatd(bufptr, bufend, values[pos], loc); in ppdEmitString() [all …]
|
D | getifaddrs.c | 32 *bufend; /* End of buffer */ in _cups_getifaddrs() local 86 for (bufptr = buffer, bufend = buffer + conf.ifc_len; in _cups_getifaddrs() 87 bufptr < bufend; in _cups_getifaddrs()
|
D | string.c | 208 char *bufend, /* I - End of string buffer */ in _cupsStrFormatd() argument 257 tempptr < tempdec && bufptr < bufend; in _cupsStrFormatd() 262 if (*tempptr && bufptr < bufend) in _cupsStrFormatd() 266 while (*tempptr && bufptr < bufend) in _cupsStrFormatd() 274 strlcpy(buf, temp, (size_t)(bufend - buf + 1)); in _cupsStrFormatd()
|
D | ppd-localize.c | 247 *bufend, /* Pointer to end of buffer */ in ppdLocalizeIPPReason() local 352 bufend = buffer + bufsize - 1; in ppdLocalizeIPPReason() 363 for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;) in ppdLocalizeIPPReason() 373 while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend) in ppdLocalizeIPPReason() 438 for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;) in ppdLocalizeIPPReason() 447 while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend) in ppdLocalizeIPPReason()
|
D | file.c | 526 *bufend; /* End of buffer */ in cupsFileFind() local 557 bufend = buffer + bufsize - 1; in cupsFileFind() 568 if (bufptr > buffer && bufptr[-1] != '/' && bufptr < bufend) in cupsFileFind() 571 strlcpy(bufptr, filename, (size_t)(bufend - bufptr)); in cupsFileFind() 585 else if (bufptr < bufend) in cupsFileFind() 595 if (bufptr > buffer && bufptr[-1] != '/' && bufptr < bufend) in cupsFileFind() 598 strlcpy(bufptr, filename, (size_t)(bufend - bufptr)); in cupsFileFind()
|
D | string-private.h | 202 extern char *_cupsStrFormatd(char *buf, char *bufend, double number,
|
D | tls-gnutls.c | 1053 *bufend = buffer + bufsize - 1; /* End of buffer */ in http_gnutls_make_path() local 1059 while (*filename && bufptr < bufend) in http_gnutls_make_path() 1069 if (bufptr < bufend) in http_gnutls_make_path() 1072 strlcpy(bufptr, ext, (size_t)(bufend - bufptr + 1)); in http_gnutls_make_path()
|
D | http.c | 1175 *bufend; /* Pointer to end of buffer */ in httpGets() local 1295 for (bufptr = http->buffer, bufend = http->buffer + http->used; in httpGets() 1296 lineptr < lineend && bufptr < bufend;) in httpGets()
|
D | ipp.c | 6480 *bufend; /* End of buffer */ in ipp_get_code() local 6487 for (bufptr = buffer, bufend = buffer + bufsize - 1; in ipp_get_code() 6488 *value && bufptr < bufend; in ipp_get_code()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | write_log.c | 266 char buf[BSIZE * 32], *bufend, *cp, *bufstart; in wlog_scan_backward() local 290 bufend = buf + sizeof(buf); in wlog_scan_backward() 302 bufstart = bufend - (offset + leftover); in wlog_scan_backward() 318 nbytes = read(fd, bufstart, bufend - bufstart - leftover); in wlog_scan_backward() 324 (int)(bufend - bufstart - leftover), in wlog_scan_backward() 329 cp = bufend; in wlog_scan_backward() 342 memcpy(bufend - leftover, bufstart, leftover); in wlog_scan_backward() 363 memcpy(bufend - leftover, bufstart, leftover); in wlog_scan_backward()
|
D | doio.c | 3648 char *cp, *bufend, *ep; in doio_pat_check() local 3662 bufend = buf + length; in doio_pat_check() 3664 while (cp < bufend) { in doio_pat_check() 3666 nb = bufend - cp; in doio_pat_check()
|
/external/lz4/programs/ |
D | util.h | 423 char* bufend = buf + LIST_SIZE_INCREASE; in UTIL_createFileList() local 431 if (buf + pos + len >= bufend) { in UTIL_createFileList() 432 ptrdiff_t newListSize = (bufend - buf) + LIST_SIZE_INCREASE; in UTIL_createFileList() 434 bufend = buf + newListSize; in UTIL_createFileList() 437 if (buf + pos + len < bufend) { in UTIL_createFileList() 438 strncpy(buf + pos, inputNames[i], bufend - (buf + pos)); in UTIL_createFileList() 443 nbFiles += UTIL_prepareFileList(inputNames[i], &buf, &pos, &bufend); in UTIL_createFileList() 457 if (buf + pos > bufend) { free(buf); free((void*)fileTable); return NULL; } in UTIL_createFileList()
|
/external/libdivsufsort/lib/ |
D | sssort.c | 548 saidx_t *a, *b, *c, *bufend; in ss_mergeforward() local 552 bufend = buf + (middle - first) - 1; in ss_mergeforward() 560 if(bufend <= b) { *bufend = t; return; } in ss_mergeforward() 567 while(b < bufend) { *a++ = *b, *b++ = *a; } in ss_mergeforward() 576 if(bufend <= b) { *bufend = t; return; } in ss_mergeforward() 583 while(b < bufend) { *a++ = *b, *b++ = *a; } in ss_mergeforward() 599 saidx_t *a, *b, *c, *bufend; in ss_mergebackward() local 604 bufend = buf + (last - middle) - 1; in ss_mergebackward() 608 if(*bufend < 0) { p1 = PA + ~*bufend; x |= 1; } in ss_mergebackward() 609 else { p1 = PA + *bufend; } in ss_mergebackward() [all …]
|
/external/cn-cbor/test/ |
D | test.c | 115 char *bufend; in main() local 120 dump(cb, buf, &bufend, 0); in main() 121 *bufend = 0; in main()
|
/external/curl/lib/ |
D | mime.c | 348 p->bufend = 0; in cleanup_encoder_state() 357 size_t insize = st->bufend - st->bufbeg; in encoder_nop_read() 380 size_t cursize = st->bufend - st->bufbeg; in encoder_7bit_read() 407 while(st->bufbeg < st->bufend) { in encoder_base64_read() 421 if(size < 4 || st->bufend - st->bufbeg < 3) in encoder_base64_read() 442 switch(st->bufend - st->bufbeg) { in encoder_base64_read() 450 if(++st->bufbeg != st->bufend) { in encoder_base64_read() 495 if(n >= st->bufend && ateof) in qp_lookahead_eol() 497 if(n + 2 > st->bufend) in qp_lookahead_eol() 522 while(st->bufbeg < st->bufend) { in encoder_qp_read() [all …]
|
D | mime.h | 76 size_t bufend; /* First unused byte index in input buffer. */ member
|
/external/libcups/filter/ |
D | raster.c | 50 *bufend; /* End of current (read) buffer */ member 1725 ssize_t end = r->bufend - r->buffer;/* Offset to current end of buffer */ in cups_raster_read() 1738 r->bufend = rptr + end; in cups_raster_read() 1746 for (total = 0, remaining = (int)(r->bufend - r->bufptr); in cups_raster_read() 1752 …%p", CUPS_LLCAST count, CUPS_LLCAST remaining, (void *)buf, (void *)r->bufptr, (void *)r->bufend)); in cups_raster_read() 1763 r->iostart += (size_t)(r->bufend - r->buffer); in cups_raster_read() 1771 r->bufend = r->buffer + remaining; in cups_raster_read()
|
D | pstops.c | 2218 *bufend; /* End of buffer */ in parse_text() local 2235 bufend = buffer + bufsize - 1; in parse_text() 2237 while (*start && bufptr < bufend) in parse_text() 2266 i <= 3 && isdigit(start[i] & 255) && bufptr < bufend; in parse_text() 2282 if (bufptr == bufend) in parse_text()
|
/external/python/cpython2/Objects/ |
D | intobject.c | 1166 char buf[sizeof(long)*CHAR_BIT/3+6], *p, *bufend; in int_to_decimal_string() local 1169 p = bufend = buf + sizeof(buf); in int_to_decimal_string() 1177 return PyString_FromStringAndSize(p, bufend - p); in int_to_decimal_string()
|