Home
last modified time | relevance | path

Searched refs:ec (Results 1 – 25 of 886) sorted by relevance

12345678910>>...36

/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/
H A Dops.cc116 fs::canonical(const path& p, const path& base, error_code& ec) in canonical() argument
133 ec.clear(); in canonical()
138 ec.assign(errno, std::generic_category()); in canonical()
143 if (!exists(pa, ec)) in canonical()
145 if (!ec) in canonical()
146 ec = make_error_code(std::errc::no_such_file_or_directory); in canonical()
159 while (!cmpts.empty() && !ec) in canonical()
166 if (!is_directory(result, ec) && !ec) in canonical()
167 ec.assign(ENOTDIR, std::generic_category()); in canonical()
181 if (is_symlink(result, ec)) in canonical()
[all …]
H A Dstd-ops.cc74 error_code ec; in absolute() local
75 path ret = absolute(p, ec); in absolute()
76 if (ec) in absolute()
89 fs::absolute(const path& p, error_code& ec) in absolute() argument
94 ec = make_error_code(std::errc::invalid_argument); in absolute()
99 ec.clear(); in absolute()
105 ec = std::make_error_code(errc::not_supported); in absolute()
107 ret = current_path(ec); in absolute()
142 fs::canonical(const path& p, error_code& ec) in canonical() argument
145 const path pa = absolute(p, ec); in canonical()
[all …]
H A Ddir.cc50 _Dir(const fs::path& p, bool skip_permission_denied, error_code& ec) in _Dir()
51 : _Dir_base(p.c_str(), skip_permission_denied, ec) in _Dir()
53 if (!ec) in _Dir()
63 bool advance(bool skip_permission_denied, error_code& ec) noexcept in advance()
65 if (const auto entp = _Dir_base::advance(skip_permission_denied, ec)) in advance()
71 else if (!ec) in advance()
80 bool advance(error_code& ec) noexcept { return advance(false, ec); } in advance()
86 error_code ec; in advance() local
87 const bool ok = advance(skip_permission_denied, ec); in advance()
88 if (ec) in advance()
[all …]
H A Dstd-dir.cc44 _Dir(const fs::path& p, bool skip_permission_denied, error_code& ec) in _Dir()
45 : _Dir_base(p.c_str(), skip_permission_denied, ec) in _Dir()
47 if (!ec) in _Dir()
57 bool advance(bool skip_permission_denied, error_code& ec) noexcept in advance()
59 if (const auto entp = _Dir_base::advance(skip_permission_denied, ec)) in advance()
70 else if (!ec) in advance()
78 bool advance(error_code& ec) noexcept { return advance(false, ec); } in advance()
84 error_code ec; in advance() local
85 const bool ok = advance(skip_permission_denied, ec); in advance()
86 if (ec) in advance()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/
H A Dops.cc122 fs::canonical(const path& p, const path& base, error_code& ec) in canonical() argument
139 ec.clear(); in canonical()
144 ec.assign(errno, std::generic_category()); in canonical()
149 if (!exists(pa, ec)) in canonical()
151 if (!ec) in canonical()
152 ec = make_error_code(std::errc::no_such_file_or_directory); in canonical()
165 while (!cmpts.empty() && !ec) in canonical()
172 if (!is_directory(result, ec) && !ec) in canonical()
173 ec.assign(ENOTDIR, std::generic_category()); in canonical()
187 if (is_symlink(result, ec)) in canonical()
[all …]
H A Ddir.cc55 error_code& ec) in _Dir()
56 : _Dir_base(p.c_str(), skip_permission_denied, nofollow, ec) in _Dir()
58 if (!ec) in _Dir()
68 bool advance(bool skip_permission_denied, error_code& ec) noexcept in advance()
70 if (const auto entp = _Dir_base::advance(skip_permission_denied, ec)) in advance()
76 else if (!ec) in advance()
85 bool advance(error_code& ec) noexcept { return advance(false, ec); } in advance()
91 error_code ec; in advance() local
92 const bool ok = advance(skip_permission_denied, ec); in advance()
93 if (ec) in advance()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/
H A Dfs_ops.cc68 error_code ec; in absolute() local
69 path ret = absolute(p, ec); in absolute()
70 if (ec) in absolute()
72 ec)); in absolute()
77 fs::absolute(const path& p, error_code& ec) in absolute() argument
82 ec = make_error_code(std::errc::invalid_argument); in absolute()
85 ec.clear(); in absolute()
116 ec.assign((int)GetLastError(), std::system_category()); in absolute()
123 ret = current_path(ec); in absolute()
158 fs::canonical(const path& p, error_code& ec) in canonical() argument
[all …]
H A Dfs_dir.cc47 _Dir(const fs::path& p, bool skip_permission_denied, error_code& ec) in _Dir()
48 : _Dir_base(p.c_str(), skip_permission_denied, ec) in _Dir()
50 if (!ec) in _Dir()
60 bool advance(bool skip_permission_denied, error_code& ec) noexcept in advance()
62 if (const auto entp = _Dir_base::advance(skip_permission_denied, ec)) in advance()
75 else if (!ec) in advance()
83 bool advance(error_code& ec) noexcept { return advance(false, ec); } in advance()
89 error_code ec; in advance() local
90 const bool ok = advance(skip_permission_denied, ec); in advance()
91 if (ec) in advance()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/
H A Dfs_ops.cc72 error_code ec; in absolute() local
73 path ret = absolute(p, ec); in absolute()
74 if (ec) in absolute()
76 ec)); in absolute()
81 fs::absolute(const path& p, error_code& ec) in absolute() argument
86 ec = make_error_code(std::errc::invalid_argument); in absolute()
89 ec.clear(); in absolute()
120 ec = __last_system_error(); in absolute()
127 ret = current_path(ec); in absolute()
162 fs::canonical(const path& p, error_code& ec) in canonical() argument
[all …]
H A Dfs_dir.cc48 [[maybe_unused]] bool filename_only, error_code& ec) in _Dir()
49 : _Dir_base(p.c_str(), skip_permission_denied, nofollow, ec) in _Dir()
56 if (!ec) in _Dir()
66 bool advance(bool skip_permission_denied, error_code& ec) noexcept in advance()
68 if (const auto entp = _Dir_base::advance(skip_permission_denied, ec)) in advance()
81 else if (!ec) in advance()
89 bool advance(error_code& ec) noexcept { return advance(false, ec); } in advance()
95 error_code ec; in advance() local
96 const bool ok = advance(skip_permission_denied, ec); in advance()
97 if (ec) in advance()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dkrb_err.et11 ec KSUCCESS, "Kerberos 4 successful"
12 ec KDC_NAME_EXP, "Kerberos 4 principal expired"
13 ec KDC_SERVICE_EXP, "Kerberos 4 service expired"
14 ec KDC_AUTH_EXP, "Kerberos 4 auth expired"
15 ec KDC_PKT_VER, "Incorrect Kerberos 4 master key version"
16 ec KDC_P_MKEY_VER, "Incorrect Kerberos 4 master key version"
17 ec KDC_S_MKEY_VER, "Incorrect Kerberos 4 master key version"
18 ec KDC_BYTE_ORDER, "Kerberos 4 byte order unknown"
19 ec KDC_PR_UNKNOWN, "Kerberos 4 principal unknown"
20 ec KDC_PR_N_UNIQUE, "Kerberos 4 principal not unique"
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/tests/kdc/
H A Dcheck-kdc.in361 ec=0
366 { ec=1 ; eval "${testfailed}"; }
368 { ec=1 ; eval "${testfailed}"; }
371 { ec=1 ; eval "${testfailed}"; }
375 ${kgetcred} ${server}@${R} || { ec=1 ; eval "${testfailed}"; }
377 ${klist} > /dev/null || { ec=1 ; eval "${testfailed}"; }
379 { ec=1 ; eval "${testfailed}"; }
384 { ec=1 ; eval "${testfailed}"; }
391 { ec=1 ; eval "${testfailed}"; }
394 ${kgetcred} foo@${R2} || { ec=1 ; eval "${testfailed}"; }
[all …]
H A Dcheck-canon.in107 ec=0
111 { ec=1 ; eval "${testfailed}"; }
116 ${kgetcred} --name-type=SRV_HST host $host || { ec=1 ; eval "${testfailed}"; }
121 ${kgetcred} --name-type=SRV_HST host $host 2>/dev/null && { ec=1 ; eval "${testfailed}"; }
126 { ec=1 ; echo "t1 referral entry not present"; eval "${testfailed}"; }
128 { ec=1 ; echo "canonicalized t1 entry not present"; eval "${testfailed}"; }
130 { ec=1 ; echo "t2 referral entry not present"; eval "${testfailed}"; }
132 { ec=1 ; echo "canonicalized t2 entry not present"; eval "${testfailed}"; }
134 { ec=1 ; echo "t3 referral entry not present"; eval "${testfailed}"; }
136 { ec=1 ; echo "canonicalized t3 entry not present"; eval "${testfailed}"; }
[all …]
H A Dcheck-cc.in96 ec=0
111 ${kinit} foo@${R} || { ec=1 ; eval "${testfailed}"; }
112 ${kswitch} -p foo@${R} || { ec=1 ; eval "${testfailed}"; }
113 ${klist} -l | grep foo@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
117 ${kinit} -c SCC:1 foo@${R} || { ec=1 ; eval "${testfailed}"; }
118 ${kinit} -c SCC:2 bar@${R} || { ec=1 ; eval "${testfailed}"; }
120 ${kswitch} -p foo@${R} || { ec=1 ; eval "${testfailed}"; }
121 ${klist} | head -2 | grep foo@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
122 ${klist} -l | grep foo@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
123 ${klist} -l | grep bar@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
[all …]
H A Dcheck-referral.in108 ec=0
113 { ec=1 ; eval "${testfailed}"; }
116 { ec=1 ; eval "${testfailed}"; }
121 { ec=1 ; eval "${testfailed}"; }
124 { ec=1 ; eval "${testfailed}"; }
133 { ec=1 ; eval "${testfailed}"; }
136 { ec=1 ; eval "${testfailed}"; }
142 { ec=1 ; eval "${testfailed}"; }
145 { ec=1 ; eval "${testfailed}"; }
151 { ec=1 ; eval "${testfailed}"; }
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/src/filesystem/
H A Ddirectory_iterator.cpp63 error_code& ec) { in posix_readdir() argument
66 ec.clear(); in posix_readdir()
69 ec = capture_errno(); in posix_readdir()
116 __dir_stream(const path& root, directory_options opts, error_code& ec) in __dir_stream() argument
119 ec = make_error_code(errc::no_such_file_or_directory); in __dir_stream()
124 ec = detail::make_windows_error(GetLastError()); in __dir_stream()
128 ec.value() == static_cast<int>(errc::permission_denied)) in __dir_stream()
129 ec.clear(); in __dir_stream()
133 advance(ec); in __dir_stream()
144 bool advance(error_code& ec) { in advance() argument
[all …]
H A Doperations.cpp485 static FileDescriptor create(const path* p, error_code& ec, Args... args) { in create()
486 ec.clear(); in create()
489 ec = capture_errno(); in create()
496 static FileDescriptor create_with_status(const path* p, error_code& ec, in create_with_status()
498 FileDescriptor fd = create(p, ec, args...); in create_with_status()
499 if (!ec) in create_with_status()
500 fd.refresh_status(ec); in create_with_status()
510 file_status refresh_status(error_code& ec);
539 const StatT& path_stat, error_code* ec) { in create_file_status() argument
540 if (ec) in create_file_status()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/cms/
H A Dcms_enc.c23 BIO *cms_EncryptedContent_init_bio(CMS_EncryptedContentInfo *ec) in cms_EncryptedContent_init_bio() argument
28 X509_ALGOR *calg = ec->contentEncryptionAlgorithm; in cms_EncryptedContent_init_bio()
37 enc = ec->cipher ? 1 : 0; in cms_EncryptedContent_init_bio()
48 ciph = ec->cipher; in cms_EncryptedContent_init_bio()
52 if (ec->key) in cms_EncryptedContent_init_bio()
53 ec->cipher = NULL; in cms_EncryptedContent_init_bio()
91 if (!enc || !ec->key) { in cms_EncryptedContent_init_bio()
101 if (!ec->key) { in cms_EncryptedContent_init_bio()
102 ec->key = tkey; in cms_EncryptedContent_init_bio()
103 ec->keylen = tkeylen; in cms_EncryptedContent_init_bio()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/cms/
H A Dcms_enc.c25 BIO *ossl_cms_EncryptedContent_init_bio(CMS_EncryptedContentInfo *ec, in ossl_cms_EncryptedContent_init_bio() argument
32 X509_ALGOR *calg = ec->contentEncryptionAlgorithm; in ossl_cms_EncryptedContent_init_bio()
44 enc = ec->cipher ? 1 : 0; in ossl_cms_EncryptedContent_init_bio()
56 cipher = ec->cipher; in ossl_cms_EncryptedContent_init_bio()
60 if (ec->key != NULL) in ossl_cms_EncryptedContent_init_bio()
61 ec->cipher = NULL; in ossl_cms_EncryptedContent_init_bio()
108 if (ec->taglen > 0 in ossl_cms_EncryptedContent_init_bio()
110 ec->taglen, ec->tag) <= 0) { in ossl_cms_EncryptedContent_init_bio()
122 if (!enc || !ec->key) { in ossl_cms_EncryptedContent_init_bio()
132 if (!ec->key) { in ossl_cms_EncryptedContent_init_bio()
[all …]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dpkcs11eddsa_link.c137 pk11_object_t *ec = key->keydata.pkey; in pkcs11eddsa_sign() local
145 REQUIRE(ec != NULL); in pkcs11eddsa_sign()
160 if (ec->ontoken && (dctx->use == DO_SIGN)) { in pkcs11eddsa_sign()
161 slotid = ec->slot; in pkcs11eddsa_sign()
165 ret = pk11_get_session(pk11_ctx, OP_EDDSA, true, false, ec->reqlogon, in pkcs11eddsa_sign()
176 if (ec->ontoken && (ec->object != CK_INVALID_HANDLE)) { in pkcs11eddsa_sign()
177 pk11_ctx->ontoken = ec->ontoken; in pkcs11eddsa_sign()
178 pk11_ctx->object = ec->object; in pkcs11eddsa_sign()
182 for (attr = pk11_attribute_first(ec); attr != NULL; in pkcs11eddsa_sign()
183 attr = pk11_attribute_next(ec, attr)) in pkcs11eddsa_sign()
[all …]
H A Dpkcs11ecdsa_link.c81 pk11_object_t *ec = key->keydata.pkey; in pkcs11ecdsa_createctx() local
86 REQUIRE(ec != NULL); in pkcs11ecdsa_createctx()
96 if (ec->ontoken && (dctx->use == DO_SIGN)) { in pkcs11ecdsa_createctx()
97 slotid = ec->slot; in pkcs11ecdsa_createctx()
101 ret = pk11_get_session(pk11_ctx, OP_ECDSA, true, false, ec->reqlogon, in pkcs11ecdsa_createctx()
177 pk11_object_t *ec = key->keydata.pkey; in pkcs11ecdsa_sign() local
184 REQUIRE(ec != NULL); in pkcs11ecdsa_sign()
207 if (ec->ontoken && (ec->object != CK_INVALID_HANDLE)) { in pkcs11ecdsa_sign()
208 pk11_ctx->ontoken = ec->ontoken; in pkcs11ecdsa_sign()
209 pk11_ctx->object = ec->object; in pkcs11ecdsa_sign()
[all …]
/netbsd-src/sys/net/
H A Dif_ethersubr.c647 struct ethercom *ec = (struct ethercom *) ifp; in ether_input()
665 m_claimm(m, &ec->ec_rx_mowner); in ether_input()
791 if (ec->ec_nvlans > 0) { in ether_input()
1041 struct ethercom *ec = (struct ethercom *)ifp; in ether_ifattach()
1054 if (ec->ec_capabilities & ETHERCAP_VLAN_HWTAGGING) in ether_ifattach()
1062 LIST_INIT(&ec->ec_multiaddrs); in ether_ifattach()
1063 SIMPLEQ_INIT(&ec->ec_vids); in ether_ifattach()
1064 ec->ec_lock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_NET); in ether_ifattach()
1065 ec->ec_flags = 0; in ether_ifattach()
1070 ec in ether_ifattach()
646 struct ethercom *ec = (struct ethercom *) ifp; ether_input() local
1040 struct ethercom *ec = (struct ethercom *)ifp; ether_ifattach() local
1082 struct ethercom *ec = (void *) ifp; ether_ifdetach() local
1123 struct ethercom *ec; ether_ifdetachhook_establish() local
1140 struct ethercom *ec; ether_ifdetachhook_disestablish() local
1348 ether_addmulti(const struct sockaddr * sa,struct ethercom * ec) ether_addmulti() argument
1411 ether_delmulti(const struct sockaddr * sa,struct ethercom * ec) ether_delmulti() argument
1459 ether_set_ifflags_cb(struct ethercom * ec,ether_cb_t cb) ether_set_ifflags_cb() argument
1465 ether_set_vlan_cb(struct ethercom * ec,ether_vlancb_t cb) ether_set_vlan_cb() argument
1472 ether_ioctl_reinit(struct ethercom * ec) ether_ioctl_reinit() argument
1522 struct ethercom *ec = (void *)ifp; ether_ioctl() local
1638 struct ethercom *ec = (void *)ifp; ether_enable_vlan_mtu() local
1666 struct ethercom *ec = (void *)ifp; ether_disable_vlan_mtu() local
1698 struct ethercom *ec = (void *)ifp; ether_add_vlantag() local
1757 struct ethercom *ec = (void *)ifp; ether_del_vlantag() local
1897 struct ethercom *ec; ether_multicast_sysctl() local
[all...]
/netbsd-src/external/apache2/llvm/dist/libcxx/include/experimental/
H A Dfilesystem79 path absolute(const path& p, error_code &ec);
82 path canonical(const path& p, error_code& ec);
85 void copy(const path& from, const path& to, error_code& ec);
88 error_code& ec);
91 bool copy_file(const path& from, const path& to, error_code& ec);
94 error_code& ec);
98 error_code& ec) noexcept;
101 bool create_directories(const path& p, error_code& ec);
104 bool create_directory(const path& p, error_code& ec) noexcept;
108 error_code& ec) noexcept;
[all …]
/netbsd-src/sys/dev/isa/
H A Ddpt_isa.c130 struct eata_cfg ec; in dpt_isa_probe() local
173 memset(&ec, 0, sizeof(ec)); in dpt_isa_probe()
175 sizeof(ec.ec_cfglen)) >> 1; in dpt_isa_probe()
176 p = (u_int16_t *)&ec; in dpt_isa_probe()
185 if ((i = ec.ec_cfglen) > (sizeof(struct eata_cfg) in dpt_isa_probe()
187 - sizeof(ec.ec_cfglen))) in dpt_isa_probe()
190 - sizeof(ec.ec_cfglen); in dpt_isa_probe()
193 sizeof(ec.ec_cfglen); in dpt_isa_probe()
206 memcmp(ec.ec_eatasig, "EATA", 4) != 0 || in dpt_isa_probe()
207 (ec.ec_feat0 & (EC_F0_HBA_VALID | EC_F0_DMA_SUPPORTED)) != in dpt_isa_probe()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ec/
H A Dec_ameth.c70 const EC_KEY *ec_key = pkey->pkey.ec; in eckey_pub_encode()
134 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec); in eckey_pub_cmp()
135 const EC_POINT *pa = EC_KEY_get0_public_key(a->pkey.ec), in eckey_pub_cmp()
136 *pb = EC_KEY_get0_public_key(b->pkey.ec); in eckey_pub_cmp()
164 EC_KEY ec_key = *(pkey->pkey.ec); in eckey_priv_encode()
207 return ECDSA_size(pkey->pkey.ec); in int_ec_size()
212 return EC_GROUP_order_bits(EC_KEY_get0_group(pkey->pkey.ec)); in ec_bits()
234 if (pkey->pkey.ec == NULL || EC_KEY_get0_group(pkey->pkey.ec) == NULL) in ec_missing_parameters()
241 EC_GROUP *group = EC_GROUP_dup(EC_KEY_get0_group(from->pkey.ec)); in ec_copy_parameters()
245 if (to->pkey.ec == NULL) { in ec_copy_parameters()
[all …]

12345678910>>...36