/freebsd-src/sys/libkern/ |
H A D | inet_aton.c | 39 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-src/contrib/llvm-project/llvm/lib/TextAPI/ |
H A D | PackedVersion.cpp | 28 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.size() > 5 || Parts.empty()) in parse64() 70 if (getAsUnsignedInteger(Parts[0], 10, Num)) in parse64() [all …]
|
/freebsd-src/crypto/openssh/openbsd-compat/ |
H A D | inet_aton.c | 92 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-src/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | SymbolRemappingReader.cpp | 43 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[1] + "' " in read() 72 "as a <" + Parts[0] + ">; invalid mangling?"); in read() 75 return ReportError("Could not demangle '" + Parts[2] + "' " in read() [all …]
|
/freebsd-src/contrib/ldns/compat/ |
H A D | inet_aton.c | 96 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-src/contrib/unbound/compat/ |
H A D | inet_aton.c | 96 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-src/contrib/tcpdump/ |
H A D | strtoaddr.c | 62 u_int parts[4]; in strtoaddr() 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[ in strtoaddr() 64 u_int parts[4]; strtoaddr() local [all...] |
/freebsd-src/tools/test/stress2/tools/ |
H A D | splitall.sh | 32 # 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-src/contrib/llvm-project/clang/lib/Index/ |
H A D | CommentToXML.cpp | 82 /// Separate parts of a FullComment. 444 FullCommentParts Parts(C, Traits); in visitFullComment() 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 in visitFullComment() 443 FullCommentParts Parts(C, Traits); visitFullComment() local 820 FullCommentParts Parts(C, Traits); visitFullComment() local [all...] |
/freebsd-src/sbin/ipf/libipf/ |
H A D | inet_addr.c | 95 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-src/lib/libc/inet/ |
H A D | inet_addr.c | 105 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 D | inet_network.c | 51 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-src/lib/libc/gen/ |
H A D | modf.c | 37 } 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-src/stand/libsa/ |
H A D | net.c | 154 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-src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_trace.h | 73 // 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 D | tsan_rtl.cpp | 94 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() 155 while (!parts->Empty()) { in DoResetImpl() 156 auto part = parts->Front(); in DoResetImpl() 162 if (attached && parts in DoResetImpl() 152 auto parts = &trace->parts; DoResetImpl() local 329 auto* parts = &trace->parts; SlotDetachImpl() local [all...] |
H A D | tsan_rtl_thread.cpp | 256 // 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-src/crypto/openssl/crypto/asn1/ |
H A D | asn_mime.c | 403 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-src/crypto/openssl/util/perl/OpenSSL/Config/ |
H A D | Query.pm | 112 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-src/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | path.cpp | 162 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 in lexically_normal() [all...] |
/freebsd-src/contrib/one-true-awk/testdir/ |
H A D | funstack.awk | 187 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-src/contrib/llvm-project/llvm/lib/Support/ |
H A D | APInt.cpp | 338 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 lowHalf() 2311 assert(parts > 0); in lowHalf() 2313 for (unsigned i = 1; i < parts; i++) 2318 void APInt::tcAssign(WordType *dst, const WordType *src, unsigned parts) { 2319 for (unsigned i = 0; i < parts; i++) 2324 bool APInt::tcIsZero(const WordType *src, unsigned parts) { in tcSet() 2321 tcSet(WordType * dst,WordType part,unsigned parts) tcSet() argument 2329 tcAssign(WordType * dst,const WordType * src,unsigned parts) tcAssign() argument 2335 tcIsZero(const WordType * src,unsigned parts) tcIsZero() argument 2344 tcExtractBit(const WordType * parts,unsigned bit) tcExtractBit() argument 2349 tcSetBit(WordType * parts,unsigned bit) tcSetBit() argument 2354 tcClearBit(WordType * parts,unsigned bit) tcClearBit() argument 2360 tcLSB(const WordType * parts,unsigned n) tcLSB() argument 2373 tcMSB(const WordType * parts,unsigned n) tcMSB() argument 2424 tcAdd(WordType * dst,const WordType * rhs,WordType c,unsigned parts) tcAdd() argument 2446 tcAddPart(WordType * dst,WordType src,unsigned parts) tcAddPart() argument 2459 tcSubtract(WordType * dst,const WordType * rhs,WordType c,unsigned parts) tcSubtract() argument 2484 tcSubtractPart(WordType * dst,WordType src,unsigned parts) tcSubtractPart() argument 2497 tcNegate(WordType * dst,unsigned parts) tcNegate() argument 2595 tcMultiply(WordType * dst,const WordType * lhs,const WordType * rhs,unsigned parts) tcMultiply() argument 2636 tcDivide(WordType * lhs,const WordType * rhs,WordType * remainder,WordType * srhs,unsigned parts) tcDivide() argument 2730 tcCompare(const WordType * lhs,const WordType * rhs,unsigned parts) tcCompare() argument [all...] |
H A D | APFloat.cpp | 159 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 in semanticsSizeInBits() 310 However, whilst the result may require only this many parts, in semanticsIntSizeInBits() 314 requires two parts to hold the single-part result). So we add an in semanticsIntSizeInBits() 646 lostFractionThroughTruncation(const APFloatBase::integerPart *parts, in shiftRight() 652 lsb = APInt::tcLSB(parts, partCount); in combineLostFractions() 660 APInt::tcExtractBit(parts, bits - 1)) in combineLostFractions() 668 shiftRight(APFloatBase::integerPart *dst, unsigned int parts, unsigned int bits) 672 lost_fraction = lostFractionThroughTruncation(dst, parts, bits); in HUerrBound() 674 APInt::tcShiftRight(dst, parts, bit in HUerrBound() 615 lostFractionThroughTruncation(const APFloatBase::integerPart * parts,unsigned int partCount,unsigned int bits) lostFractionThroughTruncation() argument 637 shiftRight(APFloatBase::integerPart * dst,unsigned int parts,unsigned int bits) shiftRight() argument 685 ulpsFromBoundary(const APFloatBase::integerPart * parts,unsigned int bits,bool isNearest) ulpsFromBoundary() argument 996 const integerPart *Parts = significandParts(); isSignificandAllOnes() local 1018 const integerPart *Parts = significandParts(); isSignificandAllOnesExceptLSB() local 1045 const integerPart *Parts = significandParts(); isSignificandAllZeros() local 1066 const integerPart *Parts = significandParts(); isSignificandAllZerosExceptMSB() local 1184 integerPart *parts; addSignificand() local 1198 integerPart *parts; subtractSignificand() local 1489 tcSetLeastSignificantBits(APInt::WordType * dst,unsigned parts,unsigned bits) tcSetLeastSignificantBits() argument 2586 convertToSignExtendedInteger(MutableArrayRef<integerPart> parts,unsigned int width,bool isSigned,roundingMode rounding_mode,bool * isExact) const convertToSignExtendedInteger() argument 2699 convertToInteger(MutableArrayRef<integerPart> parts,unsigned int width,bool isSigned,roundingMode rounding_mode,bool * isExact) const convertToInteger() argument 2803 convertFromZeroExtendedInteger(const integerPart * parts,unsigned int width,bool isSigned,roundingMode rounding_mode) convertFromZeroExtendedInteger() argument 2916 unsigned int parts, pow5PartCount; roundSignificandWithExponent() local 4299 const integerPart *Parts = significandParts(); getExactLog2Abs() local 4420 integerPart *Parts = significandParts(); next() local 4442 integerPart *Parts = significandParts(); next() local 5247 SmallVector<uint64_t, 4> parts(result.getNumWords()); convertToInteger() local [all...] |
/freebsd-src/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | HLSL.cpp | 71 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-src/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | adi,ad9467.yaml | 13 The AD9467 and the parts similar with it, are high-speed analog-to-digital 15 per second (MSPS). Some parts support higher MSPS and some 18 All the parts support the register map described by Application Note AN-877
|