Home
last modified time | relevance | path

Searched refs:IsNull (Results 1 – 25 of 130) sorted by relevance

123456

/external/chromium_org/media/base/
Dcallback_holder_unittest.cc23 EXPECT_TRUE(cb.IsNull()); in TEST()
29 EXPECT_FALSE(cb.IsNull()); in TEST()
34 EXPECT_FALSE(cb.IsNull()); in TEST()
36 EXPECT_TRUE(cb.IsNull()); in TEST()
42 EXPECT_TRUE(cb.IsNull()); in TEST()
46 EXPECT_FALSE(cb.IsNull()); in TEST()
52 EXPECT_FALSE(cb.IsNull()); in TEST()
54 EXPECT_TRUE(cb.IsNull()); in TEST()
60 EXPECT_TRUE(cb.IsNull()); in TEST()
64 EXPECT_FALSE(cb.IsNull()); in TEST()
[all …]
/external/chromium_org/testing/gtest/test/
Dgtest-unittest-api_test.cc140 AssertionResult IsNull(const char* str) { in IsNull() function
152 EXPECT_TRUE(IsNull(test_case->type_param())); in TEST()
162 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TEST()
163 EXPECT_TRUE(IsNull(tests[0]->type_param())); in TEST()
168 EXPECT_TRUE(IsNull(tests[1]->value_param())); in TEST()
169 EXPECT_TRUE(IsNull(tests[1]->type_param())); in TEST()
174 EXPECT_TRUE(IsNull(tests[2]->value_param())); in TEST()
175 EXPECT_TRUE(IsNull(tests[2]->type_param())); in TEST()
180 EXPECT_TRUE(IsNull(tests[3]->value_param())); in TEST()
181 EXPECT_TRUE(IsNull(tests[3]->type_param())); in TEST()
[all …]
/external/gtest/test/
Dgtest-unittest-api_test.cc140 AssertionResult IsNull(const char* str) { in IsNull() function
152 EXPECT_TRUE(IsNull(test_case->type_param())); in TEST()
162 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TEST()
163 EXPECT_TRUE(IsNull(tests[0]->type_param())); in TEST()
168 EXPECT_TRUE(IsNull(tests[1]->value_param())); in TEST()
169 EXPECT_TRUE(IsNull(tests[1]->type_param())); in TEST()
174 EXPECT_TRUE(IsNull(tests[2]->value_param())); in TEST()
175 EXPECT_TRUE(IsNull(tests[2]->type_param())); in TEST()
180 EXPECT_TRUE(IsNull(tests[3]->value_param())); in TEST()
181 EXPECT_TRUE(IsNull(tests[3]->type_param())); in TEST()
[all …]
/external/chromium_org/media/filters/
Daudio_decoder_selector_unittest.cc18 using ::testing::IsNull;
149 EXPECT_CALL(*this, OnDecoderSelected(IsNull(), IsNull())); in SelectDecoderAndDestroy()
187 EXPECT_CALL(*this, OnDecoderSelected(IsNull(), IsNull())); in TEST_F()
200 EXPECT_CALL(*this, OnDecoderSelected(decoder_1_, IsNull())); in TEST_F()
225 EXPECT_CALL(*this, OnDecoderSelected(decoder_2_, IsNull())); in TEST_F()
250 EXPECT_CALL(*this, OnDecoderSelected(decoder_1_, IsNull())); in TEST_F()
269 EXPECT_CALL(*this, OnDecoderSelected(IsNull(), IsNull())); in TEST_F()
280 EXPECT_CALL(*this, OnDecoderSelected(IsNull(), IsNull())); in TEST_F()
352 EXPECT_CALL(*this, OnDecoderSelected(NotNull(), IsNull())); in TEST_F()
Dvideo_decoder_selector_unittest.cc17 using ::testing::IsNull;
145 EXPECT_CALL(*this, OnDecoderSelected(IsNull(), IsNull())); in SelectDecoderAndDestroy()
183 EXPECT_CALL(*this, OnDecoderSelected(IsNull(), IsNull())); in TEST_F()
196 EXPECT_CALL(*this, OnDecoderSelected(decoder_1_, IsNull())); in TEST_F()
221 EXPECT_CALL(*this, OnDecoderSelected(decoder_2_, IsNull())); in TEST_F()
246 EXPECT_CALL(*this, OnDecoderSelected(decoder_1_, IsNull())); in TEST_F()
265 EXPECT_CALL(*this, OnDecoderSelected(IsNull(), IsNull())); in TEST_F()
276 EXPECT_CALL(*this, OnDecoderSelected(IsNull(), IsNull())); in TEST_F()
348 EXPECT_CALL(*this, OnDecoderSelected(NotNull(), IsNull())); in TEST_F()
Dfake_video_decoder.cc33 if (!init_cb_.IsNull()) in ~FakeVideoDecoder()
37 if (!reset_cb_.IsNull()) in ~FakeVideoDecoder()
55 DCHECK(reset_cb_.IsNull()) << "No reinitialization during pending reset."; in Initialize()
76 DCHECK(reset_cb_.IsNull()); in Decode()
108 DCHECK(reset_cb_.IsNull()); in Reset()
138 DCHECK(reset_cb_.IsNull()); in SatisfyInit()
162 if (!reset_cb_.IsNull() && held_decode_callbacks_.empty()) in SatisfySingleDecode()
211 if (!reset_cb_.IsNull()) { in RunDecodeCallback()
244 DCHECK(!reset_cb_.IsNull()); in DoReset()
Ddecrypting_demuxer_stream_unittest.cc20 using ::testing::IsNull;
156 EXPECT_CALL(*this, BufferReady(status, IsNull())); in ReadAndExpectBufferReadyWith()
417 EXPECT_CALL(*this, BufferReady(DemuxerStream::kAborted, IsNull())); in TEST_F()
429 EXPECT_CALL(*this, BufferReady(DemuxerStream::kAborted, IsNull())); in TEST_F()
439 EXPECT_CALL(*this, BufferReady(DemuxerStream::kAborted, IsNull())); in TEST_F()
469 EXPECT_CALL(*this, BufferReady(DemuxerStream::kAborted, IsNull())); in TEST_F()
498 EXPECT_CALL(*this, BufferReady(DemuxerStream::kConfigChanged, IsNull())); in TEST_F()
535 EXPECT_CALL(*this, BufferReady(DemuxerStream::kAborted, IsNull())); in TEST_F()
543 EXPECT_CALL(*this, BufferReady(DemuxerStream::kAborted, IsNull())); in TEST_F()
551 EXPECT_CALL(*this, BufferReady(DemuxerStream::kAborted, IsNull())); in TEST_F()
/external/chromium_org/v8/test/mjsunit/compiler/
Dnull-compare.js28 function IsNull(x) { class
32 assertTrue(IsNull(null), "null == null");
33 assertTrue(IsNull(void 0), "void 0 == null");
34 assertFalse(IsNull(42), "42 != null");
/external/chromium_org/v8/src/base/platform/
Delapsed-timer.h45 DCHECK(started_ || start_ticks_.IsNull()); in IsStarted()
46 DCHECK(!started_ || !start_ticks_.IsNull()); in IsStarted()
47 return !start_ticks_.IsNull(); in IsStarted()
85 DCHECK(!now.IsNull()); in Now()
Dtime.cc235 if (IsNull()) { in ToFiletime()
284 if (IsNull()) { in ToTimespec()
316 if (IsNull()) { in ToTimeval()
346 if (IsNull()) { in ToJsTime()
503 DCHECK(!ticks.IsNull()); in Now()
511 DCHECK(!ticks.IsNull()); in HighResolutionNow()
Dtime-unittest.cc64 EXPECT_TRUE(null.IsNull()); in TEST()
80 EXPECT_TRUE(null.IsNull()); in TEST()
98 EXPECT_TRUE(null.IsNull()); in TEST()
/external/chromium_org/mojo/system/
Dmemory_unittest.cc29 EXPECT_FALSE(my_char_ptr.IsNull()); in TEST()
30 EXPECT_FALSE(my_int32_ptr.IsNull()); in TEST()
31 EXPECT_FALSE(my_int64_array_ptr.IsNull()); in TEST()
50 EXPECT_FALSE(other.IsNull()); in TEST()
55 EXPECT_FALSE(other.IsNull()); in TEST()
60 EXPECT_TRUE(other.IsNull()); in TEST()
72 EXPECT_TRUE(other.IsNull()); in TEST()
82 EXPECT_TRUE(other.IsNull()); in TEST()
Dcore.cc134 signals_state.IsNull() ? nullptr : &hss); in Wait()
135 if (rv != MOJO_RESULT_INVALID_ARGUMENT && !signals_state.IsNull()) in Wait()
156 if (signals_states.IsNull()) { in WaitMany()
178 if (index != static_cast<uint32_t>(-1) && !result_index.IsNull()) in WaitMany()
306 uint32_t num_handles_value = num_handles.IsNull() ? 0 : num_handles.Get(); in ReadMessage()
319 DCHECK(!num_handles.IsNull()); in ReadMessage()
346 if (!num_handles.IsNull()) in ReadMessage()
Ddata_pipe_consumer_dispatcher.cc63 DVLOG_IF(2, !elements.IsNull()) in ReadDataImplNoLock()
71 DVLOG_IF(2, !elements.IsNull()) in ReadDataImplNoLock()
Dlocal_message_pipe_endpoint.cc74 const uint32_t max_bytes = num_bytes.IsNull() ? 0 : num_bytes.Get(); in ReadMessage()
86 if (!num_bytes.IsNull()) in ReadMessage()
/external/hamcrest/src/org/hamcrest/core/
DIsNull.java14 public class IsNull<T> extends BaseMatcher<T> { class
28 return new IsNull<T>(); in nullValue()
36 return not(IsNull.<T>nullValue()); in notNullValue()
/external/chromium_org/v8/src/libplatform/
Dtask-queue-unittest.cc11 using testing::IsNull;
29 virtual void Run() OVERRIDE { EXPECT_THAT(queue_->GetNext(), IsNull()); } in Run()
44 EXPECT_THAT(queue.GetNext(), IsNull()); in TEST()
/external/chromium_org/v8/src/
Dprototype.h101 return object_->IsNull() ||
106 return handle_->IsNull() ||
114 return object_->IsNull() || object_ == final_object; in IsAtEnd()
118 return handle_->IsNull() || *handle_ == *final_object; in IsAtEnd()
/external/hamcrest/src/org/hamcrest/
DCoreMatchers.java134 return org.hamcrest.core.IsNull.nullValue(); in nullValue()
141 return org.hamcrest.core.IsNull.nullValue(type); in nullValue()
148 return org.hamcrest.core.IsNull.notNullValue(); in notNullValue()
155 return org.hamcrest.core.IsNull.notNullValue(type); in notNullValue()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DITreeFixture.cs58 Assert.IsNull(t.Parent); in testSingleNode()
71 Assert.IsNull(r0.Parent); in test4Nodes()
85 Assert.IsNull(r0.Parent); in testList()
111 Assert.IsNull(root.Parent); in testList2()
139 Assert.IsNull(root.Parent); in testAddListToExistChildren()
166 Assert.IsNull(dup.Parent); in testDupTree()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DV8StringResource.h289 return !m_v8Object->IsNull(); in isValid()
299 return !m_v8Object->IsNull(); in isValid()
309 return !m_v8Object->IsNull() && !m_v8Object->IsUndefined(); in isValid()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
DV8ElementCustom.cpp172 if (info[0]->IsNull()) { in animateMethodCustom()
192 if (info[0]->IsNull() && info[1]->IsObject()) { in animateMethodCustom()
197 if (info[0]->IsNull()) { in animateMethodCustom()
/external/protobuf/src/google/protobuf/
Ddescriptor.cc236 inline bool IsNull() const { return type == NULL_SYMBOL; } in IsNull() function
578 if (result.IsNull() && pool->underlay_ != NULL) { in FindByNameHelper()
584 if (result.IsNull()) { in FindByNameHelper()
889 if (!result.IsNull()) return result.GetFile(); in FindFileContainingSymbol()
897 if (!result.IsNull()) return result.GetFile(); in FindFileContainingSymbol()
1042 if (!result.IsNull() && !result.field_descriptor->is_extension()) { in FindFieldByName()
1053 if (!result.IsNull() && result.field_descriptor->is_extension()) { in FindExtensionByName()
1086 if (!result.IsNull()) { in FindNestedTypeByName()
1097 if (!result.IsNull()) { in FindEnumTypeByName()
1108 if (!result.IsNull()) { in FindEnumValueByName()
[all …]
/external/chromium_org/v8/test/cctest/
Dtest-thread-termination.cc81 CHECK(try_catch.Exception()->IsNull()); in DoLoop()
98 CHECK(try_catch.Exception()->IsNull()); in DoLoopNoCall()
236 CHECK(try_catch.Exception()->IsNull()); in LoopGetProperty()
291 CHECK(try_catch.Exception()->IsNull()); in ReenterAfterTermination()
337 CHECK(try_catch.Exception()->IsNull()); in DoLoopCancelTerminate()
/external/chromium_org/content/renderer/
Dv8_value_converter_impl_unittest.cc104 bool IsNull(base::DictionaryValue* value, const std::string& key) { in IsNull() function in content::V8ValueConverterImplTest
113 bool IsNull(v8::Handle<v8::Object> value, const std::string& key) { in IsNull() function in content::V8ValueConverterImplTest
120 return child->IsNull(); in IsNull()
123 bool IsNull(base::ListValue* value, uint32 index) { in IsNull() function in content::V8ValueConverterImplTest
132 bool IsNull(v8::Handle<v8::Array> value, uint32 index) { in IsNull() function in content::V8ValueConverterImplTest
138 return child->IsNull(); in IsNull()
233 v8_object->Get(v8::String::NewFromUtf8(isolate_, "null"))->IsNull()); in TEST_F()
353 EXPECT_TRUE(IsNull(converted.get(), 0)); in TEST_F()
469 EXPECT_TRUE(IsNull(object_result.get(), "obj")); in TEST_F()
480 EXPECT_TRUE(IsNull(list_result.get(), 1)); in TEST_F()

123456