/external/jsilver/src/com/google/streamhtmlparser/ |
ParseException.java | 38 super(String.format("At line: %d (col: %d); %s",
|
/external/oprofile/libutil++/ |
stream_util.h | 34 std::ios::fmtflags format; member in class:io_state
|
/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;
|
/external/skia/src/gpu/gl/mac/ |
SkNativeGLContext_mac.cpp | 46 AGLPixelFormat format = aglChoosePixelFormat(NULL, 0, pixelAttrs); local 47 if (NULL == format) { 48 SkDebugf("Format could not be found.\n"); 52 fContext = aglCreateContext(format, NULL); 58 aglDestroyPixelFormat(format);
|
/external/valgrind/main/VEX/priv/ |
main_util.h | 68 __attribute__ ((format (printf, 1, 2))) 69 extern UInt vex_printf ( HChar *format, ... ); 71 __attribute__ ((format (printf, 2, 3))) 72 extern UInt vex_sprintf ( HChar* buf, HChar *format, ... );
|
/external/webkit/Source/WebCore/platform/graphics/gstreamer/ |
ImageGStreamerCairo.cpp | 34 GstVideoFormat format; local 35 if (!gst_video_format_parse_caps(caps, &format, &width, &height)) { 43 if (format == GST_VIDEO_FORMAT_ARGB || format == GST_VIDEO_FORMAT_BGRA)
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/ |
DateFormat_Delegate.java | 17 package android.text.format;
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldFormattableTest.java | 39 arg0.format(sb.toString()); 52 assertTrue(fmt.format("%1.1s", mf).toString().equals("single precision ")); 53 assertTrue(fmt.format("%2.1s", mf).toString().equals("single precision single precision ")); 54 assertTrue(fmt.format("%2.2s", mf).toString().equals("single precision single precision double precision "));
|
/ndk/sources/cxx-stl/llvm-libc++/include/support/android/ |
time.h | 21 size_t strftime_l(char *s, size_t maxsize, const char *format,
|
/system/vold/ |
Fat.h | 29 static int format(const char *fsPath, unsigned int numSectors);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseAlgorithmParameters.java | 26 protected boolean isASN1FormatString(String format) 28 return format == null || format.equals("ASN.1"); 97 // String format) 100 // if (this.isASN1FormatString(format)) 112 // if (format.equals("RAW")) 187 // String format) 190 // if (this.isASN1FormatString(format)) 204 // if (format.equals("RAW")) 210 // throw new IOException("Unknown parameters format in IV parameters object") [all...] |
/external/clang/test/SemaCXX/ |
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/guava/guava/src/com/google/common/base/ |
CaseFormat.java | 63 * Converts the specified {@code String s} from this format to the specified {@code format}. A 64 * "best effort" approach is taken; if {@code s} does not conform to the assumed format, then the 67 public String to(CaseFormat format, String s) { 68 if (format == null) { 75 if (format == this) { 82 switch (format) { 90 switch (format) { 98 switch (format) { 115 out.append(format.normalizeFirstWord(s.substring(i, j))) [all...] |
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
TextureUtil.java | 37 import com.jme3.texture.Image.Format; 52 private static boolean isFormatSupported(Format fmt, ContextCapabilities caps){ 89 public static void checkFormatSupported(Format fmt) { 91 throw new RendererException("Image format '" + fmt + "' is unsupported by the video hardware."); 95 public static int convertTextureFormat(Format fmt){ 164 throw new UnsupportedOperationException("Unrecognized format: "+fmt); 173 Image.Format fmt = img.getFormat(); 190 int format = -1; local 196 format = GL_ALPHA; 201 format = GL_ALPHA [all...] |
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
SoftVPX.cpp | 76 def.format.video.cMIMEType = const_cast<char *>(MEDIA_MIMETYPE_VIDEO_VPX); 77 def.format.video.pNativeRender = NULL; 78 def.format.video.nFrameWidth = mWidth; 79 def.format.video.nFrameHeight = mHeight; 80 def.format.video.nStride = def.format.video.nFrameWidth; 81 def.format.video.nSliceHeight = def.format.video.nFrameHeight; 82 def.format.video.nBitrate = 0; 83 def.format.video.xFramerate = 0 [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
NumberFormatTest.java | 29 // NumberFormat.format(Object, StringBuffer, FieldPosition) guarantees it calls doubleValue for 42 assertEquals("123", nf.format(new MyNumber())); 45 // NumberFormat.format(Object, StringBuffer, FieldPosition) guarantees it calls longValue for 49 public StringBuffer format(double value, StringBuffer b, FieldPosition f) { method in class:NumberFormatTest.MyNumberFormat 53 public StringBuffer format(long value, StringBuffer b, FieldPosition f) { method in class:NumberFormatTest.MyNumberFormat 62 assertEquals("long", nf.format(BigInteger.valueOf(Long.MAX_VALUE))); 63 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE))); 64 assertEquals("long", nf.format(BigInteger.valueOf(Long.MIN_VALUE))); 65 assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE))); 85 assertEquals("??????????", nf.format(1234567890)) [all...] |
OldDateFormatTest.java | 46 public StringBuffer format(Date date, StringBuffer toAppendTo, method in class:OldDateFormatTest.MockDateFormat 71 DateFormat format = DateFormat.getInstance(); local 72 DateFormat clone = (DateFormat) format.clone(); 73 assertTrue("Clone and parent are not equaled", format.equals(clone)); 76 format.setCalendar(Calendar.getInstance()); 77 assertTrue("Clone and parent are not equaled", format.equals(clone)); 84 * java.text.DateFormat#format(java.util.Date) Test of method 85 * java.text.DateFormat#format(java.util.Date). 89 DateFormat format = DateFormat.getDateTimeInstance( local 92 String dtf = format.format(current) 107 DateFormat format = DateFormat.getDateTimeInstance( local 127 DateFormat format = DateFormat.getInstance(); local 207 DateFormat format = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, Locale.US); local 471 DateFormat format = DateFormat.getInstance(); local [all...] |
/libcore/luni/src/main/java/java/text/ |
MessageFormat.java | 41 * {@code Format} classes in that you create a {@code MessageFormat} 101 * produce a number format with the hash-sign quoted, with a result such as: 109 * <dd>The rules for using quotes within message format patterns unfortunately 125 * {@code arguments} array passed to the {@code format} methods or 129 * {@code Format} instance for the format element. The following table 130 * shows how the values map to {@code Format} instances. Combinations not shown in the 132 * for the {@code Format} subclass used. 136 * <th>Format Type</th> 137 * <th>Format Style</th 476 MessageFormat format = (MessageFormat) object; local 548 public final StringBuffer format(Object[] objects, StringBuffer buffer, method in class:MessageFormat 569 Format format = formats[i]; local 700 public final StringBuffer format(Object object, StringBuffer buffer, method in class:MessageFormat 717 public static String format(String format, Object... args) { method in class:MessageFormat 866 Format format = formats[i]; local 1071 Format format = formats[i]; local 1151 Format format = formats[i]; local [all...] |
/dalvik/dx/src/com/android/dx/io/instructions/ |
SparseSwitchPayloadDecodedInstruction.java | 37 public SparseSwitchPayloadDecodedInstruction(InstructionCodec format, 39 super(format, opcode, 0, null, 0, 0L);
|
ZeroRegisterDecodedInstruction.java | 28 public ZeroRegisterDecodedInstruction(InstructionCodec format, int opcode, 30 super(format, opcode, index, indexType, target, literal);
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
GL2EncoderUtils.h | 20 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pack); 21 size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, int pack);
|
/external/bison/lib/ |
vasnprintf.h | 27 The __-protected variants of the attributes 'format' and 'printf' are 56 char *output = vasnprintf (buf, &len, format, args); 70 extern char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) 72 extern char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
AlgorithmParametersSpi.java | 17 protected boolean isASN1FormatString(String format) 19 return format == null || format.equals("ASN.1"); 62 String format) 64 if (isASN1FormatString(format)) 125 String format) 128 if (isASN1FormatString(format)) 134 throw new IOException("Unknown parameter format " + format);
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
SparseSwitchPayloadDecodedInstruction.java | 37 public SparseSwitchPayloadDecodedInstruction(InstructionCodec format, 39 super(format, opcode, 0, null, 0, 0L);
|
ZeroRegisterDecodedInstruction.java | 28 public ZeroRegisterDecodedInstruction(InstructionCodec format, int opcode, 30 super(format, opcode, index, indexType, target, literal);
|