HomeSort by relevance Sort by last modified time
    Searched refs:Format (Results 126 - 150 of 233) sorted by null

1 2 3 4 56 7 8 910

  /libcore/luni/src/main/java/java/text/
DateFormat.java 43 * {@code DateFormat} helps you to format and parse dates for any locale. Your
45 * of the week, or even the calendar format: lunar vs. solar.
47 * To format a date for the current Locale, use one of the static factory
52 * myString = DateFormat.getDateInstance().format(myDate);
57 * If you are formatting multiple dates, it is more efficient to get the format
65 * output.println(df.format(myDate[i]) + "; ");
71 * To format a number for a different locale, specify it in the call to
90 * Use {@code getDateInstance} to get the normal date format for a country.
92 * get the time format for a country. Use {@code getDateTimeInstance} to get the
93 * date and time format. You can pass in different options to these factor
356 public final StringBuffer format(Object object, StringBuffer buffer, method in class:DateFormat
375 public final String format(Date date) { method in class:DateFormat
398 public abstract StringBuffer format(Date date, StringBuffer buffer, method in class:DateFormat
    [all...]
NumberFormat.java 38 * {@code NumberFormat} helps you to format and parse numbers for any locale.
41 * whether the number format is even decimal.
43 * To format a number for the current locale, use one of the factory class
48 * myString = NumberFormat.getInstance().format(myNumber);
54 * format and use it multiple times so that the system doesn't have to fetch the
61 * output.println(nf.format(myNumber[i]) + "; ");
67 * To format a number for a different locale, specify it in the call to
87 * format. Use {@link #getIntegerInstance} to get an integer number format,
88 * {@link #getCurrencyInstance} to get the currency number format, an
214 public final String format(double value) { method in class:NumberFormat
238 public abstract StringBuffer format(double value, StringBuffer buffer, FieldPosition field); method in class:NumberFormat
247 public final String format(long value) { method in class:NumberFormat
271 public abstract StringBuffer format(long value, StringBuffer buffer, FieldPosition field); method in class:NumberFormat
298 public StringBuffer format(Object object, StringBuffer buffer, FieldPosition field) { method in class:NumberFormat
    [all...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/nexus/
NexusRS.java 110 // android.util.Log.d("NexusRS", String.format("resize(%d, %d)", width, height));
227 ProgramFragment.Builder.Format.RGBA, 0);
243 ProgramFragment.Builder.Format.RGB, 0);
291 // android.util.Log.d("NexusRS", String.format(
  /external/v8/src/arm/
simulator-arm.cc 807 // Unsupported instructions use Format to print an error and stop execution.
808 void Simulator::Format(Instr* instr, const char* format) {
810 instr, format);
    [all...]
disasm-arm.cc 102 int FormatVFPRegister(Instr* instr, const char* format);
103 int FormatVFPinstruction(Instr* instr, const char* format);
113 void Format(Instr* instr, const char* format);
293 int Decoder::FormatRegister(Instr* instr, const char* format) {
294 ASSERT(format[0] == 'r');
295 if (format[1] == 'n') { // 'rn: Rn register
299 } else if (format[1] == 'd') { // 'rd: Rd register
303 } else if (format[1] == 's') { // 'rs: Rs register
307 } else if (format[1] == 'm') { // 'rm: Rm registe
    [all...]
  /external/icu4c/i18n/
numfmt.cpp 117 * Release all static memory held by Number Format.
201 : Format(source)
214 Format::operator=(rhs);
229 NumberFormat::operator==(const Format& that) const
231 // Format::operator== guarantees this cast is safe
235 // This code makes it easy to determine why two format objects that should
238 if (!Format::operator==(that)) {
240 debug("Format::!=");
268 ((Format::operator==(that) &&
283 NumberFormat::format(double /* unused number */ function in class:NumberFormat
299 NumberFormat::format(int32_t \/* unused number *\/, function in class:NumberFormat
315 NumberFormat::format(int64_t \/* unused number *\/, function in class:NumberFormat
342 NumberFormat::format(const StringPiece &decimalNum, function in class:NumberFormat
404 UnicodeString& NumberFormat::format(const DigitList &number, function in class:NumberFormat
422 NumberFormat::format(const DigitList &number, function in class:NumberFormat
438 NumberFormat::format(const Formattable& obj, function in class:NumberFormat
483 NumberFormat::format(const Formattable& obj, function in class:NumberFormat
519 NumberFormat::format(int64_t number, function in class:NumberFormat
543 NumberFormat::format(double number, UnicodeString& appendTo) const function in class:NumberFormat
553 NumberFormat::format(int32_t number, UnicodeString& appendTo) const function in class:NumberFormat
563 NumberFormat::format(int64_t number, UnicodeString& appendTo) const function in class:NumberFormat
    [all...]
choicfmt.cpp 20 * 08/06/97 nos removed overloaded constructor, fixed 'format(array)'
82 // format strings for each limit.
139 ChoiceFormat::operator==(const Format& that) const
145 // Checks the limits, the corresponding format string and LE or LT flags.
515 // Sets the limit and format arrays.
525 // Sets the limit and format arrays.
603 // Gets the format array.
614 // a double. The returned format string may differ
618 ChoiceFormat::format(int64_t number, function in class:ChoiceFormat
622 return format((double) number, appendTo, status)
631 ChoiceFormat::format(int32_t number, function in class:ChoiceFormat
642 ChoiceFormat::format(double number, function in class:ChoiceFormat
673 ChoiceFormat::format(const Formattable* objs, function in class:ChoiceFormat
701 ChoiceFormat::format(const Formattable& obj, function in class:ChoiceFormat
    [all...]
reldtfmt.cpp 100 Format* RelativeDateFormat::clone(void) const {
104 UBool RelativeDateFormat::operator==(const Format& other) const {
115 UnicodeString& RelativeDateFormat::format( Calendar& cal, function in class:RelativeDateFormat
138 fDateFormat->format(cal,appendTo,pos);
142 fDateFormat->format(cal,dateString,pos);
146 fTimeFormat->format(cal,timeString,timepos);
148 fCombinedFormat->format(timeDateStrings, 2, appendTo, pos, status); // pos is ignored by this
167 RelativeDateFormat::format(const Formattable& obj, function in class:RelativeDateFormat
173 // (the previous format() override would hide the version of
174 // format() on DateFormat that this function correspond to, so w
    [all...]
dtitvfmt.cpp 123 : Format(itvfmt),
183 Format*
190 DateIntervalFormat::operator==(const Format& other) const {
205 ( Format::operator==(other) &&
234 DateIntervalFormat::format(const Formattable& obj, function in class:DateIntervalFormat
245 return format((DateInterval*)formatObj, appendTo, fieldPosition, status);
254 DateIntervalFormat::format(const DateInterval* dtInterval, function in class:DateIntervalFormat
267 return format(*fFromCalendar, *fToCalendar, appendTo,fieldPosition, status);
275 DateIntervalFormat::format(Calendar& fromCalendar, function in class:DateIntervalFormat
323 return fDateFormat->format(fromCalendar, appendTo, pos)
    [all...]
  /external/chromium/sdch/open-vcdiff/src/gtest/
gtest.cc 163 "A format (currently must be \"xml\"), optionally followed "
278 // Returns the output format, or "" for normal printed output.
358 const String& full_name = String::Format("%s.%s",
701 return c_str ? String::Format("\"%s\"", c_str) : String("(null)");
801 return String::Format("'%s' (%u, 0x%X)",
802 ch ? String::Format("%c", ch).c_str() : "\\0",
    [all...]
  /external/gtest/src/
gtest.cc 206 "A format (currently must be \"xml\"), optionally followed "
331 // Returns the output format, or "" for normal printed output.
423 const String& full_name = String::Format("%s.%s",
797 return c_str ? String::Format("\"%s\"", c_str) : String("(null)");
    [all...]
  /external/chromium/third_party/icu/public/i18n/unicode/
decimfmt.h 65 * and format numbers in any locale, including support for Western, Arabic, or
89 * // format for each locale.
96 * cout << endl << "FORMAT " << j << endl;
114 * cout << " -> " << form->format(myNumber,str) << endl;
115 * form->parse(form->format(myNumber,str), fmtable, success);
127 * // format for each locale</strong>
136 * NumberFormat* format = NumberFormat::createInstance(locale, j, success);
138 * cout << "format result " << form->format(myNumber, str) << endl;
139 * format->parse(form->format(myNumber, str), fmtable, success)
2152 DecimalFormat::format(const Formattable& obj, function in class:DecimalFormat
2161 DecimalFormat::format(double number, function in class:DecimalFormat
2168 DecimalFormat::format(int32_t number, function in class:DecimalFormat
    [all...]
  /external/chromium/third_party/icu/source/i18n/
choicfmt.cpp 20 * 08/06/97 nos removed overloaded constructor, fixed 'format(array)'
82 // format strings for each limit.
139 ChoiceFormat::operator==(const Format& that) const
145 // Checks the limits, the corresponding format string and LE or LT flags.
515 // Sets the limit and format arrays.
525 // Sets the limit and format arrays.
603 // Gets the format array.
614 // a double. The returned format string may differ
618 ChoiceFormat::format(int64_t number, function in class:ChoiceFormat
622 return format((double) number, appendTo, status)
631 ChoiceFormat::format(int32_t number, function in class:ChoiceFormat
642 ChoiceFormat::format(double number, function in class:ChoiceFormat
673 ChoiceFormat::format(const Formattable* objs, function in class:ChoiceFormat
701 ChoiceFormat::format(const Formattable& obj, function in class:ChoiceFormat
    [all...]
reldtfmt.cpp 100 Format* RelativeDateFormat::clone(void) const {
104 UBool RelativeDateFormat::operator==(const Format& other) const {
115 UnicodeString& RelativeDateFormat::format( Calendar& cal, function in class:RelativeDateFormat
138 fDateFormat->format(cal,appendTo,pos);
142 fDateFormat->format(cal,dateString,pos);
146 fTimeFormat->format(cal,timeString,timepos);
148 fCombinedFormat->format(timeDateStrings, 2, appendTo, pos, status); // pos is ignored by this
167 RelativeDateFormat::format(const Formattable& obj, function in class:RelativeDateFormat
173 // (the previous format() override would hide the version of
174 // format() on DateFormat that this function correspond to, so w
    [all...]
dtitvfmt.cpp 123 : Format(itvfmt),
183 Format*
190 DateIntervalFormat::operator==(const Format& other) const {
205 ( Format::operator==(other) &&
234 DateIntervalFormat::format(const Formattable& obj, function in class:DateIntervalFormat
245 return format((DateInterval*)formatObj, appendTo, fieldPosition, status);
254 DateIntervalFormat::format(const DateInterval* dtInterval, function in class:DateIntervalFormat
267 return format(*fFromCalendar, *fToCalendar, appendTo,fieldPosition, status);
275 DateIntervalFormat::format(Calendar& fromCalendar, function in class:DateIntervalFormat
324 return fDateFormat->format(fromCalendar, appendTo, pos)
    [all...]
numfmt.cpp 164 : Format(source)
191 NumberFormat::operator==(const Format& that) const
193 // Format::operator== guarantees this cast is safe
197 // This code makes it easy to determine why two format objects that should
200 if (!Format::operator==(that)) {
202 debug("Format::!=");
230 ((Format::operator==(that) &&
241 // Formats the number object and save the format
245 NumberFormat::format(const Formattable& obj, function in class:NumberFormat
274 format(n->getDouble(), appendTo, pos)
297 NumberFormat::format(int64_t number, function in class:NumberFormat
321 NumberFormat::format(double number, UnicodeString& appendTo) const function in class:NumberFormat
331 NumberFormat::format(int32_t number, UnicodeString& appendTo) const function in class:NumberFormat
341 NumberFormat::format(int64_t number, UnicodeString& appendTo) const function in class:NumberFormat
    [all...]
  /external/icu4c/i18n/unicode/
decimfmt.h 54 * and format numbers in any locale, including support for Western, Arabic, or
78 * // format for each locale.
85 * cout << endl << "FORMAT " << j << endl;
103 * cout << " -> " << form->format(myNumber,str) << endl;
104 * form->parse(form->format(myNumber,str), fmtable, success);
116 * // format for each locale</strong>
125 * NumberFormat* format = NumberFormat::createInstance(locale, j, success);
127 * cout << "format result " << form->format(myNumber, str) << endl;
128 * format->parse(form->format(myNumber, str), fmtable, success)
2275 DecimalFormat::format(const Formattable& obj, function in class:DecimalFormat
2284 DecimalFormat::format(double number, function in class:DecimalFormat
2291 DecimalFormat::format(int32_t number, function in class:DecimalFormat
    [all...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/fall/
FallRS.java 294 ProgramFragment.Builder.Format.RGBA, 0);
301 ProgramFragment.Builder.Format.RGBA, 0);
  /packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
GalaxyRS.java 239 ProgramFragment.Builder.Format.RGB, 0);
254 ProgramFragment.Builder.Format.RGBA, 0);
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/
Visualization5RS.java 219 ProgramFragment.Builder.Format.RGBA, 0);
228 ProgramFragment.Builder.Format.RGBA, 0);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/
BaseLayout.groovy 162 String id = String.format("@+id/%s%02d", name, i);
208 * Uses the idMap to transform the value of all attributes of Format.REFERENCE,
243 if (formats != null && IAttributeInfo.Format.REFERENCE in formats) {
  /external/chromium/third_party/icu/source/test/intltest/
sdtfmtts.cpp 129 Format *clone = def.clone();
135 // ======= Test various format() methods
137 logln("Testing various format() methods");
145 res1 = def.format(d, res1, pos1);
149 res2 = cust1.format(fD, res2, pos2, status);
151 errln("ERROR: format(Formattable [Date]) failed");
182 errln("ERROR: format->getDateFormatSymbols()->getDynamicClassID() != DateFormatSymbols::getStaticClassID()");
  /external/chromium/third_party/icu/source/test/perf/perldriver/
PerfFramework.pm 11 use Format;
  /external/giflib/
gif_lib.h 2 * In order to make life a little bit easier when using the GIF file format,
234 extern void GifQprintf(char *Format, ...);
  /external/icu4c/test/intltest/
sdtfmtts.cpp 129 Format *clone = def.clone();
135 // ======= Test various format() methods
137 logln("Testing various format() methods");
145 res1 = def.format(d, res1, pos1);
149 res2 = cust1.format(fD, res2, pos2, status);
151 errln("ERROR: format(Formattable [Date]) failed");
182 errln("ERROR: format->getDateFormatSymbols()->getDynamicClassID() != DateFormatSymbols::getStaticClassID()");

Completed in 2569 milliseconds

1 2 3 4 56 7 8 910