/external/chromium-trace/catapult/common/py_utils/py_utils/ |
H A D | contextlib_ext.py | 23 def Optional(manager, condition): function
|
/external/testng/src/main/java/org/testng/annotations/ |
H A D | Optional.java | 17 public @interface Optional { interface
|
/external/llvm/include/llvm/ADT/ |
H A D | Optional.h | 1 //===-- 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/skia/include/private/ |
H A D | SkRecords.h | 95 // An Optional doesn't own the pointer's memory, but may need to destroy non-POD data. 97 class Optional : SkNoncopyable { class in namespace:SkRecords 99 Optional() : fPtr(nullptr) {} function in class:SkRecords::Optional 100 Optional(T* ptr) : fPtr(ptr) {} function in class:SkRecords::Optional 101 Optional(Optional&& o) : fPtr(o.fPtr) { function in class:SkRecords::Optional 104 ~Optional() { if (fPtr) fPtr->~T(); } 111 // Like Optional, but ptr must not be NULL. 180 Optional<SkRect> bounds; 181 Optional<SkPain [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
H A D | Optional.h | 1 //===-- Optional.h - Simple variant for passing optional values ---*- C++ -*-=// 10 // This file provides Optional, a template class modeled in the spirit of 24 class Optional { class in namespace:llvm 28 explicit Optional() : x(), hasVal(false) {} function in class:llvm::Optional 29 Optional(const T &y) : x(y), hasVal(true) {} function in class:llvm::Optional 31 static inline Optional create(const T* y) { 32 return y ? Optional(*y) : Optional(); 35 Optional &operator=(const T &y) { 53 struct simplify_type<const Optional< [all...] |
/external/webrtc/webrtc/base/ |
H A D | optional.h | 27 // A moved-from Optional<T> may only be destroyed, and assigned to if T allows 31 // Examples of good places to use Optional: 36 // Optional<int> cell_number; // Empty if not currently incarcerated. 41 // return an Optional<size_t> (the index where it found the element, or 43 // return Optional<double> (the parsed number, or nothing if parsing failed). 45 // Examples of bad places to use Optional: 49 // Optional<size_t> so that it can return nothing in case the caller passed 55 // Optional<double> when parsing a single number as in the example above 62 class Optional final { 64 // Construct an empty Optional 65 Optional() : has_value_(false) {} function in class:rtc::final 68 explicit Optional(const T& val) : value_(val), has_value_(true) {} function in class:rtc::final 69 explicit Optional(T&& val) : value_(std::move(val)), has_value_(true) {} function in class:rtc::final 74 Optional(Optional&& m) function in class:rtc::final [all...] |
/external/guava/guava/src/com/google/common/base/ |
H A D | Optional.java | 36 * <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/dng_sdk/source/ |
H A D | dng_opcodes.h | 164 bool Optional () const function in class:dng_opcode
|
/external/fmtlib/support/ |
H A D | docopt.py | 83 parents = [Required, Optional, OptionsShortcut, Either, OneOrMore] 232 class Optional(BranchPattern): class in inherits:BranchPattern 241 class OptionsShortcut(Optional): 410 matching, pattern = {'(': [')', Required], '[': [']', Optional]}[token]
|
/external/libchrome/base/ |
H A D | optional.h | 64 // base::Optional is a Chromium version of the C++17 optional class: 78 class Optional { class in namespace:base 82 constexpr Optional() = default; 83 Optional(base::nullopt_t) : Optional() {} function in class:base::Optional 85 Optional(const Optional& other) { function in class:base::Optional 90 Optional(Optional&& other) { function in class:base::Optional 95 Optional(cons function in class:base::Optional 97 Optional(T&& value) { Init(std::move(value)); } function in class:base::Optional 100 explicit Optional(base::in_place_t, Args&&... args) { function in class:base::Optional [all...] |
/external/libevent/ |
H A D | event_rpcgen.py | 228 # Optional entries do not have to be set 229 if entry.Optional(): 237 if entry.Optional(): 289 if not entry.Optional(): 374 def Optional(self): member in class:Entry
|
/external/clang/lib/Sema/ |
H A D | CodeCompleteConsumer.cpp | 95 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/llvm/lib/CodeGen/GlobalISel/ |
H A D | RegBankSelect.cpp | 30 cl::desc("Mode of the RegBankSelect pass"), cl::Hidden, cl::Optional, member in class:cl
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
H A D | Type.cs | 801 [pbr::OriginalName("CARDINALITY_OPTIONAL")] Optional = 1, enumerator in enum:Google.Protobuf.WellKnownTypes.Field.Types.Cardinality
|
/external/clang/include/clang/Sema/ |
H A D | CodeCompleteConsumer.h | 400 CodeCompletionString *Optional; member in union:clang::CodeCompletionString::Chunk::__anon941 411 static Chunk CreateOptional(CodeCompletionString *Optional); 595 void AddOptionalChunk(CodeCompletionString *Optional);
|
/external/llvm/include/llvm/Support/ |
H A D | CommandLine.h | 98 Optional = 0x00, // Zero or One occurrence enumerator in enum:llvm::cl::NumOccurrencesFlag 1312 : Option(Optional, NotHidden), Parser(*this) { 1672 : Option(Optional, Hidden), AliasFor(nullptr) {
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | CommandLine.h | 86 Optional = 0x01, // Zero or One occurrence enumerator in enum:llvm::cl::NumOccurrencesFlag 1174 explicit opt(const M0t &M0) : Option(Optional | NotHidden) { 1181 opt(const M0t &M0, const M1t &M1) : Option(Optional | NotHidden) { 1189 const M2t &M2) : Option(Optional | NotHidden) { 1196 const M3t &M3) : Option(Optional | NotHidden) { 1203 const M4t &M4) : Option(Optional | NotHidden) { 1212 const M4t &M4, const M5t &M5) : Option(Optional | NotHidden) { 1222 const M6t &M6) : Option(Optional | NotHidden) { 1232 const M7t &M7) : Option(Optional | NotHidden) { 1635 explicit alias(const M0t &M0) : Option(Optional | Hidde [all...] |
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | Descriptor.cs | 1673 [pbr::OriginalName("LABEL_OPTIONAL")] Optional = 1, enumerator in enum:Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label
|
/external/clang/include/clang/AST/ |
H A D | DeclObjC.h | 115 enum ImplementationControl { None, Required, Optional }; 730 enum PropertyControl { None, Required, Optional }; enumerator in enum:clang::ObjCPropertyDecl::PropertyControl
|
/external/vulkan-validation-layers/include/vulkan/ |
H A D | vulkan.hpp | 182 class Optional class in namespace:vk 185 Optional(RefType & reference) { m_ptr = &reference; } function in class:vk::Optional 186 Optional(std::nullptr_t) { m_ptr = nullptr; } function in class:vk::Optional 16031 void destroy( Optional<const AllocationCallbacks> allocator = nullptr ) const 16072 ResultValueType<DeviceMemory>::type allocateMemory( const MemoryAllocateInfo & allocateInfo, Optional<const AllocationCallbacks> allocator = nullptr ) const 16086 void freeMemory( DeviceMemory memory, Optional<const AllocationCallbacks> allocator = nullptr ) const 16244 ResultValueType<Fence>::type createFence( const FenceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) const 16258 void destroyFence( Fence fence, Optional<const AllocationCallbacks> allocator = nullptr ) const 16311 ResultValueType<Semaphore>::type createSemaphore( const SemaphoreCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) const 16325 void destroySemaphore( Semaphore semaphore, Optional<cons [all...] |
/external/owasp/sanitizer/distrib/lib/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |
/external/owasp/sanitizer/lib/guava-libraries/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |
/external/dagger2/lib/ |
H A D | auto-value-1.0.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/auto/ com/google/auto/value/ ... |
/external/guice/lib/ |
H A D | guava-16.0.1.jar | META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ... |
/external/mockito/lib/ |
H A D | byte-buddy-1.6.9.jar | META-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/net. ... |