/frameworks/wilhelm/src/desktop/ |
D | SDL.cpp | 47 SDL_AudioSpec fmt; in SDL_open() local 48 fmt.freq = 44100; in SDL_open() 49 fmt.format = AUDIO_S16; in SDL_open() 50 fmt.channels = STEREO_CHANNELS; in SDL_open() 52 fmt.samples = SndFile_BUFSIZE; in SDL_open() 54 fmt.samples = SndFile_BUFSIZE / sizeof(short); in SDL_open() 56 fmt.callback = SDL_callback; in SDL_open() 57 fmt.userdata = (void *) thisEngine; in SDL_open() 59 if (SDL_OpenAudio(&fmt, NULL) < 0) { in SDL_open()
|
/frameworks/base/libs/hwui/utils/ |
D | TraceUtils.h | 21 #define ATRACE_FORMAT(fmt, ...) \ argument 22 …TraceUtils::TraceEnder __traceEnder = (TraceUtils::atraceFormatBegin(fmt, ##__VA_ARGS__), TraceUti… 24 #define ATRACE_FORMAT_BEGIN(fmt, ...) \ argument 25 TraceUtils::atraceFormatBegin(fmt, ##__VA_ARGS__) 37 static void atraceFormatBegin(const char* fmt, ...) { in atraceFormatBegin() argument 44 va_start(ap, fmt); in atraceFormatBegin() 45 vsnprintf(buf, BUFFER_SIZE, fmt, ap); in atraceFormatBegin()
|
/frameworks/base/tools/aapt/ |
D | IndentPrinter.h | 20 void print(const char* fmt, ...) { in print() argument 23 va_start(args, fmt); in print() 24 vfprintf(mStream, fmt, args); in print() 28 void println(const char* fmt, ...) { in println() argument 31 va_start(args, fmt); in println() 32 vfprintf(mStream, fmt, args); in println()
|
D | SourcePos.cpp | 114 SourcePos::error(const char* fmt, ...) const in error() argument 117 va_start(ap, fmt); in error() 118 String8 msg = String8::formatV(fmt, ap); in error() 124 SourcePos::warning(const char* fmt, ...) const in warning() argument 127 va_start(ap, fmt); in warning() 128 String8 msg = String8::formatV(fmt, ap); in warning() 134 SourcePos::printf(const char* fmt, ...) const in printf() argument 137 va_start(ap, fmt); in printf() 138 String8 msg = String8::formatV(fmt, ap); in printf()
|
D | SourcePos.h | 20 void error(const char* fmt, ...) const; 21 void warning(const char* fmt, ...) const; 22 void printf(const char* fmt, ...) const;
|
/frameworks/base/libs/common_time/ |
D | utils.cpp | 67 void LogRing::log(int prio, const char* tag, const char* fmt, ...) { in log() argument 69 va_start(argp, fmt); in log() 70 internalLog(prio, tag, fmt, argp); in log() 74 void LogRing::log(const char* fmt, ...) { in log() argument 76 va_start(argp, fmt); in log() 77 internalLog(0, NULL, fmt, argp); in log() 83 const char* fmt, in internalLog() argument 87 String8 s(String8::formatV(fmt, argp)); in internalLog() 110 LOG_PRI_VA(prio, tag, fmt, argp); in internalLog()
|
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);
|
/frameworks/base/cmds/idmap/ |
D | inspect.cpp | 18 void printe(const char *fmt, ...); 115 void printe(const char *fmt, ...) { in printe() argument 118 va_start(ap, fmt); in printe() 120 vfprintf(stderr, fmt, ap); in printe() 128 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { in print() argument 131 va_start(ap, fmt); in print() 133 vprintf(fmt, ap); in print() 138 void print_path(const char *section, const char *subsection, const char *fmt, ...) { in print_path() argument 141 va_start(ap, fmt); in print_path() 143 vprintf(fmt, ap); in print_path()
|
/frameworks/av/media/libnbaio/ |
D | NBLog.cpp | 421 void NBLog::Writer::logf(const char *fmt, ...) in logf() argument 427 va_start(ap, fmt); in logf() 428 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWriter in logf() 432 void NBLog::Writer::logvf(const char *fmt, va_list ap) in logvf() argument 438 int length = vsnprintf(buffer, sizeof(buffer), fmt, ap); in logvf() 494 void NBLog::Writer::logStart(const char *fmt) in logStart() argument 499 size_t length = strlen(fmt); in logStart() 503 log(EVENT_START_FMT, fmt, length); in logStart() 538 void NBLog::Writer::logFormat(const char *fmt, log_hash_t hash, ...) in logFormat() argument 546 Writer::logVFormat(fmt, hash, ap); in logFormat() [all …]
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXUtils.cpp | 207 const OMX_COLOR_FORMATTYPE fmt = params.eColorFormat; in DescribeDefaultColorFormat() local 212 if (fmt != OMX_COLOR_FormatYUV420Planar && in DescribeDefaultColorFormat() 213 fmt != OMX_COLOR_FormatYUV420PackedPlanar && in DescribeDefaultColorFormat() 214 fmt != OMX_COLOR_FormatYUV420SemiPlanar && in DescribeDefaultColorFormat() 215 fmt != OMX_COLOR_FormatYUV420PackedSemiPlanar && in DescribeDefaultColorFormat() 216 fmt != (OMX_COLOR_FORMATTYPE)HAL_PIXEL_FORMAT_YV12) { in DescribeDefaultColorFormat() 217 ALOGW("do not know color format 0x%x = %d", fmt, fmt); in DescribeDefaultColorFormat() 234 fmt, fmt, params.nStride, params.nSliceHeight); in DescribeDefaultColorFormat() 249 switch ((int)fmt) { in DescribeDefaultColorFormat()
|
D | OMXNodeInstance.cpp | 51 #define CLOGW(fmt, ...) ALOGW("[%p:%s] " fmt, mHandle, mName, ##__VA_ARGS__) argument 53 #define CLOG_ERROR_IF(cond, fn, err, fmt, ...) \ argument 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__) argument 57 #define CLOG_IF_ERROR(fn, err, fmt, ...) \ argument 58 CLOG_ERROR_IF((err) != OMX_ErrorNone, fn, err, fmt, ##__VA_ARGS__) 60 #define CLOGI_(level, fn, fmt, ...) \ argument 61 ALOGI_IF(DEBUG >= (level), #fn "(%p:%s, " fmt ")", mHandle, mName, ##__VA_ARGS__) 62 #define CLOGD_(level, fn, fmt, ...) \ argument 63 ALOGD_IF(DEBUG >= (level), #fn "(%p:%s, " fmt ")", mHandle, mName, ##__VA_ARGS__) [all …]
|
/frameworks/ex/framesequence/jni/utils/ |
D | log.h | 258 #define LOG_PRI_VA(priority, tag, fmt, args) \ argument 259 __android_log_vprint(priority, NULL, tag, fmt, args) 280 #define android_printAssert(cond, tag, fmt...) \ argument 282 __android_second(0, ## fmt, NULL) __android_rest(fmt))
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | LatencyHistogram.cpp | 72 void CameraLatencyHistogram::log(const char* fmt, ...) { in log() argument 78 va_start(args, fmt); in log() 79 String8 histogramName = String8::formatV(fmt, args); in log()
|
/frameworks/av/include/media/nbaio/ |
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/ |
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/native/vulkan/libvulkan/ |
D | debug_report.h | 101 #define DEBUG_REPORT_LOGGER_PRINTF(fmt, args) \ argument 102 __attribute__((format(printf, (fmt) + 1, (args) + 1))) 151 #define DEBUG_REPORT_LOGGER_VPRINTF(fmt) \ argument 152 __attribute__((format(printf, (fmt) + 1, 0)))
|
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 561 FormatBuf fmt; in walk_1d_reduce() local 563 format_bytes(&fmt, accumPtr, mtls->accumSize); in walk_1d_reduce() 565 fmt[0] = 0; in walk_1d_reduce() 568 mtls->accumFunc, idx, xStart, xEnd, fmt); in walk_1d_reduce() 600 FormatBuf fmt; in walk_2d_reduce() local 602 format_bytes(&fmt, accumPtr, mtls->accumSize); in walk_2d_reduce() 604 fmt[0] = 0; in walk_2d_reduce() 607 mtls->accumFunc, idx, yStart, yEnd, fmt); in walk_2d_reduce() 635 FormatBuf fmt; in walk_3d_reduce() local 637 format_bytes(&fmt, accumPtr, mtls->accumSize); in walk_3d_reduce() [all …]
|
/frameworks/av/media/ndk/ |
D | NdkImage.cpp | 258 int32_t fmt = mLockedBuffer->flexFormat; in getPlanePixelStride() local 259 switch (fmt) { in getPlanePixelStride() 294 ALOGE("Pixel format: 0x%x is unsupported", fmt); in getPlanePixelStride() 318 int32_t fmt = mLockedBuffer->flexFormat; in getPlaneRowStride() local 319 switch (fmt) { in getPlaneRowStride() 377 ALOGE("%s Pixel format: 0x%x is unsupported", __FUNCTION__, fmt); in getPlaneRowStride() 441 int32_t fmt = mLockedBuffer->flexFormat; in getPlaneData() local 443 switch (fmt) { in getPlaneData() 591 ALOGE("Pixel format: 0x%x is unsupported", fmt); in getPlaneData()
|
/frameworks/av/services/audioflinger/ |
D | TypedLogger.h | 85 #define LOGT(fmt, ...) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \ argument 86 x->logFormat((fmt), hash(__FILE__, __LINE__), ##__VA_ARGS__); } \
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfigurationMap.java | 138 int fmt = config.getFormat(); in StreamConfigurationMap() local 141 mAllOutputFormats.put(fmt, mAllOutputFormats.get(fmt) + 1); in StreamConfigurationMap() 145 if (configurationDuration.getFormat() == fmt && in StreamConfigurationMap() 158 map.put(fmt, map.get(fmt) + 1); in StreamConfigurationMap() 1298 int fmt = config.getFormat(); in getInternalFormatSizes() local 1299 if (fmt == format && config.isOutput() == output) { in getInternalFormatSizes() 1306 if (d.getFormat() == fmt && in getInternalFormatSizes()
|
/frameworks/base/services/net/java/android/net/util/ |
D | SharedLog.java | 109 public void logf(String fmt, Object... args) { in logf() argument 110 log(String.format(fmt, args)); in logf()
|
/frameworks/native/cmds/installd/ |
D | installd.cpp | 284 static int log_callback(int type, const char *fmt, ...) { in log_callback() argument 299 va_start(ap, fmt); in log_callback() 300 LOG_PRI_VA(priority, "SELinux", fmt, ap); in log_callback()
|
/frameworks/base/core/jni/ |
D | android_os_SELinux.cpp | 337 static int log_callback(int type, const char *fmt, ...) { in log_callback() argument 352 va_start(ap, fmt); in log_callback() 353 LOG_PRI_VA(priority, "SELinux", fmt, ap); in log_callback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelBar.java | 31 public static final void LOG(String fmt, Object... args) { in LOG() argument 33 Log.v(TAG, String.format(fmt, args)); in LOG()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OutputStream.h | 54 uint32_t fmt = 0, 63 format(fmt), in streamId()
|