/external/libcxx/test/std/utilities/optional/optional.specalg/ |
H A D | make_optional.pass.cpp | 11 // <optional> 14 // constexpr optional<decay_t<T>> make_optional(T&& v); 16 #include <optional> 25 using std::optional; 29 ASSERT_SAME_TYPE(decltype(make_optional(arr)), optional<int*>); 33 ASSERT_SAME_TYPE(decltype(opt), const optional<int>); local 37 optional<int> opt = make_optional(2); 42 optional<std::string> opt = make_optional(s); 47 optional<std::unique_ptr<int>> opt = make_optional(std::move(s));
|
H A D | make_optional_explicit_initializer_list.pass.cpp | 11 // <optional> 14 // constexpr optional<T> make_optional(initializer_list<U> il, Args&&... args); 16 #include <optional> 36 ASSERT_SAME_TYPE(decltype(opt), const std::optional<TestT>); member in class:std
|
/external/testng/src/test/java/test/parameters/ |
H A D | OptionalParameterTest.java | 8 @Parameters("optional") 9 public OptionalParameterTest(@Optional String optional) {} argument
|
/external/toybox/scripts/ |
H A D | runtest.sh | 5 # This file defines two main functions, "testcmd" and "optional". The 9 # The following environment variables enable optional behavior in "testing": 30 # The "optional" function is used to skip certain tests (by setting the 32 # optional CFG_THINGY 34 # The "optional" function checks the environment variable "OPTIONFLAGS", 57 optional() function
|
/external/webrtc/talk/app/webrtc/objc/ |
H A D | RTCMediaConstraintsNative.cc | 38 const MediaConstraintsInterface::Constraints& optional) 39 : mandatory_(mandatory), optional_(optional) {} 36 RTCMediaConstraintsNative( const MediaConstraintsInterface::Constraints& mandatory, const MediaConstraintsInterface::Constraints& optional) argument
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
H A D | RubyOneofBuilderContext.java | 70 @JRubyMethod(required = 3, optional = 1) 71 public IRubyObject optional(ThreadContext context, IRubyObject[] args) { method in class:RubyOneofBuilderContext 76 RubyFieldDescriptor fieldDescriptor = Utils.msgdefCreateField(context, "optional",
|
H A D | RubyMessageBuilderContext.java | 75 * MessageBuilderContext.optional(name, type, number, type_class = nil) 77 * Defines a new optional field on this message type with the given type, tag 82 @JRubyMethod(required = 3, optional = 1) 83 public IRubyObject optional(ThreadContext context, IRubyObject[] args) { method in class:RubyMessageBuilderContext 87 msgdefAddField(context, "optional", args[0], args[1], args[2], typeClass); 104 @JRubyMethod(required = 3, optional = 1) 121 @JRubyMethod(required = 3, optional = 1) 141 @JRubyMethod(required = 4, optional = 1) 166 //optional <type> key = 1; 169 keyField.setLabel(context, RubySymbol.newSymbol(runtime, "optional")); [all...] |
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
H A D | MediaConstraints.java | 79 public final List<KeyValuePair> optional; field in class:MediaConstraints 83 optional = new LinkedList<KeyValuePair>(); 99 ", optional: " + stringifyKeyValuePairList(optional);
|
/external/clang/test/SemaCXX/ |
H A D | cxx0x-nontrivial-union.cpp | 68 namespace optional { namespace 69 template<typename T> struct optional { struct in namespace:optional 73 optional() : has(false) {} function in struct:optional::optional 75 optional(U &&...u) : has(true), value(forward<U>(u)...) {} function in struct:optional::optional 77 optional(const optional &o) : has(o.has) { function in struct:optional::optional 80 optional(optional &&o) : has(o.has) { function in struct:optional::optional 84 optional &operator=(const optional [all...] |
/external/python/cpython2/Lib/encodings/ |
H A D | bz2_codec.py | 11 import bz2 # this codec needs the optional bz2 module ! namespace
|
H A D | zlib_codec.py | 10 import zlib # this codec needs the optional zlib module ! namespace
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
H A D | Util.java | 103 Equivalence<T> equivalence, Optional<T> optional) { 104 return optional.isPresent() 105 ? Optional.of(equivalence.wrap(optional.get())) 102 wrapOptionalInEquivalence( Equivalence<T> equivalence, Optional<T> optional) argument
|
/external/protobuf/objectivec/ |
H A D | GPBDescriptor.h | 49 GPBFieldTypeSingle, // optional/required 95 @property(nonatomic, readonly, getter=isOptional) BOOL optional; variable
|
/external/unicode/ |
H A D | CVTUTF7.C | 42 static char optional[] = "!\"#$%&*;<=>@[]^_`{|}"; variable 68 limit = strlen(optional); 70 mustshiftopt[optional[i]] = 0; 87 int optional, int verbose) 99 if (optional) 84 ConvertUCS2toUTF7( UCS2** sourceStart, UCS2* sourceEnd, char** targetStart, char* targetEnd, int optional, int verbose) argument
|
/external/guice/core/src/com/google/inject/spi/ |
H A D | InjectionPoint.java | 64 private final boolean optional; field in class:InjectionPoint 69 InjectionPoint(TypeLiteral<?> declaringType, Method method, boolean optional) { argument 72 this.optional = optional; 79 this.optional = false; 84 InjectionPoint(TypeLiteral<?> declaringType, Field field, boolean optional) { argument 87 this.optional = optional; 159 * constructors etc.) may be used to satisfy optional injection points. 162 return optional; 432 final boolean optional; field in class:InjectionPoint.InjectableMember [all...] |
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
H A D | OptionalBinder.java | 59 * An API to bind optional values, optionally with a default value. 90 * provider, that provider's get method will be called each time the optional 91 * is injected (unless the binding is also scoped, or an optional of provider is 105 * injected. With no other bindings, the optional will be absent. 174 Class<?> optional = null; 179 optional = Class.forName("java.util.Optional"); 180 empty = optional.getDeclaredMethod("empty"); 181 ofNullable = optional.getDeclaredMethod("ofNullable", Object.class); 187 JAVA_OPTIONAL_CLASS = useJavaOptional ? optional : null; 412 Optional<Provider<T>> optional 510 private Optional<Provider<T>> optional; field in class:OptionalBinder.RealOptionalBinder.RealOptionalProviderProvider [all...] |
/external/webrtc/talk/app/webrtc/ |
H A D | videosource.cc | 212 const MediaConstraintsInterface::Constraints& optional, 226 // Let's try filtering using the optional constraints. 227 for (ConstraintsIterator constraints_it = optional.begin(); 228 constraints_it != optional.end(); ++constraints_it) { 241 // Constraints are optional and since the performance of a video call 210 FilterFormats( const MediaConstraintsInterface::Constraints& mandatory, const MediaConstraintsInterface::Constraints& optional, const std::vector<cricket::VideoFormat>& supported_formats) argument
|
/external/llvm/utils/TableGen/ |
H A D | X86RecognizableInstr.cpp | 477 void RecognizableInstr::handleOperand(bool optional, unsigned &operandIndex, argument 484 if (optional) { 587 // Operand 1 (optional) is an address or immediate. 598 // Operand 2 (optional) is an address. 609 // Operand 3 (optional) is an immediate. 630 // Operand 3 (optional) is an immediate. 652 // Operand 3 (optional) is an immediate. 653 // Operand 4 (optional) is an immediate. 686 // Operand 3 (optional) is an immediate. 724 // Operand 2 (optional) i [all...] |
/external/mesa3d/src/gbm/backends/dri/ |
H A D | gbm_dri.c | 242 int optional; member in struct:dri_extension_match 285 if ((*(const __DRIextension **) field == NULL) && !matches[j].optional) {
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
H A D | X86RecognizableInstr.cpp | 505 bool optional, 511 if (optional) { 623 // Operand 1 (optional) is an address or immediate. 624 // Operand 2 (optional) is an immediate. 632 // Operand 2 (optional) is an address. 642 // Operand 3 (optional) is an immediate. 664 // Operand 3 (optional) is an immediate. 685 // Operand 3 (optional) is an immediate. 708 // Operand 3 (optional) is an immediate. 736 // Operand 2 (optional) i 504 handleOperand( bool optional, unsigned &operandIndex, unsigned &physicalOperandIndex, unsigned &numPhysicalOperands, unsigned *operandMapping, OperandEncoding (*encodingFromString)(const std::string&, bool hasOpSizePrefix)) argument [all...] |
/external/jarjar/lib/ |
H A D | apache-ant-1.9.4.jar | ... tools/ant/taskdefs/optional/depend/ org/apache/tools/ant/taskdefs/optional/depend/constantpool/ org/apache/tools/ant/taskdefs/optional/ejb/ org ... |
/external/owasp/sanitizer/tools/findbugs/lib/ |
H A D | ant.jar | ... tools/ant/taskdefs/optional/depend/ org/apache/tools/ant/taskdefs/optional/depend/constantpool/ org/apache/tools/ant/taskdefs/optional/ejb/ org ... |
/external/flatbuffers/src/ |
H A D | idl_gen_general.cpp | 835 std::string optional = ""; local 842 optional = lang_.optional_suffix; 843 conditional_cast = "(" + type_name_dest + optional + ")"; 848 std::string method_start = " public " + type_name_dest + optional + " " +
|
/external/selinux/libsepol/cil/src/ |
H A D | cil_tree.c | 1682 struct cil_optional *optional = node->data; local 1683 cil_log(CIL_INFO, "OPTIONAL: %s\n", optional->datum.name);
|
/external/mesa3d/src/egl/drivers/dri2/ |
H A D | egl_dri2.c | 421 bool optional) 443 if (optional) { 444 _eglLog(_EGL_DEBUG, "did not find optional extension %s version %d", 418 dri2_bind_extensions(struct dri2_egl_display *dri2_dpy, const struct dri2_extension_match *matches, const __DRIextension **extensions, bool optional) argument
|