/libcore/support/src/test/java/tests/support/ |
Support_DecimalFormat.java | 42 DecimalFormat format = (DecimalFormat) NumberFormat local 47 t_FormatWithField(0, format, number, text, NumberFormat.Field.CURRENCY, 49 t_FormatWithField(1, format, number, text, NumberFormat.Field.INTEGER, 51 t_FormatWithField(2, format, number, text, 53 t_FormatWithField(3, format, number, text, 55 t_FormatWithField(4, format, number, text, NumberFormat.Field.FRACTION, 59 t_FormatWithField(5, format, number, text, NumberFormat.Field.SIGN, 0, 61 t_FormatWithField(6, format, number, text, NumberFormat.Field.EXPONENT, 63 t_FormatWithField(7, format, number, text, 65 t_FormatWithField(8, format, number, text 175 DecimalFormat format = new DecimalFormat("###0.##\\u2030"); local [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
ASTParser.stg | 35 <addToList(elem={<label; format="label">},...)> 40 <addToList(elem={<label; format="label">},...)> 45 <addToList(elem={<label; format="label">},...)> 61 <label; format="label"> = @input.look<\n> 67 <addToList(elem={<label; format="label">},...)> 74 <gatedAction({@adaptor.add_child( root_0, <label; format="label">.tree )})> 85 <gatedAction({root_0 = @adaptor.become_root( <label; format="label">.tree, root_0 )})> 92 <addToList(elem={<label; format="label">.tree},...)> 99 <addToList(elem={<label; format="label">.tree},...)> 106 <addToList(elem={<label; format="label">.tree},...) [all...] |
/frameworks/base/libs/hwui/ |
RenderBuffer.h | 32 * Creates a new render buffer in the specified format and dimensions. 33 * The format must be one of the formats allowed by glRenderbufferStorage(). 35 RenderBuffer(GLenum format, uint32_t width, uint32_t height): 36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) { 55 * Returns the format of this render buffer. 124 * Returns the number of bits per component in the specified format. 125 * The format must be one of the formats allowed by glRenderbufferStorage(). 127 static uint32_t formatSize(GLenum format) { 128 switch (format) { 145 * Indicates whether the specified format represents a stencil buffer [all...] |
/external/icu4c/test/intltest/ |
msfmrgts.cpp | 13 #include "unicode/format.h" 103 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); 104 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format")) 119 //tempBuffer = messageFormatter->format(NULL, 1, tempBuffer, FieldPosition(FieldPosition::DONT_CARE), status); 121 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status); 123 if( tempBuffer != "Message without param" || failure(status, "messageFormat->format")) 128 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); 129 if (tempBuffer != "Message without param" || failure(status, "messageFormat->format")) 197 tempBuffer = messageFormatter->format(params, 1, tempBuffer, pos, status); 198 if(tempBuffer != "Impossible {1} has occurred -- status code is 7 and message is {2}." || failure(status, "MessageFormat::format")) 972 MessageFormat *format = new MessageFormat("", status); local 989 MessageFormat *format = new MessageFormat("", status); local [all...] |
dtfmapts.cpp | 156 // ======= Test various format() methods 159 logln("Testing various format() methods"); 168 res1 = fr->format(d, res1, pos1, status); 170 errln("ERROR: format() failed (French)"); 174 res2 = it->format(d, res2, pos2); 177 res3 = de->format(d, res3); 273 * Test hiding of parse() and format() APIs in the Format hierarchy. 291 // DateFormat calling Format API 296 dateFmt->format(dateObj, str, status) [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_DecimalFormat.java | 43 DecimalFormat format = (DecimalFormat) NumberFormat local 48 t_FormatWithField(0, format, number, text, NumberFormat.Field.CURRENCY, 50 t_FormatWithField(1, format, number, text, NumberFormat.Field.INTEGER, 52 t_FormatWithField(2, format, number, text, 54 t_FormatWithField(3, format, number, text, 56 t_FormatWithField(4, format, number, text, NumberFormat.Field.FRACTION, 60 t_FormatWithField(5, format, number, text, NumberFormat.Field.SIGN, 0, 62 t_FormatWithField(6, format, number, text, NumberFormat.Field.EXPONENT, 64 t_FormatWithField(7, format, number, text, 66 t_FormatWithField(8, format, number, text 152 DecimalFormat format = new DecimalFormat("###0.##\\u2030"); local [all...] |
Support_SimpleDateFormat.java | 56 SimpleDateFormat format = (SimpleDateFormat) DateFormat local 58 format.setTimeZone(tz); 61 format 75 t_FormatWithField(0, format, date, null, Field.ERA, 0, 2); 76 t_FormatWithField(1, format, date, null, Field.YEAR, 15, 17); 77 t_FormatWithField(2, format, date, null, Field.MONTH, 26, 27); 78 t_FormatWithField(3, format, date, null, Field.DAY_OF_MONTH, 45, 47); 79 t_FormatWithField(4, format, date, null, Field.HOUR_OF_DAY1, 55, 57); 80 t_FormatWithField(5, format, date, null, Field.HOUR_OF_DAY0, 65, 67); 81 t_FormatWithField(6, format, date, null, Field.HOUR1, 75, 76) 143 SimpleDateFormat format = (SimpleDateFormat) DateFormat local [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
videocommon.h | 118 VideoFormat(const VideoFormat& format) 119 : width(format.width), 120 height(format.height), 121 interval(format.interval), 122 fourcc(format.fourcc) { 135 bool operator==(const VideoFormat& format) const { 136 return width == format.width && height == format.height && 137 interval == format.interval && fourcc == format.fourcc [all...] |
/external/icu4c/data/brkitr/ |
sent.txt | 20 $Format = [\p{Sentence_Break = Format}]; 33 # incorporate trailing Extend or Format chars. 36 $SpEx = $Sp ($Extend | $Format)*; 37 $LowerEx = $Lower ($Extend | $Format)*; 38 $UpperEx = $Upper ($Extend | $Format)*; 39 $OLetterEx = $OLetter ($Extend | $Format)*; 40 $NumericEx = $Numeric ($Extend | $Format)*; 41 $ATermEx = $ATerm ($Extend | $Format)*; 42 $SContinueEx= $SContinue ($Extend | $Format)*; [all...] |
sent_el.txt | 20 $Format = [\p{Sentence_Break = Format}]; 33 # incorporate trailing Extend or Format chars. 36 $SpEx = $Sp ($Extend | $Format)*; 37 $LowerEx = $Lower ($Extend | $Format)*; 38 $UpperEx = $Upper ($Extend | $Format)*; 39 $OLetterEx = $OLetter ($Extend | $Format)*; 40 $NumericEx = $Numeric ($Extend | $Format)*; 41 $ATermEx = $ATerm ($Extend | $Format)*; 42 $SContinueEx= $SContinue ($Extend | $Format)*; [all...] |
word.txt | 31 $Format = [\p{Word_Break = Format}]; 61 # Rules 4 Ignore Format and Extend characters, 65 $KatakanaEx = $Katakana ($Extend | $Format)*; 66 $ALetterEx = $ALetterPlus ($Extend | $Format)*; 67 $MidNumLetEx = $MidNumLet ($Extend | $Format)*; 68 $MidLetterEx = $MidLetter ($Extend | $Format)*; 69 $MidNumEx = $MidNum ($Extend | $Format)*; 70 $NumericEx = $Numeric ($Extend | $Format)*; 71 $ExtendNumLetEx = $ExtendNumLet ($Extend | $Format)*; [all...] |
word_POSIX.txt | 31 $Format = [\p{Word_Break = Format}]; 61 # Rules 4 Ignore Format and Extend characters, 65 $KatakanaEx = $Katakana ($Extend | $Format)*; 66 $ALetterEx = $ALetterPlus ($Extend | $Format)*; 67 $MidNumLetEx = $MidNumLet ($Extend | $Format)*; 68 $MidLetterEx = $MidLetter ($Extend | $Format)*; 69 $MidNumEx = $MidNum ($Extend | $Format)*; 70 $NumericEx = $Numeric ($Extend | $Format)*; 71 $ExtendNumLetEx = $ExtendNumLet ($Extend | $Format)*; [all...] |
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
TextureUtil.java | 9 import com.jme3.texture.Image.Format; 15 public static int convertTextureFormat(Format fmt){ 44 throw new UnsupportedOperationException("Unsupported depth format: " + fmt); 47 throw new UnsupportedOperationException("Unsupported format: " + fmt); 49 throw new UnsupportedOperationException("Unrecognized format: " + fmt); 132 Image.Format fmt = img.getFormat(); 146 int format = -1; local 152 format = GLES20.GL_ALPHA; 156 format = GLES20.GL_LUMINANCE; 160 format = GLES20.GL_LUMINANCE_ALPHA [all...] |
/docs/source.android.com/src/devices/tech/dalvik/ |
instruction-formats.css | 84 table.format { 93 table.format td { 97 table.format td + td i { 101 table.format td sub { 105 table.format td sub { 111 table.format th:first-child { 115 table.format th:first-child + th { 119 table.format th:first-child + th + th { 123 table.format th:first-child + th + th + th { 127 table.format p [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
AlgorithmParametersSpi.java | 18 protected boolean isASN1FormatString(String format) 20 return format == null || format.equals("ASN.1"); 60 String format) 62 if (isASN1FormatString(format)) 116 String format) 119 if (isASN1FormatString(format) || format.equalsIgnoreCase("X.509")) 125 throw new IOException("Unknown parameter format " + format); [all...] |
/external/chromium/build/ |
common.croc | 84 'format' : '*RESULT FilesKnown: files_executable= %d files', 88 'format' : '*RESULT FilesInstrumented: files_instrumented= %d files', 92 'format' : '*RESULT FilesInstrumentedPercent: files_instrumented_percent= %g', 96 'format' : '*RESULT LinesKnown: lines_known= %d lines', 100 'format' : '*RESULT LinesInstrumented: lines_instrumented= %d lines', 104 'format' : '*RESULT LinesCoveredSource: lines_covered_source= %d lines', 109 'format' : '*RESULT LinesCoveredTest: lines_covered_test= %d lines', 114 'format' : '*RESULT PercentCovered: percent_covered= %g', 118 'format' : '*RESULT PercentCoveredSource: percent_covered_source= %g', 123 'format' : '*RESULT PercentCoveredTest: percent_covered_test= %g' [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldFormatTest.java | 22 import java.text.Format; 29 private class MockFormat extends Format { 31 public StringBuffer format(Object obj, StringBuffer toAppendTo, method in class:OldFormatTest.MockFormat 50 * java.text.Format#clone() Test of method java.text.Format#clone(). 55 Format fm = new MockFormat(); 56 Format fmc = (Format) fm.clone(); 62 assertEquals("", mf.format("")); 63 assertTrue("It calls an abstract metod format", true) [all...] |
/libcore/luni/src/main/java/java/text/ |
MessageFormat.java | 41 * {@code Format} classes in that you create a {@code MessageFormat} 101 * produce a number format with the hash-sign quoted, with a result such as: 109 * <dd>The rules for using quotes within message format patterns unfortunately 125 * {@code arguments} array passed to the {@code format} methods or 129 * {@code Format} instance for the format element. The following table 130 * shows how the values map to {@code Format} instances. Combinations not shown in the 132 * for the {@code Format} subclass used. 136 * <th>Format Type</th> 137 * <th>Format Style</th 476 MessageFormat format = (MessageFormat) object; local 548 public final StringBuffer format(Object[] objects, StringBuffer buffer, method in class:MessageFormat 569 Format format = formats[i]; local 700 public final StringBuffer format(Object object, StringBuffer buffer, method in class:MessageFormat 717 public static String format(String format, Object... args) { method in class:MessageFormat 866 Format format = formats[i]; local 1071 Format format = formats[i]; local 1151 Format format = formats[i]; local [all...] |
/external/webkit/Source/JavaScriptCore/assembler/ |
SH4Assembler.h | 1573 const char *format = 0; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EncoderTest.java | 52 MediaFormat format = new MediaFormat(); local 53 format.setString(MediaFormat.KEY_MIME, "audio/3gpp"); 54 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, 8000); 55 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1); 56 format.setInteger(MediaFormat.KEY_BIT_RATE, kBitRates[j]); 57 formats.push(format); 70 MediaFormat format = new MediaFormat(); local 71 format.setString(MediaFormat.KEY_MIME, "audio/amr-wb"); 72 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, 16000); 73 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1) 101 MediaFormat format = new MediaFormat(); local [all...] |
/hardware/ti/omap3/dspbridge/inc/ |
gt.h | 193 GT_0trace(struct GT_Mask mask, SmBits class, String format) 199 GT_1trace(struct GT_Mask mask, SmBits class, String format, ...) 205 GT_2trace(struct GT_Mask mask, SmBits class, String format, ...) 211 GT_3trace(struct GT_Mask mask, SmBits class, String format, ...) 217 GT_4trace(struct GT_Mask mask, SmBits class, String format, ...) 223 GT_5trace(struct GT_Mask mask, SmBits class, String format, ...) 229 GT_6trace(struct GT_Mask mask, SmBits class, String format, ...) 243 extern Int _GT_trace(struct GT_Mask * mask, String format, ...); 278 #define GT_0trace( mask, class, format ) 279 #define GT_1trace( mask, class, format, arg1 [all...] |
/external/icu4c/io/ |
uprntf_p.c | 66 /* C K is old format */ 68 /* S U is old format */ 77 * format specification, for example 'd' or 's'. 80 * information on the format specification. 98 * Struct encapsulating a single uprintf format specification. 119 /* Sets the sign of a format based on u_printf_spec_info */ 122 u_printf_set_sign(UNumberFormat *format, 129 *prefixBufLen = unum_getTextAttribute(format, 136 /* unum_setSymbol(format, UNUM_PLUS_SIGN_SYMBOL, gSpaceStr, 1, &status); */ 137 unum_setTextAttribute(format, UNUM_POSITIVE_PREFIX, gSpaceStr, 1, status) 278 UNumberFormat *format; local 354 UNumberFormat *format; local 489 UNumberFormat *format; local 558 UNumberFormat *format; local 678 UNumberFormat *format; local 803 UNumberFormat *format; local 876 UNumberFormat *format; local [all...] |
/external/qemu/distrib/sdl-1.2.15/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...] |
/frameworks/av/media/libnbaio/ |
NBAIO.cpp | 25 size_t Format_frameSize(NBAIO_Format format) 27 return Format_channelCount(format) * sizeof(short); 30 size_t Format_frameBitShift(NBAIO_Format format) 33 return Format_channelCount(format); 54 unsigned Format_sampleRate(NBAIO_Format format) 56 if (format == Format_Invalid) { 59 switch (format & Format_SR_Mask) { 81 unsigned Format_channelCount(NBAIO_Format format) 83 if (format == Format_Invalid) { 86 switch (format & Format_C_Mask) 98 NBAIO_Format format; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
ImageFormat.java | 28 * RGB format used for pictures encoded as RGB_565. See 34 * <p>Android YUV format.</p> 36 * <p>This format is exposed to software decoders and applications.</p> 38 * <p>YV12 is a 4:2:0 YCrCb planar format comprised of a WxH Y plane followed 41 * <p>This format assumes 57 * <p>This format is guaranteed to be supported for camera preview images since 76 * YCbCr format, used for video. Whether this format is supported by the 83 * YCrCb format used for images, which uses the NV21 encoding format. Thi [all...] |