Home
last modified time | relevance | path

Searched full:validate (Results 1 – 25 of 1482) sorted by relevance

12345678910>>...60

/freebsd-src/contrib/kyua/utils/cmdline/
H A Doptions_test.cpp83 validate(const std::string& /* str */) const in validate() function in __anon7c6a2a430111::mock_option
250 o.validate("123"); in ATF_TEST_CASE_BODY()
253 o.validate("-567"); in ATF_TEST_CASE_BODY()
256 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("")); in ATF_TEST_CASE_BODY()
257 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("5a")); in ATF_TEST_CASE_BODY()
258 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("a5")); in ATF_TEST_CASE_BODY()
259 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("5 a")); in ATF_TEST_CASE_BODY()
260 ATF_REQUIRE_THROW(cmdline::option_argument_value_error, o.validate("5.0")); in ATF_TEST_CASE_BODY()
298 o.validate(""); in ATF_TEST_CASE_BODY()
305 o.validate("foo"); in ATF_TEST_CASE_BODY()
[all …]
H A Doptions.hpp71 /// <li>A validate() method that matches the implementation of convert().
73 /// be converted appropriately. If validate() does not throw, then
123 virtual void validate(const std::string&) const;
153 virtual void validate(const std::string& str) const;
169 virtual void validate(const std::string&) const;
188 virtual void validate(const std::string&) const;
211 virtual void validate(const std::string& str) const;
229 virtual void validate(const std::string& str) const;
H A Doptions.cpp232 cmdline::base_option::validate(const std::string& /* str */) const in validate() function in cmdline::base_option
307 cmdline::int_option::validate(const std::string& raw_value) const in validate() function in cmdline::int_option
325 /// \pre validate(raw_value) must be true.
377 cmdline::list_option::validate( in validate() function in cmdline::list_option
390 /// \pre validate(raw_value) must be true.
447 cmdline::path_option::validate(const std::string& raw_value) const in validate() function in cmdline::path_option
464 /// \pre validate(raw_value) must be true.
513 cmdline::property_option::validate(const std::string& raw_value) const in validate() function in cmdline::property_option
539 /// \pre validate(raw_value) must be true.
587 cmdline::string_option::validate( in validate() function in cmdline::string_option
[all …]
/freebsd-src/sys/dev/pci/
H A Dpci_iov_schema.c67 validate_func *validate; member
75 .validate = pci_iov_schema_validate_bool,
80 .validate = pci_iov_schema_validate_string,
85 .validate = pci_iov_schema_validate_uint,
91 .validate = pci_iov_schema_validate_uint,
97 .validate = pci_iov_schema_validate_uint,
103 .validate = pci_iov_schema_validate_uint,
109 .validate = pci_iov_schema_validate_unicast_mac,
114 .validate = pci_iov_schema_validate_vlan,
480 /* Validate that the default value conforms to the type. */ in pci_iov_validate_param_schema()
[all …]
/freebsd-src/contrib/libucl/python/tests/
H A Dtest_validation.py15 def validate(self, jsonfile): member in ValidationTest
19 self.assertTrue(ucl.validate(schema, data), msg)
22 ucl.validate(schema, data)
42 self.validate(filename)
/freebsd-src/sys/dev/nvmf/
H A Dnvmf_tcp.h23 * Validate common fields in a received PDU header. If an error is
53 * first, so validate fields in order. in nvmf_tcp_validate_pdu_header()
56 /* Validate pdu_type. */ in nvmf_tcp_validate_pdu_header()
100 /* Validate flags. */ in nvmf_tcp_validate_pdu_header()
164 /* Validate hlen. */ in nvmf_tcp_validate_pdu_header()
196 /* Validate pdo. */ in nvmf_tcp_validate_pdu_header()
231 /* Validate plen. */ in nvmf_tcp_validate_pdu_header()
/freebsd-src/contrib/kyua/utils/config/
H A Dnodes_test.cpp45 /// Typed leaf node that specializes the validate() method.
49 /// \param new_value The value to validate.
53 validate(const value_type& new_value) const in validate() function in __anonaedcb18a0111::validation_node
56 throw config::value_error("Custom validate method"); in validate()
61 /// Set node that specializes the validate() method.
65 /// \param new_value The value to validate.
69 validate(const value_type& new_value) const in validate() function in __anonaedcb18a0111::set_validation_node
74 throw config::value_error("Custom validate method"); in validate()
604 ATF_REQUIRE_THROW_RE(config::value_error, "Custom validate method", in ATF_TEST_CASE_BODY()
614 ATF_REQUIRE_THROW_RE(config::value_error, "Custom validate method", in ATF_TEST_CASE_BODY()
[all …]
H A Dnodes.ipp207 /// \throw value_error If the value is invalid, according to validate().
212 validate(value_);
225 config::typed_leaf_node< ValueType >::validate(
323 /// \throw value_error If the value is invalid, according to validate().
328 validate(value_);
405 config::base_set_node< ValueType >::validate(
/freebsd-src/crypto/heimdal/doc/doxyout/hx509/man/man3/
H A Dhx509_print.3132 Validate/Print the status of the certificate.
140 \fIcert\fP the cerificate to validate/print.
168 Free an hx509 validate context.
172 \fIctx\fP the hx509 validate context to free.
/freebsd-src/contrib/xz/src/liblzma/common/
H A Dblock_util.c19 // Validate everything but Uncompressed Size and filters. in lzma_block_compressed_size()
26 // Validate that Compressed Size will be greater than zero. in lzma_block_compressed_size()
47 // Validate the values that we are interested in i.e. all but in lzma_block_unpadded_size()
67 // Calculate Unpadded Size and validate it. in lzma_block_unpadded_size()
/freebsd-src/contrib/ldns/ldns/
H A Ddane.h156 * \param[in] cert The certificate to validate (or not)
163 * validate the certificate and, in case of "CA constraint",
168 * \param[in] cert_usage Which certificate to use and how to validate.
228 * \param[in] cert The certificate to match (and validate)
233 * validate the certificate.
263 * \param[in] cert The certificate to match (and validate)
268 * validate the certificate.
H A Ddnssec_verify.h369 * from keys that validate one of the signatures
386 * from keys that validate one of the signatures
405 * from keys that validate one of the signatures
517 * keys from keys that validate one of
534 * keys from keys that validate one of
646 * from keys that validate one of the signatures
648 * \return a list of keys which validate the rrsig + rrset. Returns
663 * from keys that validate one of the signatures
665 * \return a list of keys which validate the rrsig + rrset. Returns
680 * from keys that validate one of the signatures
[all …]
/freebsd-src/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.c254 /* Validate output length */ in validate_inputs()
263 /* Validate password (required param) */ in validate_inputs()
278 /* Validate salt (required param) */ in validate_inputs()
293 /* Validate secret (optional param) */ in validate_inputs()
308 /* Validate associated data (optional param) */ in validate_inputs()
323 /* Validate memory cost */ in validate_inputs()
336 /* Validate time cost */ in validate_inputs()
345 /* Validate lanes */ in validate_inputs()
354 /* Validate threads */ in validate_inputs()
/freebsd-src/contrib/unbound/validator/
H A Dvalidator.c67 /** Max number of RRSIGs to validate at once, suspend query for later. */
347 * mean we can actually validate this response). in needs_validation()
356 * that we don't bother to validate anything. in needs_validation()
384 verbose(VERB_ALGO, "cannot validate non-answer, rcode %s", rc); in needs_validation()
389 /* cannot validate positive RRSIG response. (negatives can) */ in needs_validation()
393 verbose(VERB_ALGO, "cannot validate RRSIG, no sigs on sigs.");
407 /* validate unchecked, and re-validate bogus messages */ in already_validated()
618 * Validate if the ANSWER and AUTHORITY sections contain valid rrsets.
620 * Tries to validate ADDITIONA
[all...]
/freebsd-src/contrib/netbsd-tests/kernel/
H A Dt_ps_strings.sh28 atf_test_case validate
39 # Function to parse and validate the output from ps
83 atf_add_test_case validate
/freebsd-src/crypto/openssl/doc/man7/
H A DEVP_PKEY-FFC.pod103 =item "validate-pq" (B<OSSL_PKEY_PARAM_FFC_VALIDATE_PQ>) <unsigned integer>
105 =item "validate-g" (B<OSSL_PKEY_PARAM_FFC_VALIDATE_G>) <unsigned integer>
109 I<validate-pq> and I<validate-g> are both set to 1 to check that p,q and g are
113 =item "validate-legacy" (B<OSSL_PKEY_PARAM_FFC_VALIDATE_LEGACY>) <unsigned integer>
/freebsd-src/usr.bin/posixmqcontrol/
H A Dposixmqcontrol.c355 bool (*validate)(void); member
411 if (!option->validate()) in validate_options()
752 .validate = validate_queue};
756 .validate = validate_single_queue};
761 .validate = validate_always_true};
766 .validate = validate_always_true};
771 .validate = validate_always_true};
777 .validate = validate_content};
782 .validate = validate_always_true};
787 .validate = validate_always_true};
[all …]
/freebsd-src/contrib/xz/src/liblzma/api/lzma/
H A Dindex_hash.h5 * \brief Validate Index by using a hash function
8 * Hashing makes it possible to use constant amount of memory to validate
82 * \brief Decode and validate the Index field
/freebsd-src/sys/contrib/device-tree/Bindings/
H A Dwriting-schema.rst75 Keywords controlling how schema will validate properties not matched by this
145 The DT schema project must be installed in order to validate the DT schema
146 binding documents and validate DTS files using the DT schema. The DT schema
156 Several executables (dt-doc-validate, dt-mk-schema, dt-validate) will be
/freebsd-src/sys/dev/smartpqi/
H A Dsmartpqi_helper.c30 * Function used to validate the adapter health.
188 /* Function used to validate the device wwid. */
196 /* Function used to validate the device scsi3addr. */
203 /* Function used to validate hba_lunid */
210 /* Function used to validate type of device */
322 /* validate the structure sizes */
/freebsd-src/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_stream.c19 /* Hash used to validate the Index field */
103 * validate the Index field.
219 * Decode the Compressed Data field from a Block. Update and validate
226 * Once the decoding is finished, validate that the observed sizes match
228 * Block count, which are later used to validate the Index field.
331 * Validate that the Number of Records field in dec_index()
362 * Validate that the next four or eight input bytes match the value
363 * of s->crc. s->pos must be zero when starting to validate the first byte.
453 * Validate Backward Size. Note that we never added the size of the in dec_stream_footer()
476 * Validate the CRC32. We know that the temp buffer is at least in dec_block_header()
[all …]
/freebsd-src/sys/dev/nvmf/controller/
H A Dnvmft_subr.h16 /* Validate a NVMe Qualified Name. */
23 * Validate if a new value for CC is legal given the existing values of
/freebsd-src/contrib/ofed/infiniband-diags/man/
H A Dibidsverify.833 .SH VALIDATE IB IDENTIFIERS IN SUBNET AND REPORT ERRORS
40 created by ibnetdiscover, scans the network to validate the LIDs and GUIDs
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkFormat.h27 /// Parse and validate a string for the remark format.
30 /// Parse and validate a magic number to a remark format.
/freebsd-src/tests/sys/vfs/
H A Dlookup_cap_dotdot.c112 "Validate cap-mode (testdir)/d1/.. lookup"); in ATF_TC_HEAD()
135 "Validate cap-mode (testdir)/d1/.. lookup"); in ATF_TC_HEAD()
213 "Validate cap-mode (testdir)/.. lookup fails"); in ATF_TC_HEAD()
236 atf_tc_set_md_var(tc, "descr", "Validate cap-mode /.. lookup fails"); in ATF_TC_HEAD()

12345678910>>...60