/frameworks/wilhelm/src/desktop/ |
D | SDL.c | 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 | 17 void printe(const char *fmt, ...); 114 void printe(const char *fmt, ...) { in printe() argument 117 va_start(ap, fmt); in printe() 119 vfprintf(stderr, fmt, ap); in printe() 127 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { in print() argument 130 va_start(ap, fmt); in print() 132 vprintf(fmt, ap); in print() 137 void print_path(const char *section, const char *subsection, const char *fmt, ...) { in print_path() argument 140 va_start(ap, fmt); in print_path() 142 vprintf(fmt, ap); in print_path()
|
/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/media/libnbaio/ |
D | NBLog.cpp | 103 void NBLog::Writer::logf(const char *fmt, ...) in logf() argument 109 va_start(ap, fmt); in logf() 110 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWriter in logf() 114 void NBLog::Writer::logvf(const char *fmt, va_list ap) in logvf() argument 120 int length = vsnprintf(buffer, sizeof(buffer), fmt, ap); in logvf() 231 void NBLog::LockedWriter::logf(const char *fmt, ...) in logf() argument 236 va_start(ap, fmt); in logf() 237 Writer::logvf(fmt, ap); in logf() 241 void NBLog::LockedWriter::logvf(const char *fmt, va_list ap) in logvf() argument 245 Writer::logvf(fmt, ap); in logvf()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 45 #define CLOGW(fmt, ...) ALOGW("[%x:%s] " fmt, mNodeID, mName, ##__VA_ARGS__) argument 47 #define CLOG_ERROR_IF(cond, fn, err, fmt, ...) \ argument 48 ALOGE_IF(cond, #fn "(%x:%s, " fmt ") ERROR: %s(%#x)", \ 50 #define CLOG_ERROR(fn, err, fmt, ...) CLOG_ERROR_IF(true, fn, err, fmt, ##__VA_ARGS__) argument 51 #define CLOG_IF_ERROR(fn, err, fmt, ...) \ argument 52 CLOG_ERROR_IF((err) != OMX_ErrorNone, fn, err, fmt, ##__VA_ARGS__) 54 #define CLOGI_(level, fn, fmt, ...) \ argument 55 ALOGI_IF(DEBUG >= (level), #fn "(%x:%s, " fmt ")", mNodeID, mName, ##__VA_ARGS__) 56 #define CLOGD_(level, fn, fmt, ...) \ argument 57 ALOGD_IF(DEBUG >= (level), #fn "(%x:%s, " fmt ")", mNodeID, mName, ##__VA_ARGS__) [all …]
|
/frameworks/av/include/media/nbaio/ |
D | NBLog.h | 126 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); 127 virtual void logvf(const char *fmt, va_list ap); 160 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); 161 virtual void logvf(const char *fmt, va_list ap);
|
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 563 FormatBuf fmt; in walk_1d_reduce() local 565 format_bytes(&fmt, accumPtr, mtls->accumSize); in walk_1d_reduce() 567 fmt[0] = 0; in walk_1d_reduce() 570 mtls->accumFunc, idx, xStart, xEnd, fmt); in walk_1d_reduce() 602 FormatBuf fmt; in walk_2d_reduce() local 604 format_bytes(&fmt, accumPtr, mtls->accumSize); in walk_2d_reduce() 606 fmt[0] = 0; in walk_2d_reduce() 609 mtls->accumFunc, idx, yStart, yEnd, fmt); in walk_2d_reduce() 637 FormatBuf fmt; in walk_3d_reduce() local 639 format_bytes(&fmt, accumPtr, mtls->accumSize); in walk_3d_reduce() [all …]
|
/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/av/media/ndk/ |
D | NdkImage.cpp | 186 int32_t fmt = mBuffer->flexFormat; in getPlanePixelStride() local 187 switch (fmt) { in getPlanePixelStride() 222 ALOGE("Pixel format: 0x%x is unsupported", fmt); in getPlanePixelStride() 241 int32_t fmt = mBuffer->flexFormat; in getPlaneRowStride() local 242 switch (fmt) { in getPlaneRowStride() 296 ALOGE("%s Pixel format: 0x%x is unsupported", __FUNCTION__, fmt); in getPlaneRowStride() 355 int32_t fmt = mBuffer->flexFormat; in getPlaneData() local 357 switch (fmt) { in getPlaneData() 491 ALOGE("Pixel format: 0x%x is unsupported", fmt); in getPlaneData()
|
/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() 1299 int fmt = config.getFormat(); in getInternalFormatSizes() local 1300 if (fmt == format && config.isOutput() == output) { in getInternalFormatSizes() 1307 if (d.getFormat() == fmt && in getInternalFormatSizes()
|
/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()
|
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 418 int32_t fmt = 0; in LegacyCameraDevice_nativeDetectSurfaceType() local 419 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); in LegacyCameraDevice_nativeDetectSurfaceType() 425 return fmt; in LegacyCameraDevice_nativeDetectSurfaceType() 435 int32_t fmt = 0; in LegacyCameraDevice_nativeDetectSurfaceDataspace() local 436 status_t err = anw->query(anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, &fmt); in LegacyCameraDevice_nativeDetectSurfaceDataspace() 442 return fmt; in LegacyCameraDevice_nativeDetectSurfaceDataspace()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.h | 390 void setErrorState(const char *fmt, ...); 391 void setErrorStateV(const char *fmt, va_list args); 392 void setErrorStateLocked(const char *fmt, ...); 393 void setErrorStateLockedV(const char *fmt, va_list args); 581 void setErrorState(const char *fmt, ...);
|
D | Camera3OutputStream.h | 53 uint32_t fmt = 0, 62 format(fmt), in streamId()
|
D | Camera3Device.cpp | 29 #define CLOGE(fmt, ...) ALOGE("Camera %d: %s: " fmt, mId, __FUNCTION__, \ argument 33 #define SET_ERR(fmt, ...) setErrorState( \ argument 34 "%s: " fmt, __FUNCTION__, \ 36 #define SET_ERR_L(fmt, ...) setErrorStateLocked( \ argument 37 "%s: " fmt, __FUNCTION__, \ 2059 void Camera3Device::setErrorState(const char *fmt, ...) { in setErrorState() argument 2062 va_start(args, fmt); in setErrorState() 2064 setErrorStateLockedV(fmt, args); in setErrorState() 2069 void Camera3Device::setErrorStateV(const char *fmt, va_list args) { in setErrorStateV() argument 2071 setErrorStateLockedV(fmt, args); in setErrorStateV() [all …]
|
/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/camera/ |
D | CameraParameters.cpp | 500 char* fmt = strtok_r(prevFmts, ",", &savePtr); in getSupportedPreviewFormats() local 501 while (fmt) { in getSupportedPreviewFormats() 502 int actual = previewFormatToEnum(fmt); in getSupportedPreviewFormats() 506 fmt = strtok_r(NULL, ",", &savePtr); in getSupportedPreviewFormats()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ProgramFragmentFixedFunction.java | 251 public Builder setTexture(EnvMode env, Format fmt, int slot) in setTexture() argument 256 mSlots[slot] = new Slot(env, fmt); in setTexture()
|
/frameworks/native/cmds/installd/ |
D | otapreopt.cpp | 624 static int log_callback(int type, const char *fmt, ...) { in log_callback() argument 639 va_start(ap, fmt); in log_callback() 640 LOG_PRI_VA(priority, "SELinux", fmt, ap); in log_callback()
|