Searched refs:kNoCallback (Results 1 – 9 of 9) sorted by relevance
/external/libtextclassifier/native/utils/grammar/utils/ |
D | rules_test.cc | 85 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()
|
D | rules.h | 88 CallbackId callback = kNoCallback; 117 const CallbackId callback = kNoCallback, 124 CallbackId callback = kNoCallback, int64 callback_param = 0,
|
D | ir.cc | 52 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()
|
D | rules.cc | 288 /*callback=*/kNoCallback, in ResolveFillers() 295 /*callback=*/kNoCallback, in ResolveFillers() 304 /*callback=*/kNoCallback, in ResolveFillers()
|
D | ir.h | 60 CallbackId id = kNoCallback;
|
/external/libtextclassifier/native/utils/grammar/ |
D | types.h | 46 const int32 kNoCallback = 0; variable
|
/external/libtextclassifier/native/utils/grammar/parsing/ |
D | matcher_test.cc | 345 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()
|
D | parser_test.cc | 298 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()
|
D | matcher.cc | 228 *callback = kNoCallback; in GetLhs()
|