Home
last modified time | relevance | path

Searched refs:index_ (Results 1 – 25 of 91) sorted by relevance

1234

/external/google-breakpad/src/processor/
Dstatic_map_iterator-inl.h47 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()
Dstatic_map_iterator.h55 StaticMapIterator(): index_(-1), base_(NULL) { } in StaticMapIterator()
93 int32_t index_; variable
/external/v8/src/
Ddateparser.h52 : index_(0), in InputReader()
58 int position() { return index_; } in position()
62 ch_ = (index_ < buffer_.length()) ? buffer_[index_] : 0; in Next()
63 index_++; in Next()
131 int index_;
311 TimeComposer() : index_(0), hour_offset_(kNone) {} in TimeComposer()
312 bool IsEmpty() const { return index_ == 0; } in IsEmpty()
314 return (index_ == 1 && IsMinute(n)) || in IsExpecting()
315 (index_ == 2 && IsSecond(n)) || in IsExpecting()
316 (index_ == 3 && IsMillisecond(n)); in IsExpecting()
[all …]
Ddateparser.cc13 if (index_ < 1) return false; in Write()
15 while (index_ < kSize) { in Write()
16 comp_[index_++] = 1; in Write()
24 if (is_iso_date_ || (index_ == 3 && !IsDay(comp_[0]))) { in Write()
33 if (index_ == 3) year = comp_[2]; in Write()
37 if (index_ == 1) { in Write()
67 while (index_ < kSize) { in Write()
68 comp_[index_++] = 0; in Write()
Dinterface.h98 DCHECK(IsModule() && IsFrozen() && Chase()->index_ == -1); in Allocate()
99 Chase()->index_ = index; in Allocate()
135 return Chase()->index_; in Index()
192 int index_; variable
198 index_(-1) { in Interface()
Dutils.h471 : index_(0), size_(0) {
485 if (index_ >= current_chunk_.length()) {
488 current_chunk_[index_] = value;
489 index_++;
499 if (size > current_chunk_.length() - index_) {
502 T* position = current_chunk_.start() + index_;
503 index_ += size;
517 if (source.length() > current_chunk_.length() - index_) {
520 T* position = current_chunk_.start() + index_;
521 index_ += source.length();
[all …]
Dvariables.h125 int index() const { return index_; } in index()
133 index_ = index; in AllocateTo()
144 int index_; variable
/external/v8/src/compiler/
Dgeneric-node.h186 index_(other.index_) {} in iterator()
193 return other.index_ == index_ && other.node_ == node_;
198 DCHECK(index_ < node_->input_count_);
199 ++index_;
205 index_++; in UpdateToAndIncrement()
208 int index() { return index_; } in index()
214 : node_(node), index_(index) {} in iterator()
216 Input* GetInput() const { return node_->GetInputRecordPtr(index_); } in GetInput()
219 int index_; variable
229 index_(other.index_) {} in iterator()
[all …]
/external/v8/src/heap/
Dgc-tracer.h20 const_iterator() : index_(0), elements_(NULL) {} in const_iterator()
23 : index_(index), elements_(elements) {} in const_iterator()
26 return elements_ == rhs.elements_ && index_ == rhs.index_;
30 return elements_ != rhs.elements_ || index_ != rhs.index_;
33 operator const T*() const { return elements_ + index_; }
35 const T* operator->() const { return elements_ + index_; }
37 const T& operator*() const { return elements_[index_]; }
40 index_ = (index_ + 1) % (MAX_SIZE + 1);
45 index_ = (index_ + MAX_SIZE) % (MAX_SIZE + 1);
50 size_t index_;
/external/regex-re2/util/
Dsparse_array.h245 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/openfst/src/include/fst/
Dstate-reachable.h58 index_(state2index->empty() ? 1 : -1), in IntervalReachVisitor()
74 if (index_ < 0) { // Use state2index_ map to set index in InitState()
89 intervals->push_back(Interval(index_, index_ + 1)); in InitState()
90 (*state2index_)[s] = index_++; in InitState()
113 if (index_ >= 0 && fst_.Final(s) != Weight::Zero()) { in FinishState()
115 (*intervals)[0].end = index_; // Update tree interval end in FinishState()
130 I index_; variable
/external/google-breakpad/src/tools/mac/dump_syms/
Dmacho_dump.cc75 DumpSection() : index_(0) { } in DumpSection()
82 index_++, section.section_name.c_str(), section.segment_name.c_str(), in HandleSection()
90 int index_; member in __anon9be38bbc0111::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 __anon9be38bbc0111::DumpCommand
/external/ceres-solver/internal/ceres/
Dresidual_block.h127 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
Dparameter_block.h132 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/protobuf/src/google/protobuf/
Ddescriptor_database.cc264 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/chromium-overrides/src/lib_json/
Djson_value.cpp182 , index_( index ) in CZString()
189 , index_( allocate ) in CZString()
194 : cstr_( other.index_ != noDuplication && other.cstr_ != 0 in CZString()
197 , index_( other.cstr_ ? (other.index_ == noDuplication ? noDuplication : duplicate) in CZString()
198 : other.index_ ) in CZString()
204 if ( cstr_ && index_ == duplicate ) in ~CZString()
212 std::swap( index_, other.index_ ); in swap()
228 return index_ < other.index_; in operator <()
236 return index_ == other.index_; in operator ==()
243 return index_; in index()
[all …]
/external/jsoncpp/src/lib_json/
Djson_value.cpp178 , index_( index ) in CZString()
185 , index_( allocate ) in CZString()
190 : cstr_( other.index_ != noDuplication && other.cstr_ != 0 in CZString()
193 , index_( other.cstr_ ? (other.index_ == noDuplication ? noDuplication : duplicate) in CZString()
194 : other.index_ ) in CZString()
200 if ( cstr_ && index_ == duplicate ) in ~CZString()
208 std::swap( index_, other.index_ ); in swap()
224 return index_ < other.index_; in operator <()
232 return index_ == other.index_; in operator ==()
239 return index_; in index()
[all …]
/external/vixl/src/vixl/
Dinvalset.h256 size_t index_; variable
661 index_(0), in InvalSetIterator()
693 return &(inval_set_->preallocated_[index_]); in Current()
704 index_++; in Advance()
708 index_++; in Advance()
717 VIXL_ASSERT(done == (index_ == inval_set_->size())); in Done()
720 return index_ == inval_set_->size(); in Done()
731 index_ = inval_set_->size(); in Finish()
741 inval_set_->EraseInternal(inval_set_->preallocated_ + index_); in DeleteCurrentAndAdvance()
/external/protobuf/gtest/include/gtest/internal/
Dgtest-param-util.h201 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
209 index_++; in Advance()
222 CheckedDowncastToActualType<const Iterator>(&other)->index_; in Equals()
223 return index_ == other_index; in Equals()
229 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator()
237 int index_; variable
Dgtest-death-test-internal.h196 : file_(a_file), line_(a_line), index_(an_index), in InternalRunDeathTestFlag()
206 int index() const { return index_; } in index()
212 int index_; variable
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-param-util.h202 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
210 index_++; in Advance()
223 CheckedDowncastToActualType<const Iterator>(&other)->index_; in Equals()
224 return index_ == other_index; in Equals()
230 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator()
238 int index_; variable
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-param-util.h202 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
210 index_++; in Advance()
223 CheckedDowncastToActualType<const Iterator>(&other)->index_; in Equals()
224 return index_ == other_index; in Equals()
230 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator()
238 int index_; variable
Dgtest-death-test-internal.h240 : file_(a_file), line_(a_line), index_(an_index), in InternalRunDeathTestFlag()
250 int index() const { return index_; } in index()
256 int index_; variable
/external/gtest/include/gtest/internal/
Dgtest-param-util.h202 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
210 index_++; in Advance()
223 CheckedDowncastToActualType<const Iterator>(&other)->index_; in Equals()
224 return index_ == other_index; in Equals()
230 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator()
238 int index_; variable
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h202 : base_(base), value_(value), index_(index), step_(step) {} in Iterator()
210 index_++; in Advance()
223 CheckedDowncastToActualType<const Iterator>(&other)->index_; in Equals()
224 return index_ == other_index; in Equals()
230 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator()
238 int index_; variable

1234