Home
last modified time | relevance | path

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

12

/external/v4l2_codec2/tests/c2_e2e_test/jni/
Dencoded_data_helper.cpp53 std::string GetBytesForNextAU(const std::string& data, size_t* next_pos) { in GetBytesForNextAU() argument
56 size_t start_pos = *next_pos; in GetBytesForNextAU()
60 *next_pos = data.size(); in GetBytesForNextAU()
74 *next_pos = pos; in GetBytesForNextAU()
80 std::string GetBytesForNextFrame(const std::string& data, size_t* next_pos) { in GetBytesForNextFrame() argument
82 size_t pos = *next_pos; in GetBytesForNextFrame()
90 *next_pos = pos + frame_size; in GetBytesForNextFrame()
141 size_t next_pos = 0; in SliceToFragments() local
143 while (next_pos < data.size()) { in SliceToFragments()
148 fragment->data = GetBytesForNextAU(data, &next_pos); in SliceToFragments()
[all …]
/external/openscreen/third_party/abseil/src/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()
/external/tensorflow/third_party/absl/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()
/external/webrtc/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()
/external/angle/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()
/external/rust/crates/grpcio-sys/grpc/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()
/external/cronet/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()
/external/libtextclassifier/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()
/external/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()
/external/google-breakpad/src/common/linux/
Dsymbol_upload.cc52 string::size_type cur_pos = 0, next_pos = 0; in TokenizeByChar() local
53 while ((next_pos = source_string.find(c, cur_pos)) != string::npos) { in TokenizeByChar()
54 if (next_pos != cur_pos) in TokenizeByChar()
55 results->push_back(source_string.substr(cur_pos, next_pos - cur_pos)); in TokenizeByChar()
56 cur_pos = next_pos + 1; in TokenizeByChar()
58 if (cur_pos < source_string.size() && next_pos != cur_pos) in TokenizeByChar()
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_generator.cc129 std::size_t next_pos = options[i].second.find_first_of("+", pos); in Generate() local
130 if (next_pos == std::string::npos) { in Generate()
131 next_pos = options[i].second.size(); in Generate()
133 if (next_pos > pos) in Generate()
135 .insert(options[i].second.substr(pos, next_pos - pos)); in Generate()
136 pos = next_pos + 1; in Generate()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dgenerator.cc129 std::size_t next_pos = options[i].second.find_first_of("+", pos); in Generate() local
130 if (next_pos == std::string::npos) { in Generate()
131 next_pos = options[i].second.size(); in Generate()
133 if (next_pos > pos) in Generate()
135 .insert(options[i].second.substr(pos, next_pos - pos)); in Generate()
136 pos = next_pos + 1; in Generate()
/external/rust/crates/libz-sys/src/zlib-ng/
Dmatch_tpl.h215 Pos pos, next_pos; in LONGEST_MATCH() local
222 next_pos = cur_match; in LONGEST_MATCH()
225 if (pos < next_pos) { in LONGEST_MATCH()
229 next_pos = pos; in LONGEST_MATCH()
234 cur_match = next_pos; in LONGEST_MATCH()
/external/libxaac/decoder/
Dixheaacd_env_calc.h65 WORD32 start_pos, WORD32 next_pos,
93 WORD next_pos, WORD shift, FLAG low_pow_flag);
97 WORD next_pos, WORD shift, FLAG low_pow_flag);
111 VOID ixheaacd_enery_calc_per_subband_dec(WORD32 start_pos, WORD32 next_pos,
120 WORD32 start_pos, WORD32 next_pos, WORD32 sub_band_start,
Dixheaacd_env_calc.c1094 WORD32 next_pos, WORD32 shift, in ixheaacd_adjust_scale_dec() argument
1106 for (l = start_pos; l < next_pos; l++) { in ixheaacd_adjust_scale_dec()
1115 for (l = start_pos; l < next_pos; l++) { in ixheaacd_adjust_scale_dec()
1125 for (l = start_pos; l < next_pos; l++) { in ixheaacd_adjust_scale_dec()
1137 for (l = start_pos; l < next_pos; l++) { in ixheaacd_adjust_scale_dec()
1155 WORD32 next_pos, FLAG low_pow_flag) { in ixheaacd_expsubbandsamples_dec() argument
1170 for (l = start_pos; l < next_pos; l++) { in ixheaacd_expsubbandsamples_dec()
1182 for (l = start_pos; l < next_pos; l++) { in ixheaacd_expsubbandsamples_dec()
1204 VOID ixheaacd_enery_calc_per_subband_dec(WORD32 start_pos, WORD32 next_pos, in ixheaacd_enery_calc_per_subband_dec() argument
1220 WORD32 num_cols = next_pos - start_pos; in ixheaacd_enery_calc_per_subband_dec()
[all …]
/external/rust/crates/regex/src/
Dbacktrack.rs156 at = self.input.at(at.next_pos()); in exec_()
237 at = self.input.at(at.next_pos()); in step()
245 at = self.input.at(at.next_pos()); in step()
254 at = self.input.at(at.next_pos()); in step()
/external/jsoncpp/devtools/
Dantglob.py70 next_pos = 0
76 if match.start(0) != next_pos:
90 next_pos = match.end()
/external/deqp-deps/amber/src/
Dtype_parser.cc41 size_t next_pos = data.rfind('_', cur_pos); in Parse() local
42 if (next_pos == std::string::npos) { in Parse()
50 if (!ProcessChunk(data.substr(next_pos + 1, cur_pos - next_pos))) in Parse()
53 cur_pos = next_pos - 1; in Parse()
/external/libxaac/decoder/armv7/
Dixheaacd_function_selector_arm_non_neon.c115 WORD32 start_pos, WORD32 next_pos, WORD32 shift,
120 WORD32 start_pos, WORD32 next_pos,
124 (WORD32 start_pos, WORD32 next_pos, WORD32 sub_band_start, WORD32 sub_band_end,
Dixheaacd_function_selector_armv7.c126 WORD32 start_pos, WORD32 next_pos, WORD32 shift,
131 WORD32 start_pos, WORD32 next_pos,
135 (WORD32 start_pos, WORD32 next_pos, WORD32 sub_band_start, WORD32 sub_band_end,
/external/aac/libSBRdec/src/
Denv_calc.cpp179 int highSubband, int start_pos, int next_pos,
185 UCHAR *freqBandTable, int start_pos, int next_pos,
1870 int next_pos, /*!< End of time rage (QMF-timeslot) */ in rescaleSubbandSamples() argument
1877 for (int l = start_pos; l < next_pos; l++) { in rescaleSubbandSamples()
1882 for (int l = start_pos; l < next_pos; l++) { in rescaleSubbandSamples()
1915 int next_pos /*!< End of time rage (QMF-timeslot) */ in maxSubbandSample() argument
1924 for (int l = start_pos; l < next_pos; l++) { in maxSubbandSample()
1938 for (int l = start_pos; l < next_pos; l++) { in maxSubbandSample()
1990 int next_pos, /*!< Last QMF-slot of current envelope + 1 */ in calcNrgPerSubband() argument
2002 invWidth = FX_DBL2FX_SGL(GetInvInt(next_pos - start_pos)); in calcNrgPerSubband()
[all …]
/external/libxaac/decoder/generic/
Dixheaacd_function_selector_generic.c128 WORD32 start_pos, WORD32 next_pos, WORD32 shift,
133 WORD32 start_pos, WORD32 next_pos,
137 (WORD32 start_pos, WORD32 next_pos, WORD32 sub_band_start, WORD32 sub_band_end,
/external/libxaac/decoder/x86_64/
Dixheaacd_function_selector_x86_64.c124 WORD32 start_pos, WORD32 next_pos, WORD32 shift,
129 WORD32 start_pos, WORD32 next_pos,
133 (WORD32 start_pos, WORD32 next_pos, WORD32 sub_band_start, WORD32 sub_band_end,
/external/libxaac/decoder/armv8/
Dixheaacd_function_selector_armv8.c124 WORD32 start_pos, WORD32 next_pos, WORD32 shift,
129 WORD32 start_pos, WORD32 next_pos,
133 (WORD32 start_pos, WORD32 next_pos, WORD32 sub_band_start, WORD32 sub_band_end,
/external/libxaac/decoder/x86/
Dixheaacd_function_selector_x86.c124 WORD32 start_pos, WORD32 next_pos, WORD32 shift,
129 WORD32 start_pos, WORD32 next_pos,
133 (WORD32 start_pos, WORD32 next_pos, WORD32 sub_band_start, WORD32 sub_band_end,

12