/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/chromium_org/ppapi/tests/ |
test_image_data.cc | 35 return "Crazy image data format accepted"; 40 return "Negative image data format accepted"; 44 std::string TestImageData::SubTestFormatSupported(PP_ImageDataFormat format) { 45 if (!pp::ImageData::IsImageDataFormatSupported(format)) 46 return "ImageData::IsImageDataFormatSupported(format) returned false"; 59 PP_ImageDataFormat format = pp::ImageData::GetNativeImageDataFormat(); local 60 if (!pp::ImageData::IsImageDataFormatSupported(format)) 61 return "ImageData::GetNativeImageDataFormat() returned unsupported format"; 65 std::string TestImageData::SubTestInvalidSize(PP_ImageDataFormat format) { 66 pp::ImageData zero_size(instance_, format, pp::Size(0, 0), true) [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/chromium_org/base/strings/ |
string_util_win.h | 36 const char* format, va_list arguments) { 37 int length = _vsprintf_p(buffer, size, format, arguments); 41 return _vscprintf_p(format, arguments); 47 const wchar_t* format, va_list arguments) { 48 DCHECK(IsWprintfFormatPortable(format)); 50 int length = _vswprintf_p(buffer, size, format, arguments); 54 return _vscwprintf_p(format, arguments);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
StringExtras.h | 50 inline int snprintf(char* buffer, size_t count, const char* format, ...) 54 va_start(args, format); 55 result = _vsnprintf(buffer, count, format, args); 66 inline double wtf_vsnprintf(char* buffer, size_t count, const char* format, va_list args) 68 int result = _vsnprintf(buffer, count, format, args); 80 #define vsnprintf(buffer, count, format, args) wtf_vsnprintf(buffer, count, format, args)
|
Assertions.cpp | 32 #pragma GCC diagnostic ignored "-Wmissing-format-attribute" 78 static void vprintf_stderr_common(const char* format, va_list args) 81 if (strstr(format, "%@")) { 82 CFStringRef cfFormat = CFStringCreateWithCString(NULL, format, kCFStringEncodingUTF8); 111 asl_vlog(0, 0, ASL_LEVEL_NOTICE, format, copyOfArgs); 118 __android_log_vprint(ANDROID_LOG_WARN, "WebKit", format, args); 129 if (_vsnprintf(buffer, size, format, args) != -1) { 140 vfprintf(stderr, format, args); 148 static void vprintf_stderr_with_prefix(const char* prefix, const char* format, va_list args) 151 size_t formatLength = strlen(format); [all...] |
/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);
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpDate.java | 32 * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such 44 /** If we fail to parse a date in a non-standard format, try each of these formats in sequence. */ 53 /* RI bug 6641315 claims a cookie of this format was once served by www.yahoo.com */ 67 DateFormat format = BROWSER_COMPATIBLE_DATE_FORMATS[i]; local 68 if (format == null) { 69 format = new SimpleDateFormat(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS[i], Locale.US); 70 BROWSER_COMPATIBLE_DATE_FORMATS[i] = format; 73 return format.parse(value); 82 public static String format(Date value) { method in class:HttpDate 83 return STANDARD_DATE_FORMAT.get().format(value) [all...] |
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
bitmap_glyph.h | 36 // format 1 39 // format 2 42 // format 3 44 // format 4 46 // format 5 49 // format 6 52 // format 7 55 // format 8 60 // format 9 85 int32_t format() { return format_; function in class:sfntly::BitmapGlyph::Builder 102 int32_t format() { return format_; } function in class:sfntly::BitmapGlyph [all...] |
/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/chromium_org/chrome/browser/resources/chromeos/ |
keyboard_overlay_data.js | 86 'format': 'smaller', 148 'format': 'right', 152 'format': 'left', 214 'format': 'right', 218 'format': 'left', 281 'format': 'left', 336 'format': 'right', 341 'format': 'left', 379 'format': 'smaller' 382 'format': 'smaller [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
AlgorithmParametersSpi.java | 17 protected boolean isASN1FormatString(String format) 19 return format == null || format.equals("ASN.1"); 59 String format) 61 if (isASN1FormatString(format)) 115 String format) 118 if (isASN1FormatString(format) || format.equalsIgnoreCase("X.509")) 124 throw new IOException("Unknown parameter format " + format); [all...] |
/external/chromium_org/media/audio/ |
audio_parameters.h | 31 enum Format { 35 AUDIO_LAST_FORMAT // Only used for validation of format. 46 AudioParameters(Format format, ChannelLayout channel_layout, 49 AudioParameters(Format format, ChannelLayout channel_layout, 53 void Reset(Format format, ChannelLayout channel_layout, 71 Format format() const { return format_; function in class:media::AudioParameters [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
mutedvideocapturer_unittest.cc | 62 cricket::VideoFormat format(640, 360, cricket::VideoFormat::FpsToInterval(30), 65 EXPECT_TRUE(capturer_.GetBestCaptureFormat(format, &best_format)); 66 EXPECT_EQ(format.width, best_format.width); 67 EXPECT_EQ(format.height, best_format.height); 68 EXPECT_EQ(format.interval, best_format.interval); 69 EXPECT_EQ(format.fourcc, best_format.fourcc); 86 cricket::VideoFormat format(640, 360, cricket::VideoFormat::FpsToInterval(30), 88 EXPECT_EQ(capturer_.Start(format), cricket::CS_RUNNING); 89 EXPECT_EQ(capturer_.Start(format), cricket::CS_RUNNING);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_surface.c | 36 unsigned flags, unsigned format, 40 int ret, cpp = _mesa_get_format_bytes(format); 46 .format = format, 50 .pitch = _mesa_format_row_stride(format, width), 62 if (_mesa_get_format_bits(format, GL_DEPTH_BITS)) 70 get_format_blocksy(format, height) * s->pitch, 82 dst->format = src->format;
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_surface.c | 36 unsigned flags, unsigned format, 40 int ret, cpp = _mesa_get_format_bytes(format); 46 .format = format, 50 .pitch = _mesa_format_row_stride(format, width), 62 if (_mesa_get_format_bits(format, GL_DEPTH_BITS)) 70 get_format_blocksy(format, height) * s->pitch, 82 dst->format = src->format;
|
/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/chromium_org/chrome/browser/chromeos/drive/ |
logging.cc | 23 void Log(logging::LogSeverity severity, const char* format, ...) { 27 va_start(args, format); 28 base::StringAppendV(&what, format, args);
|
/external/chromium_org/ppapi/c/ |
ppb_image_data.h | 86 PP_ImageDataFormat format; member in struct:PP_ImageDataDesc 110 * GetNativeImageDataFormat() returns the browser's preferred format for 111 * image data. The browser uses this format internally for painting. Other 115 * @return A <code>PP_ImageDataFormat</code> containing the preferred format. 119 * IsImageDataFormatSupported() determines if the given image data format is 125 * @param[in] format The image data format. 128 * image data format is supported by the browser. 130 PP_Bool (*IsImageDataFormatSupported)(PP_ImageDataFormat format); 132 * Create() allocates an image data resource with the given format and size [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/opentype/ |
OpenTypeSanitizer.cpp | 70 bool OpenTypeSanitizer::supportsFormat(const String& format) 72 return equalIgnoringCase(format, "woff") 73 || (RuntimeEnabledFeatures::woff2Enabled() && equalIgnoringCase(format, "woff2"));
|