/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.c | 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 | 17 void printe(const char *fmt, ...); 114 void printe(const char *fmt, ...) { argument 117 va_start(ap, fmt); 119 vfprintf(stderr, fmt, ap); 127 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { argument 130 va_start(ap, fmt); 132 vprintf(fmt, ap); 137 void print_path(const char *section, const char *subsection, const char *fmt, ...) { argument 140 va_start(ap, fmt); 142 vprintf(fmt, a [all...] |
/frameworks/av/include/media/nbaio/ |
H A 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/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/libnbaio/ |
H A D | NBLog.cpp | 103 void NBLog::Writer::logf(const char *fmt, ...) argument 109 va_start(ap, fmt); 110 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWriter 114 void NBLog::Writer::logvf(const char *fmt, va_list ap) argument 120 int length = vsnprintf(buffer, sizeof(buffer), fmt, ap); 231 void NBLog::LockedWriter::logf(const char *fmt, ...) argument 236 va_start(ap, fmt); 237 Writer::logvf(fmt, ap); 241 void NBLog::LockedWriter::logvf(const char *fmt, va_list ap) argument 245 Writer::logvf(fmt, a [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 563 FormatBuf fmt; local 565 format_bytes(&fmt, accumPtr, mtls->accumSize); 567 fmt[0] = 0; 570 mtls->accumFunc, idx, xStart, xEnd, fmt); 602 FormatBuf fmt; local 604 format_bytes(&fmt, accumPtr, mtls->accumSize); 606 fmt[0] = 0; 609 mtls->accumFunc, idx, yStart, yEnd, fmt); 637 FormatBuf fmt; local 639 format_bytes(&fmt, accumPt 787 FormatBuf fmt; local 806 FormatBuf fmt; local 815 FormatBuf fmt; local [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 186 int32_t fmt = mBuffer->flexFormat; local 187 switch (fmt) { 222 ALOGE("Pixel format: 0x%x is unsupported", fmt); 241 int32_t fmt = mBuffer->flexFormat; local 242 switch (fmt) { 296 ALOGE("%s Pixel format: 0x%x is unsupported", __FUNCTION__, fmt); 355 int32_t fmt = mBuffer->flexFormat; local 357 switch (fmt) { 491 ALOGE("Pixel format: 0x%x is unsupported", fmt);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXNodeInstance.cpp | 45 #define CLOGW(fmt, ...) ALOGW("[%x:%s] " fmt, mNodeID, mName, ##__VA_ARGS__) 47 #define CLOG_ERROR_IF(cond, fn, err, fmt, ...) \ 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__) 51 #define CLOG_IF_ERROR(fn, err, fmt, ...) \ 52 CLOG_ERROR_IF((err) != OMX_ErrorNone, fn, err, fmt, ##__VA_ARGS__) 54 #define CLOGI_(level, fn, fmt, ...) \ 55 ALOGI_IF(DEBUG >= (level), #fn "(%x:%s, " fmt ")", mNodeI [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.h | 53 uint32_t fmt = 0, 62 format(fmt),
|
H A 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, ...);
|
H A D | Camera3Device.cpp | 29 #define CLOGE(fmt, ...) ALOGE("Camera %d: %s: " fmt, mId, __FUNCTION__, \ 33 #define SET_ERR(fmt, ...) setErrorState( \ 34 "%s: " fmt, __FUNCTION__, \ 36 #define SET_ERR_L(fmt, ...) setErrorStateLocked( \ 37 "%s: " fmt, __FUNCTION__, \ 2059 void Camera3Device::setErrorState(const char *fmt, ...) { argument 2062 va_start(args, fmt); 2064 setErrorStateLockedV(fmt, args); 2069 void Camera3Device::setErrorStateV(const char *fmt, va_lis argument 2074 setErrorStateLocked(const char *fmt, ...) argument 2083 setErrorStateLockedV(const char *fmt, va_list args) argument 3525 setErrorState(const char *fmt, ...) argument [all...] |
/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);
|
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 157 ALOGV("%s: Dequeue buffer from %p %dx%d (fmt=%x, size=%x)", 418 int32_t fmt = 0; local 419 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); 425 return fmt; 435 int32_t fmt = 0; local 436 status_t err = anw->query(anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, &fmt); 442 return fmt;
|
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 500 char* fmt = strtok_r(prevFmts, ",", &savePtr); local 501 while (fmt) { 502 int actual = previewFormatToEnum(fmt); 506 fmt = strtok_r(NULL, ",", &savePtr);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | StreamConfigurationMap.java | 138 int fmt = config.getFormat(); 141 mAllOutputFormats.put(fmt, mAllOutputFormats.get(fmt) + 1); 145 if (configurationDuration.getFormat() == fmt && 158 map.put(fmt, map.get(fmt) + 1); 1299 int fmt = config.getFormat(); 1300 if (fmt == format && config.isOutput() == output) { 1307 if (d.getFormat() == fmt &&
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 665 int32_t fmt = buffer->flexFormat; local 667 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, containerFormat); 668 fmt = applyFormatOverrides(fmt, containerFormat); 669 switch (fmt) {
|