Home
last modified time | relevance | path

Searched refs:tokens_ (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/ui/app_list/search/
Dtokenized_string_char_iterator.cc22 : tokens_(tokenized.tokens()), in TokenizedStringCharIterator()
41 if (current_token_ < tokens_.size()) { in NextToken()
83 if (current_token_ == tokens_.size()) { in CreateTokenCharIterator()
89 new base::i18n::UTF16CharIterator(&tokens_[current_token_])); in CreateTokenCharIterator()
Dtokenized_string.h29 const Tokens& tokens() const { return tokens_; } in tokens()
39 Tokens tokens_; variable
Dtokenized_string.cc39 tokens_.push_back(base::i18n::ToLower(term_iter.GetCurrentTerm())); in Tokenize()
Dtokenized_string_char_iterator.h66 const TokenizedString::Tokens& tokens_; variable
/external/chromium_org/tools/gn/
Dtokenizer.cc90 DCHECK(tokens_.empty()); in Run()
126 (tokens_.empty() || tokens_.back().type() != Token::SUFFIX_COMMENT || in Run()
127 tokens_.back().location().line_number() + 1 != in Run()
129 tokens_.back().location().char_offset() != location.char_offset())) { in Run()
148 tokens_.push_back(Token(location, type, token_value)); in Run()
151 tokens_.clear(); in Run()
152 return tokens_; in Run()
Dparser.cc97 tokens_.push_back(*i); in Parser()
169 if (tokens_.empty()) in Consume()
172 *err_ = Err(tokens_[tokens_.size() - 1], error_message, kEOFMsg); in Consume()
178 return tokens_[cur_++]; in Consume()
185 return tokens_[cur_++]; in Consume()
406 Err(tokens_[tokens_.size() - 1], "Unexpected end of file in list."); in ParseList()
465 Token token = at_end() ? tokens_[tokens_.size() - 1] : cur_token(); in ParseStatement()
Dtest_with_scope.h71 const std::vector<Token>& tokens() const { return tokens_; } in tokens()
77 std::vector<Token> tokens_; variable
Dparser.h97 const Token& cur_token() const { return tokens_[cur_]; } in cur_token()
100 bool at_end() const { return cur_ >= tokens_.size(); } in at_end()
103 std::vector<Token> tokens_; variable
Dtest_with_scope.cc135 tokens_ = Tokenizer::Tokenize(&input_file_, &parse_err_); in TestParseInput()
137 parsed_ = Parser::Parse(tokens_, &parse_err_); in TestParseInput()
Dtokenizer.h81 std::vector<Token> tokens_; variable
/external/webp/src/enc/
Dtoken.c46 b->tokens_ = NULL; in VP8TBufferInit()
81 b->tokens_ = TOKEN_DATA(page); in TBufferNewPage()
96 b->tokens_[slot] = (bit << 15) | proba_idx; in AddToken()
107 b->tokens_[slot] = (bit << 15) | FIXED_PROBA_BIT | proba; in AddConstantToken()
Dwebpenc.c236 VP8TBufferInit(&enc->tokens_, (int)(mb_w * mb_h * 4 * scale)); in InitVP8Encoder()
245 VP8TBufferClear(&enc->tokens_); in DeleteVP8Encoder()
Dvp8enci.h365 uint16_t* tokens_; // set to (*last_page_)->tokens_ member
419 VP8TBuffer tokens_; // token buffer member
Dframe.c777 VP8TBufferClear(&enc->tokens_); in VP8EncTokenLoop()
787 ok = RecordTokens(&it, &info, &enc->tokens_); in VP8EncTokenLoop()
807 size += VP8EstimateTokenSize(&enc->tokens_, in VP8EncTokenLoop()
837 ok = VP8EmitTokens(&enc->tokens_, enc->parts_ + 0, in VP8EncTokenLoop()
/external/chromium_org/third_party/libwebp/enc/
Dtoken.c46 b->tokens_ = NULL; in VP8TBufferInit()
81 b->tokens_ = TOKEN_DATA(page); in TBufferNewPage()
96 b->tokens_[slot] = (bit << 15) | proba_idx; in AddToken()
107 b->tokens_[slot] = (bit << 15) | FIXED_PROBA_BIT | proba; in AddConstantToken()
Dwebpenc.c236 VP8TBufferInit(&enc->tokens_, (int)(mb_w * mb_h * 4 * scale)); in InitVP8Encoder()
245 VP8TBufferClear(&enc->tokens_); in DeleteVP8Encoder()
Dvp8enci.h365 uint16_t* tokens_; // set to (*last_page_)->tokens_ member
419 VP8TBuffer tokens_; // token buffer member
Dframe.c777 VP8TBufferClear(&enc->tokens_); in VP8EncTokenLoop()
787 ok = RecordTokens(&it, &info, &enc->tokens_); in VP8EncTokenLoop()
807 size += VP8EstimateTokenSize(&enc->tokens_, in VP8EncTokenLoop()
837 ok = VP8EmitTokens(&enc->tokens_, enc->parts_ + 0, in VP8EncTokenLoop()