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()
189 size_t size1, size2; in ossl_DER_w_end_sequence() local
191 return WPACKET_get_total_written(pkt, &size1) in ossl_DER_w_end_sequence()
194 && (size1 == size2 in ossl_DER_w_end_sequence()
/freebsd/tests/sys/fs/fusefs/
H A Dnotify.cc344 ssize_t size1 = sizeof(CONTENTS1); in TEST_P() local
360 out.body.attr.attr.size = size1; in TEST_P()
364 expect_read(ino, 0, size1, size1, CONTENTS1); in TEST_P()
385 EXPECT_EQ(size1, sb.st_size); in TEST_P()
389 ASSERT_EQ(size1, read(fd, buf, size1)) << strerror(errno); in TEST_P()
390 EXPECT_EQ(0, memcmp(buf, CONTENTS1, size1)); in TEST_P()
447 ssize_t size1 = sizeof(CONTENTS1); in TEST_P() local
451 expect_lookup(FUSE_ROOT_ID, RELPATH, ino, size1, seq); in TEST_P()
462 sa.size = size1; in TEST_P()
469 ASSERT_EQ(size1, read(fd, buf, size1)) << strerror(errno); in TEST_P()
[all …]
H A Dread.cc466 size_t size1 = bufsize - 1; in TEST_F() local
485 out.body.attr.attr.size = size1; in TEST_F()
493 in.body.read.size == size1); in TEST_F()
499 out.header.len = sizeof(struct fuse_out_header) + size1; in TEST_F()
500 memmove(out.body.bytes, CONTENTS, size1); in TEST_F()
535 ASSERT_EQ(static_cast<ssize_t>(size1), read(fd, buf, bufsize)) << strerror(errno); in TEST_F()
536 ASSERT_EQ(0, memcmp(buf, CONTENTS, size1)); in TEST_F()
H A Dwrite.cc529 ssize_t size1 = strlen(CONTENTS1) + 1; in TEST_F() local
530 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()
589 uptr size1 = RoundUp(size + addr - addr1, kShadowCell); in MemoryResetRange() local
590 MemoryRangeSet(addr1, size1, Shadow::kEmpty); in MemoryResetRange()
725 uptr size1 = Min(size, RoundUp(addr, kShadowCell) - addr); in MemoryAccessRangeT() local
726 size -= size1; in MemoryAccessRangeT()
727 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/sys/powerpc/powerpc/
H A Dmachdep.c215 vm_paddr_t size1 = in cpu_startup() local
225 (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/crypto/openssl/test/
H A Dwpackettest.c390 size_t size1, size2; in test_WPACKET_init_der() local
405 || !TEST_true(WPACKET_get_total_written(&pkt, &size1)) 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 DIRMemoryMap.h138 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.cpp246 bool IRMemoryMap::AllocationsIntersect(lldb::addr_t addr1, size_t size1, in AllocationsIntersect() argument
258 return (addr2 < (addr1 + size1)) && (addr1 < (addr2 + size2)); in AllocationsIntersect()
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c911 rxb->size1 = sw_buf_sizes[i]; in t4_init_rx_buf_info()
912 rxb->zone = m_getzone(rxb->size1); in t4_init_rx_buf_info()
913 rxb->type = m_gettype(rxb->size1); in t4_init_rx_buf_info()
924 if (rxb->hwidx1 == -1 && rxb->size1 == hwsize) in t4_init_rx_buf_info()
928 if (rxb->size1 - CL_METADATA_SIZE < hwsize) in t4_init_rx_buf_info()
930 n = rxb->size1 - hwsize - CL_METADATA_SIZE; in t4_init_rx_buf_info()
949 if (s->safe_zidx == -1 && rxb->size1 == safest_rx_cluster) in t4_init_rx_buf_info()
1811 blen = rxb->size1; in get_scatter_segment()
1936 blen = rxb->size1; in skip_scatter_segment()
1967 len = rxb->size1; in get_segment_len()
[all …]
H A Dadapter.h530 uint16_t size1; /* same as size of cluster: 2K/4K/9K/16K. member
H A Dt4_netmap.c715 if (rxb->size1 == NETMAP_BUF_SIZE(na)) { in cxgbe_netmap_on()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_7zip.c4491 size_t size0, size1, size2, size3; in Bcj2_Decode() local
4497 size1 = zip->sub_stream_bytes_remaining[0]; in Bcj2_Decode()
4498 buf1 = zip->sub_stream_buff[0] + zip->sub_stream_size[0] - size1; in Bcj2_Decode()
4580 if (size1 < 4) in Bcj2_Decode()
4583 size1 -= 4; in Bcj2_Decode()
4613 zip->sub_stream_bytes_remaining[0] = size1; in Bcj2_Decode()
/freebsd/sbin/ping/
H A Dping6.c1933 int i, segments, origsegs, rthsize, size0, size1; in pr_rthdr() local
1959 size1 = inet6_rth_space(IPV6_RTHDR_TYPE_0, 1); in pr_rthdr()
1961 (size1 - size0) + 1; in pr_rthdr()
/freebsd/sys/contrib/openzfs/module/nvpair/
H A Dnvpair.c791 int size1, size2; in i_validate_nvpair() local
804 size1 = nvp->nvp_size - NVP_VALOFF(nvp); in i_validate_nvpair()
806 size1); in i_validate_nvpair()
808 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.cc5729 static void AssertStringArrayEq(int size1, CharType** array1, int size2, in AssertStringArrayEq() argument
5731 ASSERT_EQ(size1, size2) << " Array sizes different."; in AssertStringArrayEq()
5733 for (int i = 0; i != size1; i++) { in AssertStringArrayEq()