/third_party/python/Objects/stringlib/ |
H A D | localeutil.h | 46 InsertThousandsGrouping_fill(_PyUnicodeWriter *writer, Py_ssize_t *buffer_pos, in InsertThousandsGrouping_fill() argument 62 *buffer_pos -= thousands_sep_len; in InsertThousandsGrouping_fill() 65 _PyUnicode_FastCopyCharacters(writer->buffer, *buffer_pos, in InsertThousandsGrouping_fill() 70 *buffer_pos -= n_chars; in InsertThousandsGrouping_fill() 72 _PyUnicode_FastCopyCharacters(writer->buffer, *buffer_pos, in InsertThousandsGrouping_fill() 77 *buffer_pos -= n_zeros; in InsertThousandsGrouping_fill() 80 unicode_fill(kind, data, '0', *buffer_pos, n_zeros); in InsertThousandsGrouping_fill()
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | postprocessor.c | 186 size_t buffer_pos; member 372 if (equals + pp->buffer_pos > pp->buffer_size) in post_process_urlencoded() 377 memcpy (&buf[pp->buffer_pos], &post_data[poff], equals); in post_process_urlencoded() 378 pp->buffer_pos += equals; in post_process_urlencoded() 381 buf[pp->buffer_pos] = '\0'; /* 0-terminate key */ in post_process_urlencoded() 382 pp->buffer_pos = 0; /* reset for next key */ in post_process_urlencoded() 539 if (pp->buffer_pos < 2 + blen) in find_boundary() 541 if (pp->buffer_pos == pp->buffer_size) in find_boundary() 556 dash = memchr (buf, '-', pp->buffer_pos); in find_boundary() 558 (*ioffptr) += pp->buffer_pos; /* ski in find_boundary() [all...] |
/third_party/node/deps/v8/src/profiler/ |
H A D | heap-snapshot-generator.cc | 2787 int buffer_pos) { in utoa_impl() 2795 buffer_pos += number_of_digits; in utoa_impl() 2796 int result = buffer_pos; in utoa_impl() 2799 buffer[--buffer_pos] = '0' + last_digit; in utoa_impl() 2806 static int utoa(T value, const base::Vector<char>& buffer, int buffer_pos) { in utoa() argument 2809 return utoa_impl(unsigned_value, buffer, buffer_pos); in utoa() 2821 int buffer_pos = 0; in SerializeEdge() local 2823 buffer[buffer_pos++] = ','; in SerializeEdge() 2825 buffer_pos = utoa(edge->type(), buffer, buffer_pos); in SerializeEdge() 2786 utoa_impl(T value, const base::Vector<char>& buffer, int buffer_pos) utoa_impl() argument 2853 int buffer_pos = 0; SerializeNode() local 3000 int buffer_pos = 0; SerializeTraceNode() local 3025 SerializePosition(int position, const base::Vector<char>& buffer, int buffer_pos) SerializePosition() argument 3045 int buffer_pos = 0; SerializeTraceNodeInfos() local 3082 int buffer_pos = 0; SerializeSamples() local 3169 int buffer_pos = 0; SerializeLocation() local [all...] |
/third_party/jerryscript/jerry-core/debugger/ |
H A D | debugger.c | 227 size_t buffer_pos = 0; in jerry_debugger_send_scope_chain() local 235 if (buffer_pos == max_byte_count) in jerry_debugger_send_scope_chain() 242 buffer_pos = 0; in jerry_debugger_send_scope_chain() 249 message_type_p->string[buffer_pos++] = JERRY_DEBUGGER_SCOPE_NON_CLOSURE; in jerry_debugger_send_scope_chain() 253 message_type_p->string[buffer_pos++] = JERRY_DEBUGGER_SCOPE_LOCAL; in jerry_debugger_send_scope_chain() 258 message_type_p->string[buffer_pos++] = JERRY_DEBUGGER_SCOPE_CLOSURE; in jerry_debugger_send_scope_chain() 265 message_type_p->string[buffer_pos++] = JERRY_DEBUGGER_SCOPE_GLOBAL; in jerry_debugger_send_scope_chain() 270 message_type_p->string[buffer_pos++] = JERRY_DEBUGGER_SCOPE_WITH; in jerry_debugger_send_scope_chain() 280 jerry_debugger_send (sizeof (jerry_debugger_send_type_t) + buffer_pos); in jerry_debugger_send_scope_chain() 344 size_t *buffer_pos) /**< strin in jerry_debugger_copy_variables_to_string_message() 341 jerry_debugger_copy_variables_to_string_message(uint8_t variable_type, ecma_string_t *value_str, jerry_debugger_send_string_t *message_string_p, size_t *buffer_pos) jerry_debugger_copy_variables_to_string_message() argument 481 size_t buffer_pos = 0; jerry_debugger_send_scope_variables() local [all...] |
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | string-to-double.cc | 568 int buffer_pos = 0; 573 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 574 buffer[buffer_pos++] = static_cast<char>(*current); 618 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 619 buffer[buffer_pos++] = static_cast<char>(*current); 711 buffer + buffer_pos, 725 buffer[buffer_pos++] = '1'; 729 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 730 buffer[buffer_pos] = '\0'; 734 Vector<const char> chars(buffer, buffer_pos); [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | double-conversion-string-to-double.cpp | 589 int buffer_pos = 0; 594 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 595 buffer[buffer_pos++] = static_cast<char>(*current); 639 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 640 buffer[buffer_pos++] = static_cast<char>(*current); 732 buffer + buffer_pos, 746 buffer[buffer_pos++] = '1'; 750 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 751 buffer[buffer_pos] = '\0'; 755 Vector<const char> chars(buffer, buffer_pos); [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | double-conversion-string-to-double.cpp | 589 int buffer_pos = 0; 594 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 595 buffer[buffer_pos++] = static_cast<char>(*current); 639 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 640 buffer[buffer_pos++] = static_cast<char>(*current); 732 buffer + buffer_pos, 746 buffer[buffer_pos++] = '1'; 750 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 751 buffer[buffer_pos] = '\0'; 755 Vector<const char> chars(buffer, buffer_pos); [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | double-conversion-string-to-double.cpp | 589 int buffer_pos = 0; 594 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 595 buffer[buffer_pos++] = static_cast<char>(*current); 639 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 640 buffer[buffer_pos++] = static_cast<char>(*current); 732 buffer + buffer_pos, 746 buffer[buffer_pos++] = '1'; 750 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); 751 buffer[buffer_pos] = '\0'; 755 Vector<const char> chars(buffer, buffer_pos); [all...] |
/third_party/node/deps/v8/src/numbers/ |
H A D | conversions.cc | 549 int buffer_pos = 0; in HandleBaseTenCase() local 551 if (buffer_pos <= kMaxSignificantDigits) { in HandleBaseTenCase() 554 DCHECK_LT(buffer_pos, kBufferSize); in HandleBaseTenCase() 555 buffer[buffer_pos++] = static_cast<char>(*current); in HandleBaseTenCase() 561 SLOW_DCHECK(buffer_pos < kBufferSize); in HandleBaseTenCase() 562 buffer[buffer_pos] = '\0'; in HandleBaseTenCase() 563 base::Vector<const char> buffer_vector(buffer, buffer_pos); in HandleBaseTenCase() 665 int buffer_pos = 0; in InternalStringToDouble() local 699 DCHECK_EQ(buffer_pos, 0); in InternalStringToDouble() 753 DCHECK_LT(buffer_pos, kBufferSiz in InternalStringToDouble() [all...] |
/third_party/FreeBSD/sys/dev/usb/net/ |
H A D | usb_ethernet.c | 218 UINT32 buffer_pos = 0; in ue_recv() local 236 bytes_in_buffer -= buffer_pos; in ue_recv() 243 (UINT8 *)&hw_rxbuf[buffer_pos], bytes_needed_list); in ue_recv() 249 buffer_pos += bytes_needed_list; in ue_recv() 253 (UINT8 *)&hw_rxbuf[buffer_pos], bytes_in_buffer); in ue_recv() 260 buffer_pos = 0; in ue_recv()
|
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
H A D | stream.c | 38 size_t buffer_pos = session->read_buffer_beginning; in SPDYF_stream_new() local 94 session->read_buffer_beginning = buffer_pos; in SPDYF_stream_new()
|
/third_party/jerryscript/jerry-debugger/ |
H A D | jerry_client_main.py | 754 buffer_pos = 1 757 data[buffer_pos: buffer_pos + self.cp_size + 4]) 764 buffer_pos += 6 922 buffer_pos = 1 925 data[buffer_pos: buffer_pos + 4]) 927 buffer_pos += 4
|
/third_party/alsa-utils/aplay/ |
H A D | aplay.c | 133 static int buffer_pos = 0; variable 2346 if (size > chunk_bytes - buffer_pos) 2347 size = chunk_bytes - buffer_pos; 2348 memcpy(audiobuf + buffer_pos, data, size); 2351 buffer_pos += size; 2352 if ((size_t)buffer_pos == chunk_bytes) { 2355 buffer_pos = 0; 2387 if (buffer_pos > 0) { 2389 if (snd_pcm_format_set_silence(hwparams.format, audiobuf + buffer_pos, chunk_bytes - buffer_pos * [all...] |
/third_party/elfutils/src/ |
H A D | elflint.c | 3431 buffer_pos (Elf_Data *data, const unsigned char *p) in buffer_pos() function 3476 idx, section_name (ebl, idx), buffer_pos (data, p)); in check_attributes() 3485 idx, section_name (ebl, idx), buffer_pos (data, p)); in check_attributes() 3497 idx, section_name (ebl, idx), buffer_pos (data, p)); in check_attributes() 3514 idx, section_name (ebl, idx), buffer_pos (data, chunk)); in check_attributes() 3523 idx, section_name (ebl, idx), buffer_pos (data, q)); in check_attributes() 3532 idx, section_name (ebl, idx), buffer_pos (data, q)); in check_attributes() 3547 idx, section_name (ebl, idx), buffer_pos (data, q)); in check_attributes() 3558 idx, section_name (ebl, idx), buffer_pos (data, chunk), subsection_tag); in check_attributes() 3576 idx, section_name (ebl, idx), buffer_pos (dat in check_attributes() [all...] |
/third_party/node/deps/v8/src/parsing/ |
H A D | scanner.h | 146 const uint16_t* buffer_end, size_t buffer_pos) in Utf16CharacterStream() 150 buffer_pos_(buffer_pos) {} in Utf16CharacterStream() 182 // buffer_pos would be the old pos(). 144 Utf16CharacterStream(const uint16_t* buffer_start, const uint16_t* buffer_cursor, const uint16_t* buffer_end, size_t buffer_pos) Utf16CharacterStream() argument
|
H A D | scanner-character-streams.cc | 168 size_t buffer_pos = std::min(buffer_end, pos - chunk.position); in GetDataAt() local 169 return {&chunk.data.get()[buffer_pos], &chunk.data.get()[buffer_end]}; in GetDataAt()
|
/third_party/node/deps/v8/src/codegen/s390/ |
H A D | assembler-s390.h | 1360 byte* buffer_pos() const { return buffer_start_; } in buffer_pos() function in v8::internal::Assembler
|
/third_party/python/Objects/ |
H A D | unicodeobject.c | 9535 Py_ssize_t buffer_pos; in _PyUnicode_InsertThousandsGrouping() local 9553 buffer_pos = writer->pos + n_buffer; in _PyUnicode_InsertThousandsGrouping() 9554 assert(buffer_pos <= PyUnicode_GET_LENGTH(writer->buffer)); in _PyUnicode_InsertThousandsGrouping() 9558 buffer_pos = n_buffer; in _PyUnicode_InsertThousandsGrouping() 9576 InsertThousandsGrouping_fill(writer, &buffer_pos, in _PyUnicode_InsertThousandsGrouping() 9605 InsertThousandsGrouping_fill(writer, &buffer_pos, in _PyUnicode_InsertThousandsGrouping()
|