Home
last modified time | relevance | path

Searched full:size2 (Results 1 – 25 of 50) sorted by relevance

12

/src/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
47 && WPACKET_get_total_written(pkt, &size2) in int_end_context()
48 && (size1 == size2 || WPACKET_put_bytes_u8(pkt, tag)); in int_end_context()
182 * and after WPACKET_close(). We use size1 and size2 to determine if in ossl_DER_w_end_sequence()
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()
/src/tools/test/stress2/misc/
H A Dmmap33.sh53 size_t i, size1, size2;
60 fprintf(stderr, "Usage: %s filename size1 size2\n", argv[0]);
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)
/src/contrib/libdiff/compat/
H A Dmerge.c242 s -= size2; \
256 int i, length, size2, sense; in setup() local
259 size2 = size*2; in setup()
281 for (f2 = f1 + size2; f2 < last; f2 += size2) { in setup()
288 p2 = *EVAL(p2) = f1 + size2 - list1 + list2; in setup()
291 } while ((f1 += size2) < f2); in setup()
294 for (f2 = f1 + size2; f2 < l2; f2 += size2) { in setup()
312 for (f1 = list1, p2 = list2; f1 < last; f1 += size2) { in setup()
313 p2 = *EVAL(p2) = p2 + size2; in setup()
/src/lib/libc/stdlib/
H A Dmerge.c255 s -= size2; \
268 int i, length, size2, tmp, sense; in setup() local
271 size2 = size*2; in setup()
293 for (f2 = f1 + size2; f2 < last; f2 += size2) { in setup()
300 p2 = *EVAL(p2) = f1 + size2 - list1 + list2; in setup()
303 } while ((f1 += size2) < f2); in setup()
306 for (f2 = f1 + size2; f2 < l2; f2 += size2) { in setup()
324 for (f1 = list1, p2 = list2; f1 < last; f1 += size2) { in setup()
325 p2 = *EVAL(p2) = p2 + size2; in setup()
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_size.ksh39 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
/src/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerCrossOver.cpp20 const uint8_t *Data2, size_t Size2, in CrossOver() argument
22 assert(Size1 || Size2); in CrossOver()
31 while (OutPos < MaxOutSize && (Pos1 < Size1 || Pos2 < Size2)) { in CrossOver()
44 InSize = CurrentlyUsingFirstData ? Size2 : Size1; in CrossOver()
H A DFuzzerExtFunctions.def23 const uint8_t *Data2, size_t Size2,
H A DFuzzerInterface.h63 const uint8_t *Data2, size_t Size2, uint8_t *Out,
/src/contrib/libdiff/test/
H A Dtest020.left.txt54 size_t size1, size2;
84 size2 = 0;
87 err = got_object_blob_dump_to_file(&size2, NULL, NULL, f2,
103 ds.stb2.st_size = size2;
190 struct got_blob_object *blob1, const char *label1, FILE *f2, size_t size2,
231 ds.stb2.st_size = size2;
264 FILE *f2, size_t size2, const char *label2, int diff_context,
267 return diff_blob_file(NULL, blob1, label1, f2, size2, label2,
273 struct got_blob_object *blob1, FILE *f2, size_t size2)
275 return diff_blob_file(changes, blob1, NULL, f2, size2, NULL,
[all …]
H A Dtest019.left.txt53 size_t size1, size2;
84 size2 = 0;
87 err = got_object_blob_dump_to_file(&size2, NULL, NULL, f2,
180 struct got_blob_object *blob1, const char *label1, FILE *f2, size_t size2,
241 FILE *f2, size_t size2, const char *label2, int diff_context,
244 return diff_blob_file(NULL, blob1, label1, f2, size2, label2,
250 struct got_blob_object *blob1, FILE *f2, size_t size2)
252 return diff_blob_file(result, blob1, NULL, f2, size2, NULL,
H A Dtest019.right.txt68 size_t size1, size2;
104 size2 = 0;
107 err = got_object_blob_dump_to_file(&size2, NULL, NULL, f2,
222 struct got_blob_object *blob1, const char *label1, FILE *f2, size_t size2,
283 FILE *f2, size_t size2, const char *label2, int diff_context,
286 return diff_blob_file(NULL, blob1, label1, f2, size2, label2,
292 struct got_blob_object *blob1, FILE *f2, size_t size2)
294 return diff_blob_file(result, blob1, NULL, f2, size2, NULL,
H A Dtest020.right.txt68 size_t size1, size2;
104 size2 = 0;
107 err = got_object_blob_dump_to_file(&size2, NULL, NULL, f2,
222 struct got_blob_object *blob1, const char *label1, FILE *f2, size_t size2,
283 FILE *f2, size_t size2, const char *label2, int diff_context,
286 return diff_blob_file(NULL, blob1, label1, f2, size2, label2,
293 struct diff_data *data2, FILE *f2, char *p2, size_t size2,
326 p1, size1, data2, f2, p2, size2);
/src/usr.sbin/nscd/agents/
H A Dservices.c127 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()
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_010_pos.ksh158 size2=$(get_prop used $fs)
159 if [[ $size -ge $(($size2 / 10)) ]] then
161 "$(($size2 / 10)), but is using $size"
/src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp575 unsigned Size2 = 0; in breakBlockedCopies() local
581 Size2 = DispSizePair.second; in breakBlockedCopies()
587 Size2 -= OverlapDelta; in breakBlockedCopies()
596 buildCopies(Size2, LoadInst, LdDisp2, StoreInst, StDisp2, LMMOffset + Size1, in breakBlockedCopies()
598 LdDisp1 = LdDisp2 + Size2; in breakBlockedCopies()
599 StDisp1 = StDisp2 + Size2; in breakBlockedCopies()
600 LMMOffset += Size1 + Size2; in breakBlockedCopies()
601 SMMOffset += Size1 + Size2; in breakBlockedCopies()
/src/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFExpression.h37 Size2 = 1, enumerator
51 SignedSize2 = SignBit | Size2,
/src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp112 unsigned Size2 = Bytes - Size1; in EmitTargetCodeForMemset() local
115 if (Size2 == 0) in EmitTargetCodeForMemset()
121 memsetStore(DAG, DL, Chain, Dst, ByteVal, Size2, in EmitTargetCodeForMemset()
/src/lib/libefivar/
H A Duefi-dputil.c507 UINTN Size2; in AppendDevicePath() local
531 Size2 = GetDevicePathSize (SecondDevicePath); in AppendDevicePath()
532 Size = Size1 + Size2 - END_DEVICE_PATH_LENGTH; in AppendDevicePath()
543 CopyMem (DevicePath2, SecondDevicePath, Size2); in AppendDevicePath()
/src/contrib/llvm-project/libcxx/include/__algorithm/
H A Dswap_ranges.h39 // 2+1 iterators: size2 >= size1.
/src/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()
/src/tests/sys/fs/fusefs/
H A Dread.cc467 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()
/src/lib/libc/net/
H A Dgetservent.c872 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()
/src/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp32 Descriptions[DW_OP_const2u] = Desc(Op::Dwarf2, Op::Size2); in getOpDescriptions()
84 Descriptions[DW_OP_call2] = Desc(Op::Dwarf3, Op::Size2); in getOpDescriptions()
172 case Operation::Size2: in extract()
/src/sys/dev/xen/netback/
H A Dnetback_unit_tests.c1484 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()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp132 LocationSize Size2 = in runInternal() local
134 AliasResult AR = AA.alias(I1->first, Size1, I2->first, Size2); in runInternal()

12