Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/base/
Darena_test.cc112 TC3_CHECK_EQ(0, memcmp(mem, mem2, sizeof(mem))); in TestArena()
117 TC3_CHECK_EQ(0, strcmp(msg2_mpn, "won't use ")); in TestArena()
123 TC3_CHECK_EQ(0, strcmp(msg, msg2)); in TestArena()
128 TC3_CHECK_EQ(0, strncmp(msg3, msg, 10)); in TestArena()
159 TC3_CHECK_EQ(0, m2[i]); in TestArena()
170 TC3_CHECK_EQ(a->bytes_until_next_allocation(), 1); in TestArena()
172 TC3_CHECK_EQ(a->bytes_until_next_allocation(), 0); in TestArena()
175 TC3_CHECK_EQ(a->bytes_until_next_allocation(), 0); in TestArena()
178 TC3_CHECK_EQ(a->bytes_until_next_allocation(), blksize - 1); in TestArena()
183 TC3_CHECK_EQ(a->bytes_until_next_allocation(), blksize - s - 1); in TestArena()
[all …]
Dlogging.h135 #define TC3_CHECK_EQ(x, y) TC3_CHECK((x) == (y)) macro
161 #define TC3_DCHECK_EQ(x, y) TC3_CHECK_EQ(x, y)
Darena.cc147 TC3_CHECK_EQ(block_size_ & (kPageSize - 1), 0) << "block_size is not a" in BaseArena()
/external/libtextclassifier/native/annotator/pod_ner/
Dpod-ner-impl.cc247 TC3_CHECK_EQ(output->dims->size, 3); in ReadResultsFromInterpreter()
248 TC3_CHECK_EQ(output->dims->data[0], 1); in ReadResultsFromInterpreter()
249 TC3_CHECK_EQ(output->dims->data[2], labels_.size()); in ReadResultsFromInterpreter()
313 TC3_CHECK_EQ(status, kTfLiteOk); in ExecuteModel()
316 TC3_CHECK_EQ(status, kTfLiteOk); in ExecuteModel()
319 TC3_CHECK_EQ(status, kTfLiteOk); in ExecuteModel()
341 TC3_CHECK_EQ(status, kTfLiteOk); in ExecuteModel()
/external/libtextclassifier/native/utils/grammar/utils/
Drules.cc130 TC3_CHECK_EQ(rhs_component.find('<'), std::string::npos) in ValidateTerminal()
132 TC3_CHECK_EQ(rhs_component.find('>'), std::string::npos) in ValidateTerminal()
134 TC3_CHECK_EQ(rhs_component.find('?'), std::string::npos) in ValidateTerminal()
165 TC3_CHECK_EQ(nonterminal_alias_.insert_or_assign(alias, nonterminal_name) in AddAlias()
171 TC3_CHECK_EQ(nonterminal_alias_[alias], nonterminal_name) in AddAlias()
/external/icing/icing/text_classifier/lib3/utils/base/
Dlogging.h133 #define TC3_CHECK_EQ(x, y) TC3_CHECK((x) == (y)) macro
159 #define TC3_DCHECK_EQ(x, y) TC3_CHECK_EQ(x, y)
/external/libtextclassifier/native/utils/java/
Djni-base.h80 TC3_CHECK_EQ(jvm_, rhs.jvm_);
/external/icing/icing/text_classifier/lib3/utils/java/
Djni-base.h78 TC3_CHECK_EQ(jvm_, rhs.jvm_);
/external/libtextclassifier/native/actions/
Dactions-suggestions.cc853 TC3_CHECK_EQ(intent_prediction.size(), 2); in PopulateIntentTriggering()
854 TC3_CHECK_EQ(intent_scores.size(), 2); in PopulateIntentTriggering()