/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/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DateView.java | 103 final String fmt = DateFormat.getBestDateTimePattern(l, mDatePattern); 104 mDateFormat = new SimpleDateFormat(fmt, l);
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 354 int32_t fmt = buffer->format; local 356 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, readerFormat); 357 fmt = applyFormatOverrides(fmt, readerFormat); 358 switch (fmt) { 474 "Pixel format: 0x%x is unsupported", fmt); 491 int32_t fmt = buffer->format; local 493 fmt = applyFormatOverrides(fmt, readerFormat); 495 switch (fmt) { 552 int32_t fmt = buffer->format; local [all...] |
/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/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/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.h | 315 void setErrorState(const char *fmt, ...); 316 void setErrorStateV(const char *fmt, va_list args); 317 void setErrorStateLocked(const char *fmt, ...); 318 void setErrorStateLockedV(const char *fmt, va_list args); 466 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__, \ 1649 void Camera3Device::setErrorState(const char *fmt, ...) { argument 1652 va_start(args, fmt); 1654 setErrorStateLockedV(fmt, args); 1659 void Camera3Device::setErrorStateV(const char *fmt, va_lis argument 1664 setErrorStateLocked(const char *fmt, ...) argument 1673 setErrorStateLockedV(const char *fmt, va_list args) argument 2889 setErrorState(const char *fmt, ...) argument [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 | 132 ALOGV("%s: Setting buffer count to %d, size to (%dx%d), fmt (0x%x)", __FUNCTION__, 167 ALOGV("%s: Dequeue buffer from %p %dx%d (fmt=%x, size=%x)", 427 int32_t fmt = 0; local 428 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); 434 return fmt;
|
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 495 char* fmt = strtok_r(prevFmts, ",", &savePtr); local 496 while (fmt) { 497 int actual = previewFormatToEnum(fmt); 501 fmt = strtok_r(NULL, ",", &savePtr);
|
/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/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);
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
H A D | SoftVPX.cpp | 136 CHECK_EQ(mImg->fmt, IMG_FMT_I420);
|
/frameworks/native/cmds/installd/ |
H A D | installd.c | 633 static int log_callback(int type, const char *fmt, ...) { argument 648 va_start(ap, fmt); 649 LOG_PRI_VA(priority, "SELinux", fmt, ap);
|
/frameworks/base/media/java/android/media/ |
H A D | ImageReader.java | 720 int fmt, int maxImgs); 719 nativeInit(Object weakSelf, int w, int h, int fmt, int maxImgs) argument
|