Home
last modified time | relevance | path

Searched full:parts (Results 1 – 25 of 2460) sorted by relevance

12345678910>>...99

/freebsd/sys/libkern/
H A Dinet_aton.c39 u_long parts[4]; in inet_aton() local
71 parts[n] = val; in inet_aton()
100 /* Concoct the address according to the number of parts specified. */ 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/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()
144 * the number of parts specified. 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()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSymbolRemappingReader.cpp43 SmallVector<StringRef, 4> Parts; in read() local
44 Line.split(Parts, ' ', /*MaxSplits*/-1, /*KeepEmpty*/false); in read()
46 if (Parts.size() != 3) in read()
51 std::optional<FK> FragmentKind = StringSwitch<std::optional<FK>>(Parts[0]) in read()
58 " found '" + Parts[0] + "'"); in read()
61 switch (Canonicalizer.addEquivalence(*FragmentKind, Parts[1], Parts[2])) { in read()
66 return ReportError("Manglings '" + Parts[1] + "' and '" + Parts[2] + "' " in read()
71 return ReportError("Could not demangle '" + Parts[ in read()
[all...]
/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()
148 * the number of parts specified. 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()
[all …]
/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()
148 * the number of parts specified. 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()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DPackedVersion.cpp28 SmallVector<StringRef, 3> Parts; in parse32() local
29 SplitString(Str, Parts, "."); in parse32()
31 if (Parts.size() > 3 || Parts.empty()) in parse32()
35 if (getAsUnsignedInteger(Parts[0], 10, Num)) in parse32()
43 for (unsigned i = 1, ShiftNum = 8; i < Parts.size(); ++i, ShiftNum -= 8) { in parse32()
44 if (getAsUnsignedInteger(Parts[i], 10, Num)) in parse32()
63 SmallVector<StringRef, 5> Parts; in parse64() local
64 SplitString(Str, Parts, "."); in parse64()
66 if (Parts in parse64()
[all...]
/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()
111 * Find the number of parts specified. in strtoaddr()
115 n = pp - parts + 1; in strtoaddr()
119 * parts[0-2] were set to the first 3 parts of the address; in strtoaddr()
124 if ((parts[0] | parts[1] | parts[2] | val) > 0xff) in strtoaddr()
127 * Add the other three parts to val. in strtoaddr()
129 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in strtoaddr()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp82 /// Separate parts of a FullComment.
444 FullCommentParts Parts(C, Traits); in visitFullComment() local
447 if (Parts.Headerfile) in visitFullComment()
448 visit(Parts.Headerfile); in visitFullComment()
449 if (Parts.Brief) in visitFullComment()
450 visit(Parts.Brief); in visitFullComment()
451 else if (Parts.FirstParagraph) { in visitFullComment()
453 visitNonStandaloneParagraphComment(Parts.FirstParagraph); in visitFullComment()
458 for (unsigned i = 0, e = Parts.MiscBlocks.size(); i != e; ++i) { in visitFullComment()
459 const Comment *C = Parts.MiscBlocks[i]; in visitFullComment()
[all …]
/freebsd/tools/test/stress2/tools/
H A Dsplitall.sh32 # Split the test list up in n parts and test one of them.
35 [ $# -ne 2 ] && echo "Usage $0 <part number> <parts>" && exit 1
38 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/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()
147 * the number of parts specified. 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/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()
170 * the number of parts specified. 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/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()
193 * the number of parts specified. 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/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_trace.h73 // Note: precisely specifying the unused parts of the bitfield is critical for
78 // constant parts).
168 INode trace_parts; // in Trace::parts
173 // There are a lot of goroutines in Go, so we use smaller parts.
191 IList<TraceHeader, &TraceHeader::trace_parts, TracePart> parts; member
196 // Number of trace parts allocated on behalf of this trace specifically.
197 // Total number of parts in this trace can be larger if we retake some
198 // parts from other traces.
203 // We need at least 3 parts per thread, because we want to keep at last
204 // 2 parts per thread that are not queued into ctx->trace_part_recycle
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()
169 // within this part, because switching parts is protected by in DoResetImpl()
[all …]
H A Dtsan_rtl_thread.cpp256 // Queue all trace parts into the global recycle queue. in OnFinished()
257 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/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/crypto/openssl/crypto/asn1/
H A Dasn_mime.c403 STACK_OF(BIO) *parts = NULL; in SMIME_read_ASN1_ex()
427 /* Split into two parts */ in SMIME_read_ASN1_ex()
434 ret = multi_split(bio, flags, prm->param_value, &parts); in SMIME_read_ASN1_ex()
436 if (!ret || (sk_BIO_num(parts) != 2)) { in SMIME_read_ASN1_ex()
438 sk_BIO_pop_free(parts, BIO_vfree); in SMIME_read_ASN1_ex()
443 asnin = sk_BIO_value(parts, 1); in SMIME_read_ASN1_ex()
447 sk_BIO_pop_free(parts, BIO_vfree); in SMIME_read_ASN1_ex()
457 sk_BIO_pop_free(parts, BIO_vfree); in SMIME_read_ASN1_ex()
466 sk_BIO_pop_free(parts, BIO_vfree); in SMIME_read_ASN1_ex()
473 sk_BIO_pop_free(parts, BIO_vfree); in SMIME_read_ASN1_ex()
[all …]
/freebsd/crypto/openssl/util/perl/OpenSSL/Config/
H A DQuery.pm112 my %parts = ( %{$self->get_sources(@sources)},
114 my @parts = map { @{$_} } values %parts;
119 # if there are any generator parts, we ignore it, because that means
125 ( ( map { @{$_} } values %parts ),
126 ( grep { !defined($parts{$_}) } @sources, @generator ) );
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dpath.cpp162 vector<PartKindPair> Parts; in lexically_normal() local
164 Parts.reserve(32); in lexically_normal()
166 // Track the total size of the parts as we collect them. This allows the in lexically_normal()
171 Parts.emplace_back(P, K); in lexically_normal()
174 if (Parts.empty()) in lexically_normal()
176 return Parts.back().second; in lexically_normal()
198 NewPathSize -= Parts.back().first.size(); in lexically_normal()
199 Parts.pop_back(); in lexically_normal()
215 if (Parts.empty()) in lexically_normal()
223 Result.__pn_.reserve(Parts.size() + NewPathSize + NeedTrailingSep); in lexically_normal()
[all …]
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.awk187 function do_end_entry( k,n,parts)
189 n = split(Author,parts," and ")
193 print_toc_line(parts[k] " and", "", "")
197 print_toc_line(parts[n], Title, html_begin_pages() Pages html_end_pages())
199 do_long_title(parts[n], Title, html_begin_pages() Pages html_end_pages())
232 function do_month( k,n,parts)
238 n = split(Month,parts," */ *")
242 ((parts[k] in Month_expansion) ? Month_expansion[parts[k]] : parts[k])
312 function do_URL( parts)
315 split(Url,parts,"[,;]") # in case we have multiple URLs
[all …]
/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()
602 // We can check that all parts of an integer are equal by making use of a in isSplat()
2309 /// out higher parts.
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
[all …]
H A DAPFloat.cpp159 Therefore it has two 53-bit mantissa parts that aren't necessarily adjacent
305 /* A tight upper bound on number of parts required to hold the value
310 However, whilst the result may require only this many parts,
314 requires two parts to hold the single-part result). So we add an
646 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()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHLSL.cpp71 SmallVector<StringRef, 3> Parts; in tryParseProfile() local
72 Profile.split(Parts, "_"); in tryParseProfile()
73 if (Parts.size() != 3) in tryParseProfile()
77 StringSwitch<Triple::EnvironmentType>(Parts[0]) in tryParseProfile()
92 if (llvm::getAsUnsignedInteger(Parts[1], 0, Major)) in tryParseProfile()
96 if (Parts[2] == "x" && Kind == Triple::EnvironmentType::Library) in tryParseProfile()
98 else if (llvm::getAsUnsignedInteger(Parts[2], 0, Minor)) in tryParseProfile()
/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()

12345678910>>...99