/external/protobuf/src/google/protobuf/testing/ |
D | googletest.cc | 125 GOOGLE_CHECK(mkdir(name_.c_str(), 0777) == 0) << strerror(errno); in GetTempDir() 160 GOOGLE_CHECK(fd >= 0) << "open: " << strerror(errno); in CaptureTestStdout() 175 GOOGLE_CHECK(fd >= 0) << "open: " << strerror(errno); in CaptureTestStderr() 216 GOOGLE_CHECK(active_log_ == NULL); in ScopedMemoryLog() 233 GOOGLE_CHECK(active_log_ != NULL); in HandleLog()
|
D | file.cc | 82 GOOGLE_CHECK(ReadFileToString(name, output)) << "Could not read: " << name; in ReadFileToStringOrDie() 87 GOOGLE_CHECK(file != NULL) in WriteStringToFileOrDie() 92 GOOGLE_CHECK(fclose(file) == 0) in WriteStringToFileOrDie()
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl.cc | 122 GOOGLE_CHECK(!is_closed_); in Close() 137 GOOGLE_CHECK(!is_closed_); in Read() 153 GOOGLE_CHECK(!is_closed_); in Skip() 220 GOOGLE_CHECK(!is_closed_); in Close() 236 GOOGLE_CHECK(!is_closed_); in Write()
|
D | gzip_stream.cc | 66 GOOGLE_CHECK(output_buffer_ != NULL); in GzipInputStream() 204 GOOGLE_CHECK(input_buffer_ != NULL); in Init()
|
D | zero_copy_stream_impl_lite.cc | 256 GOOGLE_CHECK(backup_bytes_ == 0 && buffer_.get() != NULL) in BackUp()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | common.h | 656 #undef GOOGLE_CHECK 680 #define GOOGLE_CHECK(EXPRESSION) \ macro 682 #define GOOGLE_CHECK_EQ(A, B) GOOGLE_CHECK((A) == (B)) 683 #define GOOGLE_CHECK_NE(A, B) GOOGLE_CHECK((A) != (B)) 684 #define GOOGLE_CHECK_LT(A, B) GOOGLE_CHECK((A) < (B)) 685 #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B)) 686 #define GOOGLE_CHECK_GT(A, B) GOOGLE_CHECK((A) > (B)) 687 #define GOOGLE_CHECK_GE(A, B) GOOGLE_CHECK((A) >= (B)) 693 #define GOOGLE_DCHECK(EXPRESSION) while(false) GOOGLE_CHECK(EXPRESSION) 705 #define GOOGLE_DCHECK GOOGLE_CHECK
|
D | strutil.cc | 203 GOOGLE_CHECK(result != NULL); in JoinStringsIterator() 405 GOOGLE_CHECK(dest); in UnescapeCEscapeString() 657 GOOGLE_CHECK(i >= 0) << "FastHexToBuffer() wants non-negative integers, not " << i; in FastHexToBuffer()
|
/external/protobuf/src/google/protobuf/ |
D | lite_unittest.cc | 66 GOOGLE_CHECK(extensions_data == data); in main() 99 GOOGLE_CHECK(packed_extensions_data == packed_data); in main()
|
D | extension_set.cc | 151 GOOGLE_CHECK(type == WireFormatLite::TYPE_MESSAGE || in RegisterMessageExtension() 244 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; \ 252 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; \ 314 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in GetRepeatedEnum() 321 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in SetRepeatedEnum() 375 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in GetRepeatedString() 382 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in MutableRepeatedString() 446 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in GetRepeatedMessage() 453 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in MutableRepeatedMessage() 492 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in RemoveLast() [all …]
|
D | extension_set_heavy.cc | 135 GOOGLE_CHECK(prototype != NULL); in MutableMessage() 165 GOOGLE_CHECK(prototype != NULL); in AddMessage() 193 GOOGLE_CHECK(output->message_prototype != NULL) in Find()
|
D | descriptor.cc | 860 GOOGLE_CHECK(generated_database_->Add(encoded_file_descriptor, size)); in InternalAddGeneratedFile() 1291 GOOGLE_CHECK(has_default_value()) << "No default value"; in DefaultValueAsString() 2176 GOOGLE_CHECK(fallback_database_ == NULL) in BuildFile() 2180 GOOGLE_CHECK(mutex_ == NULL); // Implied by the above GOOGLE_CHECK. in BuildFile() 2187 GOOGLE_CHECK(fallback_database_ == NULL) in BuildFileCollectingErrors() 2191 GOOGLE_CHECK(mutex_ == NULL); // Implied by the above GOOGLE_CHECK. in BuildFileCollectingErrors() 3796 GOOGLE_CHECK(builder_); in OptionInterpreter() 3816 GOOGLE_CHECK(uninterpreted_options_field != NULL) in InterpretOptions() 3824 GOOGLE_CHECK(original_uninterpreted_options_field != NULL) in InterpretOptions() 3854 GOOGLE_CHECK(options->ParseFromString(buf)) in InterpretOptions() [all …]
|
D | message.cc | 105 GOOGLE_CHECK(IsInitialized()) in CheckInitialized()
|
D | message_lite.cc | 224 GOOGLE_CHECK(!coded_out.HadError()); in SerializeWithCachedSizesToArray()
|
D | generated_message_reflection_unittest.cc | 63 GOOGLE_CHECK(result != NULL); in F()
|
D | dynamic_message.cc | 383 GOOGLE_CHECK(is_prototype()); in CrossLinkPrototypes()
|
D | wire_format_unittest.cc | 650 GOOGLE_CHECK(field != NULL); in MakeInvalidEmbeddedMessage() 671 GOOGLE_CHECK(field != NULL); in MakeInvalidGroup()
|
D | generated_message_reflection.cc | 895 GOOGLE_CHECK(result != NULL); in GetEnum() 925 GOOGLE_CHECK(result != NULL); in GetRepeatedEnum()
|
D | test_util_lite.cc | 39 #define EXPECT_TRUE GOOGLE_CHECK 40 #define ASSERT_TRUE GOOGLE_CHECK 41 #define EXPECT_FALSE(COND) GOOGLE_CHECK(!(COND))
|
D | repeated_field_unittest.cc | 799 GOOGLE_CHECK(*it != NULL); in TEST_F()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer_unittest.cc | 339 GOOGLE_CHECK(File::CreateDir(dirnames_[i].c_str(), DEFAULT_FILE_MODE)); in SetUp() 354 GOOGLE_CHECK(File::CreateDir(dirname.c_str(), DEFAULT_FILE_MODE)); in AddSubdir()
|
D | command_line_interface_unittest.cc | 218 GOOGLE_CHECK(File::CreateDir(temp_directory_.c_str(), DEFAULT_FILE_MODE)); in SetUp() 1257 GOOGLE_CHECK(RedirectStdinFromFile(filename)); in RedirectStdinFromText()
|
D | subprocess.cc | 150 GOOGLE_CHECK(child_handle_ != NULL) << "Must call Start() first."; in Communicate()
|
D | command_line_interface.cc | 671 GOOGLE_CHECK(pool.BuildFile(file) != NULL); in Run() 1105 GOOGLE_CHECK(HasPrefixString(output_directive.name, "--") && in GenerateOutput()
|
D | parser.cc | 670 GOOGLE_CHECK(uninterpreted_option_field != NULL) in ParseOptionAssignment()
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 256 GOOGLE_CHECK(output.get()); in Generate() 774 GOOGLE_CHECK(extension_field.is_extension()); in FixForeignFieldsInExtension()
|