Home
last modified time | relevance | path

Searched refs:buffer_end (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython2/Objects/stringlib/
Dlocaleutil.h51 fill(STRINGLIB_CHAR **digits_end, STRINGLIB_CHAR **buffer_end, in fill() argument
60 *buffer_end -= thousands_sep_len; in fill()
67 (*buffer_end)[i] = thousands_sep[i]; in fill()
70 memcpy(*buffer_end, thousands_sep, thousands_sep_len); in fill()
74 *buffer_end -= n_chars; in fill()
76 memcpy(*buffer_end, *digits_end, n_chars * sizeof(STRINGLIB_CHAR)); in fill()
78 *buffer_end -= n_zeros; in fill()
79 STRINGLIB_FILL(*buffer_end, '0', n_zeros); in fill()
127 STRINGLIB_CHAR *buffer_end = NULL; in _Py_InsertThousandsGrouping() local
140 buffer_end = buffer + n_buffer; in _Py_InsertThousandsGrouping()
[all …]
/external/protobuf/php/src/Google/Protobuf/Internal/
DCodedInputStream.php42 private $buffer_end; variable in Google\\Protobuf\\Internal\\CodedInputStream
61 $this->buffer_end = $end;
78 return $this->buffer_end - $this->current;
84 ($this->buffer_end - $this->current +
95 $this->buffer_end += $this->buffer_size_after_limit;
102 $this->buffer_end -= $this->buffer_size_after_limit;
157 if ($this->current === $this->buffer_end) {
188 if ($this->current === $this->buffer_end) {
268 if ($this->current === $this->buffer_end) {
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DHashing.h387 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
390 if (buffer_ptr + store_size > buffer_end)
407 char *const buffer_end = std::end(buffer);
408 while (first != last && store_and_advance(buffer_ptr, buffer_end,
413 assert(buffer_ptr == buffer_end);
421 while (first != last && store_and_advance(buffer_ptr, buffer_end,
428 std::rotate(buffer, buffer_ptr, buffer_end);
516 char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
517 if (!store_and_advance(buffer_ptr, buffer_end, data)) {
522 size_t partial_store_size = buffer_end - buffer_ptr;
[all …]
/external/llvm/include/llvm/ADT/
DHashing.h387 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
390 if (buffer_ptr + store_size > buffer_end)
407 char *const buffer_end = std::end(buffer);
408 while (first != last && store_and_advance(buffer_ptr, buffer_end,
413 assert(buffer_ptr == buffer_end);
421 while (first != last && store_and_advance(buffer_ptr, buffer_end,
428 std::rotate(buffer, buffer_ptr, buffer_end);
516 char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
517 if (!store_and_advance(buffer_ptr, buffer_end, data)) {
522 size_t partial_store_size = buffer_end - buffer_ptr;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DHashing.h387 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
390 if (buffer_ptr + store_size > buffer_end)
407 char *const buffer_end = std::end(buffer);
408 while (first != last && store_and_advance(buffer_ptr, buffer_end,
413 assert(buffer_ptr == buffer_end);
421 while (first != last && store_and_advance(buffer_ptr, buffer_end,
428 std::rotate(buffer, buffer_ptr, buffer_end);
516 char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
517 if (!store_and_advance(buffer_ptr, buffer_end, data)) {
522 size_t partial_store_size = buffer_end - buffer_ptr;
[all …]
/external/crosvm/devices/src/usb/xhci/
Dscatter_gather_buffer.rs87 let buffer_end = offset + buffer_len; in read() localVariable
88 let cur_buffer = &mut buffer[offset..buffer_end]; in read()
89 offset = buffer_end; in read()
115 let buffer_end = offset + buffer_len; in write() localVariable
116 let cur_buffer = &buffer[offset..buffer_end]; in write()
117 offset = buffer_end; in write()
/external/libvpx/libvpx/vpx_dsp/
Dbitreader.c26 r->buffer_end = buffer + size; in vpx_reader_init()
39 const uint8_t *const buffer_end = r->buffer_end; in vpx_reader_fill() local
44 const size_t bytes_left = buffer_end - buffer; in vpx_reader_fill()
Dbitreader.h45 const uint8_t *buffer_end; member
/external/libaom/libaom/aom_dsp/
Dbitreader.c18 r->buffer_end = buffer + size; in aom_reader_init()
29 const uint8_t *aom_reader_find_end(aom_reader *r) { return r->buffer_end; } in aom_reader_find_end()
40 return ((ptrdiff_t)tell_bytes > r->buffer_end - r->buffer); in aom_reader_has_overflowed()
Dbitreader.h55 const uint8_t *buffer_end; member
/external/cpuinfo/src/linux/
Dmultiline.c39 const char* buffer_end = &buffer[buffer_size]; in cpuinfo_linux_parse_multiline_file() local
44 bytes_read = cpuinfo_mock_read(file, data_start, (size_t) (buffer_end - data_start)); in cpuinfo_linux_parse_multiline_file()
46 bytes_read = read(file, data_start, (size_t) (buffer_end - data_start)); in cpuinfo_linux_parse_multiline_file()
Dcpulist.c152 const char* buffer_end = &buffer[BUFFER_SIZE]; in cpuinfo_linux_parse_cpulist() local
157 bytes_read = cpuinfo_mock_read(file, data_start, (size_t) (buffer_end - data_start)); in cpuinfo_linux_parse_cpulist()
159 bytes_read = read(file, data_start, (size_t) (buffer_end - data_start)); in cpuinfo_linux_parse_cpulist()
/external/clang/include/clang/Rewrite/Frontend/
DFixItRewriter.h102 iterator buffer_end() { return Rewrite.buffer_end(); } in buffer_end() function
/external/libvpx/libvpx/vp8/encoder/
Dboolhuff.h34 unsigned char *buffer_end; member
94 validate_buffer(bc->buffer + bc->pos, 1, bc->buffer_end, bc->error); in vp8_encode_bool()
Dboolhuff.c47 bc->buffer_end = source_end; in vp8_start_encode()
Dbitstream.c172 validate_buffer(w->buffer + w->pos, 1, w->buffer_end, w->error); in vp8_pack_tokens()
223 validate_buffer(w->buffer + w->pos, 1, w->buffer_end, w->error); in vp8_pack_tokens()
264 validate_buffer(w->buffer + w->pos, 1, w->buffer_end, w->error); in vp8_pack_tokens()
/external/v8/src/inspector/
Dv8-string-conversions.cc366 char* buffer_end = &*output.end(); in UTF16ToUTF8() local
370 &characters, characters_end, &buffer, buffer_end, /* strict= */ true); in UTF16ToUTF8()
380 DCHECK_LE(buffer + 3, buffer_end); in UTF16ToUTF8()
/external/clang/include/clang/Rewrite/Core/
DRewriter.h178 buffer_iterator buffer_end() { return RewriteBuffers.end(); } in buffer_end() function
180 const_buffer_iterator buffer_end() const { return RewriteBuffers.end(); } in buffer_end() function
/external/v8/src/parsing/
Dscanner-character-streams.cc165 size_t buffer_end = chunk.length; in GetDataAt() local
166 size_t buffer_pos = Min(buffer_end, pos - chunk.position); in GetDataAt()
167 return {&chunk.data[buffer_pos], &chunk.data[buffer_end]}; in GetDataAt()
Dscanner.h146 const uint16_t* buffer_end, size_t buffer_pos) in Utf16CharacterStream() argument
149 buffer_end_(buffer_end), in Utf16CharacterStream()
/external/clang/lib/Frontend/Rewrite/
DFixItRewriter.cpp91 for (iterator I = buffer_begin(), E = buffer_end(); I != E; ++I) { in WriteFixedFiles()
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader.cc1767 const char *buffer_end = buffer_ + buffer_length_; in ReadEntryPrologue() local
1778 if (length_size > size_t(buffer_end - cursor)) in ReadEntryPrologue()
1791 if (length > size_t(buffer_end - cursor)) in ReadEntryPrologue()
2088 const char *buffer_end = buffer_ + buffer_length_; in Start() local
2096 for (cursor = buffer_; cursor < buffer_end; in Start()
2125 if (fde.end < buffer_end) reporter_->EarlyEHTerminator(fde.offset); in Start()
/external/clang/lib/Rewrite/
DRewriter.cpp448 for (buffer_iterator I = buffer_begin(), E = buffer_end(); I != E; ++I) { in overwriteChangedFiles()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc343 size_t buffer_end = buffer_start_ + buffer_.size(); in Read() local
345 if (offset < buffer_end && offset >= buffer_start_) { in Read()
346 copy_size = std::min(n, static_cast<size_t>(buffer_end - offset)); in Read()
/external/clang/lib/Lex/
DLiteralSupport.cpp1077 uint32_t *buffer_end = buffer_begin + codepoint_buffer.size(); in CharLiteralParser() local
1109 &buffer_begin, buffer_end, strictConversion); in CharLiteralParser()

12