/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/native/libs/ui/ |
PixelFormat.cpp | 78 ssize_t bytesPerPixel(PixelFormat format) 81 status_t err = getPixelFormatInfo(format, &info); 85 ssize_t bitsPerPixel(PixelFormat format) 88 status_t err = getPixelFormatInfo(format, &info); 92 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info) 94 if (format <= 0) 100 // YUV format from the HAL are handled here 101 switch (format) { 110 info->format = format; [all...] |
/libcore/luni/src/main/java/java/io/ |
Console.java | 67 * the specified format string and arguments. 69 * @param format the format string (see {@link java.util.Formatter#format}) 72 * more arguments than required by {@code format}, 76 public Console format(String format, Object... args) { method in class:Console 78 f.format(format, args); 84 * Equivalent to {@code format(format, args)} 126 format(format, args); method 171 format(format, args); method [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/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
MessageFormatTest.java | 28 import java.text.Format; 48 private void checkSerialization(MessageFormat format) { 52 out.writeObject(format); 57 assertTrue("Not equal: " + format.toPattern(), format.equals(read)); 59 fail("Format: " + format.toPattern() 62 fail("Format: " + format.toPattern() 75 MessageFormat format = new MessageFormat local 93 MessageFormat format = new MessageFormat( local 170 MessageFormat format = new MessageFormat("test"); local 312 MessageFormat format = new MessageFormat("'{'choice'}'{0}"); local 368 MessageFormat format = new MessageFormat("{1,number,integer}"); local 651 MessageFormat format = new MessageFormat("date is {0,date,MMM d, yyyy}"); local 684 MessageFormat format = new MessageFormat("date {0,date}"); local [all...] |
/external/webkit/Source/WebCore/svg/ |
SVGPathStringBuilder.cpp | 41 m_stringBuilder.append(String::format("M %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); 43 m_stringBuilder.append(String::format("m %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); 49 m_stringBuilder.append(String::format("L %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); 51 m_stringBuilder.append(String::format("l %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); 57 m_stringBuilder.append(String::format("H %.6lg ", x)); 59 m_stringBuilder.append(String::format("h %.6lg ", x)); 65 m_stringBuilder.append(String::format("V %.6lg ", y)); 67 m_stringBuilder.append(String::format("v %.6lg ", y)); 73 m_stringBuilder.append(String::format("C %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetPoint.x(), targetPoint.y())); 75 m_stringBuilder.append(String::format("c %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetPo (…) [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...] |
/external/chromium/base/ |
string_util_win.h | 37 const char* format, va_list arguments) { 38 int length = vsnprintf_s(buffer, size, size - 1, format, arguments); 40 return _vscprintf(format, arguments); 45 const wchar_t* format, va_list arguments) { 46 DCHECK(IsWprintfFormatPortable(format)); 48 int length = _vsnwprintf_s(buffer, size, size - 1, format, arguments); 50 return _vscwprintf(format, arguments);
|
/external/dropbear/ |
cli-main.c | 32 static void cli_dropbear_exit(int exitcode, const char* format, va_list param); 33 static void cli_dropbear_log(int priority, const char* format, va_list param); 84 static void cli_dropbear_exit(int exitcode, const char* format, va_list param) { 90 format); 95 cli_opts.remoteport, format); 108 const char* format, va_list param) { 112 vsnprintf(printbuf, sizeof(printbuf), format, param);
|
/libcore/benchmarks/src/benchmarks/regression/ |
DateToStringBenchmark.java | 19 import android.text.format.DateFormat; 30 SimpleDateFormat format; field in class:DateToStringBenchmark 37 format = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy"); 48 new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy").format(date); 54 ((SimpleDateFormat) format.clone()).format(date); 60 DateFormat.format("EEE MMM dd HH:mm:ss zzz yyyy", calendar);
|
/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...] |
/dalvik/vm/analysis/ |
RegisterMap.h | 29 * Format enumeration for RegisterMap data area. 49 * Size of (format==FormatNone): 1 byte 50 * Size of (format==FormatCompact8): 4 + (1 + regWidth) * numEntries 51 * Size of (format==FormatCompact16): 4 + (2 + regWidth) * numEntries 55 u1 format; /* enum RegisterMapFormat; MUST be first entry */ member in struct:RegisterMap 67 * Get the format. 70 return (RegisterMapFormat)(pMap->format & ~(kRegMapFormatOnHeap)); 74 * Set the format. 76 INLINE void dvmRegisterMapSetFormat(RegisterMap* pMap, RegisterMapFormat format) 78 pMap->format &= kRegMapFormatOnHeap [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));
|
/device/generic/goldfish/camera/fake-pipeline2/ |
Base.h | 39 uint32_t format; member in struct:android::StreamBuffer 49 int32_t format; member in struct:android::Stream 56 int32_t format; member in struct:android::ReprocessStream
|
/external/clang/test/Sema/ |
variadic-block.c | 8 long (^addthem)(const char *, ...) = ^long (const char *format, ...){ 15 va_start(argp, format); 16 for (p = format; *p; p++) switch (*p) {
|
/external/compiler-rt/BlocksRuntime/tests/ |
variadic.c | 23 long (^addthem)(const char *, ...) = ^long (const char *format, ...){ 30 va_start(argp, format); 32 for (p = format; *p; p++) switch (*p) {
|
/external/open-vcdiff/gflags/src/windows/ |
port.cc | 46 int snprintf(char *str, size_t size, const char *format, ...) { 50 va_start(ap, format); 51 const int r = _vsnprintf(str, size-1, format, ap);
|
/external/skia/bench/ |
TimerData.cpp | 47 const char* format = formatString.c_str(); local 48 fWallStr.appendf(format, timer->fWall); 49 fCpuStr.appendf(format, timer->fCpu); 50 fTruncatedWallStr.appendf(format, timer->fTruncatedWall); 51 fTruncatedCpuStr.appendf(format, timer->fTruncatedCpu); 52 fGpuStr.appendf(format, timer->fGpu); 77 const char* format = fNormalTimeFormat.c_str(); local 79 fWallStr.appendf(format, printMin ? fWallMin : fWallSum / repeatDraw); 81 fCpuStr.appendf(format, printMin ? fCpuMin : fCpuSum / repeatDraw); 83 fTruncatedWallStr.appendf(format, [all...] |
/external/webkit/Source/WebKit/android/plugins/ |
ANPLogInterface.cpp | 32 static void anp_log(ANPLogType logType, const char format[], ...) { 34 va_start(args, format); 51 LOG_PRI_VA(priority, "plugin", format, args);
|
/frameworks/volley/src/com/android/volley/ |
VolleyLog.java | 48 public static void v(String format, Object... args) { 50 Log.v(TAG, buildMessage(format, args)); 54 public static void d(String format, Object... args) { 55 Log.d(TAG, buildMessage(format, args)); 58 public static void e(String format, Object... args) { 59 Log.e(TAG, buildMessage(format, args)); 62 public static void e(Throwable tr, String format, Object... args) { 63 Log.e(TAG, buildMessage(format, args), tr); 66 public static void wtf(String format, Object... args) { 67 Log.wtf(TAG, buildMessage(format, args)) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
Name.java | 104 * the format requested 106 * @param format one of X500Principal.CANONICAL, X500Principal.RFC1779, or 109 public String getName(String format) { 113 if (X500Principal.RFC1779.equals(format)) { 116 rfc1779String = getName0(format); 120 } else if (X500Principal.RFC2253.equals(format)) { 123 rfc2253String = getName0(format); 127 } else if (X500Principal.CANONICAL.equals(format)) { 130 canonicalString = getName0(format); 138 else if (X500Principal.RFC1779.equalsIgnoreCase(format)) { [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldFormatterTest.java | 51 assertEquals("aaa 111?", new Formatter().format("aaa %s?", ones).toString()); 52 assertEquals("aaa 111 bbb 222?", new Formatter().format("aaa %s bbb %s?", ones, twos).toString()); 65 fLoc.format(Locale.US, "%f", val); 66 fNoL.format("%f", val); 73 fLoc.format(Locale.US, "%f", val); 74 fNoL.format("%f", val); 80 fLoc.format(Locale.US, "%f", val); 81 fNoL.format("%f", val); 87 fLoc.format(Locale.US, "%tA %tB %td %tT", cal, cal, cal, cal); 88 fNoL.format("%tA %tB %td %tT", cal, cal, cal, cal) [all...] |
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
GL2EncoderUtils.cpp | 21 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pack) 25 return ctx->state()->pixelDataSize(width, height, format, type, pack); 28 size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, int pack) 30 size_t layerSize = pixelDataSize(self, width, height, format, type, pack);
|
/external/clang/test/CodeGen/ |
2003-10-02-UnionLValueError.c | 3 int sprintf(char * restrict str, const char * restrict format, ...);
|
/external/icu4c/test/cintltst/ |
cdtdptst.h | 15 /* INDEPTH TEST FOR DATE FORMAT */ 53 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
|