| /freebsd/tools/test/stress2/misc/ |
| H A D | mmap33.sh | 53 size_t i, size1, size2; 66 size2 = atoi(argv[3]); 76 if (ftruncate(fd, size2) == -1) 78 data = mmap(NULL, size2, PROT_READ|PROT_WRITE,MAP_SHARED, fd, 0); 81 memset(data, 0xFF, size2); 83 if (munmap(data, size2) == -1)
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
| H A D | redacted_size.ksh | 39 typeset size2=$(mktemp $tmpdir/size.XXXX) 48 log_must eval "zfs send --redact book $sendfs@snap | wc -c >$size2" 50 read -r bytes2 < $size2 56 log_must eval "zfs send -i $sendfs#book $sendfs@snap2 | wc -c >$size2" 58 read -r bytes2 < $size2
|
| /freebsd/lib/libc/stdlib/ |
| H A D | merge.c | 234 s -= size2; \ 247 int i, length, size2, tmp, sense; in setup() local 250 size2 = size*2; in setup() 272 for (f2 = f1 + size2; f2 < last; f2 += size2) { in setup() 279 p2 = *EVAL(p2) = f1 + size2 - list1 + list2; in setup() 282 } while ((f1 += size2) < f2); in setup() 285 for (f2 = f1 + size2; f2 < l2; f2 += size2) { in setup() 303 for (f1 = list1, p2 = list2; f1 < last; f1 += size2) { in setup() 304 p2 = *EVAL(p2) = p2 + size2; in setup()
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | der_writer.c | 35 size_t size1, size2; in int_end_context() local 47 && WPACKET_get_total_written(pkt, &size2) in int_end_context() 48 && (size1 == size2 || WPACKET_put_bytes_u8(pkt, tag)); in int_end_context() 189 size_t size1, size2; in ossl_DER_w_end_sequence() local 193 && WPACKET_get_total_written(pkt, &size2) in ossl_DER_w_end_sequence() 194 && (size1 == size2 in ossl_DER_w_end_sequence()
|
| /freebsd/usr.sbin/nscd/agents/ |
| H A D | services.c | 127 size_t size, size2; in services_lookup_func() local 150 size2 = strlen(name) + 1; in services_lookup_func() 152 if (size2 < size) in services_lookup_func() 153 proto = name + size2; in services_lookup_func()
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
| H A D | zfs_receive_010_pos.ksh | 148 size2=$(get_prop used $fs) 149 if [[ $size -ge $(($size2 / 10)) ]] then 151 "$(($size2 / 10)), but is using $size"
|
| /freebsd/lib/libc/net/ |
| H A D | getservent.c | 872 size_t desired_size, size, size2; in serv_id_func() local 885 size2 = strlen(proto); in serv_id_func() 886 desired_size += size2 + 1; in serv_id_func() 888 size2 = 0; in serv_id_func() 900 proto, size2 + 1); in serv_id_func()
|
| /freebsd/tests/sys/fs/fusefs/ |
| H A D | read.cc | 467 size_t size2 = bufsize; in TEST_F() local 514 out.body.attr.attr.size = size2; in TEST_F() 522 in.body.read.size == size2); in TEST_F() 528 out.header.len = sizeof(struct fuse_out_header) + size2; in TEST_F() 529 memmove(out.body.bytes, CONTENTS, size2); in TEST_F() 539 bzero(buf, size2); in TEST_F() 540 ASSERT_EQ(static_cast<ssize_t>(size2), pread(fd, buf, bufsize, 0)) << strerror(errno); in TEST_F() 541 ASSERT_EQ(0, memcmp(buf, CONTENTS, size2)); in TEST_F()
|
| /freebsd/crypto/openssl/test/ |
| H A D | wpackettest.c | 390 size_t size1, size2; in test_WPACKET_init_der() local 407 || !TEST_true(WPACKET_get_total_written(&pkt, &size2)) in test_WPACKET_init_der() 408 || !TEST_size_t_eq(size1, size2)) in test_WPACKET_init_der()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Expression/ |
| H A D | IRMemoryMap.h | 139 lldb::addr_t addr2, size_t size2);
|
| /freebsd/sys/dev/iscsi/ |
| H A D | icl_soft.c | 882 long available, size, size2; in icl_conn_send_pdus() local 957 size2 = icl_pdu_size(request2); in icl_conn_send_pdus() 958 if (available < size + size2) in icl_conn_send_pdus() 974 request->ip_bhs_mbuf->m_pkthdr.len += size2; in icl_conn_send_pdus() 975 size += size2; in icl_conn_send_pdus()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_flat_map.h | 93 constexpr uptr size2() const { return kSize2; } in size2() function
|
| /freebsd/sys/dev/xen/netback/ |
| H A D | netback_unit_tests.c | 1484 size_t size2 = MHLEN - 15; in xnb_mbufc2pkt_2short() local 1495 mbufc2 = m_getm(mbufc, size2, M_WAITOK, MT_DATA); in xnb_mbufc2pkt_2short() 1501 mbufc2->m_pkthdr.len = size1 + size2; in xnb_mbufc2pkt_2short() 1506 XNB_ASSERT(pkt.size == size1 + size2); in xnb_mbufc2pkt_2short() 1955 size_t size2 = MHLEN - 15; in xnb_rxpkt2rsp_2short() local 1970 m_getm(mbufc, size2, M_WAITOK, MT_DATA); in xnb_rxpkt2rsp_2short() 1972 mbufc->m_pkthdr.len = size1 + size2; in xnb_rxpkt2rsp_2short() 1974 mbufc->m_next->m_len = size2; in xnb_rxpkt2rsp_2short() 1996 XNB_ASSERT(rsp->status == size1 + size2); in xnb_rxpkt2rsp_2short()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_access.cpp | 512 uptr size2 = size - size1; in UnalignedMemoryAccess() 513 if (LIKELY(size2 == 0)) in UnalignedMemoryAccess() 516 Shadow cur(fast_state, 0, size2, typ); in UnalignedMemoryAccess()
|
| H A D | tsan_rtl_report.cpp | 424 uptr size2) { in IsWithinAccess() argument 425 return addr1 >= addr2 && addr1 + size1 <= addr2 + size2; in IsWithinAccess()
|
| /freebsd/sys/dev/cxgbe/ |
| H A D | t4_sge.c | 914 rxb->size2 = 0; in t4_init_rx_buf_info() 933 rxb->size2 = hwsize; in t4_init_rx_buf_info() 940 rxb->size2 = hwsize; in t4_init_rx_buf_info() 944 rxb->size2 = hwsize; in t4_init_rx_buf_info() 1800 blen = rxb->size2 - fl->rx_offset; /* max possible in this buf */ in get_scatter_segment() 1806 if (fl->rx_offset + len + pad < rxb->size2) in get_scatter_segment() 1808 MPASS(fl->rx_offset + blen <= rxb->size2); in get_scatter_segment() 1834 MPASS(fl->rx_offset <= rxb->size2); in get_scatter_segment() 1835 if (fl->rx_offset < rxb->size2) in get_scatter_segment() 1850 MPASS(fl->rx_offset <= rxb->size2); in get_scatter_segment() [all …]
|
| H A D | adapter.h | 532 uint16_t size2; /* hwsize[hwidx2] = size2. member
|
| /freebsd/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRMemoryMap.cpp | 247 lldb::addr_t addr2, size_t size2) { in AllocationsIntersect() argument 258 return (addr2 < (addr1 + size1)) && (addr1 < (addr2 + size2)); in AllocationsIntersect()
|
| /freebsd/sys/netpfil/pf/ |
| H A D | pf_table.c | 390 int *size2, int *nadd, int *ndel, int *nchange, int flags, in pfr_set_addrs() argument 467 if ((flags & PFR_FLAG_FEEDBACK) && *size2) { in pfr_set_addrs() 468 if (*size2 < size+xdel) { in pfr_set_addrs() 469 *size2 = size+xdel; in pfr_set_addrs() 493 if ((flags & PFR_FLAG_FEEDBACK) && size2) in pfr_set_addrs() 494 *size2 = size+xdel; in pfr_set_addrs()
|
| H A D | pf_if.c | 708 int e, size2 = 0; in pfi_table_update() local 722 if ((e = pfr_set_addrs(&kt->pfrkt_t, V_pfi_buffer, V_pfi_buffer_cnt, &size2, in pfi_table_update()
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_7zip.c | 4491 size_t size0, size1, size2, size3; in Bcj2_Decode() local 4499 size2 = zip->sub_stream_bytes_remaining[1]; in Bcj2_Decode() 4500 buf2 = zip->sub_stream_buff[1] + zip->sub_stream_size[1] - size2; in Bcj2_Decode() 4586 if (size2 < 4) in Bcj2_Decode() 4589 size2 -= 4; in Bcj2_Decode() 4614 zip->sub_stream_bytes_remaining[1] = size2; in Bcj2_Decode()
|
| /freebsd/lib/libpfctl/ |
| H A D | libpfctl.h | 541 *addr, int size, int *size2, int *nadd, int *ndel, int *nchange,
|
| H A D | libpfctl.c | 2725 *addr, int size, int *size2, int *nadd, int *ndel, int *nchange, int flags) in pfctl_table_set_addrs() argument 2738 io.pfrio_size2 = (size2 != NULL) ? *size2 : 0; in pfctl_table_set_addrs() 2747 if (size2 != NULL) in pfctl_table_set_addrs() 2748 *size2 = io.pfrio_size2; in pfctl_table_set_addrs()
|
| /freebsd/sys/contrib/openzfs/module/nvpair/ |
| H A D | nvpair.c | 791 int size1, size2; in i_validate_nvpair() local 805 size2 = i_get_value_size(type, NVP_VALUE(nvp), NVP_NELEM(nvp), in i_validate_nvpair() 808 if (size2 < 0 || size1 != NV_ALIGN(size2)) in i_validate_nvpair()
|
| /freebsd/crypto/heimdal/doc/ |
| H A D | layman.asc | 1086 OCTET STRING [SIZE ({size | size1..size2})] 1088 where size, size1, and size2 are optional size constraints. 1090 have size octets. In the OCTET STRING SIZE (size1..size2) 1091 form, the octet string must have between size1 and size2
|