Searched refs:fmt (Results 1 - 25 of 50) sorted by relevance

12

/frameworks/base/libs/hwui/utils/
H A DTraceUtils.h21 #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 DSDL.cpp47 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/av/services/audioflinger/
H A DTypedLogger.h22 #define LOGT(fmt, ...) logWriterTLS->logFormat(fmt, ##__VA_ARGS__) // TODO: check null pointer
/frameworks/base/tools/aapt/
H A DIndentPrinter.h20 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 DSourcePos.h20 void error(const char* fmt, ...) const;
21 void warning(const char* fmt, ...) const;
22 void printf(const char* fmt, ...) const;
H A DSourcePos.cpp114 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 Dutils.h54 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 Dutils.cpp67 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 Dlog.h258 #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 Dinspect.cpp18 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 DLatencyHistogram.cpp72 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 DNBLog.cpp71 // skip start fmt
84 // skip start fmt
91 // skip start fmt
105 // copy fmt start entry
271 void NBLog::Writer::logf(const char *fmt, ...) argument
277 va_start(ap, fmt);
278 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWriter
282 void NBLog::Writer::logvf(const char *fmt, va_list ap) argument
288 int length = vsnprintf(buffer, sizeof(buffer), fmt, ap);
342 void NBLog::Writer::logStart(const char *fmt) argument
363 logFormat(const char *fmt, ...) argument
375 logVFormat(const char *fmt, va_list argp) argument
510 logf(const char *fmt, ...) argument
520 logvf(const char *fmt, va_list ap) argument
558 logStart(const char *fmt) argument
886 const char* fmt = fmtEntry.formatString(); local
[all...]
/frameworks/native/vulkan/libvulkan/
H A Ddebug_report.h101 #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 DOMXUtils.cpp206 const OMX_COLOR_FORMATTYPE fmt = params.eColorFormat; local
211 if (fmt != OMX_COLOR_FormatYUV420Planar &&
212 fmt != OMX_COLOR_FormatYUV420PackedPlanar &&
213 fmt != OMX_COLOR_FormatYUV420SemiPlanar &&
214 fmt != OMX_COLOR_FormatYUV420PackedSemiPlanar &&
215 fmt != (OMX_COLOR_FORMATTYPE)HAL_PIXEL_FORMAT_YV12) {
216 ALOGW("do not know color format 0x%x = %d", fmt, fmt);
233 fmt, fmt, param
[all...]
H A DOMXNodeInstance.cpp51 #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/include/media/nbaio/
H A DNBLog.h248 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
249 virtual void logvf(const char *fmt, va_list ap);
255 virtual void logFormat(const char *fmt, ...);
256 virtual void logVFormat(const char *fmt, va_list ap);
257 virtual void logStart(const char *fmt);
298 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
299 virtual void logvf(const char *fmt, va_list ap);
305 virtual void logStart(const char *fmt);
/frameworks/av/media/libnbaio/include/
H A DNBLog.h248 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
249 virtual void logvf(const char *fmt, va_list ap);
255 virtual void logFormat(const char *fmt, ...);
256 virtual void logVFormat(const char *fmt, va_list ap);
257 virtual void logStart(const char *fmt);
298 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
299 virtual void logvf(const char *fmt, va_list ap);
305 virtual void logStart(const char *fmt);
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp561 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 DNdkImage.cpp256 int32_t fmt = mLockedBuffer->flexFormat; local
257 switch (fmt) {
292 ALOGE("Pixel format: 0x%x is unsupported", fmt);
316 int32_t fmt = mLockedBuffer->flexFormat; local
317 switch (fmt) {
375 ALOGE("%s Pixel format: 0x%x is unsupported", __FUNCTION__, fmt);
439 int32_t fmt = mLockedBuffer->flexFormat; local
441 switch (fmt) {
589 ALOGE("Pixel format: 0x%x is unsupported", fmt);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.h54 uint32_t fmt = 0,
63 format(fmt),
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelBar.java31 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 DProgramFragmentFixedFunction.java244 * @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 Dandroid_os_SELinux.cpp337 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 Dinstalld.cpp284 static int log_callback(int type, const char *fmt, ...) { argument
299 va_start(ap, fmt);
300 LOG_PRI_VA(priority, "SELinux", fmt, ap);
/frameworks/av/camera/
H A DCameraParameters.cpp500 char* fmt = strtok_r(prevFmts, ",", &savePtr); local
501 while (fmt) {
502 int actual = previewFormatToEnum(fmt);
506 fmt = strtok_r(NULL, ",", &savePtr);

Completed in 766 milliseconds

12