pos_ 63 base/i18n/break_iterator.cc prev_ = pos_; pos_ 70 base/i18n/break_iterator.cc pos_ = npos; pos_ 73 base/i18n/break_iterator.cc pos_ = static_cast<size_t>(pos); pos_ 80 base/i18n/break_iterator.cc pos_ = static_cast<size_t>(pos); pos_ 83 base/i18n/break_iterator.cc if (pos == UBRK_DONE && prev_ == pos_) { pos_ 84 base/i18n/break_iterator.cc pos_ = npos; pos_ 121 base/i18n/break_iterator.cc DCHECK(prev_ != npos && pos_ != npos); pos_ 122 base/i18n/break_iterator.cc return string_.substr(prev_, pos_ - prev_); pos_ 107 base/i18n/break_iterator.h size_t pos() const { return pos_; } pos_ 123 base/i18n/break_iterator.h size_t prev_, pos_; pos_ 190 base/json/json_parser.cc pos_(NULL), pos_ 215 base/json/json_parser.cc pos_ = start_pos_; pos_ 229 base/json/json_parser.cc if (CanConsume(3) && static_cast<uint8>(*pos_) == 0xEF && pos_ 230 base/json/json_parser.cc static_cast<uint8>(*(pos_ + 1)) == 0xBB && pos_ 231 base/json/json_parser.cc static_cast<uint8>(*(pos_ + 2)) == 0xBF) { pos_ 279 base/json/json_parser.cc : pos_(NULL), pos_ 285 base/json/json_parser.cc : pos_(pos), pos_ 292 base/json/json_parser.cc std::swap(other->pos_, pos_); pos_ 318 base/json/json_parser.cc string_ = new std::string(pos_, length_); pos_ 328 base/json/json_parser.cc return StringPiece(pos_, length_); pos_ 340 base/json/json_parser.cc return pos_ + length <= end_pos_; pos_ 346 base/json/json_parser.cc ++pos_; pos_ 347 base/json/json_parser.cc return pos_; pos_ 353 base/json/json_parser.cc pos_ += n; pos_ 361 base/json/json_parser.cc switch (*pos_) { pos_ 400 base/json/json_parser.cc while (pos_ < end_pos_) { pos_ 401 base/json/json_parser.cc switch (*pos_) { pos_ 406 base/json/json_parser.cc if (!(*pos_ == '\n' && pos_ > start_pos_ && *(pos_ - 1) == '\r')) pos_ 424 base/json/json_parser.cc if (*pos_ != '/' || !CanConsume(1)) pos_ 481 base/json/json_parser.cc if (*pos_ != '{') { pos_ 545 base/json/json_parser.cc if (*pos_ != '[') { pos_ 604 base/json/json_parser.cc if (*pos_ != '"') { pos_ 618 base/json/json_parser.cc pos_ = start_pos_ + index_; // CBU8_NEXT is postcrement. pos_ 737 base/json/json_parser.cc if (!HexStringToInt(StringPiece(pos_, 4), &code_unit16_high)) pos_ 767 base/json/json_parser.cc if (!HexStringToInt(StringPiece(pos_, 4), &code_unit16_low)) pos_ 807 base/json/json_parser.cc const char* num_start = pos_; pos_ 811 base/json/json_parser.cc if (*pos_ == '-') pos_ 821 base/json/json_parser.cc if (*pos_ == '.') { pos_ 835 base/json/json_parser.cc if (*pos_ == 'e' || *pos_ == 'E') { pos_ 837 base/json/json_parser.cc if (*pos_ == '-' || *pos_ == '+') pos_ 850 base/json/json_parser.cc const char* exit_pos = pos_ - 1; pos_ 864 base/json/json_parser.cc pos_ = exit_pos; pos_ 883 base/json/json_parser.cc char first = *pos_; pos_ 902 base/json/json_parser.cc switch (*pos_) { pos_ 907 base/json/json_parser.cc !StringsAreEqual(pos_, kTrueLiteral, kTrueLen)) { pos_ 918 base/json/json_parser.cc !StringsAreEqual(pos_, kFalseLiteral, kFalseLen)) { pos_ 929 base/json/json_parser.cc !StringsAreEqual(pos_, kNullLiteral, kNullLen)) { pos_ 136 base/json/json_parser.h const char* pos_; pos_ 234 base/json/json_parser.h const char* pos_; pos_ 20 base/json/json_parser_unittest.cc parser->pos_ = parser->start_pos_; pos_ 29 base/json/json_parser_unittest.cc EXPECT_EQ(parser->end_pos_, parser->pos_); pos_ 37 base/json/json_parser_unittest.cc EXPECT_EQ('H', *parser->pos_); pos_ 48 base/json/json_parser_unittest.cc EXPECT_EQ('"', *parser->pos_); pos_ 62 base/json/json_parser_unittest.cc EXPECT_EQ(']', *parser->pos_); pos_ 76 base/json/json_parser_unittest.cc EXPECT_EQ('}', *parser->pos_); pos_ 93 base/json/json_parser_unittest.cc EXPECT_EQ('e', *parser->pos_); pos_ 106 base/json/json_parser_unittest.cc EXPECT_EQ('e', *parser->pos_); pos_ 118 base/json/json_parser_unittest.cc EXPECT_EQ('l', *parser->pos_); pos_ 131 base/json/json_parser_unittest.cc EXPECT_EQ('4', *parser->pos_); pos_ 144 base/json/json_parser_unittest.cc EXPECT_EQ('4', *parser->pos_); pos_ 156 base/json/json_parser_unittest.cc EXPECT_EQ('4', *parser->pos_); pos_ 169 base/json/json_parser_unittest.cc EXPECT_EQ('3', *parser->pos_); pos_ 181 base/json/json_parser_unittest.cc EXPECT_EQ('5', *parser->pos_); pos_ 193 base/json/json_parser_unittest.cc EXPECT_EQ('3', *parser->pos_); pos_ 14 base/test/expectations/parser.cc pos_(NULL), pos_ 24 base/test/expectations/parser.cc pos_ = &input_[0]; pos_ 25 base/test/expectations/parser.cc end_ = pos_ + input_.length(); pos_ 36 base/test/expectations/parser.cc return pos_ < end_; pos_ 42 base/test/expectations/parser.cc if (IsAsciiWhitespace(*pos_)) pos_ 46 base/test/expectations/parser.cc if (*pos_ == '#') pos_ 51 base/test/expectations/parser.cc if (pos_ >= end_) pos_ 61 base/test/expectations/parser.cc if (*pos_ != '#') pos_ 65 base/test/expectations/parser.cc ++pos_; pos_ 66 base/test/expectations/parser.cc } while (HasNext() && *pos_ != '\n'); pos_ 77 base/test/expectations/parser.cc if (*pos_ != '[' || !HasNext()) pos_ 80 base/test/expectations/parser.cc ++pos_; pos_ 85 base/test/expectations/parser.cc if (*pos_ == ']') pos_ 114 base/test/expectations/parser.cc if (*pos_ != ']' || !HasNext()) pos_ 117 base/test/expectations/parser.cc ++pos_; pos_ 134 base/test/expectations/parser.cc if (*pos_ != '=' || !HasNext()) pos_ 137 base/test/expectations/parser.cc ++pos_; pos_ 163 base/test/expectations/parser.cc const char* start = pos_; pos_ 164 base/test/expectations/parser.cc while (!IsAsciiWhitespace(*pos_) && *pos_ != ']' && HasNext()) { pos_ 165 base/test/expectations/parser.cc ++pos_; pos_ 166 base/test/expectations/parser.cc if (*pos_ == '#') { pos_ 170 base/test/expectations/parser.cc extracted_string_ = base::StringPiece(start, pos_ - start); pos_ 175 base/test/expectations/parser.cc while ((*pos_ == ' ' || *pos_ == '\t') && HasNext()) { pos_ 176 base/test/expectations/parser.cc ++pos_; pos_ 182 base/test/expectations/parser.cc while (IsAsciiWhitespace(*pos_) && HasNext()) { pos_ 183 base/test/expectations/parser.cc if (*pos_ == '\n') { pos_ 186 base/test/expectations/parser.cc ++pos_; pos_ 120 base/test/expectations/parser.h const char* pos_; pos_ 17 chrome/browser/ui/app_list/search/term_break_iterator.cc pos_(0), pos_ 45 chrome/browser/ui/app_list/search/term_break_iterator.cc prev_ = pos_; pos_ 46 chrome/browser/ui/app_list/search/term_break_iterator.cc pos_ = iter_->array_pos(); pos_ 48 chrome/browser/ui/app_list/search/term_break_iterator.cc return prev_ != pos_ || !iter_->end(); pos_ 52 chrome/browser/ui/app_list/search/term_break_iterator.cc DCHECK(prev_ != npos && pos_ != npos); pos_ 53 chrome/browser/ui/app_list/search/term_break_iterator.cc return word_.substr(prev_, pos_ - prev_); pos_ 40 chrome/browser/ui/app_list/search/term_break_iterator.h size_t pos() const { return pos_; } pos_ 59 chrome/browser/ui/app_list/search/term_break_iterator.h size_t pos_; pos_ 188 media/audio/android/audio_android_unittest.cc if (pos_ + max_size > file_size()) { pos_ 190 media/audio/android/audio_android_unittest.cc max_size = file_size() - pos_; pos_ 199 media/audio/android/audio_android_unittest.cc audio_bus->FromInterleaved(file_->data() + pos_, frames, kBytesPerSample); pos_ 200 media/audio/android/audio_android_unittest.cc pos_ += max_size; pos_ 223 media/audio/android/audio_android_unittest.cc int pos_; pos_ 69 media/audio/win/audio_low_latency_output_win_unittest.cc : pos_(0), pos_ 122 media/audio/win/audio_low_latency_output_win_unittest.cc if (pos_ + static_cast<int>(max_size) > file_size()) pos_ 123 media/audio/win/audio_low_latency_output_win_unittest.cc max_size = file_size() - pos_; pos_ 127 media/audio/win/audio_low_latency_output_win_unittest.cc file_->data() + pos_, frames, kBitsPerSample / 8); pos_ 128 media/audio/win/audio_low_latency_output_win_unittest.cc pos_ += max_size; pos_ 147 media/audio/win/audio_low_latency_output_win_unittest.cc int pos_; pos_ 24 media/formats/mp4/box_reader.cc *v = buf_[pos_++]; pos_ 35 media/formats/mp4/box_reader.cc tmp += buf_[pos_++]; pos_ 55 media/formats/mp4/box_reader.cc vec->insert(vec->end(), buf_ + pos_, buf_ + pos_ + count); pos_ 56 media/formats/mp4/box_reader.cc pos_ += count; pos_ 62 media/formats/mp4/box_reader.cc pos_ += bytes; pos_ 175 media/formats/mp4/box_reader.cc BoxReader child(&buf_[pos_], size_ - pos_, log_cb_); pos_ 179 media/formats/mp4/box_reader.cc pos_ += child.size(); pos_ 229 media/formats/mp4/box_reader.cc if (size < static_cast<uint64>(pos_) || pos_ 32 media/formats/mp4/box_reader.h : buf_(buf), size_(size), pos_(0) {} pos_ 60 media/formats/mp4/box_reader.h int pos() const { return pos_; } pos_ 65 media/formats/mp4/box_reader.h int pos_; pos_ 200 media/formats/mp4/box_reader.h BoxReader child_reader(&buf_[pos_], size_ - pos_, log_cb_); pos_ 205 media/formats/mp4/box_reader.h pos_ += child_reader.size(); pos_ 39 net/cert/pem_tokenizer.cc while (pos_ != StringPiece::npos) { pos_ 41 net/cert/pem_tokenizer.cc pos_ = str_.find(kPEMSearchBlock, pos_); pos_ 42 net/cert/pem_tokenizer.cc if (pos_ == StringPiece::npos) pos_ 48 net/cert/pem_tokenizer.cc if (!str_.substr(pos_).starts_with(it->header)) pos_ 53 net/cert/pem_tokenizer.cc StringPiece::size_type footer_pos = str_.find(it->footer, pos_); pos_ 55 net/cert/pem_tokenizer.cc pos_ = StringPiece::npos; pos_ 60 net/cert/pem_tokenizer.cc StringPiece::size_type data_begin = pos_ + it->header.size(); pos_ 61 net/cert/pem_tokenizer.cc pos_ = footer_pos + it->footer.size(); pos_ 81 net/cert/pem_tokenizer.cc pos_ += sizeof(kPEMSearchBlock); pos_ 91 net/cert/pem_tokenizer.cc pos_ = 0; pos_ 58 net/cert/pem_tokenizer.h base::StringPiece::size_type pos_; pos_ 26 net/dns/dns_hosts.cc pos_(0), pos_ 34 net/dns/dns_hosts.cc bool next_is_ip = (pos_ == 0); pos_ 35 net/dns/dns_hosts.cc while (pos_ < end_ && pos_ != std::string::npos) { pos_ 36 net/dns/dns_hosts.cc switch (text_[pos_]) { pos_ 45 net/dns/dns_hosts.cc pos_++; pos_ 53 net/dns/dns_hosts.cc size_t token_start = pos_; pos_ 55 net/dns/dns_hosts.cc size_t token_end = (pos_ == std::string::npos) ? end_ : pos_; pos_ 73 net/dns/dns_hosts.cc pos_ = text_.find("\n", pos_); pos_ 88 net/dns/dns_hosts.cc pos_ = text_.find_first_of(" \t\n\r#", pos_); pos_ 92 net/dns/dns_hosts.cc pos_ = text_.find_first_not_of(" \t", pos_); pos_ 99 net/dns/dns_hosts.cc size_t pos_; pos_ 115 net/quic/quic_data_reader.cc result->set(data_ + pos_, size); pos_ 118 net/quic/quic_data_reader.cc pos_ += size; pos_ 125 net/quic/quic_data_reader.cc pos_ = len_; pos_ 130 net/quic/quic_data_reader.cc return StringPiece(data_ + pos_, len_ - pos_); pos_ 141 net/quic/quic_data_reader.cc memcpy(result, data_ + pos_, size); pos_ 144 net/quic/quic_data_reader.cc pos_ += size; pos_ 150 net/quic/quic_data_reader.cc return len_ == pos_; pos_ 154 net/quic/quic_data_reader.cc return len_ - pos_; pos_ 158 net/quic/quic_data_reader.cc return bytes <= (len_ - pos_); pos_ 164 net/quic/quic_data_reader.cc pos_ = len_; pos_ 126 net/quic/quic_data_reader.h size_t pos_; pos_ 134 third_party/libwebp/utils/bit_reader.c br->pos_ = 0; pos_ 139 third_party/libwebp/utils/bit_reader.c br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (8 * i); pos_ 140 third_party/libwebp/utils/bit_reader.c ++br->pos_; pos_ 149 third_party/libwebp/utils/bit_reader.c br->eos_ = (br->pos_ >= len); pos_ 156 third_party/libwebp/utils/bit_reader.c while (br->bit_pos_ >= 8 && br->pos_ < br->len_) { pos_ 158 third_party/libwebp/utils/bit_reader.c br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (LBITS - 8); pos_ 159 third_party/libwebp/utils/bit_reader.c ++br->pos_; pos_ 167 third_party/libwebp/utils/bit_reader.c if (br->pos_ + sizeof(br->val_) < br->len_) { pos_ 172 third_party/libwebp/utils/bit_reader.c br->val_ |= *(const vp8l_val_t*)(br->buf_ + br->pos_) << (LBITS - WBITS); pos_ 173 third_party/libwebp/utils/bit_reader.c br->pos_ += LOG8_WBITS; pos_ 178 third_party/libwebp/utils/bit_reader.c if (br->pos_ == br->len_ && br->bit_pos_ >= LBITS) { pos_ 193 third_party/libwebp/utils/bit_reader.c if (br->pos_ == br->len_) { pos_ 297 third_party/libwebp/utils/bit_reader.h size_t pos_; // byte position in buf_ pos_ 26 third_party/libwebp/utils/bit_writer.c const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; pos_ 42 third_party/libwebp/utils/bit_writer.c if (bw->pos_ > 0) { pos_ 44 third_party/libwebp/utils/bit_writer.c memcpy(new_buf, bw->buf_, bw->pos_); pos_ 59 third_party/libwebp/utils/bit_writer.c size_t pos = bw->pos_; pos_ 71 third_party/libwebp/utils/bit_writer.c bw->pos_ = pos; pos_ 163 third_party/libwebp/utils/bit_writer.c bw->pos_ = 0; pos_ 182 third_party/libwebp/utils/bit_writer.c memcpy(bw->buf_ + bw->pos_, data, size); pos_ 183 third_party/libwebp/utils/bit_writer.c bw->pos_ += size; pos_ 33 third_party/libwebp/utils/bit_writer.h size_t pos_; pos_ 57 third_party/libwebp/utils/bit_writer.h return (uint64_t)(bw->pos_ + bw->run_) * 8 + 8 + bw->nb_bits_; pos_ 66 third_party/libwebp/utils/bit_writer.h return bw->pos_; pos_ 314 tools/traceline/traceline/assembler.h explicit CodeBuffer(char* buf) : pos_(0), buf_(buf) { } pos_ 317 tools/traceline/traceline/assembler.h int size() { return pos_; } pos_ 320 tools/traceline/traceline/assembler.h buf_[pos_++] = b; pos_ 323 tools/traceline/traceline/assembler.h *reinterpret_cast<unsigned short*>(&buf_[pos_]) = w; pos_ 324 tools/traceline/traceline/assembler.h pos_ += 2; pos_ 327 tools/traceline/traceline/assembler.h *reinterpret_cast<unsigned int*>(&buf_[pos_]) = d; pos_ 328 tools/traceline/traceline/assembler.h pos_ += 4; pos_ 347 tools/traceline/traceline/assembler.h memcpy(&buf_[pos_], operand.data(), operand.length()); pos_ 348 tools/traceline/traceline/assembler.h pos_ += operand.length(); pos_ 354 tools/traceline/traceline/assembler.h put_dword_at(l->link_pos(i), pos_ - (l->link_pos(i) + 4)); pos_ 356 tools/traceline/traceline/assembler.h l->bind_to(pos_); pos_ 413 tools/traceline/traceline/assembler.h emit_dword(l->binding_pos() - (pos_ + 4)); pos_ 416 tools/traceline/traceline/assembler.h l->link_to(pos_); pos_ 427 tools/traceline/traceline/assembler.h jmp_rel(l->binding_pos() - (pos_ + 5)); pos_ 430 tools/traceline/traceline/assembler.h l->link_to(pos_ + 1); pos_ 456 tools/traceline/traceline/assembler.h int pos = l->binding_pos() - (pos_ + 2); pos_ 572 tools/traceline/traceline/assembler.h int pos_; pos_ 116 ui/views/painter.cc scoped_ptr<SkScalar[]> pos_; pos_ 129 ui/views/painter.cc pos_(new SkScalar[count]), pos_ 132 ui/views/painter.cc pos_[i] = pos[i]; pos_ 154 ui/views/painter.cc p, colors_.get(), pos_.get(), count_, SkShader::kClamp_TileMode, NULL));