/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...] |
/hardware/intel/common/libmix/mix_video/src/ |
mixvideolog.h | 14 #define LOG_V(format, ...) mix_log(MIX_VIDEO_COMP, MIX_LOG_LEVEL_VERBOSE, format, ##__VA_ARGS__) 15 #define LOG_I(format, ...) mix_log(MIX_VIDEO_COMP, MIX_LOG_LEVEL_INFO, format, ##__VA_ARGS__) 16 #define LOG_W(format, ...) mix_log(MIX_VIDEO_COMP, MIX_LOG_LEVEL_WARNING, format, ##__VA_ARGS__) 17 #define LOG_E(format, ...) mix_log(MIX_VIDEO_COMP, MIX_LOG_LEVEL_ERROR, format, ##__VA_ARGS__) 19 #define LOG_V(format, ...) 20 #define LOG_I(format, ... [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
package-info.java | 4 package android.filterfw.format;
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
vbp_trace.h | 23 extern void vbp_trace_util(const char* cat, const char* fun, int line, const char* format, ...); 25 #define VBP_TRACE_UTIL(cat, format, ...) \ 26 vbp_trace_util(cat, __FUNCTION__, __LINE__, format, ##__VA_ARGS__) 29 #define ETRACE(format, ...) VBP_TRACE_UTIL("ERROR: ", format, ##__VA_ARGS__) 30 #define WTRACE(format, ...) VBP_TRACE_UTIL("WARNING: ", format, ##__VA_ARGS__) 31 #define ITRACE(format, ...) VBP_TRACE_UTIL("INFO: ", format, ##__VA_ARGS__) 32 #define VTRACE(format, ...) VBP_TRACE_UTIL("VERBOSE: ", format, ##__VA_ARGS__ [all...] |
/external/clang/unittests/Format/ |
FormatTestSelective.cpp | 1 //===- unittest/Format/FormatTestSelective.cpp - Formatting unit tests ----===// 11 #include "clang/Format/Format.h" 15 #define DEBUG_TYPE "format-test" 18 namespace format { namespace in namespace:clang 23 std::string format(llvm::StringRef Code, unsigned Offset, unsigned Length) { function in class:clang::format::__anon9792::FormatTestSelective 41 EXPECT_EQ("int a;\nint b;", format("int a; \nint b;", 0, 0)); 42 EXPECT_EQ("int a;", format("int a; ", 0, 0)); 43 EXPECT_EQ("int a;\n", format("int a; \n \n \n ", 0, 0)); 44 EXPECT_EQ("int a;\nint b; ", format("int a; \nint b; ", 0, 0)) [all...] |
/external/clang/test/CodeGen/ |
2006-01-13-Includes.c | 4 int printf(const char * restrict format, ...);
|
/external/jemalloc/android/include/ |
libc_logging.h | 33 #define __libc_fatal(format, ...) abort()
|
/system/core/libbacktrace/ |
BacktraceLog.h | 25 #define BACK_LOGW(format, ...) \ 26 ALOGW("%s: " format, __PRETTY_FUNCTION__, ##__VA_ARGS__) 28 #define BACK_LOGE(format, ...) \ 29 ALOGE("%s: " format, __PRETTY_FUNCTION__, ##__VA_ARGS__)
|
/device/google/dragon/recovery/updater/ |
update_log.h | 23 #define ALOGD(format, args...) printf("D %s: " format, LOG_TAG, ## args) 24 #define ALOGI(format, args...) printf("I %s: " format, LOG_TAG, ## args) 25 #define ALOGW(format, args...) printf("W %s: " format, LOG_TAG, ## args) 26 #define ALOGE(format, args...) printf("E %s: " format, LOG_TAG, ## args)
|
/bionic/libc/malloc_debug/ |
debug_log.h | 37 #define debug_log(format, ...) \ 38 __libc_format_log(ANDROID_LOG_DEBUG, "malloc_debug", (format), ##__VA_ARGS__ ) 39 #define error_log(format, ...) \ 40 __libc_format_log(ANDROID_LOG_ERROR, "malloc_debug", (format), ##__VA_ARGS__ ) 43 #define info_log(format, ...) \ 44 __libc_format_log(ANDROID_LOG_INFO, "malloc_debug", (format), ##__VA_ARGS__ )
|
/external/llvm/lib/DebugInfo/DWARF/ |
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())
|
/external/skia/src/gpu/vk/ |
GrVkUtil.cpp | 10 bool GrPixelConfigToVkFormat(GrPixelConfig config, VkFormat* format) { 12 if (!format) { 13 format = &dontCare; 18 *format = VK_FORMAT_R8G8B8A8_UNORM; 21 *format = VK_FORMAT_B8G8R8A8_UNORM; 24 *format = VK_FORMAT_R8G8B8A8_SRGB; 27 *format = VK_FORMAT_R5G6B5_UNORM_PACK16; 30 *format = VK_FORMAT_R4G4B4A4_UNORM_PACK16; 36 *format = VK_FORMAT_R8_UNORM; 40 *format = VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/include/ |
viddec_debug.h | 11 // #define DEB(format, args...) 13 #define DEB_FNAME(format, args...) OS_PRINT("%s: %s[%d]:: " format, __FILE__, __FUNCTION__ , __LINE__ , ## args ) 14 #define CDEB(a, format, args...) if(a != 0) {DEB(format, ##args);} 16 #define DEB(format, args...) 18 #define CDEB(a, format, args...) 19 #define DEB_FNAME(format, args...) 24 #define DEB(format, args...) 26 #define CDEB(a, format, args... [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...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
Formatter.java | 52 * Format the given log record and return the formatted string. 57 * convenience method to localize and format the message field. 62 public abstract String format(LogRecord record); method in class:Formatter 93 * Localize and format the message string from a log record. This 97 * The message string is first localized to a format string using 100 * format string.) The format String uses java.text style 105 * java.text.MessageFormat is used to format the string. 114 String format = record.getMessage(); local 118 format = catalog.getString(record.getMessage()) [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/avahi/avahi-core/ |
log.c | 41 void avahi_log_ap(AvahiLogLevel level, const char*format, va_list ap) { 44 vsnprintf(txt, sizeof(txt), format, ap); 56 void avahi_log(AvahiLogLevel level, const char*format, ...) { 58 va_start(ap, format); 59 avahi_log_ap(level, format, ap); 63 void avahi_log_error(const char*format, ...) { 65 va_start(ap, format); 66 avahi_log_ap(AVAHI_LOG_ERROR, format, ap); 70 void avahi_log_warn(const char*format, ...) { 72 va_start(ap, format); [all...] |
/prebuilts/go/darwin-x86/src/runtime/cgo/ |
gcc_android.c | 10 fatalf(const char* format, ...) 21 va_start(ap, format); 22 vfprintf(stderr, format, ap); 26 va_start(ap, format); 27 __android_log_vprint(ANDROID_LOG_FATAL, "runtime/cgo", format, ap);
|
/prebuilts/go/linux-x86/src/runtime/cgo/ |
gcc_android.c | 10 fatalf(const char* format, ...) 21 va_start(ap, format); 22 vfprintf(stderr, format, ap); 26 va_start(ap, format); 27 __android_log_vprint(ANDROID_LOG_FATAL, "runtime/cgo", format, ap);
|
/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));
|
/cts/tests/tests/location/src/android/location/cts/ |
MultiConstellationNotSupportedException.java | 23 public MultiConstellationNotSupportedException(String format, Object... params) { 24 this(String.format(format, params));
|
/external/opencv3/modules/videostab/src/ |
log.cpp | 53 void LogToStdout::print(const char *format, ...) 56 va_start(args, format); 57 vprintf(format, args);
|
/external/skia/src/ports/ |
SkDebug_stdio.cpp | 14 void SkDebugf(const char format[], ...) { 16 va_start(args, format); 17 vfprintf(stderr, format, args);
|
/hardware/qcom/display/msm8996/sdm/include/utils/ |
formats.h | 37 bool IsUBWCFormat(LayerBufferFormat format); 38 bool Is10BitFormat(LayerBufferFormat format); 39 const char *GetFormatString(const LayerBufferFormat &format);
|