HomeSort by relevance Sort by last modified time
    Searched refs:format (Results 76 - 100 of 4486) sorted by null

1 2 34 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/text/
DecimalFormatTest.java 31 assertEquals("1E4", df.format(12345.));
36 assertEquals("1-useless-api-4", df.format(12345.));
43 assertEquals("-0", df.format(-0.2));
45 assertEquals("-0.2", df.format(-0.2));
56 assertEquals(309, numberFormat.format(123).length());
57 assertEquals(309, numberFormat.format(BigInteger.valueOf(123)).length());
64 assertEquals("17%", pf.format(BigDecimal.valueOf(0.17)));
128 assertEquals(df.format(BigDecimal.valueOf(0.16)),
129 df.format(BigDecimal.valueOf(0.16).doubleValue()));
130 assertEquals(df.format(BigDecimal.valueOf(0.0293))
    [all...]
  /external/chromium/chrome/common/extensions/
extension_error_utils.cc 10 const std::string& format,
12 std::string ret_val = format;
18 const std::string& format,
21 std::string ret_val = format;
28 const std::string& format,
32 std::string ret_val = format;
extension_error_utils.h 14 static std::string FormatErrorMessage(const std::string& format,
17 static std::string FormatErrorMessage(const std::string& format,
21 static std::string FormatErrorMessage(const std::string& format,
  /external/icu4c/tools/tzcode/
scheck.c 17 scheck(string, format)
19 const char * const format;
29 if (string == NULL || format == NULL)
31 fbuf = imalloc((int) (2 * strlen(format) + 4));
34 fp = format;
60 result = (char *) format;
  /external/e2fsprogs/intl/
vasnprintf.h 33 /* The __-protected variants of `format' and `printf' attributes
36 # define __format__ format
52 extern char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...)
54 extern char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args)
  /external/valgrind/main/coregrind/
pub_core_debuglog.h 77 const HChar* format, ... )
78 __attribute__((format(__printf__, 3, 4)));
87 const HChar *format,
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/
MockMonitor.java 50 public void log(String format, Object... args) {
51 mCapturedLog += String.format(format, args) + "\n"; //$NON-NLS-1$
55 public void logError(String format, Object... args) {
56 mCapturedErrorLog += String.format(format, args) + "\n"; //$NON-NLS-1$
60 public void logVerbose(String format, Object... args) {
61 mCapturedVerboseLog += String.format(format, args) + "\n"; //$NON-NLS-1$
74 public void setDescription(String format, Object... args)
    [all...]
  /bionic/linker/
linker_format.h 43 int format_buffer(char *buffer, size_t bufsize, const char *format, ...);
  /development/tools/emulator/opengl/system/GLESv1_enc/
GLEncoderUtils.h 20 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pack);
  /external/chromium/base/
stringprintf.h 18 BASE_API std::string StringPrintf(const char* format, ...) PRINTF_FORMAT(1, 2);
19 BASE_API std::wstring StringPrintf(const wchar_t* format, ...)
23 BASE_API std::string StringPrintV(const char* format, va_list ap)
28 const char* format, ...)
31 const wchar_t* format, ...)
35 BASE_API void StringAppendF(std::string* dst, const char* format, ...)
39 BASE_API void StringAppendF(std::wstring* dst, const wchar_t* format, ...)
44 BASE_API void StringAppendV(std::string* dst, const char* format, va_list ap)
47 const wchar_t* format, va_list ap)
  /external/chromium/third_party/libjingle/source/talk/base/
checks.h 37 void Fatal(const char* file, int line, const char* format, ...);
  /external/clang/test/CodeGen/
2002-06-25-FWriteInterfaceFailure.c 5 int fprintf(FILE * restrict stream, const char * restrict format, ...);
  /external/clang/test/Sema/
block-printf-attribute-1.c 6 void (^b) (int arg, const char * format, ...) __attribute__ ((__format__ (__printf__, 1, 3))) = // expected-error {{format argument not a string type}} local
7 ^ __attribute__ ((__format__ (__printf__, 1, 3))) (int arg, const char * format, ...) {}; // expected-error {{format argument not a string type}}
9 void (^z) (int arg, const char * format, ...) __attribute__ ((__format__ (__printf__, 2, 3))) = ^ __attribute__ ((__format__ (__printf__, 2, 3))) (int arg, const char * format, ...) {}; local
11 z(1, "%s", 1); // expected-warning{{format specifies type 'char *' but the argument has type 'int'}}
16 // Handle block with multiple format attributes.
20 vprintf_scanf("%", ap, "%d"); // expected-warning {{incomplete format specifier}}, expected-warning {{more '%' conversions than data arguments}}
  /external/compiler-rt/lib/tsan/rtl/
tsan_printf.cc 23 int VSNPrintf(char *buff, int buff_length, const char *format, va_list args);
28 void TsanPrintf(const char *format, ...) {
33 va_start(args, format);
34 uptr len = VSNPrintf(buffer.data(), buffer.size(), format, args);
  /external/llvm/lib/Target/CppBackend/
Makefile 16 CompileCommonOpts += -Wno-format
  /external/openssh/
log.h 59 __attribute__((format(printf, 1, 2)));
60 void error(const char *, ...) __attribute__((format(printf, 1, 2)));
62 __attribute__((format(printf, 1, 2)));
63 void logit(const char *, ...) __attribute__((format(printf, 1, 2)));
64 void verbose(const char *, ...) __attribute__((format(printf, 1, 2)));
65 void debug(const char *, ...) __attribute__((format(printf, 1, 2)));
66 void debug2(const char *, ...) __attribute__((format(printf, 1, 2)));
67 void debug3(const char *, ...) __attribute__((format(printf, 1, 2)));
72 __attribute__((format(printf, 2, 3)));
  /external/protobuf/src/google/protobuf/stubs/
substitute.cc 1 // Protocol Buffers - Google's data interchange format
54 const char* format,
61 SubstituteAndAppend(&result, format, arg0, arg1, arg2, arg3, arg4,
67 string* output, const char* format,
79 for (int i = 0; format[i] != '\0'; i++) {
80 if (format[i] == '$') {
81 if (ascii_isdigit(format[i+1])) {
82 int index = format[i+1] - '0';
85 << "strings::Substitute format string invalid: asked for \"$"
87 << " args were given. Full format string was: \"
    [all...]
  /external/skia/src/gpu/gl/
GrGLStencilBuffer.h 20 struct Format {
30 const Format& format)
31 : GrStencilBuffer(gpu, width, height, format.fStencilBits, sampleCnt)
32 , fFormat(format)
44 const Format& format() const { return fFormat; } function in class:GrGLStencilBuffer
52 Format fFormat;
  /external/webkit/Source/WebKit/android/plugins/
SurfaceCallback.h 36 virtual void surfaceChanged(int format, int width, int height) = 0;
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SimpleFrame.java 24 import android.filterfw.format.ObjectFormat;
37 SimpleFrame(FrameFormat format, FrameManager frameManager) {
38 super(format, frameManager);
39 initWithFormat(format);
44 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE); local
45 SimpleFrame result = new SimpleFrame(format, frameManager);
50 private void initWithFormat(FrameFormat format) {
51 final int count = format.getLength();
52 final int baseType = format.getBaseType();
134 MutableFrameFormat format = getFormat().mutableCopy() local
144 FrameFormat format = getFormat(); local
    [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...]
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
ITaskMonitor.java 56 public void setDescription(String format, Object...args);
62 public void log(String format, Object...args);
68 public void logError(String format, Object...args);
75 public void logVerbose(String format, Object...args);
  /sdk/swtmenubar/src/com/android/menubar/
IMenuBarCallback.java 38 * @param format A printf-like format string.
39 * @param args The parameters for the printf-like format string.
41 abstract public void printError(String format, Object...args);
  /system/vold/
Ext4.h 26 static int format(const char *fsPath);

Completed in 1195 milliseconds

1 2 34 5 6 7 8 91011>>