/openjdk10/jdk/src/java.base/share/classes/java/time/format/ |
H A D | package-info.java | 69 * {@link java.time.format.DateTimeFormatter DateTimeFormatter} class. 71 * {@link java.time.format.DateTimeFormatter DateTimeFormatter}, however 72 * {@link java.time.format.DateTimeFormatterBuilder DateTimeFormatterBuilder} 77 * {@link java.time.format.DateTimeFormatter#withLocale(java.util.Locale) withLocale(Locale)} 79 * {@link java.time.format.DecimalStyle DecimalStyle}. 95 package java.time.format;
|
H A D | FormatStyle.java | 62 package java.time.format; 80 * For example, the format might be 'Tuesday, April 12, 1952 AD' or '3:30:42pm PST'. 85 * For example, the format might be 'January 12, 1952'. 90 * For example, the format might be 'Jan 12, 1952'. 95 * For example, the format might be '12.13.52' or '3:30pm'.
|
H A D | ResolverStyle.java | 62 package java.time.format;
|
/openjdk10/nashorn/test/script/basic/ |
H A D | NASHORN-188.js | 32 function format(value) { function 54 format(0); 55 format(1/10); 56 format(1/12); 57 format(1); 58 format(123456789000); 59 format(123456.123456); 60 format(-1/10); 61 format(-1/12); 62 format( [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/ |
H A D | BailoutException.java | 43 public BailoutException(String format, Object... args) { argument 44 super(String.format(Locale.ENGLISH, format, args)); 54 public BailoutException(Throwable cause, String format, Object... args) { argument 55 super(String.format(Locale.ENGLISH, format, args), cause); 65 public BailoutException(boolean permanent, String format, Object... args) { argument 66 super(String.format(Locale.ENGLISH, format, args));
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serialize/ |
H A D | XHTMLSerializer.java | 63 public XHTMLSerializer( OutputFormat format ) 65 super( true, format != null ? format : new OutputFormat( Method.XHTML, null, false ) ); 71 * using the specified output format. If <tt>format</tt> is null, 72 * will use a default output format. 75 * @param format The output format to use, null for the default 77 public XHTMLSerializer( Writer writer, OutputFormat format ) 79 super( true, format ! [all...] |
/openjdk10/jdk/src/java.logging/share/classes/java/util/logging/ |
H A D | Formatter.java | 57 * convenience method to localize and format the message field. 62 public abstract String format(LogRecord record); method in class:Formatter 93 * Localize and format the message string from a log record. This 97 * The message string is first localized to a format string using 100 * format string.) The format String uses java.text style 106 * java.text.MessageFormat is used to format the string. 114 String format = record.getMessage(); 118 format = catalog.getString(format); [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/ |
H A D | Toolkit.java | 111 static long millis2bytes(AudioFormat format, long millis) { argument 112 long result = (long) (millis * format.getFrameRate() / 1000.0f * format.getFrameSize()); 113 return align(result, format.getFrameSize()); 119 static long bytes2millis(AudioFormat format, long bytes) { argument 120 return (long) (bytes / format.getFrameRate() * 1000.0f / format.getFrameSize()); 126 static long micros2bytes(AudioFormat format, long micros) { argument 127 long result = (long) (micros * format.getFrameRate() / 1000000.0f * format 134 bytes2micros(AudioFormat format, long bytes) argument 141 micros2frames(AudioFormat format, long micros) argument 148 frames2micros(AudioFormat format, long frames) argument 166 isFullySpecifiedAudioFormat(AudioFormat format) argument 201 isFullySpecifiedPCMFormat(AudioFormat format) argument [all...] |
H A D | SoftAudioBuffer.java | 42 private AudioFormat format; field in class:SoftAudioBuffer 46 public SoftAudioBuffer(int size, AudioFormat format) { argument 48 this.format = format; 49 converter = AudioFloatConverter.getConverter(format); 57 AudioFormat bak_format = format; 64 format = swap.format; 71 swap.format = bak_format; 77 return format; [all...] |
/openjdk10/hotspot/src/share/vm/utilities/ |
H A D | formatBuffer.hpp | 32 // Simple class to format the ctor arguments into a fixed-sized buffer. 45 FormatBufferResource(const char * format, ...) ATTRIBUTE_PRINTF(2, 3); 54 inline FormatBuffer(const char* format, ...) ATTRIBUTE_PRINTF(2, 3); 56 inline FormatBuffer(FormatBufferDummy dummy, const char* format, va_list ap) ATTRIBUTE_PRINTF(3, 0); 57 inline void append(const char* format, ...) ATTRIBUTE_PRINTF(2, 3); 58 inline void print(const char* format, ...) ATTRIBUTE_PRINTF(2, 3); 59 inline void printv(const char* format, va_list ap) ATTRIBUTE_PRINTF(2, 0); 73 FormatBuffer<bufsz>::FormatBuffer(const char * format, ...) : FormatBufferBase(_buffer) { argument 75 va_start(argp, format); 76 jio_vsnprintf(_buf, bufsz, format, arg 81 FormatBuffer(FormatBufferDummy dummy, const char * format, va_list ap) argument 91 print(const char * format, ...) argument 99 printv(const char * format, va_list argp) argument 104 append(const char* format, ...) argument [all...] |
H A D | formatBuffer.cpp | 32 FormatBufferResource::FormatBufferResource(const char * format, ...) argument 35 va_start(argp, format); 36 jio_vsnprintf(_buf, FormatBufferBase::BufferSize, format, argp);
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/sound/sampled/ |
H A D | SourceDataLine.java | 67 * Opens the line with the specified format and suggested buffer size, 88 * @param format the desired audio format 93 * integral number of sample frames, or if {@code format} is not 104 void open(AudioFormat format, int bufferSize) argument 108 * Opens the line with the specified format, causing the line to acquire any 126 * @param format the desired audio format 129 * @throws IllegalArgumentException if {@code format} is not fully specified 140 void open(AudioFormat format) throw argument [all...] |
H A D | TargetDataLine.java | 61 * Opens the line with the specified format and requested buffer size, 82 * @param format the desired audio format 87 * integral number of sample frames, or if {@code format} is not 98 void open(AudioFormat format, int bufferSize) throws LineUnavailableException; argument 101 * Opens the line with the specified format, causing the line to acquire any 119 * @param format the desired audio format 122 * @throws IllegalArgumentException if {@code format} is not fully specified 133 void open(AudioFormat format) throw argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/ |
H A D | RetryableBailoutException.java | 31 public RetryableBailoutException(String format, Object... args) { argument 32 super(false, format, args); 39 public RetryableBailoutException(Throwable cause, String format, Object... args) { argument 40 super(cause, format, args);
|
H A D | PermanentBailoutException.java | 31 public PermanentBailoutException(String format, Object... args) { argument 32 super(true, format, args); 39 public PermanentBailoutException(Throwable cause, String format, Object... args) { argument 40 super(cause, format, args);
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.code/src/org/graalvm/compiler/code/ |
H A D | SourceStackTraceBailoutException.java | 35 public static SourceStackTraceBailoutException create(Throwable cause, String format, StackTraceElement[] elements) { argument 36 return new SourceStackTraceBailoutException(cause, format) { 49 private SourceStackTraceBailoutException(Throwable cause, String format) { argument 50 super(cause, format);
|
/openjdk10/jdk/src/java.desktop/macosx/native/libawt_lwawt/awt/ |
H A D | CDataTransferer.h | 37 extern jlong indexForFormat(NSString *format); 40 * Inverse of above -- given a long int index, get the matching data format NSString. 47 extern jlong registerFormatWithPasteboard(NSString *format);
|
/openjdk10/jdk/test/javax/sound/sampled/AudioFormat/ |
H A D | AudioFormatBitSize.java | 36 AudioFormat format = new AudioFormat(44100.0f, bits, 1, true, false); 37 if (format.getFrameSize() * 8 < bits) { 38 System.out.println("bits = "+bits+" do not fit into a "+format.getFrameSize()+" bytes sample!"); 41 System.out.println("bits = "+bits+" fit OK into a "+format.getFrameSize()+" bytes sample!");
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodeinfo.processor/src/org/graalvm/compiler/nodeinfo/processor/ |
H A D | ElementException.java | 34 public ElementException(Element element, String format, Object... args) { argument 35 super(String.format(format, args));
|
/openjdk10/jdk/src/jdk.jcmd/share/classes/sun/tools/jstat/ |
H A D | OptionOutputFormatter.java | 38 private OptionFormat format; field in class:OptionOutputFormatter 42 public OptionOutputFormatter(MonitoredVm vm, OptionFormat format) argument 45 this.format = format; 52 format.apply(ec); 58 format.apply(hc); 66 format.apply(rc);
|
/openjdk10/jdk/test/javax/sound/midi/Gervill/SoftSynthesizer/ |
H A D | GetPropertyInfo.java | 52 p.put("format", "8000 HZ 24 BIT MONO UNSIGNED BIG-ENDIAN"); 64 if (ap[i].name.equals("format")) { 65 AudioFormat format = (AudioFormat) ap[i].value; 66 assertTrue(format.getChannels() == 1); 67 assertTrue(format.getSampleSizeInBits() == 24); 68 assertTrue(format.isBigEndian()); 69 assertTrue(Math.abs(format.getSampleRate() - 8000) < 0.001); 70 assertTrue(format.getEncoding() == Encoding.PCM_UNSIGNED); 74 p.put("format", "9000 Hz, 8 bit, 4 channels"); 77 if (ap[i].name.equals("format")) { [all...] |
/openjdk10/jdk/test/javax/sound/sampled/Mixers/ |
H A D | BothEndiansAndSigns.java | 79 out(" Unexpected exception when getting a format: "+e1); 89 public static void checkFormat(AudioFormat[] formats, AudioFormat format) { argument 92 if (formats[i].matches(format)) { 96 out(" ## expected this format: "+format 97 +" ("+format.getChannels()+" channels, " 98 +"frameSize="+format.getFrameSize()+", " 99 +(format.isBigEndian()?"big endian":"little endian") 104 public static AudioFormat getOtherEndianOrSign(AudioFormat format) { argument 106 boolean newEndian = format [all...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/util/ |
H A D | Messages.java | 36 static String format( String property ) { method in class:Messages 37 return format( property, null ); 40 static String format( String property, Object arg1 ) { method in class:Messages 41 return format( property, new Object[]{arg1} ); 44 static String format( String property, Object arg1, Object arg2 ) { method in class:Messages 45 return format( property, new Object[]{arg1,arg2} ); 48 static String format( String property, Object arg1, Object arg2, Object arg3 ) { method in class:Messages 49 return format( property, new Object[]{arg1,arg2,arg3} ); 55 static String format( String property, Object[] args ) { method in class:Messages 57 return MessageFormat.format(tex [all...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/marshaller/ |
H A D | Messages.java | 38 public static String format( String property ) { method in class:Messages 39 return format( property, null ); 42 public static String format( String property, Object arg1 ) { method in class:Messages 43 return format( property, new Object[]{arg1} ); 46 public static String format( String property, Object arg1, Object arg2 ) { method in class:Messages 47 return format( property, new Object[]{arg1,arg2} ); 50 public static String format( String property, Object arg1, Object arg2, Object arg3 ) { method in class:Messages 51 return format( property, new Object[]{arg1,arg2,arg3} ); 57 static String format( String property, Object[] args ) { method in class:Messages 59 return MessageFormat.format(tex [all...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/unmarshaller/ |
H A D | Messages.java | 38 public static String format( String property ) { method in class:Messages 39 return format( property, null ); 42 public static String format( String property, Object arg1 ) { method in class:Messages 43 return format( property, new Object[]{arg1} ); 46 public static String format( String property, Object arg1, Object arg2 ) { method in class:Messages 47 return format( property, new Object[]{arg1,arg2} ); 50 public static String format( String property, Object arg1, Object arg2, Object arg3 ) { method in class:Messages 51 return format( property, new Object[]{arg1,arg2,arg3} ); 57 public static String format( String property, Object[] args ) { method in class:Messages 59 return MessageFormat.format(tex [all...] |