Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 143) sorted by relevance

123456

/development/ndk/sources/android/libportable/arch-mips64/
Dva_funcs.c23 int WRAP(vfprintf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP()
24 return REAL(vfprintf)(stream, format, arg); in WRAP()
27 int WRAP(vfscanf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP()
28 return REAL(vfscanf)(stream, format, arg); in WRAP()
31 int WRAP(vprintf)(const char *format, va_list_portable *arg) { in WRAP()
32 return REAL(vprintf)(format, arg); in WRAP()
35 int WRAP(vscanf)(const char *format, va_list_portable *arg) { in WRAP()
36 return REAL(vscanf)(format, arg); in WRAP()
39 int WRAP(vsnprintf)(char *s, size_t n, const char *format, va_list_portable *arg) { in WRAP()
40 return REAL(vsnprintf)(s, n, format, arg); in WRAP()
[all …]
/development/ndk/sources/android/libportable/arch-x86_64/
Dva_funcs.c23 int WRAP(vfprintf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP()
24 return REAL(vfprintf)(stream, format, arg); in WRAP()
27 int WRAP(vfscanf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP()
28 return REAL(vfscanf)(stream, format, arg); in WRAP()
31 int WRAP(vprintf)(const char *format, va_list_portable *arg) { in WRAP()
32 return REAL(vprintf)(format, arg); in WRAP()
35 int WRAP(vscanf)(const char *format, va_list_portable *arg) { in WRAP()
36 return REAL(vscanf)(format, arg); in WRAP()
39 int WRAP(vsnprintf)(char *s, size_t n, const char *format, va_list_portable *arg) { in WRAP()
40 return REAL(vsnprintf)(s, n, format, arg); in WRAP()
[all …]
/development/samples/browseable/Timer/Wearable/src/com.example.android.wearable.timer/util/
DTimerFormat.java49 String format; in setTime() local
85 format = showNeg ? NEG_TWO_DIGITS : TWO_DIGITS; in setTime()
86 mHours = String.format(format, hours); in setTime()
88 format = showNeg ? NEG_ONE_DIGIT : ONE_DIGIT; in setTime()
89 mHours = String.format(format, hours); in setTime()
96 format = (showNeg && hours == 0) ? NEG_TWO_DIGITS : TWO_DIGITS; in setTime()
97 mMinutes = String.format(format, minutes); in setTime()
99 format = (showNeg && hours == 0) ? NEG_ONE_DIGIT : ONE_DIGIT; in setTime()
100 mMinutes = String.format(format, minutes); in setTime()
104 mSeconds = String.format(TWO_DIGITS, seconds); in setTime()
[all …]
/development/ndk/platforms/android-3/include/linux/
Ddevice.h207 #define dev_printk(level, dev, format, arg...) printk(level "%s %s: " format , dev_driver_string(… argument
210 #define dev_dbg(dev, format, arg...) dev_printk(KERN_DEBUG , dev , format , ## arg) argument
212 #define dev_dbg(dev, format, arg...) do { (void)(dev); } while (0) argument
215 #define dev_err(dev, format, arg...) dev_printk(KERN_ERR , dev , format , ## arg) argument
216 #define dev_info(dev, format, arg...) dev_printk(KERN_INFO , dev , format , ## arg) argument
217 #define dev_warn(dev, format, arg...) dev_printk(KERN_WARNING , dev , format , ## arg) argument
218 #define dev_notice(dev, format, arg...) dev_printk(KERN_NOTICE , dev , format , ## arg) argument
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DOutput.java51 public void write(String format, Object... args) { in write() argument
53 mWriter.write(String.format(format, args)); in write()
/development/perftests/panorama/feature_mos/src/mosaic_renderer/
DFrameBuffer.cpp24 bool FrameBuffer::Init(int width, int height, GLenum format) { in Init() argument
35 format, in Init()
39 format, in Init()
66 mFormat = format; in Init()
/development/ndk/platforms/android-L/include/
Dstdio.h369 int vsnprintf(char *dest, size_t size, const char *format, __va_list ap) in vsnprintf() argument
371 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); in vsnprintf()
376 int vsprintf(char *dest, const char *format, __va_list ap) in vsprintf() argument
378 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap); in vsprintf()
389 int snprintf(char *dest, size_t size, const char *format, ...) in snprintf() argument
392 __bos(dest), format, __builtin_va_arg_pack()); in snprintf()
404 int sprintf(char *dest, const char *format, ...) in sprintf() argument
407 __bos(dest), format, __builtin_va_arg_pack()); in sprintf()
/development/ndk/platforms/android-3/include/android/
Dlog.h101 __attribute__ ((format(printf, 3, 4)))
120 __attribute__ ((format(printf, 3, 4)))
/development/perftests/panorama/feature_stab/src/dbregtest/
DPgmImage.cpp29 PgmImage::PgmImage(int w, int h, int format) : in PgmImage() argument
30 m_colors(255),m_w(w),m_h(h),m_format(format),m_over_allocation(256) in PgmImage()
32 SetFormat(format); in PgmImage()
83 void PgmImage::SetFormat(int format) in SetFormat() argument
85 m_format = format; in SetFormat()
87 switch (format) in SetFormat()
DPgmImage.h40 PgmImage(int w, int h, int format = PGM_BINARY_GRAYMAP);
74 void SetFormat(int format);
/development/ndk/platforms/android-14/include/android/
Dnative_window.h50 int32_t format; member
103 int32_t width, int32_t height, int32_t format);
/development/ndk/platforms/android-9/include/android/
Dnative_window.h50 int32_t format; member
99 …iveWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DBluetoothLeService.java131 int format = -1; in broadcastUpdate() local
133 format = BluetoothGattCharacteristic.FORMAT_UINT16; in broadcastUpdate()
136 format = BluetoothGattCharacteristic.FORMAT_UINT8; in broadcastUpdate()
139 final int heartRate = characteristic.getIntValue(format, 1); in broadcastUpdate()
140 Log.d(TAG, String.format("Received heart rate: %d", heartRate)); in broadcastUpdate()
148 stringBuilder.append(String.format("%02X ", byteChar)); in broadcastUpdate()
/development/ndk/tools/
Dheaders-diff-bionic-vs-ndk.py38 print 'Wrong platforms list \n{0}'.format(str(self.platforms))
176 print '{0:3}'.format(entry),
186 print '{0}/'.format(arch)
190 print ' {0}/'.format((lambda s: s if s != '' else '../include')(root))
194 print ' {0:32}'.format(include),
242 app.archs = map((lambda s: 'arch-{0}'.format(s) if s != 'common' else s), args.archs)
247 print 'See `{0}\' for details'.format(app.diff_file)
/development/samples/Support4Demos/src/com/example/android/supportv4/text/
DBidiFormatterSupport.java40 String formattedText = String.format(text, phone); in onCreate()
47 formattedText = String.format(text, wrappedPhone); in onCreate()
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
DFloatingActionButtonBasicFragment.java58 Log.d(TAG, String.format("FAB 1 was %s.", isChecked ? "checked" : "unchecked")); in onCheckedChanged()
61 Log.d(TAG, String.format("FAB 2 was %s.", isChecked ? "checked" : "unchecked")); in onCheckedChanged()
/development/samples/browseable/ClippingBasic/src/com.example.android.clippingbasic/
DClippingBasicFragment.java86 Log.d(TAG, String.format("Clipping to outline is disabled")); in onViewCreated()
92 Log.d(TAG, String.format("Clipping to outline is enabled")); in onViewCreated()
120 Log.d(TAG, String.format("Text was changed.")); in changeText()
/development/tools/mkstubs/src/com/android/mkstubs/
DFilterClassAdapter.java76 String filterName = String.format("%s#%s", mClassName, name); in visitField()
108 String filterName = String.format("%s#%s%s", mClassName, name, desc); in visitMethod()
117 filterName = String.format("%s#%s%s", mClassName, name, signature); in visitMethod()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyGetAppFrameRateEvent.java95 writer.write(String.format("%s:%.2f\n", sTestCaseName, avgFrameRate)); in writeAverageFrameRate()
126 String cmd = String.format(GET_APP_FRAMERATE_TMPL, sActivityName); in injectEvent()
131 System.err.println(String.format("// Shell command %s status was %s", in injectEvent()
DMonkeyUtils.java38 return DATE_FORMATTER.format(DATE); in toCalendarTime()
/development/ndk/sources/android/ndk_helper/
DGLContext.cpp141 EGLint format; in InitEGLSurface() local
142 eglGetConfigAttrib( display_, config_, EGL_NATIVE_VISUAL_ID, &format ); in InitEGLSurface()
143 ANativeWindow_setBuffersGeometry( window_, 0, 0, format ); in InitEGLSurface()
/development/apps/BuildWidget/src/com/android/buildwidget/
DBuildWidget.java29 import android.text.format.DateUtils;
30 import android.text.format.Time;
/development/samples/browseable/CardView/src/com.example.android.cardview/
DCardViewFragment.java87 Log.d(TAG, String.format("SeekBar Radius progress : %d", progress)); in onViewCreated()
105 Log.d(TAG, String.format("SeekBar Elevation progress : %d", progress)); in onViewCreated()
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/
DGL2JNIView.java129 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error)); in checkEglError()
224 Log.w(TAG, String.format("%d configurations", numConfigs)); in printConfigs()
226 Log.w(TAG, String.format("Configuration %d:\n", i)); in printConfigs()
308 Log.w(TAG, String.format(" %s: %d\n", name, value[0])); in printConfig()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DNumericSprite.java64 mText = format(value); in setValue()
90 private String format(int value) { in format() method in NumericSprite

123456