Searched refs:mIsSome (Results 1 – 11 of 11) sorted by relevance
85 bool mIsSome; variable97 : mIsSome(false) in Maybe()105 : mIsSome(false) in Maybe()117 if (mIsSome) {140 if (mIsSome) {161 MOZ_ASSERT(mIsSome); in value()194 MOZ_ASSERT(mIsSome); in ptr()200 MOZ_ASSERT(mIsSome); in ptr()248 MOZ_ASSERT(mIsSome);374 mIsSome = false; in reset()[all …]
86 bool mIsSome; variable98 : mIsSome(false) in Maybe()100 if (aOther.mIsSome) { in Maybe()118 : mIsSome(false) in Maybe()126 : mIsSome(false) in Maybe()147 : mIsSome(false) in Maybe()159 if (mIsSome) {182 if (mIsSome) {203 MOZ_ASSERT(mIsSome); in value()420 mIsSome = false; in reset()[all …]
127 if (aOther.mIsSome) { in Maybe()173 if (mIsSome) {189 if (mIsSome) {204 if (mIsSome) {221 if (mIsSome) {242 MOZ_ASSERT(mIsSome); in value()273 MOZ_ASSERT(mIsSome); in ptr()278 MOZ_ASSERT(mIsSome); in ptr()321 MOZ_ASSERT(mIsSome);438 mIsSome = false; in reset()[all …]
248 : MaybeStorageBase<T>{aVal}, mIsSome{true} {}255 mIsSome{true} {}267 if (mIsSome) {280 : MaybeStorageBase<T>{aVal}, mIsSome{true} {}287 mIsSome{true} {}363 using detail::MaybeStorage<T>::mIsSome;408 if (mIsSome) {423 if (mIsSome) {443 constexpr bool isSome() const { return mIsSome; }642 mIsSome = false;[all …]
265 explicit MaybeStorage(const T& aVal) : mStorage{aVal}, mIsSome{true} {}277 if (mIsSome) {299 : mStorage{aVal}, mIsSome{true} {}301 : mStorage{std::move(aVal)}, mIsSome{true} {}380 using detail::MaybeStorage<T>::mIsSome;421 if (mIsSome) {436 if (mIsSome) {456 constexpr bool isSome() const { return mIsSome; }457 constexpr bool isNothing() const { return !mIsSome; }642 mIsSome = false;[all …]
765 aProducerView.WriteParam(aArg.mIsSome);766 return (aArg.mIsSome) ? aProducerView.WriteParam(aArg.ref())
923 aProducerView.WriteParam(aArg.mIsSome);924 return (aArg.mIsSome) ? aProducerView.WriteParam(aArg.ref())