Home
last modified time | relevance | path

Searched refs:buffer_pos (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Dpostprocessor.c186 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; /* skip entire buffer */ in find_boundary()
[all …]
/third_party/python/Objects/stringlib/
Dlocaleutil.h46 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/jerryscript/jerry-core/debugger/
Ddebugger.c227 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) /**< string data position of the message */ in jerry_debugger_copy_variables_to_string_message() argument
[all …]
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudioecho.c360 self->buffer_pos = 0; in gst_audio_echo_setup()
374 self->buffer_pos = 0; in gst_audio_echo_stop()
392 guint buffer_pos = self->buffer_pos; \
396 guint read_pos = ((echo_offset + buffer_pos) % buffer_size_frames) * channels; \
397 guint write_pos = (buffer_pos % buffer_size_frames) * channels; \
411 buffer_pos = write_pos / channels; \
414 guint read_pos = ((echo_offset + buffer_pos) % buffer_size_frames) * channels; \
415 guint write_pos = (buffer_pos % buffer_size_frames) * channels; \
447 buffer_pos = write_pos / channels; \
449 self->buffer_pos = buffer_pos; \
[all …]
Daudioecho.h57 guint buffer_pos; member
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/
Drwhelper.c20 buffer->buffer_pos = 0; in SDLVisualTest_RWHelperResetBuffer()
30 if(buffer->buffer_pos == buffer->buffer_width) in SDLVisualTest_RWHelperReadChar()
33 buffer->buffer_pos = 0; in SDLVisualTest_RWHelperReadChar()
37 buffer->buffer_pos++; in SDLVisualTest_RWHelperReadChar()
38 return buffer->buffer[buffer->buffer_pos - 1]; in SDLVisualTest_RWHelperReadChar()
/third_party/skia/third_party/externals/icu/source/i18n/
Ddouble-conversion-string-to-double.cpp589 int buffer_pos = 0; in StringToIeee() local
594 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
595 buffer[buffer_pos++] = static_cast<char>(*current); in StringToIeee()
639 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
640 buffer[buffer_pos++] = static_cast<char>(*current); in StringToIeee()
732 buffer + buffer_pos, in StringToIeee()
746 buffer[buffer_pos++] = '1'; in StringToIeee()
750 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
751 buffer[buffer_pos] = '\0'; in StringToIeee()
755 Vector<const char> chars(buffer, buffer_pos); in StringToIeee()
[all …]
/third_party/icu/icu4c/source/i18n/
Ddouble-conversion-string-to-double.cpp589 int buffer_pos = 0; in StringToIeee() local
594 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
595 buffer[buffer_pos++] = static_cast<char>(*current); in StringToIeee()
639 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
640 buffer[buffer_pos++] = static_cast<char>(*current); in StringToIeee()
732 buffer + buffer_pos, in StringToIeee()
746 buffer[buffer_pos++] = '1'; in StringToIeee()
750 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
751 buffer[buffer_pos] = '\0'; in StringToIeee()
755 Vector<const char> chars(buffer, buffer_pos); in StringToIeee()
[all …]
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
Dstring-to-double.cc568 int buffer_pos = 0; in StringToIeee() local
573 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
574 buffer[buffer_pos++] = static_cast<char>(*current); in StringToIeee()
618 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
619 buffer[buffer_pos++] = static_cast<char>(*current); in StringToIeee()
711 buffer + buffer_pos, in StringToIeee()
725 buffer[buffer_pos++] = '1'; in StringToIeee()
729 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
730 buffer[buffer_pos] = '\0'; in StringToIeee()
734 Vector<const char> chars(buffer, buffer_pos); in StringToIeee()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddouble-conversion.cpp691 int buffer_pos = 0; in StringToIeee() local
727 ASSERT(buffer_pos == 0); in StringToIeee()
746 ASSERT(buffer_pos == 0); in StringToIeee()
799 ASSERT(buffer_pos < kBufferSize); in StringToIeee()
800 buffer[buffer_pos++] = static_cast<char>(*current); in StringToIeee()
847 ASSERT(buffer_pos < kBufferSize); in StringToIeee()
848 buffer[buffer_pos++] = static_cast<char>(*current); in StringToIeee()
937 buffer + buffer_pos, in StringToIeee()
949 buffer[buffer_pos++] = '1'; in StringToIeee()
953 ASSERT(buffer_pos < kBufferSize); in StringToIeee()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Ddouble-conversion-string-to-double.cpp589 int buffer_pos = 0; in StringToIeee() local
594 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
595 buffer[buffer_pos++] = static_cast<char>(*current); in StringToIeee()
639 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
640 buffer[buffer_pos++] = static_cast<char>(*current); in StringToIeee()
732 buffer + buffer_pos, in StringToIeee()
746 buffer[buffer_pos++] = '1'; in StringToIeee()
750 DOUBLE_CONVERSION_ASSERT(buffer_pos < kBufferSize); in StringToIeee()
751 buffer[buffer_pos] = '\0'; in StringToIeee()
755 Vector<const char> chars(buffer, buffer_pos); in StringToIeee()
[all …]
/third_party/FreeBSD/sys/dev/usb/net/
Dusb_ethernet.c220 UINT32 buffer_pos = 0; in ue_recv() local
238 bytes_in_buffer -= buffer_pos; in ue_recv()
245 (UINT8 *)&hw_rxbuf[buffer_pos], bytes_needed_list); in ue_recv()
251 buffer_pos += bytes_needed_list; in ue_recv()
255 (UINT8 *)&hw_rxbuf[buffer_pos], bytes_in_buffer); in ue_recv()
262 buffer_pos = 0; in ue_recv()
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
Dstream.c38 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/
Djerry_client_main.py754 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/flutter/skia/third_party/externals/sdl/visualtest/include/
DSDL_visualtest_rwhelper.h30 int buffer_pos; member
/third_party/alsa-utils/aplay/
Daplay.c129 static int buffer_pos = 0; variable
2295 if (size > chunk_bytes - buffer_pos) in voc_pcm_write()
2296 size = chunk_bytes - buffer_pos; in voc_pcm_write()
2297 memcpy(audiobuf + buffer_pos, data, size); in voc_pcm_write()
2300 buffer_pos += size; in voc_pcm_write()
2301 if ((size_t)buffer_pos == chunk_bytes) { in voc_pcm_write()
2304 buffer_pos = 0; in voc_pcm_write()
2336 if (buffer_pos > 0) { in voc_pcm_flush()
2338 …if (snd_pcm_format_set_silence(hwparams.format, audiobuf + buffer_pos, chunk_bytes - buffer_pos * … in voc_pcm_flush()
2365 buffer_pos = 0; in voc_play()
/third_party/elfutils/src/
Delflint.c3431 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 (data, chunk)); in check_attributes()
[all …]
DChangeLog271 (buffer_pos): ...as static toplevel function taking an extra
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dswh-lv2-port-groups.patch374 plugin_data->buffer_pos = buffer_pos;
/third_party/python/Objects/
Dunicodeobject.c9862 Py_ssize_t buffer_pos; in _PyUnicode_InsertThousandsGrouping() local
9880 buffer_pos = writer->pos + n_buffer; in _PyUnicode_InsertThousandsGrouping()
9881 assert(buffer_pos <= PyUnicode_GET_LENGTH(writer->buffer)); in _PyUnicode_InsertThousandsGrouping()
9885 buffer_pos = n_buffer; in _PyUnicode_InsertThousandsGrouping()
9903 InsertThousandsGrouping_fill(writer, &buffer_pos, in _PyUnicode_InsertThousandsGrouping()
9932 InsertThousandsGrouping_fill(writer, &buffer_pos, in _PyUnicode_InsertThousandsGrouping()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h59518 size_t buffer_pos; member