| /third_party/skia/m133/third_party/externals/icu/source/data/misc/ |
| D | units.txt | 8 factor{"100000"} 13 factor{"ft2_to_m2 * 43560"} 18 factor{"1"} 23 factor{"1/360*60"} 28 factor{"1/360*60*60"} 33 factor{"meters_per_AU"} 38 factor{"101325"} 43 factor{"100000"} 48 factor{"42*gal_to_m3"} 53 factor{"1"} [all …]
|
| /third_party/icu/icu4c/source/data/misc/ |
| D | units.txt | 8 factor{"100000"} 12 factor{"ft2_to_m2 * 43560"} 16 factor{"1"} 20 factor{"1/360*60"} 24 factor{"1/360*60*60"} 28 factor{"meters_per_AU"} 32 factor{"101325"} 36 factor{"100000"} 40 factor{"42*gal_to_m3"} 44 factor{"1"} [all …]
|
| /third_party/skia/third_party/externals/icu/source/data/misc/ |
| D | units.txt | 8 factor{"100000"} 12 factor{"ft2_to_m2 * 43560"} 16 factor{"1"} 20 factor{"1/360*60"} 24 factor{"1/360*60*60"} 28 factor{"149597900000"} 32 factor{"101325"} 36 factor{"100000"} 40 factor{"42*gal_to_m3"} 44 factor{"1"} [all …]
|
| /third_party/skia/m133/third_party/externals/icu/source/i18n/ |
| D | units_converter.cpp | 26 void U_I18N_API Factor::multiplyBy(const Factor &rhs) { in multiplyBy() 39 void U_I18N_API Factor::divideBy(const Factor &rhs) { in divideBy() 52 void U_I18N_API Factor::power(int32_t power) { in power() 70 void U_I18N_API Factor::applyPrefix(UMeasurePrefix unitPrefix) { in applyPrefix() 85 void U_I18N_API Factor::substituteConstants() { in substituteConstants() 146 Adds single factor to a `Factor` object. Single factor means "23^2", "23.3333", "ft2m^3" ...etc. 147 However, complex factor are not included, such as "ft2m^3*200/3" 149 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement() argument 174 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement() 178 * Extracts `Factor` from a complete string factor. e.g. "ft2m^3*1007/cup2m3*3" [all …]
|
| /third_party/icu/icu4c/source/i18n/ |
| D | units_converter.cpp | 26 void U_I18N_API Factor::multiplyBy(const Factor &rhs) { in multiplyBy() 39 void U_I18N_API Factor::divideBy(const Factor &rhs) { in divideBy() 52 void U_I18N_API Factor::power(int32_t power) { in power() 70 void U_I18N_API Factor::applyPrefix(UMeasurePrefix unitPrefix) { in applyPrefix() 85 void U_I18N_API Factor::substituteConstants() { in substituteConstants() 146 Adds single factor to a `Factor` object. Single factor means "23^2", "23.3333", "ft2m^3" ...etc. 147 However, complex factor are not included, such as "ft2m^3*200/3" 149 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement() argument 174 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement() 178 * Extracts `Factor` from a complete string factor. e.g. "ft2m^3*1007/cup2m3*3" [all …]
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| D | units_converter.cpp | 25 void U_I18N_API Factor::multiplyBy(const Factor &rhs) { in multiplyBy() 38 void U_I18N_API Factor::divideBy(const Factor &rhs) { in divideBy() 51 void U_I18N_API Factor::power(int32_t power) { in power() 69 void U_I18N_API Factor::applyPrefix(UMeasurePrefix unitPrefix) { in applyPrefix() 84 void U_I18N_API Factor::substituteConstants() { in substituteConstants() 145 Adds single factor to a `Factor` object. Single factor means "23^2", "23.3333", "ft2m^3" ...etc. 146 However, complex factor are not included, such as "ft2m^3*200/3" 148 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement() argument 173 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement() 177 * Extracts `Factor` from a complete string factor. e.g. "ft2m^3*1007/cup2m3*3" [all …]
|
| /third_party/toybox/tests/ |
| D | factor.test | 7 testing "-32" "factor -32" "-32: -1 2 2 2 2 2\n" "" "" 8 testing "0" "factor 0" "0: 0\n" "" "" 9 testing "1" "factor 1" "1: 1\n" "" "" 10 testing "2" "factor 2" "2: 2\n" "" "" 11 testing "3" "factor 3" "3: 3\n" "" "" 12 testing "4" "factor 4" "4: 2 2\n" "" "" 13 testing "10000000017" "factor 10000000017" \ 15 testing "10000000018" "factor 10000000018" \ 17 testing "10000000019" "factor 10000000019" \ 20 testing "3 6 from stdin" "factor" "3: 3\n6: 2 3\n" "" "3 6" [all …]
|
| /third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
| D | lp_test_blend.c | 198 const double *factor, in compute_blend_ref_term() argument 209 term[0] = factor[0]; /* R */ in compute_blend_ref_term() 210 term[1] = factor[1]; /* G */ in compute_blend_ref_term() 211 term[2] = factor[2]; /* B */ in compute_blend_ref_term() 214 term[0] = factor[0] * src[0]; /* R */ in compute_blend_ref_term() 215 term[1] = factor[1] * src[1]; /* G */ in compute_blend_ref_term() 216 term[2] = factor[2] * src[2]; /* B */ in compute_blend_ref_term() 219 term[0] = factor[0] * src[3]; /* R */ in compute_blend_ref_term() 220 term[1] = factor[1] * src[3]; /* G */ in compute_blend_ref_term() 221 term[2] = factor[2] * src[3]; /* B */ in compute_blend_ref_term() [all …]
|
| /third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
| D | PixelProcessor.cpp | 703 factor.textureFactor4[0][0] = textureFactorR; in setTextureFactor() 704 factor.textureFactor4[0][1] = textureFactorR; in setTextureFactor() 705 factor.textureFactor4[0][2] = textureFactorR; in setTextureFactor() 706 factor.textureFactor4[0][3] = textureFactorR; in setTextureFactor() 708 factor.textureFactor4[1][0] = textureFactorG; in setTextureFactor() 709 factor.textureFactor4[1][1] = textureFactorG; in setTextureFactor() 710 factor.textureFactor4[1][2] = textureFactorG; in setTextureFactor() 711 factor.textureFactor4[1][3] = textureFactorG; in setTextureFactor() 713 factor.textureFactor4[2][0] = textureFactorB; in setTextureFactor() 714 factor.textureFactor4[2][1] = textureFactorB; in setTextureFactor() [all …]
|
| /third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
| D | RangeTreeFactorizer.java | 29 * Factor a range tree into a sequence of trees which attempts to minimize overall complexity in 37 * Edges are only merged if they accept exactly the same set of digits. If the existing factor 43 * existing factor contains "[0-5]" and the candidate edge is "[0-8]", the candidate edge is 52 * Paths are processed longest-first, and a path belongs in particular "factor" if it can be 53 * added without "causing a split" in the existing factor. For example, given an existing factor 66 public static ImmutableList<RangeTree> factor(RangeTree ranges, MergeStrategy strategy) { in factor() method in RangeTreeFactorizer 77 // In each loop we subsume a candidate factor into previous factors, either in whole or in part. in factor() 80 // Merge (as much as possible) each "naive" factor into earlier factors. in factor() 85 // Calculate the ranges which haven't yet been merged into any earlier factor. in factor() 89 // All ranges merged, so remove the original factor (index now references the next factor). in factor() [all …]
|
| /third_party/libinput/src/ |
| D | filter-touchpad-x230.c | 50 #define DEFAULT_ACCELERATION 2.0 /* unitless factor */ 51 #define DEFAULT_INCLINE 1.1 /* unitless factor */ 55 #define X230_ACCELERATION 2.0 /* unitless factor */ 56 #define X230_INCLINE 1.1 /* unitless factor */ 71 double accel; /* unitless factor */ 85 * @return A unitless acceleration factor, to be applied to the delta 95 * Calculate the acceleration factor for our current velocity, averaging 104 * @return A unitless acceleration factor, to be applied to the delta 113 double factor; in calculate_acceleration() local 117 factor = acceleration_profile(accel, data, velocity, time); in calculate_acceleration() [all …]
|
| D | filter-mouse.c | 43 #define DEFAULT_ACCELERATION 2.0 /* unitless factor */ 44 #define DEFAULT_INCLINE 1.1 /* unitless factor */ 57 double accel; /* unitless factor */ 64 * Calculate the acceleration factor for the given delta with the timestamp. 71 * @return A unitless acceleration factor, to be applied to the delta 186 /* adjust max accel factor */ in accelerator_set_speed() 204 const double max_accel = accel_filter->accel; /* unitless factor */ in pointer_accel_profile_linear() 207 double factor; /* unitless */ in pointer_accel_profile_linear() local 210 Our acceleration function calculates a factor to accelerate input in pointer_accel_profile_linear() 215 factor in pointer_accel_profile_linear() [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
| D | InterleavedAccessPass.cpp | 14 // DE-interleaving the data on a factor. An interleaved store writes several 15 // vectors to memory with RE-interleaving the data on a factor. 23 // E.g. An interleaved load (Factor = 2): 34 // E.g. An interleaved store (Factor = 3): 104 /// The maximum supported interleave factor. 139 /// Check if the mask is a DE-interleave mask of the given factor 140 /// \p Factor like: 141 /// <Index, Index+Factor, ..., Index+(NumElts-1)*Factor> 142 static bool isDeInterleaveMaskOfFactor(ArrayRef<int> Mask, unsigned Factor, in isDeInterleaveMaskOfFactor() argument 144 // Check all potential start indices from 0 to (Factor - 1). in isDeInterleaveMaskOfFactor() [all …]
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
| D | UnitsConverter.java | 56 Factor sourceToBase = conversionRates.getFactorToBase(source); in UnitsConverter() 57 Factor targetToBase = conversionRates.getFactorToBase(target); in UnitsConverter() 164 * Responsible for all the Factor operation 168 static class Factor { class in UnitsConverter 172 // The exponents below correspond to ICU4C's Factor::exponents[]. 198 * Creates Empty Factor 200 public Factor() { in Factor() method in UnitsConverter.Factor 205 public static Factor processFactor(String factor) { in processFactor() argument 206 assert (!factor.isEmpty()); in processFactor() 208 // Remove all spaces in the factor in processFactor() [all …]
|
| /third_party/openGLES/extensions/SGIS/ |
| D | SGIS_fog_function.txt | 24 This extension allows to define application-specific fog blend-factor 28 factor. The minimum number of control points is one. The maximum 44 fog blending factor ouside the [0.0, 1.0] range it should not 52 of the current fog factor function are queried by calling 55 "All the points of the current fog factor function are queried by 64 value of the fog blend factor. The fog blend factor values are 68 specifies the corresponding value of the fog blend factor (should be in 69 [0.0, 1.0] range)." Also "INVALID_VALUE is generated if fog factor 102 The function for computing blending factor may be specified by calling 107 specifies the corresponding value of the fog blend factor. The fog [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/SGIS/ |
| D | SGIS_fog_function.txt | 24 This extension allows to define application-specific fog blend-factor 28 factor. The minimum number of control points is one. The maximum 44 fog blending factor ouside the [0.0, 1.0] range it should not 52 of the current fog factor function are queried by calling 55 "All the points of the current fog factor function are queried by 64 value of the fog blend factor. The fog blend factor values are 68 specifies the corresponding value of the fog blend factor (should be in 69 [0.0, 1.0] range)." Also "INVALID_VALUE is generated if fog factor 102 The function for computing blending factor may be specified by calling 107 specifies the corresponding value of the fog blend factor. The fog [all …]
|
| /third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/ |
| D | RangeTreeFactorizerTest.java | 23 import static com.google.i18n.phonenumbers.metadata.RangeTreeFactorizer.factor; 35 assertThat(factor(empty(), REQUIRE_EQUAL_EDGES)).isEmpty(); in testEmpty() 36 assertThat(factor(empty(), ALLOW_EDGE_SPLITTING)).isEmpty(); in testEmpty() 42 assertThat(factor(t, REQUIRE_EQUAL_EDGES)).containsExactly(t); in testSimplePrefix() 43 assertThat(factor(t, ALLOW_EDGE_SPLITTING)).containsExactly(t); in testSimplePrefix() 49 assertThat(factor(t, REQUIRE_EQUAL_EDGES)).containsExactly(t); in testDisjointBranchesNotFactored() 50 assertThat(factor(t, ALLOW_EDGE_SPLITTING)).containsExactly(t); in testDisjointBranchesNotFactored() 56 assertThat(factor(t, REQUIRE_EQUAL_EDGES)) in testOverlappingBranchesAreFactored() 59 assertThat(factor(t, ALLOW_EDGE_SPLITTING)) in testOverlappingBranchesAreFactored() 67 // into the longer path of the first factor, since [3-4] already exists and is not equal to in testStrategyDifference() [all …]
|
| /third_party/icu/ohos_icu4c/build_data/full/misc/ |
| D | units.txt | 3 factor{"1"} 7 factor{"1"} 11 factor{"1"} 15 factor{"1"} 19 factor{"1"} 23 factor{"1"} 27 factor{"1"} 31 factor{"1"} 35 factor{"1"} 39 factor{"1"}
|
| /third_party/toybox/toys/other/ |
| D | factor.c | 1 /* factor.c - Factor integers 7 USE_FACTOR(NEWTOY(factor, 0, TOYFLAG_USR|TOYFLAG_BIN)) 9 config FACTOR 10 bool "factor" 13 usage: factor NUMBER... 15 Factor integers. 20 static void factor(char *s) in factor() function 42 // Negative numbers have -1 as a factor in factor() 79 for (ss = toys.optargs; *ss; ss++) factor(*ss); in factor_main() 85 factor(s); in factor_main()
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/SUN/ |
| D | SUN_global_alpha.txt | 49 used to specify an alpha factor that is independent from the alpha 50 component of the color value. The global alpha factor is 60 void GlobalAlphaFactorbSUN(byte factor); 62 void GlobalAlphaFactorsSUN(short factor); 64 void GlobalAlphaFactoriSUN(int factor); 66 void GlobalAlphaFactorfSUN(float factor); 68 void GlobalAlphaFactordSUN(double factor); 70 void GlobalAlphaFactorubSUN(ubyte factor); 72 void GlobalAlphaFactorusSUN(ushort factor); 74 void GlobalAlphaFactoruiSUN(uint factor); [all …]
|
| /third_party/openGLES/extensions/SUN/ |
| D | SUN_global_alpha.txt | 49 used to specify an alpha factor that is independent from the alpha 50 component of the color value. The global alpha factor is 60 void GlobalAlphaFactorbSUN(byte factor); 62 void GlobalAlphaFactorsSUN(short factor); 64 void GlobalAlphaFactoriSUN(int factor); 66 void GlobalAlphaFactorfSUN(float factor); 68 void GlobalAlphaFactordSUN(double factor); 70 void GlobalAlphaFactorubSUN(ubyte factor); 72 void GlobalAlphaFactorusSUN(ushort factor); 74 void GlobalAlphaFactoruiSUN(uint factor); [all …]
|
| /third_party/mesa3d/src/intel/genxml/ |
| D | genX_cl_helpers.h | 58 float factor = (1 << fract_bits); in util_bitpack_sfixed() local 60 int64_t int_val = round(v * factor); in util_bitpack_sfixed() 70 float factor = (1 << fract_bits); in util_bitpack_sfixed_clamp() local 73 float min = u_intN_min(total_bits) / factor; in util_bitpack_sfixed_clamp() 74 float max = u_intN_max(total_bits) / factor; in util_bitpack_sfixed_clamp() 76 int64_t int_val = round(CLAMP(v, min, max) * factor); in util_bitpack_sfixed_clamp() 92 float factor = (1 << fract_bits); in util_bitpack_ufixed() local 94 uint64_t uint_val = round(v * factor); in util_bitpack_ufixed() 102 float factor = (1 << fract_bits); in util_bitpack_ufixed_clamp() local 106 float max = u_uintN_max(total_bits) / factor; in util_bitpack_ufixed_clamp() [all …]
|
| /third_party/mesa3d/src/util/ |
| D | bitpack_helpers.h | 128 const float factor = (1 << fract_bits); in util_bitpack_sfixed() local 132 const float min = u_intN_min(total_bits) / factor; in util_bitpack_sfixed() 133 const float max = u_intN_max(total_bits) / factor; in util_bitpack_sfixed() 137 const int64_t int_val = llroundf(v * factor); in util_bitpack_sfixed() 149 const float factor = (1 << fract_bits); in util_bitpack_sfixed_clamp() local 152 const float min = u_intN_min(total_bits) / factor; in util_bitpack_sfixed_clamp() 153 const float max = u_intN_max(total_bits) / factor; in util_bitpack_sfixed_clamp() 155 const int64_t int_val = llroundf(CLAMP(v, min, max) * factor); in util_bitpack_sfixed_clamp() 175 const float factor = (1 << fract_bits); in util_bitpack_ufixed() local 180 const float max = u_uintN_max(total_bits) / factor; in util_bitpack_ufixed() [all …]
|
| D | blend.h | 41 util_blendfactor_is_inverted(enum pipe_blendfactor factor) in util_blendfactor_is_inverted() argument 44 return (factor & PIPE_BLENDFACTOR_INVERT_BIT); in util_blendfactor_is_inverted() 48 util_blendfactor_without_invert(enum pipe_blendfactor factor) in util_blendfactor_without_invert() argument 51 return (enum pipe_blendfactor)(factor & ~PIPE_BLENDFACTOR_INVERT_BIT); in util_blendfactor_without_invert() 84 * garbage that's there. Return a blend factor that will take that into 88 util_blend_dst_alpha_to_one(enum pipe_blendfactor factor) in util_blend_dst_alpha_to_one() argument 90 switch (factor) { in util_blend_dst_alpha_to_one() 96 return factor; in util_blend_dst_alpha_to_one()
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/parallel/tensor_layout/ |
| D | layout_utils.cc | 81 …int64_t factor = std::accumulate(new_to_factors.begin(), new_to_factors.end(), 1, std::multiplies<… in GetLeastFactorWithoutConstDims() local 82 return factor; in GetLeastFactorWithoutConstDims() 231 int64_t factor = tgt_factors.GetDimByIdx(i); in ForwardMatching() local 232 int64_t val = tgt_shape->at(i) * factor; in ForwardMatching() 243 if (tgt_shape->at(ptr) >= factor && tgt_shape->at(ptr) % factor == 0) { in ForwardMatching() 244 (*tgt_shape)[ptr] /= factor; in ForwardMatching() 245 factor = 1; in ForwardMatching() 248 int64_t divisor = std::gcd(tgt_shape->at(ptr), factor); in ForwardMatching() 249 factor /= divisor; in ForwardMatching() 253 if (factor != 1) { in ForwardMatching() [all …]
|