/external/icu/android_icu4j/src/main/java/android/icu/text/ |
TimeUnitFormat.java | 33 * Format or parse a TimeUnitAmount, using plural rules for the units where available. 43 * // create time unit format instance 44 * TimeUnitFormat format = new TimeUnitFormat(); 45 * // set the locale of time unit format 46 * format.setLocale(new ULocale("en")); 47 * // format a time unit amount 48 * String formatted = format.format(source); 52 * TimeUnitAmount result = (TimeUnitAmount) format.parseObject(formatted); 69 * Constant for full name style format. 89 private NumberFormat format; field in class:TimeUnitFormat 247 public StringBuffer format(Object obj, StringBuffer toAppendTo, method in class:TimeUnitFormat [all...] |
DateIntervalFormat.java | 45 * For example, the date interval format from "Jan 11, 2008" to "Jan 18,. 2008" 103 * supported. And the interval format will be fall back to fall-back 164 * formatting: time zone, calendar type, pattern, date format symbols, 173 * the format style. 180 * Locale provides the timezone, calendar, and format symbols information. 189 * DateTime format. 203 * dtIntervalFmt.format(dtInterval, dateIntervalString, pos); 236 * // Prepare to format 240 * // The 2 calendars should be equivalent, otherwise, IllegalArgumentException will be thrown by format() 247 * dtitvfmt.format(fromCalendar, toCalendar, str, pos) 590 format(Object obj, StringBuffer appendTo, FieldPosition fieldPosition) method in class:DateIntervalFormat 613 public final StringBuffer format(DateInterval dtInterval, method in class:DateIntervalFormat 681 public final StringBuffer format(Calendar fromCalendar, method in class:DateIntervalFormat [all...] |
DecimalFormatSymbols.java | 34 * separator, and so on) needed by <code>DecimalFormat</code> to format 47 * Creates a DecimalFormatSymbols object for the default <code>FORMAT</code> locale. 48 * @see Category#FORMAT 51 initialize(ULocale.getDefault(Category.FORMAT)); 368 * negative format is specified, one is formed by prefixing 369 * minusSign to the positive format. 390 * negative format is specified, one is formed by prefixing 391 * minusSign to the positive format. 854 // If this is a ChoiceFormat currency, then format an 857 ? new ChoiceFormat(currname).format(2.0 [all...] |
SimpleDateFormat.java | 17 import java.text.Format; 59 * with a default format pattern. You may modify the format pattern 392 * generation, it should match the 12-hour-cycle format preferred by the locale (h or K); it should not match 393 * a 24-hour-cycle format (H or k). Use hh for zero padding.</td> 400 * generation, it should match the 24-hour-cycle format preferred by the locale (H or k); it should not match a 401 * 12-hour-cycle format (h or K). Use HH for zero padding.</td> 452 * <td>The <i>short specific non-location format</i>. 453 * Where that is unavailable, falls back to the <i>short localized GMT format</i> ("O").</td> 458 * <td>The <i>long specific non-location format</i> 1278 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, method in class:SimpleDateFormat 1300 private StringBuffer format(Calendar cal, DisplayContext capitalizationContext, method in class:SimpleDateFormat 3684 format(cal, getContext(DisplayContext.Type.CAPITALIZATION), toAppendTo, pos, attributes); method 3838 format(fromCalendar, appendTo, pos); method 3840 format(toCalendar, appendTo, pos); method 3890 format(fromCalendar, appendTo, pos); method 3892 format(toCalendar, appendTo, pos); method [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
TimeUnitFormat.java | 32 * Format or parse a TimeUnitAmount, using plural rules for the units where available. 42 * // create time unit format instance 43 * TimeUnitFormat format = new TimeUnitFormat(); 44 * // set the locale of time unit format 45 * format.setLocale(new ULocale("en")); 46 * // format a time unit amount 47 * String formatted = format.format(source); 51 * TimeUnitAmount result = (TimeUnitAmount) format.parseObject(formatted); 67 * Constant for full name style format. 87 private NumberFormat format; field in class:TimeUnitFormat 245 public StringBuffer format(Object obj, StringBuffer toAppendTo, method in class:TimeUnitFormat [all...] |
DateIntervalFormat.java | 44 * For example, the date interval format from "Jan 11, 2008" to "Jan 18,. 2008" 102 * supported. And the interval format will be fall back to fall-back 163 * formatting: time zone, calendar type, pattern, date format symbols, 172 * the format style. 179 * Locale provides the timezone, calendar, and format symbols information. 188 * DateTime format. 202 * dtIntervalFmt.format(dtInterval, dateIntervalString, pos); 235 * // Prepare to format 239 * // The 2 calendars should be equivalent, otherwise, IllegalArgumentException will be thrown by format() 246 * dtitvfmt.format(fromCalendar, toCalendar, str, pos) 597 format(Object obj, StringBuffer appendTo, FieldPosition fieldPosition) method in class:DateIntervalFormat 621 public final StringBuffer format(DateInterval dtInterval, method in class:DateIntervalFormat 689 public final StringBuffer format(Calendar fromCalendar, method in class:DateIntervalFormat [all...] |
DecimalFormatSymbols.java | 33 * separator, and so on) needed by <code>DecimalFormat</code> to format 47 * Creates a DecimalFormatSymbols object for the default <code>FORMAT</code> locale. 48 * @see Category#FORMAT 52 initialize(ULocale.getDefault(Category.FORMAT)); 397 * negative format is specified, one is formed by prefixing 398 * minusSign to the positive format. 419 * negative format is specified, one is formed by prefixing 420 * minusSign to the positive format. 912 // If this is a ChoiceFormat currency, then format an 915 ? new ChoiceFormat(currname).format(2.0 [all...] |
SimpleDateFormat.java | 16 import java.text.Format; 58 * with a default format pattern. You may modify the format pattern 391 * generation, it should match the 12-hour-cycle format preferred by the locale (h or K); it should not match 392 * a 24-hour-cycle format (H or k). Use hh for zero padding.</td> 399 * generation, it should match the 24-hour-cycle format preferred by the locale (H or k); it should not match a 400 * 12-hour-cycle format (h or K). Use HH for zero padding.</td> 451 * <td>The <i>short specific non-location format</i>. 452 * Where that is unavailable, falls back to the <i>short localized GMT format</i> ("O").</td> 457 * <td>The <i>long specific non-location format</i> 1287 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, method in class:SimpleDateFormat 1309 private StringBuffer format(Calendar cal, DisplayContext capitalizationContext, method in class:SimpleDateFormat 3714 format(cal, getContext(DisplayContext.Type.CAPITALIZATION), toAppendTo, pos, attributes); method 3867 format(fromCalendar, appendTo, pos); method 3869 format(toCalendar, appendTo, pos); method 3919 format(fromCalendar, appendTo, pos); method 3921 format(toCalendar, appendTo, pos); method [all...] |
/toolchain/binutils/binutils-2.25/ld/ |
ldlex.l | 346 <MRI>"FORMAT" { RTOKEN(FORMAT); } 363 <MRI>"format" { RTOKEN(FORMAT); } 707 /* If we have found an input file whose format we do not recognize, 710 of some different format. Treat it as such. */
|
ldgram.y | 151 %token LOG2CEIL FORMAT PUBLIC DEFSYMEND BASE ALIAS TRUNCATE REL 222 | FORMAT NAME 1476 einfo (_("%P:%s: file format not recognized; treating as linker script\n"),
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_transfer.c | 155 u32 format, stride; local 164 format = NV30_3D_RT_FORMAT_COLOR_A8R8G8B8 | 170 format = NV30_3D_RT_FORMAT_COLOR_R5G6B5 | 176 format = NV30_3D_RT_FORMAT_COLOR_B8 | 188 format |= NV30_3D_RT_FORMAT_TYPE_SWIZZLED; 189 format |= util_logbase2(dst->w) << 16; 190 format |= util_logbase2(dst->h) << 24; 193 format |= NV30_3D_RT_FORMAT_TYPE_LINEAR; 203 PUSH_DATA (push, format); 441 BEGIN_NV04(push, NV04_SF2D(FORMAT), 4) [all...] |
/external/parameter-framework/upstream/tools/coverage/ |
coverage.py | 48 FORMAT = '%(levelname)s: %(message)s' 49 logging.basicConfig(stream=sys.stderr, level=logging.WARNING, format=FORMAT) 179 """Format a number to a integer % string 183 return "{0:.0f}%".format(100 * number) 934 logger.warning(" - Output format: xml") [all...] |
/frameworks/base/core/java/com/google/android/util/ |
AbstractMessageParser.java | 74 private HashMap<Character,Format> formatStart; 106 this.formatStart = new HashMap<Character,Format>(); 474 * - Only a single instance of a particular format character within a block 477 * - If the format is to be turned on, we use the _first_ instance; if it 479 * format.) 498 // and whether we should append a closing format token (if value in 509 addToken(new Format(ch, false)); 511 Format start = formatStart.get(key); 519 start = new Format(ch, true); 530 Format end = new Format(key.charValue(), false) [all...] |
/libcore/ojluni/src/main/java/java/text/ |
DecimalFormat.java | 62 * features designed to make it possible to parse and format numbers in any 73 * <code>DecimalFormat</code>. If you need to customize the format object, do 252 * <code>DecimalFormat</code> can be instructed to format and parse scientific 254 * that creates a scientific notation format. In a pattern, the exponent 333 * It is recommended to create separate format instances for each thread. 334 * If multiple threads access a format concurrently, it must be synchronized 341 * // and percent format for each locale</strong> 346 * System.out.println("FORMAT"); 365 * System.out.print(" -> " + form.format(myNumber)); 367 * System.out.println(" -> " + form.parse(form.format(myNumber))) 576 public final StringBuffer format(Object number, method in class:DecimalFormat 608 public StringBuffer format(double number, StringBuffer result, method in class:DecimalFormat 628 public StringBuffer format(long number, StringBuffer result, method in class:DecimalFormat 648 private StringBuffer format(BigDecimal number, StringBuffer result, method in class:DecimalFormat 668 private StringBuffer format(BigInteger number, StringBuffer result, method in class:DecimalFormat [all...] |
MessageFormat.java | 64 * <code>MessageFormat</code> differs from the other <code>Format</code> 115 * (<i>SubformatPattern</i> with underline) will produce a number format 117 * "$#31,45"}. Refer to each {@code Format} subclass documentation for 131 * format patterns unfortunately have shown to be somewhat confusing. 142 * {@code arguments} array passed to the {@code format} methods 146 * a {@code Format} instance for the format element. The following 147 * table shows how the values map to {@code Format} instances. Combinations not 149 * be a valid pattern string for the {@code Format} subclass used. 151 * <table border=1 summary="Shows how FormatType and FormatStyle values map to Format instances" 820 public final StringBuffer format(Object[] arguments, StringBuffer result, method in class:MessageFormat 838 public static String format(String pattern, Object ... arguments) { method in class:MessageFormat 861 public final StringBuffer format(Object arguments, StringBuffer result, method in class:MessageFormat [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Scanner.java | 588 useLocale(Locale.getDefault(Locale.Category.FORMAT)); [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
ULocale.java | 70 * <li>POSIX ids are converted to ICU format IDs</li> 268 FORMAT [all...] |
/frameworks/av/media/libmedia/ |
IAudioFlinger.cpp | 36 FORMAT, 101 audio_format_t format, 118 data.writeInt32(format); 179 audio_format_t format, 198 data.writeInt32(format); 284 virtual audio_format_t format(audio_io_handle_t output) const function in class:android::BpAudioFlinger 289 remote()->transact(FORMAT, data, &reply); 440 virtual size_t getInputBufferSize(uint32_t sampleRate, audio_format_t format, 446 data.writeInt32(format); 947 audio_format_t format = (audio_format_t) data.readInt32(); local 985 audio_format_t format = (audio_format_t) data.readInt32(); local 1125 audio_format_t format = (audio_format_t) data.readInt32(); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
CharacterTest.java | 731 assertEquals("Wrong constant for FORMAT", 16, Character.FORMAT); 797 assertTrue(Character.getType(0x00AD) == Character.FORMAT); 798 assertTrue(Character.getType(0xE007F) == Character.FORMAT); [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
Character.java | 290 public static final byte FORMAT = 16; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/lang/ |
UCharacter.java | [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
UCharacter.java | [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
ULocale.java | 80 * <li>POSIX ids are converted to ICU format IDs</li> 265 FORMAT [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
ULocale.java | 79 * <li>POSIX ids are converted to ICU format IDs</li> 290 FORMAT [all...] |
/frameworks/base/media/java/android/media/ |
MediaScanner.java | 126 Files.FileColumns.FORMAT, // 2 361 FileEntry(long rowId, String path, long lastModified, int format) { 365 mFormat = format; [all...] |