Home
last modified time | relevance | path

Searched refs:dictionary_ (Results 1 – 25 of 76) sorted by relevance

1234

/external/open-vcdiff/src/
Dvcdecoder1_test.cc26 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
35 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
50 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
60 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
70 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
81 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
91 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
101 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
110 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
123 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdecoder3_test.cc47 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
56 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
66 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
75 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
84 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
103 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
114 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
133 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
143 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdecoder2_test.cc32 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
41 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
51 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
63 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
76 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
107 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
117 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
127 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
141 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdecoder4_test.cc38 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
49 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
61 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
73 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
101 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
249 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
270 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
293 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
305 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdiffengine_test.cc300 engine_(dictionary_, strlen(dictionary_)) { in VCDiffEngineTest()
308 MakeEachLetterABlock(dictionary_without_spaces_, &dictionary_, in SetUpTestCase()
314 delete[] dictionary_; in TearDownTestCase()
344 VerifyHeaderForDictionaryAndTargetText(dictionary_, target_); in VerifyHeader()
350 static const char* dictionary_; member in open_vcdiff::__anonabb2a00d0111::VCDiffEngineTest
366 const char* VCDiffEngineTest::dictionary_ = NULL; member in open_vcdiff::__anonabb2a00d0111::VCDiffEngineTest
397 VerifyHeaderForDictionaryAndTargetText(dictionary_, small_text); in TEST_F()
409 VerifyHeaderForDictionaryAndTargetText(dictionary_, small_text); in TEST_F()
575 engine_(dictionary_, strlen(dictionary_)), in WeaselsToMoonpiesTest()
577 search_dictionary_(dictionary_, strlen(dictionary_)), in WeaselsToMoonpiesTest()
[all …]
Dvcdiff_main.cc155 std::vector<char> dictionary_; member in open_vcdiff::VCDiffFileBasedCoder
223 assert(dictionary_.empty()); in OpenDictionary()
237 dictionary_.resize(dictionary_size); in OpenDictionary()
239 if (fread(&dictionary_[0], 1, dictionary_size, dictionary_file) in OpenDictionary()
244 dictionary_.clear(); in OpenDictionary()
380 if (dictionary_.empty()) { in Encode()
384 new open_vcdiff::HashedDictionary(&dictionary_[0], in Encode()
385 dictionary_.size())); in Encode()
464 if (dictionary_.empty()) { in Decode()
467 decoder.StartDecoding(&dictionary_[0], dictionary_.size()); in Decode()
[all …]
Dvcdecoder5_test.cc68 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
91 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
/external/chromium/sdch/open-vcdiff/src/
Dvcdecoder1_test.cc26 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
35 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
50 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
60 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
70 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
81 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
91 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
101 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
110 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
123 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdecoder3_test.cc44 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
53 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
63 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
72 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
81 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
89 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
100 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
111 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
130 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
140 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdecoder2_test.cc32 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
41 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
51 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
63 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
76 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
107 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
117 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
127 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
141 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdecoder4_test.cc38 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
49 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
61 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
73 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
101 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
249 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
270 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
292 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
304 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdiffengine_test.cc321 engine_(dictionary_, strlen(dictionary_)) { in VCDiffEngineTest()
329 MakeEachLetterABlock(dictionary_without_spaces_, &dictionary_, in SetUpTestCase()
335 delete[] dictionary_; in TearDownTestCase()
367 VerifyHeaderForDictionaryAndTargetText(dictionary_, target_); in VerifyHeader()
373 static const char* dictionary_; member in open_vcdiff::__anon7e6464f10111::VCDiffEngineTest
389 const char* VCDiffEngineTest::dictionary_ = NULL; member in open_vcdiff::__anon7e6464f10111::VCDiffEngineTest
420 VerifyHeaderForDictionaryAndTargetText(dictionary_, small_text); in TEST_F()
432 VerifyHeaderForDictionaryAndTargetText(dictionary_, small_text); in TEST_F()
598 engine_(dictionary_, strlen(dictionary_)), in WeaselsToMoonpiesTest()
600 search_dictionary_(dictionary_, strlen(dictionary_)), in WeaselsToMoonpiesTest()
[all …]
Dvcdiff_main.cc154 std::vector<char> dictionary_; member in open_vcdiff::VCDiffFileBasedCoder
222 assert(dictionary_.empty()); in OpenDictionary()
236 dictionary_.resize(dictionary_size); in OpenDictionary()
238 if (fread(&dictionary_[0], 1, dictionary_size, dictionary_file) in OpenDictionary()
243 dictionary_.clear(); in OpenDictionary()
379 if (dictionary_.empty()) { in Encode()
383 new open_vcdiff::HashedDictionary(&dictionary_[0], in Encode()
384 dictionary_.size())); in Encode()
460 if (dictionary_.empty()) { in Decode()
463 decoder.StartDecoding(&dictionary_[0], dictionary_.size()); in Decode()
[all …]
Dvcdecoder5_test.cc68 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
91 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
/external/chromium_org/sdch/open-vcdiff/src/
Dvcdecoder1_test.cc26 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
35 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
50 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
60 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
70 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
81 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
91 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
101 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
110 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
123 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdecoder3_test.cc47 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
56 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
66 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
75 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
84 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
103 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
114 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
133 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
143 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdecoder2_test.cc32 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
41 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
51 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
63 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
76 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
107 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
117 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
127 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
141 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdecoder4_test.cc38 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
49 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
61 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
73 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
101 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
249 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
270 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
293 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
305 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdiffengine_test.cc300 engine_(dictionary_, strlen(dictionary_)) { in VCDiffEngineTest()
308 MakeEachLetterABlock(dictionary_without_spaces_, &dictionary_, in SetUpTestCase()
314 delete[] dictionary_; in TearDownTestCase()
344 VerifyHeaderForDictionaryAndTargetText(dictionary_, target_); in VerifyHeader()
350 static const char* dictionary_; member in open_vcdiff::__anone28e7c780111::VCDiffEngineTest
366 const char* VCDiffEngineTest::dictionary_ = NULL; member in open_vcdiff::__anone28e7c780111::VCDiffEngineTest
397 VerifyHeaderForDictionaryAndTargetText(dictionary_, small_text); in TEST_F()
409 VerifyHeaderForDictionaryAndTargetText(dictionary_, small_text); in TEST_F()
575 engine_(dictionary_, strlen(dictionary_)), in WeaselsToMoonpiesTest()
577 search_dictionary_(dictionary_, strlen(dictionary_)), in WeaselsToMoonpiesTest()
[all …]
Dvcdiff_main.cc155 std::vector<char> dictionary_; member in open_vcdiff::VCDiffFileBasedCoder
223 assert(dictionary_.empty()); in OpenDictionary()
237 dictionary_.resize(dictionary_size); in OpenDictionary()
239 if (fread(&dictionary_[0], 1, dictionary_size, dictionary_file) in OpenDictionary()
244 dictionary_.clear(); in OpenDictionary()
380 if (dictionary_.empty()) { in Encode()
384 new open_vcdiff::HashedDictionary(&dictionary_[0], in Encode()
385 dictionary_.size())); in Encode()
464 if (dictionary_.empty()) { in Decode()
467 decoder.StartDecoding(&dictionary_[0], dictionary_.size()); in Decode()
[all …]
/external/chromium_org/chrome/browser/ui/webui/options/
Dlanguage_dictionary_overlay_handler.cc20 dictionary_(NULL) { in LanguageDictionaryOverlayHandler()
64 if (dictionary_) in Uninitialize()
65 dictionary_->RemoveObserver(this); in Uninitialize()
87 if (!dictionary_) { in ResetDictionaryWords()
90 dictionary_ = service->GetCustomDictionary(); in ResetDictionaryWords()
91 dictionary_->AddObserver(this); in ResetDictionaryWords()
95 const chrome::spellcheck_common::WordSet& words = dictionary_->GetWords(); in ResetDictionaryWords()
111 if (!args->GetString(0, &new_word) || new_word.empty() || !dictionary_) { in AddWord()
115 dictionary_->AddWord(new_word); in AddWord()
120 if (!args->GetString(0, &old_word) || old_word.empty() || !dictionary_) { in RemoveWord()
[all …]
/external/chromium_org/native_client_sdk/src/examples/api/var_dictionary/
Dvar_dictionary.cc48 dictionary_.Set("key1", "value1"); in Init()
49 dictionary_.Set("foo", true); in Init()
56 dictionary_.Set("array", array); in Init()
97 PostResult(kGetCommand, dictionary_.Get(key)); in HandleGet()
109 PostResult(kSetCommand, dictionary_.Set(key, var_value)); in HandleSet()
120 dictionary_.Delete(key); in HandleDelete()
125 PostResult(kGetKeysCommand, dictionary_.GetKeys()); in HandleGetKeys()
136 PostResult(kHasKeyCommand, dictionary_.HasKey(key)); in HandleHasKey()
140 PostMessage(MakeResult(cmd, result, dictionary_)); in PostResult()
143 pp::VarDictionary dictionary_; member in VarDictionaryInstance
/external/chromium_org/content/browser/devtools/
Ddevtools_system_info_handler.cc32 : dictionary_(dictionary), in AuxGPUInfoEnumerator()
37 dictionary_->SetDouble(name, value); in AddInt64()
42 dictionary_->SetInteger(name, value); in AddInt()
47 dictionary_->SetString(name, value); in AddString()
52 dictionary_->SetBoolean(name, value); in AddBool()
58 dictionary_->SetDouble(name, value.InSecondsF()); in AddTimeDeltaInSecondsF()
76 base::DictionaryValue* dictionary_; member in content::__anon0d3c7fa10111::AuxGPUInfoEnumerator
/external/chromium_org/chrome/renderer/spellchecker/
Dcustom_dictionary_engine.cc24 dictionary_.insert(UTF8ToUTF16(*it)); in Init()
34 dictionary_.insert(UTF8ToUTF16(*it)); in OnCustomDictionaryChanged()
39 dictionary_.erase(UTF8ToUTF16(*it)); in OnCustomDictionaryChanged()
53 dictionary_.count(text.substr(misspelling_start, misspelling_len)) > 0; in SpellCheckWord()
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Djson_manifest.cc448 if (!reader.parse(manifest_json, dictionary_)) { in Init()
464 if (!dictionary_.isObject()) { in MatchesSchema()
470 Json::Value::Members members = dictionary_.getMemberNames(); in MatchesSchema()
486 if (!dictionary_.isMember(kProgramKey)) { in MatchesSchema()
496 if (!IsValidISADictionary(dictionary_[kProgramKey], in MatchesSchema()
507 if (dictionary_.isMember(kInterpreterKey)) { in MatchesSchema()
508 if (!IsValidISADictionary(dictionary_[kInterpreterKey], in MatchesSchema()
521 if (dictionary_.isMember(kFilesKey)) { in MatchesSchema()
522 const Json::Value& files = dictionary_[kFilesKey]; in MatchesSchema()
570 Json::Value program = dictionary_[kProgramKey]; in GetProgramURL()
[all …]

1234