Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/freebsd/contrib/unbound/compat/
H A Dinet_aton.c96 unsigned int parts[4]; in inet_aton() local
97 unsigned int *pp = parts; in inet_aton()
134 if (pp >= parts + 3) in inet_aton()
150 n = pp - parts + 1; in inet_aton()
160 if ((val > 0xffffff) || (parts[0] > 0xff)) in inet_aton()
162 val |= parts[0] << 24; in inet_aton()
166 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) in inet_aton()
168 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton()
172 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff)) in inet_aton()
174 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in inet_aton()
/freebsd/crypto/openssh/openbsd-compat/
H A Dinet_aton.c92 u_int parts[4]; in inet_aton() local
93 u_int *pp = parts; in inet_aton()
130 if (pp >= parts + 3) in inet_aton()
146 n = pp - parts + 1; in inet_aton()
156 if ((val > 0xffffff) || (parts[0] > 0xff)) in inet_aton()
158 val |= parts[0] << 24; in inet_aton()
162 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) in inet_aton()
164 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton()
168 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff)) in inet_aton()
170 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in inet_aton()
/freebsd/contrib/ldns/compat/
H A Dinet_aton.c96 unsigned int parts[4]; in inet_aton() local
97 unsigned int *pp = parts; in inet_aton()
134 if (pp >= parts + 3) in inet_aton()
150 n = pp - parts + 1; in inet_aton()
160 if ((val > 0xffffff) || (parts[0] > 0xff)) in inet_aton()
162 val |= parts[0] << 24; in inet_aton()
166 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) in inet_aton()
168 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton()
172 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff)) in inet_aton()
174 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in inet_aton()
/freebsd/sys/libkern/
H A Dinet_aton.c39 u_long parts[4]; in inet_aton() local
71 parts[n] = val; in inet_aton()
110 if (val > 0xffffff || parts[0] > 0xff) in inet_aton()
112 val |= parts[0] << 24; in inet_aton()
116 if (val > 0xffff || parts[0] > 0xff || parts[1] > 0xff) in inet_aton()
118 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton()
122 if (val > 0xff || parts[0] > 0xff || parts[1] > 0xff || in inet_aton()
123 parts[2] > 0xff) in inet_aton()
125 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in inet_aton()
/freebsd/lib/libc/inet/
H A Dinet_addr.c105 u_int8_t parts[4]; in inet_aton() local
106 u_int8_t *pp = parts; in inet_aton()
151 if (pp >= parts + 3 || val > 0xffU) in inet_aton()
172 n = pp - parts + 1; in inet_aton()
180 val |= (uint32_t)parts[0] << 24; in inet_aton()
186 val |= ((uint32_t)parts[0] << 24) | (parts[1] << 16); in inet_aton()
192 val |= ((uint32_t)parts[0] << 24) | (parts[1] << 16) | in inet_aton()
193 (parts[2] << 8); in inet_aton()
H A Dinet_network.c51 in_addr_t parts[4], *pp = parts; in inet_network() local
80 if (pp >= parts + 4 || val > 0xffU) in inet_network()
89 n = pp - parts; in inet_network()
94 val |= parts[i] & 0xff; in inet_network()
/freebsd/sbin/ipf/libipf/
H A Dinet_addr.c95 u_int parts[4]; in inet_aton() local
96 register u_int *pp = parts; in inet_aton()
133 if (pp >= parts + 3) in inet_aton()
149 n = pp - parts + 1; in inet_aton()
161 val |= parts[0] << 24; in inet_aton()
167 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton()
173 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in inet_aton()
/freebsd/contrib/tcpdump/
H A Dstrtoaddr.c62 u_int parts[4]; in strtoaddr() local
63 u_int *pp = parts; in strtoaddr()
98 if (pp >= parts + 3) in strtoaddr()
115 n = pp - parts + 1; in strtoaddr()
124 if ((parts[0] | parts[1] | parts[2] | val) > 0xff) in strtoaddr()
129 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in strtoaddr()
/freebsd/stand/libsa/
H A Dnet.c154 u_int parts[4]; in inet_addr() local
155 u_int *pp = parts; in inet_addr()
179 if (pp >= parts + 3 || val > 0xff) in inet_addr()
195 n = pp - parts + 1; in inet_addr()
204 val |= parts[0] << 24; in inet_addr()
210 val |= (parts[0] << 24) | (parts[1] << 16); in inet_addr()
216 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in inet_addr()
/freebsd/lib/libc/gen/
H A Dmodf.c37 } parts; member
51 } parts; member
62 (ix0) = ew_u.parts.msw; \
63 (ix1) = ew_u.parts.lsw; \
72 (i) = gh_u.parts.msw; \
80 iw_u.parts.msw = (ix0); \
81 iw_u.parts.lsw = (ix1); \
/freebsd/tools/test/stress2/tools/
H A Dsplitall.sh38 parts=$2
39 [ $pno -lt 1 -o $pno -gt $parts -o $parts -lt 1 ] &&
40 { echo "<part number> must be between 1 and <parts> ($parts)"; exit 1; }
54 (cd /tmp; echo $lst | tr ' ' '\n' | split -d -l $((n / parts + 1)) - str)
/freebsd/crypto/openssl/util/perl/OpenSSL/Config/
H A DQuery.pm112 my %parts = ( %{$self->get_sources(@sources)},
114 my @parts = map { @{$_} } values %parts;
125 ( ( map { @{$_} } values %parts ),
126 ( grep { !defined($parts{$_}) } @sources, @generator ) );
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp94 TracePart* part1 = trace1->parts.PopFront(); in TracePartAlloc()
96 if (trace1->parts_allocated > trace1->parts.Size()) { in TracePartAlloc()
98 trace1->parts_allocated - trace1->parts.Size(); in TracePartAlloc()
99 trace1->parts_allocated = trace1->parts.Size(); in TracePartAlloc()
128 CHECK_EQ(trace->parts.PopFront(), part); in TraceResetForTesting()
153 auto parts = &trace->parts; in DoResetImpl() local
155 while (!parts->Empty()) { in DoResetImpl()
156 auto part = parts->Front(); in DoResetImpl()
162 if (attached && parts->Size() == 1) { in DoResetImpl()
176 parts->Remove(part); in DoResetImpl()
[all …]
H A Dtsan_rtl_thread.cpp257 auto parts = &trace.parts; in OnFinished() local
259 CHECK(parts->Queued(trace.local_head)); in OnFinished()
261 trace.local_head = parts->Next(trace.local_head); in OnFinished()
263 ctx->trace_part_recycle_finished += parts->Size(); in OnFinished()
265 ctx->trace_part_finished_excess += parts->Size(); in OnFinished()
268 parts->Size() > 1) { in OnFinished()
269 ctx->trace_part_finished_excess += parts->Size() - 1; in OnFinished()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp338 static void tcComplement(APInt::WordType *dst, unsigned parts) { in tcComplement() argument
339 for (unsigned i = 0; i < parts; i++) in tcComplement()
2310 void APInt::tcSet(WordType *dst, WordType part, unsigned parts) { in tcSet() argument
2311 assert(parts > 0); in tcSet()
2313 for (unsigned i = 1; i < parts; i++) in tcSet()
2318 void APInt::tcAssign(WordType *dst, const WordType *src, unsigned parts) { in tcAssign() argument
2319 for (unsigned i = 0; i < parts; i++) in tcAssign()
2324 bool APInt::tcIsZero(const WordType *src, unsigned parts) { in tcIsZero() argument
2325 for (unsigned i = 0; i < parts; i++) in tcIsZero()
2333 int APInt::tcExtractBit(const WordType *parts, unsigned bit) { in tcExtractBit() argument
[all …]
H A DAPFloat.cpp646 lostFractionThroughTruncation(const APFloatBase::integerPart *parts, in lostFractionThroughTruncation() argument
652 lsb = APInt::tcLSB(parts, partCount); in lostFractionThroughTruncation()
660 APInt::tcExtractBit(parts, bits - 1)) in lostFractionThroughTruncation()
668 shiftRight(APFloatBase::integerPart *dst, unsigned int parts, unsigned int bits) in shiftRight() argument
672 lost_fraction = lostFractionThroughTruncation(dst, parts, bits); in shiftRight()
674 APInt::tcShiftRight(dst, parts, bits); in shiftRight()
716 ulpsFromBoundary(const APFloatBase::integerPart *parts, unsigned int bits, in ulpsFromBoundary() argument
727 …part = parts[count] & (~(APFloatBase::integerPart) 0 >> (APFloatBase::integerPartWidth - partBits)… in ulpsFromBoundary()
743 if (parts[count]) in ulpsFromBoundary()
746 return parts[0]; in ulpsFromBoundary()
[all …]
/freebsd/lib/msun/src/
H A Dmath_private.h99 } parts; member
117 } parts; member
132 (ix0) = ew_u.parts.msw; \
133 (ix1) = ew_u.parts.lsw; \
150 (i) = gh_u.parts.msw; \
159 (i) = gl_u.parts.lsw; \
167 iw_u.parts.msw = (ix0); \
168 iw_u.parts.lsw = (ix1); \
186 sh_u.parts.msw = (v); \
196 sl_u.parts.lsw = (v); \
/freebsd/crypto/openssl/crypto/asn1/
H A Dasn_mime.c405 STACK_OF(BIO) *parts = NULL; in SMIME_read_ASN1_ex()
436 ret = multi_split(bio, flags, prm->param_value, &parts); in SMIME_read_ASN1_ex()
438 if (!ret || (sk_BIO_num(parts) != 2)) { in SMIME_read_ASN1_ex()
440 sk_BIO_pop_free(parts, BIO_vfree); in SMIME_read_ASN1_ex()
445 asnin = sk_BIO_value(parts, 1); in SMIME_read_ASN1_ex()
449 sk_BIO_pop_free(parts, BIO_vfree); in SMIME_read_ASN1_ex()
459 sk_BIO_pop_free(parts, BIO_vfree); in SMIME_read_ASN1_ex()
468 sk_BIO_pop_free(parts, BIO_vfree); in SMIME_read_ASN1_ex()
475 sk_BIO_pop_free(parts, BIO_vfree); in SMIME_read_ASN1_ex()
480 *bcont = sk_BIO_value(parts, 0); in SMIME_read_ASN1_ex()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectRegexCommand.cpp36 llvm::SmallVector<llvm::StringRef, 4> parts; in SubstituteVariables() local
37 input.split(parts, '%'); in SubstituteVariables()
39 output << parts[0]; in SubstituteVariables()
40 for (llvm::StringRef part : drop_begin(parts)) { in SubstituteVariables()
/freebsd/usr.bin/sort/
H A Dfile.c1379 merge_list_parts(struct sort_list **parts, size_t n, const char *fn) in merge_list_parts() argument
1385 merge_sub_lists(parts, n, f_out); in merge_list_parts()
1413 struct sort_list **parts; in mt_sort() local
1417 parts = sort_malloc(sizeof(struct sort_list*) * nthreads); in mt_sort()
1428 parts[i] = sort_malloc(sizeof(struct sort_list)); in mt_sort()
1429 parts[i]->list = list->list + cstart; in mt_sort()
1430 parts[i]->memsize = 0; in mt_sort()
1431 parts[i]->sub_list_pos = i; in mt_sort()
1436 parts[i]->count = sz; in mt_sort()
1438 parts[i]->size = parts[i]->count; in mt_sort()
[all …]
/freebsd/sbin/fdisk/
H A Dfdisk.c82 struct dos_partition parts[NDOSPART]; member
352 partp = &mboot.parts[i]; in main()
373 partp = &mboot.parts[i]; in main()
390 partp = &mboot.parts[0]; in main()
474 print_part(&mboot.parts[i - 1]); in print_s0()
543 struct dos_partition *partp = &mboot.parts[0]; in init_sector0()
561 struct dos_partition *partp = &mboot.parts[i - 1]; in change_part()
633 struct dos_partition *partp = &mboot.parts[0]; in change_active()
877 &mboot.parts[i]); in read_s0()
892 &mboot.parts[i]); in write_s0()
[all …]
/freebsd/contrib/ofed/libibverbs/
H A Ddevice.c117 uint16_t parts[4]; in __ibv_get_device_guid() local
125 parts, parts + 1, parts + 2, parts + 3) != 4) in __ibv_get_device_guid()
129 guid = (guid << 16) | parts[i]; in __ibv_get_device_guid()
/freebsd/contrib/bmake/unit-tests/
H A Dposix1.exp16 Directory and filename parts of local variables
56 Directory and filename parts of local variables
102 Directory and filename parts of local variables
149 Directory and filename parts of local variables
/freebsd/stand/efi/gptboot/
H A Dproto.c228 int parts; in choice_protocol() local
255 parts = 0; in choice_protocol()
257 parts++; in choice_protocol()
274 if (parts == 0) in choice_protocol()
/freebsd/libexec/bootpd/
H A Dreadfile.c1635 u_int32 parts[4], *pp; in prs_inetaddr() local
1663 pp = parts; in prs_inetaddr()
1670 if (pp < (parts + 4)) { in prs_inetaddr()
1687 n = pp - parts; in prs_inetaddr()
1690 value = parts[0]; in prs_inetaddr()
1693 value = (parts[0] << 24) | (parts[1] & 0xFFFFFF); in prs_inetaddr()
1696 value = (parts[0] << 24) | ((parts[1] & 0xFF) << 16) | in prs_inetaddr()
1697 (parts[2] & 0xFFFF); in prs_inetaddr()
1700 value = (parts[0] << 24) | ((parts[1] & 0xFF) << 16) | in prs_inetaddr()
1701 ((parts[2] & 0xFF) << 8) | (parts[3] & 0xFF); in prs_inetaddr()

12345678910>>...14