/external/protobuf/src/google/protobuf/stubs/ |
D | logging.h | 126 #undef GOOGLE_CHECK 153 #define GOOGLE_CHECK(EXPRESSION) \ macro 155 #define GOOGLE_CHECK_OK(A) GOOGLE_CHECK(::google::protobuf::internal::IsOk(A)) 156 #define GOOGLE_CHECK_EQ(A, B) GOOGLE_CHECK((A) == (B)) 157 #define GOOGLE_CHECK_NE(A, B) GOOGLE_CHECK((A) != (B)) 158 #define GOOGLE_CHECK_LT(A, B) GOOGLE_CHECK((A) < (B)) 159 #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B)) 160 #define GOOGLE_CHECK_GT(A, B) GOOGLE_CHECK((A) > (B)) 161 #define GOOGLE_CHECK_GE(A, B) GOOGLE_CHECK((A) >= (B)) 181 #define GOOGLE_DCHECK(EXPRESSION) while(false) GOOGLE_CHECK(EXPRESSION) [all …]
|
D | map_util.h | 77 GOOGLE_CHECK(it != collection.end()) << "Map key not found: " << key; 87 GOOGLE_CHECK(it != collection.end()) << "Map key not found: " << key; 97 GOOGLE_CHECK(it != collection.end()) << "Map key not found"; 107 GOOGLE_CHECK(it != collection.end()) << "Map key not found"; 211 GOOGLE_CHECK(it != collection.end()) << "key not found: " << key; 340 GOOGLE_CHECK(InsertIfNotPresent(collection, value)) 348 GOOGLE_CHECK(InsertIfNotPresent(collection, value)) << "duplicate value."; 357 GOOGLE_CHECK(InsertIfNotPresent(collection, key, data)) 367 GOOGLE_CHECK(InsertIfNotPresent(collection, key, data)) << "duplicate key."; 383 GOOGLE_CHECK(res.second) << "duplicate key: " << key; [all …]
|
D | time_test.cc | 50 GOOGLE_CHECK(DateTimeToSeconds(time, &result)); in CreateTimestamp() 52 GOOGLE_CHECK(SecondsToDateTime(result, &time)); in CreateTimestamp() 53 GOOGLE_CHECK(time.year == year); in CreateTimestamp() 54 GOOGLE_CHECK(time.month == month); in CreateTimestamp() 55 GOOGLE_CHECK(time.day == day); in CreateTimestamp()
|
/external/protobuf/src/google/protobuf/testing/ |
D | googletest.cc | 172 GOOGLE_CHECK(mkdir(name_.c_str(), 0777) == 0) << strerror(errno); in GetTempDir() 207 GOOGLE_CHECK(fd >= 0) << "open: " << strerror(errno); in CaptureTestStdout() 222 GOOGLE_CHECK(fd >= 0) << "open: " << strerror(errno); in CaptureTestStderr() 263 GOOGLE_CHECK(active_log_ == NULL); in ScopedMemoryLog() 274 GOOGLE_CHECK(level == ERROR || in GetMessages() 281 GOOGLE_CHECK(active_log_ != NULL); in HandleLog()
|
D | file.cc | 90 GOOGLE_CHECK(ReadFileToString(name, output)) << "Could not read: " << name; in ReadFileToStringOrDie() 114 GOOGLE_CHECK(file != NULL) in WriteStringToFileOrDie() 119 GOOGLE_CHECK(fclose(file) == 0) in WriteStringToFileOrDie()
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl.cc | 115 GOOGLE_CHECK(!is_closed_); in Close() 130 GOOGLE_CHECK(!is_closed_); in Read() 146 GOOGLE_CHECK(!is_closed_); in Skip() 201 GOOGLE_CHECK(!is_closed_); in Close() 217 GOOGLE_CHECK(!is_closed_); in Write()
|
D | zero_copy_stream_impl_lite.cc | 142 GOOGLE_CHECK(target_ != NULL); in Next() 174 GOOGLE_CHECK(target_ != NULL); in BackUp() 180 GOOGLE_CHECK(target_ != NULL); in ByteCount() 252 GOOGLE_CHECK(backup_bytes_ == 0 && buffer_.get() != NULL) in BackUp()
|
D | gzip_stream.cc | 67 GOOGLE_CHECK(output_buffer_ != NULL); in GzipInputStream() 222 GOOGLE_CHECK(input_buffer_ != NULL); in Init()
|
/external/protobuf/benchmarks/util/ |
D | gogo_data_scrubber.cc | 15 GOOGLE_CHECK(file.is_open()) << "Couldn't find file '" in ReadFile() 40 GOOGLE_CHECK(dataset.ParseFromString(dataset_payload)) in main()
|
D | proto3_data_stripper.cc | 15 GOOGLE_CHECK(file.is_open()) << "Couldn't find file '" in ReadFile() 40 GOOGLE_CHECK(dataset.ParseFromString(dataset_payload)) in main()
|
/external/protobuf/conformance/ |
D | conformance_cpp.cc | 198 GOOGLE_CHECK(test_message->SerializeToString(response->mutable_protobuf_payload())); in DoTest() 204 GOOGLE_CHECK(test_message->SerializeToString(&proto_binary)); in DoTest() 219 GOOGLE_CHECK(printer.PrintToString(*test_message, in DoTest()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | scc.h | 102 GOOGLE_CHECK(dep); in DFS() 144 GOOGLE_CHECK(child_msg); in AddChildren()
|
D | subprocess.cc | 168 GOOGLE_CHECK(child_handle_ != NULL) << "Must call Start() first."; in Communicate() 310 GOOGLE_CHECK(pipe(stdin_pipe) != -1); in Start() 311 GOOGLE_CHECK(pipe(stdout_pipe) != -1); in Start()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_map_field.cc | 75 GOOGLE_CHECK(message->options().map_entry()); in KeyField() 82 GOOGLE_CHECK(message->options().map_entry()); in ValueField()
|
/external/protobuf/src/google/protobuf/util/ |
D | message_differencer.cc | 115 GOOGLE_CHECK(!key_field_paths_.empty()); in MultipleFieldsMapKeyComparator() 117 GOOGLE_CHECK(!key_field_paths_[i].empty()); in MultipleFieldsMapKeyComparator() 289 GOOGLE_CHECK(comparator) << "Field comparator can't be NULL."; in set_field_comparator() 316 GOOGLE_CHECK(field->is_repeated()) in CheckRepeatedFieldComparisons() 319 GOOGLE_CHECK(key_comparator == NULL) in CheckRepeatedFieldComparisons() 323 GOOGLE_CHECK(repeated_field_comparisons_.find(field) == in CheckRepeatedFieldComparisons() 360 GOOGLE_CHECK(key->containing_type() == field->message_type()) in TreatAsMap() 364 GOOGLE_CHECK(repeated_field_comparisons_.find(field) == in TreatAsMap() 390 GOOGLE_CHECK(field->is_repeated()) in TreatAsMapWithMultipleFieldPathsAsKey() 401 GOOGLE_CHECK(child_field->containing_type() == parent_field->message_type()) in TreatAsMapWithMultipleFieldPathsAsKey() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | reflection_internal.h | 235 GOOGLE_CHECK(this == other_mutator); in Swap() 279 GOOGLE_CHECK(this == other_mutator); in Swap() 343 GOOGLE_CHECK(this == other_mutator); in Swap()
|
D | test_util2.h | 47 GOOGLE_CHECK(google3_path.find(prefix) == 0) << google3_path; in TranslatePathToOpensource()
|
D | extension_set.cc | 176 GOOGLE_CHECK(type == WireFormatLite::TYPE_MESSAGE || in RegisterMessageExtension() 324 GOOGLE_CHECK(extension != NULL) << "Index out-of-bounds (field is empty)."; \ 332 GOOGLE_CHECK(extension != NULL) << "Index out-of-bounds (field is empty)."; \ 443 GOOGLE_CHECK(extension != NULL) << "Extension not found."; in MutableRawRepeatedField() 479 GOOGLE_CHECK(extension != NULL) << "Index out-of-bounds (field is empty)."; in GetRepeatedEnum() 486 GOOGLE_CHECK(extension != NULL) << "Index out-of-bounds (field is empty)."; in SetRepeatedEnum() 541 GOOGLE_CHECK(extension != NULL) << "Index out-of-bounds (field is empty)."; in GetRepeatedString() 548 GOOGLE_CHECK(extension != NULL) << "Index out-of-bounds (field is empty)."; in MutableRepeatedString() 752 GOOGLE_CHECK(extension != NULL) << "Index out-of-bounds (field is empty)."; in GetRepeatedMessage() 759 GOOGLE_CHECK(extension != NULL) << "Index out-of-bounds (field is empty)."; in MutableRepeatedMessage() [all …]
|
D | no_field_presence_test.cc | 395 GOOGLE_CHECK(desc_oneof_uint32 != nullptr); in TEST() 396 GOOGLE_CHECK(desc_oneof_nested_message != nullptr); in TEST() 397 GOOGLE_CHECK(desc_oneof_string != nullptr); in TEST() 504 GOOGLE_CHECK(field != nullptr); in TEST()
|
D | message.cc | 131 GOOGLE_CHECK(IsInitialized()) << "Message of type \"" << GetDescriptor()->full_name() in CheckInitialized() 488 GOOGLE_CHECK(descriptor_) << msg->GetTypeName(); in _InternalParse() 489 GOOGLE_CHECK(reflection_) << msg->GetTypeName(); in _InternalParse() 680 GOOGLE_CHECK(field->is_repeated()); in RepeatedFieldAccessor()
|
/external/protobuf/benchmarks/cpp/ |
D | cpp_benchmark.cc | 196 GOOGLE_CHECK(file.is_open()) << "Couldn't find file '" << name << in ReadFile() 218 GOOGLE_CHECK(dataset.ParseFromString(dataset_bytes)); in RegisterBenchmarks()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_file.cc | 130 GOOGLE_CHECK(file_proto_desc) in CollectExtensions() 139 GOOGLE_CHECK(dynamic_file_proto.get() != NULL); in CollectExtensions() 140 GOOGLE_CHECK(dynamic_file_proto->ParseFromString(file_data)); in CollectExtensions() 146 GOOGLE_CHECK(CollectExtensions(*dynamic_file_proto, extensions)) in CollectExtensions()
|
D | java_message_builder_lite.cc | 68 GOOGLE_CHECK(!HasDescriptorMethods(descriptor->file(), context->EnforceLite())) in MessageBuilderLiteGenerator()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | safe_numerics.h | 156 GOOGLE_CHECK(IsValidNumericCast<Dest>(source)); in checked_numeric_cast()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | type_info_test_helper.cc | 60 GOOGLE_CHECK(pool == descriptors[i]->file()->pool()) in ResetTypeInfo()
|