/external/icu4c/test/intltest/ |
tufmtts.cpp | 71 formatted = ((Format*)formats[style])->format(formattable, formatted, status); 72 if (!assertSuccess("format()", status)) return; 76 std::cout << "format result: " << formatResult << "\n"; 79 ((Format*)formats[style])->parseObject(formatted, result, status); 86 ((Format*)formats[1-style])->parseObject(formatted, result_1, status); 198 TimeUnitFormat* format = new TimeUnitFormat(status); local 199 format->setLocale(Locale("zh"), status); 200 format->setNumberFormat(*numberFmt, status); 203 delete format; [all...] |
/external/llvm/lib/Analysis/ |
ProfileEstimatorPass.cpp | 21 #include "llvm/Support/Format.h" 107 << format("%20.20g", getEdgeWeight(E)) << "\n"); 194 DEBUG(dbgs() << "Reserving " << format("%.20g",MinimalWeight[*ei]) << " at " << (*ei) << "\n"); 232 DEBUG(dbgs() << "Additionally " << format("%.20g",MinimalWeight[*ei]) << " at " << (*ei) << "\n"); 247 DEBUG(dbgs() << "Minimal Weight for " << e << ": " << format("%.20g",MinimalWeight[e]) << "\n"); 283 DEBUG(dbgs() << "Reserving " << format("%.20g",MinimalWeight[edge]) << " at " << edge << "\n"); 303 DEBUG(dbgs() << "Additionally " << format("%.20g",MinimalWeight[*ei]) << " at " << (*ei) << "\n");
|
/external/llvm/lib/DebugInfo/ |
DWARFDebugInfoEntry.cpp | 17 #include "llvm/Support/Format.h" 32 OS << format("\n0x%8.8x: ", Offset); 39 OS.indent(indent) << format("DW_TAG_Unknown_%x", getTag()); 40 OS << format(" [%u] %c\n", abbrCode, 74 OS << format("0x%8.8x: ", *offset_ptr); 80 OS << format("DW_AT_Unknown_%x", attr); 85 OS << format(" [DW_FORM_Unknown_%x]", form);
|
/external/llvm/tools/macho-dump/ |
macho-dump.cpp | 18 #include "llvm/Support/Format.h" 87 outs() << " ('flags', " << format("0x%x", Flags) << ")\n"; 106 outs() << " (('word-0', " << format("0x%x", RE->Word0) << "),\n"; 107 outs() << " ('word-1', " << format("0x%x", RE->Word1) << ")),\n"; 206 outs() << " ('n_type', " << format("0x%x", Type) << ")\n"; 306 << format("0x%x", ISTE->Index) << "),),\n"; 328 << " ('address', " << format("0x%x", Addresses[i]) << "),\n";
|
/external/qemu/audio/ |
wavaudio.c | 253 int nchannels, freq, format, bits; local 278 format = le_read( hdr+32, 2 ); 293 switch (format) { 299 format, path); 303 if (format*8/nchannels != bits) { 305 bits, format*8/nchannels, path); 423 {"FORMAT", AUD_OPT_FMT, &conf_out.settings.fmt, 424 "Format", NULL, 0},
|
/external/qemu/distrib/sdl-1.2.15/include/ |
SDL_video.h | 69 /** Everything in the pixel format structure is read-only */ 98 SDL_PixelFormat *format; /**< Read-only */ member in struct:SDL_Surface 117 /** format version, bumped at every change to invalidate blit maps */ 138 #define SDL_ANYFORMAT 0x10000000 /**< Allow any video depth/pixel-format */ 185 SDL_PixelFormat *vfmt; /**< Value: The format of the video surface */ 209 Uint32 format; /**< Read-only */ member in struct:SDL_Overlay 268 * pixel format, but does not initialize a window or graphics mode. 288 * If SDL is doing format conversion on the display surface, this 297 * member of the returned structure will contain the pixel format of the 317 * given format and video flags, sorted largest to smallest. Returns [all...] |
/external/qemu/distrib/sdl-1.2.15/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) { 260 SDL_SetError("SDL_MixAudio(): unknown audio format");
|
/external/webkit/Source/WebCore/platform/ |
DefaultLocalizationStrategy.cpp | 44 // We can't use String::format for two reasons: 45 // 1) It doesn't handle non-ASCII characters in the format string. 47 // Note that because |format| is used as the second parameter to va_start, it cannot be a reference 49 static String formatLocalizedString(String format, ...) 53 va_start(arguments, format); 54 RetainPtr<CFStringRef> formatCFString(AdoptCF, format.createCFString()); 60 va_start(arguments, format); 62 result.vsprintf(format.latin1().data(), arguments); 67 return format; [all...] |
/frameworks/av/media/libmedia/ |
IMediaPlayerService.cpp | 210 audio_format_t format; local 211 sp<IMemory> player = decode(url, &sampleRate, &numChannels, &format); 214 reply->writeInt32((int32_t) format); 225 audio_format_t format; local 226 sp<IMemory> player = decode(fd, offset, length, &sampleRate, &numChannels, &format); 229 reply->writeInt32((int32_t) format);
|
/frameworks/base/core/jni/ |
android_view_Surface.cpp | 178 static inline SkBitmap::Config convertPixelFormat(PixelFormat format) { 183 switch (format) { 239 env->SetIntField(canvasObj, gCanvasClassInfo.mSurfaceFormat, outBuffer.format); 242 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); 243 bitmap.setConfig(convertPixelFormat(outBuffer.format), outBuffer.width, outBuffer.height, bpr); 244 if (outBuffer.format == PIXEL_FORMAT_RGBX_8888) {
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothStressTest.java | 220 String.format("connectA2dp(device=%s)", device)); 222 String.format("disconnectA2dp(device=%s)", device)); 253 String.format("connectHeadset(device=%s)", device)); 255 String.format("disconnectHeadset(device=%s)", device)); 286 String.format("connectInput(device=%s)", device)); 288 String.format("disconnectInput(device=%s)", device));
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
FileRotatorTest.java | 19 import static android.text.format.DateUtils.DAY_IN_MILLIS; 20 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 21 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 22 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 23 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 24 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
MediaSource.java | 35 import android.filterfw.format.ImageFormat; 328 String temp = String.format("SetSourceRegion: %.2f, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f", 482 throw new RuntimeException(String.format("Unable to set MediaPlayer to URL %s!", mSourceUrl), e); 484 throw new RuntimeException(String.format("Unable to set MediaPlayer to asset %s!", mSourceAsset), e); 490 throw new RuntimeException(String.format("Unable to set MediaPlayer to URL %s!", mSourceUrl), e); 492 throw new RuntimeException(String.format("Unable to set MediaPlayer to asset %s!", mSourceAsset), e);
|
/frameworks/base/services/java/com/android/server/ |
TwilightService.java | 33 import android.text.format.DateUtils; 34 import android.text.format.Time; 249 + ", mYesterdaySunset=" + f.format(new Date(mYesterdaySunset)) 250 + ", mTodaySunrise=" + f.format(new Date(mTodaySunrise)) 251 + ", mTodaySunset=" + f.format(new Date(mTodaySunset)) 252 + ", mTomorrowSunrise=" + f.format(new Date(mTomorrowSunrise))
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DatePicker.java | 24 import android.text.format.DateFormat; 189 // re-order the number pickers to match the current date format 206 java.text.DateFormat format; local 210 * If the user is in a locale where the medium date format is 212 * the date format order setting. Otherwise, use the order 217 format = DateFormat.getDateFormat(getContext()); 219 format = DateFormat.getMediumDateFormat(getContext()); 222 if (format instanceof SimpleDateFormat) { 223 order = ((SimpleDateFormat) format).toPattern();
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioPolicyManagerBase.h | 87 uint32_t format = AudioSystem::FORMAT_DEFAULT, 100 uint32_t format, 205 uint32_t format, 448 audio_format_t format, 486 uint32_t format, 490 uint32_t format,
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/ |
JPEGTestEnc.c | 41 *! that is, newest first. The date format is dd-Mon-yyyy. 101 0x02, 0x00, /* Type: Data format is 0x0002, ASCII */ 109 0x02, 0x00, /* Type: Data format is 0x0002, ASCII */ 117 0x03, 0x00, /* Type: Data format is 0x0003, (short)*/ 141 /* 83 */ 0x04, 0x00, /* Data format is 0x0004, ULInt*/ 165 0x07, 0x00, /*Data format is 0x0007, undefined*/ 179 0x03, 0x00, /*Data format is 0x0003 unsigned short,*/ 187 0x04, 0x00, /* Data format is 0x0004, ULInt*/ 193 0x04, 0x00, /* Data format is 0x0004, ULInt*/ 209 0x02, 0x00, /* Type: Data format is 0x0002, ASCII * [all...] |
/libcore/luni/src/main/java/java/text/ |
DecimalFormat.java | 34 * has a variety of features designed to make it possible to parse and format 50 * {@code DecimalFormat}. If you need to customize the format object, do 394 * <th align="left">Output of format()</th> 462 * {@code DecimalFormat} supports padding the result of {@code format} to a 471 * including prefix and suffix, determines the format width. For example, in the 472 * pattern {@code "* #0 o''clock"}, the format width is 10.</li> 476 * ##,##,#,##0.##", the format width is 14. The initial characters "##,##," do 478 * the format width.</li> 495 * @see Format 567 * Changes the pattern of this decimal format to the specified pattern whic 660 public StringBuffer format(double value, StringBuffer buffer, FieldPosition position) { method in class:DecimalFormat 682 public StringBuffer format(long value, StringBuffer buffer, FieldPosition position) { method in class:DecimalFormat 689 public final StringBuffer format(Object number, StringBuffer buffer, FieldPosition position) { method in class:DecimalFormat [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
PopularUrlsTest.java | 162 String logMsg = String.format("JS Alert '%s' received from %s", message, url); 175 String logMsg = String.format("JS Confirmation '%s' received from %s", 189 String logMsg = String.format("JS Prompt '%s' received from %s; " + 217 String message = String.format("Error '%s' (%d) loading url: %s", 269 Log.v(TAG, String.format("suppressing non-http url scheme: %s", url)); 281 Log.v(TAG, String.format("Download request ignored: %s", url));
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 28 import android.text.format.DateFormat; 200 // re-order the number pickers to match the current date format 218 java.text.DateFormat format; local 222 * If the user is in a locale where the medium date format is 224 * the date format order setting. Otherwise, use the order 229 format = DateFormat.getDateFormat(getContext()); 231 format = DateFormat.getMediumDateFormat(getContext()); 234 if (format instanceof SimpleDateFormat) { 235 order = ((SimpleDateFormat) format).toPattern();
|
/prebuilts/tools/darwin-x86/sdl/include/SDL/ |
SDL_video.h | 69 /** Everything in the pixel format structure is read-only */ 98 SDL_PixelFormat *format; /**< Read-only */ member in struct:SDL_Surface 117 /** format version, bumped at every change to invalidate blit maps */ 138 #define SDL_ANYFORMAT 0x10000000 /**< Allow any video depth/pixel-format */ 185 SDL_PixelFormat *vfmt; /**< Value: The format of the video surface */ 209 Uint32 format; /**< Read-only */ member in struct:SDL_Overlay 268 * pixel format, but does not initialize a window or graphics mode. 288 * If SDL is doing format conversion on the display surface, this 297 * member of the returned structure will contain the pixel format of the 317 * given format and video flags, sorted largest to smallest. Returns [all...] |
/prebuilts/tools/linux-x86/sdl/include/SDL/ |
SDL_video.h | 69 /** Everything in the pixel format structure is read-only */ 98 SDL_PixelFormat *format; /**< Read-only */ member in struct:SDL_Surface 117 /** format version, bumped at every change to invalidate blit maps */ 138 #define SDL_ANYFORMAT 0x10000000 /**< Allow any video depth/pixel-format */ 185 SDL_PixelFormat *vfmt; /**< Value: The format of the video surface */ 209 Uint32 format; /**< Read-only */ member in struct:SDL_Overlay 268 * pixel format, but does not initialize a window or graphics mode. 288 * If SDL is doing format conversion on the display surface, this 297 * member of the returned structure will contain the pixel format of the 317 * given format and video flags, sorted largest to smallest. Returns [all...] |
/prebuilts/tools/windows/sdl/include/SDL/ |
SDL_video.h | 69 /** Everything in the pixel format structure is read-only */ 98 SDL_PixelFormat *format; /**< Read-only */ member in struct:SDL_Surface 117 /** format version, bumped at every change to invalidate blit maps */ 138 #define SDL_ANYFORMAT 0x10000000 /**< Allow any video depth/pixel-format */ 185 SDL_PixelFormat *vfmt; /**< Value: The format of the video surface */ 209 Uint32 format; /**< Read-only */ member in struct:SDL_Overlay 268 * pixel format, but does not initialize a window or graphics mode. 288 * If SDL is doing format conversion on the display surface, this 297 * member of the returned structure will contain the pixel format of the 317 * given format and video flags, sorted largest to smallest. Returns [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
ProjectContentsPage.java | 326 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, String.format( 350 String.format("'%s' is not a valid folder.", location)); 356 String.format("Folder '%s' is not empty.", location)); 365 String.format("Folder '%s' does not exist.", parent.getName())); 370 String.format("'%s' is not a folder.", parent.getName())); 375 String.format("'%s' is not writeable.", parent.getName()));
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
OMX_JpegEnc_Utils.c | 45 *! that is, newest first. The date format is dd-Mon-yyyy. 603 if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (352*288)) { 606 else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (640*480)) { 609 else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (720*576)) { 612 else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (1*1024*1024)) { 615 else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (2*1024*1024)) [all...] |