Home
last modified time | relevance | path

Searched refs:start_pos (Results 1 - 25 of 99) sorted by relevance

1234

/third_party/node/deps/v8/src/heap/cppgc/
H A Dname-trait.cc29 const auto start_pos = raw.rfind("T = ") + 4; in GetNameFromTypeSignature() local
30 DCHECK_NE(std::string::npos, start_pos); in GetNameFromTypeSignature()
31 const auto len = raw.length() - start_pos - 1; in GetNameFromTypeSignature()
32 const std::string name = raw.substr(start_pos, len).c_str(); in GetNameFromTypeSignature()
/third_party/ninja/src/
H A Dmsvc_helper-win32.cc27 size_t start_pos = 0; in Replace() local
28 while ((start_pos = result.find(find, start_pos)) != string::npos) { in Replace()
29 result.replace(start_pos, find.length(), replace); in Replace()
30 start_pos += replace.length(); in Replace()
/third_party/ffmpeg/libavcodec/
H A Dvima.c90 for (int start_pos = 0; start_pos < 64; start_pos++) { in predict_table_init()
93 for (table_pos = 0, dest_pos = start_pos; in predict_table_init()
100 if (start_pos & count) in predict_table_init()
H A Datrac3plusdsp.c160 pos = (envelope->start_pos << 2) - reg_offset; in waves_synth()
164 envelope->start_pos != envelope->stop_pos) { in waves_synth()
198 tones_next->pend_env.start_pos < tones_next->pend_env.stop_pos) { in ff_atrac3p_generate_tones()
200 tones_next->curr_env.start_pos = tones_next->pend_env.start_pos + 32; in ff_atrac3p_generate_tones()
203 tones_next->curr_env.start_pos = tones_now->pend_env.start_pos; in ff_atrac3p_generate_tones()
206 tones_next->curr_env.start_pos = 0; in ff_atrac3p_generate_tones()
210 tones_now->pend_env.stop_pos >= tones_next->curr_env.start_pos) { in ff_atrac3p_generate_tones()
223 reg2_env_nonzero = (tones_next->curr_env.start_pos > in ff_atrac3p_generate_tones()
[all...]
H A Datrac1.c113 unsigned int start_pos, ref_pos = 0, pos = 0; in at1_imdct_block() local
141 start_pos = 0; in at1_imdct_block()
144 at1_imdct(q, &q->spec[pos], &su->spectrum[0][ref_pos + start_pos], nbits, band_num); in at1_imdct_block()
147 q->vector_fmul_window(&q->bands[band_num][start_pos], prev_buf, in at1_imdct_block()
148 &su->spectrum[0][ref_pos + start_pos], ff_sine_32, 16); in at1_imdct_block()
150 prev_buf = &su->spectrum[0][ref_pos+start_pos + 16]; in at1_imdct_block()
151 start_pos += block_size; in at1_imdct_block()
H A Dav1_parse.h108 int64_t *obu_size, int *start_pos, int *type, in parse_obu_header()
141 *start_pos = get_bits_count(&gb) / 8; in parse_obu_header()
143 size = *obu_size + *start_pos; in parse_obu_header()
107 parse_obu_header(const uint8_t *buf, int buf_size, int64_t *obu_size, int *start_pos, int *type, int *temporal_id, int *spatial_id) parse_obu_header() argument
H A Dav1_parse.c32 int start_pos, type, temporal_id, spatial_id; in ff_av1_extract_obu() local
35 len = parse_obu_header(buf, length, &obu_size, &start_pos, in ff_av1_extract_obu()
44 obu->data = buf + start_pos; in ff_av1_extract_obu()
/third_party/skia/third_party/externals/freetype/src/sdf/
H A Dftsdf.c287 * start_pos ::
311 FT_26D6_Vec start_pos; member
705 edge->start_pos = contour->last_pos; in sdf_line_to()
744 edge->start_pos = contour->last_pos; in sdf_conic_to()
786 edge->start_pos = contour->last_pos; in sdf_cubic_to()
895 cbox.xMin = edge.start_pos.x < cbox.xMin in get_control_box()
896 ? edge.start_pos.x in get_control_box()
898 cbox.xMax = edge.start_pos.x > cbox.xMax in get_control_box()
899 ? edge.start_pos.x in get_control_box()
902 cbox.yMin = edge.start_pos in get_control_box()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dtime-smoother_2.c49 double start_pos; member
50 /* System time corresponding to start_pos */
155 s->start_pos = (double)byte_count; in pa_smoother_2_put()
181 byte_difference = (double)byte_count - s->start_pos; in pa_smoother_2_put()
252 s->start_pos += ((double)byte_count - s->start_pos) / (time_stamp - s->start_time) * iteration_time; in pa_smoother_2_put()
279 /* Don't use pa_bytes_to_usec(), u->start_pos needs not be on a sample boundary */ in pa_smoother_2_get_delay()
280 return (int64_t)(((double)byte_count - s->start_pos) / s->frame_size / s->rate * PA_USEC_PER_SEC) - now; in pa_smoother_2_get_delay()
294 current_time = (pa_usec_t)(s->start_pos / s->frame_size / s->rate * PA_USEC_PER_SEC); in pa_smoother_2_get()
349 s->start_pos in pa_smoother_2_reset()
[all...]
/third_party/ffmpeg/libavformat/
H A Dsauce.c37 uint64_t start_pos = avio_size(pb) - 128; in ff_sauce_read() local
39 avio_seek(pb, start_pos, SEEK_SET); in ff_sauce_read()
86 avio_seek(pb, start_pos - 64*nb_comments - 5, SEEK_SET); in ff_sauce_read()
H A Dav1.c47 int start_pos, type, temporal_id, spatial_id; in av1_filter_obus() local
48 int len = parse_obu_header(buf, end - buf, &obu_size, &start_pos, in av1_filter_obus()
376 int start_pos, type, temporal_id, spatial_id; in ff_av1_parse_seq_header() local
377 int len = parse_obu_header(buf, size, &obu_size, &start_pos, in ff_av1_parse_seq_header()
387 return parse_sequence_header(seq, buf + start_pos, obu_size); in ff_av1_parse_seq_header()
431 int start_pos, type, temporal_id, spatial_id; in ff_isom_write_av1c() local
432 int len = parse_obu_header(buf, size, &obu_size, &start_pos, in ff_isom_write_av1c()
446 ret = parse_sequence_header(&seq_params, buf + start_pos, obu_size); in ff_isom_write_av1c()
H A Dwtvenc.c595 static int64_t write_fat_sector(AVFormatContext *s, int64_t start_pos, int nb_sectors, int sector_bits, int depth) in write_fat_sector() argument
597 int64_t start_sector = start_pos >> WTV_SECTOR_BITS; in write_fat_sector()
725 static int finish_file(AVFormatContext *s, enum WtvFileIndex index, int64_t start_pos) in finish_file() argument
735 w->length = (end_pos - start_pos); in finish_file()
770 w->first_sector = write_fat_sector(s, start_pos, nb_sectors, sector_bits, w->depth) >> WTV_SECTOR_BITS; in finish_file()
772 w->first_sector = start_pos >> WTV_SECTOR_BITS; in finish_file()
788 int64_t start_pos, file_end_pos; in write_trailer() local
793 start_pos = avio_tell(pb); in write_trailer()
795 if (finish_file(s, WTV_TIMELINE_TABLE_0_ENTRIES_EVENTS, start_pos) < 0) in write_trailer()
798 start_pos in write_trailer()
[all...]
H A Dtty.c75 static int efi_read(AVFormatContext *avctx, uint64_t start_pos) in efi_read() argument
82 avio_seek(pb, start_pos, SEEK_SET); in efi_read()
98 s->fsize = start_pos; in efi_read()
H A Dsmoothstreamingenc.c42 int64_t start_pos, size; member
111 if (offset >= frag->start_pos && offset < frag->start_pos + frag->size) { in ism_seek()
128 ffurl_seek(os->out, offset - frag->start_pos, SEEK_SET); in ism_seek()
130 ffurl_seek(os->out2, offset - frag->start_pos, SEEK_SET); in ism_seek()
441 static int add_fragment(OutputStream *os, const char *file, const char *infofile, int64_t start_time, int64_t duration, int64_t start_pos, int64_t size) in add_fragment() argument
461 frag->start_pos = start_pos; in add_fragment()
H A Dav1dec.c150 int start_pos, temporal_id, spatial_id; in read_obu() local
153 len = parse_obu_header(buf, size, obu_size, &start_pos, in read_obu()
302 int ret, extension_flag, start_pos; in read_obu_with_size() local
331 start_pos = get_bits_count(&gb) / 8; in read_obu_with_size()
333 size = *obu_size + start_pos; in read_obu_with_size()
/third_party/node/deps/brotli/c/enc/
H A Dbrotli_bit_stream.h45 const uint8_t* input, size_t start_pos, size_t length, size_t mask,
56 const uint8_t* input, size_t start_pos, size_t length, size_t mask,
66 const uint8_t* input, size_t start_pos, size_t length, size_t mask,
H A Dencode.c403 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in ShouldUseComplexStaticContextMap()
428 const size_t end_pos = start_pos + length; in ShouldUseComplexStaticContextMap()
439 for (; start_pos + 64 <= end_pos; start_pos += 4096) { in ShouldUseComplexStaticContextMap()
440 const size_t stride_end_pos = start_pos + 64; in ShouldUseComplexStaticContextMap()
441 uint8_t prev2 = input[start_pos & mask]; in ShouldUseComplexStaticContextMap()
442 uint8_t prev1 = input[(start_pos + 1) & mask]; in ShouldUseComplexStaticContextMap()
446 for (pos = start_pos + 2; pos < stride_end_pos; ++pos) { in ShouldUseComplexStaticContextMap()
483 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in DecideOverLiteralContextModeling()
488 input, start_pos, lengt in DecideOverLiteralContextModeling()
402 ShouldUseComplexStaticContextMap(const uint8_t* input, size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, size_t* num_literal_contexts, const uint32_t** literal_context_map) ShouldUseComplexStaticContextMap() argument
482 DecideOverLiteralContextModeling(const uint8_t* input, size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, size_t* num_literal_contexts, const uint32_t** literal_context_map) DecideOverLiteralContextModeling() argument
[all...]
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dbrotli_bit_stream.h45 const uint8_t* input, size_t start_pos, size_t length, size_t mask,
56 const uint8_t* input, size_t start_pos, size_t length, size_t mask,
66 const uint8_t* input, size_t start_pos, size_t length, size_t mask,
H A Dencode.c403 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in ShouldUseComplexStaticContextMap()
428 const size_t end_pos = start_pos + length; in ShouldUseComplexStaticContextMap()
439 for (; start_pos + 64 <= end_pos; start_pos += 4096) { in ShouldUseComplexStaticContextMap()
440 const size_t stride_end_pos = start_pos + 64; in ShouldUseComplexStaticContextMap()
441 uint8_t prev2 = input[start_pos & mask]; in ShouldUseComplexStaticContextMap()
442 uint8_t prev1 = input[(start_pos + 1) & mask]; in ShouldUseComplexStaticContextMap()
446 for (pos = start_pos + 2; pos < stride_end_pos; ++pos) { in ShouldUseComplexStaticContextMap()
483 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in DecideOverLiteralContextModeling()
488 input, start_pos, lengt in DecideOverLiteralContextModeling()
402 ShouldUseComplexStaticContextMap(const uint8_t* input, size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, size_t* num_literal_contexts, const uint32_t** literal_context_map) ShouldUseComplexStaticContextMap() argument
482 DecideOverLiteralContextModeling(const uint8_t* input, size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, size_t* num_literal_contexts, const uint32_t** literal_context_map) DecideOverLiteralContextModeling() argument
[all...]
/third_party/jerryscript/jerry-core/ecma/base/
H A Decma-helpers-string.c1100 ecma_length_t start_pos, /**< position of the first character */ in ecma_substring_copy_to_cesu8_buffer()
1112 if (start_pos >= string_length || start_pos >= end_pos) in ecma_substring_copy_to_cesu8_buffer()
1128 start_p += start_pos; in ecma_substring_copy_to_cesu8_buffer()
1129 size = end_pos - start_pos; in ecma_substring_copy_to_cesu8_buffer()
1140 end_pos -= start_pos; in ecma_substring_copy_to_cesu8_buffer()
1141 while (start_pos--) in ecma_substring_copy_to_cesu8_buffer()
1179 ecma_length_t start_pos, /**< position of the first character */ in ecma_substring_copy_to_utf8_buffer()
1193 if (start_pos >= utf8_str_length || start_pos > in ecma_substring_copy_to_utf8_buffer()
1099 ecma_substring_copy_to_cesu8_buffer(const ecma_string_t *string_desc_p, ecma_length_t start_pos, ecma_length_t end_pos, lit_utf8_byte_t *buffer_p, lit_utf8_size_t buffer_size) ecma_substring_copy_to_cesu8_buffer() argument
1178 ecma_substring_copy_to_utf8_buffer(const ecma_string_t *string_desc_p, ecma_length_t start_pos, ecma_length_t end_pos, lit_utf8_byte_t *buffer_p, lit_utf8_size_t buffer_size) ecma_substring_copy_to_utf8_buffer() argument
2426 ecma_string_substr(const ecma_string_t *string_p, ecma_length_t start_pos, ecma_length_t end_pos) ecma_string_substr() argument
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/utf/
H A Dunicodetext.cc323 const_iterator start_pos) const { in find()
324 assert(start_pos.utf8_data() >= utf8_data()); in find()
325 assert(start_pos.utf8_data() <= utf8_data() + utf8_length()); in find()
326 return UnsafeFind(look, start_pos); in find()
334 const UnicodeText& look, const_iterator start_pos) const { in UnsafeFind()
340 searching.find(look_piece, start_pos.utf8_data() - utf8_data()); in UnsafeFind()
/third_party/python/Lib/tomllib/
H A D_parser.py397 start_pos = pos
399 return pos, src[start_pos:pos]
514 start_pos = pos
518 return pos + 1, src[start_pos:pos] # Skip ending apostrophe
560 start_pos = pos
568 return pos + 1, result + src[start_pos:pos]
570 return pos + 3, result + src[start_pos:pos]
574 result += src[start_pos:pos]
577 start_pos = pos
/third_party/node/deps/v8/src/execution/
H A Dmessages.h40 MessageLocation(Handle<Script> script, int start_pos, int end_pos);
41 MessageLocation(Handle<Script> script, int start_pos, int end_pos,
50 int start_pos() const { return start_pos_; } in start_pos() function in v8::internal::MessageLocation
/third_party/node/deps/v8/src/parsing/
H A Dscanner.cc713 bool Scanner::ScanImplicitOctalDigits(int start_pos, in ScanImplicitOctalDigits() argument
725 octal_pos_ = Location(start_pos, source_pos()); in ScanImplicitOctalDigits()
751 int start_pos = source_pos(); // For reporting octal positions. in ScanNumber() local
781 if (!ScanImplicitOctalDigits(start_pos, &kind)) { in ScanNumber()
812 octal_pos_ = Location(start_pos, source_pos()); in ScanNumber()
839 int length = source_pos() - start_pos - (kind != DECIMAL ? 2 : 0); in ScanNumber()
841 ReportScannerError(Location(start_pos, source_pos()), in ScanNumber()
869 octal_pos_ = Location(start_pos, source_pos()); in ScanNumber()
/third_party/ntfs-3g/libntfs-3g/
H A Dlcnalloc.c120 s64 start_pos = -1; in max_empty_bit_range() local
137 start_pos = (s64)i * 8 - run; in max_empty_bit_range()
153 start_pos = (s64)i * 8 + (j - run); in max_empty_bit_range()
166 start_pos = (s64)i * 8 - run; in max_empty_bit_range()
168 return start_pos; in max_empty_bit_range()

Completed in 22 milliseconds

1234