Lines Matching defs:empty
217 // assign to an empty optional from an empty optional
221 // assign to an empty optional from a full optional
239 // assign to a full optional from an empty optional
248 skstd::optional<SkTOptionalTestPayload> empty;
251 // assign to an empty optional from an empty optional
252 o = empty;
255 // assign to an empty optional from a full optional
267 // assign to a full optional from an empty optional
268 o = empty;
279 REPORTER_ASSERT(r, o->empty());
326 skstd::optional<SkString> empty;
327 skstd::optional<SkString>& emptyRef = empty;
328 empty = emptyRef;
329 REPORTER_ASSERT(r, !empty);
330 empty = std::move(emptyRef);
331 REPORTER_ASSERT(r, !empty);