Home
last modified time | relevance | path

Searched refs:bufend (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/fs/doio/
Dwrite_log.c266 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()
Ddoio.c3648 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()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Ddboolhuff.c60 const unsigned char *bufend; in vp8dx_bool_decoder_fill() local
63 bufend = br->user_buffer_end; in vp8dx_bool_decoder_fill()
68 VP8DX_BOOL_DECODER_FILL (count, value, bufptr, bufend); in vp8dx_bool_decoder_fill()
/third_party/libcoap/src/
Dresource.c176 const uint8_t *bufend = buf + *buflen; local
268 PRINT_COND_WITH_OFFSET(p, bufend, offset, ',', written);
271 left = bufend - p; /* calculate available space */
627 const uint8_t *bufend = buf + *len; local
634 PRINT_COND_WITH_OFFSET(p, bufend, *offset, '<', *len);
635 PRINT_COND_WITH_OFFSET(p, bufend, *offset, '/', *len);
637 COPY_COND_WITH_OFFSET(p, bufend, *offset,
640 PRINT_COND_WITH_OFFSET(p, bufend, *offset, '>', *len);
644 PRINT_COND_WITH_OFFSET(p, bufend, *offset, ';', *len);
646 COPY_COND_WITH_OFFSET(p, bufend, *offset,
[all …]
/third_party/lz4/programs/
Dutil.h655 char* bufend = buf + bufSize; in UTIL_createFileList() local
656 nbFiles += (unsigned)UTIL_prepareFileList(inputNames[i], &buf, &pos, &bufend); in UTIL_createFileList()
658 assert(bufend > buf); in UTIL_createFileList()
659 bufSize = (size_t)(bufend - buf); in UTIL_createFileList()
/third_party/nghttp2/src/
Dshrpx_client_handler.cc1342 auto bufend = rb_.pos() + std::min(MAX_PROXY_LINELEN, rb_.rleft()); in proxy_protocol_read() local
1345 std::find_first_of(rb_.pos(), bufend, std::begin(chrs), std::end(chrs)); in proxy_protocol_read()
1347 if (end == bufend || *end == '\0' || end == rb_.pos() || *(end - 1) != '\r') { in proxy_protocol_read()
/third_party/cups/
Dohos-add-openssl.patch1593 + *bufend = buffer + bufsize - 1; // End of buffer
1599 + while (*filename && bufptr < bufend)
1609 + if (bufptr < bufend && filename[-1] != '.')
1612 + strlcpy(bufptr, ext, (size_t)(bufend - bufptr + 1));
/third_party/cups-filters/cupsfilters/
Dppdgenerator.c211 char *bufend, /* I - End of string buffer */ in _cupsStrFormatd() argument
256 tempptr < tempdec && bufptr < bufend; in _cupsStrFormatd()
261 if (*tempptr && bufptr < bufend) { in _cupsStrFormatd()
264 while (*tempptr && bufptr < bufend) in _cupsStrFormatd()
270 strlcpy(buf, temp, (size_t)(bufend - buf + 1)); in _cupsStrFormatd()
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dupb.c9904 const char *bufend = buf + len; in parse_number_from_buffer() local
9925 if (errno == ERANGE || end != bufend) { in parse_number_from_buffer()
9936 if (end != bufend) { in parse_number_from_buffer()
9949 if (errno == ERANGE || end != bufend) { in parse_number_from_buffer()
9958 if (end != bufend) { in parse_number_from_buffer()
9983 if (errno == ERANGE || end != bufend) { in parse_number_from_buffer()