Home
last modified time | relevance | path

Searched refs:size1 (Results 1 – 24 of 24) sorted by relevance

/freebsd/crypto/openssl/crypto/
H A Dder_writer.c35 size_t size1, size2; in int_end_context() local
45 return WPACKET_get_total_written(pkt, &size1) in int_end_context()
48 && (size1 == size2 || WPACKET_put_bytes_u8(pkt, tag)); in int_end_context()
190 size_t size1, size2; in ossl_DER_w_end_sequence() local
192 return WPACKET_get_total_written(pkt, &size1) in ossl_DER_w_end_sequence()
195 && (size1 == size2 in ossl_DER_w_end_sequence()
/freebsd/tests/sys/fs/fusefs/
H A Dnotify.cc337 ssize_t size1 = sizeof(CONTENTS1); in TEST_F() local
353 out.body.attr.attr.size = size1; in TEST_F()
357 expect_read(ino, 0, size1, size1, CONTENTS1); in TEST_F()
378 EXPECT_EQ(size1, sb.st_size); in TEST_F()
382 ASSERT_EQ(size1, read(fd, buf, size1)) << strerror(errno); in TEST_F()
383 EXPECT_EQ(0, memcmp(buf, CONTENTS1, size1)); in TEST_F()
419 ssize_t size1 = sizeof(CONTENTS1); in TEST_F() local
423 expect_lookup(FUSE_ROOT_ID, RELPATH, ino, size1, seq); in TEST_F()
434 sa.size = size1; in TEST_F()
441 ASSERT_EQ(size1, read(fd, buf, size1)) << strerror(errno); in TEST_F()
[all …]
H A Dwrite.cc527 ssize_t size1 = strlen(CONTENTS1) + 1; in TEST_F() local
528 ssize_t totalsize = size0 + size1; in TEST_F()
/freebsd/sys/dev/dcons/
H A Ddcons.c197 int size0, size1, offset; in dcons_init() local
201 size1 = size0 * 3 / 4; /* console port buffer */ in dcons_init()
203 dcons_init_port(0, offset, size1, buf, sc); in dcons_init()
204 offset += size1; in dcons_init()
205 dcons_init_port(1, offset, size0 - size1, buf, sc); in dcons_init()
/freebsd/tools/test/stress2/misc/
H A Dmmap33.sh53 size_t i, size1, size2;
65 size1 = atoi(argv[2]);
69 for (i = 0; i < size1; i++)
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp499 uptr size1 = Min<uptr>(size, RoundUp(addr + 1, kShadowCell) - addr); in UnalignedMemoryAccess() local
501 Shadow cur(fast_state, addr, size1, typ); in UnalignedMemoryAccess()
512 uptr size2 = size - size1; in UnalignedMemoryAccess()
585 uptr size1 = RoundUp(size + addr - addr1, kShadowCell); in MemoryResetRange() local
586 MemoryRangeSet(addr1, size1, Shadow::kEmpty); in MemoryResetRange()
719 uptr size1 = Min(size, RoundUp(addr, kShadowCell) - addr); in MemoryAccessRangeT() local
720 size -= size1; in MemoryAccessRangeT()
721 Shadow cur(fast_state, addr, size1, typ); in MemoryAccessRangeT()
H A Dtsan_rtl_report.cpp423 static constexpr bool IsWithinAccess(uptr addr1, uptr size1, uptr addr2, in IsWithinAccess() argument
425 return addr1 >= addr2 && addr1 + size1 <= addr2 + size2; in IsWithinAccess()
722 uptr addr_off1, size1, typ1; in ReportRace() local
723 old.GetAccess(&addr_off1, &size1, &typ1); in ReportRace()
736 uptr end1 = addr1 + size1; in ReportRace()
772 size1, typ1, &tids[1], &traces[1], mset[1], &tags[1])) { in ReportRace()
/freebsd/usr.bin/sort/
H A Dsort.c742 size_t size1; in parse_k() local
745 size1 = sptr - s; in parse_k()
747 if (size1 < 1) in parse_k()
749 pos1 = sort_malloc((size1 + 1) * sizeof(char)); in parse_k()
751 strncpy(pos1, s, size1); in parse_k()
752 pos1[size1] = '\0'; in parse_k()
/freebsd/crypto/openssl/test/
H A Dwpackettest.c363 size_t size1, size2; in test_WPACKET_init_der() local
378 || !TEST_true(WPACKET_get_total_written(&pkt, &size1)) in test_WPACKET_init_der()
381 || !TEST_size_t_eq(size1, size2)) in test_WPACKET_init_der()
/freebsd/sys/powerpc/powerpc/
H A Dmachdep.c217 vm_paddr_t size1 = in cpu_startup() local
227 (uintmax_t)size1, (uintmax_t)size1 / PAGE_SIZE); in cpu_startup()
/freebsd/usr.sbin/lpr/common_source/
H A Dctlinfo.c706 size_t size1; in ctl_renametf() local
709 size1 = tfstat.st_size; in ctl_renametf()
720 if (size1 != tfstat.st_size) { in ctl_renametf()
/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c1483 size_t size1 = MHLEN - 5; in xnb_mbufc2pkt_2short() local
1489 mbufc = m_getm(NULL, size1, M_WAITOK, MT_DATA); in xnb_mbufc2pkt_2short()
1501 mbufc2->m_pkthdr.len = size1 + size2; in xnb_mbufc2pkt_2short()
1502 mbufc2->m_len = size1; in xnb_mbufc2pkt_2short()
1506 XNB_ASSERT(pkt.size == size1 + size2); in xnb_mbufc2pkt_2short()
1513 XNB_ASSERT(pkt.car_size == size1); in xnb_mbufc2pkt_2short()
1954 size_t size1 = MHLEN - 5; in xnb_rxpkt2rsp_2short() local
1964 mbufc = m_getm(NULL, size1, M_WAITOK, MT_DATA); in xnb_rxpkt2rsp_2short()
1972 mbufc->m_pkthdr.len = size1 + size2; in xnb_rxpkt2rsp_2short()
1973 mbufc->m_len = size1; in xnb_rxpkt2rsp_2short()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DIRMemoryMap.h132 static bool AllocationsIntersect(lldb::addr_t addr1, size_t size1,
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flat_map.h92 constexpr uptr size1() const { return kSize1; } in size1() function
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRMemoryMap.cpp238 bool IRMemoryMap::AllocationsIntersect(lldb::addr_t addr1, size_t size1, in AllocationsIntersect() argument
250 return (addr2 < (addr1 + size1)) && (addr1 < (addr2 + size2)); in AllocationsIntersect()
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c867 rxb->size1 = sw_buf_sizes[i]; in t4_init_rx_buf_info()
868 rxb->zone = m_getzone(rxb->size1); in t4_init_rx_buf_info()
869 rxb->type = m_gettype(rxb->size1); in t4_init_rx_buf_info()
880 if (rxb->hwidx1 == -1 && rxb->size1 == hwsize) in t4_init_rx_buf_info()
884 if (rxb->size1 - CL_METADATA_SIZE < hwsize) in t4_init_rx_buf_info()
886 n = rxb->size1 - hwsize - CL_METADATA_SIZE; in t4_init_rx_buf_info()
905 if (s->safe_zidx == -1 && rxb->size1 == safest_rx_cluster) in t4_init_rx_buf_info()
1771 blen = rxb->size1; in get_scatter_segment()
1896 blen = rxb->size1; in skip_scatter_segment()
1927 len = rxb->size1; in get_segment_len()
[all …]
H A Dadapter.h498 uint16_t size1; /* same as size of cluster: 2K/4K/9K/16K. member
H A Dt4_netmap.c710 if (rxb->size1 == NETMAP_BUF_SIZE(na)) { in cxgbe_netmap_on()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_7zip.c4046 size_t size0, size1, size2, size3; in Bcj2_Decode() local
4052 size1 = zip->sub_stream_bytes_remaining[0]; in Bcj2_Decode()
4053 buf1 = zip->sub_stream_buff[0] + zip->sub_stream_size[0] - size1; in Bcj2_Decode()
4135 if (size1 < 4) in Bcj2_Decode()
4138 size1 -= 4; in Bcj2_Decode()
4173 zip->sub_stream_bytes_remaining[0] = size1; in Bcj2_Decode()
/freebsd/sbin/ping/
H A Dping6.c1921 int i, segments, origsegs, rthsize, size0, size1; in pr_rthdr() local
1947 size1 = inet6_rth_space(IPV6_RTHDR_TYPE_0, 1); in pr_rthdr()
1949 (size1 - size0) + 1; in pr_rthdr()
/freebsd/sys/vm/
H A Dvm_map.c3926 vm_pindex_t offidxstart, offidxend, size1; in vm_map_entry_delete()
3973 size1 = object->size; in vm_map_entry_delete()
3976 size1 -= object->size; in vm_map_entry_delete()
3977 KASSERT(object->charge >= ptoa(size1), in vm_map_entry_delete()
3979 swap_release_by_cred(ptoa(size1), in vm_map_entry_delete()
3981 object->charge -= ptoa(size1); in vm_map_entry_delete()
3925 vm_pindex_t offidxstart, offidxend, size1; vm_map_entry_delete() local
/freebsd/sys/contrib/openzfs/module/nvpair/
H A Dnvpair.c799 int size1, size2; in i_validate_nvpair() local
813 size1 = nvp->nvp_size - NVP_VALOFF(nvp); in i_validate_nvpair()
814 if (size2 < 0 || size1 != NV_ALIGN(size2)) in i_validate_nvpair()
/freebsd/crypto/heimdal/doc/
H A Dlayman.asc1086 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
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc5680 static void AssertStringArrayEq(int size1, CharType** array1, int size2, in AssertStringArrayEq() argument
5682 ASSERT_EQ(size1, size2) << " Array sizes different."; in AssertStringArrayEq()
5684 for (int i = 0; i != size1; i++) { in AssertStringArrayEq()