Searched refs:fmt (Results 1 – 7 of 7) sorted by relevance
/dalvik/libdex/ |
D | InstrUtils.c | 680 InstructionFormat fmt = kFmtUnknown; in dexCreateInstrFormatTable() local 684 fmt = kFmt10t; in dexCreateInstrFormatTable() 688 fmt = kFmt10x; in dexCreateInstrFormatTable() 691 fmt = kFmt11n; in dexCreateInstrFormatTable() 695 fmt = kFmt21h; in dexCreateInstrFormatTable() 707 fmt = kFmt11x; in dexCreateInstrFormatTable() 766 fmt = kFmt12x; in dexCreateInstrFormatTable() 769 fmt = kFmt20t; in dexCreateInstrFormatTable() 772 fmt = kFmt30t; in dexCreateInstrFormatTable() 792 fmt = kFmt21c; in dexCreateInstrFormatTable() [all …]
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
D | FormattableTest.java | 61 Formatter fmt = new Formatter(); in testFormatTo() local 64 assertTrue(fmt.format("%1.1s", mf).toString().equals("single precision ")); in testFormatTo() 65 assertTrue(fmt.format("%2.1s", mf).toString().equals("single precision single precision ")); in testFormatTo() 66 …assertTrue(fmt.format("%2.2s", mf).toString().equals("single precision single precision double pre… in testFormatTo()
|
/dalvik/libcore/icu/src/main/native/ |
D | DecimalFormatInterface.cpp | 73 UNumberFormat *fmt = unum_open(UNUM_PATTERN_DECIMAL, pattChars, pattLen, in openDecimalFormatImpl() local 86 return (long) fmt; in openDecimalFormatImpl() 92 UNumberFormat *fmt = (UNumberFormat *)(int)addr; in closeDecimalFormatImpl() local 95 unum_close(fmt); in closeDecimalFormatImpl() 105 UNumberFormat *fmt = (UNumberFormat *)(int)addr; in setSymbol() local 112 unum_setSymbol(fmt, (UNumberFormatSymbol) symbol, textChars, textLen, in setSymbol() 130 UNumberFormat *fmt = (UNumberFormat *)(int)addr; in getSymbol() local 136 reslenneeded=unum_getSymbol(fmt, (UNumberFormatSymbol) symbol, result, in getSymbol() 144 reslenneeded=unum_getSymbol(fmt, (UNumberFormatSymbol) symbol, result, in getSymbol() 161 UNumberFormat *fmt = (UNumberFormat *)(int)addr; in setAttribute() local [all …]
|
D | RBNFInterface.cpp | 81 RuleBasedNumberFormat *fmt = new RuleBasedNumberFormat(style, loc, status); in openRBNFImpl1() local 92 return (long) fmt; in openRBNFImpl1() 112 UNumberFormat *fmt = unum_open(UNUM_PATTERN_RULEBASED, ruleChars, ruleLen, in openRBNFImpl2() local 125 return (long) fmt; in openRBNFImpl2() 134 RuleBasedNumberFormat *fmt = (RuleBasedNumberFormat *)(int)addr; in closeRBNFImpl() local 137 delete fmt; in closeRBNFImpl() 171 RuleBasedNumberFormat *fmt = (RuleBasedNumberFormat *)(int)addr; in formatLongRBNFImpl() local 175 fmt->format(val, res, fp); in formatLongRBNFImpl() 233 RuleBasedNumberFormat *fmt = (RuleBasedNumberFormat *)(int)addr; in formatDoubleRBNFImpl() local 237 fmt->format(val, res, fp); in formatDoubleRBNFImpl() [all …]
|
D | ResourceInterface.cpp | 111 NumberFormat *fmt = NumberFormat::createCurrencyInstance(status); in getFractionDigitsNative() local 117 fmt->setCurrency(cCode, status); in getFractionDigitsNative() 124 int result = fmt->getMinimumFractionDigits(); in getFractionDigitsNative() 125 delete(fmt); in getFractionDigitsNative()
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | ChoiceFormatTest.java | 558 ChoiceFormat fmt = new ChoiceFormat( in test_formatL() local 561 assertEquals("NEGATIVE_ONE", fmt.format(Long.MIN_VALUE)); in test_formatL() 562 assertEquals("NEGATIVE_ONE", fmt.format(-1)); in test_formatL() 563 assertEquals("ZERO", fmt.format(0)); in test_formatL() 564 assertEquals("ONE", fmt.format(1)); in test_formatL() 565 assertEquals("GREATER_THAN_ONE", fmt.format(Long.MAX_VALUE)); in test_formatL() 578 ChoiceFormat fmt = new ChoiceFormat( in test_formatD() local 580 assertEquals("NEGATIVE_ONE", fmt.format(Double.NEGATIVE_INFINITY)); in test_formatD() 581 assertEquals("NEGATIVE_ONE", fmt.format(-999999999D)); in test_formatD() 582 assertEquals("NEGATIVE_ONE", fmt.format(-1.1)); in test_formatD() [all …]
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | BytecodeArray.java | 219 int fmt = info & ByteOps.FMT_MASK; in parseInstruction() local
|