Home
last modified time | relevance | path

Searched refs:INTEGER (Results 1 - 25 of 94) sorted by relevance

1234

/third_party/gn/src/gn/
H A Dvalue.cc24 case INTEGER: in Value()
43 : type_(INTEGER), origin_(origin), int_value_(int_val) {} in Value()
61 case INTEGER: in Value()
86 case INTEGER: in origin_()
140 case INTEGER: in DescribeType()
165 case INTEGER: in ToString()
238 case Value::INTEGER: in operator ==()
H A Dtokenizer_unittest.cc61 TokenExpectation integers[] = {{Token::INTEGER, "123"}, in TEST()
62 {Token::INTEGER, "-123"}}; in TEST()
67 TokenExpectation integers[] = {{Token::INTEGER, "123"}, in TEST()
68 {Token::INTEGER, "-123"}}; in TEST()
117 {Token::EQUAL, "="}, {Token::INTEGER, "12"}, in TEST()
165 {Token::INTEGER, "12"}, in TEST()
229 EXPECT_EQ(results[1].type(), Token::INTEGER); in TEST()
H A Doperators.cc266 case Value::INTEGER: // Filter out the individual int/string. in RemoveMatchesFromList()
344 if (left.type() == Value::INTEGER) { in ExecutePlus()
345 if (right.type() == Value::INTEGER) { in ExecutePlus()
359 if (right.type() == Value::INTEGER) { in ExecutePlus()
394 if (left.type() == Value::INTEGER && right.type() == Value::INTEGER) { in ExecuteMinus()
462 if (right.type() == Value::INTEGER) { in ExecutePlusEquals()
550 if (left.type() != Value::INTEGER || right.type() != Value::INTEGER) in ExecuteLessEquals()
560 if (left.type() != Value::INTEGER || righ in ExecuteGreaterEquals()
[all...]
H A Dvalue.h25 INTEGER, enumerator
70 DCHECK(type_ == INTEGER); in int_value()
74 DCHECK(type_ == INTEGER); in int_value()
H A Dparse_tree_unittest.cc57 ASSERT_EQ(Value::INTEGER, result.type()); in TEST()
78 EXPECT_EQ(first.type(), Value::INTEGER); in TEST()
83 EXPECT_EQ(second.type(), Value::INTEGER); in TEST()
90 EXPECT_EQ(foo.type(), Value::INTEGER); in TEST()
97 EXPECT_EQ(bar.type(), Value::INTEGER); in TEST()
H A Dtokenizer.cc204 return Token::INTEGER;
243 return Token::INTEGER;
260 case Token::INTEGER:
H A Doperators_unittest.cc20 if (v.type() != Value::INTEGER) in IsValueIntegerEqualing()
169 ASSERT_EQ(Value::INTEGER, result.list_value()[0].list_value()[0].type()); in TEST()
273 ASSERT_EQ(Value::INTEGER, ret.type()); in TEST()
287 ASSERT_EQ(Value::INTEGER, ret.type()); in TEST()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDecimalFormatAPIC.java352 v.add(new FieldContainer(0, 3, NumberFormat.Field.INTEGER)); in getNumberVectorUS()
360 // v.add(new FieldContainer(0, 3, NumberFormat.Field.INTEGER));
368 // v.add(new FieldContainer(1, 4, NumberFormat.Field.INTEGER));
376 v.add(new FieldContainer(1, 4, NumberFormat.Field.INTEGER)); in getPositiveCurrencyVectorUS()
387 v.add(new FieldContainer(2, 5, NumberFormat.Field.INTEGER)); in getNegativeCurrencyVectorUS()
395 v.add(new FieldContainer(0, 2, NumberFormat.Field.INTEGER)); in getPercentVectorUS()
396 v.add(new FieldContainer(2, 3, NumberFormat.Field.INTEGER)); in getPercentVectorUS()
398 v.add(new FieldContainer(3, 6, NumberFormat.Field.INTEGER)); in getPercentVectorUS()
405 v.add(new FieldContainer(0, 6, NumberFormat.Field.INTEGER)); in getPermilleVector()
412 v.add(new FieldContainer(0, 4, NumberFormat.Field.INTEGER)); in getNegativeExponentVector()
[all...]
H A DPluralRulesTest.java187 checkNewSamples(description, test, "one", PluralRules.SampleType.INTEGER, "@integer 3, 19", true, in testSamples()
191 checkOldSamples(description, test, "one", SampleType.INTEGER, in testSamples()
200 checkNewSamples(description, test, "other", PluralRules.SampleType.INTEGER, "", true, null); in testSamples()
203 checkOldSamples(description, test, "other", SampleType.INTEGER); in testSamples()
230 checkNewSamples(description, test, "one", PluralRules.SampleType.INTEGER, "@integer 0, 1, 1e5", true, in testSamplesWithExponent()
234 checkNewSamples(description, test, "many", PluralRules.SampleType.INTEGER, "@integer 1000000, 2e6, 3e6, 4e6, 5e6, 6e6, 7e6, …", false, in testSamplesWithExponent()
238 checkNewSamples(description, test, "other", PluralRules.SampleType.INTEGER, "@integer 2~17, 100, 1000, 10000, 100000, 2e5, 3e5, 4e5, 5e5, 6e5, 7e5, …", false, in testSamplesWithExponent()
262 checkNewSamples(description, test, "one", PluralRules.SampleType.INTEGER, "@integer 0, 1, 1c5", true, in testSamplesWithCompactNotation()
266 checkNewSamples(description, test, "many", PluralRules.SampleType.INTEGER, "@integer 1000000, 2c6, 3c6, 4c6, 5c6, 6c6, 7c6, …", false, in testSamplesWithCompactNotation()
270 checkNewSamples(description, test, "other", PluralRules.SampleType.INTEGER, " in testSamplesWithCompactNotation()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DIntlTestDecimalFormatAPIC.java355 v.add(new FieldContainer(0, 3, NumberFormat.Field.INTEGER)); in getNumberVectorUS()
363 // v.add(new FieldContainer(0, 3, NumberFormat.Field.INTEGER));
371 // v.add(new FieldContainer(1, 4, NumberFormat.Field.INTEGER));
379 v.add(new FieldContainer(1, 4, NumberFormat.Field.INTEGER)); in getPositiveCurrencyVectorUS()
390 v.add(new FieldContainer(2, 5, NumberFormat.Field.INTEGER)); in getNegativeCurrencyVectorUS()
398 v.add(new FieldContainer(0, 2, NumberFormat.Field.INTEGER)); in getPercentVectorUS()
399 v.add(new FieldContainer(2, 3, NumberFormat.Field.INTEGER)); in getPercentVectorUS()
401 v.add(new FieldContainer(3, 6, NumberFormat.Field.INTEGER)); in getPercentVectorUS()
408 v.add(new FieldContainer(0, 6, NumberFormat.Field.INTEGER)); in getPermilleVector()
415 v.add(new FieldContainer(0, 4, NumberFormat.Field.INTEGER)); in getNegativeExponentVector()
[all...]
/third_party/mksh/
H A Dvar.c39 * if (flag&INTEGER), val.i contains integer value, and type contains base.
285 vp->flag |= ISSET|INTEGER; in isglobal()
293 vp->flag &= ~(ISSET|INTEGER); in isglobal()
302 vp->flag &= ~INTEGER; in isglobal()
306 vp->flag &= ~(ISSET|INTEGER); in isglobal()
363 (EXPORT | INTEGER | RDONLY | LJUST | RJUST | in local()
365 if (vq->flag & INTEGER) in local()
394 else if (!(vp->flag&INTEGER)) in str_val()
469 if (!(vq->flag&INTEGER)) { in setstr()
513 if (!(vq->flag&INTEGER)) { in setint()
[all...]
H A Dexpr.c110 v.flag = DEFINED | INTEGER; in evaluate()
162 if (vp->flag & INTEGER) in v_evaluate()
248 if (vasn->flag & INTEGER) in do_ppmm()
540 if (vasn->flag & INTEGER) in evalexpr()
628 es->val->flag &= ~INTEGER; in exprtoken()
670 vp->flag = ISSET|INTEGER; in tempvar()
686 (vp->flag & (ISSET|INTEGER|EXPRLVALUE)) == (ISSET|INTEGER)) in intvar()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/
H A DNumberFormatProviderICU.java23 private final static int INTEGER = 1; field in NumberFormatProviderICU
34 return getInstance(INTEGER, locale); in getIntegerInstance()
59 case INTEGER: in getInstance()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DFormattedValueStringBuilderImpl.java66 rawField = NumberFormat.Field.INTEGER; in nextFieldPosition()
173 // Special case: coalesce the INTEGER if we are pointing at the end of the INTEGER. in nextPosition()
174 if (cfpos.matchesField(NumberFormat.Field.INTEGER, null) in nextPosition()
182 cfpos.setState(NumberFormat.Field.INTEGER, null, j - self.zero + 1, i - self.zero); in nextPosition()
207 // Special case: skip over INTEGER; will be coalesced later. in nextPosition()
208 if (_field == NumberFormat.Field.INTEGER) { in nextPosition()
236 return field == NumberFormat.Field.INTEGER || field == NumberFormat.Field.GROUPING_SEPARATOR; in isIntOrGroup()
/third_party/mesa3d/src/mesa/program/
H A Dprogram_parse.y177 %token <integer> INTEGER
660 extSwizSel: INTEGER
873 progParamArrayAbs: INTEGER
897 addrRegPosOffset: INTEGER
911 addrRegNegOffset: INTEGER
1048 vtxAttribNum: INTEGER
1059 vtxWeightNum: INTEGER;
1128 | INTEGER
1374 stateLightNumber: INTEGER
1446 stateClipPlaneNum: INTEGER
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DFormattedValueStringBuilderImpl.java92 rawField = NumberFormat.Field.INTEGER; in nextFieldPosition()
177 boolean prevIsInteger = cfpos.getField() == NumberFormat.Field.INTEGER; in nextPosition()
224 // Special case: coalesce the INTEGER if we are pointing at the end of the INTEGER. in nextPosition()
225 if (cfpos.matchesField(NumberFormat.Field.INTEGER, null) in nextPosition()
233 cfpos.setState(NumberFormat.Field.INTEGER, null, j - self.zero + 1, i - self.zero); in nextPosition()
275 // Special case: skip over INTEGER; will be coalesced later. in nextPosition()
276 else if (_field == NumberFormat.Field.INTEGER) { in nextPosition()
306 return field == NumberFormat.Field.INTEGER || field == NumberFormat.Field.GROUPING_SEPARATOR; in isIntOrGroup()
/third_party/node/deps/npm/node_modules/@sigstore/core/dist/asn1/
H A Dtag.js22 INTEGER: 0x02,
65 return this.isUniversal() && this.number === UNIVERSAL_TAG.INTEGER;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DPluralRules.java1050 INTEGER, enum constant
1158 sampleType2 = SampleType.INTEGER; in parse()
1196 if ((sampleType2 == SampleType.INTEGER) != (sample.getVisibleDecimalDigitCount() == 0)) { in checkDecimal()
1557 if (integerSamples.sampleType != SampleType.INTEGER || decimalSamples.sampleType != SampleType.DECIMAL) { in parseRule()
1659 case INTEGER: in isLimited()
1960 return sampleType == SampleType.INTEGER ? rule.integerSamples : rule.decimalSamples; in getDecimalSamples()
2200 return getAllKeywordValues(keyword, SampleType.INTEGER); in getAllKeywordValues()
2208 * @param type the type of samples requested, INTEGER or DECIMAL
2235 return getSamples(keyword, SampleType.INTEGER); in getSamples()
2247 * @param sampleType the type of samples requested, INTEGER o
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DNumberFormatterImpl.java516 length += string.insert(length + index, micros.symbols.getInfinity(), NumberFormat.Field.INTEGER); in writeNumber()
519 length += string.insert(length + index, micros.symbols.getNaN(), NumberFormat.Field.INTEGER); in writeNumber()
556 NumberFormat.Field.INTEGER); in writeNumber()
560 NumberFormat.Field.INTEGER); in writeNumber()
589 NumberFormat.Field.INTEGER); in writeIntegerDigits()
593 NumberFormat.Field.INTEGER); in writeIntegerDigits()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
H A DNumberFormatterImpl.java421 length += string.insert(length + index, micros.symbols.getInfinity(), NumberFormat.Field.INTEGER); in writeNumber()
424 length += string.insert(length + index, micros.symbols.getNaN(), NumberFormat.Field.INTEGER); in writeNumber()
447 NumberFormat.Field.INTEGER); in writeNumber()
451 NumberFormat.Field.INTEGER); in writeNumber()
480 NumberFormat.Field.INTEGER); in writeIntegerDigits()
484 NumberFormat.Field.INTEGER); in writeIntegerDigits()
/third_party/mesa3d/src/compiler/glsl/glcpp/
H A Dglcpp-parse.y196 %token DEFINED ELIF_EXPANDED HASH_TOKEN DEFINE_TOKEN FUNC_IDENTIFIER OBJ_IDENTIFIER ELIF ELSE ENDIF ERROR_TOKEN IF IFDEF IFNDEF LINE PRAGMA UNDEF VERSION_TOKEN GARBAGE IDENTIFIER IF_EXPANDED INTEGER INTEGER_STRING LINE_EXPANDED NEWLINE OTHER PLACEHOLDER SPACE PLUS_PLUS MINUS_MINUS PATH INCLUDE
198 %type <ival> INTEGER operator SPACE integer_constant version_constant
568 | INTEGER {
1224 case INTEGER:
1254 case INTEGER:
1379 if ((token->type == IDENTIFIER || token->type == OTHER || token->type == INTEGER_STRING || token->type == INTEGER) &&
1380 (other->type == IDENTIFIER || other->type == OTHER || other->type == INTEGER_STRING || other->type == INTEGER))
1388 if (token->type == INTEGER_STRING || token->type == INTEGER) {
1394 case INTEGER:
1403 if (token->type == INTEGER)
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
H A DNumberFormatterApiTest.java2623 {NumberFormat.Field.INTEGER, 1, 14}, in fieldPositionLogic()
2675 {NumberFormat.Field.INTEGER, 0, 2}, in fieldPositionCoverage()
2695 {NumberFormat.Field.INTEGER, 0, 2}, in fieldPositionCoverage()
2715 {NumberFormat.Field.INTEGER, 0, 2}, in fieldPositionCoverage()
2737 {NumberFormat.Field.INTEGER, 12, 14}, in fieldPositionCoverage()
2757 {NumberFormat.Field.INTEGER, 0, 2}, in fieldPositionCoverage()
2781 {NumberFormat.Field.INTEGER, 1, 3}, in fieldPositionCoverage()
2801 {NumberFormat.Field.INTEGER, 0, 2}, in fieldPositionCoverage()
2821 {NumberFormat.Field.INTEGER, 0, 2}, in fieldPositionCoverage()
2841 {NumberFormat.Field.INTEGER, in fieldPositionCoverage()
[all...]
H A DNumberRangeFormatterTest.java741 {NumberFormat.Field.INTEGER, 0, 1}, in testFieldPositions()
743 {NumberFormat.Field.INTEGER, 5, 6}, in testFieldPositions()
761 {NumberFormat.Field.INTEGER, 0, 10}, in testFieldPositions()
764 {NumberFormat.Field.INTEGER, 11, 21}}; in testFieldPositions()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DPluralRules.java1088 INTEGER, enum constant
1187 sampleType2 = SampleType.INTEGER; in parse()
1231 if ((sampleType2 == SampleType.INTEGER && sample.getPluralOperand(Operand.v) != 0) in checkDecimal()
1637 if (integerSamples.sampleType != SampleType.INTEGER || decimalSamples.sampleType != SampleType.DECIMAL) { in parseRule()
1739 case INTEGER: in isLimited()
2041 return sampleType == SampleType.INTEGER ? rule.integerSamples : rule.decimalSamples; in getDecimalSamples()
2359 return getAllKeywordValues(keyword, SampleType.INTEGER); in getAllKeywordDecimalQuantityValues()
2367 * @param type the type of samples requested, INTEGER or DECIMAL
2393 return getSamples(keyword, SampleType.INTEGER); in getSamples()
2409 return getDecimalQuantitySamples(keyword, SampleType.INTEGER); in getDecimalQuantitySamples()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DNumberFormatterApiTest.java1440 {NumberFormat.Field.INTEGER, 0, 3}, in unitUsage()
1475 {NumberFormat.Field.INTEGER, 0, 3}, in unitUsage()
1509 {NumberFormat.Field.INTEGER, 0, 5}, in unitUsage()
1543 // {NumberFormat.Field.INTEGER, 0, 2}, in unitUsage()
1546 // {NumberFormat.Field.INTEGER, 7, 8}, in unitUsage()
1552 {NumberFormat.Field.INTEGER, 7, 8}, in unitUsage()
5445 {NumberFormat.Field.INTEGER, 1, 14}, in fieldPositionLogic()
5497 {NumberFormat.Field.INTEGER, 0, 2}, in fieldPositionCoverage()
5517 {NumberFormat.Field.INTEGER, 0, 2}, in fieldPositionCoverage()
5537 {NumberFormat.Field.INTEGER, in fieldPositionCoverage()
[all...]

Completed in 32 milliseconds

1234