HomeSort by relevance Sort by last modified time
    Searched refs:format (Results 301 - 325 of 8082) sorted by null

<<11121314151617181920>>

  /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/android/support/include/
time.h 38 size_t strftime_l(char *s, size_t maxsize, const char *format,
  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
pgenheaders.h 12 PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
13 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
14 PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
15 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
pgenheaders.h 12 PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
13 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
14 PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
15 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
  /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...]
  /libcore/luni/src/test/java/libcore/java/text/
NumberFormatTest.java 28 // NumberFormat.format(Object, StringBuffer, FieldPosition) guarantees it calls doubleValue for
41 assertEquals("123", nf.format(new MyNumber()));
44 // NumberFormat.format(Object, StringBuffer, FieldPosition) guarantees it calls longValue for
48 public StringBuffer format(double value, StringBuffer b, FieldPosition f) { method in class:NumberFormatTest.MyNumberFormat
52 public StringBuffer format(long value, StringBuffer b, FieldPosition f) { method in class:NumberFormatTest.MyNumberFormat
61 assertEquals("long", nf.format(BigInteger.valueOf(Long.MAX_VALUE)));
62 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE)));
63 assertEquals("long", nf.format(BigInteger.valueOf(Long.MIN_VALUE)));
64 assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE)));
78 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/chromium_org/gpu/gles2_conform_support/native/
egl_native.cc 24 int width, int height, int format,
36 GTFbool GTFIsAlphaFormatEGLImageExternal(int format) {
  /external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
ps_context_2d.h 24 PP_ImageDataFormat format; member in struct:__anon10888
37 PSContext2D_t* PSContext2DAllocate(PP_ImageDataFormat format);
43 * Query the native system image format.
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
r300_texture_desc.h 40 unsigned r300_get_pixel_alignment(enum pipe_format format,
53 unsigned r300_stride_to_width(enum pipe_format format,
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nouveau_surface.h 42 gl_format format; member in struct:nouveau_surface
51 unsigned flags, unsigned format,
  /external/chromium_org/tools/grit/grit/format/
repack.py 9 for details about the file format.
17 import grit.format.data_pack namespace
24 grit.format.data_pack.RePack(argv[1], argv[2:])
  /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);
  /external/droiddriver/src/com/google/android/droiddriver/instrumentation/
RootFinder.java 51 throw new DroidDriverException(String.format("could not invoke: %s on %s", instanceMethod,
55 String.format("could not find class: %s", windowManagerClassName), cnfe);
57 throw new DroidDriverException(String.format("could not find field: %s on %s",
60 throw new DroidDriverException(String.format("could not find method: %s on %s",
64 String.format("reflective setup failed using obj: %s method: %s field: %s",
68 String.format("reflective setup failed using obj: %s method: %s field: %s",
84 throw new DroidDriverException(String.format("Reflective access to %s on %s failed.",
88 throw new DroidDriverException(String.format("Reflective access to %s on %s failed.",
  /external/giflib/
Android.mk 9 LOCAL_CFLAGS += -Wno-format -DHAVE_CONFIG_H
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
Platform.java 41 * Format the template with args, only supports the placeholder
44 static String format(String template, Object... args) { method in class:Platform
45 return String.format(template, args);

Completed in 900 milliseconds

<<11121314151617181920>>