Home
last modified time | relevance | path

Searched refs:kNoCallback (Results 1 – 9 of 9) sorted by relevance

/external/libtextclassifier/native/utils/grammar/utils/
Drules_test.cc85 rules.Add("<flight>", {"<iata>", "<4_digits>"}, kNoCallback, 0, in TEST()
101 rules.Add("<iata>", {"LX"}, kNoCallback, 0, /*max_whitespace_gap=*/-1, in TEST()
103 rules.Add("<iata>", {"AA"}, kNoCallback, 0, /*max_whitespace_gap=*/-1, in TEST()
105 rules.Add("<iata>", {"dl"}, kNoCallback, 0, /*max_whitespace_gap=*/-1, in TEST()
107 rules.Add("<flight>", {"<iata>", "<4_digits>"}, kNoCallback, 0, in TEST()
123 rules.Add("<iata>", {"LX"}, kNoCallback, 0, /*max_whitespace_gap=*/-1, in TEST()
125 rules.Add("<iata>", {"aa"}, kNoCallback, 0, /*max_whitespace_gap=*/-1, in TEST()
Drules.h88 CallbackId callback = kNoCallback;
117 const CallbackId callback = kNoCallback,
124 CallbackId callback = kNoCallback, int64 callback_param = 0,
Dir.cc52 return (lhs.nonterminal == lhs_entry && lhs.callback.id == kNoCallback && in IsSameLhsEntry()
107 if (lhs.callback.id == kNoCallback && in AddLhsSet()
208 if (lhs.callback.id == kNoCallback) { in AddToSet()
210 } else if (candidate->callback.id == kNoCallback) { in AddToSet()
Drules.cc288 /*callback=*/kNoCallback, in ResolveFillers()
295 /*callback=*/kNoCallback, in ResolveFillers()
304 /*callback=*/kNoCallback, in ResolveFillers()
Dir.h60 CallbackId id = kNoCallback;
/external/libtextclassifier/native/utils/grammar/
Dtypes.h46 const int32 kNoCallback = 0; variable
/external/libtextclassifier/native/utils/grammar/parsing/
Dmatcher_test.cc345 rules.Add("<iata>", {"LX"}, /*callback=*/kNoCallback, 0, in TEST_F()
347 rules.Add("<iata>", {"AA"}, /*callback=*/kNoCallback, 0, in TEST_F()
349 rules.Add("<iata>", {"dl"}, /*callback=*/kNoCallback, 0, in TEST_F()
Dparser_test.cc298 rules.Add("<carrier>", {"Lx"}, /*callback=*/kNoCallback, /*callback_param=*/0, in TEST_F()
300 rules.Add("<carrier>", {"AA"}, /*callback=*/kNoCallback, /*callback_param=*/0, in TEST_F()
Dmatcher.cc228 *callback = kNoCallback; in GetLhs()