Home
last modified time | relevance | path

Searched full:size1 (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/crypto/openssl/crypto/
H A Dder_writer.c31 * and after WPACKET_close(). We use size1 and size2 to determine if in int_end_context()
35 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()
183 * and after WPACKET_close(). We use size1 and size2 to determine if in ossl_DER_w_end_sequence()
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/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerCrossOver.cpp19 size_t MutationDispatcher::CrossOver(const uint8_t *Data1, size_t Size1, in CrossOver() argument
22 assert(Size1 || Size2); in CrossOver()
28 size_t InSize = Size1; in CrossOver()
31 while (OutPos < MaxOutSize && (Pos1 < Size1 || Pos2 < Size2)) { in CrossOver()
44 InSize = CurrentlyUsingFirstData ? Size2 : Size1; in CrossOver()
/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 …]
/freebsd/tools/test/stress2/misc/
H A Dmmap33.sh53 size_t i, size1, size2;
60 fprintf(stderr, "Usage: %s filename size1 size2\n", argv[0]);
65 size1 = atoi(argv[2]);
69 for (i = 0; i < size1; i++)
/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/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp111 unsigned Size1 = Bytes == 16 ? 8 : llvm::bit_floor(Bytes); in EmitTargetCodeForMemset() local
112 unsigned Size2 = Bytes - Size1; in EmitTargetCodeForMemset()
113 SDValue Chain1 = memsetStore(DAG, DL, Chain, Dst, ByteVal, Size1, in EmitTargetCodeForMemset()
118 DAG.getConstant(Size1, DL, PtrVT)); in EmitTargetCodeForMemset()
119 DstPtrInfo = DstPtrInfo.getWithOffset(Size1); in EmitTargetCodeForMemset()
122 std::min(Alignment, Align(Size1)), DstPtrInfo); in EmitTargetCodeForMemset()
/freebsd/lib/libefivar/
H A Duefi-dputil.c524 UINTN Size1; in AppendDevicePath() local
548 Size1 = GetDevicePathSize (FirstDevicePath); in AppendDevicePath()
550 Size = Size1 + Size2 - END_DEVICE_PATH_LENGTH; in AppendDevicePath()
555 NewDevicePath = CopyMem (NewDevicePath, FirstDevicePath, Size1); in AppendDevicePath()
560 (Size1 - END_DEVICE_PATH_LENGTH)); in AppendDevicePath()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp99 // The mergeLoad/Store algorithms could have Size0 * Size1 complexity,
100 // where Size0 and Size1 are the #instructions on the two sides of
102 // Control is enforced by the check Size0 * Size1 < MagicCompileTimeControl.
319 int Size1 = std::distance(InstsNoDbg.begin(), InstsNoDbg.end()); in mergeStores() local
334 if (NStores * Size1 >= MagicCompileTimeControl) in mergeStores()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp574 unsigned Size1 = 0; in breakBlockedCopies() local
589 Size1 = LdDisp2 - LdDisp1; in breakBlockedCopies()
593 buildCopies(Size1, LoadInst, LdDisp1, StoreInst, StDisp1, LMMOffset, in breakBlockedCopies()
596 buildCopies(Size2, LoadInst, LdDisp2, StoreInst, StDisp2, LMMOffset + Size1, in breakBlockedCopies()
597 SMMOffset + Size1); in breakBlockedCopies()
600 LMMOffset += Size1 + Size2; in breakBlockedCopies()
601 SMMOffset += Size1 + Size2; in breakBlockedCopies()
/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.cpp419 // Checks if addr1|size1 is fully contained in addr2|size2.
423 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/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp119 LocationSize Size1 = LdSt1->getMemSize(); in aliasIsKnownForLoadStore() local
131 if (PtrDiff >= 0 && Size1.hasValue() && !Size1.isScalable()) { in aliasIsKnownForLoadStore()
135 IsAlias = !((int64_t)Size1.getValue() <= PtrDiff); in aliasIsKnownForLoadStore()
275 LocationSize Size1 = MUC1.NumBytes; in instMayAlias() local
277 Size1.hasValue()) { in instMayAlias()
283 Size1.getValue().getKnownMinValue() + SrcValOffset1 - MinOffset; in instMayAlias()
287 Size1.isScalable() ? Size1 : LocationSize::precise(Overlap1); in instMayAlias()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp262 LocationSize Size1 = MO->getSize(); in EmitInstruction() local
263 if (Size1.hasValue() && Size1.getValue() > 4) in EmitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp30 Descriptions[DW_OP_const1u] = Desc(Op::Dwarf2, Op::Size1); in getOpDescriptions()
43 Descriptions[DW_OP_pick] = Desc(Op::Dwarf2, Op::Size1); in getOpDescriptions()
80 Descriptions[DW_OP_deref_size] = Desc(Op::Dwarf2, Op::Size1); in getOpDescriptions()
81 Descriptions[DW_OP_xderef_size] = Desc(Op::Dwarf2, Op::Size1); in getOpDescriptions()
167 case Operation::Size1: in extract()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFExpression.h36 Size1 = 0, enumerator
50 SignedSize1 = SignBit | Size1,
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_add/
H A Dzpool_add.cfg46 export SIZE1="250m"
/freebsd/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare.cfg43 export SIZE1="80m"
H A Dhotspare_replace_002_neg.ksh80 VDEV_SIZE=$SIZE1
/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/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create.cfg48 export SIZE1="250m"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create.cfg48 export SIZE1="$(($MINVDEVSIZE * 2 / (1024 * 1024)))m"
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dswap_ranges.h39 // 2+1 iterators: size2 >= size1.
/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.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/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileMatcher.cpp190 int32_t Size1 = AnchorList1.size(), Size2 = AnchorList2.size(), in longestCommonSequence() local
191 MaxDepth = Size1 + Size2; in longestCommonSequence()
203 int32_t X = Size1, Y = Size2; in longestCommonSequence()
249 while (X < Size1 && Y < Size2 && in longestCommonSequence()
257 if (X >= Size1 && Y >= Size2) { in longestCommonSequence()

123