/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
CertificateStub.java | 39 String format; field in class:CertificateStub 44 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key){ 45 this.format = format; 76 return format;
|
/external/bluetooth/glib/glib/ |
gmessages.h | 46 /* calculate a string size, guaranteed to fit format + args. 48 gsize g_printf_string_upper_bound (const gchar* format, 99 const gchar *format, 103 const gchar *format, 158 #define g_error(format...) G_STMT_START { \ 161 format); \ 165 #define g_message(format...) g_log (G_LOG_DOMAIN, \ 167 format) 168 #define g_critical(format...) g_log (G_LOG_DOMAIN, \ 170 format) [all...] |
gerror.c | 36 const gchar *format, 45 error->message = g_strdup_vprintf (format, args); 54 * @format: printf()-style format for error message 55 * @Varargs: parameters for message format 58 * and a message formatted with @format. 65 const gchar *format, 71 g_return_val_if_fail (format != NULL, NULL); 74 va_start (args, format); 75 error = g_error_new_valist (domain, code, format, args) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
Assertions.cpp | 31 #pragma GCC diagnostic ignored "-Wmissing-format-attribute" 99 static void vprintf_stderr_common(const char* format, va_list args) 102 if (strstr(format, "%@")) { 103 CFStringRef cfFormat = CFStringCreateWithCString(NULL, format, kCFStringEncodingUTF8); 121 int size = vsnprintf(0, 0, format, args); 124 vsnprintf(buffer.data(), size, format, args); 138 if (_vsnprintf(buffer, size, format, args) != -1) { 163 vfprintf(stdout, format, args); 165 vfprintf(stderr, format, args); 170 static void printf_stderr_common(const char* format, ... [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
ChoiceFormatTest.java | 49 formattedString = cf.format(Double.NEGATIVE_INFINITY); 50 assertTrue("a) Incorrect format returned: " + formattedString, 52 formattedString = cf.format(0.5d); 53 assertTrue("b) Incorrect format returned: " + formattedString, 55 formattedString = cf.format(1d); 56 assertTrue("c) Incorrect format returned: " + formattedString, 58 formattedString = cf.format(1.5d); 59 assertTrue("d) Incorrect format returned: " + formattedString, 61 formattedString = cf.format(2d); 62 assertTrue("e) Incorrect format returned: " + formattedString 358 ChoiceFormat format = new ChoiceFormat("1#one|2#two|3#three"); local [all...] |
MessageFormatTest.java | 28 import java.text.Format; 48 private void checkSerialization(MessageFormat format) { 52 out.writeObject(format); 57 assertTrue("Not equal: " + format.toPattern(), format.equals(read)); 59 fail("Format: " + format.toPattern() 62 fail("Format: " + format.toPattern() 75 MessageFormat format = new MessageFormat local 93 MessageFormat format = new MessageFormat( local 170 MessageFormat format = new MessageFormat("test"); local 312 MessageFormat format = new MessageFormat("'{'choice'}'{0}"); local 368 MessageFormat format = new MessageFormat("{1,number,integer}"); local 651 MessageFormat format = new MessageFormat("date is {0,date,MMM d, yyyy}"); local 684 MessageFormat format = new MessageFormat("date {0,date}"); local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/baudio/ |
SDL_beaudio.cc | 98 const media_raw_audio_format &format) 156 media_raw_audio_format format; local 157 Uint16 test_format = SDL_FirstAudioFormat(spec->format); 159 /* Parse the audio format and fill the Be raw audio format */ 160 memset(&format, '\0', sizeof (media_raw_audio_format)); 161 format.byte_order = B_MEDIA_LITTLE_ENDIAN; 162 format.frame_rate = (float) spec->freq; 163 format.channel_count = spec->channels; /* !!! FIXME: support > 2? */ 166 spec->format = test_format [all...] |
/libcore/luni/src/main/java/java/io/ |
Console.java | 67 * the specified format string and arguments. 69 * @param format the format string (see {@link java.util.Formatter#format}) 72 * more arguments than required by {@code format}, 76 public Console format(String format, Object... args) { method in class:Console 78 f.format(format, args); 84 * Equivalent to {@code format(format, args)} 126 format(format, args); method 171 format(format, args); method [all...] |
/hardware/ti/omap3/dspbridge/inc/ |
gt.h | 193 GT_0trace(struct GT_Mask mask, SmBits class, String format) 199 GT_1trace(struct GT_Mask mask, SmBits class, String format, ...) 205 GT_2trace(struct GT_Mask mask, SmBits class, String format, ...) 211 GT_3trace(struct GT_Mask mask, SmBits class, String format, ...) 217 GT_4trace(struct GT_Mask mask, SmBits class, String format, ...) 223 GT_5trace(struct GT_Mask mask, SmBits class, String format, ...) 229 GT_6trace(struct GT_Mask mask, SmBits class, String format, ...) 243 extern Int _GT_trace(struct GT_Mask * mask, String format, ...); 278 #define GT_0trace( mask, class, format ) 279 #define GT_1trace( mask, class, format, arg1 [all...] |
/development/tools/glesv2debugger/src/com/android/glesv2debugger/ |
CodeGen.java | 47 s = MessageFormatter.format(msg, true).replace("arg7", "texData"); 52 s = MessageFormatter.format(msg, true).replace("arg8", "texData"); 56 code.write(MessageFormatter.format(msg, true)); 61 s = "//" + MessageFormatter.format(msg, true) + "\n"; 62 s += String.format("glTexImage2D(%s, %d, %s, %d, %d, %d, %s, %s, texData);CHKERR;", 70 code.write(MessageFormatter.format(msg, true)); 74 // FIXME: check the texture format & type, and convert 75 s = "//" + MessageFormatter.format(msg, true) + "\n"; 76 s += String.format( 90 code.format(" void * texData = malloc(%d);CHKERR;\n", data.length) [all...] |
MessageFormatter.java | 80 public static String format(final DebuggerMessage.Message msg, method in class:MessageFormatter 85 str = String.format("%s(%s%s)", 91 str = String.format("%s(%s%s, %s%s)", 99 str = String.format("%s(%s%s, %s%s, %s%s)", 109 str = String.format("%s(%s%s, %s%s)", 117 str = String.format("%s(%s%s, %s%s)", 125 str = String.format("%s(%s%s, %s%s)", 133 str = String.format("%s(%s%s, %s%s)", 141 str = String.format("%s(%s%s, %s%s, %s%s, %s%s)", 153 str = String.format("%s(%s%s)" [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/ |
CodeGen.java | 47 s = MessageFormatter.format(msg, true).replace("arg7", "texData"); 52 s = MessageFormatter.format(msg, true).replace("arg8", "texData"); 56 code.write(MessageFormatter.format(msg, true)); 61 s = "//" + MessageFormatter.format(msg, true) + "\n"; 62 s += String.format("glTexImage2D(%s, %d, %s, %d, %d, %d, %s, %s, texData);CHKERR;", 70 code.write(MessageFormatter.format(msg, true)); 74 // FIXME: check the texture format & type, and convert 75 s = "//" + MessageFormatter.format(msg, true) + "\n"; 76 s += String.format( 90 code.format(" void * texData = malloc(%d);CHKERR;\n", data.length) [all...] |
MessageFormatter.java | 80 public static String format(final DebuggerMessage.Message msg, method in class:MessageFormatter 85 str = String.format("%s(%s%s)", 91 str = String.format("%s(%s%s, %s%s)", 99 str = String.format("%s(%s%s, %s%s, %s%s)", 109 str = String.format("%s(%s%s, %s%s)", 117 str = String.format("%s(%s%s, %s%s)", 125 str = String.format("%s(%s%s, %s%s)", 133 str = String.format("%s(%s%s, %s%s)", 141 str = String.format("%s(%s%s, %s%s, %s%s, %s%s)", 153 str = String.format("%s(%s%s)" [all...] |
/external/webkit/Source/WebCore/svg/ |
SVGPathStringBuilder.cpp | 41 m_stringBuilder.append(String::format("M %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); 43 m_stringBuilder.append(String::format("m %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); 49 m_stringBuilder.append(String::format("L %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); 51 m_stringBuilder.append(String::format("l %.6lg %.6lg ", targetPoint.x(), targetPoint.y())); 57 m_stringBuilder.append(String::format("H %.6lg ", x)); 59 m_stringBuilder.append(String::format("h %.6lg ", x)); 65 m_stringBuilder.append(String::format("V %.6lg ", y)); 67 m_stringBuilder.append(String::format("v %.6lg ", y)); 73 m_stringBuilder.append(String::format("C %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetPoint.x(), targetPoint.y())); 75 m_stringBuilder.append(String::format("c %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetPo (…) [all...] |
/external/chromium/base/ |
string_util_win.h | 37 const char* format, va_list arguments) { 38 int length = vsnprintf_s(buffer, size, size - 1, format, arguments); 40 return _vscprintf(format, arguments); 45 const wchar_t* format, va_list arguments) { 46 DCHECK(IsWprintfFormatPortable(format)); 48 int length = _vsnwprintf_s(buffer, size, size - 1, format, arguments); 50 return _vscwprintf(format, arguments);
|
/external/dropbear/ |
cli-main.c | 32 static void cli_dropbear_exit(int exitcode, const char* format, va_list param); 33 static void cli_dropbear_log(int priority, const char* format, va_list param); 84 static void cli_dropbear_exit(int exitcode, const char* format, va_list param) { 90 format); 95 cli_opts.remoteport, format); 108 const char* format, va_list param) { 112 vsnprintf(printbuf, sizeof(printbuf), format, param);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
NullTaskMonitor.java | 49 public void setDescription(String format, Object...args) {
53 public void log(String format, Object...args) {
54 mLog.printf(format, args);
57 public void logError(String format, Object...args) {
58 mLog.error(null /*throwable*/, format, args);
61 public void logVerbose(String format, Object...args) {
62 mLog.printf(format, args);
|
/dalvik/vm/analysis/ |
RegisterMap.h | 29 * Format enumeration for RegisterMap data area. 49 * Size of (format==FormatNone): 1 byte 50 * Size of (format==FormatCompact8): 4 + (1 + regWidth) * numEntries 51 * Size of (format==FormatCompact16): 4 + (2 + regWidth) * numEntries 55 u1 format; /* enum RegisterMapFormat; MUST be first entry */ member in struct:RegisterMap 67 * Get the format. 70 return (RegisterMapFormat)(pMap->format & ~(kRegMapFormatOnHeap)); 74 * Set the format. 76 INLINE void dvmRegisterMapSetFormat(RegisterMap* pMap, RegisterMapFormat format) 78 pMap->format &= kRegMapFormatOnHeap [all...] |
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
Output.java | 46 * @param format The format string. 47 * @param args The arguments for the format string. 49 * @see String#format(String, Object...) 51 public void write(String format, Object... args) { 53 mWriter.write(String.format(format, args));
|
/external/clang/test/Sema/ |
variadic-block.c | 7 long (^addthem)(const char *, ...) = ^long (const char *format, ...){ 14 va_start(argp, format); 15 for (p = format; *p; p++) switch (*p) {
|
/external/webkit/Source/WebKit/android/plugins/ |
ANPLogInterface.cpp | 32 static void anp_log(ANPLogType logType, const char format[], ...) { 34 va_start(args, format); 51 LOG_PRI_VA(priority, "plugin", format, args);
|
/frameworks/base/graphics/java/android/graphics/ |
PixelFormat.java | 25 /** System chooses a format that supports translucency (many alpha bits) */ 29 * System chooses a format that supports transparency 34 /** System chooses an opaque format (no alpha bits required) */ 85 public static native void getPixelFormatInfo(int format, PixelFormat info); 86 public static boolean formatHasAlpha(int format) { 87 switch (format) {
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 80 SimpleDateFormat format = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy"); local 81 format.setTimeZone(TimeZone.getTimeZone("UTC")); 84 format.format(new Date(((long) Integer.MIN_VALUE + Integer.MIN_VALUE) * 1000L))); 86 format.format(new Date(Integer.MIN_VALUE * 1000L))); 88 format.format(new Date(0L))); 90 format.format(new Date(Integer.MAX_VALUE * 1000L))) 178 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm zzzz"); local 185 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm zzzz"); local 193 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm zzzz"); local 202 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm zzzz"); local 210 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm zzzz"); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
Name.java | 104 * the format requested 106 * @param format one of X500Principal.CANONICAL, X500Principal.RFC1779, or 109 public String getName(String format) { 113 if (X500Principal.RFC1779.equals(format)) { 116 rfc1779String = getName0(format); 120 } else if (X500Principal.RFC2253.equals(format)) { 123 rfc2253String = getName0(format); 127 } else if (X500Principal.CANONICAL.equals(format)) { 130 canonicalString = getName0(format); 138 else if (X500Principal.RFC1779.equalsIgnoreCase(format)) { [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldFormatterTest.java | 51 assertEquals("aaa 111?", new Formatter().format("aaa %s?", ones).toString()); 52 assertEquals("aaa 111 bbb 222?", new Formatter().format("aaa %s bbb %s?", ones, twos).toString()); 65 fLoc.format(Locale.US, "%f", val); 66 fNoL.format("%f", val); 73 fLoc.format(Locale.US, "%f", val); 74 fNoL.format("%f", val); 80 fLoc.format(Locale.US, "%f", val); 81 fNoL.format("%f", val); 87 fLoc.format(Locale.US, "%tA %tB %td %tT", cal, cal, cal, cal); 88 fNoL.format("%tA %tB %td %tT", cal, cal, cal, cal) [all...] |