/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 129 struct ttm_place *places = abo->placements; in amdgpu_bo_placement_from_domain() local 138 places[c].fpfn = adev->gmc.mem_partitions[mem_id].range.fpfn; in amdgpu_bo_placement_from_domain() 143 places[c].lpfn = adev->gmc.mem_partitions[mem_id].range.lpfn + 1; in amdgpu_bo_placement_from_domain() 145 places[c].fpfn = 0; in amdgpu_bo_placement_from_domain() 146 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain() 148 places[c].mem_type = TTM_PL_VRAM; in amdgpu_bo_placement_from_domain() 149 places[c].flags = 0; in amdgpu_bo_placement_from_domain() 152 places[c].lpfn = min_not_zero(places[c].lpfn, visible_pfn); in amdgpu_bo_placement_from_domain() 154 places[ in amdgpu_bo_placement_from_domain() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 130 struct ttm_place *places = abo->placements; in amdgpu_bo_placement_from_domain() local 137 places[c].fpfn = 0; in amdgpu_bo_placement_from_domain() 138 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain() 139 places[c].mem_type = TTM_PL_VRAM; in amdgpu_bo_placement_from_domain() 140 places[c].flags = TTM_PL_FLAG_WC | TTM_PL_FLAG_UNCACHED; in amdgpu_bo_placement_from_domain() 143 places[c].lpfn = visible_pfn; in amdgpu_bo_placement_from_domain() 145 places[c].flags |= TTM_PL_FLAG_TOPDOWN; in amdgpu_bo_placement_from_domain() 148 places[c].flags |= TTM_PL_FLAG_CONTIGUOUS; in amdgpu_bo_placement_from_domain() 153 places[c].fpfn = 0; in amdgpu_bo_placement_from_domain() 154 places[ in amdgpu_bo_placement_from_domain() [all...] |
/third_party/python/Lib/unittest/test/ |
H A D | test_assertions.py | 18 self.assertAlmostEqual(1.1, 1.0, places=0) 20 self.assertAlmostEqual, 1.1, 1.0, places=1) 22 self.assertAlmostEqual(0, .1+.1j, places=0) 23 self.assertNotAlmostEqual(0, .1+.1j, places=1) 25 self.assertAlmostEqual, 0, .1+.1j, places=1) 27 self.assertNotAlmostEqual, 0, .1+.1j, places=0) 49 1.1, 1.0, places=2, delta=2) 51 1.1, 1.0, places=2, delta=2) 231 [r"^1 != 2 within 7 places \(1 difference\)$", "^oops$", 232 r"^1 != 2 within 7 places \( [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_gram.y | 95 expression_t *places, symbol_ref_t *src, int ret); 1723 format_2_instr(int opcode, symbol_ref_t *dest, expression_t *places, 1746 if (places->value > 8 || places->value <= 0) { 1752 if (places->value == 8) 1755 shift_control = (places->value << 4) | places->value; 1758 if (places->value == 8) { 1761 shift_control = (places->value << 4) 1762 | (8 - places [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_gram.y | 94 expression_t *places, symbol_ref_t *src, int ret); 1722 format_2_instr(int opcode, symbol_ref_t *dest, expression_t *places, 1745 if (places->value > 8 || places->value <= 0) { 1751 if (places->value == 8) 1754 shift_control = (places->value << 4) | places->value; 1757 if (places->value == 8) { 1760 shift_control = (places->value << 4) 1761 | (8 - places [all...] |
/third_party/python/Lib/unittest/ |
H A D | case.py | 884 def assertAlmostEqual(self, first, second, places=None, msg=None, 887 difference rounded to the given number of decimal places 892 Note that decimal places (from zero) are usually not the same 901 if delta is not None and places is not None: 902 raise TypeError("specify delta or places not both") 915 if places is None: 916 places = 7 918 if round(diff, places) == 0: 921 standardMsg = '%s != %s within %r places (%s difference)' % ( 924 places, [all...] |
/third_party/python/Lib/test/ |
H A D | test_difflib.py | 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 17 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 26 self.assertAlmostEqual(sm.ratio(), 0.994, places=3) 55 self.assertAlmostEqual(sm.ratio(), 0, places=3) 60 self.assertAlmostEqual(sm.ratio(), 0.9975, places=3)
|
H A D | test_statistics.py | 139 # either become redundant, or be moved into more appropriate places. 2284 self.assertAlmostEqual(actual_mean, expected_mean, places=5) 2346 self.assertAlmostEqual(actual_mean, expected_mean, places=5) 2690 self.assertAlmostEqual(X.pdf(x), est_pdf, places=4) 2705 self.assertAlmostEqual(Z.pdf(x / 100.0), px, places=4) 2706 self.assertAlmostEqual(Z.pdf(-x / 100.0), px, places=4) 2735 self.assertAlmostEqual(Z.cdf(z), cum_prob, places=5) 2736 self.assertAlmostEqual(Z.cdf(-z), 1.0 - cum_prob, places=5) 2767 self.assertAlmostEqual(-Z.inv_cdf(p), x, places=3) 2769 self.assertAlmostEqual(Z.inv_cdf(p), x, places [all...] |
/third_party/python/Lib/ctypes/test/ |
H A D | test_structures.py | 550 self.assertAlmostEqual(result, expected, places=6) 552 self.assertAlmostEqual(s.data[0], 3.14159, places=6) 553 self.assertAlmostEqual(s.data[1], 2.71828, places=6) 554 self.assertAlmostEqual(s.more_data[0], -3.0, places=6) 555 self.assertAlmostEqual(s.more_data[1], -2.0, places=6)
|
H A D | test_byteswap.py | 138 self.assertAlmostEqual(s.value, math.pi, places=6) 140 self.assertAlmostEqual(s.value, math.pi, places=6) 143 self.assertAlmostEqual(s.value, math.pi, places=6)
|
H A D | test_callbacks.py | 25 self.assertAlmostEqual(result, arg, places=5) 33 self.assertAlmostEqual(result, arg, places=5)
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 206 buf->places[0].lpfn = PFN_UP(bo->resource->size); in vmw_bo_pin_in_start_of_vram() 808 pl->placement = bo->places; in vmw_bo_placement_set() 809 pl->num_placement = set_placement_list(bo->places, domain); in vmw_bo_placement_set()
|
H A D | vmwgfx_bo.h | 64 * @places: The chosen places for the preferred placement. 65 * @busy_places: Chosen busy places for the preferred placement 78 struct ttm_place places[5]; member
|
/third_party/skia/src/pdf/ |
H A D | SkPDFUtils.cpp | 255 // return "x/pow(10, places)", given 0<x<pow(10, places) 256 // result points to places+2 chars. 257 static size_t print_permil_as_decimal(int x, char* result, unsigned places) { in print_permil_as_decimal() argument 259 for (int i = places; i > 0; --i) { in print_permil_as_decimal() 264 for (j = places; j > 1; --j) { in print_permil_as_decimal()
|
/third_party/libunwind/libunwind/doc/ |
H A D | unw_getcontext.tex | 35 initialized by \Func{unw\_getcontext()} in places where a structure
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | rwtest | 251 places*) 252 FSIZE=${Scenario#places-}
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | binstr.S | 90 asll #3,%d2 |shift d2 left by 3 places 92 asll #3,%d3 |shift d3 left by 3 places
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | binstr.S | 90 asll #3,%d2 |shift d2 left by 3 places 92 asll #3,%d3 |shift d3 left by 3 places
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
H A D | DumbTextComponent.java | 785 int places = 1; in fixHex() 792 store += places * value; in fixHex() 794 places *= 16; in fixHex()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/ |
H A D | SerializableTestUtility.java | 143 private static Locale places[] = { field in SerializableTestUtility 460 Currency currencies[] = new Currency[places.length]; in getTestObjects() 462 for (int i = 0; i < places.length; i += 1) { in getTestObjects() 463 currencies[i] = Currency.getInstance(places[i]); in getTestObjects()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
H A D | SerializableTestUtility.java | 142 private static Locale places[] = { field in SerializableTestUtility 459 Currency currencies[] = new Currency[places.length]; in getTestObjects() 461 for (int i = 0; i < places.length; i += 1) { in getTestObjects() 462 currencies[i] = Currency.getInstance(places[i]); in getTestObjects()
|
/third_party/gn/src/gn/ |
H A D | label.cc | 242 difference places in the directory hierarchy).
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_xmp.h | 195 uint32 places = 6,
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
H A D | BigDecimal.java | 197 * <code>digits</code> (the default is 9 digits). If the number of places needed before the decimal point exceeds the 902 * "0" -- Zero "12" -- A whole number "-76" -- A signed whole number "12.70" -- Some decimal places "+0.003" -- Plus 2064 * @param before The <code>int</code> specifying the number of places before the decimal point. Use -1 for 'as many as are needed'. 2065 * @param after The <code>int</code> specifying the number of places after the decimal point. Use -1 for 'as many as are needed'. 2100 * <code>explaces</code> must be a positive number; it sets the number of places (digits after the sign of the 2108 * of places needed before the decimal point exceeds <code>exdigits</code>, or if the absolute value of the result 2126 * @param before The <code>int</code> specifying the number of places before the decimal point. Use -1 for 'as many as 2128 * @param after The <code>int</code> specifying the number of places after the decimal point. Use -1 for 'as many as 2130 * @param explaces The <code>int</code> specifying the number of places to be used for any exponent. Use -1 for 'as many 2161 int places in format() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/ |
H A D | BigDecimal.java | 198 * <code>digits</code> (the default is 9 digits). If the number of places needed before the decimal point exceeds the 883 * "0" -- Zero "12" -- A whole number "-76" -- A signed whole number "12.70" -- Some decimal places "+0.003" -- Plus 2012 * @param before The <code>int</code> specifying the number of places before the decimal point. Use -1 for 'as many as are needed'. 2013 * @param after The <code>int</code> specifying the number of places after the decimal point. Use -1 for 'as many as are needed'. 2047 * <code>explaces</code> must be a positive number; it sets the number of places (digits after the sign of the 2055 * of places needed before the decimal point exceeds <code>exdigits</code>, or if the absolute value of the result 2073 * @param before The <code>int</code> specifying the number of places before the decimal point. Use -1 for 'as many as 2075 * @param after The <code>int</code> specifying the number of places after the decimal point. Use -1 for 'as many as 2077 * @param explaces The <code>int</code> specifying the number of places to be used for any exponent. Use -1 for 'as many 2107 int places in format() [all...] |