Home
last modified time | relevance | path

Searched refs:next_pos (Results 1 – 19 of 19) sorted by relevance

/third_party/boost/libs/regex/example/snippets/
Dpartial_regex_grep.cpp35 const char* next_pos = 0; variable
42 next_pos = m[0].first; in grep_callback()
52 next_pos = buf + sizeof(buf); in search()
57 std::ptrdiff_t leftover = (buf + sizeof(buf)) - next_pos; in search()
59 std::ptrdiff_t size = next_pos - buf; in search()
61 std::memmove(buf, next_pos, leftover); in search()
68 next_pos = buf + sizeof(buf); in search()
Dpartial_regex_iterate.cpp40 const char* next_pos = buf + sizeof(buf); in search() local
47 std::ptrdiff_t leftover = (buf + sizeof(buf)) - next_pos; in search()
49 std::ptrdiff_t size = next_pos - buf; in search()
51 std::memmove(buf, next_pos, leftover); in search()
58 next_pos = buf + sizeof(buf); in search()
72 next_pos = (*a)[0].first; in search()
/third_party/abseil-cpp/absl/strings/
Dstr_replace_benchmark.cc75 size_t next_pos = static_cast<size_t>(-1); in SetUpStrings() local
80 if (needlepos != std::string::npos && needlepos < next_pos) { in SetUpStrings()
81 next_pos = needlepos; in SetUpStrings()
86 if (next_pos > after_replacing_many->size()) break; in SetUpStrings()
87 after_replacing_many->replace(next_pos, strlen(needle_string), in SetUpStrings()
89 next_pos += strlen(replacement_string); in SetUpStrings()
90 pos = next_pos; in SetUpStrings()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstr_replace_benchmark.cc75 size_t next_pos = static_cast<size_t>(-1); in SetUpStrings() local
80 if (needlepos != std::string::npos && needlepos < next_pos) { in SetUpStrings()
81 next_pos = needlepos; in SetUpStrings()
86 if (next_pos > after_replacing_many->size()) break; in SetUpStrings()
87 after_replacing_many->replace(next_pos, strlen(needle_string), in SetUpStrings()
89 next_pos += strlen(replacement_string); in SetUpStrings()
90 pos = next_pos; in SetUpStrings()
/third_party/ninja/src/
Dstring_piece_util.cc29 const char* next_pos = find(pos, input.end(), sep); in SplitStringPiece() local
30 if (next_pos == input.end()) { in SplitStringPiece()
34 elems.push_back(StringPiece(pos, next_pos - pos)); in SplitStringPiece()
35 pos = next_pos + 1; in SplitStringPiece()
/third_party/ffmpeg/libavformat/
Dbink.c92 uint32_t pos, next_pos; in read_header() local
205 next_pos = avio_rl32(pb); in read_header()
207 pos = next_pos; in read_header()
210 next_pos = bink->file_size; in read_header()
213 next_pos = avio_rl32(pb); in read_header()
214 next_keyframe = next_pos & 1; in read_header()
217 next_pos &= ~1; in read_header()
219 if (next_pos <= pos) { in read_header()
223 if ((ret = av_add_index_entry(vst, pos, i, next_pos - pos, 0, in read_header()
Dsccdec.c82 int64_t current_pos, next_pos; in scc_read_header() local
104 next_pos = ff_text_pos(&tr); in scc_read_header()
145 current_pos = next_pos; in scc_read_header()
Dflvdec.c701 static int flv_read_metabody(AVFormatContext *s, int64_t next_pos) in flv_read_metabody() argument
753 if (amf_parse_object(s, astream, vstream, buffer, next_pos, 0) < 0) in flv_read_metabody()
/third_party/boost/boost/metaparse/v1/
Done_char.hpp32 struct next_pos : struct
62 unchecked<S, next_pos<boost::mpl::front<S>, Pos> >
/third_party/boost/libs/function_types/example/
Dmacro_type_args_example.cpp32 typedef typename mpl::next<Curr>::type next_pos; in get() typedef
35 return mpl_seq_to_string_impl<next_pos,End>::get( in get()
/third_party/boost/libs/regex/doc/
Dpartial_matches.qbk102 const char* next_pos = buf + sizeof(buf);
109 unsigned leftover = (buf + sizeof(buf)) - next_pos;
111 unsigned size = next_pos - buf;
113 std::memmove(buf, next_pos, leftover);
119 // reset next_pos:
120 next_pos = buf + sizeof(buf);
134 next_pos = (*a)[0].first;
/third_party/jsoncpp/devtools/
Dantglob.py70 next_pos = 0
76 if match.start(0) != next_pos:
90 next_pos = match.end()
/third_party/uboot/u-boot-2020.01/drivers/pci/
Dpci.c513 u8 next_pos; in pci_find_cap() local
516 pci_hose_read_config_byte(hose, dev, pos, &next_pos); in pci_find_cap()
517 if (next_pos < CAP_START_POS) in pci_find_cap()
519 next_pos &= ~3; in pci_find_cap()
520 pos = (int) next_pos; in pci_find_cap()
/third_party/skia/experimental/skrive/src/reader/
DBinaryReader.cpp25 const auto next_pos = fStream->getPosition() + sz, in validateSize() local
28 return next_pos <= block_end; in validateSize()
/third_party/boost/libs/container/bench/
Dbench_adaptive_node_pool.cpp170 iterator_t next_pos(ranges_to_erase[r]); in list_test_template() local
172 while(n--){ ++next_pos; } in list_test_template()
173 ranges_to_erase.push_back(next_pos); in list_test_template()
Dbench_alloc_stable_vector_burst.cpp143 typename vector_type::iterator next_pos(ranges_to_erase[r]); in stable_vector_test_template() local
145 while(n--){ ++next_pos; } in stable_vector_test_template()
146 ranges_to_erase.push_back(next_pos); in stable_vector_test_template()
/third_party/python/Lib/
Dmailbox.py910 next_pos = 0
912 line_pos = next_pos
914 next_pos = self._file.tell()
916 starts.append(next_pos)
918 line_pos = next_pos
920 next_pos = self._file.tell()
1337 next_pos = 0
1340 line_pos = next_pos
1342 next_pos = self._file.tell()
1346 starts.append(next_pos)
/third_party/gstreamer/gstplugins_bad/ext/hls/
Dgsthlsdemux.c434 GstClockTime next_pos = current_pos + file->duration; in gst_hls_demux_stream_seek() local
436 if (next_pos <= ts && ts < next_pos + file->duration) { in gst_hls_demux_stream_seek()
/third_party/quickjs/
Dlibregexp.c2452 uint32_t next_pos, quant_min, quant_max; in lre_exec_backtrack() local
2457 next_pos = get_u32(pc); in lre_exec_backtrack()
2462 pc += (int)next_pos; in lre_exec_backtrack()