/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/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/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.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.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/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/native/opengl/libs/EGL/ |
H A D | trace.cpp | 88 void append(const char* fmt, ...) { argument 90 va_start(argp, fmt); 91 line_index += vsnprintf(line + line_index, lineSize-line_index, fmt, argp);
|
H A D | eglApi.cpp | 385 static int modifyFormatColorspace(int fmt, EGLint colorspace) { argument 387 switch (fmt) { 392 switch (fmt) { 397 return fmt;
|
/frameworks/native/services/surfaceflinger/tests/ |
H A D | Transaction_test.cpp | 58 PixelFormat fmt=0; local 61 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, 0, 0, 64 ASSERT_EQ(PIXEL_FORMAT_RGBA_8888, fmt);
|
/frameworks/rs/cpu_ref/linkloader/ |
H A D | main.cpp | 77 int stub_printf(char const *fmt, ...) { argument 79 va_start(ap, fmt); 80 int result = vprintf(fmt, ap); 85 int stub_scanf(char const *fmt, ...) { argument 87 va_start(ap, fmt); 88 int result = vscanf(fmt, ap);
|
/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/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/base/core/jni/ |
H A D | android_os_SELinux.cpp | 444 static int log_callback(int type, const char *fmt, ...) { argument 459 va_start(ap, fmt); 460 LOG_PRI_VA(priority, "SELinux", fmt, ap);
|
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 133 ALOGV("%s: Setting buffer count to %d, size to (%dx%d), fmt (0x%x)", __FUNCTION__, 168 ALOGV("%s: Dequeue buffer from %p %dx%d (fmt=%x, size=%x)", 430 int32_t fmt = 0; local 431 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); 437 return fmt;
|
/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));
|
H A D | PanelView.java | 49 private final void logf(String fmt, Object... args) { argument 50 Log.v(TAG, (mViewName != null ? (mViewName + ": ") : "") + String.format(fmt, args));
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 670 int fmt = -1; local 672 ASSERT_EQ(OK, anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt)); 673 EXPECT_EQ(fmts[i], fmt);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 454 int32_t fmt = streamConfigs.data.i32[i]; local 459 if (fmt == format) {
|
/frameworks/base/media/java/android/media/ |
H A D | ImageReader.java | 742 int fmt, int maxImgs); 741 nativeInit(Object weakSelf, int w, int h, int fmt, int maxImgs) argument
|
/frameworks/native/cmds/installd/ |
H A D | installd.c | 639 static int log_callback(int type, const char *fmt, ...) { argument 654 va_start(ap, fmt); 655 LOG_PRI_VA(priority, "SELinux", fmt, ap);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | voAMRWBEnc.c | 1853 VO_AUDIO_FORMAT* fmt = (VO_AUDIO_FORMAT*)pData; local 1854 fmt->Channels = 1; 1855 fmt->SampleRate = 16000; 1856 fmt->SampleBits = 16;
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 354 int32_t fmt = buffer->flexFormat; local 356 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, readerFormat); 357 fmt = applyFormatOverrides(fmt, readerFormat); 358 switch (fmt) { 477 "Pixel format: 0x%x is unsupported", fmt); 494 int32_t fmt = buffer->flexFormat; local 496 fmt = applyFormatOverrides(fmt, readerFormat); 498 switch (fmt) { 555 int32_t fmt = buffer->flexFormat; local [all...] |
/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/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 2236 const char *fmt; local 2239 fmt = CameraParameters::PIXEL_FORMAT_YUV422SP; 2242 fmt = CameraParameters::PIXEL_FORMAT_YUV420SP; 2245 fmt = CameraParameters::PIXEL_FORMAT_YUV422I; 2248 fmt = CameraParameters::PIXEL_FORMAT_YUV420P; 2251 fmt = CameraParameters::PIXEL_FORMAT_RGB565; 2254 fmt = CameraParameters::PIXEL_FORMAT_RGBA8888; 2258 fmt = CameraParameters::PIXEL_FORMAT_BAYER_RGGB; 2263 fmt = NULL; 2266 return fmt; [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
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__, \ 1648 void Camera3Device::setErrorState(const char *fmt, ...) { argument 1651 va_start(args, fmt); 1653 setErrorStateLockedV(fmt, args); 1658 void Camera3Device::setErrorStateV(const char *fmt, va_lis argument 1663 setErrorStateLocked(const char *fmt, ...) argument 1672 setErrorStateLockedV(const char *fmt, va_list args) argument 2946 setErrorState(const char *fmt, ...) argument [all...] |