Home
last modified time | relevance | path

Searched refs:GOOGLE_CHECK (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dlogging.h124 #undef GOOGLE_CHECK
151 #define GOOGLE_CHECK(EXPRESSION) \ macro
153 #define GOOGLE_CHECK_OK(A) GOOGLE_CHECK(::google::protobuf::internal::IsOk(A))
154 #define GOOGLE_CHECK_EQ(A, B) GOOGLE_CHECK((A) == (B))
155 #define GOOGLE_CHECK_NE(A, B) GOOGLE_CHECK((A) != (B))
156 #define GOOGLE_CHECK_LT(A, B) GOOGLE_CHECK((A) < (B))
157 #define GOOGLE_CHECK_LE(A, B) GOOGLE_CHECK((A) <= (B))
158 #define GOOGLE_CHECK_GT(A, B) GOOGLE_CHECK((A) > (B))
159 #define GOOGLE_CHECK_GE(A, B) GOOGLE_CHECK((A) >= (B))
179 #define GOOGLE_DCHECK(EXPRESSION) while(false) GOOGLE_CHECK(EXPRESSION)
[all …]
Dtime_test.cc50 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()
Dmap_util.h77 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";
356 GOOGLE_CHECK(InsertIfNotPresent(collection, key, data))
366 GOOGLE_CHECK(InsertIfNotPresent(collection, key, data)) << "duplicate key.";
382 GOOGLE_CHECK(res.second) << "duplicate key: " << key;
680 GOOGLE_CHECK(key_container != NULL);
694 GOOGLE_CHECK(key_container != NULL);
711 GOOGLE_CHECK(key_container != NULL);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testing/
Dgoogletest.cc141 GOOGLE_CHECK(mkdir(name_.c_str(), 0777) == 0) << strerror(errno); in GetTempDir()
176 GOOGLE_CHECK(fd >= 0) << "open: " << strerror(errno); in CaptureTestStdout()
191 GOOGLE_CHECK(fd >= 0) << "open: " << strerror(errno); in CaptureTestStderr()
232 GOOGLE_CHECK(active_log_ == NULL); in ScopedMemoryLog()
243 GOOGLE_CHECK(level == ERROR || in GetMessages()
250 GOOGLE_CHECK(active_log_ != NULL); in HandleLog()
Dfile.cc82 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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dzero_copy_stream_impl.cc124 GOOGLE_CHECK(!is_closed_); in Close()
139 GOOGLE_CHECK(!is_closed_); in Read()
155 GOOGLE_CHECK(!is_closed_); in Skip()
222 GOOGLE_CHECK(!is_closed_); in Close()
238 GOOGLE_CHECK(!is_closed_); in Write()
Dzero_copy_stream_impl_lite.cc160 GOOGLE_CHECK(target_ != NULL); in Next()
192 GOOGLE_CHECK(target_ != NULL); in BackUp()
198 GOOGLE_CHECK(target_ != NULL); in ByteCount()
301 GOOGLE_CHECK(backup_bytes_ == 0 && buffer_.get() != NULL) in BackUp()
Dgzip_stream.cc67 GOOGLE_CHECK(output_buffer_ != NULL); in GzipInputStream()
216 GOOGLE_CHECK(input_buffer_ != NULL); in Init()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dmessage_differencer.cc79 GOOGLE_CHECK(!key_field_paths_.empty()); in MultipleFieldsMapKeyComparator()
81 GOOGLE_CHECK(!key_field_paths_[i].empty()); in MultipleFieldsMapKeyComparator()
207 GOOGLE_CHECK(comparator) << "Field comparator can't be NULL."; in set_field_comparator()
236 GOOGLE_CHECK(field->is_repeated()) << "Field must be repeated: " in TreatAsSet()
239 GOOGLE_CHECK(key_comparator == NULL) in TreatAsSet()
242 GOOGLE_CHECK(list_fields_.find(field) == list_fields_.end()) in TreatAsSet()
249 GOOGLE_CHECK(field->is_repeated()) << "Field must be repeated: " in TreatAsList()
252 GOOGLE_CHECK(key_comparator == NULL) in TreatAsList()
255 GOOGLE_CHECK(set_fields_.find(field) == set_fields_.end()) in TreatAsList()
263 GOOGLE_CHECK(field->is_repeated()) << "Field must be repeated: " in TreatAsMap()
[all …]
Dfield_mask_util.h79 GOOGLE_CHECK(IsValidPath<T>(path)); in AddPathToFieldMask()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dlite_unittest.cc54 GOOGLE_CHECK(message.optional_int32() == 3); in ExpectMessageMerged()
55 GOOGLE_CHECK(message.optional_int64() == 2); in ExpectMessageMerged()
56 GOOGLE_CHECK(message.optional_string() == "hello"); in ExpectMessageMerged()
92 #define EXPECT_TRUE GOOGLE_CHECK
93 #define ASSERT_TRUE GOOGLE_CHECK
94 #define EXPECT_FALSE(COND) GOOGLE_CHECK(!(COND))
155 GOOGLE_CHECK(packed_extensions_data == packed_data); in main()
212 GOOGLE_CHECK(parsing_merge.repeated_all_types_size() == 3); in main()
213 GOOGLE_CHECK(parsing_merge.repeatedgroup_size() == 3); in main()
214 GOOGLE_CHECK(parsing_merge.ExtensionSize( in main()
Dgenerated_message_util.cc77 GOOGLE_CHECK(false) << file << ":" << line; in MergeFromFail()
Dreflection_internal.h240 GOOGLE_CHECK(this == other_mutator); in Swap()
287 GOOGLE_CHECK(this == other_mutator); in Swap()
358 GOOGLE_CHECK(this == other_mutator); in Swap()
Dextension_set.cc169 GOOGLE_CHECK(type == WireFormatLite::TYPE_MESSAGE || in RegisterMessageExtension()
295 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; \
303 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; \
413 GOOGLE_CHECK(iter == extensions_.end()) << "Extension not found."; in MutableRawRepeatedField()
450 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in GetRepeatedEnum()
457 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in SetRepeatedEnum()
512 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in GetRepeatedString()
519 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in MutableRepeatedString()
725 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in GetRepeatedMessage()
732 GOOGLE_CHECK(iter != extensions_.end()) << "Index out-of-bounds (field is empty)."; in MutableRepeatedMessage()
[all …]
Dmap_field_inl.h140 GOOGLE_CHECK(map_iter->iter_ != NULL); in InitializeIterator()
414 GOOGLE_CHECK(default_entry_ != NULL); in SyncRepeatedFieldWithMapNoLock()
434 GOOGLE_CHECK(MapFieldBase::repeated_field_ != NULL); in SyncMapWithRepeatedFieldNoLock()
478 GOOGLE_CHECK(*MapFieldBase::entry_descriptor_ != NULL); in InitDefaultEntryOnce()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_map_field.cc75 GOOGLE_CHECK(message->options().map_entry()); in KeyField()
82 GOOGLE_CHECK(message->options().map_entry()); in ValueField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dconformance_cpp.cc130 GOOGLE_CHECK( in DoTest()
136 GOOGLE_CHECK(test_message.SerializeToString(&proto_binary)); in DoTest()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dsubprocess.cc155 GOOGLE_CHECK(child_handle_ != NULL) << "Must call Start() first."; in Communicate()
300 GOOGLE_CHECK(pipe(stdin_pipe) != -1);
301 GOOGLE_CHECK(pipe(stdout_pipe) != -1);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Drepeated_composite_container.cc73 GOOGLE_CHECK((self)->owner.get() == NULL); \
74 GOOGLE_CHECK((self)->message == NULL); \
75 GOOGLE_CHECK((self)->parent_field_descriptor == NULL); \
76 GOOGLE_CHECK((self)->parent == NULL); \
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_file.cc132 GOOGLE_CHECK(file_proto_desc) in CollectExtensions()
141 GOOGLE_CHECK(dynamic_file_proto.get() != NULL); in CollectExtensions()
142 GOOGLE_CHECK(dynamic_file_proto->ParseFromString(file_data)); in CollectExtensions()
148 GOOGLE_CHECK(CollectExtensions(*dynamic_file_proto, extensions)) in CollectExtensions()
Djava_message_builder_lite.cc84 GOOGLE_CHECK(!HasDescriptorMethods(descriptor->file(), context->EnforceLite())) in MessageBuilderLiteGenerator()
Djava_map_field.cc49 GOOGLE_CHECK(message->options().map_entry()); in KeyField()
56 GOOGLE_CHECK(message->options().map_entry()); in ValueField()
Djava_map_field_lite.cc49 GOOGLE_CHECK(message->options().map_entry()); in KeyField()
56 GOOGLE_CHECK(message->options().map_entry()); in ValueField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/
Dgenerate_datasets.cc100 GOOGLE_CHECK(file.is_open()) << "Couldn't find file '" << name << in ReadFile()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dtype_info_test_helper.cc63 GOOGLE_CHECK(pool == descriptors[i]->file()->pool()) in ResetTypeInfo()

123