Home
last modified time | relevance | path

Searched refs:start_index (Results 1 – 25 of 86) sorted by relevance

1234

/external/autotest/client/cros/audio/
Daudio_quality_measurement.py390 start_index, end_index = length - 1 , 0
396 start_index = min(start_index, left_border)
398 return (start_index, end_index)
401 def noise_detection(start_index, end_index, argument
437 if ((start_index - rate * NEAR_SINE_START_OR_END_SECS) <= index and
466 if noise_time_point[i] < float(start_index) / rate - APPEND_ZEROS_SECS:
474 def delay_detection(start_index, end_index, argument
521 start_time = float(start_index) / rate - APPEND_ZEROS_SECS
523 for index in xrange(start_index, end_index):
565 def burst_detection(start_index, end_index, argument
[all …]
Daudio_quality_measurement_unittest.py91 start_index = int(self.delay_start_time[i] * self.rate)
93 for j in xrange(start_index,end_index):
127 start_index = int(self.burst_start_time[i] * self.rate)
129 for j in xrange(start_index, end_index):
138 start_index = int(start_time[i] * self.rate)
140 for j in xrange(start_index,end_index):
/external/opencv/cv/src/
Dcvapprox.cpp551 right_slice.start_index = count; in icvApproxPolyDP_32s()
557 slice.start_index = 0; in icvApproxPolyDP_32s()
571 right_slice.start_index = 0; in icvApproxPolyDP_32s()
576 cvSetSeqReaderPos( &reader, right_slice.start_index, 1 ); in icvApproxPolyDP_32s()
592 right_slice.start_index = j; in icvApproxPolyDP_32s()
602 slice.start_index = cvGetSeqReaderPos( &reader ); in icvApproxPolyDP_32s()
603 slice.end_index = right_slice.start_index += slice.start_index; in icvApproxPolyDP_32s()
605 right_slice.start_index -= right_slice.start_index >= count ? count : 0; in icvApproxPolyDP_32s()
606 right_slice.end_index = slice.start_index; in icvApproxPolyDP_32s()
607 if( right_slice.end_index < right_slice.start_index ) in icvApproxPolyDP_32s()
[all …]
/external/v8/src/interpreter/
Dconstant-array-builder.cc18 Zone* zone, size_t start_index, size_t capacity, OperandSize operand_size) in ConstantArraySlice() argument
19 : start_index_(start_index), in ConstantArraySlice()
42 return index + start_index(); in Allocate()
47 DCHECK_GE(index, start_index()); in At()
48 DCHECK_LT(index, start_index() + size()); in At()
49 return constants_[index - start_index()]; in At()
54 DCHECK_GE(index, start_index()); in InsertAt()
55 DCHECK_LT(index, start_index() + size()); in InsertAt()
56 constants_[index - start_index()] = object; in InsertAt()
95 return slice->start_index() + slice->size(); in size()
[all …]
Dbytecode-register-allocator.h28 explicit BytecodeRegisterAllocator(int start_index) in BytecodeRegisterAllocator() argument
29 : next_register_index_(start_index), in BytecodeRegisterAllocator()
30 max_register_count_(start_index), in BytecodeRegisterAllocator()
Dconstant-array-builder.h78 ConstantArraySlice(Zone* zone, size_t start_index, size_t capacity,
91 inline size_t start_index() const { return start_index_; } in start_index() function
/external/v8/src/heap/
Dmarking.h110 void SetRange(uint32_t start_index, uint32_t end_index) { in SetRange() argument
111 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2; in SetRange()
112 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); in SetRange()
133 void ClearRange(uint32_t start_index, uint32_t end_index) { in ClearRange() argument
134 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2; in ClearRange()
135 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); in ClearRange()
156 bool AllBitsSetInRange(uint32_t start_index, uint32_t end_index) { in AllBitsSetInRange() argument
157 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2; in AllBitsSetInRange()
158 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); in AllBitsSetInRange()
181 bool AllBitsClearInRange(uint32_t start_index, uint32_t end_index) { in AllBitsClearInRange() argument
[all …]
Dpage-parallel-job.h85 int start_index = 0; in Run() local
87 for (int i = 0; i < num_tasks_; i++, start_index += items_per_task) { in Run()
88 if (start_index >= num_items_) { in Run()
89 start_index -= num_items_; in Run()
91 Task* task = new Task(heap_, items_, num_items_, start_index, in Run()
138 Task(Heap* heap, Item* items, int num_items, int start_index, in Task() argument
144 start_index_(start_index), in Task()
/external/v8/src/regexp/
Dregexp-macro-assembler.cc130 int start_index) { in StringCharacterPosition() argument
134 start_index += SlicedString::cast(subject)->offset(); in StringCharacterPosition()
137 DCHECK(start_index >= 0); in StringCharacterPosition()
138 DCHECK(start_index <= subject->length()); in StringCharacterPosition()
141 SeqOneByteString::cast(subject)->GetChars() + start_index); in StringCharacterPosition()
144 SeqTwoByteString::cast(subject)->GetChars() + start_index); in StringCharacterPosition()
147 ExternalOneByteString::cast(subject)->GetChars() + start_index); in StringCharacterPosition()
150 ExternalTwoByteString::cast(subject)->GetChars() + start_index); in StringCharacterPosition()
156 Isolate* isolate, int start_index, bool is_direct_call, in CheckStackGuardState() argument
202 *input_start = StringCharacterPosition(*subject, start_index); in CheckStackGuardState()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_multi_vector.cc130 size_t AudioMultiVector::ReadInterleavedFromIndex(size_t start_index, in ReadInterleavedFromIndex() argument
137 assert(start_index <= Size()); in ReadInterleavedFromIndex()
138 start_index = std::min(start_index, Size()); in ReadInterleavedFromIndex()
139 if (length + start_index > Size()) { in ReadInterleavedFromIndex()
140 length = Size() - start_index; in ReadInterleavedFromIndex()
144 memcpy(destination, &(*this)[0][start_index], length * sizeof(int16_t)); in ReadInterleavedFromIndex()
149 destination[index] = (*this)[channel][i + start_index]; in ReadInterleavedFromIndex()
Dmerge.cc345 size_t start_index = timestamps_per_call_ + expand_->overlap_length(); in CorrelateAndPeakSearch() local
346 start_index = std::max(start_position, start_index); in CorrelateAndPeakSearch()
347 start_index = (input_length > start_index) ? 0 : (start_index - input_length); in CorrelateAndPeakSearch()
349 size_t start_index_downsamp = start_index / (fs_mult_ * 2); in CorrelateAndPeakSearch()
364 best_correlation_index += start_index; in CorrelateAndPeakSearch()
Ddsp_helper_unittest.cc60 int start_index = kLen; in TEST() local
66 int stop_factor = DspHelper::RampSignal(&input, start_index, kLen, in TEST()
Ddsp_helper.cc84 size_t start_index, in RampSignal() argument
88 assert(start_index + length <= signal->Size()); in RampSignal()
89 if (start_index + length > signal->Size()) { in RampSignal()
97 RampSignal(&(*signal)[channel][start_index], length, factor, increment); in RampSignal()
/external/opencv/cxcore/src/
Dcxdatastructs.cpp594 id += block->start_index - seq->first->start_index; in cvSeqElemIdx()
612 int length = slice.end_index - slice.start_index; in cvSliceLength()
616 if( slice.start_index < 0 ) in cvSliceLength()
617 slice.start_index += total; in cvSliceLength()
621 length = slice.end_index - slice.start_index; in cvSliceLength()
659 CV_CALL( cvSetSeqReaderPos( &reader, slice.start_index, 0 )); in cvCvtSeqToArray()
722 block->start_index = 0; in cvMakeSeqHeaderForArray()
834 block->start_index = block == block->prev ? 0 : in icvGrowSeq()
835 block->prev->start_index + block->prev->count; in icvGrowSeq()
844 assert( seq->first->start_index == 0 ); in icvGrowSeq()
[all …]
/external/v8/src/
Dstring-search.h110 int start_index);
114 int start_index);
118 int start_index);
123 int start_index);
127 int start_index);
308 int start_index) { in BoyerMooreSearch() argument
319 int index = start_index; in BoyerMooreSearch()
431 int start_index) { in BoyerMooreHorspoolSearch() argument
443 int index = start_index; // No matches found prior to this index. in BoyerMooreHorspoolSearch()
561 int start_index) { in SearchString() argument
[all …]
Duri.cc334 int start_index) { in UnescapeSlow() argument
342 for (int i = start_index; i < length; unescaped_length++) { in UnescapeSlow()
352 DCHECK(start_index < length); in UnescapeSlow()
354 isolate->factory()->NewProperSubString(string, 0, start_index); in UnescapeSlow()
365 for (int i = start_index; i < length; dest_position++) { in UnescapeSlow()
378 for (int i = start_index; i < length; dest_position++) { in UnescapeSlow()
/external/autotest/contrib/
Dcrbug_crawler.py200 def _prompt_crawl(self, new_issues, start_index): argument
211 len(new_issues), start_index)
212 if start_index > self.PROMPT_LIMIT and not self.prompted:
217 start_index + len(new_issues))
231 start_index = 0
239 start_index += len(new_issues) + 1
240 self.phapi_client.set_start_index(start_index)
243 self._prompt_crawl(new_issues, start_index)
/external/pdfium/core/fxcrt/
Dfx_basic_buffer.cpp26 void CFX_BinaryBuf::Delete(int start_index, int count) { in Delete() argument
27 if (!m_pBuffer || start_index < 0 || count < 0 || count > m_DataSize || in Delete()
28 start_index > m_DataSize - count) { in Delete()
31 FXSYS_memmove(m_pBuffer.get() + start_index, in Delete()
32 m_pBuffer.get() + start_index + count, in Delete()
33 m_DataSize - start_index - count); in Delete()
/external/pdfium/public/
Dfpdf_text.h158 int start_index,
181 int start_index,
264 int start_index);
/external/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.cc227 int32_t ReadableFontData::SearchUShort(int32_t start_index, in SearchUShort() argument
238 int32_t location_start = ReadUShort(start_index + location * start_offset); in SearchUShort()
258 int32_t ReadableFontData::SearchUShort(int32_t start_index, in SearchUShort() argument
267 int32_t location_start = ReadUShort(start_index + location * start_offset); in SearchUShort()
282 int32_t ReadableFontData::SearchULong(int32_t start_index, in SearchULong() argument
293 int32_t location_start = ReadULongAsInt(start_index in SearchULong()
Dreadable_font_data.h208 int32_t SearchUShort(int32_t start_index,
225 int32_t SearchUShort(int32_t start_index,
243 int32_t SearchULong(int32_t start_index,
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtree.rb382 freshen( start_index )
481 @start_index = payload.start_index
525 def start_index method in ANTLR3.CommonTree
535 alias token_start_index= start_index=
537 alias token_start_index start_index
567 @start_index = first.start_index
784 tree.start_index = start
1207 start_index = @adaptor.token_start_index( start )
1208 return @token_stream.extract_text( start_index, stop_index )
1210 start_index = @nodes.index( start ) || @nodes.length
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/
Dfilter.rb50 def memoize( rule, start_index, success ) argument
51 super( rule, start_index, success ) if @state.backtracking > 1
/external/swiftshader/third_party/LLVM/test/Scripts/
Dcoff-dump.py479 start_index = entry[1]
488 start_index = read_value(start_index)
492 write("%d = " % (index + start_index))
/external/aac/libSBRenc/src/
Denv_est.h120 int start_index; member
162 int start_index,

1234