/external/v8/src/ |
H A D | label.h | 33 INLINE(void Unuse()) { pos_ = 0; } 36 INLINE(bool is_bound() const) { return pos_ < 0; } 37 INLINE(bool is_unused() const) { return pos_ == 0 && near_link_pos_ == 0; } 38 INLINE(bool is_linked() const) { return pos_ > 0; } 44 if (pos_ < 0) return -pos_ - 1; 45 if (pos_ > 0) return pos_ - 1; 53 // pos_ encodes both the binding state (via its sign) 56 // pos_ < 59 int pos_; member in class:v8::internal::Label [all...] |
H A D | log-utils.cc | 107 pos_(0) { 113 Vector<char> buf(log_->message_buffer_ + pos_, 114 Log::kMessageBufferSize - pos_); 119 DCHECK(pos_ <= Log::kMessageBufferSize); 124 Vector<char> buf(log_->message_buffer_ + pos_, 125 Log::kMessageBufferSize - pos_); 130 pos_ += result; 132 pos_ = Log::kMessageBufferSize; 134 DCHECK(pos_ <= Log::kMessageBufferSize); 139 if (pos_ < Lo [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_flag_parser.cc | 76 while (is_space(buf_[pos_])) ++pos_; 80 uptr name_start = pos_; 81 while (buf_[pos_] != 0 && buf_[pos_] != '=' && !is_space(buf_[pos_])) ++pos_; 82 if (buf_[pos_] != '=') fatal_error("expected '='"); 83 char *name = ll_strndup(buf_ + name_start, pos_ - name_start); 85 uptr value_start = ++pos_; [all...] |
/external/brotli/enc/ |
H A D | ringbuffer.h | 41 uint32_t pos_; member in struct:RingBuffer 51 rb->pos_ = 0; 95 const size_t masked_pos = rb->pos_ & rb->mask_; 107 if (rb->pos_ == 0 && n < rb->tail_size_) { 114 rb->pos_ = (uint32_t)n; 115 RingBufferInitBuffer(m, rb->pos_, rb); 130 const size_t masked_pos = rb->pos_ & rb->mask_; 149 rb->pos_ += (uint32_t)n; 150 if (rb->pos_ > (1u << 30)) { 152 rb->pos_ [all...] |
/external/v8/src/wasm/ |
H A D | wasm-module-builder.h | 26 pos_ = buffer_; 32 *(pos_++) = x; 37 WriteLittleEndianValue<uint16_t>(pos_, x); 38 pos_ += 2; 43 WriteLittleEndianValue<uint32_t>(pos_, x); 44 pos_ += 4; 49 LEBHelper::write_u32v(&pos_, val); 54 LEBHelper::write_i32v(&pos_, val); 60 LEBHelper::write_u32v(&pos_, static_cast<uint32_t>(val)); 65 memcpy(pos_, dat 113 byte* pos_; member in class:v8::internal::wasm::ZoneBuffer [all...] |
/external/libchrome/base/json/ |
H A D | json_parser.cc | 196 pos_(nullptr), 221 pos_ = start_pos_; 235 if (CanConsume(3) && static_cast<uint8_t>(*pos_) == 0xEF && 236 static_cast<uint8_t>(*(pos_ + 1)) == 0xBB && 237 static_cast<uint8_t>(*(pos_ + 2)) == 0xBF) { 299 : pos_(pos), 306 std::swap(other->pos_, pos_); 332 string_ = new std::string(pos_, length_); 342 return StringPiece(pos_, length [all...] |
H A D | json_parser_unittest.cc | 23 parser->pos_ = parser->start_pos_; 32 EXPECT_EQ(parser->end_pos_, parser->pos_); 40 EXPECT_EQ('H', *parser->pos_); 51 EXPECT_EQ('"', *parser->pos_); 65 EXPECT_EQ(']', *parser->pos_); 79 EXPECT_EQ('}', *parser->pos_); 96 EXPECT_EQ('e', *parser->pos_); 109 EXPECT_EQ('e', *parser->pos_); 121 EXPECT_EQ('l', *parser->pos_); 134 EXPECT_EQ('4', *parser->pos_); [all...] |
/external/v8/src/ic/ |
H A D | ic-stats.h | 58 DCHECK(pos_ >= 0 && pos_ < MAX_IC_INFO); 59 return ic_infos_[pos_]; 71 int pos_; member in class:v8::internal::ICStats
|
H A D | ic-stats.cc | 19 ICStats::ICStats() : ic_infos_(MAX_IC_INFO), pos_(0) { 30 ++pos_; 31 if (pos_ == MAX_IC_INFO) { 41 pos_ = 0; 47 for (int i = 0; i < pos_; ++i) { 83 ic_infos_[pos_].is_optimized = function->IsOptimized();
|
/external/icu/icu4c/source/common/ |
H A D | bytestrieiterator.cpp | 28 pos_(bytes_), initialPos_(bytes_), 49 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), 72 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); 73 pos_+=length; 85 pos_=initialPos_; 92 pos_+=length; 99 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } 106 const uint8_t *pos=pos_; [all...] |
H A D | ucharstrieiterator.cpp | 27 pos_(uchars_), initialPos_(uchars_), 48 : uchars_(trie.uchars_), pos_(trie.pos_), initialPos_(trie.pos_), 71 str_.append(pos_, length); 72 pos_+=length; 83 pos_=initialPos_; 91 pos_+=length; 98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } 105 const UChar *pos=pos_; [all...] |
H A D | bytestrie.cpp | 70 const uint8_t *pos=pos_; 134 pos_=pos; 141 pos_=pos; 161 pos_=pos; 184 const uint8_t *pos=pos_; 196 pos_=pos; 214 const uint8_t *pos=pos_; 227 pos_=pos; 247 pos_=pos; 290 pos=pos_; // branchNex [all...] |
H A D | ucharstrie.cpp | 33 const UChar *pos=pos_; 107 pos_=pos; 114 pos_=pos; 134 pos_=pos; 156 const UChar *pos=pos_; 165 pos_=pos; 183 const UChar *pos=pos_; 196 pos_=pos; 216 pos_=pos; 259 pos=pos_; // branchNex [all...] |
/external/icu/icu4c/source/common/unicode/ |
H A D | ucharstrie.h | 68 pos_(uchars_), remainingMatchLength_(-1) {} 84 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {} 92 pos_=uchars_; 126 state.pos=pos_; 143 pos_=state.pos; 223 const UChar *pos=pos_; 240 const UChar *pos=pos_; 334 pos_=NULL; 342 const UChar *pos_; member in class:UCharsTrie::Iterator 571 const UChar *pos_; member in class:UCharsTrie [all...] |
H A D | bytestrie.h | 68 pos_(bytes_), remainingMatchLength_(-1) {} 84 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {} 92 pos_=bytes_; 126 state.pos=pos_; 143 pos_=state.pos; 209 const uint8_t *pos=pos_; 225 const uint8_t *pos=pos_; 324 const uint8_t *pos_; member in class:BytesTrie::Iterator 355 pos_(bytes 513 const uint8_t *pos_; member in class:BytesTrie [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | CharsTrie.java | 50 pos_=root_=offset; 69 pos_=root_; 98 state.pos=pos_; 114 pos_=state.pos; 128 int pos=pos_; 170 int pos=pos_; 179 pos_=pos; 225 int pos=pos_; 237 pos_=pos; 271 pos=pos_; // branchNex 601 private int pos_; field in class:CharsTrie.Iterator 995 private int pos_; field in class:CharsTrie [all...] |
H A D | BytesTrie.java | 47 pos_=root_=offset; 66 pos_=root_; 95 state.pos=pos_; 111 pos_=state.pos; 181 int pos=pos_; 213 int pos=pos_; 225 pos_=pos; 257 int pos=pos_; 269 pos_=pos; 303 pos=pos_; // branchNex 656 private int pos_; field in class:BytesTrie.Iterator 1038 private int pos_; field in class:BytesTrie [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CharsTrie.java | 50 pos_=root_=offset; 71 pos_=root_; 103 state.pos=pos_; 120 pos_=state.pos; 135 int pos=pos_; 180 int pos=pos_; 189 pos_=pos; 237 int pos=pos_; 249 pos_=pos; 283 pos=pos_; // branchNex 627 private int pos_; field in class:CharsTrie.Iterator 1021 private int pos_; field in class:CharsTrie [all...] |
H A D | BytesTrie.java | 47 pos_=root_=offset; 68 pos_=root_; 100 state.pos=pos_; 117 pos_=state.pos; 196 int pos=pos_; 230 int pos=pos_; 242 pos_=pos; 275 int pos=pos_; 287 pos_=pos; 321 pos=pos_; // branchNex 691 private int pos_; field in class:BytesTrie.Iterator 1073 private int pos_; field in class:BytesTrie [all...] |
/external/webp/src/utils/ |
H A D | bit_reader_utils.c | 159 br->pos_ = length; 170 // pos_ > len_ should be considered a param error. 171 br->eos_ = (br->pos_ > br->len_) || VP8LIsEndOfStream(br); 181 while (br->bit_pos_ >= 8 && br->pos_ < br->len_) { 183 br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (VP8L_LBITS - 8); 184 ++br->pos_; 195 if (br->pos_ + sizeof(br->val_) < br->len_) { 198 br->val_ |= (vp8l_val_t)HToLE32(WebPMemToUint32(br->buf_ + br->pos_)) << 200 br->pos_ += VP8L_LOG8_WBITS;
|
H A D | bit_reader_utils.h | 125 size_t pos_; // byte position in buf_ member in struct:__anon25876 152 assert(br->pos_ <= br->len_); 153 return br->eos_ || ((br->pos_ == br->len_) && (br->bit_pos_ > VP8L_LBITS));
|
H A D | bit_writer_utils.h | 33 size_t pos_; member in struct:VP8BitWriter 58 return (bw->pos_ + bw->run_) * 8 + nb_bits; 67 return bw->pos_;
|
H A D | bit_writer_utils.c | 29 const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; 45 if (bw->pos_ > 0) { 47 memcpy(new_buf, bw->buf_, bw->pos_); 62 size_t pos = bw->pos_; 74 bw->pos_ = pos; 167 bw->pos_ = 0; 186 memcpy(bw->buf_ + bw->pos_, data, size); 187 bw->pos_ += size;
|
/external/webrtc/webrtc/common_audio/ |
H A D | wav_header_unittest.cc | 24 pos_(0), 30 pos_(0), 37 EXPECT_EQ(size_, pos_); 43 EXPECT_GE(size_, pos_ + num_bytes); 46 const size_t bytes_remaining = size_ - pos_; 54 memcpy(buf, &buf_[pos_], num_bytes); 55 pos_ += num_bytes; 62 size_t pos_; member in class:webrtc::ReadableWavBuffer
|
/external/v8/src/third_party/vtune/ |
H A D | vtune-jit.cc | 84 : pc_(pc), pos_(pos) { } 87 int pos_; member in struct:vTune::internal::JITCodeLineInfo::LineNumInfo 211 script->GetLineNumber(Iter->pos_) + 1;
|