/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/services/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/tools/aapt/ |
D | SourcePos.cpp | 120 SourcePos::error(const char* fmt, ...) const in error() argument 125 va_start(ap, fmt); in error() 126 retval = vsnprintf(buf, sizeof(buf), fmt, ap); in error() 138 SourcePos::warning(const char* fmt, ...) const in warning() argument 143 va_start(ap, fmt); in warning() 144 retval = vsnprintf(buf, sizeof(buf), fmt, ap); in warning()
|
D | SourcePos.h | 20 int error(const char* fmt, ...) const; 21 int warning(const char* fmt, ...) const;
|
/frameworks/rs/cpu_ref/linkloader/ |
D | main.cpp | 79 int stub_printf(char const *fmt, ...) { in stub_printf() argument 81 va_start(ap, fmt); in stub_printf() 82 int result = vprintf(fmt, ap); in stub_printf() 87 int stub_scanf(char const *fmt, ...) { in stub_scanf() argument 89 va_start(ap, fmt); in stub_scanf() 90 int result = vscanf(fmt, ap); in stub_scanf()
|
/frameworks/av/media/libnbaio/ |
D | NBLog.cpp | 102 void NBLog::Writer::logf(const char *fmt, ...) in logf() argument 108 va_start(ap, fmt); in logf() 109 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWriter in logf() 113 void NBLog::Writer::logvf(const char *fmt, va_list ap) in logvf() argument 119 int length = vsnprintf(buffer, sizeof(buffer), fmt, ap); in logvf() 230 void NBLog::LockedWriter::logf(const char *fmt, ...) in logf() argument 235 va_start(ap, fmt); in logf() 236 Writer::logvf(fmt, ap); in logf() 240 void NBLog::LockedWriter::logvf(const char *fmt, va_list ap) in logvf() argument 244 Writer::logvf(fmt, ap); in logvf()
|
/frameworks/compile/mclinker/tools/mcld/include/alone/Support/ |
D | Log.h | 15 #define ALOGE(fmt, args...) \ argument 16 printf("%s:%s:%d: " fmt, __FILE__, __FUNCTION__, __LINE__, args)
|
/frameworks/av/include/media/nbaio/ |
D | NBLog.h | 124 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); 125 virtual void logvf(const char *fmt, va_list ap); 158 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); 159 virtual void logvf(const char *fmt, va_list ap);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.h | 262 void setErrorState(const char *fmt, ...); 263 void setErrorStateV(const char *fmt, va_list args); 264 void setErrorStateLocked(const char *fmt, ...); 265 void setErrorStateLockedV(const char *fmt, va_list args); 392 void setErrorState(const char *fmt, ...);
|
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__, \ 1345 void Camera3Device::setErrorState(const char *fmt, ...) { in setErrorState() argument 1348 va_start(args, fmt); in setErrorState() 1350 setErrorStateLockedV(fmt, args); in setErrorState() 1355 void Camera3Device::setErrorStateV(const char *fmt, va_list args) { in setErrorStateV() argument 1357 setErrorStateLockedV(fmt, args); in setErrorStateV() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 331 int32_t fmt = buffer->format; in Image_getLockedBufferInfo() local 332 switch (fmt) { in Image_getLockedBufferInfo() 433 "Pixel format: 0x%x is unsupported", fmt); in Image_getLockedBufferInfo() 449 int32_t fmt = buffer->format; in Image_imageGetPixelStride() local 450 switch (fmt) { in Image_imageGetPixelStride() 489 "Pixel format: 0x%x is unsupported", fmt); in Image_imageGetPixelStride() 504 int32_t fmt = buffer->format; in Image_imageGetRowStride() local 506 switch (fmt) { in Image_imageGetRowStride() 554 ALOGE("%s Pixel format: 0x%x is unsupported", __FUNCTION__, fmt); in Image_imageGetRowStride()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DateView.java | 93 final String fmt = ICU.getBestDateTimePattern(dateFormat, l.toString()); in updateClock() local 94 mDateFormat = new SimpleDateFormat(fmt, l); in updateClock()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 58 PixelFormat fmt=0; in captureScreen() local 61 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, 0, 0, in captureScreen() 64 ASSERT_EQ(PIXEL_FORMAT_RGBA_8888, fmt); in captureScreen()
|
/frameworks/base/core/jni/ |
D | android_os_SELinux.cpp | 444 static int log_callback(int type, const char *fmt, ...) { in log_callback() argument 446 va_start(ap, fmt); in log_callback() 447 LOG_PRI_VA(ANDROID_LOG_ERROR, "SELinux", fmt, ap); in log_callback()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | ProgramFragmentFixedFunction.java | 254 public Builder setTexture(EnvMode env, Format fmt, int slot) in setTexture() argument 259 mSlots[slot] = new Slot(env, fmt); in setTexture()
|
/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()
|
D | PanelView.java | 43 private final void logf(String fmt, Object... args) { in logf() argument 44 Log.v(TAG, (mViewName != null ? (mViewName + ": ") : "") + String.format(fmt, args)); in logf()
|
/frameworks/av/services/audioflinger/ |
D | test-resample.cpp | 37 strncpy(fmt, "fmt ", 4); in HeaderWav() 52 char fmt[4]; // fmt\0 member
|
/frameworks/native/opengl/libs/EGL/ |
D | trace.cpp | 88 void append(const char* fmt, ...) { in append() argument 90 va_start(argp, fmt); in append() 91 line_index += vsnprintf(line + line_index, lineSize-line_index, fmt, argp); in append()
|
D | eglApi.cpp | 385 static int modifyFormatColorspace(int fmt, EGLint colorspace) { in modifyFormatColorspace() argument 387 switch (fmt) { in modifyFormatColorspace() 392 switch (fmt) { in modifyFormatColorspace() 397 return fmt; in modifyFormatColorspace()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 2104 const char *fmt; in formatEnumToString() local 2107 fmt = CameraParameters::PIXEL_FORMAT_YUV422SP; in formatEnumToString() 2110 fmt = CameraParameters::PIXEL_FORMAT_YUV420SP; in formatEnumToString() 2113 fmt = CameraParameters::PIXEL_FORMAT_YUV422I; in formatEnumToString() 2116 fmt = CameraParameters::PIXEL_FORMAT_YUV420P; in formatEnumToString() 2119 fmt = CameraParameters::PIXEL_FORMAT_RGB565; in formatEnumToString() 2122 fmt = CameraParameters::PIXEL_FORMAT_RGBA8888; in formatEnumToString() 2126 fmt = CameraParameters::PIXEL_FORMAT_BAYER_RGGB; in formatEnumToString() 2131 fmt = NULL; in formatEnumToString() 2134 return fmt; in formatEnumToString()
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
D | SoftVPX.cpp | 137 CHECK_EQ(img->fmt, IMG_FMT_I420); in onQueueFilled()
|
/frameworks/base/media/java/android/media/ |
D | ImageReader.java | 713 int fmt, int maxImgs); in nativeInit() argument
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 667 int fmt = -1; in TEST_F() local 669 ASSERT_EQ(OK, anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt)); in TEST_F() 670 EXPECT_EQ(fmts[i], fmt); in TEST_F()
|