Searched defs:Optional (Results 1 - 20 of 20) 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
28 class Optional { class in namespace:llvm
32 Optional(NoneType) : hasVal(false) {} function in class:llvm::Optional
33 explicit Optional() : hasVal(false) {} function in class:llvm::Optional
34 Optional(const T &y) : hasVal(true) { function in class:llvm::Optional
37 Optional(const Optional &O) : hasVal(O.hasVal) { function in class:llvm::Optional
42 Optional(T &&y) : hasVal(true) { function in class:llvm::Optional
45 Optional(Optiona function in class:llvm::Optional
[all...]
/external/skia/src/core/
H A DSkRecords.h121 // An Optional doesn't own the pointer's memory, but may need to destroy non-POD data.
123 class Optional : SkNoncopyable { class in namespace:SkRecords
125 Optional(T* ptr) : fPtr(ptr) {} function in class:SkRecords::Optional
126 ~Optional() { if (fPtr) fPtr->~T(); }
133 // Like Optional, but ptr must not be NULL.
187 RECORD3(SaveLayer, Optional<SkRect>, bounds, Optional<SkPaint>, paint, SkCanvas::SaveFlags, flags);
202 RECORD4(DrawBitmap, Optional<SkPaint>, paint,
206 RECORD3(DrawBitmapMatrix, Optional<SkPaint>, paint, ImmutableBitmap, bitmap, SkMatrix, matrix);
207 RECORD4(DrawBitmapNine, Optional<SkPain
[all...]
/external/chromium_org/mojo/nacl/generator/
H A Dinterface_dsl.py107 def Optional(self): member in class:Param
/external/chromium_org/third_party/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.
203 RECORD3(SaveLayer, Optional<SkRect>, bounds, Optional<SkPaint>, paint, SkCanvas::SaveFlags, flags);
222 RECORD4(DrawBitmap, Optional<SkPaint>, paint,
226 RECORD3(DrawBitmapMatrix, Optional<SkPaint>, paint, ImmutableBitmap, bitmap, SkMatrix, matrix);
227 RECORD4(DrawBitmapNine, Optional<SkPain
[all...]
/external/chromium_org/chrome/browser/chromeos/system/
H A Dinput_device_settings.h23 class Optional { class in namespace:chromeos::system::internal
25 Optional() function in class:chromeos::system::internal::Optional
30 Optional& operator=(const Optional& other) {
55 bool Update(const Optional& update) {
109 internal::Optional<int> sensitivity_;
110 internal::Optional<bool> tap_to_click_;
111 internal::Optional<bool> three_finger_click_;
112 internal::Optional<bool> tap_dragging_;
113 internal::Optional<boo
[all...]
/external/chromium_org/tools/cr/cr/
H A Dconfig.py110 def Optional(cls, value, alternate=''): member in class:Config
/external/guava/guava/src/com/google/common/base/
H A DOptional.java37 * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable
48 * have no value" (present in the map, with value {@code Optional.absent()})
62 * @param <T> the type of instance that can be contained. {@code Optional} is naturally
63 * covariant on this type, so it is safe to cast an {@code Optional<T>} to {@code
64 * Optional<S>} for any supertype {@code S} of {@code T}.
71 public abstract class Optional<T> implements Serializable { class in inherits:Serializable
73 * Returns an {@code Optional} instance with no contained reference.
76 public static <T> Optional<T> absent() {
77 return (Optional<T>) Absent.INSTANCE;
81 * Returns an {@code Optional} instanc
97 private Optional() {} method in class:Optional
[all...]
/external/chromium_org/third_party/libevent/
H A Devent_rpcgen.py195 # Optional entries do not have to be set
196 if entry.Optional():
202 if entry.Optional():
332 def Optional(self): member in class:Entry
403 if self.Optional():
692 if self.Optional():
959 if self.Optional():
/external/chromium_org/base/third_party/symbolize/
H A Ddemangle.cc237 static bool Optional(bool) { function
546 Optional(ParseCVQualifiers(state)) &&
618 Optional(ParseDiscriminator(state))) {
994 Optional(ParseOneCharToken(state, 'Y')) &&
1030 if (ParseOneCharToken(state, 'A') && Optional(ParseExpression(state)) &&
1216 ParseName(state) && Optional(ParseDiscriminator(state))) {
1222 ParseTwoCharToken(state, "Es") && Optional(ParseDiscriminator(state))) {
/external/chromium_org/chrome/browser/
H A Dio_thread.h93 class Optional { class in struct:IOThread::Globals
95 Optional() : set_(false) {} function in class:IOThread::Globals::Optional
172 Optional<bool> enable_tcp_fast_open_for_ssl;
174 Optional<size_t> initial_max_spdy_concurrent_streams;
175 Optional<bool> force_spdy_single_domain;
176 Optional<bool> enable_spdy_compression;
177 Optional<bool> enable_spdy_ping_based_connection_checking;
178 Optional<net::NextProto> spdy_default_protocol;
180 Optional<string> trusted_spdy_proxy;
181 Optional<boo
[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;
353 void CodeCompletionBuilder::AddOptionalChunk(CodeCompletionString *Optional) { argument
354 Chunks.push_back(Chunk::CreateOptional(Optional));
/external/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h397 CodeCompletionString *Optional; member in union:clang::CodeCompletionString::Chunk::__anon17606
408 static Chunk CreateOptional(CodeCompletionString *Optional);
605 void AddOptionalChunk(CodeCompletionString *Optional);
/external/llvm/include/llvm/Support/
H A DCommandLine.h84 Optional = 0x00, // Zero or One occurrence enumerator in enum:llvm::cl::NumOccurrencesFlag
1210 explicit opt(const M0t &M0) : Option(Optional, NotHidden) {
1217 opt(const M0t &M0, const M1t &M1) : Option(Optional, NotHidden) {
1225 const M2t &M2) : Option(Optional, NotHidden) {
1232 const M3t &M3) : Option(Optional, NotHidden) {
1239 const M4t &M4) : Option(Optional, NotHidden) {
1248 const M4t &M4, const M5t &M5) : Option(Optional, NotHidden) {
1258 const M6t &M6) : Option(Optional, NotHidden) {
1268 const M7t &M7) : Option(Optional, NotHidden) {
1680 explicit alias(const M0t &M0) : Option(Optional, Hidde
[all...]
/external/clang/include/clang/AST/
H A DDeclObjC.h115 enum ImplementationControl { None, Required, Optional };
2200 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/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/closure_compiler/compiler/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/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 572 milliseconds