Home
last modified time | relevance | path

Searched refs:positive (Results 1 - 25 of 80) sorted by relevance

1234

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DPatternStringParser.java89 public ParsedSubpatternInfo positive; field in PatternStringParser.ParsedPatternInfo
136 return positive.paddingEndpoints; in getEndpoints()
140 return positive.prefixEndpoints; in getEndpoints()
144 return positive.suffixEndpoints; in getEndpoints()
150 return positive.hasPlusSign; in positiveHasPlusSign()
165 return positive.hasCurrencySign || (negative != null && negative.hasCurrencySign); in hasCurrencySign()
175 return positive.integerTotal > 0; in hasBody()
180 return positive.hasCurrencyDecimal; in currencyAsDecimal()
269 result.positive = new ParsedSubpatternInfo(); in consumePattern()
270 consumeSubpattern(state, result.positive); in consumePattern()
[all...]
H A DAdoptingModifierStore.java14 private final Modifier positive; field in AdoptingModifierStore
22 * This constructor populates the ParameterizedModifier with a single positive and negative form.
27 public AdoptingModifierStore(Modifier positive, Modifier posZero, Modifier negZero, Modifier negative) { in AdoptingModifierStore() argument
28 this.positive = positive; in AdoptingModifierStore()
37 * This constructor prepares the ParameterizedModifier to be populated with a positive and negative
44 this.positive = null; in AdoptingModifierStore()
67 return positive; in getModifierWithoutPlural()
82 assert positive == null; in getModifier()
H A DGrouper.java138 short grouping1 = (short) (patternInfo.positive.groupingSizes & 0xffff); in withLocaleData()
139 short grouping2 = (short) ((patternInfo.positive.groupingSizes >>> 16) & 0xffff); in withLocaleData()
140 short grouping3 = (short) ((patternInfo.positive.groupingSizes >>> 32) & 0xffff); in withLocaleData()
H A DMutablePatternModifier.java90 * Whether to force a plus sign on positive numbers.
131 * -1 if negative; +1 if positive; or 0 if zero.
159 * @return An immutable that supports both positive and negative numbers.
182 Modifier positive = createConstantModifier(a, b); in createImmutable()
189 AdoptingModifierStore pm = new AdoptingModifierStore(positive, posZero, negZero, negative); in createImmutable()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
H A DPatternStringParser.java92 public ParsedSubpatternInfo positive; field in PatternStringParser.ParsedPatternInfo
139 return positive.paddingEndpoints; in getEndpoints()
143 return positive.prefixEndpoints; in getEndpoints()
147 return positive.suffixEndpoints; in getEndpoints()
153 return positive.hasPlusSign; in positiveHasPlusSign()
168 return positive.hasCurrencySign || (negative != null && negative.hasCurrencySign); in hasCurrencySign()
178 return positive.integerTotal > 0; in hasBody()
254 result.positive = new ParsedSubpatternInfo(); in consumePattern()
255 consumeSubpattern(state, result.positive); in consumePattern()
550 ParsedSubpatternInfo positive in patternInfoToProperties()
[all...]
H A DAdoptingModifierStore.java16 private final Modifier positive; field in AdoptingModifierStore
24 * This constructor populates the ParameterizedModifier with a single positive and negative form.
29 public AdoptingModifierStore(Modifier positive, Modifier posZero, Modifier negZero, Modifier negative) { in AdoptingModifierStore() argument
30 this.positive = positive; in AdoptingModifierStore()
39 * This constructor prepares the ParameterizedModifier to be populated with a positive and negative
46 this.positive = null; in AdoptingModifierStore()
69 return positive; in getModifierWithoutPlural()
84 assert positive == null; in getModifier()
H A DGrouper.java128 short grouping1 = (short) (patternInfo.positive.groupingSizes & 0xffff); in withLocaleData()
129 short grouping2 = (short) ((patternInfo.positive.groupingSizes >>> 16) & 0xffff); in withLocaleData()
130 short grouping3 = (short) ((patternInfo.positive.groupingSizes >>> 32) & 0xffff); in withLocaleData()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_patternstring.cpp82 return positive.paddingEndpoints; in getEndpoints()
86 return positive.prefixEndpoints; in getEndpoints()
90 return positive.suffixEndpoints; in getEndpoints()
95 return positive.hasPlusSign; in positiveHasPlusSign()
107 return positive.hasCurrencySign || (fHasNegativeSubpattern && negative.hasCurrencySign); in hasCurrencySign()
115 return positive.integerTotal > 0; in hasBody()
145 currentSubpattern = &positive; in consumePattern()
483 const ParsedSubpatternInfo& positive = patternInfo.positive; in patternInfoToProperties() local
489 ignoreRounding = positive in patternInfoToProperties()
[all...]
H A Dnumber_grouping.cpp77 auto grouping1 = static_cast<int16_t> (patternInfo.positive.groupingSizes & 0xffff); in setLocaleData()
78 auto grouping2 = static_cast<int16_t> ((patternInfo.positive.groupingSizes >> 16) & 0xffff); in setLocaleData()
79 auto grouping3 = static_cast<int16_t> ((patternInfo.positive.groupingSizes >> 32) & 0xffff); in setLocaleData()
/third_party/icu/icu4c/source/i18n/
H A Dnumber_patternstring.cpp82 return positive.paddingEndpoints; in getEndpoints()
86 return positive.prefixEndpoints; in getEndpoints()
90 return positive.suffixEndpoints; in getEndpoints()
95 return positive.hasPlusSign; in positiveHasPlusSign()
107 return positive.hasCurrencySign || (fHasNegativeSubpattern && negative.hasCurrencySign); in hasCurrencySign()
115 return positive.integerTotal > 0; in hasBody()
119 return positive.hasCurrencyDecimal; in currencyAsDecimal()
161 currentSubpattern = &positive; in consumePattern()
528 const ParsedSubpatternInfo& positive = patternInfo.positive; in patternInfoToProperties() local
[all...]
H A Dnumber_grouping.cpp77 auto grouping1 = static_cast<int16_t> (patternInfo.positive.groupingSizes & 0xffff); in setLocaleData()
78 auto grouping2 = static_cast<int16_t> ((patternInfo.positive.groupingSizes >> 16) & 0xffff); in setLocaleData()
79 auto grouping3 = static_cast<int16_t> ((patternInfo.positive.groupingSizes >> 32) & 0xffff); in setLocaleData()
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_patternstring.cpp82 return positive.paddingEndpoints; in getEndpoints()
86 return positive.prefixEndpoints; in getEndpoints()
90 return positive.suffixEndpoints; in getEndpoints()
95 return positive.hasPlusSign; in positiveHasPlusSign()
107 return positive.hasCurrencySign || (fHasNegativeSubpattern && negative.hasCurrencySign); in hasCurrencySign()
115 return positive.integerTotal > 0; in hasBody()
119 return positive.hasCurrencyDecimal; in currencyAsDecimal()
161 currentSubpattern = &positive; in consumePattern()
528 const ParsedSubpatternInfo& positive = patternInfo.positive; in patternInfoToProperties() local
[all...]
H A Dnumber_grouping.cpp77 auto grouping1 = static_cast<int16_t> (patternInfo.positive.groupingSizes & 0xffff); in setLocaleData()
78 auto grouping2 = static_cast<int16_t> ((patternInfo.positive.groupingSizes >> 16) & 0xffff); in setLocaleData()
79 auto grouping3 = static_cast<int16_t> ((patternInfo.positive.groupingSizes >> 32) & 0xffff); in setLocaleData()
/third_party/skia/include/private/
H A DSkHalf.h19 static constexpr uint16_t SK_HalfMin = 0x0400; // 2^-14 (minimum positive normal value)
52 positive = bits ^ sign, // ...but strip it off for now. in SkHalfToFloat_finite_ftz()
53 is_norm = 0x03ff < positive; // Exponent > 0? in SkHalfToFloat_finite_ftz()
57 Sk4i norm = (positive << 13) + ((127 - 15) << 23); in SkHalfToFloat_finite_ftz()
73 positive = bits ^ sign, // ...but strip it off for now. in SkFloatToHalf_finite_ftz()
74 will_be_norm = 0x387fdfff < positive; // greater than largest denorm half? in SkFloatToHalf_finite_ftz()
78 Sk4i norm = (positive - ((127 - 15) << 23)) >> 13; in SkFloatToHalf_finite_ftz()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DConstantFoldingOverflow_test.cpp27 void evaluateFloatOverflow(const std::string &floatString, bool positive) in evaluateFloatOverflow() argument
30 float expected = positive ? std::numeric_limits<float>::infinity() in evaluateFloatOverflow()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArraySampling.cpp29 /* Control logging of positive results. 0 disabled, 1 enabled */
32 /* Control logging of program source for positive results. 0 disabled, 1 enabled */
1337 const glw::GLfloat positive = 1.0f; in prepareTextureCoordinatesForFace() local
1342 vectorSet4(data, 0, positive, left, top, layer); in prepareTextureCoordinatesForFace()
1343 vectorSet4(data, 1, positive, middle, top, layer); in prepareTextureCoordinatesForFace()
1344 vectorSet4(data, 2, positive, right, top, layer); in prepareTextureCoordinatesForFace()
1345 vectorSet4(data, 3, positive, left, middle, layer); in prepareTextureCoordinatesForFace()
1346 vectorSet4(data, 4, positive, middle, middle, layer); in prepareTextureCoordinatesForFace()
1347 vectorSet4(data, 5, positive, right, middle, layer); in prepareTextureCoordinatesForFace()
1348 vectorSet4(data, 6, positive, lef in prepareTextureCoordinatesForFace()
1446 const glw::GLfloat positive = 1.0f; prepareTextureCoordinatesForGatherForFace() local
[all...]
/third_party/python/Parser/
H A Dpegen.c328 _PyPegen_lookahead_with_name(int positive, expr_ty (func)(Parser *), Parser *p) in _PyPegen_lookahead_with_name() argument
333 return (res != NULL) == positive; in _PyPegen_lookahead_with_name()
337 _PyPegen_lookahead_with_string(int positive, expr_ty (func)(Parser *, const char*), Parser *p, const char* arg) in _PyPegen_lookahead_with_string() argument
342 return (res != NULL) == positive; in _PyPegen_lookahead_with_string()
346 _PyPegen_lookahead_with_int(int positive, Token *(func)(Parser *, int), Parser *p, int arg) in _PyPegen_lookahead_with_int() argument
351 return (res != NULL) == positive; in _PyPegen_lookahead_with_int()
355 _PyPegen_lookahead(int positive, void *(func)(Parser *), Parser *p) in _PyPegen_lookahead() argument
360 return (res != NULL) == positive; in _PyPegen_lookahead()
/third_party/python/Lib/test/
H A Dtest_cmath.py298 positive = test_values + [1.] + [1./x for x in test_values]
299 nonnegative = [0.] + positive
302 real_line = [0.] + positive + [-x for x in positive]
311 'log' : positive,
312 'log10' : positive,
329 for v in positive:
/third_party/libunwind/libunwind/doc/
H A Dunw_is_signal_frame.tex19 The \Func{unw\_is\_signal\_frame}() routine returns a positive value
35 positive value if the current frame is a signal frame, or 0 if it is
/third_party/rust/crates/proc-macro2/tests/
H A Dtest.rs306 let positive = "0.1".parse::<Literal>().unwrap(); in literal_span()
308 let subspan = positive.subspan(1..2); in literal_span()
318 assert_eq!(positive.span().start().column, 0); in literal_span()
319 assert_eq!(positive.span().end().column, 3); in literal_span()
325 assert!(positive.subspan(1..4).is_none()); in literal_span()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_lower_cubemap_to_array.c94 nir_ssa_def *positive = nir_fge(b, coord->rx, nir_imm_float(b, 0.0)); in evaluate_face_x() local
99 nir_ssa_def *face = nir_bcsel(b, positive, nir_imm_float(b, 0.0), nir_imm_float(b, 1.0)); in evaluate_face_x()
111 nir_ssa_def *positive = nir_fge(b, coord->ry, nir_imm_float(b, 0.0)); in evaluate_face_y() local
116 nir_ssa_def *face = nir_bcsel(b, positive, nir_imm_float(b, 2.0), nir_imm_float(b, 3.0)); in evaluate_face_y()
128 nir_ssa_def *positive = nir_fge(b, coord->rz, nir_imm_float(b, 0.0)); in evaluate_face_z() local
133 nir_ssa_def *face = nir_bcsel(b, positive, nir_imm_float(b, 4.0), nir_imm_float(b, 5.0)); in evaluate_face_z()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_nir_lower_int_cubemaps.c139 nir_ssa_def *positive = nir_fge(b, coord->rx, nir_imm_float(b, 0.0)); in evaluate_face_x() local
144 nir_ssa_def *face = nir_bcsel(b, positive, nir_imm_float(b, 0.0), nir_imm_float(b, 1.0)); in evaluate_face_x()
158 nir_ssa_def *positive = nir_fge(b, coord->ry, nir_imm_float(b, 0.0)); in evaluate_face_y() local
163 nir_ssa_def *face = nir_bcsel(b, positive, nir_imm_float(b, 2.0), nir_imm_float(b, 3.0)); in evaluate_face_y()
177 nir_ssa_def *positive = nir_fge(b, coord->rz, nir_imm_float(b, 0.0)); in evaluate_face_z() local
182 nir_ssa_def *face = nir_bcsel(b, positive, nir_imm_float(b, 4.0), nir_imm_float(b, 5.0)); in evaluate_face_z()
/third_party/json/tests/src/
H A Dunit-cbor.cpp200 auto positive = static_cast<uint64_t>(-1 - i); variable
201 expected.push_back(static_cast<uint8_t>((positive >> 56) & 0xff));
202 expected.push_back(static_cast<uint8_t>((positive >> 48) & 0xff));
203 expected.push_back(static_cast<uint8_t>((positive >> 40) & 0xff));
204 expected.push_back(static_cast<uint8_t>((positive >> 32) & 0xff));
205 expected.push_back(static_cast<uint8_t>((positive >> 24) & 0xff));
206 expected.push_back(static_cast<uint8_t>((positive >> 16) & 0xff));
207 expected.push_back(static_cast<uint8_t>((positive >> 8) & 0xff));
208 expected.push_back(static_cast<uint8_t>(positive & 0xff));
225 CHECK(restored == positive);
257 auto positive = static_cast<uint32_t>(static_cast<uint64_t>(-1 - i) & 0x00000000ffffffff); global() variable
298 auto positive = static_cast<uint16_t>(-1 - i); global() variable
[all...]
/third_party/python/Tools/peg_generator/pegen/
H A Dc_generator.py227 def lookahead_call_helper(self, node: Lookahead, positive: int) -> FunctionCall:
232 arguments=[positive, call.function, *call.arguments],
238 arguments=[positive, call.function, *call.arguments],
244 arguments=[positive, call.function, *call.arguments],
251 arguments=[positive, call.function, *call.arguments],
/third_party/node/test/parallel/
H A Dtest-tls-client-mindhsize.js77 let errMessage = /minDHSize is not a positive number/;

Completed in 25 milliseconds

1234