/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/core/jni/ |
D | android_net_wifi_Wifi.cpp | 52 static jint doIntCommand(const char *ifname, const char* fmt, ...) in doIntCommand() argument 56 va_start(args, fmt); in doIntCommand() 57 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); in doIntCommand() 69 static jboolean doBooleanCommand(const char *ifname, const char* expect, const char* fmt, ...) in doBooleanCommand() argument 73 va_start(args, fmt); in doBooleanCommand() 74 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); in doBooleanCommand() 87 static jstring doStringCommand(JNIEnv* env, const char *ifname, const char* fmt, ...) { in doStringCommand() argument 90 va_start(args, fmt); in doStringCommand() 91 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); in doStringCommand()
|
D | android_os_SELinux.cpp | 520 static int log_callback(int type, const char *fmt, ...) { in log_callback() argument 522 va_start(ap, fmt); in log_callback() 523 LOG_PRI_VA(ANDROID_LOG_ERROR, "SELinux", fmt, ap); in log_callback()
|
/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;
|
D | ResourceTable.h | 251 virtual void reportError(void* accessorCookie, const char* fmt, ...);
|
D | ResourceTable.cpp | 2245 void ResourceTable::reportError(void* accessorCookie, const char* fmt, ...) in reportError() argument 2247 if (accessorCookie != NULL && fmt != NULL) { in reportError() 2252 va_start(ap, fmt); in reportError() 2253 retval = vsnprintf(buf, sizeof(buf), fmt, ap); in reportError()
|
/frameworks/compile/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/native/libs/utils/ |
D | String8.cpp | 198 String8 String8::format(const char* fmt, ...) in format() argument 201 va_start(args, fmt); in format() 203 String8 result(formatV(fmt, args)); in format() 209 String8 String8::formatV(const char* fmt, va_list args) in formatV() argument 212 result.appendFormatV(fmt, args); in formatV() 301 status_t String8::appendFormat(const char* fmt, ...) in appendFormat() argument 304 va_start(args, fmt); in appendFormat() 306 status_t result = appendFormatV(fmt, args); in appendFormat() 312 status_t String8::appendFormatV(const char* fmt, va_list args) in appendFormatV() argument 315 int n = vsnprintf(NULL, 0, fmt, args); in appendFormatV() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 86 PixelFormat fmt=0; in TEST_F() local 89 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, 64, 64, 0, in TEST_F() 120 w = h = fmt = 0; in TEST_F() 121 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, in TEST_F()
|
D | SurfaceTextureClient_test.cpp | 641 int fmt = -1; in TEST_F() local 643 ASSERT_EQ(OK, anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt)); in TEST_F() 644 EXPECT_EQ(fmts[i], fmt); in TEST_F()
|
/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/native/include/utils/ |
D | String8.h | 54 static String8 format(const char* fmt, ...) __attribute__((format (printf, 1, 2))); 55 static String8 formatV(const char* fmt, va_list args); 78 status_t appendFormat(const char* fmt, ...) 80 status_t appendFormatV(const char* fmt, va_list args);
|
/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/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 Slog.v(TAG, String.format(fmt, args)); in LOG()
|
D | PanelView.java | 40 public final void LOG(String fmt, Object... args) { in LOG() argument 42 Slog.v(TAG, (mViewName != null ? (mViewName + ": ") : "") + String.format(fmt, args)); in LOG()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | ProgramFragmentFixedFunction.java | 253 public Builder setTexture(EnvMode env, Format fmt, int slot) in setTexture() argument 258 mSlots[slot] = new Slot(env, fmt); in setTexture()
|
/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 | 89 void append(const char* fmt, ...) { in append() argument 91 va_start(argp, fmt); in append() 92 line_index += vsnprintf(line + line_index, lineSize-line_index, fmt, argp); in append()
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
D | Parameters.cpp | 1855 const char *fmt; in formatEnumToString() local 1858 fmt = CameraParameters::PIXEL_FORMAT_YUV422SP; in formatEnumToString() 1861 fmt = CameraParameters::PIXEL_FORMAT_YUV420SP; in formatEnumToString() 1864 fmt = CameraParameters::PIXEL_FORMAT_YUV422I; in formatEnumToString() 1867 fmt = CameraParameters::PIXEL_FORMAT_YUV420P; in formatEnumToString() 1870 fmt = CameraParameters::PIXEL_FORMAT_RGB565; in formatEnumToString() 1873 fmt = CameraParameters::PIXEL_FORMAT_RGBA8888; in formatEnumToString() 1877 fmt = CameraParameters::PIXEL_FORMAT_BAYER_RGGB; in formatEnumToString() 1882 fmt = NULL; in formatEnumToString() 1885 return fmt; in formatEnumToString()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | voAMRWBEnc.c | 1849 VO_AUDIO_FORMAT* fmt = (VO_AUDIO_FORMAT*)pData; in voAMRWB_GetParam() local 1850 fmt->Channels = 1; in voAMRWB_GetParam() 1851 fmt->SampleRate = 16000; in voAMRWB_GetParam() 1852 fmt->SampleBits = 16; in voAMRWB_GetParam()
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
D | SoftVPX.cpp | 267 CHECK_EQ(img->fmt, IMG_FMT_I420); in onQueueFilled()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 1488 virtual void reportError(void* accessorCookie, const char* fmt, ...) = 0;
|