/libcore/luni/src/test/java/libcore/java/text/ |
OldDecimalFormatTestICU.java | 32 DecimalFormat format; field in class:OldDecimalFormatTestICU 35 format = (DecimalFormat) NumberFormat.getNumberInstance(); 40 DecimalFormat format = (DecimalFormat) NumberFormat local 43 format.applyPattern("@@@"); 44 assertEquals("sigDigit doesn't work", "12300", format.format(12345)); 45 assertEquals("sigDigit doesn't work", "0.123", format.format(0.12345)); 47 format.applyPattern("@@##"); 48 assertEquals("sigDigit doesn't work", "3.142", format.format(3.14159)) [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
package-info.java | 4 package android.filterfw.format;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
log.h | 14 #define LOG_TRACE(format, ...) 15 #define LOG_ERROR(format, ...) 16 #define LOG_WARN(format, ...) 22 #define LOG_TRACE(format, ...) \ 23 nacl_io_log(LOG_PREFIX format "\n", ##__VA_ARGS__) 27 #define LOG_TRACE(format, ...) 31 #define LOG_ERROR(format, ...) \ 32 nacl_io_log(LOG_PREFIX "%s:%d: error: " format "\n", \ 37 #define LOG_WARN(format, ...) \ 38 nacl_io_log(LOG_PREFIX "%s:%d: warning: " format "\n", [all...] |
/external/clang/test/CodeGen/ |
2006-01-13-Includes.c | 4 int printf(const char * restrict format, ...);
|
/external/llvm/lib/DebugInfo/ |
DWARFCompileUnit.cpp | 11 #include "llvm/Support/Format.h" 17 OS << format("0x%08x", getOffset()) << ": Compile Unit:" 18 << " length = " << format("0x%08x", getLength()) 19 << " version = " << format("0x%04x", getVersion()) 20 << " abbr_offset = " << format("0x%04x", getAbbreviations()->getOffset()) 21 << " addr_size = " << format("0x%02x", getAddressByteSize()) 22 << " (next unit at " << format("0x%08x", getNextUnitOffset())
|
DWARFTypeUnit.cpp | 11 #include "llvm/Support/Format.h" 26 OS << format("0x%08x", getOffset()) << ": Type Unit:" 27 << " length = " << format("0x%08x", getLength()) 28 << " version = " << format("0x%04x", getVersion()) 29 << " abbr_offset = " << format("0x%04x", getAbbreviations()->getOffset()) 30 << " addr_size = " << format("0x%02x", getAddressByteSize()) 31 << " type_signature = " << format("0x%16" PRIx64, TypeHash) 32 << " type_offset = " << format("0x%04x", TypeOffset) 33 << " (next unit at " << format("0x%08x", getNextUnitOffset())
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_format_table.py | 97 for format in formats: 99 print 'util_format_%s_description = {' % (format.short_name(),) 100 print " %s," % (format.name,) 101 print " \"%s\"," % (format.name,) 102 print " \"%s\"," % (format.short_name(),) 103 print " {%u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_size()) 104 print " %s," % (layout_map(format.layout),) 105 print " %u,\t/* nr_channels */" % (format.nr_channels(), [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_table.py | 97 for format in formats: 99 print 'util_format_%s_description = {' % (format.short_name(),) 100 print " %s," % (format.name,) 101 print " \"%s\"," % (format.name,) 102 print " \"%s\"," % (format.short_name(),) 103 print " {%u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_size()) 104 print " %s," % (layout_map(format.layout),) 105 print " %u,\t/* nr_channels */" % (format.nr_channels(), [all...] |
/external/clang/test/Sema/ |
block-sentinel-attribute.c | 3 void (^e) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (1,1))); variable 6 void (^bbad) (int arg, const char * format) __attribute__ ((__sentinel__)) ; // expected-warning {{'sentinel' attribute only supported for variadic blocks}} local 7 bbad = ^void (int arg, const char * format) __attribute__ ((__sentinel__)) {} ; // expected-warning {{'sentinel' attribute only supported for variadic blocks}} 8 void (^b) (int arg, const char * format, ...) __attribute__ ((__sentinel__)) = // expected-note {{block has been explicitly marked sentinel here}} local 9 ^ __attribute__ ((__sentinel__)) (int arg, const char * format, ...) {}; 10 void (^z) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (2))) = ^ __attribute__ ((__sentinel__ (2))) (int arg, const char * format, ...) {}; // expected-note {{block has been explicitly marked sentinel here}} local 13 void (^y) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (5))) = ^ __attribute__ ((__sentinel__ (5))) (int arg, const char * format, ...) {}; // expected-note {{block has been explicitly marked sentinel here}} local
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
debug.h | 14 int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); 17 int ui__error(const char *format, ...) __attribute__((format(printf, 1, 2))); 18 int ui__warning(const char *format, ...) __attribute__((format(printf, 1, 2)));
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorTestPlatformException.java | 24 public SensorTestPlatformException(String format, Object ... params) { 25 this(String.format(format, params));
|
SensorTestStateNotSupportedException.java | 25 public SensorTestStateNotSupportedException(String format, Object ... params) { 26 super(String.format(format, params));
|
/external/chromium_org/third_party/skia/src/ports/ |
SkDebug_stdio.cpp | 15 void SkDebugf(const char format[], ...) { 17 va_start(args, format); 18 vfprintf(stderr, format, args);
|
/external/chromium_org/tools/gyp/test/sibling/ |
gyptest-all.py | 24 if test.format in ('make', 'ninja', 'cmake'): 27 if test.format == 'xcode': 33 if test.format == 'xcode':
|
gyptest-relocate.py | 26 if test.format in ('make', 'ninja', 'cmake'): 29 if test.format == 'xcode': 35 if test.format == 'xcode':
|
/external/skia/src/ports/ |
SkDebug_stdio.cpp | 15 void SkDebugf(const char format[], ...) { 17 va_start(args, format); 18 vfprintf(stderr, format, args);
|
/external/clang/test/Preprocessor/ |
macro_paste_commaext.c | 7 #define debug(format, ...) format, ## __VA_ARGS__)
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
log_utils.h | 27 static void logToJava(JNIEnv *const env, const char *const format, ...) 29 __attribute__ ((format (printf, 2, 3)))
|
/system/core/libbacktrace/ |
BacktraceLog.h | 25 #define BACK_LOGW(format, ...) \ 26 ALOGW("%s: " format, __PRETTY_FUNCTION__, ##__VA_ARGS__)
|
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/ |
T_f1_0.java | 17 package dot.junit.format.f1.d;
|
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 19 /** Helper class to format the timer. Based on com.android.deskclock.timer.CountingTimerView. */ 49 String format; local 85 format = showNeg ? NEG_TWO_DIGITS : TWO_DIGITS; 86 mHours = String.format(format, hours); 88 format = showNeg ? NEG_ONE_DIGIT : ONE_DIGIT; 89 mHours = String.format(format, hours); 96 format = (showNeg && hours == 0) ? NEG_TWO_DIGITS : TWO_DIGITS; 97 mMinutes = String.format(format, minutes) [all...] |
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 19 /** Helper class to format the timer. Based on com.android.deskclock.timer.CountingTimerView. */ 49 String format; local 85 format = showNeg ? NEG_TWO_DIGITS : TWO_DIGITS; 86 mHours = String.format(format, hours); 88 format = showNeg ? NEG_ONE_DIGIT : ONE_DIGIT; 89 mHours = String.format(format, hours); 96 format = (showNeg && hours == 0) ? NEG_TWO_DIGITS : TWO_DIGITS; 97 mMinutes = String.format(format, minutes) [all...] |
/development/samples/browseable/Timer/Wearable/src/com.example.android.wearable.timer/util/ |
TimerFormat.java | 19 /** Helper class to format the timer. Based on com.android.deskclock.timer.CountingTimerView. */ 49 String format; local 85 format = showNeg ? NEG_TWO_DIGITS : TWO_DIGITS; 86 mHours = String.format(format, hours); 88 format = showNeg ? NEG_ONE_DIGIT : ONE_DIGIT; 89 mHours = String.format(format, hours); 96 format = (showNeg && hours == 0) ? NEG_TWO_DIGITS : TWO_DIGITS; 97 mMinutes = String.format(format, minutes) [all...] |
/external/chromium_org/third_party/angle/src/compiler/translator/ |
compilerdebug.cpp | 21 void Trace(const char *format, ...) { 22 if (!format) return; 28 va_start(args, format); 29 vsnprintf(buf, kTraceBufferLen, format, args);
|
/external/chromium_org/tools/gyp/test/custom-generator/ |
gyptest-custom-generator.py | 6 """Test that custom generators can be passed to --format 11 test = TestGyp.TestGypCustom(format='mygenerator.py')
|