/external/crcalc/src/com/hp/creals/ |
D | UnaryCRFunction.java | 55 abstract public CR execute(CR x); in execute() 158 public UnaryCRFunction inverseMonotone(CR low, CR high) { in inverseMonotone() 169 public UnaryCRFunction monotoneDerivative(CR low, CR high) { in monotoneDerivative() 177 public CR execute(CR x) { in execute() 183 public CR execute(CR x) { in execute() 189 public CR execute(CR x) { in execute() 195 public CR execute(CR x) { in execute() 201 public CR execute(CR x) { in execute() 211 CR one = CR.valueOf(1); 212 public CR execute(CR x) { in execute() [all …]
|
D | CR.java | 179 public abstract class CR extends Number { class 279 public static CR valueOf(BigInteger n) { in valueOf() 287 public static CR valueOf(int n) { in valueOf() 295 public static CR valueOf(long n) { in valueOf() 304 public static CR valueOf(double n) { in valueOf() 319 CR result = valueOf(mantissa).shiftLeft(exp); in valueOf() 329 public static CR valueOf(float n) { in valueOf() 333 public static CR ZERO = valueOf(0); 334 public static CR ONE = valueOf(1); 446 CR simple_ln() { in simple_ln() [all …]
|
/external/crcalc/tests/src/com/hp/creals/ |
D | SlowCRTest.java | 36 private static void checkEq(CR x, CR y, String s) { in checkEq() 44 private static boolean isApprInt(CR x) { in isApprInt() 49 final static CR ZERO = CR.valueOf(0); 50 final static CR ONE = CR.valueOf(1); 51 final static CR TWO = CR.valueOf(2); 52 final static CR BIG = CR.valueOf(200).exp(); 53 final static CR SMALL = BIG.inverse(); 54 final static CR HALF_PI = CR.PI.divide(CR.valueOf(2)); 59 .monotoneDerivative(ZERO, CR.PI); 66 private static void checkTrig(CR x) { in checkTrig() [all …]
|
D | CRTest.java | 57 private static void check_eq(CR x, CR y, String s) { in check_eq() 69 CR zero = CR.valueOf(0); in testCR() 70 CR one = CR.valueOf(1); in testCR() 71 CR two = CR.valueOf(2); in testCR() 84 CR three = two.add(one); in testCR() 85 CR four = two.add(two); in testCR() 86 check_eq(CR.valueOf(4), four, "2 + 2 failed"); in testCR() 87 check_eq(CR.valueOf(3), three, "2 + 1 failed"); in testCR() 93 CR thirteen = CR.valueOf(13); in testCR() 101 CR e = one.exp(); in testCR() [all …]
|
D | ConversionTest.java | 31 final CR BIG = CR.valueOf(Double.MAX_VALUE); 32 final CR HUGE = BIG.multiply(BIG); 33 final CR TINY = CR.ONE.shiftRight(1078); 37 CR crValue = CR.valueOf(x); in checkDoubleConversion() 44 CR crValue = CR.valueOf(f); in checkFloatConversion()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | ConstantRange.cpp | 52 const ConstantRange &CR) { in makeICmpRegion() argument 53 if (CR.isEmptySet()) in makeICmpRegion() 54 return CR; in makeICmpRegion() 56 uint32_t W = CR.getBitWidth(); in makeICmpRegion() 60 return CR; in makeICmpRegion() 62 if (CR.isSingleElement()) in makeICmpRegion() 63 return ConstantRange(CR.getUpper(), CR.getLower()); in makeICmpRegion() 66 APInt UMax(CR.getUnsignedMax()); in makeICmpRegion() 72 APInt SMax(CR.getSignedMax()); in makeICmpRegion() 78 APInt UMax(CR.getUnsignedMax()); in makeICmpRegion() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 55 const ConstantRange &CR) { in makeAllowedICmpRegion() argument 56 if (CR.isEmptySet()) in makeAllowedICmpRegion() 57 return CR; in makeAllowedICmpRegion() 59 uint32_t W = CR.getBitWidth(); in makeAllowedICmpRegion() 64 return CR; in makeAllowedICmpRegion() 66 if (CR.isSingleElement()) in makeAllowedICmpRegion() 67 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion() 70 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() 76 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion() 82 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 58 const ConstantRange &CR) { in makeAllowedICmpRegion() argument 59 if (CR.isEmptySet()) in makeAllowedICmpRegion() 60 return CR; in makeAllowedICmpRegion() 62 uint32_t W = CR.getBitWidth(); in makeAllowedICmpRegion() 67 return CR; in makeAllowedICmpRegion() 69 if (CR.isSingleElement()) in makeAllowedICmpRegion() 70 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion() 73 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() 79 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion() 85 APInt UMax(CR.getUnsignedMax()); in makeAllowedICmpRegion() [all …]
|
/external/llvm/tools/llvm-cov/ |
D | CoverageSummaryInfo.cpp | 24 for (auto &CR : Function.CountedRegions) { in get() local 25 if (CR.Kind != CounterMappingRegion::CodeRegion) in get() 28 if (CR.ExecutionCount != 0) in get() 40 for (auto &CR : Function.CountedRegions) { in get() local 41 if (CR.FileID != FileID) in get() 43 LineStart = std::min(LineStart, CR.LineStart); in get() 44 LineEnd = std::max(LineEnd, CR.LineEnd); in get() 51 for (auto &CR : Function.CountedRegions) { in get() local 52 if (CR.FileID != FileID) in get() 55 auto ExecutionCount = CR.ExecutionCount; in get() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ConstantRange.h | 106 bool contains(const ConstantRange &CR) const; 147 bool operator==(const ConstantRange &CR) const { 148 return Lower == CR.Lower && Upper == CR.Upper; 150 bool operator!=(const ConstantRange &CR) const { 151 return !operator==(CR); 165 ConstantRange intersectWith(const ConstantRange &CR) const; 173 ConstantRange unionWith(const ConstantRange &CR) const; 258 inline raw_ostream &operator<<(raw_ostream &OS, const ConstantRange &CR) { 259 CR.print(OS);
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 159 bool contains(const ConstantRange &CR) const; 195 bool operator==(const ConstantRange &CR) const { 196 return Lower == CR.Lower && Upper == CR.Upper; 198 bool operator!=(const ConstantRange &CR) const { 199 return !operator==(CR); 207 ConstantRange difference(const ConstantRange &CR) const; 216 ConstantRange intersectWith(const ConstantRange &CR) const; 224 ConstantRange unionWith(const ConstantRange &CR) const; 316 inline raw_ostream &operator<<(raw_ostream &OS, const ConstantRange &CR) { 317 CR.print(OS);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 153 bool contains(const ConstantRange &CR) const; 177 bool isSizeStrictlySmallerThan(const ConstantRange &CR) const; 195 bool operator==(const ConstantRange &CR) const { 196 return Lower == CR.Lower && Upper == CR.Upper; 198 bool operator!=(const ConstantRange &CR) const { 199 return !operator==(CR); 207 ConstantRange difference(const ConstantRange &CR) const; 215 ConstantRange intersectWith(const ConstantRange &CR) const; 222 ConstantRange unionWith(const ConstantRange &CR) const; 334 inline raw_ostream &operator<<(raw_ostream &OS, const ConstantRange &CR) { [all …]
|
/external/icu/icu4c/source/test/testdata/ |
D | GraphemeBreakTest.txt | 27 ÷ 0020 ÷ 000D ÷ # ÷ [0.2] SPACE (Other) ÷ [5.0] <CARRIAGE RETURN (CR)> (CR) ÷ [0.3] 28 … (Other) × [9.0] COMBINING DIAERESIS (Extend_ExtCccZwj) ÷ [5.0] <CARRIAGE RETURN (CR)> (CR) ÷ [0.3] 61 ÷ 000D ÷ 0020 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] SPACE (Other) ÷ [0.3] 62 ÷ 000D ÷ 0308 ÷ 0020 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] COMBINING DIAERESIS (Extend_E… 63 ÷ 000D ÷ 000D ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] <CARRIAGE RETURN (CR)> (CR) ÷ [0.3] 64 …÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] COMBINING DIAERESIS (Extend_ExtCccZwj) ÷ [5.0] <C… 65 ÷ 000D × 000A ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) × [3.0] <LINE FEED (LF)> (LF) ÷ [0.3] 66 ÷ 000D ÷ 0308 ÷ 000A ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] COMBINING DIAERESIS (Extend_E… 67 ÷ 000D ÷ 0001 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] <START OF HEADING> (Control) ÷ [0.3] 68 ÷ 000D ÷ 0308 ÷ 0001 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] COMBINING DIAERESIS (Extend_E… [all …]
|
D | SentenceBreakTest.txt | 27 ÷ 0001 × 000D ÷ # ÷ [0.2] <START OF HEADING> (Other) × [998.0] <CARRIAGE RETURN (CR)> (CR) ÷ [0.3] 28 …DING> (Other) × [5.0] COMBINING DIAERESIS (Extend_FE) × [998.0] <CARRIAGE RETURN (CR)> (CR) ÷ [0.3] 55 ÷ 000D ÷ 0001 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] <START OF HEADING> (Other) ÷ [0.3] 56 ÷ 000D ÷ 0308 × 0001 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] COMBINING DIAERESIS (Extend_F… 57 ÷ 000D ÷ 000D ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] <CARRIAGE RETURN (CR)> (CR) ÷ [0.3] 58 …D ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] COMBINING DIAERESIS (Extend_FE) × [998.0] <CARR… 59 ÷ 000D × 000A ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) × [3.0] <LINE FEED (LF)> (LF) ÷ [0.3] 60 ÷ 000D ÷ 0308 × 000A ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] COMBINING DIAERESIS (Extend_F… 61 ÷ 000D ÷ 0085 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] <NEXT LINE (NEL)> (Sep) ÷ [0.3] 62 ÷ 000D ÷ 0308 × 0085 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] COMBINING DIAERESIS (Extend_F… [all …]
|
D | WordBreakTest.txt | 27 ÷ 0001 ÷ 000D ÷ # ÷ [0.2] <START OF HEADING> (Other) ÷ [3.2] <CARRIAGE RETURN (CR)> (CR) ÷ [0.3] 28 …EADING> (Other) × [4.0] COMBINING DIAERESIS (Extend_FE) ÷ [3.2] <CARRIAGE RETURN (CR)> (CR) ÷ [0.3] 83 ÷ 000D ÷ 0001 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [3.1] <START OF HEADING> (Other) ÷ [0.3] 84 ÷ 000D ÷ 0308 ÷ 0001 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [3.1] COMBINING DIAERESIS (Extend_F… 85 ÷ 000D ÷ 000D ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [3.1] <CARRIAGE RETURN (CR)> (CR) ÷ [0.3] 86 …0D ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [3.1] COMBINING DIAERESIS (Extend_FE) ÷ [3.2] <CARRI… 87 ÷ 000D × 000A ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) × [3.0] <LINE FEED (LF)> (LF) ÷ [0.3] 88 ÷ 000D ÷ 0308 ÷ 000A ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [3.1] COMBINING DIAERESIS (Extend_F… 89 ÷ 000D ÷ 000B ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [3.1] <LINE TABULATION> (Newline) ÷ [0.3] 90 ÷ 000D ÷ 0308 ÷ 000B ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [3.1] COMBINING DIAERESIS (Extend_F… [all …]
|
/external/icu/icu4c/source/data/brkitr/rules/ |
D | sent_el.txt | 20 $CR = [\p{Sentence_Break = CR}]; 55 # Rule 3 - break after separators. Keep CR/LF together. 57 $CR $LF; 63 [^$Sep $CR $LF]? ($Extend | $Format)*; 73 $NotLettersEx = [^$OLetter $Upper $Lower $Sep $CR $LF $ATerm $STerm] ($Extend | $Format)*; 80 ($STermEx | $ATermEx) $CloseEx* $SpEx* ($Sep | $CR | $LF)?; 83 [[^$STerm $ATerm $Close $Sp $Sep $LF $CR $Format $Extend]{bof}] ($Extend | $Format | $Close | $Sp)*… 84 …erm $ATerm $Close $Sp $Sep $LF $CR $Format $Extend]{bof}] ($Extend | $Format | $Close | $Sp)* ([$S…
|
D | sent.txt | 19 $CR = [\p{Sentence_Break = CR}]; 54 # Rule 3 - break after separators. Keep CR/LF together. 56 $CR $LF; 62 [^$Sep $CR $LF]? ($Extend | $Format)*; 72 $NotLettersEx = [^$OLetter $Upper $Lower $Sep $CR $LF $ATerm $STerm] ($Extend | $Format)*; 79 ($STermEx | $ATermEx) $CloseEx* $SpEx* ($Sep | $CR | $LF)?; 82 [[^$STerm $ATerm $Close $Sp $Sep $LF $CR $Format $Extend]{bof}] ($Extend | $Format | $Close | $Sp)*… 83 …erm $ATerm $Close $Sp $Sep $LF $CR $Format $Extend]{bof}] ($Extend | $Format | $Close | $Sp)* ([$S…
|
D | char.txt | 20 $CR = [\p{Grapheme_Cluster_Break = CR}]; 50 $CR $LF; 57 [^$Control $CR $LF] ($Extend | $ZWJ); 60 [^$Control $CR $LF] $SpacingMark; 63 $Prepend [^$Control $CR $LF];
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 418 for (const auto &CR : enumerate(Regions)) { in buildSegmentsImpl() local 419 auto CurStartLoc = CR.value().startLoc(); in buildSegmentsImpl() 433 bool GapRegion = CR.value().Kind == CounterMappingRegion::GapRegion; in buildSegmentsImpl() 436 if (CurStartLoc == CR.value().endLoc()) { in buildSegmentsImpl() 439 const bool Skipped = (CR.index() + 1) == Regions.size(); in buildSegmentsImpl() 440 startSegment(ActiveRegions.empty() ? CR.value() : *ActiveRegions.back(), in buildSegmentsImpl() 444 if (CR.index() + 1 == Regions.size() || in buildSegmentsImpl() 445 CurStartLoc != Regions[CR.index() + 1].startLoc()) { in buildSegmentsImpl() 448 startSegment(CR.value(), CurStartLoc, !GapRegion); in buildSegmentsImpl() 452 ActiveRegions.push_back(&CR.value()); in buildSegmentsImpl() [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceFixups.cpp | 28 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(ConstValue)) in offset() local 29 return CR->getOffset() + addend_; in offset() 38 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(C)) { in symbol() local 39 return CR->getName(); in symbol() 60 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(ConstValue)) { in emit() local 62 CR->getName().toString() != GlobalOffsetTable) { in emit()
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 436 for (const auto &CR : Function.CountedRegions) in findMainViewFileID() local 437 if (CR.Kind == CounterMappingRegion::ExpansionRegion) in findMainViewFileID() 438 IsNotExpandedFile[CR.ExpandedFileID] = false; in findMainViewFileID() 466 for (const auto &CR : Function.CountedRegions) in getCoverageForFile() local 467 if (FileIDs.test(CR.FileID)) { in getCoverageForFile() 468 Regions.push_back(CR); in getCoverageForFile() 469 if (MainFileID && isExpansion(CR, *MainFileID)) in getCoverageForFile() 470 FileCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFile() 508 for (const auto &CR : Function.CountedRegions) in getCoverageForFunction() local 509 if (CR.FileID == *MainFileID) { in getCoverageForFunction() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | ConvertUTFWrapper.cpp | 71 ConversionResult CR = ConvertUTF32toUTF8(&SourceStart, SourceEnd, in ConvertCodePointToUTF8() local 74 if (CR != conversionOK) in ConvertCodePointToUTF8() 121 ConversionResult CR = in convertUTF16ToUTF8String() local 123 assert(CR != targetExhausted); in convertUTF16ToUTF8String() 125 if (CR != conversionOK) { in convertUTF16ToUTF8String() 166 ConversionResult CR = in convertUTF8ToUTF16String() local 168 assert(CR != targetExhausted); in convertUTF8ToUTF16String() 170 if (CR != conversionOK) { in convertUTF8ToUTF16String()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | ConvertUTFWrapper.cpp | 71 ConversionResult CR = ConvertUTF32toUTF8(&SourceStart, SourceEnd, in ConvertCodePointToUTF8() local 74 if (CR != conversionOK) in ConvertCodePointToUTF8() 121 ConversionResult CR = in convertUTF16ToUTF8String() local 123 assert(CR != targetExhausted); in convertUTF16ToUTF8String() 125 if (CR != conversionOK) { in convertUTF16ToUTF8String() 166 ConversionResult CR = in convertUTF8ToUTF16String() local 168 assert(CR != targetExhausted); in convertUTF8ToUTF16String() 170 if (CR != conversionOK) { in convertUTF8ToUTF16String()
|
/external/llvm/lib/Support/ |
D | ConvertUTFWrapper.cpp | 71 ConversionResult CR = ConvertUTF32toUTF8(&SourceStart, SourceEnd, in ConvertCodePointToUTF8() local 74 if (CR != conversionOK) in ConvertCodePointToUTF8() 121 ConversionResult CR = in convertUTF16ToUTF8String() local 123 assert(CR != targetExhausted); in convertUTF16ToUTF8String() 125 if (CR != conversionOK) { in convertUTF16ToUTF8String() 166 ConversionResult CR = in convertUTF8ToUTF16String() local 168 assert(CR != targetExhausted); in convertUTF8ToUTF16String() 170 if (CR != conversionOK) { in convertUTF8ToUTF16String()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/break_rules/ |
D | grapheme.txt | 17 CR = [\p{Grapheme_Cluster_Break = CR}]; 40 GB3: CR LF; 41 GB4: (Control | CR | LF) ÷; 42 GB5: . ÷ (Control | CR | LF);
|