/external/webkit/SunSpider/tests/sunspider-0.9/ |
date-format-xparb.js | 18 Date.prototype.dateFormat = function(format) { 19 if (Date.formatFunctions[format] == null) { 20 Date.createNewFormat(format); 22 var func = Date.formatFunctions[format]; 26 Date.createNewFormat = function(format) { 27 var funcName = "format" + Date.formatFunctions.count++; 28 Date.formatFunctions[format] = funcName; 32 for (var i = 0; i < format.length; ++i) { 33 ch = format.charAt(i); 109 Date.parseDate = function(input, format) { [all...] |
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
date-format-xparb.js | 18 Date.prototype.dateFormat = function(format) { 19 if (Date.formatFunctions[format] == null) { 20 Date.createNewFormat(format); 22 var func = Date.formatFunctions[format]; 26 Date.createNewFormat = function(format) { 27 var funcName = "format" + Date.formatFunctions.count++; 28 Date.formatFunctions[format] = funcName; 32 for (var i = 0; i < format.length; ++i) { 33 ch = format.charAt(i); 109 Date.parseDate = function(input, format) { [all...] |
/frameworks/base/awt/org/apache/harmony/awt/internal/nls/ |
MsgHelp.java | 76 String format = msg; local 79 format = THE_BUNDLE.getString(msg); 84 return org.apache.harmony.luni.util.MsgHelp.format(format, args);
|
/frameworks/base/awt/org/apache/harmony/beans/internal/nls/ |
MsgHelp.java | 76 String format = msg; local 79 format = THE_BUNDLE.getString(msg); 84 return org.apache.harmony.luni.util.MsgHelp.format(format, args);
|
/frameworks/base/opengl/libagl/ |
dxt.h | 29 void *surface, int stride, int format);
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioHardwareBase.h | 47 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
|
AudioHardwareInterface.h | 57 * return audio format in 8bit or 16bit PCM format - 60 virtual int format() const = 0; 65 uint32_t frameSize() const { return AudioSystem::popCount(channels())*((format()==AudioSystem::PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); } 126 * return audio format in 8bit or 16bit PCM format - 129 virtual int format() const = 0; 134 uint32_t frameSize() const { return AudioSystem::popCount(channels())*((format()==AudioSystem::PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); } 220 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount) = 0; 225 int *format=0 [all...] |
/sdk/anttasks/src/com/android/ant/ |
TaskHelper.java | 27 throw new BuildException(String.format("Path value for '%1$s' is not valid.", attribute));
|
/system/core/adb/ |
utils.h | 56 char* buff_add (char* buff, char* buffEnd, const char* format, ... );
|
/external/dropbear/ |
svr-session.c | 126 /* failure exit - format must be <= 100 chars */ 127 void svr_dropbear_exit(int exitcode, const char* format, va_list param) { 134 "premature exit: %s", format); 139 ses.authstate.printableuser, format); 144 ses.authstate.printableuser, ses.authstate.failcount, format); 148 "exit before auth: %s", format); 161 void svr_dropbear_log(int priority, const char* format, va_list param) { 168 vsnprintf(printbuf, sizeof(printbuf), format, param);
|
/external/qemu/distrib/sdl-1.2.12/src/audio/windx5/ |
SDL_dx5audio.c | 196 error = "Unsupported audio format"; 430 DSBUFFERDESC format; local 445 SDL_memset(&format, 0, sizeof(format)); 446 format.dwSize = sizeof(format); 447 format.dwFlags=(DSBCAPS_PRIMARYBUFFER|DSBCAPS_GETCURRENTPOSITION2); 448 format.dwFlags |= DSBCAPS_STICKYFOCUS; 450 format.dwFlags |= DSBCAPS_CTRLPOSITIONNOTIFY; 452 result = IDirectSound_CreateSoundBuffer(sndObj, &format, sndbuf, NULL) 506 DSBUFFERDESC format; local [all...] |
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/ |
AudioFormat.java | 184 public boolean matches(AudioFormat format) { 185 if (!encoding.equals(format.getEncoding()) || 186 channels != format.getChannels() || 187 sampleSizeInBits != format.getSampleSizeInBits() || 188 frameSize != format.getFrameSize()) { 191 if (format.getSampleRate() != AudioSystem.NOT_SPECIFIED && 192 sampleRate != format.getSampleRate()) { 196 if (format.getFrameRate() != AudioSystem.NOT_SPECIFIED && 197 frameRate != format.getFrameRate()) { 202 && (bigEndian != format.isBigEndian())) [all...] |
/external/esd/include/ |
esd.h | 65 ESD_PROTO_SERVER_INFO, /* get server info (ver, sample rate, format) */ 129 /* rate, format = (bits | channels | stream | func) */ 145 int esd_play_stream( esd_format_t format, int rate, 147 int esd_play_stream_fallback( esd_format_t format, int rate, 149 int esd_monitor_stream( esd_format_t format, int rate, 151 /* int esd_monitor_stream_fallback( esd_format_t format, int rate ); */ 152 int esd_record_stream( esd_format_t format, int rate, 154 int esd_record_stream_fallback( esd_format_t format, int rate, 156 int esd_filter_stream( esd_format_t format, int rate, 160 int esd_sample_cache( int esd, esd_format_t format, const int rate, 200 esd_format_t format; \/* magic int with the format info *\/ member in struct:esd_server_info 216 esd_format_t format; \/* magic int with the format info *\/ member in struct:esd_player_info 231 esd_format_t format; \/* magic int with the format info *\/ member in struct:esd_sample_info [all...] |
/external/icu4c/i18n/unicode/ |
numfmt.h | 35 #include "unicode/format.h" 53 * NumberFormat helps you to format and parse numbers for any locale. 56 * decimal digits used, or whether the number format is even decimal. 58 * To format a number for the current Locale, use one of the static 66 * nf->format(myNumber, myString); 71 * the format and use it multiple times so that the system doesn't 83 * nf->format(a[i], myString); 89 * To format a number for a different Locale, specify it in the 104 * Use createInstance to get the normal number format for that country. 106 * to get the currency number format for that country. Use getPercen 881 NumberFormat::format(const Formattable& obj, function in class:NumberFormat [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
SerializerFactory.java | 52 * value is passed in this format: {uri}localName 82 * @param format The output format, minimally the "method" property must be set. 90 public static Serializer getSerializer(Properties format) 96 String method = format.getProperty(OutputKeys.METHOD); 106 format.getProperty(OutputPropertiesFactory.S_KEY_CONTENT_HANDLER); 139 ser.setOutputFormat(format); 161 sh.setOutputFormat(format);
|
/external/webkit/JavaScriptCore/wtf/ |
StringExtras.h | 39 inline int snprintf(char* buffer, size_t count, const char* format, ...) 43 va_start(args, format); 44 result = _vsnprintf(buffer, count, format, args); 51 inline int vsnprintf(char* buffer, size_t count, const char* format, va_list args) 53 return _vsnprintf(buffer, count, format, args);
|
/dalvik/libcore/text/src/main/java/java/text/ |
MessageFormat.java | 42 * {@code Format} classes in that you create a {@code MessageFormat} 102 * produce a number format with the hash-sign quoted, with a result such as: 110 * <dd>The rules for using quotes within message format patterns unfortunately 126 * {@code arguments} array passed to the {@code format} methods or 130 * {@code Format} instance for the format element. The following table 131 * shows how the values map to {@code Format} instances. Combinations not shown in the 133 * for the {@code Format} subclass used. 137 * <th>Format Type</th> 138 * <th>Format Style</th 493 MessageFormat format = (MessageFormat) object; local 566 public final StringBuffer format(Object[] objects, StringBuffer buffer, method in class:MessageFormat 588 Format format = formats[i]; local 735 public final StringBuffer format(Object object, StringBuffer buffer, method in class:MessageFormat 751 public static String format(String template, Object... objects) { method in class:MessageFormat 904 Format format = formats[i]; local 1114 Format format = formats[i]; local 1206 Format format = formats[i]; local [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
PrintStream.java | 32 * writing common data types in a human readable format. This is not to be 282 * target stream using the specified format string and arguments. For the 286 * @param format 287 * the format string used for {@link java.util.Formatter#format}. 290 * more arguments than required by the {@code format} string, 294 * if the format string is illegal or incompatible with the 296 * error regarding the format string or arguments is detected. 298 * if {@code format} is {@code null}. 300 public PrintStream format(String format, Object... args) method in class:PrintStream 325 public PrintStream format(Locale l, String format, Object... args) { method in class:PrintStream [all...] |
PrintWriter.java | 31 * readable format. No {@code IOException} is thrown by this class. Instead, 291 * target using the specified format string and arguments. For the locale, 295 * @param format 296 * the format string used for {@link java.util.Formatter#format}. 299 * more arguments than required by the {@code format} string, 303 * if the format string is illegal or incompatible with the 305 * error regarding the format string or arguments is detected. 307 * if {@code format} is {@code null}. 309 public PrintWriter format(String format, Object... args) method in class:PrintWriter 335 public PrintWriter format(Locale l, String format, Object... args) { method in class:PrintWriter [all...] |
/frameworks/base/core/java/android/widget/ |
DateTimeView.java | 26 import android.text.format.Time; 43 // - listen for date format pref changed 144 // Choose the format 145 DateFormat format; local 147 // use cached format 148 format = mLastFormat; 152 format = getTimeFormat(); 155 format = getDateFormat(); 160 mLastFormat = format; 164 String text = format.format(mTime) [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
LoggingPrintStream.java | 168 public PrintStream format(String format, Object... args) { method in class:LoggingPrintStream 169 return format(Locale.getDefault(), format, args); 173 public PrintStream printf(String format, Object... args) { 174 return format(format, args); 178 public PrintStream printf(Locale l, String format, Object... args) { 179 return format(l, format, args) 185 public synchronized PrintStream format( method in class:LoggingPrintStream [all...] |
/bionic/libc/stdlib/ |
wchar.c | 39 int fwprintf(FILE *stream, const wchar_t *format, ...) 44 va_start(args, format); 45 result = vfwprintf(stream, format, args); 50 int wprintf(const wchar_t *format, ...) 55 va_start(args, format); 56 result = vwprintf(format, args); 61 int swprintf(wchar_t *s, size_t n, const wchar_t *format, ...) 66 va_start(args, format); 67 result = vswprintf(s, n, format, args); 72 int vwprintf(const wchar_t *format, va_list arg [all...] |
/external/libxml2/include/libxml/ |
xmlwriter.h | 72 const char *format, ...) 76 const char *format, 107 const char *format, ...) 112 const char *format, 125 const char *format, ...) 132 const char *format, 150 const char *format, ...) 154 const char *format, va_list argptr) 165 *format, ...) 170 *format, [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_wave.c | 47 static int InitMS_ADPCM(WaveFMT *format) 54 MS_ADPCM_state.wavefmt.encoding = SDL_SwapLE16(format->encoding); 55 MS_ADPCM_state.wavefmt.channels = SDL_SwapLE16(format->channels); 56 MS_ADPCM_state.wavefmt.frequency = SDL_SwapLE32(format->frequency); 57 MS_ADPCM_state.wavefmt.byterate = SDL_SwapLE32(format->byterate); 58 MS_ADPCM_state.wavefmt.blockalign = SDL_SwapLE16(format->blockalign); 60 SDL_SwapLE16(format->bitspersample); 61 rogue_feel = (Uint8 *)format+sizeof(*format); 62 if ( sizeof(*format) == 16 ) 412 WaveFMT *format = NULL; local [all...] |
/external/guava/src/com/google/common/base/ |
Preconditions.java | 44 * String#format(String, Object[])} specifiers. 113 format(errorMessageTemplate, errorMessageArgs)); method 168 format(errorMessageTemplate, errorMessageArgs)); method 226 format(errorMessageTemplate, errorMessageArgs)); method 301 return format("%s (%s) must not be negative", desc, index); 305 return format("%s (%s) must be less than size (%s)", desc, index, size); 350 return format("%s (%s) must not be negative", desc, index); 354 return format("%s (%s) must not be greater than size (%s)", 388 return format("end index (%s) must not be less than start index (%s)", 404 @VisibleForTesting static String format(String template, Object... args) method in class:Preconditions [all...] |