Home
last modified time | relevance | path

Searched refs:set_query (Results 1 – 25 of 40) sorted by relevance

12

/external/marisa-trie/bindings/ruby/
Dsample.rb18 agent.set_query("cake")
22 agent.set_query("cookie")
26 agent.set_query("cockoo")
40 agent.set_query(0)
44 agent.set_query(1)
53 agent.set_query("ice-cream soda")
58 agent.set_query("ic")
Dbenchmark.rb41 agent.set_query(key)
58 agent.set_query(i)
74 agent.set_query(key)
84 agent.set_query(key)
Dmarisa-swig.cxx94 void Agent::set_query(const char *ptr, size_t length) { in set_query() function in marisa_swig::Agent
111 agent_->set_query(buf_, length); in set_query()
114 void Agent::set_query(size_t id) { in set_query() function in marisa_swig::Agent
115 agent_->set_query(id); in set_query()
186 agent.set_query(ptr, length); in lookup()
196 agent.set_query(id); in reverse_lookup()
Dmarisa-swig.h119 void set_query(const char *ptr, std::size_t length);
120 void set_query(std::size_t id);
/external/marisa-trie/bindings/perl/
Dsample.pl18 $agent->set_query("cake");
22 $agent->set_query("cookie");
26 $agent->set_query("cockoo");
40 $agent->set_query(0);
43 $agent->set_query(1);
52 $agent->set_query("ice-cream soda");
58 $agent->set_query("ic");
Dbenchmark.pl44 $agent->set_query($key);
61 $agent->set_query($_);
77 $agent->set_query($key);
87 $agent->set_query($key);
Dmarisa-swig.cxx94 void Agent::set_query(const char *ptr, size_t length) { in set_query() function in marisa_swig::Agent
111 agent_->set_query(buf_, length); in set_query()
114 void Agent::set_query(size_t id) { in set_query() function in marisa_swig::Agent
115 agent_->set_query(id); in set_query()
186 agent.set_query(ptr, length); in lookup()
196 agent.set_query(id); in reverse_lookup()
Dmarisa-swig.h119 void set_query(const char *ptr, std::size_t length);
120 void set_query(std::size_t id);
/external/marisa-trie/bindings/python/
Dsample.py18 agent.set_query("cake")
22 agent.set_query("cookie")
26 agent.set_query("cockoo")
38 agent.set_query(0)
42 agent.set_query(1)
51 agent.set_query("ice-cream soda")
55 agent.set_query("ic")
Dmarisa-swig.cxx94 void Agent::set_query(const char *ptr, size_t length) { in set_query() function in marisa_swig::Agent
111 agent_->set_query(buf_, length); in set_query()
114 void Agent::set_query(size_t id) { in set_query() function in marisa_swig::Agent
115 agent_->set_query(id); in set_query()
186 agent.set_query(ptr, length); in lookup()
196 agent.set_query(id); in reverse_lookup()
Dbenchmark.py41 agent.set_query(key)
55 agent.set_query(i)
69 agent.set_query(key)
77 agent.set_query(key)
Dmarisa-swig.h119 void set_query(const char *ptr, std::size_t length);
120 void set_query(std::size_t id);
/external/marisa-trie/tests/
Dmarisa-test.cc114 agent.set_query(keyset[i].ptr(), keyset[i].length()); in TestTinyTrie()
118 agent.set_query(keyset[i].id()); in TestTinyTrie()
125 agent.set_query("be"); in TestTinyTrie()
127 agent.set_query("beX"); in TestTinyTrie()
129 agent.set_query("bet"); in TestTinyTrie()
132 agent.set_query("betX"); in TestTinyTrie()
136 agent.set_query("chatX"); in TestTinyTrie()
138 agent.set_query("chat"); in TestTinyTrie()
143 agent.set_query("cha"); in TestTinyTrie()
148 agent.set_query("c"); in TestTinyTrie()
[all …]
/external/marisa-trie/lib/marisa/
Dagent.cc12 void Agent::set_query(const char *str) { in set_query() function in marisa::Agent
20 void Agent::set_query(const char *ptr, std::size_t length) { in set_query() function in marisa::Agent
28 void Agent::set_query(std::size_t key_id) { in set_query() function in marisa::Agent
/external/marisa-trie/bindings/
Dmarisa-swig.cxx94 void Agent::set_query(const char *ptr, size_t length) { in set_query() function in marisa_swig::Agent
111 agent_->set_query(buf_, length); in set_query()
114 void Agent::set_query(size_t id) { in set_query() function in marisa_swig::Agent
115 agent_->set_query(id); in set_query()
186 agent.set_query(ptr, length); in lookup()
196 agent.set_query(id); in reverse_lookup()
Dmarisa-swig.h119 void set_query(const char *ptr, std::size_t length);
120 void set_query(std::size_t id);
/external/marisa-trie/include/marisa/
Dagent.h28 void set_query(const char *str);
29 void set_query(const char *ptr, std::size_t length);
30 void set_query(std::size_t key_id);
/external/icing/icing/query/
Dquery-processor_test.cc210 search_spec.set_query("()"); in TEST_F()
261 search_spec.set_query(""); in TEST_F()
321 search_spec.set_query("hElLo WORLD"); in TEST_F()
394 search_spec.set_query("he"); in TEST_F()
462 search_spec.set_query("hello"); in TEST_F()
530 search_spec.set_query("hello hello"); in TEST_F()
603 search_spec.set_query("hello world"); in TEST_F()
675 search_spec.set_query("he he"); in TEST_F()
748 search_spec.set_query("he wo"); in TEST_F()
824 search_spec.set_query("hello wo"); in TEST_F()
[all …]
Dquery-processor_benchmark.cc153 search_spec.set_query(input_string); in BM_QueryOneTerm()
288 search_spec.set_query(query_string); in BM_QueryFiveTerms()
408 search_spec.set_query(input_string); in BM_QueryDiacriticTerm()
528 search_spec.set_query(input_string); in BM_QueryHiragana()
/external/icing/icing/
Dicing-search-engine_test.cc423 search_spec.set_query("m"); in TEST_F()
437 search_spec.set_query("me"); in TEST_F()
445 search_spec.set_query("massage"); in TEST_F()
477 search_spec.set_query("p"); in TEST_F()
1028 search_spec.set_query("message"); in TEST_F()
1114 search_spec.set_query("sender.name:Bill"); in TEST_F()
1128 search_spec.set_query("subject:Bill"); in TEST_F()
1162 search_spec.set_query("sender.name:Bill"); in TEST_F()
1168 search_spec.set_query("subject:Bill"); in TEST_F()
1218 search_spec.set_query("subject:tps"); in TEST_F()
[all …]
Dicing-search-engine_fuzz_test.cc64 search_spec.set_query(query_string); in SetSearchSpec()
/external/marisa-trie/tools/
Dmarisa-benchmark.cc186 agent.set_query(keyset[i].ptr(), keyset[i].length()); in benchmark_lookup()
200 agent.set_query(keyset[i].id()); in benchmark_reverse_lookup()
218 agent.set_query(keyset[i].ptr(), keyset[i].length()); in benchmark_common_prefix_search()
243 agent.set_query(keyset[i].ptr(), keyset[i].length()); in benchmark_predictive_search()
Dmarisa-reverse-lookup.cc55 agent.set_query(key_id); in reverse_lookup()
Dmarisa-lookup.cc55 agent.set_query(str.c_str(), str.length()); in lookup()
/external/libtextclassifier/native/annotator/vocab/
Dvocab-level-table.cc62 agent.set_query(vocab.data(), vocab.size()); in Lookup()

12