/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/ |
H A D | Printer.java | 49 * The output format associated with this serializer. This will never 50 * be a null reference. If no format was passed to the constructor, 51 * the default one for this document type will be used. The format 104 public Printer( Writer writer, OutputFormat format) argument 107 _format = format;
|
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | AudioFormat.java | 34 * By examing the information stored in the audio format, you can discover how to interpret the bits in the 37 * Every data line has an audio format associated with its data stream. The audio format of a source (playback) data line indicates 38 * what kind of data the data line expects to receive for output. For a target (capture) data line, the audio format specifies the kind 48 * The encoding that a specific format uses is named by its <code>encoding</code> field. 50 * In addition to the encoding, the audio format includes other properties that further specify the exact 73 * additional format specifications, like the bit rate for 75 * to transport additional information of the audio format 130 * The audio encoding technique used by this format. 135 * The number of samples played or recorded per second, for sounds that have this format 448 matches(AudioFormat format) argument [all...] |
H A D | AudioInputStream.java | 34 * An audio input stream is an input stream with a specified audio format and 50 * <li> convert an audio input stream to a different audio format 70 * The format of the audio data contained in the stream. 72 protected AudioFormat format; field in class:AudioInputStream 118 * Constructs an audio input stream that has the requested format and length in sample frames, 122 * @param format the format of this stream's audio data 125 public AudioInputStream(InputStream stream, AudioFormat format, long length) { argument 129 this.format = format; [all...] |
H A D | DataLine.java | 33 * report the current position, volume, and audio format of the media. 163 * Obtains the current format (encoding, sample rate, number of channels, 167 * the default format. The default format is an implementation 168 * specific audio format, or, if the <code>DataLine.Info</code> 170 * specifies at least one fully qualified audio format, the 171 * last one will be used as the default format. Opening the 172 * line with a specific audio format (e.g. 174 * default format. 176 * @return current audio data format 325 Info(Class<?> lineClass, AudioFormat format, int bufferSize) argument 350 Info(Class<?> lineClass, AudioFormat format) argument 392 isFormatSupported(AudioFormat format) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | NumberFormatter.java | 108 * @param format Format used to dictate legal values 110 public NumberFormatter(NumberFormat format) { argument 111 super(format); 112 setFormat(format); 119 * Sets the format that dictates the legal values that can be edited 126 * @param format NumberFormat instance used to dictate legal values 128 public void setFormat(Format format) { argument 129 super.setFormat(format);
|
/openjdk7/jdk/src/share/classes/java/awt/print/ |
H A D | PrinterJob.java | 142 * @param mimeType the required output format, or null to mean any format. 204 * is the default page format. 212 * <code>format</code>. The pages in the document to be printed by 215 * <code>PageFormat</code> of each page is <code>format</code>. 218 * @param format the size and orientation of each page to 221 public abstract void setPrintable(Printable painter, PageFormat format); argument 329 * containing the format indicated by the user if the 358 * @return a page format if the user does not cancel the dialog;
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | Console.java | 54 * {@link #readLine()}, {@link #readPassword()}, {@link #format format()}, 55 * {@link #printf printf()} as well as the read, format and write operations 139 * the specified format string and arguments. 142 * A format string as described in <a 146 * Arguments referenced by the format specifiers in the format 147 * string. If there are more arguments than format specifiers, the 157 * If a format string contains an illegal syntax, a format 167 public Console format(String fmt, Object ...args) { method in class:Console 206 printf(String format, Object ... args) argument [all...] |
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | ChoiceFormat.java | 47 * A <code>ChoiceFormat</code> allows you to attach a format to a range of numbers. 95 * System.out.println(i + " -> " + form.format(i) + " -> " 96 * + form.parse(form.format(i),status)); 100 * Here is a more complex example, with a pattern format: 113 * System.out.println(pattform.format(testArgs)); 126 * System.out.println("Format with -INF : " + fmt.format(Double.NEGATIVE_INFINITY)); 127 * System.out.println("Format with -1.0 : " + fmt.format(-1.0)); 128 * System.out.println("Format with 0 : " + fmt.format(0)); 129 * System.out.println("Format with 0.9 : " + fmt.format(0.9)); 130 * System.out.println("Format with 1.0 : " + fmt.format( 370 public StringBuffer format(long number, StringBuffer toAppendTo, method in class:ChoiceFormat 381 public StringBuffer format(double number, StringBuffer toAppendTo, method in class:ChoiceFormat [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | AbstractDataLine.java | 45 // default format 56 // current format 57 protected AudioFormat format; field in class:AbstractDataLine 77 protected AbstractDataLine(DataLine.Info info, AbstractMixer mixer, Control[] controls, AudioFormat format, int bufferSize) { argument 82 if (format != null) { 83 defaultFormat = format; 96 this.format = defaultFormat; 103 public final void open(AudioFormat format, int bufferSize) throws LineUnavailableException { argument 106 if (Printer.trace) Printer.trace("> AbstractDataLine.open(format, bufferSize) (class: "+getClass().getName()); 108 // if the line is not currently open, try to open it with this format an 152 open(AudioFormat format) argument 455 implOpen(AudioFormat format, int bufferSize) argument [all...] |
H A D | AiffFileFormat.java | 33 * AIFF file format. 77 AiffFileFormat(Type type, int byteLength, AudioFormat format, int frameLength) { argument 78 super(type, byteLength, format, frameLength);
|
H A D | AudioFloatInputStream.java | 52 private final AudioFormat format; field in class:AudioFloatInputStream.BytaArrayAudioFloatInputStream 61 this.format = converter.getFormat(); 64 framesize_pc = format.getFrameSize() / format.getChannels(); 70 return format; 74 return buffer_len;// / format.getFrameSize(); 136 AudioFormat format = stream.getFormat(); 140 AudioFormat.Encoding.PCM_SIGNED, format); 144 float samplerate = format.getSampleRate(); 145 int samplesizeinbits = format 237 getInputStream(AudioFormat format, byte[] buffer, int offset, int len) argument [all...] |
H A D | DataPusher.java | 46 private final AudioFormat format; field in class:DataPusher 69 public DataPusher(SourceDataLine sourceLine, AudioFormat format, byte[] audioData, int byteLength) { argument 72 this.format = format; 78 this.format = ais.getFormat(); 99 source.open(format);
|
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 | WaveFileFormat.java | 33 * WAVE file format class. 41 * Wave format type. 82 WaveFileFormat(AudioFileFormat.Type type, int lengthInBytes, AudioFormat format, int lengthInFrames) { argument 84 super(type,lengthInBytes,format,lengthInFrames); 86 AudioFormat.Encoding encoding = format.getEncoding(); 111 // use dynamic format chunk size
|
/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/ |
H A D | Method.java | 52 String format(int osr_bci) { method in class:Method
|
/openjdk7/jdk/make/tools/src/build/tools/javazic/ |
H A D | ZoneRec.java | 51 private String format; field in class:ZoneRec 101 return format; 221 rec.format = tokens.nextToken();
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CDropTargetContextPeer.java | 67 protected Object getNativeData(long format) { argument 74 fNativeDropTransfer = startTransfer(nativeDropTarget, format); 76 addTransfer(nativeDropTarget, fNativeDropTransfer, format); 79 while (format != fNativeDataAvailable) { 148 private void newData(long format, byte[] data) { argument 149 fNativeDataAvailable = format; 156 private void transferFailed(long format) { argument 157 fNativeDataAvailable = format; 164 private native long startTransfer(long nativeDropTarget, long format); argument 167 private native void addTransfer(long nativeDropTarget, long nativeDropTransfer, long format); argument [all...] |
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/ |
H A D | Utils.java | 97 * Apply String.format first, and then pass through Substituter. 99 public static String format(String format, Object... args){ argument 100 return new Substituter(String.format(format, args)).toString();
|
/openjdk7/jdk/src/share/back/ |
H A D | error_messages.c | 61 const char *format, va_list ap) 68 (void)vsnprintf((char*)utf8buf, MAX_MESSAGE_LEN, format, ap); 89 const char *format, ...) 93 va_start(ap, format); 94 vprint_message(fp, prefix, suffix, format, ap); 100 error_message(const char *format, ...) argument 104 va_start(ap, format); 105 vprint_message(stderr, "ERROR: ", "\n", format, ap); 114 tty_message(const char *format, ...) argument 118 va_start(ap, format); 60 vprint_message(FILE *fp, const char *prefix, const char *suffix, const char *format, va_list ap) argument 88 print_message(FILE *fp, const char *prefix, const char *suffix, const char *format, ...) argument [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | debug.hpp | 33 // Simple class to format the ctor arguments into a fixed-sized buffer. 46 FormatBufferResource(const char * format, ...); 53 inline FormatBuffer(const char * format, ...); 54 inline void append(const char* format, ...); 55 inline void print(const char* format, ...); 56 inline void printv(const char* format, va_list ap); 70 FormatBuffer<bufsz>::FormatBuffer(const char * format, ...) : FormatBufferBase(_buffer) { argument 72 va_start(argp, format); 73 jio_vsnprintf(_buf, bufsz, format, argp); 83 void FormatBuffer<bufsz>::print(const char * format, argument 91 printv(const char * format, va_list argp) argument 96 append(const char* format, ...) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ |
H A D | Messages.java | 37 static String format( String property, Object... args ) { method in class:Messages 39 return MessageFormat.format(text,args);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/ |
H A D | Messages.java | 67 return format(); 70 public String format( Object... args ) { method in class:Messages 71 return MessageFormat.format( rb.getString(name()), args );
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WDropTargetContextPeer.java | 82 protected Object getNativeData(long format) { argument 83 return getData(getNativeDragContext(), format); 114 private native Object getData(long nativeContext, long format); argument
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/ |
H A D | DiagnosticFormatter.java | 58 public String format(D diag, Locale l); method in interface:DiagnosticFormatter
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | ForwardingDiagnosticFormatter.java | 80 public String format(D diag, Locale l) { method in class:ForwardingDiagnosticFormatter 81 return formatter.format(diag, l);
|