Home
last modified time | relevance | path

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

123

/third_party/protobuf/src/google/protobuf/stubs/
Dlogging.h137 #undef GOOGLE_DCHECK
181 #define GOOGLE_DCHECK(EXPRESSION) while(false) GOOGLE_CHECK(EXPRESSION) macro
182 #define GOOGLE_DCHECK_OK(E) GOOGLE_DCHECK(::google::protobuf::internal::IsOk(E))
183 #define GOOGLE_DCHECK_EQ(A, B) GOOGLE_DCHECK((A) == (B))
184 #define GOOGLE_DCHECK_NE(A, B) GOOGLE_DCHECK((A) != (B))
185 #define GOOGLE_DCHECK_LT(A, B) GOOGLE_DCHECK((A) < (B))
186 #define GOOGLE_DCHECK_LE(A, B) GOOGLE_DCHECK((A) <= (B))
187 #define GOOGLE_DCHECK_GT(A, B) GOOGLE_DCHECK((A) > (B))
188 #define GOOGLE_DCHECK_GE(A, B) GOOGLE_DCHECK((A) >= (B))
194 #define GOOGLE_DCHECK GOOGLE_CHECK macro
Dbytestream.cc61 GOOGLE_DCHECK(!(dest_ <= data && data < (dest_ + n))) in Append()
80 GOOGLE_DCHECK(!(outbuf_ <= bytes && bytes < (outbuf_ + capacity_))) in Append()
102 GOOGLE_DCHECK(!(buf_ <= bytes && bytes < (buf_ + capacity_))) in Append()
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_table_driven.cc60 GOOGLE_DCHECK(table.unknown_field_set); in Skip()
68 GOOGLE_DCHECK(table.unknown_field_set); in Varint()
84 GOOGLE_DCHECK(prototype != NULL); in ParseExtension()
85 GOOGLE_DCHECK(table.unknown_field_set); in ParseExtension()
Dparse_context.cc53 GOOGLE_DCHECK(overrun >= 0); in ParseEndsInSlopRegion()
54 GOOGLE_DCHECK(overrun <= kSlopBytes); in ParseEndsInSlopRegion()
105 GOOGLE_DCHECK(size_ > kSlopBytes); in Next()
137 GOOGLE_DCHECK(size_ == 0) << size_; in Next()
159 GOOGLE_DCHECK(ptr >= limit_end_); in DoneFallback()
161 GOOGLE_DCHECK(overrun <= kSlopBytes); // Guaranteed by parse loop. in DoneFallback()
164 GOOGLE_DCHECK(overrun != limit_); // Guaranteed by caller. in DoneFallback()
165 GOOGLE_DCHECK(overrun < limit_); // Follows from above in DoneFallback()
170 GOOGLE_DCHECK(limit_end_ == buffer_end_ + (std::min)(0, limit_)); in DoneFallback()
172 GOOGLE_DCHECK(limit_ > 0); in DoneFallback()
[all …]
Dgenerated_message_table_driven_lite.cc58 GOOGLE_DCHECK(!table.unknown_field_set); in Skip()
69 GOOGLE_DCHECK(!table.unknown_field_set); in Varint()
87 GOOGLE_DCHECK(!table.unknown_field_set); in ParseExtension()
Dgenerated_message_reflection.h135 GOOGLE_DCHECK(!InRealOneof(field)); in GetFieldOffsetNonOneof()
173 GOOGLE_DCHECK(HasHasbits()); in HasBitIndex()
179 GOOGLE_DCHECK(HasHasbits()); in HasBitsOffset()
196 GOOGLE_DCHECK(HasExtensionSet()); in GetExtensionSetOffset()
Dmessage_lite.cc240 GOOGLE_DCHECK(ctx.LastTag() != 1); // We can't end on a pushed limit. in MergeFromImpl()
353 GOOGLE_DCHECK(!out.HadError() && stream.ByteCount() == size); in SerializeToArrayImpl()
360 GOOGLE_DCHECK(target + size == res); in SerializeToArrayImpl()
372 GOOGLE_DCHECK(IsInitialized()) << InitializationErrorMessage("serialize", *this); in SerializeToCodedStream()
402 GOOGLE_DCHECK(IsInitialized()) << InitializationErrorMessage("serialize", *this); in SerializeToZeroCopyStream()
449 GOOGLE_DCHECK(IsInitialized()) << InitializationErrorMessage("serialize", *this); in AppendToString()
480 GOOGLE_DCHECK(IsInitialized()) << InitializationErrorMessage("serialize", *this); in SerializeToArray()
Darenastring.h116 GOOGLE_DCHECK(!IsDefault(default_value)); in ReleaseNonDefault()
306 GOOGLE_DCHECK(!IsDefault(default_value)); in ReleaseNonDefaultNoArena()
371 GOOGLE_DCHECK(initial_value != NULL); in CreateInstance()
377 GOOGLE_DCHECK(initial_value != NULL); in CreateInstanceNoArena()
Dmap.h475 GOOGLE_DCHECK(m_->index_of_first_non_null_ == m_->num_buckets_ ||
485 GOOGLE_DCHECK(!tree->empty());
534 GOOGLE_DCHECK(node_ != nullptr && m_ != nullptr);
584 GOOGLE_DCHECK(table_[b] == table_[b + 1] && (b & 1) == 0);
652 GOOGLE_DCHECK(TableEntryIsNonEmptyList(b));
657 GOOGLE_DCHECK(TableEntryIsTree(b));
717 GOOGLE_DCHECK(index_of_first_non_null_ == num_buckets_ ||
724 GOOGLE_DCHECK(find(node->kv.first) == end());
902 GOOGLE_DCHECK(!TableEntryIsTree(b) && !TableEntryIsTree(b ^ 1));
989 GOOGLE_DCHECK(n >= kMinTableSize);
Dfield_mask.pb.h126 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
264 GOOGLE_DCHECK(value != nullptr); in set_paths()
285 GOOGLE_DCHECK(value != nullptr); in add_paths()
Dwrappers.pb.h158 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
295 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
432 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
569 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
706 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
843 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
980 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1117 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1261 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1555 GOOGLE_DCHECK(value != nullptr); in set_value()
[all …]
Dapi.pb.h136 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
389 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
622 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
766 GOOGLE_DCHECK(value != nullptr); in set_name()
903 GOOGLE_DCHECK(value != nullptr); in set_version()
1105 GOOGLE_DCHECK(value != nullptr); in set_name()
1167 GOOGLE_DCHECK(value != nullptr); in set_request_type_url()
1249 GOOGLE_DCHECK(value != nullptr); in set_response_type_url()
1391 GOOGLE_DCHECK(value != nullptr); in set_name()
1453 GOOGLE_DCHECK(value != nullptr); in set_root()
Dgenerated_message_table_driven_lite.h117 GOOGLE_DCHECK(has_bits != nullptr); in SetBit()
243 GOOGLE_DCHECK(s != nullptr); in HandleString()
378 GOOGLE_DCHECK(has_bits != NULL); in MergePartialFromCodedStreamInlined()
644 GOOGLE_DCHECK(prototype != NULL); in MergePartialFromCodedStreamInlined()
749 GOOGLE_DCHECK(processing_type & kRepeatedMask); in MergePartialFromCodedStreamInlined()
825 GOOGLE_DCHECK(false); in MergePartialFromCodedStreamInlined()
Dtype.pb.h239 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
480 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
851 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1066 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1241 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1387 GOOGLE_DCHECK(value != nullptr); in set_name()
1492 GOOGLE_DCHECK(value != nullptr); in set_oneofs()
1513 GOOGLE_DCHECK(value != nullptr); in add_oneofs()
1762 GOOGLE_DCHECK(value != nullptr); in set_name()
1824 GOOGLE_DCHECK(value != nullptr); in set_type_url()
[all …]
Ddescriptor.pb.h397 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
550 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
944 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1128 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1292 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1637 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1793 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
2226 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
2402 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
2566 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
[all …]
Dany.pb.h159 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
304 GOOGLE_DCHECK(value != nullptr); in set_type_url()
366 GOOGLE_DCHECK(value != nullptr); in set_value()
Dparse_context.h116 GOOGLE_DCHECK(ptr <= buffer_end_ + kSlopBytes); in BackUp()
128 GOOGLE_DCHECK(limit >= 0 && limit <= INT_MAX - kSlopBytes); in PushLimit()
209 GOOGLE_DCHECK(*ptr); in DoneWithCheck()
298 GOOGLE_DCHECK(size > chunk_size); in AppendSize()
Dsource_context.pb.h126 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
252 GOOGLE_DCHECK(value != nullptr); in set_file_name()
Dwrappers.pb.cc336 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
531 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
726 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
923 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
1120 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
1317 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
1514 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
1714 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
1923 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
Drepeated_field.h1461 GOOGLE_DCHECK(this != other);
1462 GOOGLE_DCHECK(GetArena() == other->GetArena());
1687 GOOGLE_DCHECK(other->GetArena() != GetArena());
2032 GOOGLE_DCHECK(GetArena() == NULL)
2061 GOOGLE_DCHECK(GetArena() == NULL)
2063 GOOGLE_DCHECK(TypeHandler::GetArena(value) == NULL)
2073 GOOGLE_DCHECK(GetArena() == NULL)
2076 GOOGLE_DCHECK(GetArena() == NULL);
2077 GOOGLE_DCHECK(rep_ != NULL);
2269 GOOGLE_DCHECK(GetArena() == NULL)
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.cc267 GOOGLE_DCHECK(z.first != NULL); in ReadString()
685 GOOGLE_DCHECK(!had_error_); in Flush()
686 GOOGLE_DCHECK(overrun <= kSlopBytes); // NOLINT in Flush()
700 GOOGLE_DCHECK(s >= 0); // NOLINT in Flush()
788 GOOGLE_DCHECK(!had_error_); // NOLINT in Next()
810 GOOGLE_DCHECK(size > 0); // NOLINT in Next()
829 GOOGLE_DCHECK(overrun >= 0); // NOLINT in EnsureSpaceFallback()
830 GOOGLE_DCHECK(overrun <= kSlopBytes); // NOLINT in EnsureSpaceFallback()
833 GOOGLE_DCHECK(ptr < end_); // NOLINT in EnsureSpaceFallback()
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonemetadata.pb.cc178 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
562 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
1211 GOOGLE_DCHECK(GetArena() == nullptr); in SharedDtor()
1291 GOOGLE_DCHECK(general_desc_ != nullptr); in Clear()
1295 GOOGLE_DCHECK(fixed_line_ != nullptr); in Clear()
1299 GOOGLE_DCHECK(mobile_ != nullptr); in Clear()
1303 GOOGLE_DCHECK(toll_free_ != nullptr); in Clear()
1307 GOOGLE_DCHECK(premium_rate_ != nullptr); in Clear()
1311 GOOGLE_DCHECK(shared_cost_ != nullptr); in Clear()
1315 GOOGLE_DCHECK(personal_number_ != nullptr); in Clear()
[all …]
Dphonenumber.pb.h147 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
490 GOOGLE_DCHECK(value != nullptr); in set_extension()
620 GOOGLE_DCHECK(value != nullptr); in set_raw_input()
723 GOOGLE_DCHECK(value != nullptr); in set_preferred_domestic_carrier_code()
Dphonemetadata.pb.h136 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
387 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
598 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1348 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1478 GOOGLE_DCHECK(value != nullptr); in set_pattern()
1552 GOOGLE_DCHECK(value != nullptr); in set_format()
1622 GOOGLE_DCHECK(value != nullptr); in set_leading_digits_pattern()
1643 GOOGLE_DCHECK(value != nullptr); in add_leading_digits_pattern()
1700 GOOGLE_DCHECK(value != nullptr); in set_national_prefix_formatting_rule()
1802 GOOGLE_DCHECK(value != nullptr); in set_domestic_carrier_code_formatting_rule()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/
Dplugin.pb.h179 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
380 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
602 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
802 GOOGLE_DCHECK(GetArena() == other->GetArena()); in UnsafeArenaSwap()
1092 GOOGLE_DCHECK(value != nullptr); in set_suffix()
1166 GOOGLE_DCHECK(value != nullptr); in set_file_to_generate()
1187 GOOGLE_DCHECK(value != nullptr); in add_file_to_generate()
1244 GOOGLE_DCHECK(value != nullptr); in set_parameter()
1441 GOOGLE_DCHECK(value != nullptr); in set_name()
1515 GOOGLE_DCHECK(value != nullptr); in set_insertion_point()
[all …]

123