Home
last modified time | relevance | path

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

12

/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.cc338 ssize_t size1 = sizeof(CONTENTS1); in TEST_F() local
354 out.body.attr.attr.size = size1; in TEST_F()
358 expect_read(ino, 0, size1, size1, CONTENTS1); in TEST_F()
379 EXPECT_EQ(size1, sb.st_size); in TEST_F()
383 ASSERT_EQ(size1, read(fd, buf, size1)) << strerror(errno); in TEST_F()
384 EXPECT_EQ(0, memcmp(buf, CONTENTS1, size1)); in TEST_F()
420 ssize_t size1 = sizeof(CONTENTS1); in TEST_F() local
424 expect_lookup(FUSE_ROOT_ID, RELPATH, ino, size1, seq); in TEST_F()
435 sa.size = size1; in TEST_F()
442 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()
713 uptr size1 = Min(size, RoundUp(addr, kShadowCell) - addr); in MemoryAccessRangeT() local
714 size -= size1; in MemoryAccessRangeT()
715 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/contrib/libdiff/test/
H A Dtest020.right.txt68 size_t size1, size2;
94 size1 = 0;
97 err = got_object_blob_dump_to_file(&size1, NULL, NULL, f1,
229 size_t size1;
235 size1 = 0;
241 err = got_object_blob_dump_to_file(&size1, NULL, NULL, f1,
300 size_t size1, size;
306 size1 = 0;
312 err = got_object_blob_dump_to_file(&size1, NULL, NULL, f1,
326 p1, size1, data2, f2, p2, size2);
[all …]
H A Dtest020.left.txt54 size_t size1, size2;
74 size1 = 0;
77 err = got_object_blob_dump_to_file(&size1, NULL, NULL, f1,
98 ds.stb1.st_size = size1;
199 size_t size1;
205 size1 = 0;
211 err = got_object_blob_dump_to_file(&size1, NULL, NULL, f1,
227 ds.stb1.st_size = size1;
847 FILE *f1, size_t size1, const char *label1,
875 (*ds)->stb1.st_size = size1;
H A Dtest019.left.txt53 size_t size1, size2;
74 size1 = 0;
77 err = got_object_blob_dump_to_file(&size1, NULL, NULL, f1,
187 size_t size1;
193 size1 = 0;
199 err = got_object_blob_dump_to_file(&size1, NULL, NULL, f1,
H A Dtest019.right.txt68 size_t size1, size2;
94 size1 = 0;
97 err = got_object_blob_dump_to_file(&size1, NULL, NULL, f1,
229 size_t size1;
235 size1 = 0;
241 err = got_object_blob_dump_to_file(&size1, NULL, NULL, f1,
H A Dexpect019.diff31 size_t size1, size2;
/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.c216 vm_paddr_t size1 = in cpu_startup() local
226 (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/sys/contrib/device-tree/Bindings/mtd/
H A Dqcom,nandc.yaml61 It's in the form of <offset1 size1 offset2 size2 offset3 ...>
/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()
1771 blen = rxb->size1; in get_scatter_segment()
1896 blen = rxb->size1; in skip_scatter_segment()
1927 len = rxb->size1; in get_segment_len()
6287 if (rxb->size1 < PAGE_SIZE && in find_refill_source()
6288 rxb->size1 < largest_rx_cluster) in find_refill_source()
6290 if (rxb->size1 > largest_rx_cluster) in find_refill_source()
6303 if (rxb->size1 >= maxp) in find_refill_source()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_7zip.c4019 size_t size0, size1, size2, size3; in Bcj2_Decode() local
4025 size1 = zip->sub_stream_bytes_remaining[0]; in Bcj2_Decode()
4026 buf1 = zip->sub_stream_buff[0] + zip->sub_stream_size[0] - size1; in Bcj2_Decode()
4108 if (size1 < 4) in Bcj2_Decode()
4111 size1 -= 4; in Bcj2_Decode()
4146 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.c3896 vm_pindex_t offidxstart, offidxend, size1; in vm_map_entry_delete() local
3943 size1 = object->size; in vm_map_entry_delete()
3946 size1 -= object->size; in vm_map_entry_delete()
3947 KASSERT(object->charge >= ptoa(size1), in vm_map_entry_delete()
3949 swap_release_by_cred(ptoa(size1), in vm_map_entry_delete()
3951 object->charge -= ptoa(size1); in vm_map_entry_delete()

12