/system/core/base/ |
strings.cpp | 56 size_t start_index = 0; local 60 while (start_index < s.size()) { 61 if (!isspace(s[start_index])) { 64 start_index++; 68 while (end_index >= start_index) { 76 if (end_index < start_index) { 79 // Start_index is the first non-space, end_index is the last one. 80 return s.substr(start_index, end_index - start_index + 1);
|
/art/runtime/base/ |
bit_vector-inl.h | 49 inline uint32_t BitVector::IndexIterator::FindIndex(uint32_t start_index) const { 50 DCHECK_LE(start_index, BitSize()); 51 uint32_t word_index = start_index / kWordBits; 53 return start_index; 57 word &= static_cast<uint32_t>(-1) << (start_index & 0x1f);
|
/external/opencv/cv/src/ |
cvapprox.cpp | 551 right_slice.start_index = count; 557 slice.start_index = 0; 571 right_slice.start_index = 0; 576 cvSetSeqReaderPos( &reader, right_slice.start_index, 1 ); 592 right_slice.start_index = j; 602 slice.start_index = cvGetSeqReaderPos( &reader ); 603 slice.end_index = right_slice.start_index += slice.start_index; 605 right_slice.start_index -= right_slice.start_index >= count ? count : 0 [all...] |
/external/v8/src/heap/ |
marking.h | 109 // Sets all bits in the range [start_index, end_index). 110 void SetRange(uint32_t start_index, uint32_t end_index) { 111 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2; 112 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); 132 // Clears all bits in the range [start_index, end_index). 133 void ClearRange(uint32_t start_index, uint32_t end_index) { 134 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2; 135 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); 155 // Returns true if all bits in the range [start_index, end_index) are set. 156 bool AllBitsSetInRange(uint32_t start_index, uint32_t end_index) [all...] |
page-parallel-job.h | 85 int start_index = 0; local 87 for (int i = 0; i < num_tasks_; i++, start_index += items_per_task) { 88 if (start_index >= num_items_) { 89 start_index -= num_items_; 91 Task* task = new Task(heap_, items_, num_items_, start_index, 138 Task(Heap* heap, Item* items, int num_items, int start_index, 144 start_index_(start_index),
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
audio_multi_vector.cc | 130 size_t AudioMultiVector::ReadInterleavedFromIndex(size_t start_index, 137 assert(start_index <= Size()); 138 start_index = std::min(start_index, Size()); 139 if (length + start_index > Size()) { 140 length = Size() - start_index; 144 memcpy(destination, &(*this)[0][start_index], length * sizeof(int16_t)); 149 destination[index] = (*this)[channel][i + start_index];
|
dsp_helper_unittest.cc | 58 // We want to start ramping at |start_index| and keep ramping for |kLen| 60 int start_index = kLen; local 66 int stop_factor = DspHelper::RampSignal(&input, start_index, kLen,
|
merge.cc | 345 size_t start_index = timestamps_per_call_ + expand_->overlap_length(); local 346 start_index = std::max(start_position, start_index); 347 start_index = (input_length > start_index) ? 0 : (start_index - input_length); 349 size_t start_index_downsamp = start_index / (fs_mult_ * 2); 364 best_correlation_index += start_index;
|
/frameworks/av/media/libeffects/loudness/dsp/core/ |
basic-inl.h | 29 int start_index, 31 int start = start_index;
|
basic.h | 39 int start_index,
|
/external/v8/src/interpreter/ |
constant-array-builder.cc | 22 Zone* zone, size_t start_index, size_t capacity, OperandSize operand_size) 23 : start_index_(start_index), 46 return index + start_index(); 51 DCHECK_GE(index, start_index()); 52 DCHECK_LT(index, start_index() + size()); 53 return constants_[index - start_index()]; 58 DCHECK_GE(index, start_index()); 59 DCHECK_LT(index, start_index() + size()); 60 return constants_[index - start_index()]; 73 size_t i = start_index(); [all...] |
bytecode-register-allocator.h | 28 explicit BytecodeRegisterAllocator(int start_index) 29 : next_register_index_(start_index), 30 max_register_count_(start_index),
|
bytecode-generator.h | 118 // start_index <= value < start_index + size. 119 void BuildIndexedJump(Register value, size_t start_index, size_t size,
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/ |
filter.rb | 50 def memoize( rule, start_index, success ) 51 super( rule, start_index, success ) if @state.backtracking > 1
|
/external/autotest/client/cros/audio/ |
audio_quality_measurement.py | 380 sine wave is between [start_index, end_index) 391 @returns: A tuple composed of (start_index, end_index) 397 start_index, end_index = length - 1 , 0 403 start_index = min(start_index, left_border) 405 return (start_index, end_index) 408 def noise_detection(start_index, end_index, 417 @param start_index: Start index of sine wave. 444 if ((start_index - rate * NEAR_SINE_START_OR_END_SECS) <= index and 473 if noise_time_point[i] < float(start_index) / rate - APPEND_ZEROS_SECS [all...] |
audio_quality_measurement_unittest.py | 92 start_index = int(self.delay_start_time[i] * self.rate) 94 for j in xrange(start_index,end_index): 128 start_index = int(self.burst_start_time[i] * self.rate) 130 for j in xrange(start_index, end_index): 139 start_index = int(start_time[i] * self.rate) 141 for j in xrange(start_index,end_index):
|
/external/pdfium/core/fxcrt/ |
fx_basic_buffer.cpp | 26 void CFX_BinaryBuf::Delete(int start_index, int count) { 27 if (!m_pBuffer || start_index < 0 || count < 0 || count > m_DataSize || 28 start_index > m_DataSize - count) { 31 FXSYS_memmove(m_pBuffer.get() + start_index, 32 m_pBuffer.get() + start_index + count, 33 m_DataSize - start_index - count);
|
/external/ply/ply/ply/ |
ygen.py | 18 for start_index, line in srclines: 26 return (start_index + 1, end_index)
|
/external/opencv/cxcore/src/ |
cxdatastructs.cpp | 594 id += block->start_index - seq->first->start_index; 612 int length = slice.end_index - slice.start_index; 616 if( slice.start_index < 0 ) 617 slice.start_index += total; 621 length = slice.end_index - slice.start_index; 659 CV_CALL( cvSetSeqReaderPos( &reader, slice.start_index, 0 )); 722 block->start_index = 0; 834 block->start_index = block == block->prev ? 0 : 835 block->prev->start_index + block->prev->count [all...] |
/external/lisa/libs/utils/android/ |
surfaceflinger.py | 40 start_index = 0 46 start_index = i + 1 50 parsed_values[dim].append(get_value(value[start_index:i].strip())) 51 start_index = i + 1
|
/external/v8/src/regexp/ |
regexp-macro-assembler.cc | 130 int start_index) { 134 start_index += SlicedString::cast(subject)->offset(); 140 DCHECK(start_index >= 0); 141 DCHECK(start_index <= subject->length()); 144 SeqOneByteString::cast(subject)->GetChars() + start_index); 147 SeqTwoByteString::cast(subject)->GetChars() + start_index); 150 ExternalOneByteString::cast(subject)->GetChars() + start_index); 154 ExternalTwoByteString::cast(subject)->GetChars() + start_index); 160 Isolate* isolate, int start_index, bool is_direct_call, 206 *input_start = StringCharacterPosition(*subject, start_index); [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
readable_font_data.cc | 227 int32_t ReadableFontData::SearchUShort(int32_t start_index, 238 int32_t location_start = ReadUShort(start_index + location * start_offset); 258 int32_t ReadableFontData::SearchUShort(int32_t start_index, 267 int32_t location_start = ReadUShort(start_index + location * start_offset); 282 int32_t ReadableFontData::SearchULong(int32_t start_index, 293 int32_t location_start = ReadULongAsInt(start_index
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
tree.rb | 224 attr_accessor :start_index 377 | start = #{ start_index.inspect } 382 freshen( start_index ) 475 @start_index = -1 481 @start_index = payload.start_index 525 def start_index method in class:ANTLR3.CommonTree 526 @start_index == -1 and @token and return @token.index 527 return @start_index 535 alias token_start_index= start_index [all...] |
/art/runtime/gc/accounting/ |
space_bitmap.cc | 128 const uintptr_t start_index = OffsetToIndex(begin_offset); local 130 ZeroAndReleasePages(reinterpret_cast<uint8_t*>(&bitmap_begin_[start_index]), 131 (end_index - start_index) * sizeof(*bitmap_begin_));
|
/external/v8/src/ |
string-search.h | 110 int start_index); 114 int start_index); 118 int start_index); 123 int start_index); 127 int start_index); 308 int start_index) { 319 int index = start_index; 431 int start_index) { 443 int index = start_index; // No matches found prior to this index. 561 int start_index) { [all...] |