/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
getopt.py | 13 GetoptError -- exception (class) raised with 'opt' attribute, which is the
39 opt = ''
variable in class:GetoptError 41 def __init__(self, msg, opt=''):
43 self.opt = opt
44 Exception.__init__(self, msg, opt)
144 def do_longs(opts, opt, longopts, args):
146 i = opt.index('=')
150 opt, optarg = opt[:i], opt[i+1:] [all...] |
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
rvalue_T.pass.cpp | 46 constexpr optional<T> opt(T(5)); 47 static_assert(static_cast<bool>(opt) == true, ""); 48 static_assert(*opt == 5, ""); 58 constexpr optional<T> opt(T(3)); 59 static_assert(static_cast<bool>(opt) == true, ""); 60 static_assert(*opt == 3, ""); 76 optional<T> opt = T{3}; local 79 assert(static_cast<bool>(opt) == true); 80 assert(opt.value().value == 3); 86 optional<T> opt(T{3}) 95 optional<T> opt = {3}; local 105 constexpr optional<T> opt = {T(3)}; local 117 constexpr optional<T> opt = {3}; local [all...] |
in_place_t.pass.cpp | 65 constexpr optional<int> opt(in_place, 5); 66 static_assert(static_cast<bool>(opt) == true, ""); 67 static_assert(*opt == 5, ""); 78 optional<const int> opt(in_place, 5); 79 assert(*opt == 5); 82 const optional<X> opt(in_place); 83 assert(static_cast<bool>(opt) == true); 84 assert(*opt == X()); 87 const optional<X> opt(in_place, 5); 88 assert(static_cast<bool>(opt) == true) [all...] |
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/ |
dereference_const_rvalue.pass.cpp | 43 const optional<X> opt; ((void)opt); local 44 ASSERT_SAME_TYPE(decltype(*std::move(opt)), X const &&); 45 // ASSERT_NOT_NOEXCEPT(*std::move(opt)); 55 constexpr optional<X> opt(X{}); 56 static_assert((*std::move(opt)).test() == 5, ""); 59 constexpr optional<Y> opt(Y{}); 60 assert((*std::move(opt)).test() == 2); 64 optional<X> opt; local 65 assert((*std::move(opt)).test() == 5) [all...] |
dereference_rvalue.pass.cpp | 43 optional<Y> opt{Y{}}; 44 return (*std::move(opt)).test(); 50 optional<X> opt; ((void)opt); local 51 ASSERT_SAME_TYPE(decltype(*std::move(opt)), X&&); 52 // ASSERT_NOT_NOEXCEPT(*std::move(opt)); 62 optional<X> opt(X{}); 63 assert((*std::move(opt)).test() == 6); 68 optional<X> opt; local 69 assert((*std::move(opt)).test() == 3) [all...] |
/external/libcxx/test/std/utilities/optional/optional.specalg/ |
make_optional.pass.cpp | 32 constexpr auto opt = make_optional(2); local 33 ASSERT_SAME_TYPE(decltype(opt), const optional<int>); 34 static_assert(opt.value() == 2); 37 optional<int> opt = make_optional(2); local 38 assert(*opt == 2); 42 optional<std::string> opt = make_optional(s); local 43 assert(*opt == s); 47 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); local 48 assert(**opt == 3);
|
/external/python/cpython2/Lib/ |
getopt.py | 13 GetoptError -- exception (class) raised with 'opt' attribute, which is the 39 opt = '' variable in class:GetoptError 41 def __init__(self, msg, opt=''): 43 self.opt = opt 44 Exception.__init__(self, msg, opt) 144 def do_longs(opts, opt, longopts, args): 146 i = opt.index('=') 150 opt, optarg = opt[:i], opt[i+1: [all...] |
/external/python/cpython3/Lib/ |
getopt.py | 13 GetoptError -- exception (class) raised with 'opt' attribute, which is the 44 opt = '' variable in class:GetoptError 46 def __init__(self, msg, opt=''): 48 self.opt = opt 49 Exception.__init__(self, msg, opt) 149 def do_longs(opts, opt, longopts, args): 151 i = opt.index('=') 155 opt, optarg = opt[:i], opt[i+1: [all...] |
/external/syslinux/libinstaller/ |
syslxopt.c | 32 struct sys_options opt = { variable in typeref:struct:sys_options 144 opt.force = 1; 147 opt.heads = 64; 148 opt.sectors = 32; 151 opt.sectors = strtoul(optarg, NULL, 0); 152 if (opt.sectors < 1 || opt.sectors > 63) { 155 program, opt.sectors); 160 opt.heads = strtoul(optarg, NULL, 0); 161 if (opt.heads < 1 || opt.heads > 256) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
getopt.py | 13 GetoptError -- exception (class) raised with 'opt' attribute, which is the 39 opt = '' variable in class:GetoptError 41 def __init__(self, msg, opt=''): 43 self.opt = opt 44 Exception.__init__(self, msg, opt) 144 def do_longs(opts, opt, longopts, args): 146 i = opt.index('=') 150 opt, optarg = opt[:i], opt[i+1: [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
getopt.py | 13 GetoptError -- exception (class) raised with 'opt' attribute, which is the 39 opt = '' variable in class:GetoptError 41 def __init__(self, msg, opt=''): 43 self.opt = opt 44 Exception.__init__(self, msg, opt) 144 def do_longs(opts, opt, longopts, args): 146 i = opt.index('=') 150 opt, optarg = opt[:i], opt[i+1: [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/optional/optional.object/optional.object.observe/ |
op_arrow_const.pass.cpp | 44 constexpr optional<X> opt(X{}); 45 static_assert(opt->test() == 3, ""); 48 constexpr optional<Y> opt(Y{}); 49 assert(opt->test() == 2); 52 constexpr optional<Z> opt(Z{}); 53 assert(opt->test() == 1); 55 static_assert(opt->test() == 1, ""); 60 const optional<X> opt; local 61 assert(opt->test() == 3);
|
dereference_const.pass.cpp | 38 constexpr optional<X> opt(X{}); 39 static_assert((*opt).test() == 3, ""); 42 constexpr optional<Y> opt(Y{}); 43 assert((*opt).test() == 2); 47 const optional<X> opt; local 48 assert((*opt).test() == 3);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.object/optional.object.ctor/ |
rvalue_T.pass.cpp | 46 constexpr optional<T> opt(T(5)); 47 static_assert(static_cast<bool>(opt) == true, ""); 48 static_assert(*opt == 5, ""); 58 constexpr optional<T> opt(T(3)); 59 static_assert(static_cast<bool>(opt) == true, ""); 60 static_assert(*opt == 3, ""); 76 optional<T> opt = T{3}; local 79 assert(static_cast<bool>(opt) == true); 80 assert(opt.value().value == 3); 86 optional<T> opt(T{3}) 95 optional<T> opt = {3}; local 105 constexpr optional<T> opt = {T(3)}; local 117 constexpr optional<T> opt = {3}; local [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.object/optional.object.observe/ |
dereference_const_rvalue.pass.cpp | 43 const optional<X> opt; ((void)opt); local 44 ASSERT_SAME_TYPE(decltype(*std::move(opt)), X const &&); 45 // ASSERT_NOT_NOEXCEPT(*std::move(opt)); 55 constexpr optional<X> opt(X{}); 56 static_assert((*std::move(opt)).test() == 5, ""); 59 constexpr optional<Y> opt(Y{}); 60 assert((*std::move(opt)).test() == 2); 64 optional<X> opt; local 65 assert((*std::move(opt)).test() == 5) [all...] |
dereference_rvalue.pass.cpp | 43 optional<Y> opt{Y{}}; 44 return (*std::move(opt)).test(); 50 optional<X> opt; ((void)opt); local 51 ASSERT_SAME_TYPE(decltype(*std::move(opt)), X&&); 52 // ASSERT_NOT_NOEXCEPT(*std::move(opt)); 62 optional<X> opt(X{}); 63 assert((*std::move(opt)).test() == 6); 68 optional<X> opt; local 69 assert((*std::move(opt)).test() == 3) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.specalg/ |
make_optional.pass.cpp | 32 constexpr auto opt = make_optional(2); local 33 ASSERT_SAME_TYPE(decltype(opt), const optional<int>); 34 static_assert(opt.value() == 2); 37 optional<int> opt = make_optional(2); local 38 assert(*opt == 2); 42 optional<std::string> opt = make_optional(s); local 43 assert(*opt == s); 47 optional<std::unique_ptr<int>> opt = make_optional(std::move(s)); local 48 assert(**opt == 3);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
getopt.py | 13 GetoptError -- exception (class) raised with 'opt' attribute, which is the 39 opt = '' variable in class:GetoptError 41 def __init__(self, msg, opt=''): 43 self.opt = opt 44 Exception.__init__(self, msg, opt) 144 def do_longs(opts, opt, longopts, args): 146 i = opt.index('=') 150 opt, optarg = opt[:i], opt[i+1: [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
getopt.py | 13 GetoptError -- exception (class) raised with 'opt' attribute, which is the 39 opt = '' variable in class:GetoptError 41 def __init__(self, msg, opt=''): 43 self.opt = opt 44 Exception.__init__(self, msg, opt) 144 def do_longs(opts, opt, longopts, args): 146 i = opt.index('=') 150 opt, optarg = opt[:i], opt[i+1: [all...] |
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
nullopt_t.pass.cpp | 29 optional<int> opt; local 30 static_assert(noexcept(opt = nullopt) == true, ""); 31 opt = nullopt; 32 assert(static_cast<bool>(opt) == false); 35 optional<int> opt(3); 36 opt = nullopt; 37 assert(static_cast<bool>(opt) == false); 42 optional<TT> opt; local 43 static_assert(noexcept(opt = nullopt) == true, ""); 45 opt = nullopt [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.object/optional.object.assign/ |
nullopt_t.pass.cpp | 29 optional<int> opt; local 30 static_assert(noexcept(opt = nullopt) == true, ""); 31 opt = nullopt; 32 assert(static_cast<bool>(opt) == false); 35 optional<int> opt(3); 36 opt = nullopt; 37 assert(static_cast<bool>(opt) == false); 42 optional<TT> opt; local 43 static_assert(noexcept(opt = nullopt) == true, ""); 45 opt = nullopt [all...] |
/external/libcxx/test/std/utilities/optional/optional.hash/ |
hash.pass.cpp | 42 optional<B> opt; local 43 ASSERT_NOT_NOEXCEPT(std::hash<optional<B>>()(opt)); 44 ASSERT_NOT_NOEXCEPT(std::hash<optional<const B>>()(opt)); 49 optional<T> opt; local 50 assert(std::hash<optional<T>>{}(opt) == nullopt_hash); 51 opt = 2; 52 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); 56 optional<T> opt; local 57 assert(std::hash<optional<T>>{}(opt) == nullopt_hash) 63 optional<T> opt; local [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.hash/ |
hash.pass.cpp | 42 optional<B> opt; local 43 ASSERT_NOT_NOEXCEPT(std::hash<optional<B>>()(opt)); 44 ASSERT_NOT_NOEXCEPT(std::hash<optional<const B>>()(opt)); 49 optional<T> opt; local 50 assert(std::hash<optional<T>>{}(opt) == nullopt_hash); 51 opt = 2; 52 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); 56 optional<T> opt; local 57 assert(std::hash<optional<T>>{}(opt) == nullopt_hash) 63 optional<T> opt; local [all...] |
/external/e2fsprogs/misc/ |
mke2fs.h | 20 extern char *get_string_from_profile(char **types, const char *opt, 22 extern int get_int_from_profile(char **types, const char *opt, int def_val); 23 extern int get_bool_from_profile(char **types, const char *opt, int def_val);
|
/frameworks/opt/net/lowpan/build/ |
lowpan.mk | 16 include frameworks/opt/net/lowpan/build/lowpan-service.mk 17 include frameworks/opt/net/lowpan/build/lowpan-hal-default.mk 18 include frameworks/opt/net/lowpan/build/wpantund.mk
|