HomeSort by relevance Sort by last modified time
    Searched defs:format (Results 1 - 25 of 468) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/qemu/distrib/sdl-1.2.12/src/audio/
SDL_mixer.c 95 Uint16 format; local
100 /* Mix the user-level audio format */
103 format = current_audio->convert.src_format;
105 format = current_audio->spec.format;
109 format = AUDIO_S16;
111 switch (format) {
254 SDL_SetError("SDL_MixAudio(): unknown audio format");
  /cts/tools/vm-tests/src/dot/junit/format/f1/d/
T_f1_0.java 17 package dot.junit.format.f1.d;
  /external/icu4c/i18n/unicode/
choicfmt.h 18 * 07/22/98 stephen Removed operator!= (implemented in Format)
29 * \brief C++ API: Choice Format.
37 #include "unicode/format.h"
85 * <p><em>String</em> is the format string for this range, with special
207 * fmt.format(x, str);
234 * Format* testFormats[] =
245 * pattform.format(testArgs, 2, str, fp, status );
333 * Clone this Format object polymorphically. The caller owns the
339 virtual Format* clone(void) const;
342 * Return true if the given Format objects are semantically equal
722 ChoiceFormat::format(const Formattable& obj, function in class:ChoiceFormat
731 ChoiceFormat::format(double number, function in class:ChoiceFormat
737 ChoiceFormat::format(int32_t number, function in class:ChoiceFormat
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
FormatterTest.java 17 package android.text.format.cts;
23 import android.text.format.Formatter;
  /cts/tools/vm-tests/src/dot/junit/format/
AllTests.java 17 package dot.junit.format;
35 suite.addTestSuite(dot.junit.format.f1.Test_f1.class);
  /external/freetype/include/freetype/internal/services/
svttcmap.h 52 /* format :: */
53 /* The cmap format. OpenType 1.5 defines the formats 0 (byte */
62 FT_Long format; member in struct:TT_CMapInfo_
  /external/icu4c/i18n/
currfmt.cpp 36 UBool CurrencyFormat::operator==(const Format& other) const {
47 Format* CurrencyFormat::clone() const {
51 UnicodeString& CurrencyFormat::format(const Formattable& obj, function in class:CurrencyFormat
56 return fmt->format(obj, appendTo, pos, ec);
windtfmt.h 21 #include "unicode/format.h"
29 * \brief C++ API: Format dates using Windows API.
49 virtual Format *clone(void) const;
53 UnicodeString &format(Calendar &cal, UnicodeString &appendTo, FieldPosition &pos) const;
55 UnicodeString& format(UDate date, UnicodeString& appendTo) const;
60 * Set the calendar to be used by this date format. Initially, the default
70 * Set the calendar to be used by this date format. Initially, the default
139 inline UnicodeString &Win32DateFormat::format(UDate date, UnicodeString& appendTo) const { function in class:Win32DateFormat
140 return DateFormat::format(date, appendTo);
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
MsgHelp.java 83 String format = msg; local
87 format = bundle.getString(msg);
92 return format(format, args);
106 * @param format
107 * String the format to use when printing.
112 public static String format(String format, Object[] args) { method in class:MsgHelp
113 StringBuilder answer = new StringBuilder(format.length()
123 for (int i = format.indexOf('{', 0); i >= 0; i = format.indexOf('{'
    [all...]
Msg.java 136 String format = msg; local
142 format = bundle.getString(msg);
147 return MsgHelp.format(format, args);
  /dalvik/libcore/support/src/test/java/tests/support/
Support_Format.java 22 import java.text.Format;
36 protected void t_FormatWithField(int count, Format format, Object object,
37 String text, Format.Field field, int begin, int end) {
40 format.format(object, buffer, pos);
59 protected void t_Format(int count, Object object, Format format,
61 // System.out.println(format.format(object))
    [all...]
Support_MessageFormat.java 48 MessageFormat format = new MessageFormat(pattern, Locale.US); local
58 t_FormatWithField(1, format, objects, null, Field.ARGUMENT, 3, 15);
60 // test other format fields that are included in the formatted text
61 t_FormatWithField(2, format, objects, null, DateFormat.Field.AM_PM, 0,
63 t_FormatWithField(3, format, objects, null,
67 t_FormatWithField(4, format, objects, null, DateFormat.Field.ERA, 0, 0);
68 t_FormatWithField(5, format, objects, null,
75 MessageFormat format = new MessageFormat(pattern, Locale.US); local
82 t_Format(1, objects, format, getMessageVector1());
  /external/guava/src/com/google/common/base/
CaseFormat.java 65 * Converts the specified {@code String s} from this format to the specified
66 * {@code format}. A "best effort" approach is taken; if {@code s} does not
67 * conform to the assumed format, then the behavior of this method is
70 public String to(CaseFormat format, String s) {
71 if (format == null) {
79 if (format == this) {
86 switch (format) {
92 switch (format) {
98 switch (format) {
113 out.append(format.normalizeFirstWord(s.substring(i, j)))
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
TypeFormatter.java 45 public String format(String typeName) { method in class:TypeFormatter
72 return format(typeName.substring(1)) + "[]";
79 public String format(List<String> typeNames) { method in class:TypeFormatter
82 types.add(format(type)); method
84 return format(types, ", ");
88 return format(new ArrayList<DexAnnotation>(annotations), "\n") + "\n";
91 private String format(List<?> elements, String separator) { method in class:TypeFormatter
  /dalvik/libcore/logging/src/main/java/java/util/logging/
Formatter.java 24 * {@code Formatter} objects are used to format {@link LogRecord} objects into a
47 public abstract String format(LogRecord r); method in class:Formatter
79 * format the string
84 pattern = MessageFormat.format(pattern, params);
SimpleFormatter.java 27 * contained in a {@code LogRecord} object in a human readable format.
46 public String format(LogRecord r) { method in class:SimpleFormatter
48 sb.append(MessageFormat.format("{0, date} {0, time} ", //$NON-NLS-1$
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/util/
MsgHelpTest.java 36 * Test method for 'org.apache.harmony.luni.util.MsgHelp.format(String,
42 method = "format",
46 assertEquals("empty", MsgHelp.format("empty", new Object[0]));
48 assertEquals("<null>", MsgHelp.format("{0}", new Object[1]));
49 assertEquals("<missing argument>", MsgHelp.format("{0}", new Object[0]));
50 assertEquals("fixture {} fixture", MsgHelp.format("{0} \\{} {0}",
53 assertEquals("<null> fixture", MsgHelp.format("{0} {1}", new Object[] {
55 assertEquals("<null> fixture <missing argument>", MsgHelp.format(
57 assertEquals("<null> fixture", MsgHelp.format("{0} {1}", new Object[] {
60 assertEquals("0 1 2 3 4 5 6 7 8 9", MsgHelp.format(
    [all...]
  /dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
PrivateKeyStub.java 36 String format = null; field in class:PrivateKeyStub
44 * @param format
47 public PrivateKeyStub(String algorithm, String format, byte[] encoded) {
49 this.format = format;
62 * Returns format
66 return format;
PublicKeyStub.java 39 String format = null; field in class:PublicKeyStub
45 public PublicKeyStub(String algorithm, String format, byte[] encoded) {
47 this.format = format;
59 * returns format
63 return format;
  /dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
DecimalFormatTestICU.java 40 DecimalFormat format; field in class:DecimalFormatTestICU
43 format = (DecimalFormat) NumberFormat.getNumberInstance();
50 method = "format",
62 DecimalFormat format = (DecimalFormat) NumberFormat local
65 format.applyPattern("@@@");
66 assertEquals("sigDigit doesn't work", "12300", format.format(12345));
67 assertEquals("sigDigit doesn't work", "0.123", format.format(0.12345));
69 format.applyPattern("@@##")
    [all...]
  /development/tools/mkstubs/src/com/android/mkstubs/sourcer/
Output.java 46 * @param format The format string.
47 * @param args The arguments for the format string.
49 * @see String#format(String, Object...)
51 public void write(String format, Object... args) {
53 mWriter.write(String.format(format, args));
  /external/apache-http/src/org/apache/http/client/entity/
UrlEncodedFormEntity.java 57 super(URLEncodedUtils.format(parameters, encoding),
71 super(URLEncodedUtils.format(parameters, HTTP.DEFAULT_CONTENT_CHARSET),
  /external/guava/src/com/google/common/util/concurrent/
NamingThreadFactory.java 32 private final String format; field in class:NamingThreadFactory
40 * thread creation, then uses {@code format} to construct a name for the new
43 * @param format a {@link String#format(String, Object...)}-compatible format
48 public NamingThreadFactory(String format) {
49 this(format, DEFAULT_FACTORY);
54 * creation, then uses {@code format} to construct a name for the new thread.
56 * @param format a {@link String#format(String, Object...)}-compatible forma
    [all...]
  /external/icu4c/layout/
DeviceTables.cpp 24 le_uint16 format = SWAPW(deltaFormat) - 1; local
27 if (ppem >= start && ppem <= SWAPW(endSize) && format < FORMAT_COUNT) {
29 le_uint16 bits = fieldBits[format];
34 le_uint16 field = (word >> shift) & fieldMasks[format];
38 if ((field & fieldSignBits[format]) != 0) {
39 result |= ~ fieldMasks[format];
  /external/qemu/distrib/sdl-1.2.12/src/audio/baudio/
SDL_beaudio.cc 98 const media_raw_audio_format &format)
156 media_raw_audio_format format; local
157 Uint16 test_format = SDL_FirstAudioFormat(spec->format);
159 /* Parse the audio format and fill the Be raw audio format */
160 memset(&format, '\0', sizeof (media_raw_audio_format));
161 format.byte_order = B_MEDIA_LITTLE_ENDIAN;
162 format.frame_rate = (float) spec->freq;
163 format.channel_count = spec->channels; /* !!! FIXME: support > 2? */
166 spec->format = test_format
    [all...]

Completed in 617 milliseconds

1 2 3 4 5 6 7 8 91011>>