Home
last modified time | relevance | path

Searched refs:next_pos (Results 1 – 22 of 22) 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/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/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/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux-webvtt.c104 guint next_pos; in webvtt_decode_vttc() local
112 next_pos = gst_byte_reader_get_pos (br) - 8 + atom_size; in webvtt_decode_vttc()
141 if (!gst_byte_reader_set_pos (br, next_pos)) in webvtt_decode_vttc()
177 guint next_pos; in qtdemux_webvtt_decode() local
185 next_pos = gst_byte_reader_get_pos (&br) - 8 + atom_size; in qtdemux_webvtt_decode()
210 if (!gst_byte_reader_set_pos (&br, next_pos)) in qtdemux_webvtt_decode()
/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()
Dflvdec.c704 static int flv_read_metabody(AVFormatContext *s, int64_t next_pos) in flv_read_metabody() argument
755 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/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/gn/src/gn/
Dfunctions.cc1257 size_t next_pos = 0; in RunStringSplit() local
1258 while ((next_pos = str.find(separator, pos)) != std::string::npos) { in RunStringSplit()
1259 strings.push_back(str.substr(pos, next_pos - pos)); in RunStringSplit()
1260 pos = next_pos + separator.length(); in RunStringSplit()
/third_party/flatbuffers/rust/flatbuffers/src/
Dverifier.rs465 let next_pos = offset.saturating_add(pos); in run_verifier() localVariable
466 T::run_verifier(v, next_pos) in run_verifier()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_fragment.cpp378 size_t next_pos = m_shaderio.size(); in do_allocate_reserved_registers() local
379 auto bcol = new ShaderInputVarying(TGSI_SEMANTIC_BCOLOR, col, next_pos); in do_allocate_reserved_registers()
381 col.set_back_color(next_pos); in do_allocate_reserved_registers()
/third_party/gstreamer/gstplugins_bad/ext/hls/
Dgsthlsdemux.c457 GstClockTime next_pos = current_pos + file->duration; in gst_hls_demux_stream_seek() local
459 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()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4725 static void export_vs_varying(isel_context* ctx, int slot, bool is_pos, int* next_pos);
10642 export_vs_varying(isel_context* ctx, int slot, bool is_pos, int* next_pos) in export_vs_varying() argument
10666 exp->valid_mask = ctx->options->chip_class == GFX10 && is_pos && *next_pos == 0; in export_vs_varying()
10670 exp->dest = V_008DFC_SQ_EXP_POS + (*next_pos)++; in export_vs_varying()
10677 export_vs_psiz_layer_viewport_vrs(isel_context* ctx, int* next_pos) in export_vs_psiz_layer_viewport_vrs() argument
10737 exp->valid_mask = ctx->options->chip_class == GFX10 && *next_pos == 0; in export_vs_psiz_layer_viewport_vrs()
10740 exp->dest = V_008DFC_SQ_EXP_POS + (*next_pos)++; in export_vs_psiz_layer_viewport_vrs()
10777 int next_pos = 0; in create_vs_exports() local
10778 export_vs_varying(ctx, VARYING_SLOT_POS, true, &next_pos); in create_vs_exports()
10784 export_vs_psiz_layer_viewport_vrs(ctx, &next_pos); in create_vs_exports()
[all …]