/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() 227 GOOGLE_CHECK(level == ERROR || in GetMessages() 234 GOOGLE_CHECK(active_log_ != NULL); in HandleLog()
|
D | file.cc | 82 GOOGLE_CHECK(ReadFileToString(name, output)) << "Could not read: " << name; in ReadFileToStringOrDie() 105 GOOGLE_CHECK(file != NULL) in WriteStringToFileOrDie() 110 GOOGLE_CHECK(fclose(file) == 0) in WriteStringToFileOrDie()
|
/external/protobuf/src/google/protobuf/stubs/ |
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"; 357 GOOGLE_CHECK(InsertIfNotPresent(collection, key, data)) 368 GOOGLE_CHECK(InsertIfNotPresent(collection, key, data)) << "duplicate key."; 384 GOOGLE_CHECK(res.second) << "duplicate key: " << key; 682 GOOGLE_CHECK(key_container != NULL); 696 GOOGLE_CHECK(key_container != NULL); 713 GOOGLE_CHECK(key_container != NULL); [all …]
|
D | common.h | 687 #undef GOOGLE_CHECK 713 #define GOOGLE_CHECK(EXPRESSION) \ macro 715 #define GOOGLE_CHECK_OK(A) GOOGLE_CHECK(A) 716 #define GOOGLE_CHECK_EQ(A, B) GOOGLE_CHECK((A) == (B)) 717 #define GOOGLE_CHECK_NE(A, B) GOOGLE_CHECK((A) != (B)) 718 #define GOOGLE_CHECK_LT(A, B) GOOGLE_CHECK((A) < (B)) 719 #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B)) 720 #define GOOGLE_CHECK_GT(A, B) GOOGLE_CHECK((A) > (B)) 721 #define GOOGLE_CHECK_GE(A, B) GOOGLE_CHECK((A) >= (B)) 740 #define GOOGLE_DCHECK(EXPRESSION) while(false) GOOGLE_CHECK(EXPRESSION) [all …]
|
D | strutil.cc | 241 GOOGLE_CHECK(result != NULL); in JoinStringsIterator() 443 GOOGLE_CHECK(dest); in UnescapeCEscapeString() 809 GOOGLE_CHECK(i >= 0) << "FastHexToBuffer() wants non-negative integers, not " << i; in FastHexToBuffer()
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl.cc | 123 GOOGLE_CHECK(!is_closed_); in Close() 138 GOOGLE_CHECK(!is_closed_); in Read() 154 GOOGLE_CHECK(!is_closed_); in Skip() 221 GOOGLE_CHECK(!is_closed_); in Close() 237 GOOGLE_CHECK(!is_closed_); in Write()
|
D | gzip_stream.cc | 66 GOOGLE_CHECK(output_buffer_ != NULL); in GzipInputStream() 210 GOOGLE_CHECK(input_buffer_ != NULL); in Init()
|
D | zero_copy_stream_impl_lite.cc | 268 GOOGLE_CHECK(backup_bytes_ == 0 && buffer_.get() != NULL) in BackUp()
|
/external/protobuf/src/google/protobuf/ |
D | lite_unittest.cc | 49 GOOGLE_CHECK(message.optional_int32() == 3); in ExpectMessageMerged() 50 GOOGLE_CHECK(message.optional_int64() == 2); in ExpectMessageMerged() 51 GOOGLE_CHECK(message.optional_string() == "hello"); in ExpectMessageMerged() 144 GOOGLE_CHECK(packed_extensions_data == packed_data); in main() 201 GOOGLE_CHECK(parsing_merge.repeated_all_types_size() == 3); in main() 202 GOOGLE_CHECK(parsing_merge.repeatedgroup_size() == 3); in main() 203 GOOGLE_CHECK(parsing_merge.ExtensionSize( in main()
|
D | wire_format_lite.cc | 377 GOOGLE_CHECK(value.size() <= kint32max); in WriteString() 386 GOOGLE_CHECK(value.size() <= kint32max); in WriteStringMaybeAliased() 393 GOOGLE_CHECK(value.size() <= kint32max); in WriteBytes() 401 GOOGLE_CHECK(value.size() <= kint32max); in WriteBytesMaybeAliased()
|
D | extension_set.cc | 166 GOOGLE_CHECK(type == WireFormatLite::TYPE_MESSAGE || in RegisterMessageExtension() 282 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; \ 290 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; \ 389 GOOGLE_CHECK(iter == extensions_.end()) << "Extension not found."; in MutableRawRepeatedField() 426 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in GetRepeatedEnum() 433 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in SetRepeatedEnum() 487 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in GetRepeatedString() 494 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in MutableRepeatedString() 619 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in GetRepeatedMessage() 626 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in MutableRepeatedMessage() [all …]
|
D | repeated_field_reflection_unittest.cc | 175 GOOGLE_CHECK(fd_repeated_int64_extension != NULL); in TEST()
|
D | descriptor.cc | 1018 GOOGLE_CHECK(generated_database_->Add(encoded_file_descriptor, size)); in InternalAddGeneratedFile() 1515 GOOGLE_CHECK(has_default_value()) << "No default value"; in DefaultValueAsString() 2678 GOOGLE_CHECK(fallback_database_ == NULL) in BuildFile() 2682 GOOGLE_CHECK(mutex_ == NULL); // Implied by the above GOOGLE_CHECK. in BuildFile() 2691 GOOGLE_CHECK(fallback_database_ == NULL) in BuildFileCollectingErrors() 2695 GOOGLE_CHECK(mutex_ == NULL); // Implied by the above GOOGLE_CHECK. in BuildFileCollectingErrors() 4671 GOOGLE_CHECK(builder_); in OptionInterpreter() 4691 GOOGLE_CHECK(uninterpreted_options_field != NULL) in InterpretOptions() 4699 GOOGLE_CHECK(original_uninterpreted_options_field != NULL) in InterpretOptions() 4729 GOOGLE_CHECK(options->ParseFromString(buf)) in InterpretOptions() [all …]
|
D | message_lite.cc | 224 GOOGLE_CHECK(!coded_out.HadError()); in SerializeWithCachedSizesToArray()
|
D | message.cc | 107 GOOGLE_CHECK(IsInitialized()) in CheckInitialized()
|
D | extension_set_heavy.cc | 229 GOOGLE_CHECK(prototype != NULL); in AddMessage() 257 GOOGLE_CHECK(output->message_prototype != NULL) in Find()
|
D | wire_format_unittest.cc | 805 GOOGLE_CHECK(field != NULL); in MakeInvalidEmbeddedMessage() 826 GOOGLE_CHECK(field != NULL); in MakeInvalidGroup()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_file.cc | 114 GOOGLE_CHECK(file_proto_desc) in CollectExtensions() 123 GOOGLE_CHECK(dynamic_file_proto.get() != NULL); in CollectExtensions() 124 GOOGLE_CHECK(dynamic_file_proto->ParseFromString(file_data)); in CollectExtensions() 130 GOOGLE_CHECK(CollectExtensions(*dynamic_file_proto, extensions)) in CollectExtensions()
|
D | java_name_resolver.cc | 90 GOOGLE_CHECK(full_name.find('.') == string::npos); in ClassNameWithoutPackage()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | subprocess.cc | 153 GOOGLE_CHECK(child_handle_ != NULL) << "Must call Start() first."; in Communicate() 298 GOOGLE_CHECK(pipe(stdin_pipe) != -1); 299 GOOGLE_CHECK(pipe(stdout_pipe) != -1);
|
D | parser.cc | 368 GOOGLE_CHECK(!location_->has_leading_comments()); in AttachComments() 369 GOOGLE_CHECK(!location_->has_trailing_comments()); in AttachComments() 1021 GOOGLE_CHECK(uninterpreted_option_field != NULL) in ParseOption()
|
D | command_line_interface.cc | 732 GOOGLE_CHECK(pool.BuildFile(file) != NULL); in Run() 1245 GOOGLE_CHECK(HasPrefixString(output_directive.name, "--") && in GenerateOutput()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | repeated_composite_container.cc | 73 GOOGLE_CHECK((self)->owner.get() == NULL); \ 74 GOOGLE_CHECK((self)->message == NULL); \ 75 GOOGLE_CHECK((self)->parent_field == NULL); \ 76 GOOGLE_CHECK((self)->parent == NULL); \
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 277 GOOGLE_CHECK(output.get()); in Generate() 921 GOOGLE_CHECK(extension_field.is_extension()); in FixForeignFieldsInExtension()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 2284 GOOGLE_CHECK(UseUnknownFieldSet(descriptor_->file())); in GenerateSerializeWithCachedSizes() 2324 GOOGLE_CHECK(UseUnknownFieldSet(descriptor_->file())); in GenerateSerializeWithCachedSizesToArray() 2421 GOOGLE_CHECK(UseUnknownFieldSet(descriptor_->file())); in GenerateByteSize()
|