/external/bluetooth/glib/tests/ |
markup-escape-test.c | 8 static void test_format (const gchar *format, 48 test_format (const gchar *format, 57 result = g_markup_vprintf_escaped (format, args);
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
console.cc | 123 void Console::Printf(const char* format, ...) { 125 va_start(ap, format); 128 int size = vsnprintf(buf, sizeof(buf), format, ap);
|
/external/doclava/src/com/google/doclava/ |
FieldInfo.java | 143 str = String.format("\'\\u%04x\'", val); 210 result += String.format("\\u%04x", new Integer((int) c)); 349 dec = String.format("%d", val); 350 hex = String.format("0x%02x", val); 352 dec = String.format("\'%c\'", val); 353 hex = String.format("0x%04x", val); 359 dec = String.format("%d", val); 360 hex = String.format("0x%08x", val); 362 dec = String.format("%d", val); 363 hex = String.format("0x%016x", val) [all...] |
/external/icu4c/i18n/ |
format.cpp | 7 * File FORMAT.CPP 19 // This file was generated from the java source file Format.java 39 /* Format class implementation ---------------------------------------------- */ 43 #include "unicode/format.h" 49 // class Format 66 Format::Format() 74 Format::~Format() 81 Format::Format(const Format &that 105 Format::format(const Formattable& obj, function in class:Format 121 Format::format(const Formattable& \/* unused obj *\/, function in class:Format [all...] |
numfmt.cpp | 124 * Release all static memory held by Number Format. 208 : Format(source) 221 Format::operator=(rhs); 236 NumberFormat::operator==(const Format& that) const 238 // Format::operator== guarantees this cast is safe 242 // This code makes it easy to determine why two format objects that should 245 if (!Format::operator==(that)) { 247 debug("Format::!="); 275 ((Format::operator==(that) && 290 NumberFormat::format(double /* unused number */ function in class:NumberFormat 306 NumberFormat::format(int32_t \/* unused number *\/, function in class:NumberFormat 322 NumberFormat::format(int64_t \/* unused number *\/, function in class:NumberFormat 349 NumberFormat::format(const StringPiece &decimalNum, function in class:NumberFormat 410 UnicodeString& NumberFormat::format(const DigitList &number, function in class:NumberFormat 428 NumberFormat::format(const DigitList &number, function in class:NumberFormat 444 NumberFormat::format(const Formattable& obj, function in class:NumberFormat 489 NumberFormat::format(const Formattable& obj, function in class:NumberFormat 525 NumberFormat::format(int64_t number, function in class:NumberFormat 549 NumberFormat::format(double number, UnicodeString& appendTo) const function in class:NumberFormat 559 NumberFormat::format(int32_t number, UnicodeString& appendTo) const function in class:NumberFormat 569 NumberFormat::format(int64_t number, UnicodeString& appendTo) const function in class:NumberFormat [all...] |
/external/icu4c/test/intltest/ |
nmfmapts.cpp | 58 * This test does round-trip testing (format -> parse -> format -> parse -> etc.) of 112 // ======= Test various format() methods 115 logln("Testing various format() methods"); 125 res1 = cur_fr->format(d, res1); 128 res2 = cur_fr->format(l, res2); 131 res3 = cur_fr->format(d, res3, pos1); 134 res4 = cur_fr->format(l, res4, pos2); 138 res5 = cur_fr->format(fD, res5, pos3, status); 140 errln("ERROR: format(Formattable [double]) failed") [all...] |
/external/llvm/include/llvm/Support/ |
Format.h | 1 //===- Format.h - Efficient printf-style formatting for streams -*- C++ -*-===// 10 // This file implements the format() function, which can be used with other 15 // OS << "mynumber: " << format("%4.5f", 1234.412) << '\n'; 19 // OS << format("mynumber: %4.5f\n", 1234.412); 53 /// print - Format the object into the specified buffer. On success, this 75 /// format_object1 - This is a templated helper class used by the format 76 /// function that captures the object to be formated and the format string. When 92 /// format_object2 - This is a templated helper class used by the format 93 /// function that captures the object to be formated and the format string. When 110 /// format_object3 - This is a templated helper class used by the format 132 inline format_object1<T> format(const char *Fmt, const T &Val) { function in namespace:llvm 139 inline format_object2<T1, T2> format(const char *Fmt, const T1 &Val1, function in namespace:llvm 147 inline format_object3<T1, T2, T3> format(const char *Fmt, const T1 &Val1, function in namespace:llvm [all...] |
/external/webkit/Source/WebKit/android/jni/ |
PictureSet.h | 35 #define DBG_SET_LOGD(format, ...) LOGD("%s " format, __FUNCTION__, __VA_ARGS__) 39 #define DBG_SET_LOGD(format, ...) ((void)0)
|
/external/webkit/Source/WebKit/android/plugins/ |
SkANP.cpp | 63 switch (src.format) { 87 dst->format = kRGBA_8888_ANPBitmapFormat; 90 dst->format = kRGB_565_ANPBitmapFormat;
|
/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 70 String format = resources.getQuantityString(resId, NUM_DAYS_AGO); local 71 mLabels[2] = String.format(format, NUM_DAYS_AGO);
|
/frameworks/base/media/mtp/ |
MtpServer.h | 82 MtpObjectFormat format, int fd) 83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { 114 uint64_t size, MtpObjectFormat format, int fd);
|
/frameworks/base/opengl/java/android/opengl/ |
GLUtils.java | 44 * return the internal format as defined by OpenGL ES of the supplied bitmap. 46 * @return the internal format of the bitmap. 64 * is one. If the bitmap is stored in a compressed format, it may not have 115 throw new IllegalArgumentException("invalid Bitmap format"); 141 throw new IllegalArgumentException("invalid Bitmap format"); 163 throw new IllegalArgumentException("invalid Bitmap format"); 199 throw new IllegalArgumentException("invalid Bitmap format"); 215 Bitmap bitmap, int format, int type) { 222 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, format, type)!=0) { 223 throw new IllegalArgumentException("invalid Bitmap format"); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DateView.java | 23 import android.text.format.DateFormat; 92 CharSequence dow = DateFormat.format("EEEE", now); 93 CharSequence date = DateFormat.getLongDateFormat(context).format(now);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldObjectStreamFieldTest.java | 144 assertEquals(String.format("Unexpected value for osfArray[%d].getOffset(): ", i), 164 assertTrue(String.format("osfArray[%d].isPrimitive() should return true.", i), 167 assertFalse(String.format("osfArray[%d].isPrimitive() should return false.",
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
AccessibilityPreferencesFragment.java | 85 pref.setSummary(mFormat.format(textZoom / 100.0)); 89 pref.setSummary(mFormat.format(doubleTapZoom / 100.0)); 93 pref.setSummary(mFormat.format(contrast / 100.0));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SizeClustering.java | 95 mNames[k] = String.format( 98 mNames[k] = String.format( 103 mNames[k] = String.format(
|
/sdk/ide_common/src/com/android/ide/common/resources/ |
IdResourceParser.java | 89 String error = String.format("%1$s:%2$d: Error: %3$s", //$NON-NLS-1$ 100 String error = String.format("%1$s:%2$d: Error: %3$s", //$NON-NLS-1$ 134 String error = String.format(
|
/sdk/ide_common/src/com/android/ide/common/resources/configuration/ |
VersionQualifier.java | 69 return String.format("v%1$d", version); //$NON-NLS-1$ 175 return String.format("API %1$d", mVersion); 184 return String.format("API Level %1$d", mVersion);
|
/system/extras/tests/bionic/libc/bionic/ |
test_mutex.c | 35 static void panic( const char* format, ... ) 38 va_start(args, format); 39 vfprintf(stderr, format, args);
|
/system/media/mca/filterpacks/imageproc/java/ |
BitmapOverlayFilter.java | 29 import android.filterfw.format.ImageFormat; 137 FrameFormat format = ImageFormat.create(mBitmap.getWidth(), local 146 mFrame = context.getFrameManager().newFrame(format);
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_cursor.c | 305 x += this->screen->offset / this->screen->format->BytesPerPixel; 309 this->screen->format->BytesPerPixel; 380 switch (screen->format->BytesPerPixel) { 387 pixels8[0] = (Uint8)SDL_MapRGB(screen->format, 255, 255, 255); 388 pixels8[1] = (Uint8)SDL_MapRGB(screen->format, 0, 0, 0); 509 dstbpp = screen->format->BytesPerPixel; 517 if ( screen->format->BytesPerPixel == 1 ) { 519 pixels8[0] = (Uint8)SDL_MapRGB(screen->format, 255, 255, 255); 520 pixels8[1] = (Uint8)SDL_MapRGB(screen->format, 0, 0, 0); 562 the pixel format of the shadow surface to that of the video surface [all...] |
/external/valgrind/main/coregrind/ |
m_debuglog.c | 572 #define VG_MSG_ALTFORMAT 32 /* Convert the value to alternate format */ 738 const HChar* format, 754 for (i = 0; format[i] != 0; i++) { 755 if (format[i] != '%') { 756 send(format[i], send_arg2); 762 if (format[i] == 0) 764 if (format[i] == '%') { 774 switch (format[i]) { 792 /* If '#' follows '%', alternative format will be used. */ 802 while (format[i] >= '0' && format[i] <= '9') [all...] |
/system/core/liblog/ |
logprint.c | 41 AndroidLogPrintFormat format; member in struct:AndroidLogFormat_t 176 p_ret->format = FORMAT_BRIEF; 200 AndroidLogPrintFormat format) 202 p_format->format=format; 210 static AndroidLogPrintFormat format; local 212 if (strcmp(formatString, "brief") == 0) format = FORMAT_BRIEF; 213 else if (strcmp(formatString, "process") == 0) format = FORMAT_PROCESS; 214 else if (strcmp(formatString, "tag") == 0) format = FORMAT_TAG; 215 else if (strcmp(formatString, "thread") == 0) format = FORMAT_THREAD [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnDictionaryImpl.java | 223 mExactQuerySqlOrderByFreq = String.format( 225 String.format( "%s=?", COLUMN_NAME_STROKE ), String.format( "%s DESC", COLUMN_NAME_ID ) ); 227 mExactQuerySqlOrderByKey = String.format( 229 String.format( "%s=?", COLUMN_NAME_STROKE ), COLUMN_NAME_STROKE ); 232 mFullPrefixQuerySqlOrderByFreq = String.format( 234 queryFullBaseString, String.format( "%s DESC", COLUMN_NAME_ID ) ); 236 mFastPrefixQuerySqlOrderByFreq = String.format( 238 queryFastBaseString, String.format( "%s DESC", COLUMN_NAME_ID ) ); 240 mFullPrefixQuerySqlOrderByKey = String.format( [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
utilities.js | 811 String.sprintf = function(format) 813 return String.vsprintf(format, Array.prototype.slice.call(arguments, 1)); 816 String.tokenizeFormatString = function(format) 832 for (var precentIndex = format.indexOf("%", index); precentIndex !== -1; precentIndex = format.indexOf("%", index)) { 833 addStringToken(format.substring(index, precentIndex)); 836 if (format[index] === "%") { 842 if (!isNaN(format[index])) { 844 var number = parseInt(format.substring(index)); 845 while (!isNaN(format[index]) [all...] |