/external/clang/test/SemaCXX/ |
attr-format.cpp | 3 static void f(const char*, ...) __attribute__((format(printf, 1, 2))); 7 // the format argument is argument 2 here. 8 void g(const char*, ...) __attribute__((format(printf, 2, 3))); 11 void h(const char*, ...) __attribute__((format(printf, 1, 4))); // \ 12 expected-error{{implicit this argument as the format string}} 13 void h2(const char*, ...) __attribute__((format(printf, 2, 1))); // \ 18 void operator() (const char*, ...) __attribute__((format(printf, 2, 3))); 22 struct A { void a(const char*,...) __attribute((format(printf,2,3))); }; 32 __attribute__((format(printf, 2, 3)));
|
format-strings.cpp | 20 printf("%ls", "foo"); // expected-warning{{format specifies type 'wchar_t *' but the argument has type 'const char *'}} 28 int scanf(const char *, ...) __attribute__((format(scanf, 2, 3))); 29 int printf(const char *, ...) __attribute__((format(printf, 2, 3))); 33 static int printf_static(const char *fmt, ...) __attribute__((format(printf, 1, 2))); 39 foo.printf("%d", i); // expected-warning{{format specifies type 'int' but the argument has type 'int *'}} 40 Foo::printf_static("%d", i); // expected-warning{{format specifies type 'int' but the argument has type 'int *'}} 42 printf(foo.gettext("%d"), i); // expected-warning{{format specifies type 'int' but the argument has type 'int *'}} 43 printf(Foo::gettext_static("%d"), i); // expected-warning{{format specifies type 'int' but the argument has type 'int *'}} 46 // Test handling __null for format string literal checking. 48 int test_null_format(const char *format, ...) __attribute__((__format__ (__printf__, 1, 2))) 62 const char * const format = fmt; local 119 extern void (^block_print)(const char * format, ...) __attribute__((format(printf, 1, 2))); member in namespace:Templates [all...] |
/external/icu4c/i18n/ |
currfmt.h | 56 * Override Format API. 58 virtual UBool operator==(const Format& other) const; 61 * Override Format API. 63 virtual Format* clone() const; 66 using MeasureFormat::format; 69 * Override Format API. 71 virtual UnicodeString& format(const Formattable& obj, 77 * Override Format API. 84 * Override Format API.
|
/external/icu4c/samples/uresb/ |
root.txt | 33 format { "ROOT format help topic" } 43 format { "format" }
|
sr.txt | 35 format { "This is format help topic" } 45 format { "format" }
|
/external/markdown/tests/misc/ |
link-with-parenthesis.html | 1 <p><a href="http://en.wikipedia.org/wiki/ZIP_(file_format)" title="ZIP (file format) - Wikipedia, the free encyclopedia">ZIP archives</a></p
|
/external/skia/src/ports/ |
SkDebug_android.cpp | 23 void SkDebugf(const char format[], ...) { 25 va_start(args, format); 26 __android_log_vprint(ANDROID_LOG_DEBUG, LOG_TAG, format, args); 31 vprintf(format, args);
|
/external/webkit/Source/ThirdParty/ANGLE/src/common/ |
debug.cpp | 22 void trace(const char *format, ...) 27 if (format) 34 va_start(vararg, format); 35 vfprintf(file, format, vararg);
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
debug.cpp | 20 void Trace(const char *format, ...) { 21 if (!format) return; 27 va_start(args, format); 28 vsnprintf(buf, kTraceBufferLen, format, args);
|
/packages/apps/Dialer/res/values/ |
attrs.xml | 20 <attr name="call_log_primary_text_color" format="color" /> 21 <attr name="call_log_primary_background_color" format="color" /> 22 <attr name="call_log_secondary_text_color" format="color" /> 23 <attr name="call_log_secondary_background_color" format="color" /> 24 <attr name="call_log_header_color" format="color" /> 28 <attr name="call_log_voicemail_status_height" format="dimension" /> 29 <attr name="call_log_voicemail_status_background_color" format="color" /> 30 <attr name="call_log_voicemail_status_text_color" format="color" /> 31 <attr name="call_log_voicemail_status_action_text_color" format="color" />
|
/system/core/libsysutils/ |
EventLogTags.logtags | 1 # See system/core/logcat/event.logtags for a description of the format of this file.
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_pixels.c | 35 * Allocate a pixel format structure and fill it according to the given info. 40 SDL_PixelFormat *format; local 43 /* Allocate an empty pixel format structure */ 44 format = SDL_malloc(sizeof(*format)); 45 if ( format == NULL ) { 49 SDL_memset(format, 0, sizeof(*format)); 50 format->alpha = SDL_ALPHA_OPAQUE; 52 /* Set up the format */ [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
NumberFormatTest.java | 32 * @tests java.text.NumberFormat#format(java.lang.Object, 38 DecimalFormat format = (DecimalFormat) NumberFormat local 42 out = format.format(new Long(Long.MAX_VALUE), new StringBuffer(), pos); 47 out = format.format(new Long(Long.MIN_VALUE), new StringBuffer(), pos); 52 out = format.format(new java.math.BigInteger(String 58 out = format.format(new java.math.BigInteger(Strin 125 DecimalFormat format = (DecimalFormat) NumberFormat local 153 DecimalFormat format = (DecimalFormat) NumberFormat local 204 NumberFormat format = NumberFormat.getInstance(new Locale("hu", "HU")); local 221 NumberFormat format = NumberFormat.getInstance(); local 233 NumberFormat format = NumberFormat.getInstance(new Locale("hu", "HU")); local [all...] |
/external/jmonkeyengine/engine/src/android/com/jme3/asset/ |
AndroidImageInfo.java | 7 import com.jme3.texture.Image.Format; 23 protected Format format; field in class:AndroidImageInfo 45 public Format getFormat(){ 46 return format; 69 format = Image.Format.Alpha8; 72 format = Image.Format.ARGB4444; 75 format = Image.Format.RGBA8 [all...] |
/frameworks/base/packages/SystemUI/res/values/ |
attrs.xml | 20 <attr name="keyCode" format="integer" /> 22 <attr name="keyRepeat" format="boolean" /> 24 <attr name="glowBackground" format="reference" /> 27 <attr name="text" format="string" /> 30 <attr name="insetLeft" format="dimension" /> 33 <attr name="rowHeight" format="dimension" /> 36 <attr name="recentItemLayout" format="reference" /> 39 <attr name="minSize" format="dimension" /> 40 <attr name="maxSize" format="dimension" /> 41 <attr name="holdTime" format="integer" / [all...] |
/packages/apps/Launcher2/res/values/ |
attrs.xml | 34 <attr name="sourceViewId" format="integer" /> 41 <attr name="drawIdentifier" format="string" /> 48 <attr name="defaultScreen" format="integer" /> 50 <attr name="cellCountX" format="integer" /> 52 <attr name="cellCountY" format="integer" /> 68 <attr name="cellWidth" format="dimension" /> 70 <attr name="cellHeight" format="dimension" /> 74 <attr name="widthGap" format="dimension" /> 75 <attr name="heightGap" format="dimension" /> 77 <attr name="maxGap" format="dimension" / [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
LogUtils.java | 107 * @param format the format string (see {@link java.util.Formatter#format}) 110 * more arguments than required by {@code format}, 113 public static int v(String tag, String format, Object... args) { 115 return Log.v(tag, String.format(format, args)); 125 * @param format the format string (see {@link java.util.Formatter#format}) [all...] |
/packages/apps/Email/src/com/android/mail/utils/ |
LogUtils.java | 179 * @param format the format string (see {@link java.util.Formatter#format}) 182 * more arguments than required by {@code format}, 185 public static int v(String tag, String format, Object... args) { 187 return Log.v(tag, String.format(format, args)); 197 * @param format the format string (see {@link java.util.Formatter#format}) [all...] |
/external/clang/test/Sema/ |
no-format-y2k-turnsoff-format.c | 1 // RUN: %clang_cc1 -verify -fsyntax-only -Wformat -Wno-format-y2k %s 7 foo("%s", a); // expected-warning {{format specifies type 'char *' but the argument has type 'unsigned int'}}
|
/external/clang/test/SemaObjC/ |
ucn-objc-string.m | 4 extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
|
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
Android22Workaround.java | 6 public static void glVertexAttribPointer(int location, int components, int format, boolean normalize, int stride, int offset){ 9 format,
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_MapRGB.3 | 3 SDL_MapRGB \- Map a RGB color value to a pixel format\&. 11 Maps the RGB color value to the specified pixel format and returns the pixel value as a 32-bit int\&. 13 If the format has a palette (8-bit) the index of the closest matching color in the palette will be returned\&. 15 If the specified pixel format has an alpha component it will be returned as all 1 bits (fully opaque)\&. 18 A pixel value best approximating the given RGB color value for a given pixel format\&. If the pixel format bpp (color depth) is less than 32-bpp then the unused upper bits of the return value can safely be ignored (e\&.g\&., with a 16-bpp format the return value can be assigned to a \fBUint16\fP, and similarly a \fBUint8\fP for an 8-bpp format)\&.
|
SDL_MapRGBA.3 | 3 SDL_MapRGBA \- Map a RGBA color value to a pixel format\&. 11 Maps the RGBA color value to the specified pixel format and returns the pixel value as a 32-bit int\&. 13 If the format has a palette (8-bit) the index of the closest matching color in the palette will be returned\&. 15 If the specified pixel format has no alpha component the alpha value will be ignored (as it will be in formats with a palette)\&. 18 A pixel value best approximating the given RGBA color value for a given pixel format\&. If the pixel format bpp (color depth) is less than 32-bpp then the unused upper bits of the return value can safely be ignored (e\&.g\&., with a 16-bpp format the return value can be assigned to a \fBUint16\fP, and similarly a \fBUint8\fP for an 8-bpp format)\&.
|
/external/skia/src/gpu/gl/ |
GrGLStencilBuffer.h | 19 struct Format { 31 const Format& format) 32 : GrStencilBuffer(gpu, isWrapped, width, height, format.fStencilBits, sampleCnt) 33 , fFormat(format) 45 const Format& format() const { return fFormat; } function in class:GrGLStencilBuffer 53 Format fFormat;
|
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.h | 21 jstring getMimeTypeString(JNIEnv* env, SkImageDecoder::Format format);
|