/art/libdexfile/dex/ |
dex_file_types.h | 30 uint32_t index_; member in class:art::dex::StringIndex 32 constexpr StringIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {} 33 explicit constexpr StringIndex(uint32_t idx) : index_(idx) {} 36 return index_ != std::numeric_limits<decltype(index_)>::max(); 39 return StringIndex(std::numeric_limits<decltype(index_)>::max()); 43 return index_ == other.index_; 46 return index_ != other.index_ 65 uint16_t index_; member in class:art::dex::TypeIndex [all...] |
bytecode_utils.h | 110 index_(0u) {} 112 bool Done() const { return index_ >= num_entries_; } 113 bool IsLast() const { return index_ == num_entries_ - 1; } 117 index_++; 121 return table_.IsSparse() ? table_.GetEntryAt(index_) : table_.GetEntryAt(0) + index_; 125 return table_.GetEntryAt(index_ + first_target_offset_); 128 uint32_t GetDexPcForCurrentIndex() const { return table_.GetDexPcForIndex(index_); } 135 size_t index_; member in class:art::DexSwitchTableIterator
|
/system/bt/packet/base/ |
iterator.cc | 27 index_ = i; 29 CHECK_GE(index_, packet->packet_start_index_); 30 CHECK_LE(index_, packet->packet_end_index_); 42 size_t new_offset = index_ + offset; 43 index_ = new_offset > packet_->packet_end_index_ ? packet_->packet_end_index_ 50 index_++; 52 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; 58 index_++; 60 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_ [all...] |
/system/bt/vendor_libs/test_vendor_lib/src/ |
hci_packet.cc | 8 index_ = i; 22 size_t new_offset = index_ + offset; 23 index_ = new_offset >= hci_packet_->get_length() ? hci_packet_->get_length() 30 index_++; 32 if (index_ >= hci_packet_->get_length()) index_ = hci_packet_->get_length(); 38 index_++; 40 if (index_ >= hci_packet_->get_length()) index_ = hci_packet_->get_length(); 51 int Iterator::operator-(Iterator& itr) { return index_ - itr.index_; [all...] |
/external/puffin/src/ |
puff_reader.cc | 28 TEST_AND_RETURN_FALSE_SET_ERROR(index_ < puff_size_, 30 if (puff_buf_in_[index_] & 0x80) { // Reading length/distance. 31 if ((puff_buf_in_[index_] & 0x7F) < 127) { 32 length = puff_buf_in_[index_] & 0x7F; 34 index_++; 36 TEST_AND_RETURN_FALSE_SET_ERROR(index_ < puff_size_, 38 length = puff_buf_in_[index_] + 127; 43 index_++; 55 TEST_AND_RETURN_FALSE_SET_ERROR(index_ + 1 < puff_size_, 57 auto distance = ReadByteArrayToUint16(&puff_buf_in_[index_]); [all...] |
puff_writer.cc | 38 len_index_ = index_; 39 index_++; 46 TEST_AND_RETURN_FALSE_SET_ERROR(index_ + 2 <= puff_size_, 53 index_ += 2; 60 TEST_AND_RETURN_FALSE_SET_ERROR(index_ + length <= puff_size_, 63 puff_buf_out_[index_] = pd.byte; 66 pd.read_fn(&puff_buf_out_[index_], length), 74 index_ += length; 95 TEST_AND_RETURN_FALSE_SET_ERROR(index_ + 3 <= puff_size_, 98 puff_buf_out_[index_++] [all...] |
bit_reader.cc | 12 if ((in_size_ - index_) * 8 + in_cache_bits_ < nbits) { 19 in_cache_ |= in_buf_[index_++] << in_cache_bits_; 47 index_ -= (in_cache_bits_ + 7) / 8; 50 TEST_AND_RETURN_FALSE(length <= in_size_ - index_); 54 memcpy(buffer, &in_buf_[index_], count); 56 index_ += count; 64 return index_ - in_cache_bits_ / 8; 68 return (index_ * 8) - in_cache_bits_;
|
bit_writer.cc | 14 TEST_AND_RETURN_FALSE(((out_size_ - index_) * 8) - out_holder_bits_ >= nbits); 18 out_buf_[index_++] = out_holder_ & 0x000000FF; 36 TEST_AND_RETURN_FALSE(((out_size_ - index_) * 8) - out_holder_bits_ >= 40 TEST_AND_RETURN_FALSE(read_fn(&out_buf_[index_], nbytes)); 41 index_ += nbytes; 52 out_buf_[index_++] = out_holder_ & 0x000000FF; 60 return index_;
|
puff_reader.h | 46 index_(0), 62 size_t index_; member in class:puffin::BufferPuffReader
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
vad_circular_buffer.cc | 21 index_(0), 31 index_ = 0; 45 return buffer_[index_]; 53 if (index_ > 0) 54 m = sum_ / index_; 63 sum_ -= buffer_[index_]; 66 buffer_[index_] = value; 67 index_++; 68 if (index_ >= buffer_size_) { 70 index_ = 0 [all...] |
standalone_vad.cc | 24 : vad_(vad), buffer_(), index_(0), mode_(kDefaultStandaloneVadMode) { 49 if (index_ + length > kLength10Ms * kMaxNum10msFrames) 53 index_ = 0; 55 memcpy(&buffer_[index_], data, sizeof(int16_t) * length); 56 index_ += length; 61 if (index_ == 0) 64 const size_t num_frames = index_ / kLength10Ms; 67 assert(WebRtcVad_ValidRateAndFrameLength(kSampleRateHz, index_) == 0); 69 int activity = WebRtcVad_Process(vad_, kSampleRateHz, buffer_, index_); 79 index_ = 0 [all...] |
/system/core/libunwindstack/ |
ElfInterfaceArm.h | 38 iterator(ElfInterfaceArm* interface, size_t index) : interface_(interface), index_(index) { } 40 iterator& operator++() { index_++; return *this; } 41 iterator& operator++(int increment) { index_ += increment; return *this; } 42 iterator& operator--() { index_--; return *this; } 43 iterator& operator--(int decrement) { index_ -= decrement; return *this; } 45 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; } 46 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; } 49 uint32_t addr = interface_->addrs_[index_]; 61 size_t index_ = 0; member in class:unwindstack::ElfInterfaceArm::iterator [all...] |
/external/google-breakpad/src/processor/ |
static_map_iterator-inl.h | 47 index_(index), base_(base) { 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_]); [all...] |
/external/v8/src/ |
collector.h | 28 : index_(0), size_(0) { 42 if (index_ >= current_chunk_.length()) { 45 current_chunk_[index_] = value; 46 index_++; 56 if (size > current_chunk_.length() - index_) { 59 T* position = current_chunk_.start() + index_; 60 index_ += size; 73 if (source.length() > current_chunk_.length() - index_) { 76 T* position = current_chunk_.start() + index_; 77 index_ += source.length() 129 int index_; \/\/ Current index in current chunk. member in class:v8::internal::Collector [all...] |
identity-map.h | 125 index_ = map_->NextIndex(index_); 130 map_->DeleteIndex(index_); 131 index_ = map_->NextIndex(index_); 135 V* operator*() { return reinterpret_cast<V*>(map_->EntryAtIndex(index_)); } 136 V* operator->() { return reinterpret_cast<V*>(map_->EntryAtIndex(index_)); } 137 bool operator!=(const Iterator& other) { return index_ != other.index_; } 140 Iterator(IdentityMap* map, int index) : map_(map), index_(index) { 143 int index_; member in class:v8::internal::IdentityMap::Iterator [all...] |
dateparser.h | 53 : index_(0), 59 int position() { return index_; } 63 ch_ = (index_ < buffer_.length()) ? buffer_[index_] : 0; 64 index_++; 116 int index_; member in class:v8::internal::DateParser::BASE_EMBEDDED 296 TimeComposer() : index_(0), hour_offset_(kNone) {} 297 bool IsEmpty() const { return index_ == 0; } 299 return (index_ == 1 && IsMinute(n)) || 300 (index_ == 2 && IsSecond(n)) | [all...] |
/system/core/libbacktrace/include/backtrace/ |
BacktraceMap.h | 73 iterator(BacktraceMap* map, size_t index) : map_(map), index_(index) {} 76 index_++; 80 index_ += increment; 84 index_--; 88 index_ -= decrement; 92 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; } 93 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; } 96 if (index_ >= map_->size()) 108 size_t index_ = 0; member in class:BacktraceMap::iterator [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
retval_op.cc | 32 OP_REQUIRES_OK(ctx, ctx->GetAttr("index", &index_)); 46 OP_REQUIRES_OK(ctx, frame->SetRetval(index_, input)); 61 OP_REQUIRES_OK(ctx, tc.AddConstRetval(index_, dtype_, literal)); 69 tc.AddRetval(index_, dtype_, tuple_elem); 76 int index_; member in class:tensorflow::__anon38767::RetvalOp
|
arg_op.cc | 32 OP_REQUIRES_OK(ctx, ctx->GetAttr("index", &index_)); 41 OP_REQUIRES_OK(ctx, frame->GetArg(index_, &val)); 51 const XlaExpression& arg = XlaContext::Get(ctx).args()[index_]; 62 int index_; member in class:tensorflow::XlaArgOp
|
/external/webrtc/webrtc/base/ |
window.h | 92 DesktopId() : id_(0), index_(-1) {} 94 : id_(id), index_(index) { 97 int index() const { return index_; } 98 bool IsValid() const { return index_ != -1; } 100 return id_ == other.id() && index_ == other.index(); 108 int index_; member in class:rtc::DesktopId
|
/system/update_engine/payload_generator/ |
tarjan.h | 35 TarjanAlgorithm() : index_(0), required_vertex_(0) {} 44 Vertex::Index index_; member in class:chromeos_update_engine::TarjanAlgorithm
|
/system/core/libunwindstack/include/unwindstack/ |
DwarfSection.h | 46 iterator(DwarfSection* section, size_t index) : section_(section), index_(index) {} 49 index_++; 53 index_ += increment; 57 index_--; 61 index_ -= decrement; 65 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; } 66 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; } 68 const DwarfFde* operator*() { return section_->GetFdeFromIndex(index_); } 72 size_t index_ = 0; member in class:unwindstack::DwarfSection::iterator [all...] |
/external/libchrome/base/containers/ |
mru_cache.h | 89 typename KeyIndex::iterator index_iter = index_.find(key); 90 if (index_iter != index_.end()) { 101 index_.insert(std::make_pair(key, ordering_.begin())); 109 typename KeyIndex::iterator index_iter = index_.find(key); 110 if (index_iter == index_.end()) 122 typename KeyIndex::const_iterator index_iter = index_.find(key); 123 if (index_iter == index_.end()) 129 typename KeyIndex::const_iterator index_iter = index_.find(key); 130 if (index_iter == index_.end()) 138 index_.swap(other.index_) 199 KeyIndex index_; member in class:base::MRUCacheBase [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
logical_buffer.h | 109 const ShapeIndex& index() const { return index_; } 131 return ShapeUtil::GetSubshape(instruction_->shape(), index_); 136 bool IsTopLevel() const { return index_.empty(); } 163 ShapeIndex index_; member in class:xla::LogicalBuffer
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/ |
basic_resolver_iterator.hpp | 65 : index_(0) 182 if (++index_ == values_->size()) 186 index_ = 0; 196 return index_ == other.index_; 201 return (*values_)[index_]; 206 std::size_t index_; member in class:asio::ip::basic_resolver_iterator
|