Home
last modified time | relevance | path

Searched refs:set_query (Results 1 – 25 of 50) 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)
/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/icing/icing/query/
Dquery-processor_test.cc242 search_spec.set_query("()"); in TEST_P()
291 search_spec.set_query(""); in TEST_P()
339 search_spec.set_query("hElLo WORLD"); in TEST_P()
397 search_spec.set_query("he"); in TEST_P()
455 search_spec.set_query("he"); in TEST_P()
511 search_spec.set_query("hello"); in TEST_P()
567 search_spec.set_query("hello hello"); in TEST_P()
628 search_spec.set_query("hello world"); in TEST_P()
686 search_spec.set_query("he he"); in TEST_P()
747 search_spec.set_query("he wo"); in TEST_P()
[all …]
/external/icing/icing/
Dicing-search-engine_suggest_test.cc259 suggestionFoo.set_query("foo"); in TEST_F()
261 suggestionFool.set_query("fool"); in TEST_F()
310 suggestionFoo.set_query("foo"); in TEST_F()
312 suggestionFool.set_query("fool"); in TEST_F()
407 suggestionTermOne.set_query("termone"); in TEST_F()
409 suggestionTermTwo.set_query("termtwo"); in TEST_F()
452 suggestionFool.set_query("fool"); in TEST_F()
519 suggestionFool.set_query("fool"); in TEST_F()
521 suggestionFoo.set_query("foo"); in TEST_F()
584 suggestionFool.set_query("fool"); in TEST_F()
[all …]
Dicing-search-engine_search_test.cc250 search_spec.set_query("message"); in TEST_P()
278 search_spec.set_query("foo"); in TEST_P()
306 search_spec.set_query("message"); in TEST_P()
342 search_spec.set_query("message"); in TEST_P()
380 search_spec.set_query("message"); in TEST_P()
430 search_spec.set_query("message"); in TEST_P()
469 search_spec.set_query(""); in TEST_P()
490 search_spec.set_query(""); in TEST_P()
512 search_spec.set_query(""); in TEST_P()
536 search_spec.set_query(""); in TEST_P()
[all …]
Dicing-search-engine_backwards_compatibility_test.cc205 search_spec.set_query("foo"); in TEST_F()
219 search_spec.set_query("baz"); in TEST_F()
230 search_spec.set_query("phoo"); in TEST_F()
349 search_spec.set_query("foo"); in TEST_F()
364 search_spec.set_query("baz"); in TEST_F()
375 search_spec.set_query("phoo"); in TEST_F()
520 search_spec.set_query("foo"); in TEST_F()
535 search_spec.set_query("phoo"); in TEST_F()
549 search_spec.set_query("foo"); in TEST_F()
Dicing-search-engine_schema_test.cc726 search_spec1.set_query("a:message"); in TEST_F()
737 search_spec2.set_query("b == 123"); in TEST_F()
837 search_spec1.set_query("b:message"); in TEST_F()
848 search_spec2.set_query("a == 123"); in TEST_F()
976 search_spec1.set_query("sender.name:Bill"); in TEST_F()
985 search_spec1.set_query("subject:Bill"); in TEST_F()
995 search_spec2.set_query("sender.age == 20"); in TEST_F()
1005 search_spec2.set_query("timestamp == 20"); in TEST_F()
1052 search_spec1.set_query("sender.name:Bill"); in TEST_F()
1058 search_spec1.set_query("subject:Bill"); in TEST_F()
[all …]
Dicing-search-engine_optimize_test.cc172 search_spec.set_query("message"); in TEST_F()
676 search_spec.set_query("foo"); in TEST_F()
777 search_spec1.set_query("m"); in TEST_F()
780 search_spec2.set_query("indexableInteger == 123"); in TEST_F()
898 search_spec.set_query("name:person"); in TEST_F()
909 nested_search_spec->set_query("body:message"); in TEST_F()
1022 search_spec.set_query("name:person"); in TEST_F()
1033 nested_search_spec->set_query("body:message"); in TEST_F()
1184 search_spec1.set_query("body:m"); in TEST_F()
1195 search_spec2.set_query("indexableInteger == 123"); in TEST_F()
[all …]
Dicing-search-engine_initialization_test.cc693 search_spec.set_query("message"); in TEST_F()
743 search_spec2.set_query("indexableInteger == 123"); in TEST_F()
858 search_spec.set_query("additional:content"); in TEST_F()
932 search_spec1.set_query("additional:content"); in TEST_F()
952 search_spec2.set_query("indexableInteger == 123"); in TEST_F()
1144 search_spec1.set_query("message"); in TEST_F()
1154 search_spec2.set_query("indexableInteger == 123"); in TEST_F()
1169 search_spec3.set_query("name:person"); in TEST_F()
1180 nested_search_spec->set_query("body:message"); in TEST_F()
1264 search_spec.set_query("body:message"); in TEST_F()
[all …]
Dicing-search-engine_put_test.cc183 search_spec.set_query("m"); in TEST_F()
197 search_spec.set_query("me"); in TEST_F()
205 search_spec.set_query("massage"); in TEST_F()
237 search_spec.set_query("p"); in TEST_F()
320 search_spec.set_query("consectetur"); in TEST_F()
464 search_spec.set_query("foo"); in TEST_F()
Dicing-search-engine_delete_test.cc253 search_spec.set_query("message"); in TEST_F()
322 search_spec.set_query("message"); in TEST_F()
429 search_spec.set_query("message"); in TEST_F()
493 search_spec.set_query("message"); in TEST_F()
549 search_spec.set_query("body1"); in TEST_F()
580 search_spec.set_query("message"); in TEST_F()
648 search_spec.set_query("message"); in TEST_F()
730 search_spec.set_query("foo"); in TEST_F()
750 search_spec.set_query("message"); in TEST_F()
/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()
/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/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/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()

12