| /freebsd-head/contrib/unbound/util/ |
| HD | proxy_protocol.c | 95 size_t expected_size; in pp2_write_to_buf() local 98 expected_size = PP2_HEADER_SIZE + (af==AF_INET?12:36); in pp2_write_to_buf() 99 if(buflen < expected_size) { in pp2_write_to_buf() 161 return expected_size; in pp2_write_to_buf()
|
| /freebsd-head/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fallocate/ |
| HD | fallocate_punch-hole.ksh | 81 typeset expected_size=$1 84 if [ "$apparent_size" != "$expected_size" ]; then 86 "Incorrect apparent size: $apparent_size != $expected_size"
|
| HD | fallocate_zero-range.ksh | 71 typeset expected_size=$1 74 if [ "$apparent_size" != "$expected_size" ]; then 76 "Incorrect apparent size: $apparent_size != $expected_size"
|
| /freebsd-head/sys/contrib/dev/iwlwifi/fw/ |
| HD | acpi.c | 108 size_t expected_size) in iwl_acpi_get_dsm_integer() argument 126 if (WARN_ON_ONCE(expected_size > sizeof(le_value))) in iwl_acpi_get_dsm_integer() 130 if (obj->buffer.length != expected_size) in iwl_acpi_get_dsm_integer() 137 min_t(size_t, expected_size, (size_t)obj->buffer.length)); in iwl_acpi_get_dsm_integer() 163 size_t expected_size; in iwl_acpi_get_dsm() local 172 expected_size = acpi_dsm_size[func]; in iwl_acpi_get_dsm() 175 if (expected_size != sizeof(u8) && expected_size != sizeof(u32)) in iwl_acpi_get_dsm() 179 &iwl_guid, &tmp, expected_size); in iwl_acpi_get_dsm() 183 if ((expected_size == sizeof(u8) && tmp != (u8)tmp) || in iwl_acpi_get_dsm() 184 (expected_size == sizeof(u32) && tmp != (u32)tmp)) in iwl_acpi_get_dsm()
|
| HD | uefi.c | 83 unsigned int expected_size, in iwl_uefi_get_verified_variable() argument 99 if (var_size < expected_size) { in iwl_uefi_get_verified_variable()
|
| /freebsd-head/crypto/openssl/test/ |
| HD | cmp_ctx_test.c | 142 int base_err_msg_size, expected_size; in execute_CTX_print_errors_test() local 165 expected_size = base_err_msg_size; in execute_CTX_print_errors_test() 167 expected_size += strlen(":" "data1"); in execute_CTX_print_errors_test() 169 expected_size += strlen(" : " "data2"); in execute_CTX_print_errors_test() 171 expected_size += strlen("\n" "new line"); in execute_CTX_print_errors_test() 173 if (!TEST_int_eq(msg_total_size, expected_size)) in execute_CTX_print_errors_test() 178 expected_size = base_err_msg_size; in execute_CTX_print_errors_test() 179 while (expected_size < 4096) { /* force split */ in execute_CTX_print_errors_test() 181 expected_size += strlen(STR_SEP) + strlen(max_str_literal); in execute_CTX_print_errors_test() 183 expected_size += base_err_msg_size - 2 * strlen(STR_SEP); in execute_CTX_print_errors_test() [all …]
|
| HD | asn1_encode_test.c | 485 const EXPECTED *expected, size_t expected_size, in do_decode() argument 503 && memcmp(enctst, expected, expected_size) == 0) in do_decode() 670 const EXPECTED *expected, size_t expected_size, in do_decode_custom() argument 684 ret = do_decode(encoding, encoding_length, expected, expected_size, in do_decode_custom()
|
| /freebsd-head/tests/sys/cddl/zfs/tests/zil/ |
| HD | zil_002_pos.ksh | 67 typeset -i expected_size="$2" 70 log_must test $expected_size == $(size_of_file $fname)
|
| /freebsd-head/sys/contrib/dev/iwlwifi/mvm/ |
| HD | rx.c | 851 u32 expected_size) in iwl_mvm_verify_stats_len() argument 855 if (WARN_ONCE(iwl_rx_packet_payload_len(pkt) < expected_size, in iwl_mvm_verify_stats_len() 857 iwl_rx_packet_payload_len(pkt), expected_size)) in iwl_mvm_verify_stats_len() 869 if (WARN_ONCE(le16_to_cpu(hdr->size) != expected_size, in iwl_mvm_verify_stats_len() 871 le16_to_cpu(hdr->size), expected_size)) in iwl_mvm_verify_stats_len() 1197 int expected_size; in iwl_mvm_handle_rx_statistics() local 1214 expected_size = sizeof(struct iwl_notif_statistics_v11); in iwl_mvm_handle_rx_statistics() 1216 expected_size = sizeof(struct iwl_notif_statistics_v10); in iwl_mvm_handle_rx_statistics() 1218 expected_size = sizeof(struct iwl_notif_statistics); in iwl_mvm_handle_rx_statistics() 1221 if (WARN_ONCE(iwl_rx_packet_payload_len(pkt) != expected_size, in iwl_mvm_handle_rx_statistics()
|
| /freebsd-head/usr.bin/sockstat/ |
| HD | sockstat.c | 211 _check_ksize(size_t received_size, size_t expected_size, const char *struct_name) in _check_ksize() argument 213 if (received_size != expected_size) { in _check_ksize() 215 struct_name, expected_size, received_size); in _check_ksize() 223 _enforce_ksize(size_t received_size, size_t expected_size, const char *struct_name) in _enforce_ksize() argument 225 if (received_size != expected_size) { in _enforce_ksize() 227 struct_name, expected_size, received_size); in _enforce_ksize()
|
| /freebsd-head/contrib/llvm-project/lldb/source/Target/ |
| HD | Trace.cpp | 207 uint64_t expected_size) { in GetLiveTraceBinaryData() argument 221 if (data->size() != expected_size) in GetLiveTraceBinaryData() 226 request.kind, expected_size, data->size(), request.tid, in GetLiveTraceBinaryData()
|
| HD | RegisterContextUnwind.cpp | 2098 if (auto expected_size = in GetReturnAddressHint() local 2101 hint += *expected_size; in GetReturnAddressHint() 2104 llvm::toString(expected_size.takeError()).c_str()); in GetReturnAddressHint()
|
| /freebsd-head/contrib/llvm-project/lldb/include/lldb/Target/ |
| HD | Trace.h | 352 uint64_t expected_size);
|
| /freebsd-head/sys/netpfil/pf/ |
| HD | pf_nv.c | 113 size_t expected_size) in pf_nvbinary() argument 118 bzero(data, expected_size); in pf_nvbinary() 124 if (len > expected_size) in pf_nvbinary()
|