/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | vad_circular_buffer.cc | 21 index_(0), in VadCircularBuffer() 31 index_ = 0; in Reset() 45 return buffer_[index_]; in Oldest() 53 if (index_ > 0) in Mean() 54 m = sum_ / index_; in Mean() 63 sum_ -= buffer_[index_]; in Insert() 66 buffer_[index_] = value; in Insert() 67 index_++; in Insert() 68 if (index_ >= buffer_size_) { in Insert() 70 index_ = 0; in Insert() [all …]
|
D | standalone_vad.cc | 24 : vad_(vad), buffer_(), index_(0), mode_(kDefaultStandaloneVadMode) { in StandaloneVad() 49 if (index_ + length > kLength10Ms * kMaxNum10msFrames) in AddAudio() 53 index_ = 0; in AddAudio() 55 memcpy(&buffer_[index_], data, sizeof(int16_t) * length); in AddAudio() 56 index_ += length; in AddAudio() 61 if (index_ == 0) in GetActivity() 64 const size_t num_frames = index_ / kLength10Ms; in GetActivity() 67 assert(WebRtcVad_ValidRateAndFrameLength(kSampleRateHz, index_) == 0); in GetActivity() 69 int activity = WebRtcVad_Process(vad_, kSampleRateHz, buffer_, index_); in GetActivity() 79 index_ = 0; in GetActivity()
|
/external/google-breakpad/src/processor/ |
D | static_map_iterator-inl.h | 47 index_(index), base_(base) { in StaticMapIterator() 64 if (++index_ > num_nodes_) index_ = num_nodes_; 76 if (++index_ > num_nodes_) index_ = num_nodes_; 88 if (--index_ < 0) index_ = 0; 101 if (--index_ < 0) index_ = 0; 111 return &(keys_[index_]); in GetKeyPtr() 120 return base_ + offsets_[index_]; in GetValueRawPtr() 126 return base_ == x.base_ && index_ == x.index_; 134 return base_ != x.base_ || index_ != x.index_; 139 if (!base_ || index_ < 0 || index_ > num_nodes_) in IsValid()
|
/external/v8/src/ |
D | dateparser.h | 53 : index_(0), in InputReader() 59 int position() { return index_; } in position() 63 ch_ = (index_ < buffer_.length()) ? buffer_[index_] : 0; in Next() 64 index_++; in Next() 116 int index_; 296 TimeComposer() : index_(0), hour_offset_(kNone) {} in TimeComposer() 297 bool IsEmpty() const { return index_ == 0; } in IsEmpty() 299 return (index_ == 1 && IsMinute(n)) || in IsExpecting() 300 (index_ == 2 && IsSecond(n)) || in IsExpecting() 301 (index_ == 3 && IsMillisecond(n)); in IsExpecting() [all …]
|
D | dateparser.cc | 14 if (index_ < 1) return false; in Write() 16 while (index_ < kSize) { in Write() 17 comp_[index_++] = 1; in Write() 25 if (is_iso_date_ || (index_ == 3 && !IsDay(comp_[0]))) { in Write() 34 if (index_ == 3) year = comp_[2]; in Write() 38 if (index_ == 1) { in Write() 68 while (index_ < kSize) { in Write() 69 comp_[index_++] = 0; in Write()
|
D | lookup.h | 57 index_(kMaxUInt32), in configuration_() 81 index_(kMaxUInt32), in configuration_() 103 index_(index), in configuration_() 110 DCHECK_NE(kMaxUInt32, index_); in configuration_() 124 index_(index), in configuration_() 131 DCHECK_NE(kMaxUInt32, index_); in configuration_() 177 name_ = factory()->Uint32ToString(index_); in GetName() 181 uint32_t index() const { return index_; } in index() 183 bool IsElement() const { return index_ != kMaxUInt32; } in IsElement() 333 uint32_t index_; variable
|
D | utils.h | 565 : index_(0), size_(0) { 579 if (index_ >= current_chunk_.length()) { 582 current_chunk_[index_] = value; 583 index_++; 593 if (size > current_chunk_.length() - index_) { 596 T* position = current_chunk_.start() + index_; 597 index_ += size; 611 if (source.length() > current_chunk_.length() - index_) { 614 T* position = current_chunk_.start() + index_; 615 index_ += source.length(); [all …]
|
/external/libchrome/base/containers/ |
D | mru_cache.h | 95 typename KeyIndex::iterator index_iter = index_.find(key); in Put() 96 if (index_iter != index_.end()) { in Put() 107 index_.insert(std::make_pair(key, ordering_.begin())); in Put() 117 typename KeyIndex::iterator index_iter = index_.find(key); in Get() 118 if (index_iter == index_.end()) in Get() 130 typename KeyIndex::const_iterator index_iter = index_.find(key); in Peek() 131 if (index_iter == index_.end()) in Peek() 137 typename KeyIndex::const_iterator index_iter = index_.find(key); in Peek() 138 if (index_iter == index_.end()) in Peek() 146 index_.swap(other.index_); in Swap() [all …]
|
/external/v8/src/heap/ |
D | gc-tracer.h | 21 const_iterator() : index_(0), elements_(NULL) {} in const_iterator() 24 : index_(index), elements_(elements) {} in const_iterator() 27 return elements_ == rhs.elements_ && index_ == rhs.index_; 31 return elements_ != rhs.elements_ || index_ != rhs.index_; 34 operator const T*() const { return elements_ + index_; } 36 const T* operator->() const { return elements_ + index_; } 38 const T& operator*() const { return elements_[index_]; } 41 index_ = (index_ + 1) % (MAX_SIZE + 1); 46 index_ = (index_ + MAX_SIZE) % (MAX_SIZE + 1); 51 size_t index_;
|
/external/libchrome/base/metrics/ |
D | sample_vector.cc | 137 index_(0) { in SampleVectorIterator() 149 index_(0) { in SampleVectorIterator() 157 return index_ >= counts_size_; in Done() 162 index_++; in Next() 171 *min = bucket_ranges_->range(index_); in Get() 173 *max = bucket_ranges_->range(index_ + 1); in Get() 175 *count = subtle::NoBarrier_Load(&counts_[index_]); in Get() 181 *index = index_; in GetBucketIndex() 189 while (index_ < counts_size_) { in SkipEmptyBuckets() 190 if (subtle::NoBarrier_Load(&counts_[index_]) != 0) in SkipEmptyBuckets() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/ |
D | basic_resolver_iterator.hpp | 65 : index_(0) in basic_resolver_iterator() 182 if (++index_ == values_->size()) in increment() 186 index_ = 0; in increment() 196 return index_ == other.index_; in equal() 201 return (*values_)[index_]; in dereference() 206 std::size_t index_; member in asio::ip::basic_resolver_iterator
|
/external/regex-re2/util/ |
D | sparse_array.h | 245 IndexValue(int index, const Value& value) : second(value), index_(index) {} in IndexValue() 247 int index() const { return index_; } in index() 255 int index_; 302 dense_[sparse_to_dense_[i]].index_ == i; in has_index() 325 if (has_index(new_value.index_)) { in insert() 326 p = make_pair(dense_.begin() + sparse_to_dense_[new_value.index_], false); in insert() 328 p = make_pair(set_new(new_value.index_, new_value.second), true); in insert() 403 sparse_to_dense_[dense_[di].index_] = di; in erase_existing() 414 dense_[size_].index_ = i; in create_index() 427 dense_[i].index_ = 0xababababU; in SparseArray() [all …]
|
/external/webrtc/webrtc/base/ |
D | window.h | 92 DesktopId() : id_(0), index_(-1) {} in DesktopId() 94 : id_(id), index_(index) { in DesktopId() 97 int index() const { return index_; } in index() 98 bool IsValid() const { return index_ != -1; } in IsValid() 100 return id_ == other.id() && index_ == other.index(); in Equals() 108 int index_; variable
|
/external/google-breakpad/src/tools/mac/dump_syms/ |
D | macho_dump.cc | 75 DumpSection() : index_(0) { } in DumpSection() 82 index_++, section.section_name.c_str(), section.segment_name.c_str(), in HandleSection() 90 int index_; member in __anon444ba8210111::DumpSection 95 DumpCommand(mach_o::Reader *reader) : reader_(reader), index_(0) { } in DumpCommand() 98 printf(" load command %d: %d", index_++, type); in UnknownCommand() 109 index_++, (segment.bits_64 ? "64" : "32"), segment.name.c_str(), in SegmentCommand() 119 int index_; member in __anon444ba8210111::DumpCommand
|
/external/v8/src/ast/ |
D | modules.h | 43 DCHECK(IsFrozen() && index_ == -1); in Allocate() 44 index_ = index; in Allocate() 62 return index_; in Index() 110 index_(-1) {} in ModuleDescriptor() 115 int index_; variable
|
/external/ceres-solver/internal/ceres/ |
D | residual_block.h | 127 int index() const { return index_; } in index() 128 void set_index(int index) { index_ = index; } in set_index() 131 return StringPrintf("{residual block; index=%d}", index_); in ToString() 142 int32 index_; variable
|
D | parameter_block.h | 132 int index() const { return index_; } in index() 133 void set_index(int index) { index_ = index; } in set_index() 248 index_, in ToString() 305 index_ = index; in Init() 365 int32 index_; variable
|
/external/libweave/third_party/chromium/base/ |
D | observer_list.h | 89 size_t index_; variable 130 index_(0), in Iterator() 149 while (index_ < max_index && !observers[index_]) in GetNext() 150 ++index_; in GetNext() 151 return index_ < max_index ? observers[index_++] : nullptr; in GetNext()
|
/external/libchrome/base/ |
D | observer_list.h | 93 size_t index_; variable 136 index_(0), in Iterator() 155 while (index_ < max_index && !observers[index_]) in GetNext() 156 ++index_; in GetNext() 157 return index_ < max_index ? observers[index_++] : nullptr; in GetNext()
|
/external/libweave/third_party/chromium/base/json/ |
D | json_parser.cc | 189 index_(0), in JSONParser() 214 index_ = 0; in Parse() 350 ++index_; in NextChar() 357 index_ += n; in NextNChars() 409 index_last_line_ = index_; in EatWhitespaceAndComments() 623 pos_ = start_pos_ + index_; // CBU8_NEXT is postcrement. in ConsumeStringRaw() 624 CBU8_NEXT(start_pos_, index_, length, next_char); in ConsumeStringRaw() 717 --index_; // Rewind by one because of CBU8_NEXT. in ConsumeStringRaw() 821 const int start_index = index_; in ConsumeNumber() 831 end_index = index_; in ConsumeNumber() [all …]
|
/external/libchrome/base/json/ |
D | json_parser.cc | 194 index_(0), in JSONParser() 219 index_ = 0; in Parse() 355 ++index_; in NextChar() 362 index_ += n; in NextNChars() 414 index_last_line_ = index_; in EatWhitespaceAndComments() 628 pos_ = start_pos_ + index_; // CBU8_NEXT is postcrement. in ConsumeStringRaw() 629 CBU8_NEXT(start_pos_, index_, length, next_char); in ConsumeStringRaw() 722 --index_; // Rewind by one because of CBU8_NEXT. in ConsumeStringRaw() 826 const int start_index = index_; in ConsumeNumber() 836 end_index = index_; in ConsumeNumber() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_database.cc | 264 return index_.AddFile(*file, file); in AddAndOwn() 270 return MaybeCopy(index_.FindFile(filename), output); in FindFileByName() 276 return MaybeCopy(index_.FindSymbol(symbol_name), output); in FindFileContainingSymbol() 283 return MaybeCopy(index_.FindExtension(containing_type, field_number), output); in FindFileContainingExtension() 289 return index_.FindAllExtensionNumbers(extendee_type, output); in FindAllExtensionNumbers() 313 return index_.AddFile(file, make_pair(encoded_file_descriptor, size)); in Add() 332 return MaybeParse(index_.FindFile(filename), output); in FindFileByName() 338 return MaybeParse(index_.FindSymbol(symbol_name), output); in FindFileContainingSymbol() 344 pair<const void*, int> encoded_file = index_.FindSymbol(symbol_name); in FindNameOfFileContainingSymbol() 374 return MaybeParse(index_.FindExtension(containing_type, field_number), in FindFileContainingExtension() [all …]
|
/external/jsoncpp/src/lib_json/ |
D | json_value.cpp | 167 Value::CZString::CZString(ArrayIndex index) : cstr_(0), index_(index) {} in CZString() 171 index_(allocate) {} in CZString() 174 : cstr_(other.index_ != noDuplication && other.cstr_ != 0 in CZString() 177 index_(other.cstr_ in CZString() 178 ? static_cast<ArrayIndex>(other.index_ == noDuplication in CZString() 180 : other.index_) {} in CZString() 183 if (cstr_ && index_ == duplicate) in ~CZString() 189 std::swap(index_, other.index_); in swap() 200 return index_ < other.index_; in operator <() 206 return index_ == other.index_; in operator ==() [all …]
|
/external/gemmlowp/internal/ |
D | allocator.h | 138 std::uint8_t index_; 158 h.index_ = index; 173 assert(h.index_ < reserved_blocks_ && 178 std::size_t offset = reserved_blocks_offsets_[h.index_];
|
/external/v8/src/compiler/ |
D | instruction.h | 852 return index_; in ToInt() 856 return static_cast<size_t>(index_); in ToSize() 858 bool IsValid() const { return index_ >= 0; } in IsValid() 864 return other.index_ == this->index_ + 1; in IsNext() 868 bool operator==(RpoNumber other) const { return index_ == other.index_; } 869 bool operator!=(RpoNumber other) const { return index_ != other.index_; } 870 bool operator>(RpoNumber other) const { return index_ > other.index_; } 871 bool operator<(RpoNumber other) const { return index_ < other.index_; } 872 bool operator<=(RpoNumber other) const { return index_ <= other.index_; } 873 bool operator>=(RpoNumber other) const { return index_ >= other.index_; } [all …]
|