Home
last modified time | relevance | path

Searched refs:is_null_ (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/mojo/public/cpp/bindings/
Dstring.h20 String() : is_null_(true) {} in String()
21 String(const std::string& str) : value_(str), is_null_(false) {} in String()
22 String(const char* chars) : is_null_(!chars) { in String()
28 is_null_(false) { in String()
31 String(const char chars[N]) : value_(chars, N-1), is_null_(false) {} in String()
45 is_null_ = false;
49 is_null_ = !chars;
60 is_null_ = true; in reset()
63 bool is_null() const { return is_null_; } in is_null()
76 std::swap(is_null_, other->is_null_); in Swap()
[all …]
Dstruct_ptr.h98 InlinedStructPtr() : is_null_(true) {} in InlinedStructPtr()
101 InlinedStructPtr(RValue other) : is_null_(true) { Take(other.object); } in InlinedStructPtr()
113 is_null_ = true; in reset()
118 bool is_null() const { return is_null_; } in is_null()
121 MOJO_DCHECK(!is_null_);
125 MOJO_DCHECK(!is_null_);
132 std::swap(is_null_, other->is_null_); in Swap()
139 operator Testable() const { return is_null_ ? 0 : &InlinedStructPtr::value_; } in Testable()
143 void Initialize() { is_null_ = false; } in Initialize()
151 bool is_null_; variable
Darray.h35 Array() : is_null_(true) {} in Array()
36 explicit Array(size_t size) : vec_(size), is_null_(false) { in Array()
41 Array(RValue other) : is_null_(true) { Take(other.object); } in Array()
66 is_null_ = true; in reset()
69 bool is_null() const { return is_null_; } in is_null()
83 is_null_ = false; in push_back()
88 is_null_ = false; in resize()
100 std::swap(is_null_, other->is_null_); in Swap()
104 is_null_ = false; in Swap()
112 operator Testable() const { return is_null_ ? 0 : &Array::vec_; } in Testable()
[all …]
/external/chromium_org/base/strings/
Dnullable_string16.h20 NullableString16() : is_null_(true) { } in NullableString16()
22 : string_(string), is_null_(is_null) { in NullableString16()
26 bool is_null() const { return is_null_; } in is_null()
30 bool is_null_; variable
/external/chromium_org/chrome/browser/net/
Dload_timing_browsertest.cc55 RelativeTime() : is_null_(true) { in RelativeTime()
60 : is_null_(false), in RelativeTime()
66 if (is_null_) in ToTimeTicks()
71 bool is_null() const { return is_null_; } in is_null()
76 EXPECT_FALSE(is_null_); in GetDelta()
81 bool is_null_; member in __anon84fb5fb60111::RelativeTime