| /freebsd/bin/sh/tests/expansion/ |
| H A D | trim9.0 | 28 testcase 'set -- Q R; set -- "${*#Q}"' '1| R' 29 testcase 'set -- Q R; set -- "${*##Q}"' '1| R' 30 testcase 'set -- Q R; set -- "${*%R}"' '1|Q ' 31 testcase 'set -- Q R; set -- "${*%%R}"' '1|Q ' 32 testcase 'set -- Q R; set -- "${*#S}"' '1|Q R' 33 testcase 'set -- Q R; set -- "${*##S}"' '1|Q R' 34 testcase 'set -- Q R; set -- "${*%S}"' '1|Q R' 35 testcase 'set -- Q R; set -- "${*%%S}"' '1|Q R' 36 testcase 'set -- Q R; set -- ${*#Q}' '1|R' 37 testcase 'set -- Q R; set -- ${*##Q}' '1|R' [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Format/ |
| H A D | Format.h | 278 bool operator==(const AlignConsecutiveStyle &R) const { 279 return Enabled == R.Enabled && AcrossEmptyLines == R.AcrossEmptyLines && 280 AcrossComments == R.AcrossComments && 281 AlignCompound == R.AlignCompound && 282 AlignFunctionDeclarations == R.AlignFunctionDeclarations && 283 AlignFunctionPointers == R.AlignFunctionPointers && 284 PadOperators == R.PadOperators; 286 bool operator!=(const AlignConsecutiveStyle &R) const { 287 return !(*this == R); 429 bool operator==(const ShortCaseStatementsAlignmentStyle &R) const { [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/include/orc_rt/ |
| H A D | c_api.h | 79 orc_rt_WrapperFunctionResultInit(orc_rt_WrapperFunctionResult *R) { in orc_rt_WrapperFunctionResultInit() argument 80 R->Size = 0; in orc_rt_WrapperFunctionResultInit() 81 R->Data.ValuePtr = 0; in orc_rt_WrapperFunctionResultInit() 90 orc_rt_WrapperFunctionResult R; in orc_rt_WrapperFunctionResultAllocate() local 91 R.Size = Size; in orc_rt_WrapperFunctionResultAllocate() 93 R.Data.ValuePtr = 0; in orc_rt_WrapperFunctionResultAllocate() 94 if (Size > sizeof(R.Data.Value)) in orc_rt_WrapperFunctionResultAllocate() 95 R.Data.ValuePtr = (char *)malloc(Size); in orc_rt_WrapperFunctionResultAllocate() 96 return R; in orc_rt_WrapperFunctionResultAllocate() 104 orc_rt_WrapperFunctionResult R; in orc_rt_CreateWrapperFunctionResultFromRange() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | RecordPrinter.cpp | 15 Error RecordPrinter::visit(BufferExtents &R) { in visit() argument 16 OS << formatv("<Buffer: size = {0} bytes>", R.size()) << Delim; in visit() 20 Error RecordPrinter::visit(WallclockRecord &R) { in visit() argument 21 OS << formatv("<Wall Time: seconds = {0}.{1,0+6}>", R.seconds(), R.nanos()) in visit() 26 Error RecordPrinter::visit(NewCPUIDRecord &R) { in visit() argument 27 OS << formatv("<CPU: id = {0}, tsc = {1}>", R.cpuid(), R.tsc()) << Delim; in visit() 31 Error RecordPrinter::visit(TSCWrapRecord &R) { in visit() argument 32 OS << formatv("<TSC Wrap: base = {0}>", R.tsc()) << Delim; in visit() 36 Error RecordPrinter::visit(CustomEventRecord &R) { in visit() argument 39 R.tsc(), R.cpu(), R.size(), R.data()) in visit() [all …]
|
| H A D | FDRTraceWriter.cpp | 79 Error FDRTraceWriter::visit(BufferExtents &R) { in visit() argument 80 return writeMetadata<7u>(OS, R.size()); in visit() 83 Error FDRTraceWriter::visit(WallclockRecord &R) { in visit() argument 84 return writeMetadata<4u>(OS, R.seconds(), R.nanos()); in visit() 87 Error FDRTraceWriter::visit(NewCPUIDRecord &R) { in visit() argument 88 return writeMetadata<2u>(OS, R.cpuid(), R.tsc()); in visit() 91 Error FDRTraceWriter::visit(TSCWrapRecord &R) { in visit() argument 92 return writeMetadata<3u>(OS, R.tsc()); in visit() 95 Error FDRTraceWriter::visit(CustomEventRecord &R) { in visit() argument 96 if (auto E = writeMetadata<5u>(OS, R.size(), R.tsc(), R.cpu())) in visit() [all …]
|
| H A D | BlockIndexer.cpp | 20 Error BlockIndexer::visit(WallclockRecord &R) { in visit() argument 21 CurrentBlock.Records.push_back(&R); in visit() 22 CurrentBlock.WallclockTime = &R; in visit() 26 Error BlockIndexer::visit(NewCPUIDRecord &R) { in visit() argument 27 CurrentBlock.Records.push_back(&R); in visit() 31 Error BlockIndexer::visit(TSCWrapRecord &R) { in visit() argument 32 CurrentBlock.Records.push_back(&R); in visit() 36 Error BlockIndexer::visit(CustomEventRecord &R) { in visit() argument 37 CurrentBlock.Records.push_back(&R); in visit() 41 Error BlockIndexer::visit(CustomEventRecordV5 &R) { in visit() argument [all …]
|
| H A D | FDRTraceExpander.cpp | 28 Error TraceExpander::visit(NewCPUIDRecord &R) { in visit() argument 29 CPUId = R.cpuid(); in visit() 30 BaseTSC = R.tsc(); in visit() 34 Error TraceExpander::visit(TSCWrapRecord &R) { in visit() argument 35 BaseTSC = R.tsc(); in visit() 39 Error TraceExpander::visit(CustomEventRecord &R) { in visit() argument 42 CurrentRecord.TSC = R.tsc(); in visit() 43 CurrentRecord.CPU = R.cpu(); in visit() 47 CurrentRecord.Data = std::string(R.data()); in visit() 53 Error TraceExpander::visit(CustomEventRecordV5 &R) { in visit() argument [all …]
|
| /freebsd/sys/opencrypto/ |
| H A D | rmd160.c | 80 #define R(a, b, c, d, e, Fj, Kj, sj, rj) \ macro 179 R(a, b, c, d, e, F0, K0, 11, 0); in RMD160Transform() 180 R(e, a, b, c, d, F0, K0, 14, 1); in RMD160Transform() 181 R(d, e, a, b, c, F0, K0, 15, 2); in RMD160Transform() 182 R(c, d, e, a, b, F0, K0, 12, 3); in RMD160Transform() 183 R(b, c, d, e, a, F0, K0, 5, 4); in RMD160Transform() 184 R(a, b, c, d, e, F0, K0, 8, 5); in RMD160Transform() 185 R(e, a, b, c, d, F0, K0, 7, 6); in RMD160Transform() 186 R(d, e, a, b, c, F0, K0, 9, 7); in RMD160Transform() 187 R(c, d, e, a, b, F0, K0, 11, 8); in RMD160Transform() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
| H A D | c_api_test.cpp | 17 orc_rt_WrapperFunctionResult R; in TEST() local 18 orc_rt_WrapperFunctionResultInit(&R); in TEST() 20 EXPECT_EQ(R.Size, 0U); in TEST() 21 EXPECT_EQ(R.Data.ValuePtr, nullptr); in TEST() 24 EXPECT_EQ(orc_rt_WrapperFunctionResultGetOutOfBandError(&R), nullptr); in TEST() 27 orc_rt_DisposeWrapperFunctionResult(&R); in TEST() 33 auto R = orc_rt_WrapperFunctionResultAllocate(SmallAllocSize); in TEST() local 34 char *DataPtr = orc_rt_WrapperFunctionResultData(&R); in TEST() 41 EXPECT_EQ(R.Size, SmallAllocSize); in TEST() 43 EXPECT_EQ(R.Data.Value[I], (char)(0x55 + I)) in TEST() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanAnalysis.cpp | 44 Type *VPTypeAnalysis::inferScalarTypeForRecipe(const VPBlendRecipe *R) { in inferScalarTypeForRecipe() argument 45 Type *ResTy = inferScalarType(R->getIncomingValue(0)); in inferScalarTypeForRecipe() 46 for (unsigned I = 1, E = R->getNumIncomingValues(); I != E; ++I) { in inferScalarTypeForRecipe() 47 VPValue *Inc = R->getIncomingValue(I); in inferScalarTypeForRecipe() 55 Type *VPTypeAnalysis::inferScalarTypeForRecipe(const VPInstruction *R) { in inferScalarTypeForRecipe() argument 58 auto SetResultTyFromOp = [this, R]() { in inferScalarTypeForRecipe() 59 Type *ResTy = inferScalarType(R->getOperand(0)); in inferScalarTypeForRecipe() 60 for (unsigned Op = 1; Op != R->getNumOperands(); ++Op) { in inferScalarTypeForRecipe() 61 VPValue *OtherV = R->getOperand(Op); in inferScalarTypeForRecipe() 69 unsigned Opcode = R->getOpcode(); in inferScalarTypeForRecipe() [all …]
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangSACheckersEmitter.cpp | 26 static std::string getPackageFullName(const Record *R, StringRef Sep = "."); 28 static std::string getParentPackageFullName(const Record *R, in getParentPackageFullName() argument 30 if (const DefInit *DI = dyn_cast<DefInit>(R->getValueInit("ParentPackage"))) in getParentPackageFullName() 35 static std::string getPackageFullName(const Record *R, StringRef Sep) { in getPackageFullName() argument 36 std::string name = getParentPackageFullName(R, Sep); in getPackageFullName() 39 assert(!R->getValueAsString("PackageName").empty()); in getPackageFullName() 40 name += R->getValueAsString("PackageName"); in getPackageFullName() 44 static std::string getCheckerFullName(const Record *R, StringRef Sep = ".") { in getCheckerFullName() argument 45 std::string name = getParentPackageFullName(R, Sep); in getCheckerFullName() 48 assert(!R->getValueAsString("CheckerName").empty()); in getCheckerFullName() [all …]
|
| /freebsd/contrib/sendmail/cf/cf/ |
| H A D | submit.cf | 88 # Hosts for which relaying is permitted ($=R) 624 R$@ $@ <@> 627 R$* $: $1 <@> mark addresses 628 R$* < $* > $* <@> $: $1 < $2 > $3 unmark <addr> 629 R@ $* <@> $: @ $1 unmark @host:... 630 R$* [ IPv6 : $+ ] <@> $: $1 [ IPv6 : $2 ] unmark IPv6 addr 631 R$* :: $* <@> $: $1 :: $2 unmark node::addr 632 R:include: $* <@> $: :include: $1 unmark :include:... 633 R$* : $* [ $* ] $: $1 : $2 [ $3 ] <@> remark if leading colon 634 R$* : $* <@> $: $2 strip colon if marked [all …]
|
| /freebsd/contrib/sendmail/cf/m4/ |
| H A D | proto.m4 | 182 # Hosts for which relaying is permitted ($=R) 228 # ($R has precedence for unqualified names if `FEATURE(stickyhost)' is used) 786 R$@ $@ <@> 789 R$* $: $1 <@> mark addresses 790 R$* < $* > $* <@> $: $1 < $2 > $3 unmark <addr> 791 R@ $* <@> $: @ $1 unmark @host:... 792 R$* [ IPv6 : $+ ] <@> $: $1 [ IPv6 : $2 ] unmark IPv6 addr 793 R$* :: $* <@> $: $1 :: $2 unmark node::addr 794 R:`include': $* <@> $: :`include': $1 unmark :`include':... 795 R$* : $* [ $* ] $: $1 : $2 [ $3 ] <@> remark if leading colon [all …]
|
| /freebsd/usr.bin/systat/ |
| H A D | tcp.c | 106 #define R(row, str) mvwprintw(wnd, row, 51, str); in labeltcp() macro 107 L(0, "TCP Connections"); R(0, "TCP Packets"); in labeltcp() 108 L(1, "connections initiated"); R(1, "total packets sent"); in labeltcp() 109 L(2, "connections accepted"); R(2, "- data"); in labeltcp() 110 L(3, "connections established"); R(3, "- data (retransmit by dupack)"); in labeltcp() 111 L(4, "connections dropped"); R(4, "- data (retransmit by sack)"); in labeltcp() 112 L(5, "- in embryonic state"); R(5, "- ack-only"); in labeltcp() 113 L(6, "- on retransmit timeout"); R(6, "- window probes"); in labeltcp() 114 L(7, "- by keepalive"); R(7, "- window updates"); in labeltcp() 115 L(8, "- exceeded progress time"); R(8, "- urgent data only"); in labeltcp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenInstruction.cpp | 25 CGIOperandList::CGIOperandList(const Record *R) : TheDef(R) { in CGIOperandList() argument 30 const DagInit *OutDI = R->getValueAsDag("OutOperandList"); in CGIOperandList() 34 PrintFatalError(R->getLoc(), in CGIOperandList() 35 R->getName() + in CGIOperandList() 38 PrintFatalError(R->getLoc(), in CGIOperandList() 39 R->getName() + ": invalid output list: use 'outs'"); in CGIOperandList() 44 const DagInit *InDI = R->getValueAsDag("InOperandList"); in CGIOperandList() 47 PrintFatalError(R->getLoc(), in CGIOperandList() 48 R->getName() + in CGIOperandList() 51 PrintFatalError(R->getLoc(), in CGIOperandList() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | OptionParserEmitter.cpp | 24 static std::string getOptionName(const Record &R) { in getOptionName() argument 26 if (isa<UnsetInit>(R.getValueInit("EnumName"))) in getOptionName() 27 return R.getName().str(); in getOptionName() 29 return R.getValueAsString("EnumName").str(); in getOptionName() 48 static std::string getOptionPrefixedName(const Record &R) { in getOptionPrefixedName() argument 49 std::vector<StringRef> Prefixes = R.getValueAsListOfStrings("Prefixes"); in getOptionPrefixedName() 50 StringRef Name = R.getValueAsString("Name"); in getOptionPrefixedName() 61 const Record &R; member in MarshallingInfo 81 static constexpr const char *ValueTablePreamble = R"( 96 MarshallingInfo(const Record &R) : R(R) {} in MarshallingInfo() argument [all …]
|
| /freebsd/sys/contrib/openzfs/module/icp/algs/skein/ |
| H A D | skein_block.c | 145 #define I256(R) \ in Skein_256_Process_Block() argument 146 X0 += ks[((R) + 1) % 5]; /* inject the key schedule value */ \ in Skein_256_Process_Block() 147 X1 += ks[((R) + 2) % 5] + ts[((R) + 1) % 3]; \ in Skein_256_Process_Block() 148 X2 += ks[((R) + 3) % 5] + ts[((R) + 2) % 3]; \ in Skein_256_Process_Block() 149 X3 += ks[((R) + 4) % 5] + (R) + 1; \ in Skein_256_Process_Block() 156 #define I256(R) \ in Skein_256_Process_Block() argument 157 X0 += ks[r + (R) + 0]; /* inject the key schedule value */ \ in Skein_256_Process_Block() 158 X1 += ks[r + (R) + 1] + ts[r + (R) + 0]; \ in Skein_256_Process_Block() 159 X2 += ks[r + (R) + 2] + ts[r + (R) + 1]; \ in Skein_256_Process_Block() 160 X3 += ks[r + (R) + 3] + r + (R); \ in Skein_256_Process_Block() [all …]
|
| /freebsd/sys/crypto/skein/ |
| H A D | skein_block.c | 127 #define I256(R) \ in Skein_256_Process_Block() argument 128 X0 += ks[((R)+1) % 5]; /* inject the key schedule value */ \ in Skein_256_Process_Block() 129 X1 += ks[((R)+2) % 5] + ts[((R)+1) % 3]; \ in Skein_256_Process_Block() 130 X2 += ks[((R)+3) % 5] + ts[((R)+2) % 3]; \ in Skein_256_Process_Block() 131 X3 += ks[((R)+4) % 5] + (R)+1; \ in Skein_256_Process_Block() 138 #define I256(R) \ in Skein_256_Process_Block() argument 139 X0 += ks[r+(R)+0]; /* inject the key schedule value */ \ in Skein_256_Process_Block() 140 X1 += ks[r+(R)+1] + ts[r+(R)+0]; \ in Skein_256_Process_Block() 141 X2 += ks[r+(R)+2] + ts[r+(R)+1]; \ in Skein_256_Process_Block() 142 X3 += ks[r+(R)+3] + r+(R) ; \ in Skein_256_Process_Block() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Remarks/ |
| H A D | BitstreamRemarkSerializer.cpp | 25 static void push(SmallVectorImpl<uint64_t> &R, StringRef Str) { in push() argument 26 append_range(R, Str); in push() 30 SmallVectorImpl<uint64_t> &R, StringRef Str) { in setRecordName() argument 31 R.clear(); in setRecordName() 32 R.push_back(RecordID); in setRecordName() 33 push(R, Str); in setRecordName() 34 Bitstream.EmitRecord(bitc::BLOCKINFO_CODE_SETRECORDNAME, R); in setRecordName() 38 SmallVectorImpl<uint64_t> &R, StringRef Str) { in initBlock() argument 39 R.clear(); in initBlock() 40 R.push_back(BlockID); in initBlock() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | CodeGenIntrinsics.cpp | 262 CodeGenIntrinsic::CodeGenIntrinsic(const Record *R, in CodeGenIntrinsic() argument 264 : TheDef(R) { in CodeGenIntrinsic() 266 ArrayRef<SMLoc> DefLoc = R->getLoc(); in CodeGenIntrinsic() 276 R->getValueAsOptionalString("ClangBuiltinName").value_or(""); in CodeGenIntrinsic() 278 MSBuiltinName = R->getValueAsOptionalString("MSBuiltinName").value_or(""); in CodeGenIntrinsic() 280 TargetPrefix = R->getValueAsString("TargetPrefix"); in CodeGenIntrinsic() 281 Name = R->getValueAsString("LLVMName").str(); in CodeGenIntrinsic() 304 unsigned NumRet = R->getValueAsListInit("RetTypes")->size(); in CodeGenIntrinsic() 311 const Record *TypeInfo = R->getValueAsDef("TypeInfo"); in CodeGenIntrinsic() 328 const ListInit *PropList = R->getValueAsListInit("IntrProperties"); in CodeGenIntrinsic() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Core/ |
| H A D | Replacement.cpp | 157 Replacements::getReplacementInChangedCode(const Replacement &R) const { in getReplacementInChangedCode() 158 unsigned NewStart = getShiftedCodePosition(R.getOffset()); in getReplacementInChangedCode() 159 unsigned NewEnd = getShiftedCodePosition(R.getOffset() + R.getLength()); in getReplacementInChangedCode() 160 return Replacement(R.getFilePath(), NewStart, NewEnd - NewStart, in getReplacementInChangedCode() 161 R.getReplacementText()); in getReplacementInChangedCode() 194 for (const auto &R : Replaces) { in getCanonicalReplacements() local 196 NewReplaces.push_back(R); in getCanonicalReplacements() 201 if (PrevEnd < R.getOffset()) { in getCanonicalReplacements() 202 NewReplaces.push_back(R); in getCanonicalReplacements() 204 assert(PrevEnd == R.getOffset() && in getCanonicalReplacements() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | SValExplainer.h | 47 bool isThisObject(const SymbolicRegion *R) { in isThisObject() argument 48 if (auto S = dyn_cast<SymbolRegionValue>(R->getSymbol())) in isThisObject() 54 bool isThisObject(const ElementRegion *R) { in isThisObject() argument 55 if (const auto *Idx = R->getIndex().getAsInteger()) { in isThisObject() 56 if (const auto *SR = R->getSuperRegion()->getAs<SymbolicRegion>()) { in isThisObject() 58 bool IsNotReinterpretCast = R->getValueType() == Ty; in isThisObject() 79 const MemRegion *R = V.getRegion(); in VisitMemRegionVal() local 81 if (auto SR = dyn_cast<SymbolicRegion>(R)) { in VisitMemRegionVal() 86 return "pointer to " + Visit(R); in VisitMemRegionVal() 115 const MemRegion *R = S->getRegion(); in VisitSymbolRegionValue() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MultiHazardRecognizer.cpp | 23 std::unique_ptr<ScheduleHazardRecognizer> &&R) { in AddHazardRecognizer() argument 24 MaxLookAhead = std::max(MaxLookAhead, R->getMaxLookAhead()); in AddHazardRecognizer() 25 Recognizers.push_back(std::move(R)); in AddHazardRecognizer() 35 for (auto &R : Recognizers) { in getHazardType() local 36 auto res = R->getHazardType(SU, Stalls); in getHazardType() 44 for (auto &R : Recognizers) in Reset() local 45 R->Reset(); in Reset() 49 for (auto &R : Recognizers) in EmitInstruction() local 50 R->EmitInstruction(SU); in EmitInstruction() 54 for (auto &R : Recognizers) in EmitInstruction() local [all …]
|
| /freebsd/contrib/sendmail/cf/mailer/ |
| H A D | uucp.m4 | 35 R<@> $n errors to mailer-daemon 38 R:; <@> $@ 40 R$* < @ $* . > $* $1 < @ $2 > $3 strip trailing dots 41 R$* < @ $=w > $1 strip local name 42 R<@ $- . UUCP > : $+ $1 ! $2 convert to UUCP format 43 R<@ $+ > : $+ $1 ! $2 convert to UUCP format 44 R$* < @ $- . UUCP > $2 ! $1 convert to UUCP format 45 R$* < @ $+ > $2 ! $1 convert to UUCP format 46 R$&h ! $+ ! $+ $@ $1 ! $2 $h!...!user => ...!user 47 R$&h ! $+ $@ $&h ! $1 $h!user => $h!user [all …]
|
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | ecp_sm2p256.c | 178 static void ecp_sm2p256_point_double(P256_POINT *R, const P256_POINT *P) in ecp_sm2p256_point_double() argument 188 R->Z[i] = 0; in ecp_sm2p256_point_double() 198 ecp_sm2p256_add(R->Y, P->Y, P->Y); in ecp_sm2p256_point_double() 199 ecp_sm2p256_mul(R->Z, R->Y, P->Z); in ecp_sm2p256_point_double() 200 ecp_sm2p256_sqr(R->Y, R->Y); in ecp_sm2p256_point_double() 201 ecp_sm2p256_mul(tmp2, R->Y, P->X); in ecp_sm2p256_point_double() 202 ecp_sm2p256_sqr(R->Y, R->Y); in ecp_sm2p256_point_double() 203 ecp_sm2p256_div_by_2(R->Y, R->Y); in ecp_sm2p256_point_double() 204 ecp_sm2p256_sqr(R->X, tmp1); in ecp_sm2p256_point_double() 206 ecp_sm2p256_sub(R->X, R->X, tmp0); in ecp_sm2p256_point_double() [all …]
|