/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/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 86 PixelFormat fmt=0; local 89 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, 64, 64, 0, 120 w = h = fmt = 0; 121 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt,
|
H A D | SurfaceTextureClient_test.cpp | 641 int fmt = -1; local 643 ASSERT_EQ(OK, anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt)); 644 EXPECT_EQ(fmts[i], fmt);
|
/frameworks/base/core/jni/ |
H A D | android_net_wifi_Wifi.cpp | 52 static jint doIntCommand(const char *ifname, const char* fmt, ...) argument 56 va_start(args, fmt); 57 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); 69 static jboolean doBooleanCommand(const char *ifname, const char* expect, const char* fmt, ...) argument 73 va_start(args, fmt); 74 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); 87 static jstring doStringCommand(JNIEnv* env, const char *ifname, const char* fmt, ...) { argument 90 va_start(args, fmt); 91 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args);
|
H A D | android_os_SELinux.cpp | 520 static int log_callback(int type, const char *fmt, ...) { argument 522 va_start(ap, fmt); 523 LOG_PRI_VA(ANDROID_LOG_ERROR, "SELinux", fmt, ap);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ProgramFragmentFixedFunction.java | 246 * @param fmt specifies the format of the texture and how its 253 public Builder setTexture(EnvMode env, Format fmt, int slot) argument 258 mSlots[slot] = new Slot(env, fmt);
|
/frameworks/base/services/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/tools/aapt/ |
H A D | SourcePos.cpp | 120 SourcePos::error(const char* fmt, ...) const argument 125 va_start(ap, fmt); 126 retval = vsnprintf(buf, sizeof(buf), fmt, ap); 138 SourcePos::warning(const char* fmt, ...) const argument 143 va_start(ap, fmt); 144 retval = vsnprintf(buf, sizeof(buf), fmt, ap);
|
H A D | ResourceTable.cpp | 2245 void ResourceTable::reportError(void* accessorCookie, const char* fmt, ...) argument 2247 if (accessorCookie != NULL && fmt != NULL) { 2252 va_start(ap, fmt); 2253 retval = vsnprintf(buf, sizeof(buf), fmt, ap);
|
/frameworks/compile/linkloader/ |
H A D | main.cpp | 79 int stub_printf(char const *fmt, ...) { argument 81 va_start(ap, fmt); 82 int result = vprintf(fmt, ap); 87 int stub_scanf(char const *fmt, ...) { argument 89 va_start(ap, fmt); 90 int result = vscanf(fmt, ap);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | trace.cpp | 89 void append(const char* fmt, ...) { argument 91 va_start(argp, fmt); 92 line_index += vsnprintf(line + line_index, lineSize-line_index, fmt, argp);
|
/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/audioflinger/ |
H A D | test-resample.cpp | 37 strncpy(fmt, "fmt ", 4); 52 char fmt[4]; // fmt\0 member in struct:HeaderWav 53 uint32_t fmtSize; // fmt size
|
/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 Slog.v(TAG, String.format(fmt, args));
|
H A D | PanelView.java | 40 public final void LOG(String fmt, Object... args) { argument 42 Slog.v(TAG, (mViewName != null ? (mViewName + ": ") : "") + String.format(fmt, args));
|
/frameworks/native/libs/utils/ |
H A D | String8.cpp | 198 String8 String8::format(const char* fmt, ...) argument 201 va_start(args, fmt); 203 String8 result(formatV(fmt, args)); 209 String8 String8::formatV(const char* fmt, va_list args) argument 212 result.appendFormatV(fmt, args); 301 status_t String8::appendFormat(const char* fmt, ...) argument 304 va_start(args, fmt); 306 status_t result = appendFormatV(fmt, args); 312 status_t String8::appendFormatV(const char* fmt, va_list args) argument 315 int n = vsnprintf(NULL, 0, fmt, arg [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | voAMRWBEnc.c | 1849 VO_AUDIO_FORMAT* fmt = (VO_AUDIO_FORMAT*)pData; local 1850 fmt->Channels = 1; 1851 fmt->SampleRate = 16000; 1852 fmt->SampleBits = 16;
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | Parameters.cpp | 1855 const char *fmt; local 1858 fmt = CameraParameters::PIXEL_FORMAT_YUV422SP; 1861 fmt = CameraParameters::PIXEL_FORMAT_YUV420SP; 1864 fmt = CameraParameters::PIXEL_FORMAT_YUV422I; 1867 fmt = CameraParameters::PIXEL_FORMAT_YUV420P; 1870 fmt = CameraParameters::PIXEL_FORMAT_RGB565; 1873 fmt = CameraParameters::PIXEL_FORMAT_RGBA8888; 1877 fmt = CameraParameters::PIXEL_FORMAT_BAYER_RGGB; 1882 fmt = NULL; 1885 return fmt; [all...] |