Home
last modified time | relevance | path

Searched refs:GOOGLE_DCHECK (Results 1 – 25 of 30) sorted by relevance

12

/external/protobuf/src/google/protobuf/stubs/
Dlogging.h135 #undef GOOGLE_DCHECK
179 #define GOOGLE_DCHECK(EXPRESSION) while(false) GOOGLE_CHECK(EXPRESSION) macro
180 #define GOOGLE_DCHECK_OK(E) GOOGLE_DCHECK(::google::protobuf::internal::IsOk(E))
181 #define GOOGLE_DCHECK_EQ(A, B) GOOGLE_DCHECK((A) == (B))
182 #define GOOGLE_DCHECK_NE(A, B) GOOGLE_DCHECK((A) != (B))
183 #define GOOGLE_DCHECK_LT(A, B) GOOGLE_DCHECK((A) < (B))
184 #define GOOGLE_DCHECK_LE(A, B) GOOGLE_DCHECK((A) <= (B))
185 #define GOOGLE_DCHECK_GT(A, B) GOOGLE_DCHECK((A) > (B))
186 #define GOOGLE_DCHECK_GE(A, B) GOOGLE_DCHECK((A) >= (B))
192 #define GOOGLE_DCHECK GOOGLE_CHECK macro
Dbytestream.cc59 GOOGLE_DCHECK(!(dest_ <= data && data < (dest_ + n))) in Append()
78 GOOGLE_DCHECK(!(outbuf_ <= bytes && bytes < (outbuf_ + capacity_))) in Append()
100 GOOGLE_DCHECK(!(buf_ <= bytes && bytes < (buf_ + capacity_))) in Append()
Dmathutil.h139 GOOGLE_DCHECK((T(0) < fraction || T(0) == fraction) && in WithinFractionOrMargin()
Dstrutil.cc321 GOOGLE_DCHECK(errors == NULL) << "Error reporting not implemented."; in UnescapeCEscapeSequences()
1266 GOOGLE_DCHECK(snprintf_result > 0 && snprintf_result < kDoubleToBufferSize); in DoubleToBuffer()
1280 GOOGLE_DCHECK(snprintf_result > 0 && snprintf_result < kDoubleToBufferSize); in DoubleToBuffer()
1384 GOOGLE_DCHECK(snprintf_result > 0 && snprintf_result < kFloatToBufferSize); in FloatToBuffer()
1392 GOOGLE_DCHECK(snprintf_result > 0 && snprintf_result < kFloatToBufferSize); in FloatToBuffer()
/external/protobuf/src/google/protobuf/
Dmessage_lite.cc236 GOOGLE_DCHECK(IsInitialized()) << InitializationErrorMessage("serialize", *this); in SerializeToCodedStream()
286 GOOGLE_DCHECK(IsInitialized()) << InitializationErrorMessage("serialize", *this); in AppendToString()
320 GOOGLE_DCHECK(IsInitialized()) << InitializationErrorMessage("serialize", *this); in SerializeToArray()
Dmap.h806 GOOGLE_DCHECK(m_->index_of_first_non_null_ == m_->num_buckets_ || in SearchFrom()
816 GOOGLE_DCHECK(!tree->empty()); in SearchFrom()
864 GOOGLE_DCHECK(node_ != NULL && m_ != NULL); in revalidate_if_necessary()
917 GOOGLE_DCHECK(table_[b] == table_[b + 1] && (b & 1) == 0); in clear()
996 GOOGLE_DCHECK(TableEntryIsNonEmptyList(b)); in erase()
1001 GOOGLE_DCHECK(TableEntryIsTree(b)); in erase()
1052 GOOGLE_DCHECK(index_of_first_non_null_ == num_buckets_ || in InsertUnique()
1059 GOOGLE_DCHECK(find(*KeyPtrFromNodePtr(node)) == end()); in InsertUnique()
1217 GOOGLE_DCHECK(!TableEntryIsTree(b) && !TableEntryIsTree(b ^ 1)); in TreeConvert()
1311 GOOGLE_DCHECK(n >= kMinTableSize); in CreateEmptyTable()
Dwrappers.pb.cc533 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); in UnsafeArenaSwap()
791 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); in UnsafeArenaSwap()
1051 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); in UnsafeArenaSwap()
1311 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); in UnsafeArenaSwap()
1571 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); in UnsafeArenaSwap()
1831 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); in UnsafeArenaSwap()
2089 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); in UnsafeArenaSwap()
2364 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); in UnsafeArenaSwap()
2422 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); in unsafe_arena_release_value()
2439 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); in unsafe_arena_set_allocated_value()
[all …]
Dextension_set.cc52 GOOGLE_DCHECK(type > 0 && type <= WireFormatLite::MAX_FIELD_TYPE); in real_type()
206 GOOGLE_DCHECK(!iter->second.is_repeated); in Has()
773 GOOGLE_DCHECK(extension->is_repeated); in RemoveLast()
814 GOOGLE_DCHECK(extension->is_repeated); in ReleaseLast()
815 GOOGLE_DCHECK(cpp_type(extension->type) == WireFormatLite::CPPTYPE_MESSAGE); in ReleaseLast()
824 GOOGLE_DCHECK(extension->is_repeated); in SwapElements()
891 GOOGLE_DCHECK(extension->is_repeated); in InternalExtensionMergeFrom()
986 GOOGLE_DCHECK(!extension->is_repeated); in InternalExtensionMergeFrom()
1682 GOOGLE_DCHECK(is_repeated); in GetSize()
Drepeated_field.h1210 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1384 GOOGLE_DCHECK(other->GetArenaNoVirtual() != GetArenaNoVirtual());
1711 GOOGLE_DCHECK(GetArenaNoVirtual() == NULL)
1740 GOOGLE_DCHECK(GetArenaNoVirtual() == NULL)
1742 GOOGLE_DCHECK(TypeHandler::GetArena(value) == NULL)
1752 GOOGLE_DCHECK(GetArenaNoVirtual() == NULL)
1755 GOOGLE_DCHECK(GetArenaNoVirtual() == NULL);
1756 GOOGLE_DCHECK(rep_ != NULL);
1909 GOOGLE_DCHECK(GetArenaNoVirtual() == NULL)
1985 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
Dwrappers.pb.h1057 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); in unsafe_arena_release_value()
1074 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); in unsafe_arena_set_allocated_value()
1127 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); in unsafe_arena_release_value()
1144 GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); in unsafe_arena_set_allocated_value()
Dunknown_field_set.h263 GOOGLE_DCHECK(fields_ != NULL); in field()
Dempty.pb.cc293 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); in UnsafeArenaSwap()
Dtext_format.cc1464 GOOGLE_DCHECK(output) << "output specified is NULL"; in PrintToString()
1475 GOOGLE_DCHECK(output) << "output specified is NULL"; in PrintUnknownFieldsToString()
1587 GOOGLE_DCHECK(output) << "output specified is NULL"; in PrintFieldValueToString()
1758 GOOGLE_DCHECK(field->is_repeated() || (index == -1)) in PrintFieldValue()
Dextension_set.h898 GOOGLE_DCHECK(IsValid(value)); in Set()
917 GOOGLE_DCHECK(IsValid(value)); in Set()
922 GOOGLE_DCHECK(IsValid(value)); in Add()
Dextension_set_heavy.cc124 GOOGLE_DCHECK(type > 0 && type <= FieldDescriptor::MAX_TYPE); in real_type()
134 GOOGLE_DCHECK(type > 0 && type <= WireFormatLite::MAX_FIELD_TYPE); in field_type()
Dtimestamp.pb.cc395 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); in UnsafeArenaSwap()
/external/protobuf/src/google/protobuf/io/
Dcoded_stream_inl.h60 GOOGLE_DCHECK(z.first != NULL); in InternalReadStringInline()
Dtokenizer.cc994 GOOGLE_DCHECK(IsHeadSurrogate(head_surrogate)); in AssembleUTF16()
995 GOOGLE_DCHECK(IsTrailSurrogate(trail_surrogate)); in AssembleUTF16()
/external/protobuf/src/google/protobuf/util/
Dtime_util.cc73 GOOGLE_DCHECK(seconds >= TimeUtil::kTimestampMinSeconds && in CreateNormalized()
96 GOOGLE_DCHECK(seconds >= TimeUtil::kDurationMinSeconds && in CreateNormalized()
Dfield_mask_util.cc340 GOOGLE_DCHECK(!node->children.empty()); in MergeMessage()
/external/protobuf/src/google/protobuf/util/internal/
Dutility.cc54 GOOGLE_DCHECK(i == str.size() || !ascii_isspace(str[i])); in SkipWhiteSpace()
Djson_stream_parser.cc307 GOOGLE_DCHECK(string_open_ == '\"' || string_open_ == '\''); in ParseStringHelper()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc259 GOOGLE_DCHECK(well_known_types != NULL); in New()
262 GOOGLE_DCHECK(WKT_classes != NULL); in New()
655 GOOGLE_DCHECK(descriptor->type() == FieldDescriptor::TYPE_STRING || in CheckAndGetInteger()
758 GOOGLE_DCHECK(PyObject_TypeCheck(message, &CMessage_Type)); in CheckAndGetInteger()
1568 GOOGLE_DCHECK(prototype != NULL); in CheckAndGetInteger()
Dmap_container.cc359 GOOGLE_DCHECK(from == to); in InitializeAndCopyToParentContainer()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc594 GOOGLE_DCHECK(field->cpp_type() == FieldDescriptor::CPPTYPE_STRING); in EffectiveStringCType()

12