/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | String.java | 86 * <p>A <code>String</code> represents a string in the UTF-16 format 123 * following format: 2759 * Returns a formatted string using the specified format string and 2765 * @param format 2766 * A <a href="../util/Formatter.html#syntax">format string</a> 2769 * Arguments referenced by the format specifiers in the format 2770 * string. If there are more arguments than format specifiers, the 2780 * If a format string contains an illegal syntax, a format 2796 format(String format, Object... args) argument 2840 format(Locale l, String format, Object... args) argument [all...] |
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | DateFormat.java | 69 * <p>{@code DateFormat} helps you to format and parse dates for any locale. 71 * months, days of the week, or even the calendar format: lunar vs. solar. 73 * <p>To format a date for the current Locale, use one of the 76 * myString = DateFormat.getDateInstance().format(myDate); 79 * more efficient to get the format and use it multiple times so that 85 * output.println(df.format(myDate[i]) + "; "); 88 * <p>To format a date for a different Locale, specify it in the 97 * <p>Use {@code getDateInstance} to get the normal date format for that country. 99 * Use {@code getTimeInstance} to get the time format for that country. 100 * Use {@code getDateTimeInstance} to get a date and time format 292 public final StringBuffer format(Object obj, StringBuffer toAppendTo, method in class:DateFormat 326 public abstract StringBuffer format(Date date, StringBuffer toAppendTo, method in class:DateFormat 334 public final String format(Date date) method in class:DateFormat [all...] |
H A D | NumberFormat.java | 67 * <code>NumberFormat</code> helps you to format and parse numbers for any locale. 70 * digits used, or whether the number format is even decimal. 73 * To format a number for the current Locale, use one of the factory 77 * myString = NumberFormat.getInstance().format(myNumber); 81 * more efficient to get the format and use it multiple times so that 88 * output.println(nf.format(myNumber[i]) + "; "); 92 * To format a number for a different Locale, specify it in the 106 * normal number format. Use <code>getIntegerInstance</code> to get an 107 * integer number format. Use <code>getCurrencyInstance</code> to get the 108 * currency number format 235 public StringBuffer format(Object number, method in class:NumberFormat 285 public final String format(double number) { method in class:NumberFormat 296 public final String format(long number) { method in class:NumberFormat 307 public abstract StringBuffer format(double number, method in class:NumberFormat 317 public abstract StringBuffer format(long number, method in class:NumberFormat [all...] |
H A D | SimpleDateFormat.java | 73 * with a default format pattern. You may modify the format pattern 291 * 00 and 59. The format is locale independent and digits must be taken 296 * For formatting, the RFC 822 4-digit time zone format is used: 309 * The number of pattern letters designates the format for both formatting 398 * It is recommended to create separate format instances for each thread. 399 * If multiple threads access a format concurrently, it must be synchronized 402 * @see <a href="http://java.sun.com/docs/books/tutorial/i18n/format/simpleDateFormat.html">Java Tutorial</a> 428 * When streaming out this class, the most recent format 451 * The minus sign to be used with format an 944 public StringBuffer format(Date date, StringBuffer toAppendTo, method in class:SimpleDateFormat 952 private StringBuffer format(Date date, StringBuffer toAppendTo, method in class:SimpleDateFormat [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | ResourceBundle.java | 493 // bundle format which is necessary for calling 495 private String format; field in class:ResourceBundle.CacheKey 618 return format; 621 void setFormat(String format) { argument 622 this.format = format; 651 + "(format=" + format + ")]"; 1068 * candidate locale, and a format. (Refer to the note on the cache 1076 * sequence of locale-format combination 2559 newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload) argument 2723 needsReload(String baseName, Locale locale, String format, ClassLoader loader, ResourceBundle bundle, long loadTime) argument [all...] |
/openjdk7/hotspot/src/share/vm/compiler/ |
H A D | disassembler.cpp | 286 } else if (match(event, "format bytes-per-line")) { 402 static int printf_to_env(void* env_pv, const char* format, ...) { argument 405 size_t flen = strlen(format); 408 if (flen == 1 && format[0] == '\n') { st->bol(); return 1; } 410 strchr(format, '%') == NULL) { 411 raw = format; 412 } else if (format[0] == '%' && format[1] == '%' && 413 strchr(format+2, '%') == NULL) { 416 raw = format [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | machnode.cpp | 469 format(ra, st); // access to virtual 502 void MachNullCheckNode::format( PhaseRegAlloc *ra_, outputStream *st ) const { function in class:MachNullCheckNode
|
/openjdk7/hotspot/src/share/tools/ProjectCreator/ |
H A D | BuildConfig.java | 63 // ones mentioned above were needed to expand format 383 String expandFormat(String format) { argument 384 if (format == null) { 388 if (format.indexOf('%') == -1) { 389 return format; 393 int len = format.length(); 395 char ch = format.charAt(i); 397 char ch1 = format.charAt(i+1);
|
/openjdk7/jdk/make/tools/reorder/tools/ |
H A D | mcount.c | 380 const char *format; local 470 format = "text: .text%%%s%s;\n"; 471 i = snprintf(buf, sizeof buf, format,
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CDataTransferer.java | 104 public boolean isLocaleDependentTextFormat(long format) { argument 105 return format == CF_STRING; 108 public boolean isFileFormat(long format) { argument 109 return format == CF_FILE; 112 public boolean isImageFormat(long format) { argument 113 int ifmt = (int)format; 129 public byte[] translateTransferable(Transferable contents, DataFlavor flavor, long format) throws IOException argument 131 byte[] bytes = super.translateTransferable(contents, flavor, format); 134 //if (format == CF_HTML) { 141 protected Object translateBytesOrStream(InputStream stream, byte[] bytes, DataFlavor flavor, long format, argument 205 getNativeForFormat(long format) argument 240 imageToPlatformBytes(Image image, long format) argument 267 platformImageBytesOrStreamToImage(InputStream stream, byte[] bytes, long format) argument 291 isURIListFormat(long format) argument [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | safepoint.cpp | 1378 void SafepointSynchronize::safepoint_msg(const char* format, ...) { argument 1381 va_start(ap, format); 1382 tty->vprint_cr(format, ap);
|
H A D | sweeper.cpp | 608 void NMethodSweeper::log_sweep(const char* msg, const char* format, ...) { argument 617 if (format != NULL) { 619 va_start(ap, format); 620 tty->vprint(format, ap); 634 if (format != NULL) { 636 va_start(ap, format); 637 xtty->vprint(format, ap);
|
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/ |
H A D | PLATFORM_API_BsdOS_ALSA_PCM.c | 123 snd_pcm_format_t format; local 179 for (format = 0; format <= SND_PCM_FORMAT_LAST; format++) { 180 if (snd_pcm_format_mask_test(formatMask, format)) { 181 // format exists 182 if (getFormatFromAlsaFormat(format, &origSampleSizeInBytes, 229 TRACE1("could not get format from alsa for format %d\n", format); 304 setHWParams(AlsaPcmInfo* info, float sampleRate, int channels, int bufferSizeInFrames, snd_pcm_format_t format) argument 422 snd_pcm_format_t format; local [all...] |
H A D | PLATFORM_API_LinuxOS_ALSA_PCM.c | 123 snd_pcm_format_t format; local 179 for (format = 0; format <= SND_PCM_FORMAT_LAST; format++) { 180 if (snd_pcm_format_mask_test(formatMask, format)) { 181 // format exists 182 if (getFormatFromAlsaFormat(format, &origSampleSizeInBytes, 229 TRACE1("could not get format from alsa for format %d\n", format); 304 setHWParams(AlsaPcmInfo* info, float sampleRate, int channels, int bufferSizeInFrames, snd_pcm_format_t format) argument 422 snd_pcm_format_t format; local [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WDataTransferer.java | 187 long format) throws IOException 189 byte[] bytes = super.translateTransferable(contents, flavor, format); 191 if (format == CF_HTML) { 198 DataFlavor flavor, long format, 202 if (format == CF_HTML && flavor.isFlavorTextType()) { 211 if (format == CF_FILEGROUPDESCRIPTORA || format == CF_FILEGROUPDESCRIPTORW) { 235 if (format == CFSTR_INETURL && 256 return super.translateBytesOrStream(str, bytes, flavor, format, 260 public boolean isLocaleDependentTextFormat(long format) { argument 185 translateTransferable(Transferable contents, DataFlavor flavor, long format) argument 197 translateBytesOrStream(InputStream str, byte[] bytes, DataFlavor flavor, long format, Transferable localeTransferable) argument 264 isFileFormat(long format) argument 276 getNativeForFormat(long format) argument 299 getClipboardFormatName(long format) argument 301 isImageFormat(long format) argument 307 imageToPlatformBytes(Image image, long format) argument 409 imageDataToPlatformImageBytes(byte[] imageData, int width, int height, long format) argument 417 platformImageBytesOrStreamToImage(InputStream str, byte[] bytes, long format) argument 458 platformImageBytesToImageData(byte[] bytes, long format) argument [all...] |
/openjdk7/jdk/src/windows/demo/jvmti/hprof/ |
H A D | hprof_md.c | 265 md_vsnprintf(char *s, int n, const char *format, va_list ap) argument 267 return _vsnprintf(s, n, format, ap); 271 md_snprintf(char *s, int n, const char *format, ...) argument 276 va_start(ap, format); 277 ret = md_vsnprintf(s, n, format, ap);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | JavacFileManager.java | 261 private static void printAscii(String format, Object... args) { argument 265 message = new String(String.format(null, format, args).getBytes(ascii), ascii);
|
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | debug_malloc.c | 258 error_message(const char * format, ...) argument 262 va_start(ap, format); 264 (void)vfprintf(error_fp, format, ap);
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_image_types.h | 100 typedef enum { /* constants used for pixel format */ 126 mlib_format format; /* pixels format */ member in struct:__anon781
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/report/ |
H A D | J2DAnalyzer.java | 236 System.out.print(format(score2)); 793 public static String format(double val) { method in class:J2DAnalyzer
|
/openjdk7/jdk/src/share/classes/sun/invoke/util/ |
H A D | Wrapper.java | 49 private final int format; field in class:Wrapper 53 private Wrapper(Class<?> wtype, Class<?> ptype, char tchar, Object zero, Object emptyArray, int format) { argument 59 this.format = format; 69 "0x"+Integer.toHexString(format)); 81 static int format(int kind, int size, int slots) { method in class:Wrapper.Format 101 static int signed(int size) { return format(SIGNED, size, (size > 32 ? 2 : 1)); } 102 static int unsigned(int size) { return format(UNSIGNED, size, (size > 32 ? 2 : 1)); } 103 static int floating(int size) { return format(FLOATING, size, (size > 32 ? 2 : 1)); } 107 /// format querie [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/ |
H A D | XMLGregorianCalendarImpl.java | 314 * the serialization format to ensure future compatibility.</p> 364 // compute format string for this lexical representation. 365 String format = null; 370 // current parser needs a format string, 377 format = "%Y-%M-%DT%h:%m:%s" + "%z"; 380 format = "%h:%m:%s" + "%z"; 385 format = "---%D" + "%z"; 391 format = "--%M" + "%z"; 398 format = "--%M-%D" + "%z"; 424 format 2737 private final String format; field in class:XMLGregorianCalendarImpl.Parser 2746 Parser(String format, String value) argument 2934 private String format( String format ) { method in class:XMLGregorianCalendarImpl [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/ |
H A D | EmptySerializer.java | 191 public void setOutputFormat(Properties format) argument
|
H A D | ToUnknownStream.java | 230 * @param format the output properties to set 233 public void setOutputFormat(Properties format) argument 235 m_handler.setOutputFormat(format);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JSpinner.java | 911 DateEditorFormatter(SpinnerDateModel model, DateFormat format) { argument 912 super(format); 937 * displayed with a <code>JFormattedTextField</code> whose format 953 return MessageFormat.format(dateTimePatterns[8], dateTimeArgs); 1012 * @param format <code>DateFormat</code> object that's used to display 1022 private DateEditor(JSpinner spinner, DateFormat format) { argument 1030 DateFormatter formatter = new DateEditorFormatter(model, format); 1054 * <code>JFormattedTextField</code> uses to parse and format 1087 NumberEditorFormatter(SpinnerNumberModel model, NumberFormat format) { argument 1088 super(format); 1198 NumberEditor(JSpinner spinner, DecimalFormat format) argument [all...] |