/external/libtextclassifier/native/utils/ |
D | variant.h | 98 TC3_CHECK(Has<int8>()); in Value() 104 TC3_CHECK(Has<uint8>()); in Value() 110 TC3_CHECK(Has<int>()); in Value() 116 TC3_CHECK(Has<uint>()); in Value() 122 TC3_CHECK(Has<int64>()); in Value() 128 TC3_CHECK(Has<uint64>()); in Value() 134 TC3_CHECK(Has<float>()); in Value() 140 TC3_CHECK(Has<double>()); in Value() 146 TC3_CHECK(Has<bool>()); in Value() 155 TC3_CHECK(Has<std::string>()); in ConstRefValue() [all …]
|
D | optional.h | 56 TC3_CHECK(init_) << "Bad optional access."; 61 TC3_CHECK(init_) << "Bad optional access."; in value()
|
D | normalization.cc | 35 TC3_CHECK(!((codepointwise_ops & in NormalizeTextCodepointWise()
|
D | tokenizer.cc | 254 TC3_CHECK(token_end_it <= context_unicode.end()); in ICUTokenize()
|
/external/libtextclassifier/native/utils/base/ |
D | logging.h | 131 #define TC3_CHECK(x) \ macro 135 #define TC3_CHECK_EQ(x, y) TC3_CHECK((x) == (y)) 136 #define TC3_CHECK_LT(x, y) TC3_CHECK((x) < (y)) 137 #define TC3_CHECK_GT(x, y) TC3_CHECK((x) > (y)) 138 #define TC3_CHECK_LE(x, y) TC3_CHECK((x) <= (y)) 139 #define TC3_CHECK_GE(x, y) TC3_CHECK((x) >= (y)) 140 #define TC3_CHECK_NE(x, y) TC3_CHECK((x) != (y)) 160 #define TC3_DCHECK(x) TC3_CHECK(x)
|
D | arena_test.cc | 46 TC3_CHECK(mem != nullptr); in CheckMemory() 53 TC3_CHECK(mem != nullptr); in CheckAlignment() 69 TC3_CHECK(a->is_empty()); in TestArena() 71 TC3_CHECK(a->is_empty()); in TestArena() 75 TC3_CHECK(!a->is_empty()); in TestArena() 130 TC3_CHECK(!a->is_empty()); in TestArena() 134 TC3_CHECK(a->is_empty()); in TestArena() 139 TC3_CHECK(!a->is_empty()); in TestArena() 154 TC3_CHECK(!a->is_empty()); in TestArena() 164 TC3_CHECK(a->is_empty()); in TestArena() [all …]
|
D | arena.cc | 133 TC3_CHECK(kPageSize > 0 && 0 == (kPageSize & (kPageSize - 1))) in BaseArena() 139 TC3_CHECK(!page_aligned_ || in BaseArena() 151 TC3_CHECK(nullptr != first_blocks_[0].mem); in BaseArena() 223 TC3_CHECK(SatisfyAlignment(kDefaultAlignment)); in Reset() 239 TC3_CHECK(SatisfyAlignment(alignment)); in MakeNewBlock() 326 TC3_CHECK(nullptr != block->mem) in AllocNewBlock() 353 TC3_CHECK(overflow_blocks_ != nullptr); in AllocNewBlock() 377 TC3_CHECK(alignment > 0 && 0 == (alignment & (alignment - 1))); in AllocNewBlock()
|
/external/icing/icing/text_classifier/lib3/utils/base/ |
D | logging.h | 129 #define TC3_CHECK(x) \ macro 133 #define TC3_CHECK_EQ(x, y) TC3_CHECK((x) == (y)) 134 #define TC3_CHECK_LT(x, y) TC3_CHECK((x) < (y)) 135 #define TC3_CHECK_GT(x, y) TC3_CHECK((x) > (y)) 136 #define TC3_CHECK_LE(x, y) TC3_CHECK((x) <= (y)) 137 #define TC3_CHECK_GE(x, y) TC3_CHECK((x) >= (y)) 138 #define TC3_CHECK_NE(x, y) TC3_CHECK((x) != (y)) 158 #define TC3_DCHECK(x) TC3_CHECK(x)
|
/external/libtextclassifier/native/utils/grammar/semantics/ |
D | value.h | 174 TC3_CHECK(Has<flatbuffers::Table>()); in Table() 181 TC3_CHECK(Has<T>()); in Value() 187 TC3_CHECK(Has<StringPiece>()); 193 TC3_CHECK(Has<StringPiece>()); 199 TC3_CHECK(Has<StringPiece>());
|
D | composer.cc | 42 TC3_CHECK(node->IsUnaryRule()); in GatherConstituents()
|
/external/libtextclassifier/native/annotator/datetime/testing/ |
D | base-parser-test.cc | 42 TC3_CHECK(false); in HasNoResult() 59 TC3_CHECK(brace_open_it != marked_text_unicode.end()); in ParsesCorrectly() 60 TC3_CHECK(brace_end_it != marked_text_unicode.end()); in ParsesCorrectly() 75 TC3_CHECK(false); in ParsesCorrectly()
|
/external/libtextclassifier/native/utils/flatbuffers/ |
D | reflection.cc | 23 TC3_CHECK(type != nullptr && type->fields() != nullptr); in GetFieldOrNull() 53 TC3_CHECK(type != nullptr && field != nullptr); in GetFieldOrNull() 65 TC3_CHECK(type != nullptr && field != nullptr); in GetFieldOrNull()
|
/external/libtextclassifier/native/annotator/ |
D | flatbuffer-utils.cc | 57 TC3_CHECK(unpacked_model != nullptr); in SwapFieldNamesForOffsetsInPathInSerializedModel() 58 TC3_CHECK(SwapFieldNamesForOffsetsInPath(unpacked_model.get())); in SwapFieldNamesForOffsetsInPathInSerializedModel()
|
D | zlib-utils.cc | 132 TC3_CHECK(unpacked_model != nullptr); in CompressSerializedModel() 133 TC3_CHECK(CompressModel(unpacked_model.get())); in CompressSerializedModel()
|
/external/libtextclassifier/native/actions/ |
D | zlib-utils.cc | 148 TC3_CHECK(unpacked_model != nullptr); in CompressSerializedActionsModel() 149 TC3_CHECK(CompressActionsModel(unpacked_model.get())); in CompressSerializedActionsModel()
|
/external/icing/icing/text_classifier/lib3/utils/java/ |
D | jni-base.cc | 26 TC3_CHECK(env != nullptr); in JniExceptionCheckAndClear()
|
/external/libtextclassifier/native/utils/java/ |
D | jni-base.cc | 28 TC3_CHECK(env != nullptr); in JniExceptionCheckAndClear()
|
D | jni-cache.cc | 51 #define TC3_CHECK_JNI_PTR(PTR) TC3_CHECK((PTR) != nullptr) 52 #define TC3_CHECK_JNI_RESULT(RESULT) TC3_CHECK(RESULT)
|
/external/libtextclassifier/native/utils/grammar/utils/ |
D | rules.cc | 190 TC3_CHECK(inserted); in BindAnnotation() 345 TC3_CHECK(!rhs.empty()) << "Rhs cannot be empty (Lhs=" << lhs << ")"; in Add() 346 TC3_CHECK(!IsPredefinedNonterminal(lhs)); in Add() 520 TC3_CHECK(scheduled_rules.empty()); in Finalize()
|
/external/libtextclassifier/native/annotator/grammar/ |
D | utils.cc | 30 TC3_CHECK(options != nullptr); in BuildTokenizer()
|
/external/libtextclassifier/native/utils/sentencepiece/ |
D | encoder.cc | 67 TC3_CHECK(match.id >= 0 && match.id < num_pieces_); in Encode()
|
/external/libtextclassifier/native/annotator/pod_ner/ |
D | pod-ner-impl.cc | 103 TC3_CHECK(model != nullptr); in CreateInterpreter() 166 TC3_CHECK(model != nullptr); in CreateTokenizer() 399 TC3_CHECK(results != nullptr); in AnnotateAroundSpanOfInterest()
|
/external/libtextclassifier/native/annotator/translate/ |
D | translate.cc | 156 TC3_CHECK(direction == 1 || direction == -1); in FindIndexOfNextWhitespaceOrPunctuation()
|
/external/libtextclassifier/native/annotator/number/ |
D | number.cc | 35 TC3_CHECK(classification_result != nullptr); in ClassifyText()
|
/external/libtextclassifier/native/utils/grammar/parsing/ |
D | matcher.cc | 323 TC3_CHECK(lhs_set); in ExecuteLhsSet()
|