/openjdk7/jdk/src/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 105 * java.text.MessageFormat is used to format the string. 114 String format = record.getMessage(); 118 format = catalog.getString(record.getMessage()); 120 // Drop through. Use record message as format [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/ |
H A D | XHTMLSerializer.java | 62 public XHTMLSerializer( OutputFormat format ) 64 super( true, format != null ? format : new OutputFormat( Method.XHTML, null, false ) ); 70 * using the specified output format. If <tt>format</tt> is null, 71 * will use a default output format. 74 * @param format The output format to use, null for the default 76 public XHTMLSerializer( Writer writer, OutputFormat format ) 78 super( true, format ! [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | Toolkit.java | 115 static long millis2bytes(AudioFormat format, long millis) { argument 116 long result = (long) (millis * format.getFrameRate() / 1000.0f * format.getFrameSize()); 117 return align(result, format.getFrameSize()); 123 static long bytes2millis(AudioFormat format, long bytes) { argument 124 return (long) (bytes / format.getFrameRate() * 1000.0f / format.getFrameSize()); 130 static long micros2bytes(AudioFormat format, long micros) { argument 131 long result = (long) (micros * format.getFrameRate() / 1000000.0f * format 138 bytes2micros(AudioFormat format, long bytes) argument 145 micros2frames(AudioFormat format, long micros) argument 152 frames2micros(AudioFormat format, long frames) argument 156 isFullySpecifiedAudioFormat(AudioFormat format) argument 192 isFullySpecifiedPCMFormat(AudioFormat format) argument [all...] |
H A D | SoftAudioBuffer.java | 41 private AudioFormat format; field in class:SoftAudioBuffer 45 public SoftAudioBuffer(int size, AudioFormat format) { argument 47 this.format = format; 48 converter = AudioFloatConverter.getConverter(format); 56 AudioFormat bak_format = format; 63 format = swap.format; 70 swap.format = bak_format; 76 return format; [all...] |
/openjdk7/jdk/src/share/classes/sun/audio/ |
H A D | AudioData.java | 46 * array rather than an arbitrary input stream) and a format 62 AudioFormat format; // carry forth the format array amusement field in class:AudioData 71 // if we cannot extract valid format information, we resort to assuming the data will be 8k mono u-law 73 this.format = DEFAULT_FORMAT; 75 // okay, we need to extract the format and the byte buffer of data 78 this.format = ais.getFormat(); 82 // use default format 84 // use default format 93 AudioData(AudioFormat format, byt argument [all...] |
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | SourceDataLine.java | 69 * Opens the line with the specified format and suggested buffer size, 91 * @param format the desired audio format 97 * or if <code>format</code> is not fully specified or invalid 108 public void open(AudioFormat format, int bufferSize) throws LineUnavailableException; argument 112 * Opens the line with the specified format, causing the line to acquire any 132 * @param format the desired audio format 135 * @throws IllegalArgumentException if <code>format</code> 147 public void open(AudioFormat format) throw argument [all...] |
H A D | TargetDataLine.java | 63 * Opens the line with the specified format and requested buffer size, 85 * @param format the desired audio format 91 * or if <code>format</code> is not fully specified or invalid 102 public void open(AudioFormat format, int bufferSize) throws LineUnavailableException; argument 106 * Opens the line with the specified format, causing the line to acquire any 125 * @param format the desired audio format 128 * @throws IllegalArgumentException if <code>format</code> 140 public void open(AudioFormat format) throw argument [all...] |
/openjdk7/jdk/src/macosx/native/sun/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);
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | xmlstream.hpp | 83 void va_tag(bool push, const char* format, va_list ap); 112 void elem(const char* format, ...); 113 void begin_elem(const char* format, ...); 114 void end_elem(const char* format, ...); 116 void head(const char* format, ...); 117 void begin_head(const char* format, ...); 118 void end_head(const char* format, ...); 120 void done(const char* format, ...); // xxx_done event, plus tail 125 void va_elem(const char* format, va_list ap); 126 void va_begin_elem(const char* format, va_lis 134 va_text(const char* format, va_list ap) argument [all...] |
/openjdk7/jdk/test/sun/text/resources/Format/ |
H A D | Bug4395196.java | 46 if( !sdf.format(now).equals(df.format(now))){ 48 System.out.println("error at " + sdf.format(now)); 52 if( !sdf.format(now).equals(df.format(now))){ 54 System.out.println("error at " + sdf.format(now)); 58 if( !sdf.format(now).equals(df.format(now))){ 60 System.out.println("error at " + sdf.format(now)); 64 if( !sdf.format(no [all...] |
/openjdk7/jdk/src/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);
|
/openjdk7/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...] |
/openjdk7/jaxws/src/share/jaxws_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...] |
/openjdk7/jaxws/src/share/jaxws_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...] |
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/ |
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...] |
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/helpers/ |
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...] |
/openjdk7/jaxws/src/share/jaxws_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...] |
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_gfx_impl.h | 62 /* converts a single i'th component to the specific format defined by format->shift[i] and format->mask[i] */ 63 #define CONVCOMP(quad,format,i) \ 64 (LSHIFT((quad),(format)->shift[i])&(format)->mask[i]) 66 /* extracts the component defined by format->shift[i] and format->mask[i] from a specific-format value */ 67 #define UNCONVCOMP(value,format, 73 ditherColor(rgbquad_t value, ImageFormat * format, int row, int col) argument 139 putRGBADither(rgbquad_t value, void *ptr, ImageFormat * format, int row, int col) argument 206 getRGBA(void *ptr, ImageFormat * format) argument [all...] |
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/ |
H A D | EUC_TW.java | 129 out.format(copyright); 130 out.format("%n// -- This file was mechanically generated: Do not edit! -- //%n"); 131 out.format("package sun.nio.cs.ext;%n%n"); 132 out.format("class EUC_TWMapping {%n%n"); 135 out.format(" final static int b1Min = 0x%x;%n", b1Min); 136 out.format(" final static int b1Max = 0x%x;%n", b1Max); 137 out.format(" final static int b2Min = 0x%x;%n", b2Min); 138 out.format(" final static int b2Max = 0x%x;%n", b2Max); 141 out.format("%n final static String[] b2c = {%n"); 143 out.format(" // Plan [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/ |
H A D | Messages.java | 49 return format(); 52 public String format( Object... args ) { method in class:Messages 53 return MessageFormat.format( rb.getString(name()), args );
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/apt/ |
H A D | Messages.java | 46 return format(); 49 public String format( Object... args ) { method in class:Messages 50 return MessageFormat.format( rb.getString(name()), args );
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/util/ |
H A D | Messages.java | 42 return format(); 45 public String format( Object... args ) { method in class:Messages 46 return MessageFormat.format( rb.getString(name()), args );
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/bean/ |
H A D | Messages.java | 48 return format(); 51 public String format( Object... args ) { method in class:Messages 52 return MessageFormat.format( rb.getString(name()), args );
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/bean/field/ |
H A D | Messages.java | 43 return format(); 46 public String format( Object... args ) { method in class:Messages 47 return MessageFormat.format( rb.getString(name()), args );
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/ct/ |
H A D | Messages.java | 40 return format(); 43 public String format( Object... args ) { method in class:Messages 44 return MessageFormat.format( rb.getString(name()), args );
|