Home
last modified time | relevance | path

Searched refs:optionalName (Results 1 – 3 of 3) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/base/
DOptionalTest.java41 Optional<String> optionalName = Optional.absent(); in testAbsent() local
42 assertFalse(optionalName.isPresent()); in testAbsent()
58 Optional<String> optionalName = Optional.fromNullable("bob"); in testFromNullable() local
59 assertEquals("bob", optionalName.get()); in testFromNullable()
/external/llvm-project/flang/lib/Semantics/
Dresolve-labels.cpp546 const auto &optionalName{std::get<0>(std::get<0>(a.t).statement.t)}; in PushConstructName() local
547 if (optionalName) { in PushConstructName()
548 constructNames_.emplace_back(optionalName->ToString()); in PushConstructName()
553 const auto &optionalName{ in PushConstructName() local
556 if (optionalName) { in PushConstructName()
557 constructNames_.emplace_back(optionalName->ToString()); in PushConstructName()
562 const auto &optionalName{std::get<0>(std::get<0>(a.t).statement.t)}; in PushConstructNameWithoutBlock() local
563 if (optionalName) { in PushConstructNameWithoutBlock()
564 constructNames_.emplace_back(optionalName->ToString()); in PushConstructNameWithoutBlock()
574 const auto &optionalName{std::get<0>(std::get<0>(a.t).statement.t)}; in PopConstructNameIfPresent() local
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DOptionalTest.java58 Optional<String> optionalName = Optional.absent(); in testAbsent() local
59 assertFalse(optionalName.isPresent()); in testAbsent()
75 Optional<String> optionalName = Optional.fromNullable("bob"); in testFromNullable() local
76 assertEquals("bob", optionalName.get()); in testFromNullable()