/third_party/skia/src/gpu/effects/ |
H A D | GrMatrixConvolutionEffect.cpp | 160 const GrMatrixConvolutionEffect& mce = args.fFp.cast<GrMatrixConvolutionEffect>(); in emitKernelBlock() local 163 int kernelWidth = mce.fKernel.size().width(); in emitKernelBlock() 164 int kernelHeight = mce.fKernel.size().height(); in emitKernelBlock() 167 if (mce.fKernel.isSampled()) { in emitKernelBlock() 175 if (mce.fKernel.isSampled()) { in emitKernelBlock() 190 if (!mce.fConvolveAlpha) { in emitKernelBlock() 198 const GrMatrixConvolutionEffect& mce = args.fFp.cast<GrMatrixConvolutionEffect>(); in emitCode() local 200 int kernelWidth = mce.fKernel.size().width(); in emitCode() 201 int kernelHeight = mce.fKernel.size().height(); in emitCode() 207 if (mce in emitCode() [all...] |
/third_party/ltp/testcases/kernel/mce-test/lib/ |
H A D | mce.sh | 26 mce-inject --dump "$org" > "$outf" 37 mce-inject --dump "$inf" > $tmpf 72 echo " Failed: can not get mce log from /dev/mcelog" 95 mce-inject --dump "$inf" | tr '\n' '#' | sed '1,$s/##/\n/g' | \ 166 echo 1 > /sys/kernel/debug/mce/severities-coverage 171 local sev_cor=/sys/kernel/debug/mce/severities-coverage 313 [ ! -d ${DEBUGFS}/mce ] && die "Kernel without CONFIG_X86_MCE_INJECT ?" 321 echo -n $1 > /sys/kernel/debug/mce/fake_panic
|
H A D | soft-inject.sh | 97 mce-inject --no-random $SDIR/data/$bcase 100 mce-inject $SDIR/data/$bcase
|
H A D | apei-inject.sh | 46 mce-inject --dump $mcelog_refer > $RDIR/$this_case/mcelog_refer
|
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | Makefile | 23 tcases: tcases.c ${LSRC}/arch/x86/kernel/cpu/mcheck/mce-severity.c ${LSRC}/arch/x86/kernel/cpu/mcheck/mce-internal.h 26 ttable: ttable.c ${LSRC}/arch/x86/kernel/cpu/mcheck/mce-severity.c ${LSRC}/arch/x86/kernel/cpu/mcheck/mce-internal.h
|
H A D | ttable.c | 15 #include <asm/mce.h> 29 #include "mce-severity.c" 54 #define O(x) offsetof(struct mce, x) 71 struct mce basem; 81 void genstate(struct mce *m, unsigned num) in genstate() 163 struct mce m; in table()
|
H A D | tcases.c | 8 #include <asm/mce.h> 22 #include "mce-severity.c" 45 struct mce m = { in test2()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | Makefile | 23 tcases: tcases.c ${LSRC}/arch/x86/kernel/cpu/mcheck/mce-severity.c ${LSRC}/arch/x86/kernel/cpu/mcheck/mce-internal.h 26 ttable: ttable.c ${LSRC}/arch/x86/kernel/cpu/mcheck/mce-severity.c ${LSRC}/arch/x86/kernel/cpu/mcheck/mce-internal.h
|
H A D | ttable.c | 15 #include <asm/mce.h> 29 #include "mce-severity.c" 54 #define O(x) offsetof(struct mce, x) 71 struct mce basem; 81 void genstate(struct mce *m, unsigned num) in genstate() 163 struct mce m; in table()
|
H A D | tcases.c | 8 #include <asm/mce.h> 22 #include "mce-severity.c" 45 struct mce m = { in test2()
|
/third_party/ltp/testcases/kernel/mce-test/cases/soft-inj/non-panic/ |
H A D | cases.sh | 4 # are triggered via the mce-inject tool, and they will not trigger kernel 15 . $ROOT/lib/mce.sh 31 get_gcov arch/x86/kernel/cpu/mcheck/mce.c
|
/third_party/ltp/testcases/kernel/mce-test/cases/soft-inj/panic_noser/ |
H A D | cases.sh | 4 # the mce-inject tool. 14 . $ROOT/lib/mce.sh 31 get_gcov arch/x86/kernel/cpu/mcheck/mce.c
|
/third_party/ltp/testcases/kernel/mce-test/cases/soft-inj/poll_noser/ |
H A D | cases.sh | 4 # the mce-inject tool. 14 . $ROOT/lib/mce.sh 31 get_gcov arch/x86/kernel/cpu/mcheck/mce.c
|
/third_party/ltp/testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/ |
H A D | cases.sh | 4 # mce-inject tool. 14 . $ROOT/lib/mce.sh 32 get_gcov arch/x86/kernel/cpu/mcheck/mce.c
|
/third_party/ltp/testcases/kernel/mce-test/cases/soft-inj/poll_ucr/ |
H A D | cases.sh | 4 # mce-inject tool. 14 . $ROOT/lib/mce.sh 31 get_gcov arch/x86/kernel/cpu/mcheck/mce.c
|
/third_party/ltp/testcases/kernel/mce-test/cases/soft-inj/panic_ucr/ |
H A D | cases.sh | 4 # mce-inject tool. 14 . $ROOT/lib/mce.sh 31 get_gcov arch/x86/kernel/cpu/mcheck/mce.c
|
/third_party/ltp/testcases/kernel/mce-test/cases/soft-inj/panic/ |
H A D | cases.sh | 4 # triggered via the mce-inject tool, and they will trigger kernel panic. 14 . $ROOT/lib/mce.sh 31 get_gcov arch/x86/kernel/cpu/mcheck/mce.c
|
/third_party/ltp/testcases/kernel/mce-test/cases/soft-inj/panic_npcc/ |
H A D | cases.sh | 4 # the mce-inject tool. 14 . $ROOT/lib/mce.sh 31 get_gcov arch/x86/kernel/cpu/mcheck/mce.c
|
/third_party/ltp/testcases/kernel/mce-test/kvm/host/ |
H A D | guest_init | 13 echo 1 > /sys/kernel/debug/mce/fake_ser_p
|
H A D | host_run.sh | 40 echo -e "\t-f mcefile\t: which mce data file to inject" 122 which mce-inject &>/dev/null 123 [ ! $? -eq 0 ] && invalid "please install mce-inject tool!" 128 [ -z $mce_inject_file ] && invalid "please input the mce data file!" 129 [ ! -e $mce_inject_file ] && invalid "mce data file $mce_inject_file does not exist!" 244 append="root=$root ro loglevel=8 mce=3 console=ttyS0,115200n8 console=tty0" 319 echo "calling mce-inject $mce_inject_data" 320 mce-inject $mce_inject_data
|
/third_party/ltp/testcases/kernel/mce-test/cases/apei-inj/ucr/ |
H A D | cases.sh | 15 . $ROOT/lib/mce.sh
|
/third_party/ltp/testcases/kernel/mce-test/drivers/simple/ |
H A D | driver.sh | 20 . $ROOT/lib/mce.sh
|
/third_party/ltp/testcases/kernel/mce-test/drivers/kdump/ |
H A D | driver.sh | 23 . $ROOT/lib/mce.sh
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bigdec/ |
H A D | DiagBigDecimalTest.java | 120 private static final ohos.global.icu.math.MathContext mce = new ohos.global.icu.math.MathContext(9, ohos.global.icu.math.MathContext.ENGINEERING); field in DiagBigDecimalTest 1490 TestFmwk.assertTrue("dvI016", ((new ohos.global.icu.math.BigDecimal("5")).divideInteger(new ohos.global.icu.math.BigDecimal("2"), mce).toString()).equals("2")); in diagdivideInteger() 1734 TestFmwk.assertTrue("mul052", (l12345.multiply(new ohos.global.icu.math.BigDecimal("1e+9"),mce).toString()).equals("123.45E+9")); in diagmultiply() 1735 TestFmwk.assertTrue("mul053", (l12345.multiply(new ohos.global.icu.math.BigDecimal("1e10"),mce).toString()).equals("1.2345E+12")); in diagmultiply() 1736 TestFmwk.assertTrue("mul054", (l12345.multiply(new ohos.global.icu.math.BigDecimal("1e11"),mce).toString()).equals("12.345E+12")); in diagmultiply() 1737 TestFmwk.assertTrue("mul055", (l12345.multiply(new ohos.global.icu.math.BigDecimal("1e12"),mce).toString()).equals("123.45E+12")); in diagmultiply() 1738 TestFmwk.assertTrue("mul056", (l12345.multiply(new ohos.global.icu.math.BigDecimal("1e13"),mce).toString()).equals("1.2345E+15")); in diagmultiply() 1744 TestFmwk.assertTrue("mul063", (ten.multiply(new ohos.global.icu.math.BigDecimal("9e999999999"),mce).toString()).equals("90E+999999999")); in diagmultiply() 1745 TestFmwk.assertTrue("mul064", (ten.multiply(new ohos.global.icu.math.BigDecimal("9.9e999999999"),mce).toString()).equals("99.0E+999999999")); in diagmultiply() 1747 tenedge = ten.multiply(edge, mce); in diagmultiply() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/ |
H A D | DiagBigDecimalTest.java | 117 private static final com.ibm.icu.math.MathContext mce = new com.ibm.icu.math.MathContext(9, com.ibm.icu.math.MathContext.ENGINEERING); field in DiagBigDecimalTest 1487 TestFmwk.assertTrue("dvI016", ((new com.ibm.icu.math.BigDecimal("5")).divideInteger(new com.ibm.icu.math.BigDecimal("2"), mce).toString()).equals("2")); in diagdivideInteger() 1731 TestFmwk.assertTrue("mul052", (l12345.multiply(new com.ibm.icu.math.BigDecimal("1e+9"),mce).toString()).equals("123.45E+9")); in diagmultiply() 1732 TestFmwk.assertTrue("mul053", (l12345.multiply(new com.ibm.icu.math.BigDecimal("1e10"),mce).toString()).equals("1.2345E+12")); in diagmultiply() 1733 TestFmwk.assertTrue("mul054", (l12345.multiply(new com.ibm.icu.math.BigDecimal("1e11"),mce).toString()).equals("12.345E+12")); in diagmultiply() 1734 TestFmwk.assertTrue("mul055", (l12345.multiply(new com.ibm.icu.math.BigDecimal("1e12"),mce).toString()).equals("123.45E+12")); in diagmultiply() 1735 TestFmwk.assertTrue("mul056", (l12345.multiply(new com.ibm.icu.math.BigDecimal("1e13"),mce).toString()).equals("1.2345E+15")); in diagmultiply() 1741 TestFmwk.assertTrue("mul063", (ten.multiply(new com.ibm.icu.math.BigDecimal("9e999999999"),mce).toString()).equals("90E+999999999")); in diagmultiply() 1742 TestFmwk.assertTrue("mul064", (ten.multiply(new com.ibm.icu.math.BigDecimal("9.9e999999999"),mce).toString()).equals("99.0E+999999999")); in diagmultiply() 1744 tenedge = ten.multiply(edge, mce); in diagmultiply() [all...] |