Searched refs:pos_ (Results 1 - 25 of 97) sorted by relevance

1234

/external/chromium_org/base/test/expectations/
H A Dparser.cc14 pos_(NULL),
24 pos_ = &input_[0];
25 end_ = pos_ + input_.length();
36 return pos_ < end_;
42 if (IsAsciiWhitespace(*pos_))
46 if (*pos_ == '#')
51 if (pos_ >= end_)
61 if (*pos_ != '#')
65 ++pos_;
66 } while (HasNext() && *pos_ !
[all...]
/external/chromium_org/net/cert/
H A Dpem_tokenizer.cc39 while (pos_ != StringPiece::npos) {
41 pos_ = str_.find(kPEMSearchBlock, pos_);
42 if (pos_ == StringPiece::npos)
48 if (!str_.substr(pos_).starts_with(it->header))
53 StringPiece::size_type footer_pos = str_.find(it->footer, pos_);
55 pos_ = StringPiece::npos;
60 StringPiece::size_type data_begin = pos_ + it->header.size();
61 pos_ = footer_pos + it->footer.size();
77 // continue the search. Otherwise, |pos_| ha
[all...]
/external/chromium_org/net/dns/
H A Ddns_hosts.cc27 pos_(0),
35 bool next_is_ip = (pos_ == 0);
36 while (pos_ < end_ && pos_ != std::string::npos) {
37 switch (text_[pos_]) {
46 pos_++;
62 size_t token_start = pos_;
64 size_t token_end = (pos_ == std::string::npos) ? end_ : pos_;
81 pos_
121 size_t pos_; member in class:net::__anon9193::HostsParser
[all...]
/external/chromium_org/net/quic/
H A Dquic_data_reader.cc17 pos_(0) {
115 result->set(data_ + pos_, size);
118 pos_ += size;
125 pos_ = len_;
130 return StringPiece(data_ + pos_, len_ - pos_);
141 memcpy(result, data_ + pos_, size);
144 pos_ += size;
150 return len_ == pos_;
154 return len_ - pos_;
[all...]
/external/chromium_org/third_party/brotli/src/brotli/dec/
H A Dbit_reader.c34 br->pos_ = 0;
42 br->val_ |= ((uint64_t)br->buf_[br->pos_]) << (8 * i);
43 ++br->pos_;
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/
H A Dbyte_reader.js17 this.pos_ = 0;
259 return this.pos_ + size <= this.view_.byteLength;
267 return this.pos_ >= this.view_.byteLength;
275 return this.pos_ < 0;
283 return this.pos_ >= this.view_.byteLength || this.pos_ < 0;
308 ByteReader.validateRead(this.view_, this.pos_, size, opt_end);
343 var rv = this.view_[method](this.pos_, this.littleEndian_);
344 this.pos_ += width;
359 var rv = ByteReader.readString(this.view_, this.pos_, siz
[all...]
/external/chromium_org/v8/src/
H A Dlog-utils.cc96 pos_(0) {
102 Vector<char> buf(log_->message_buffer_ + pos_,
103 Log::kMessageBufferSize - pos_);
108 DCHECK(pos_ <= Log::kMessageBufferSize);
113 Vector<char> buf(log_->message_buffer_ + pos_,
114 Log::kMessageBufferSize - pos_);
119 pos_ += result;
121 pos_ = Log::kMessageBufferSize;
123 DCHECK(pos_ <= Log::kMessageBufferSize);
128 if (pos_ < Lo
[all...]
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dringbuffer.h28 : window_bits_(window_bits), tail_bits_(tail_bits), pos_(0) {
42 const size_t masked_pos = pos_ & ((1 << window_bits_) - 1);
59 pos_ += n;
63 size_t position() const { return pos_; }
70 const size_t masked_pos = pos_ & ((1 << window_bits_) - 1);
83 size_t pos_; member in class:RingBuffer
/external/chromium_org/ui/app_list/search/
H A Dterm_break_iterator.cc17 pos_(0),
45 prev_ = pos_;
46 pos_ = iter_->array_pos();
48 return prev_ != pos_ || !iter_->end();
52 DCHECK(prev_ != npos && pos_ != npos);
53 return word_.substr(prev_, pos_ - prev_);
H A Dterm_break_iterator.h37 // [prev_, pos_).
41 size_t pos() const { return pos_; }
60 size_t pos_; member in class:app_list::TermBreakIterator
/external/chromium_org/base/i18n/
H A Dbreak_iterator.cc22 pos_(0) {
31 pos_(0) {
93 prev_ = pos_;
101 pos_ = npos;
104 pos_ = static_cast<size_t>(pos);
111 pos_ = static_cast<size_t>(pos);
114 if (pos == UBRK_DONE && prev_ == pos_) {
115 pos_ = npos;
129 pos_ = 0; // implicit when ubrk_setText is done
175 DCHECK(prev_ != npos && pos_ !
[all...]
H A Dbreak_iterator.h123 size_t pos() const { return pos_; }
142 size_t prev_, pos_; member in class:base::i18n::BreakIterator
/external/chromium_org/base/json/
H A Djson_parser.cc190 pos_(NULL),
215 pos_ = start_pos_;
229 if (CanConsume(3) && static_cast<uint8>(*pos_) == 0xEF &&
230 static_cast<uint8>(*(pos_ + 1)) == 0xBB &&
231 static_cast<uint8>(*(pos_ + 2)) == 0xBF) {
279 : pos_(NULL),
285 : pos_(pos),
292 std::swap(other->pos_, pos_);
318 string_ = new std::string(pos_, length
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Dtime_widget.js30 this.pos_ = 0;
88 if (this.pos_ < 0){
89 this.pos_ = 0;
91 if (this.pos_ > this.maxPos_){
92 this.pos_ = this.maxPos_;
96 if (this.pos_ == this.maxPos_){
100 switch (this.pos_){
195 this.pos_++;
200 this.pos_--;
/external/chromium_org/third_party/icu/source/common/
H A Dbytestrieiterator.cpp26 pos_(bytes_), initialPos_(bytes_),
47 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_),
70 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode);
71 pos_+=length;
83 pos_=initialPos_;
90 pos_+=length;
97 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); }
104 const uint8_t *pos=pos_;
[all...]
H A Ducharstrieiterator.cpp25 pos_(uchars_), initialPos_(uchars_),
46 : uchars_(trie.uchars_), pos_(trie.pos_), initialPos_(trie.pos_),
69 str_.append(pos_, length);
70 pos_+=length;
81 pos_=initialPos_;
89 pos_+=length;
96 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); }
103 const UChar *pos=pos_;
[all...]
/external/icu/icu4c/source/common/
H A Dbytestrieiterator.cpp26 pos_(bytes_), initialPos_(bytes_),
47 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_),
70 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode);
71 pos_+=length;
83 pos_=initialPos_;
90 pos_+=length;
97 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); }
104 const uint8_t *pos=pos_;
[all...]
H A Ducharstrieiterator.cpp25 pos_(uchars_), initialPos_(uchars_),
46 : uchars_(trie.uchars_), pos_(trie.pos_), initialPos_(trie.pos_),
69 str_.append(pos_, length);
70 pos_+=length;
81 pos_=initialPos_;
89 pos_+=length;
96 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); }
103 const UChar *pos=pos_;
[all...]
/external/openfst/src/include/fst/
H A Dheap.h68 pos_[key_[size_]] = size_;
71 pos_.push_back(size_);
84 int i = pos_[key];
147 pos_[key_[j] = key_[k]] = j;
148 pos_[key_[k] = tkey] = k;
196 vector<int> pos_; member in class:fst::Heap
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dheap.h62 pos_[key_[size_]] = size_;
65 pos_.push_back(size_);
78 int i = pos_[key];
139 pos_[key_[j] = key_[k]] = j;
140 pos_[key_[k] = tkey] = k;
184 vector<int> pos_; member in class:fst::Heap
/external/chromium_org/third_party/icu/source/common/unicode/
H A Ducharstrie.h66 pos_(uchars_), remainingMatchLength_(-1) {}
82 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {}
90 pos_=uchars_;
124 state.pos=pos_;
141 pos_=state.pos;
221 const UChar *pos=pos_;
238 const UChar *pos=pos_;
332 pos_=NULL;
340 const UChar *pos_; member in class:UCharsTrie::Iterator
569 const UChar *pos_; member in class:UCharsTrie
[all...]
H A Dbytestrie.h66 pos_(bytes_), remainingMatchLength_(-1) {}
82 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {}
90 pos_=bytes_;
124 state.pos=pos_;
141 pos_=state.pos;
207 const uint8_t *pos=pos_;
223 const uint8_t *pos=pos_;
322 const uint8_t *pos_; member in class:BytesTrie::Iterator
354 pos_(bytes
512 const uint8_t *pos_; member in class:BytesTrie
[all...]
/external/chromium_org/third_party/skia/src/images/
H A Dbmpdecoderhelper.cpp25 pos_ = 0;
91 if (pos_ + (cols * colLen) > len_) {
112 if (pos_ + 12 > len_) {
156 if (offset > 0 && (size_t)offset > pos_ && (size_t)offset < len_) {
157 pos_ = offset;
161 if (!rle && (pos_ + (rowLen * height_) > len_ + 1)) {
185 while (pos_ + 1 < len_) {
213 if (pos_ + 1 < len_) {
229 while (cmd-- && pos_ < len_) {
249 if ((bytesRead & 1) && pos_ < len
[all...]
/external/icu/icu4c/source/common/unicode/
H A Ducharstrie.h66 pos_(uchars_), remainingMatchLength_(-1) {}
82 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {}
90 pos_=uchars_;
124 state.pos=pos_;
141 pos_=state.pos;
221 const UChar *pos=pos_;
238 const UChar *pos=pos_;
332 pos_=NULL;
340 const UChar *pos_; member in class:UCharsTrie::Iterator
569 const UChar *pos_; member in class:UCharsTrie
[all...]
/external/skia/src/images/
H A Dbmpdecoderhelper.cpp25 pos_ = 0;
91 if (pos_ + (cols * colLen) > len_) {
112 if (pos_ + 12 > len_) {
156 if (offset > 0 && (size_t)offset > pos_ && (size_t)offset < len_) {
157 pos_ = offset;
161 if (!rle && (pos_ + (rowLen * height_) > len_ + 1)) {
185 while (pos_ + 1 < len_) {
213 if (pos_ + 1 < len_) {
229 while (cmd-- && pos_ < len_) {
249 if ((bytesRead & 1) && pos_ < len
[all...]

Completed in 910 milliseconds

1234