Home
last modified time | relevance | path

Searched refs:current_position (Results 1 – 18 of 18) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-mem.c297 iterator_p->current_position = 0; in parser_list_iterator_init()
315 result = iterator_p->current_p->bytes + iterator_p->current_position; in parser_list_iterator_next()
316 iterator_p->current_position += iterator_p->list_p->item_size; in parser_list_iterator_next()
320 if (iterator_p->current_position >= iterator_p->list_p->data.last_position) in parser_list_iterator_next()
323 iterator_p->current_position = 0; in parser_list_iterator_next()
326 else if (iterator_p->current_position >= iterator_p->list_p->page_size) in parser_list_iterator_next()
329 iterator_p->current_position = 0; in parser_list_iterator_next()
617 if (length < iterator->current_position) in parser_stack_iterator_skip()
619 iterator->current_position -= length; in parser_stack_iterator_skip()
623 iterator->current_position = PARSER_STACK_PAGE_SIZE - (length - iterator->current_position); in parser_stack_iterator_skip()
[all …]
Djs-parser-expr.c375 iterator.current_position = context_p->stack.last_position; in parser_append_object_literal_item()
379 current_item_type_p = iterator.current_p->bytes + iterator.current_position - 1; in parser_append_object_literal_item()
388 iterator.current_position--; in parser_append_object_literal_item()
389 if (iterator.current_position == 0) in parser_append_object_literal_item()
392 iterator.current_position = PARSER_STACK_PAGE_SIZE; in parser_append_object_literal_item()
395 uint32_t current_item_index = iterator.current_p->bytes[iterator.current_position - 1]; in parser_append_object_literal_item()
397 iterator.current_position--; in parser_append_object_literal_item()
398 if (iterator.current_position == 0) in parser_append_object_literal_item()
401 iterator.current_position = PARSER_STACK_PAGE_SIZE; in parser_append_object_literal_item()
404 … current_item_index |= ((uint32_t) iterator.current_p->bytes[iterator.current_position - 1]) << 8; in parser_append_object_literal_item()
[all …]
Djs-parser-internal.h342 size_t current_position; /**< current position on the page */ member
360 size_t current_position; /**< current position on the page */ member
Djs-parser-statm.c314 iterator->current_position = context_p->stack.last_position; in parser_stack_iterator_init()
325 …JERRY_ASSERT (iterator->current_position > 0 && iterator->current_position <= PARSER_STACK_PAGE_SI… in parser_stack_iterator_read_uint8()
326 return iterator->current_p->bytes[iterator->current_position - 1]; in parser_stack_iterator_read_uint8()
/third_party/elfio/elfio/
Delfio_strings.hpp61 Elf_Word current_position = 0; in add_string() local
65 current_position = in add_string()
68 if ( current_position == 0 ) { in add_string()
71 current_position++; in add_string()
77 return current_position; in add_string()
Delfio_modinfo.hpp75 Elf_Word current_position = 0; in add_attribute() local
79 current_position = (Elf_Word)modinfo_section->get_size(); in add_attribute()
87 return current_position; in add_attribute()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DCodedInputStream.php272 $current_position = $this->total_bytes_read -
274 if ($current_position >= $this->total_bytes_limit) {
329 $current_position = $this->current();
335 $byte_limit <= PHP_INT_MAX - $current_position &&
336 $byte_limit <= $this->current_limit - $current_position) {
337 $this->current_limit = $current_position + $byte_limit;
/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.cc120 int current_position = CurrentPosition(); in PushLimit() local
128 byte_limit <= INT_MAX - current_position && in PushLimit()
129 byte_limit < current_limit_ - current_position)) { in PushLimit()
130 current_limit_ = current_position + byte_limit; in PushLimit()
174 int current_position = CurrentPosition(); in BytesUntilLimit() local
176 return current_limit_ - current_position; in BytesUntilLimit()
182 int current_position = CurrentPosition(); in SetTotalBytesLimit() local
183 total_bytes_limit_ = std::max(current_position, total_bytes_limit); in SetTotalBytesLimit()
512 int current_position = total_bytes_read_ - buffer_size_after_limit_; in ReadTagSlow() local
513 if (current_position >= total_bytes_limit_) { in ReadTagSlow()
[all …]
/third_party/ffmpeg/libavcodec/
Dcbs_sei_syntax_template.c160 int start_position, current_position, bits_written; in FUNC() local
170 current_position = bit_position(rw); in FUNC()
171 bits_written = current_position - start_position; in FUNC()
/third_party/node/deps/v8/src/regexp/
Dregexp-interpreter.cc78 int stack_depth, int current_position, in MaybeTraceInterpreter() argument
87 PrintF(format, pc - code_base, stack_depth, current_position, current_char, in MaybeTraceInterpreter()
/third_party/mesa3d/src/amd/compiler/tests/
Dcheck_output.py385 state.current_position = check.position
/third_party/pcre2/pcre2/src/
Dpcre2test.c6243 PCRE2_SIZE current_position; in callout_function() local
6336 current_position = (cb->current_position >= cb->start_match)? in callout_function()
6337 cb->current_position : cb->start_match; in callout_function()
6342 current_position - cb->start_match, utf, f); in callout_function()
6346 PCHARSV(cb->subject, current_position, cb->subject_length - current_position, in callout_function()
Dpcre2.h.in527 PCRE2_SIZE current_position; /* Where we currently are in the subject */ \
Dpcre2.h.generic527 PCRE2_SIZE current_position; /* Where we currently are in the subject */ \
Dpcre2_dfa_match.c370 cb->current_position = (PCRE2_SIZE)(ptr - mb->start_subject); in do_callout_dfa()
Dpcre2_match.c301 cb->current_position = (PCRE2_SIZE)(Feptr - mb->start_subject); in do_callout()
Dpcre2_jit_compile.c9715 callout_block->current_position = (PCRE2_SPTR)callout_block->offset_vector - begin; in do_callout_jit()
/third_party/pcre2/pcre2/doc/
Dpcre2.txt4668 PCRE2_SIZE current_position;
4759 The current_position field contains the offset within the subject of