/frameworks/base/libs/hwui/utils/ |
H A D | TraceUtils.h | 21 #define ATRACE_FORMAT(fmt, ...) \ 22 TraceUtils::TraceEnder __traceEnder = (TraceUtils::atraceFormatBegin(fmt, ##__VA_ARGS__), TraceUtils::TraceEnder()) 24 #define ATRACE_FORMAT_BEGIN(fmt, ...) \ 25 TraceUtils::atraceFormatBegin(fmt, ##__VA_ARGS__) 37 static void atraceFormatBegin(const char* fmt, ...) { argument 44 va_start(ap, fmt); 45 vsnprintf(buf, BUFFER_SIZE, fmt, ap);
|
/frameworks/wilhelm/src/desktop/ |
H A D | SDL.cpp | 47 SDL_AudioSpec fmt; local 48 fmt.freq = 44100; 49 fmt.format = AUDIO_S16; 50 fmt.channels = STEREO_CHANNELS; 52 fmt.samples = SndFile_BUFSIZE; 54 fmt.samples = SndFile_BUFSIZE / sizeof(short); 56 fmt.callback = SDL_callback; 57 fmt.userdata = (void *) thisEngine; 59 if (SDL_OpenAudio(&fmt, NULL) < 0) {
|
/frameworks/base/tools/aapt/ |
H A D | IndentPrinter.h | 20 void print(const char* fmt, ...) { argument 23 va_start(args, fmt); 24 vfprintf(mStream, fmt, args); 28 void println(const char* fmt, ...) { argument 31 va_start(args, fmt); 32 vfprintf(mStream, fmt, args);
|
H A D | SourcePos.h | 20 void error(const char* fmt, ...) const; 21 void warning(const char* fmt, ...) const; 22 void printf(const char* fmt, ...) const;
|
H A D | SourcePos.cpp | 114 SourcePos::error(const char* fmt, ...) const argument 117 va_start(ap, fmt); 118 String8 msg = String8::formatV(fmt, ap); 124 SourcePos::warning(const char* fmt, ...) const argument 127 va_start(ap, fmt); 128 String8 msg = String8::formatV(fmt, ap); 134 SourcePos::printf(const char* fmt, ...) const argument 137 va_start(ap, fmt); 138 String8 msg = String8::formatV(fmt, ap);
|
/frameworks/base/libs/common_time/ |
H A D | utils.h | 54 void log(int prio, const char* tag, const char* fmt, ...); 57 void log(const char* fmt, ...); 78 void internalLog(int prio, const char* tag, const char* fmt, va_list va);
|
H A D | utils.cpp | 67 void LogRing::log(int prio, const char* tag, const char* fmt, ...) { argument 69 va_start(argp, fmt); 70 internalLog(prio, tag, fmt, argp); 74 void LogRing::log(const char* fmt, ...) { argument 76 va_start(argp, fmt); 77 internalLog(0, NULL, fmt, argp); 83 const char* fmt, 87 String8 s(String8::formatV(fmt, argp)); 110 LOG_PRI_VA(prio, tag, fmt, argp); 81 internalLog(int prio, const char* tag, const char* fmt, va_list argp) argument
|
/frameworks/ex/framesequence/jni/utils/ |
H A D | log.h | 258 #define LOG_PRI_VA(priority, tag, fmt, args) \ 259 __android_log_vprint(priority, NULL, tag, fmt, args) 280 #define android_printAssert(cond, tag, fmt...) \ 282 __android_second(0, ## fmt, NULL) __android_rest(fmt))
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 18 void printe(const char *fmt, ...); 115 void printe(const char *fmt, ...) { argument 118 va_start(ap, fmt); 120 vfprintf(stderr, fmt, ap); 128 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { argument 131 va_start(ap, fmt); 133 vprintf(fmt, ap); 138 void print_path(const char *section, const char *subsection, const char *fmt, ...) { argument 141 va_start(ap, fmt); 143 vprintf(fmt, a [all...] |
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | LatencyHistogram.cpp | 72 void CameraLatencyHistogram::log(const char* fmt, ...) { argument 78 va_start(args, fmt); 79 String8 histogramName = String8::formatV(fmt, args);
|
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 172 // skip start fmt 187 // skip start fmt 194 // skip start fmt 206 // skip start fmt 222 // copy fmt start entry 421 void NBLog::Writer::logf(const char *fmt, ...) argument 427 va_start(ap, fmt); 428 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWriter 432 void NBLog::Writer::logvf(const char *fmt, va_list ap) argument 438 int length = vsnprintf(buffer, sizeof(buffer), fmt, a 494 logStart(const char *fmt) argument 538 logFormat(const char *fmt, log_hash_t hash, ...) argument 550 logVFormat(const char *fmt, log_hash_t hash, va_list argp) argument 681 logf(const char *fmt, ...) argument 691 logvf(const char *fmt, va_list ap) argument 729 logStart(const char *fmt) argument 1016 const char* fmt = fmtEntry.formatString(); local [all...] |
/frameworks/native/vulkan/libvulkan/ |
H A D | debug_report.h | 101 #define DEBUG_REPORT_LOGGER_PRINTF(fmt, args) \ 102 __attribute__((format(printf, (fmt) + 1, (args) + 1))) 151 #define DEBUG_REPORT_LOGGER_VPRINTF(fmt) \ 152 __attribute__((format(printf, (fmt) + 1, 0)))
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXUtils.cpp | 207 const OMX_COLOR_FORMATTYPE fmt = params.eColorFormat; local 212 if (fmt != OMX_COLOR_FormatYUV420Planar && 213 fmt != OMX_COLOR_FormatYUV420PackedPlanar && 214 fmt != OMX_COLOR_FormatYUV420SemiPlanar && 215 fmt != OMX_COLOR_FormatYUV420PackedSemiPlanar && 216 fmt != (OMX_COLOR_FORMATTYPE)HAL_PIXEL_FORMAT_YV12) { 217 ALOGW("do not know color format 0x%x = %d", fmt, fmt); 234 fmt, fmt, param [all...] |
H A D | OMXNodeInstance.cpp | 51 #define CLOGW(fmt, ...) ALOGW("[%p:%s] " fmt, mHandle, mName, ##__VA_ARGS__) 53 #define CLOG_ERROR_IF(cond, fn, err, fmt, ...) \ 54 ALOGE_IF(cond, #fn "(%p:%s, " fmt ") ERROR: %s(%#x)", \ 56 #define CLOG_ERROR(fn, err, fmt, ...) CLOG_ERROR_IF(true, fn, err, fmt, ##__VA_ARGS__) 57 #define CLOG_IF_ERROR(fn, err, fmt, ...) \ 58 CLOG_ERROR_IF((err) != OMX_ErrorNone, fn, err, fmt, ##__VA_ARGS__) 60 #define CLOGI_(level, fn, fmt, ...) \ 61 ALOGI_IF(DEBUG >= (level), #fn "(%p:%s, " fmt ")", mHandl [all...] |
/frameworks/av/services/audioflinger/ |
H A D | TypedLogger.h | 85 #define LOGT(fmt, ...) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \ 86 x->logFormat((fmt), hash(__FILE__, __LINE__), ##__VA_ARGS__); } \
|
/frameworks/av/include/media/nbaio/ |
H A D | NBLog.h | 334 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); 335 virtual void logvf(const char *fmt, va_list ap); 341 virtual void logFormat(const char *fmt, log_hash_t hash, ...); 342 virtual void logVFormat(const char *fmt, log_hash_t hash, va_list ap); 343 virtual void logStart(const char *fmt); 387 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); 388 virtual void logvf(const char *fmt, va_list ap); 394 virtual void logStart(const char *fmt);
|
/frameworks/av/media/libnbaio/include/media/nbaio/ |
H A D | NBLog.h | 334 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); 335 virtual void logvf(const char *fmt, va_list ap); 341 virtual void logFormat(const char *fmt, log_hash_t hash, ...); 342 virtual void logVFormat(const char *fmt, log_hash_t hash, va_list ap); 343 virtual void logStart(const char *fmt); 387 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); 388 virtual void logvf(const char *fmt, va_list ap); 394 virtual void logStart(const char *fmt);
|
/frameworks/base/services/net/java/android/net/util/ |
H A D | SharedLog.java | 109 public void logf(String fmt, Object... args) { argument 110 log(String.format(fmt, args));
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 561 FormatBuf fmt; local 563 format_bytes(&fmt, accumPtr, mtls->accumSize); 565 fmt[0] = 0; 568 mtls->accumFunc, idx, xStart, xEnd, fmt); 600 FormatBuf fmt; local 602 format_bytes(&fmt, accumPtr, mtls->accumSize); 604 fmt[0] = 0; 607 mtls->accumFunc, idx, yStart, yEnd, fmt); 635 FormatBuf fmt; local 637 format_bytes(&fmt, accumPt 785 FormatBuf fmt; local 804 FormatBuf fmt; local 813 FormatBuf fmt; local [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 258 int32_t fmt = mLockedBuffer->flexFormat; local 259 switch (fmt) { 294 ALOGE("Pixel format: 0x%x is unsupported", fmt); 318 int32_t fmt = mLockedBuffer->flexFormat; local 319 switch (fmt) { 377 ALOGE("%s Pixel format: 0x%x is unsupported", __FUNCTION__, fmt); 441 int32_t fmt = mLockedBuffer->flexFormat; local 443 switch (fmt) { 591 ALOGE("Pixel format: 0x%x is unsupported", fmt);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.h | 54 uint32_t fmt = 0, 63 format(fmt),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelBar.java | 31 public static final void LOG(String fmt, Object... args) { argument 33 Log.v(TAG, String.format(fmt, args));
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramFragmentFixedFunction.java | 244 * @param fmt specifies the format of the texture and how its 251 public Builder setTexture(EnvMode env, Format fmt, int slot) argument 256 mSlots[slot] = new Slot(env, fmt);
|
/frameworks/base/core/jni/ |
H A D | android_os_SELinux.cpp | 337 static int log_callback(int type, const char *fmt, ...) { argument 352 va_start(ap, fmt); 353 LOG_PRI_VA(priority, "SELinux", fmt, ap);
|
/frameworks/native/cmds/installd/ |
H A D | installd.cpp | 284 static int log_callback(int type, const char *fmt, ...) { argument 299 va_start(ap, fmt); 300 LOG_PRI_VA(priority, "SELinux", fmt, ap);
|