Searched defs:format (Results 176 - 200 of 329) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DRIFFWriter.java172 public RIFFWriter(String name, String format) throws IOException { argument
173 this(new RandomAccessFileWriter(name), format, 0);
176 public RIFFWriter(File file, String format) throws IOException { argument
177 this(new RandomAccessFileWriter(file), format, 0);
180 public RIFFWriter(OutputStream stream, String format) throws IOException { argument
181 this(new RandomAccessByteWriter(stream), format, 0);
184 private RIFFWriter(RandomAccessWriter raf, String format, int chunktype) argument
198 raf.write((format + " ").substring(0, 4).getBytes("ascii"));
206 raf.write((format + " ").substring(0, 4).getBytes("ascii"));
276 public RIFFWriter writeList(String format) throw argument
289 writeChunk(String format) argument
[all...]
H A DSoftMixingMixer.java77 private AudioFormat format = new AudioFormat(44100, 16, 2, true, false); field in class:SoftMixingMixer
352 format = line.getFormat();
379 AudioFormat format = formats[j];
380 if(format.getChannels() == 2 ||
381 format.getChannels() == AudioSystem.NOT_SPECIFIED)
382 if(format.getEncoding().equals(Encoding.PCM_SIGNED) ||
383 format.getEncoding().equals(Encoding.PCM_UNSIGNED))
384 if(format.getSampleRate() == AudioSystem.NOT_SPECIFIED ||
385 format.getSampleRate() == 48000.0)
386 if(format
[all...]
H A DSoftMixingSourceDataLine.java49 private AudioFormat format = new AudioFormat(44100.0f, 16, 2, true, false); field in class:SoftMixingSourceDataLine
278 open(format);
281 public void open(AudioFormat format) throws LineUnavailableException { argument
283 bufferSize = ((int) (format.getFrameRate() / 2))
284 * format.getFrameSize();
285 open(format, bufferSize);
288 public void open(AudioFormat format, int bufferSize) argument
293 if (bufferSize < format.getFrameSize() * 32)
294 bufferSize = format.getFrameSize() * 32;
307 % format
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/ntlm/
H A DNTLM.java94 * "ntlm.debug" is set, <code>System.out.printf(format, args)</code> is
97 * @param format a format string
98 * @param args the arguments referenced by <code>format</code>
101 public void debug(String format, Object... args) { argument
103 System.out.printf(format, args);
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_CFGPrinter.cpp53 void print(const char* format, ...);
125 void CFGPrinterOutput::print(const char* format, ...) { argument
129 va_start(ap, format);
130 output()->vprint_cr(format, ap);
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/
H A DUtils.java141 out.format("\\b"); break;
143 out.format("\\t"); break;
145 out.format("\\n"); break;
147 out.format("\\f"); break;
149 out.format("\\r"); break;
151 out.format("\\\""); break;
153 out.format("\\'"); break;
155 out.format("\\\\"); break;
157 out.format(fmt, c & 0xffff);
161 public void format(Strin method in class:Utils.Output
165 public void format(char[] cc, int off, int end, String closure) { method in class:Utils.Output
180 public void format(char[] cc, String closure) { method in class:Utils.Output
184 public void format(char[] db, int b1, int b2Min, int b2Max, method in class:Utils.Output
195 public void format(char[] date) { method in class:Utils.Output
[all...]
/openjdk7/jdk/make/tools/src/build/tools/generatecurrencydata/
H A DGenerateCurrencyData.java40 * Reads currency data in properties format from the file specified in the
63 * See CurrencyData.properties for the input format description and
64 * Currency.java for the format descriptions of the generated tables.
129 // date format for parsing cut-over times
130 private static SimpleDateFormat format; field in class:GenerateCurrencyData
148 format = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss", Locale.US);
149 format.setTimeZone(TimeZone.getTimeZone("GMT"));
150 format.setLenient(false);
283 long time = format.parse(timeString).getTime();
/openjdk7/jdk/src/share/back/
H A Dlog_messages.c59 char format[MAXLEN_TIMESTAMP+1]; local
66 (void)strftime(format, sizeof(format),
69 (void)snprintf(tbuf, ltbuf, format, (int)(millisecs));
122 const char *format; local
128 format="[#|%s|%s|%s|%s|%s|%s:%s|#]\n";
130 print_message(fp, "", "", format,
142 log_message_end(const char *format, ...) argument
181 va_start(ap, format);
182 (void)vsnprintf(message, sizeof(message), format, a
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A Devents.hpp151 void logv(Thread* thread, const char* format, va_list ap) { argument
159 _records[index].data.printv(format, ap);
162 void log(Thread* thread, const char* format, ...) { argument
164 va_start(ap, format);
165 logv(thread, format, ap);
195 // Logs a generic message with timestamp and format as printf.
196 static void log(Thread* thread, const char* format, ...);
199 static void log_exception(Thread* thread, const char* format, ...);
201 static void log_deopt_message(Thread* thread, const char* format, ...);
208 inline void Events::log(Thread* thread, const char* format, argument
217 log_exception(Thread* thread, const char* format, ...) argument
226 log_deopt_message(Thread* thread, const char* format, ...) argument
[all...]
H A Dexceptions.cpp236 void Exceptions::fthrow(Thread* thread, const char* file, int line, Symbol* h_name, const char* format, ...) { argument
239 va_start(ap, format);
241 vsnprintf(msg, max_msg_size, format, ap);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/
H A DMessages.java37 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/tools/internal/xjc/reader/xmlschema/
H A DMessages.java37 public static String format( String property, Object... args ) { method in class:Messages
39 return MessageFormat.format(text,args);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Robot.c107 int32_t format = ZPixmap; local
153 format,
/openjdk7/jdk/src/windows/native/sun/awt_common/
H A Dawt_makecube.cpp432 jio_fprintf (FILE *handle, const char *format, ...) argument
437 va_start(args, format);
438 len = vfprintf(handle, format, args);
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DSurfaceData.cpp215 D3DFORMAT format; local
232 format = pCtx->GetPresentationParams()->BackBufferFormat;
234 format = D3DFMT_UNKNOWN;
240 &format, 0/*usage*/, &d3dsdo->pResource);
266 D3DFORMAT format = D3DFMT_UNKNOWN; local
285 &format, &d3dsdo->pResource);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Clipboard.cpp214 jlong format,
227 if (format == CF_ENHMETAFILE) {
241 VERIFY(::SetClipboardData((UINT)format, hemf));
244 } else if (format == CF_METAFILEPICT) {
279 VERIFY(::SetClipboardData((UINT)format, hmfp));
286 HGLOBAL hglobal = ::GlobalAlloc(GALLOCFLG, nBytes + ((format == CF_HDROP)
294 if (format == CF_HDROP) {
304 VERIFY(::SetClipboardData((UINT)format, hglobal));
353 (JNIEnv *env, jobject self, jlong format)
359 HANDLE handle = ::GetClipboardData((UINT)format);
212 Java_sun_awt_windows_WClipboard_publishClipboardData(JNIEnv *env, jobject self, jlong format, jbyteArray bytes) argument
352 Java_sun_awt_windows_WClipboard_getClipboardData(JNIEnv *env, jobject self, jlong format) argument
[all...]
H A Dawt_DnDDT.h67 virtual jobject DoGetData(jlong format);
99 virtual jobject GetData(jlong format);
124 jlong format; member in struct:AwtDropTarget::_GetDataRec
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/
H A DTokenList.java234 public String format(String separator, String[] quotes) { method in class:TokenList
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DAbstractDiagnosticFormatter.java112 public String format(JCDiagnostic d, Locale locale) { method in class:AbstractDiagnosticFormatter
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_gfx.h86 ImageFormat *format; // format of the samples member in struct:ImageRect
127 int stride, void *pBits, ImageFormat * format);
134 void initFormat(ImageFormat * format, int redMask, int greenMask,
137 void dumpFormat(ImageFormat * format);
139 void optimizeFormat(ImageFormat * format);
H A Dsplashscreen_gfx_impl.h62 /* 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/src/share/classes/sun/util/logging/
H A DPlatformLogger.java501 outputStream().print(format(level, msg, null));
507 outputStream().print(format(level, msg, thrown));
514 outputStream().print(format(level, newMsg, null));
529 private String formatMessage(String format, Object... parameters) { argument
533 // No parameters. Just return format string.
534 return format;
536 // Is it a java.text style format?
538 // Pattern.compile("\\{\\d").matcher(format).find())
541 if (format.indexOf("{0") >= 0 || format
557 private synchronized String format(Level level, String msg, Throwable thrown) { method in class:PlatformLogger.DefaultLoggerProxy
[all...]
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/
H A DOutputImageTests.java100 "format", "Image Format",
140 // a particular format, as is the case for JPEG2000 in the JAI
144 String format = spi.getFormatNames()[0].toLowerCase();
147 suffix = format;
178 String format; field in class:OutputImageTests.Context
198 format = writerspi.getFileSuffixes()[0].toLowerCase();
211 if (format.equals("wbmp")) {
225 format = "jpeg";
232 ImageIO.write(image, format, f);
236 ImageIO.write(image, format, ou
[all...]
/openjdk7/jdk/src/share/demo/jfc/CodePointIM/
H A DCodePointInputMethod.java75 private int format = UNSET; field in class:CodePointInputMethod
163 if (format == SPECIAL_ESCAPE) {
170 if (format == SPECIAL_ESCAPE) {
172 } else if (format == SURROGATE_PAIR) {
179 // Only SPECIAL_ESCAPE format uses this state.
180 // Since the second "\\u" of SURROGATE_PAIR format is inserted
188 if (format == SURROGATE_PAIR) {
205 format = (c == 'u') ? ESCAPE : SPECIAL_ESCAPE;
229 format = SURROGATE_PAIR;
233 format
[all...]
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/rmi/
H A DMain.java99 static int format = TEXT; field in class:Main
131 p.println(" -html format output as html " +
133 p.println(" -xml format output as xml");
233 if (format != TEXT)
235 format = HTML;
237 if (format != TEXT)
239 format = XML;
408 switch (format) {
422 die("Error: unrecognized format type");

Completed in 90 milliseconds

1234567891011>>