Searched defs:Optional (Results 1 - 10 of 10) sorted by relevance

/external/llvm/include/llvm/ADT/
H A DOptional.h1 //===-- Optional.h - Simple variant for passing optional values ---*- C++ -*-=//
10 // This file provides Optional, a template class modeled in the spirit of
29 class Optional { class in namespace:llvm
35 Optional(NoneType) : hasVal(false) {} function in class:llvm::Optional
36 explicit Optional() : hasVal(false) {} function in class:llvm::Optional
37 Optional(const T &y) : hasVal(true) { function in class:llvm::Optional
40 Optional(const Optional &O) : hasVal(O.hasVal) { function in class:llvm::Optional
45 Optional(T &&y) : hasVal(true) { function in class:llvm::Optional
48 Optional(Optiona function in class:llvm::Optional
[all...]
/external/guava/guava/src/com/google/common/base/
H A DOptional.java36 * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable
47 * have no value" (present in the map, with value {@code Optional.absent()})
62 * href="http://code.google.com/p/guava-libraries/wiki/UsingAndAvoidingNullExplained#Optional">
63 * using {@code Optional}</a>.
65 * @param <T> the type of instance that can be contained. {@code Optional} is naturally
66 * covariant on this type, so it is safe to cast an {@code Optional<T>} to {@code
67 * Optional<S>} for any supertype {@code S} of {@code T}.
73 public abstract class Optional<T> implements Serializable { class in inherits:Serializable
75 * Returns an {@code Optional} instance with no contained reference.
77 public static <T> Optional<
98 Optional() {} method in class:Optional
[all...]
/external/skia/src/core/
H A DSkRecords.h137 // An Optional doesn't own the pointer's memory, but may need to destroy non-POD data.
139 class Optional : SkNoncopyable { class in namespace:SkRecords
141 Optional(T* ptr) : fPtr(ptr) {} function in class:SkRecords::Optional
142 ~Optional() { if (fPtr) fPtr->~T(); }
149 // Like Optional, but ptr must not be NULL.
225 RECORD3(SaveLayer, Optional<SkRect>, bounds, Optional<SkPaint>, paint, SkCanvas::SaveFlags, flags);
246 RECORD4(DrawBitmap, Optional<SkPaint>, paint,
250 RECORD4(DrawBitmapNine, Optional<SkPaint>, paint,
254 RECORD4(DrawBitmapRectToRect, Optional<SkPain
[all...]
/external/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp95 llvm_unreachable("Optional strings cannot be created from text");
161 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) { argument
164 Result.Optional = Optional;
231 case CK_Optional: OS << "{#" << C->Optional->getAsString() << "#}"; break;
350 void CodeCompletionBuilder::AddOptionalChunk(CodeCompletionString *Optional) { argument
351 Chunks.push_back(Chunk::CreateOptional(Optional));
/external/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h398 CodeCompletionString *Optional; member in union:clang::CodeCompletionString::Chunk::__anon703
409 static Chunk CreateOptional(CodeCompletionString *Optional);
593 void AddOptionalChunk(CodeCompletionString *Optional);
/external/llvm/include/llvm/Support/
H A DCommandLine.h93 Optional = 0x00, // Zero or One occurrence enumerator in enum:llvm::cl::NumOccurrencesFlag
1248 : Option(Optional, NotHidden), Parser(*this) {
1552 : Option(Optional, Hidden), AliasFor(nullptr) {
/external/clang/include/clang/AST/
H A DDeclObjC.h115 enum ImplementationControl { None, Required, Optional };
2216 enum PropertyControl { None, Required, Optional }; enumerator in enum:clang::ObjCPropertyDecl::PropertyControl
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 386 milliseconds