HomeSort by relevance Sort by last modified time
    Searched refs:format (Results 251 - 275 of 1999) sorted by null

<<11121314151617181920>>

  /packages/apps/Settings/src/com/android/settings/fuelgauge/
Utils.java 32 * Returns elapsed time for the given millis, in the following format:
77 return String.format("%.2f MB", ((int) (bytes / 1000)) / 1000f);
79 return String.format("%.2f KB", ((int) (bytes / 10)) / 100f);
81 return String.format("%d bytes", (int) bytes);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
ActivityLaunchAction.java 53 String msg = String.format("Starting activity %1$s on device ", mActivity,
84 String.format("Launch error: %s", e.getMessage()));
96 return String.format("%1$s activity launch", mActivity);
  /system/core/adb/
utils.c 72 buff_add (char* buff, char* buffEnd, const char* format, ... )
82 va_start(args, format);
83 nn = vsnprintf( buff, avail, format, args);
88 * but they will also do that if the format spec is
  /frameworks/base/libs/audioflinger/
AudioDumpInterface.cpp 55 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
64 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status);
66 lFormat = outFinal->format();
74 if (format != 0 && *format != 0) {
75 lFormat = *format;
121 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels,
131 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics);
134 lFormat = inFinal->format();
138 if (format != 0 && *format != 0) lFormat = *format
300 int AudioStreamOutDump::format() const function in class:android::AudioStreamOutDump
491 int AudioStreamInDump::format() const function in class:android::AudioStreamInDump
    [all...]
  /external/icu4c/test/cintltst/
cdtdptst.c 15 /* INDEPTH TEST FOR DATE FORMAT */
62 log_err_status(status, "FAIL: Error in creating a date format using udat_openPattern %s\n",
121 /* this is supposed to open default date format, but later on it treats it like it is "en_US"
141 log_data_err("FAIL: could not format \n");
155 void tryPat994(UDateFormat* format, const char* pattern, const char* s, UDate expected)
168 udat_applyPattern(format, FALSE, pat, u_strlen(pat));
170 date = udat_parse(format, str, u_strlen(str), &pos, &status);
174 log_err("FAIL: Expected: %s\n", austrdup(myDateFormat(format, expected)) );
177 f=myDateFormat(format, date);
198 UDateFormat *format; local
303 UDateFormat *format; local
    [all...]
  /dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 92 private String format; field in class:KeyStoreTestSupport.MyPrivateKey
96 public MyPrivateKey(String algorithm, String format, byte[] encoded) {
98 this.format = format;
107 return format;
  /external/dropbear/
dbutil.c 59 static void generic_dropbear_exit(int exitcode, const char* format,
61 static void generic_dropbear_log(int priority, const char* format,
64 void (*_dropbear_exit)(int exitcode, const char* format, va_list param)
66 void (*_dropbear_log)(int priority, const char* format, va_list param)
81 /* the "format" string must be <= 100 characters */
82 void dropbear_close(const char* format, ...) {
86 va_start(param, format);
87 _dropbear_exit(EXIT_SUCCESS, format, param);
92 void dropbear_exit(const char* format, ...) {
96 va_start(param, format);
    [all...]
  /external/libxml2/include/libxml/
HTMLtree.h 82 int format);
102 int format);
111 int format);
118 int format);
127 int format);
  /external/qemu/distrib/sdl-1.2.12/src/audio/
SDL_audio.c 257 Uint16 format = 0; local
262 format |= 0x0000;
266 format |= 0x8000;
274 format |= 8;
278 format |= 16;
284 format |= 0x0000;
291 format |= 0x1000;
297 return format;
427 if ( desired->format == 0 ) {
430 desired->format = SDL_ParseAudioFormat(env)
    [all...]
SDL_audiocvt.c 24 /* Functions for audio drivers to perform runtime conversion of audio format */
30 void SDLCALL SDL_ConvertMono(SDL_AudioCVT *cvt, Uint16 format)
38 switch (format&0x8018) {
73 if ( (format & 0x1000) == 0x1000 ) {
104 if ( (format & 0x1000) == 0x1000 ) {
132 cvt->filters[cvt->filter_index](cvt, format);
137 void SDLCALL SDL_ConvertStrip(SDL_AudioCVT *cvt, Uint16 format)
145 switch (format&0x8018) {
180 if ( (format & 0x1000) == 0x1000 ) {
215 if ( (format & 0x1000) == 0x1000 )
    [all...]
  /external/svox/pico/lib/
picodbg.h 83 * Tracing messages can use the well-known printf format specification.
86 * which requires the format string and its arguments to be enclosed
96 * format can be customized by a call to PICODBG_SET_OUTPUT_FORMAT().
186 /* Output format flags */
217 #define PICODBG_SET_OUTPUT_FORMAT(format) \
218 picodbg_setOutputFormat(format)
267 void picodbg_setOutputFormat(unsigned int format);
269 const char *picodbg_varargs(const char *format, ...);
287 #define PICODBG_SET_OUTPUT_FORMAT(format)
  /frameworks/base/libs/ui/
EGLUtils.cpp 58 PixelFormat format,
71 if ((err = getPixelFormatInfo(PixelFormat(format), &fbFormatInfo)) < 0) {
122 int format; local
127 if ((err = window->query(window, NATIVE_WINDOW_FORMAT, &format)) < 0) {
131 return selectConfigForPixelFormat(dpy, attrs, format, outConfig);
  /external/icu4c/i18n/unicode/
msgfmt.h 12 * 07/22/98 stephen Removed operator!= (defined in Format)
29 #include "unicode/format.h"
73 * {@link #setFormat(const UnicodeString& formatName, const Format& format, UErrorCode& status)},
74 * {@link #adoptFormat(const UnicodeString& formatName, Format* formatToAdopt, UErrorCode& status)},
75 * {@link #format(const Formattable* arguments, const UnicodeString *argumentNames, int32_t cnt, UnicodeString& appendTo, FieldPosition& status, int32_t recursionProtection, UErrorCode& success)},
76 * {@link #format(const UnicodeString* argumentNames, const Formattable* arguments, int32_t count, UnicodeString& appendTo,UErrorCode& status)}.
86 * {@link #adoptFormats(Format** formatsToAdopt, int32_t count)},
87 * {@link #setFormats(const Format** newFormats,int32_t count)},
88 * {@link #adoptFormat(int32_t n, Format *newFormat)}
942 MessageFormat::format(const Formattable& obj, function in class:MessageFormat
    [all...]
datefmt.h 29 #include "unicode/format.h"
51 * DateFormat helps you to format and parse dates for any locale. Your code can
53 * week, or even the calendar format: lunar vs. solar.
55 * To format a date for the current Locale, use one of the static factory
62 * myString = dfmt->format( myDate, myString );
66 * format and use it multiple times so that the system doesn't have to fetch the
75 * cout << df->format( myDateArr[i], myString ) << endl;
86 * myString = dfmt->format( myDate, myString );
91 * To format a date for a different Locale, specify it in the call to
106 * Use createDateInstance() to produce the normal date format for that country
680 DateFormat::format(const Formattable& obj, function in class:DateFormat
    [all...]
  /frameworks/base/libs/surfaceflinger_client/
ISurface.cpp 37 : w(0), h(0), hor_stride(0), ver_stride(0), format(0),
44 PixelFormat format, const sp<IMemoryHeap>& heap)
46 format(format), transform(0), flags(0), heap(heap)
52 PixelFormat format, uint32_t transform, uint32_t flags,
55 format(format), transform(transform), flags(flags), heap(heap)
94 data.writeInt32(buffers.format);
119 uint32_t w, uint32_t h, int32_t format, int32_t orientation)
125 data.writeInt32(format);
    [all...]
  /dalvik/libcore/support/src/test/java/tests/support/
Support_Format.java 22 import java.text.Format;
36 protected void t_FormatWithField(int count, Format format, Object object,
37 String text, Format.Field field, int begin, int end) {
40 format.format(object, buffer, pos);
59 protected void t_Format(int count, Object object, Format format,
61 // System.out.println(format.format(object))
    [all...]
  /dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
Support_Format.java 22 import java.text.Format;
36 protected void t_FormatWithField(int count, Format format, Object object,
37 String text, Format.Field field, int begin, int end) {
40 format.format(object, buffer, pos);
59 protected void t_Format(int count, Object object, Format format,
61 // System.out.println(format.format(object))
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
DateUtils.java 55 * Date format pattern used to parse HTTP date headers in RFC 1123 format.
60 * Date format pattern used to parse HTTP date headers in RFC 1036 format.
65 * Date format pattern used to parse HTTP date headers in ANSI C
66 * <code>asctime()</code> format.
163 // ignore this exception, we will try the next format
174 * @param date The date to format.
186 * format} class.
188 * @param date The date to format
249 SimpleDateFormat format = formats.get(pattern); local
    [all...]
  /external/qemu/audio/
winaudio.c 74 case WAVERR_BADFORMAT: reason="unsupported waveform-audio format"; break;
163 WAVEFORMATEX format; local
173 /* compute desired wave output format */
174 format.wFormatTag = WAVE_FORMAT_PCM;
175 format.nChannels = as->nchannels;
176 format.nSamplesPerSec = as->freq;
177 format.nAvgBytesPerSec = as->freq*as->nchannels;
187 fprintf(stderr, "qemu: winaudio: Bad output audio format: %d\n",
192 format.nAvgBytesPerSec = (format.nSamplesPerSec & format.nChannels) << shift;
410 WAVEFORMATEX format; local
    [all...]
  /external/qemu/
framebuffer.c 33 _get_pitch( int width, QFrameBufferFormat format )
36 switch (format) {
50 QFrameBufferFormat format )
59 pitch = _get_pitch( width, format );
78 qfbuff->format = format;
161 qfbuff->pitch = _get_pitch( qfbuff->width, qfbuff->format );
  /external/skia/src/images/
SkImageDecoder.cpp 50 SkImageDecoder::Format SkImageDecoder::getFormat() const {
156 SkBitmap::Config pref, Mode mode, Format* format) {
162 if (SkImageDecoder::DecodeStream(&stream, bm, pref, mode, format)) {
171 SkBitmap::Config pref, Mode mode, Format* format) {
178 return SkImageDecoder::DecodeStream(&stream, bm, pref, mode, format);
182 SkBitmap::Config pref, Mode mode, Format* format) {
191 if (success && format) {
    [all...]
  /external/v8/src/
string-stream.h 128 void Add(Vector<const char> format, Vector<FmtElm> elms);
129 void Add(const char* format);
130 void Add(Vector<const char> format);
131 void Add(const char* format, FmtElm arg0);
132 void Add(const char* format, FmtElm arg0, FmtElm arg1);
133 void Add(const char* format, FmtElm arg0, FmtElm arg1, FmtElm arg2);
134 void Add(const char* format,
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/handler/
BaseFileHandler.java 132 new SyncProgressMonitor(monitor, String.format(
147 * @param format the string to display
150 protected void displayErrorInUiThread(final String format, final Object... args) {
154 String.format(format, args));
162 * @param format the string to display
165 protected void displayErrorFromUiThread(final String format, final Object... args) {
167 String.format(format, args));
  /external/icu4c/test/intltest/
msfmrgts.cpp 13 #include "unicode/format.h"
105 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status);
106 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format"))
121 //tempBuffer = messageFormatter->format(NULL, 1, tempBuffer, FieldPosition(FieldPosition::DONT_CARE), status);
123 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status);
125 if( tempBuffer != "Message without param" || failure(status, "messageFormat->format"))
130 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status);
131 if (tempBuffer != "Message without param" || failure(status, "messageFormat->format"))
194 tempBuffer = messageFormatter->format(params, 1, tempBuffer, pos, status);
195 if(tempBuffer != "Impossible {1} has occurred -- status code is 7 and message is {2}." || failure(status, "MessageFormat::format"))
960 MessageFormat *format = new MessageFormat("", status); local
    [all...]
  /external/dbus/dbus/
dbus-internals.c 240 * @param format printf-style format string.
243 _dbus_warn (const char *format,
251 va_start (args, format);
253 LOG_PRI_VA(ANDROID_LOG_WARN, LOG_TAG, format, args);
255 vfprintf (stderr, format, args);
275 _dbus_warn_check_failed(const char *format,
285 va_start (args, format);
287 LOG_PRI_VA(ANDROID_LOG_ERROR, LOG_TAG, format, args);
289 vfprintf (stderr, format, args)
    [all...]

Completed in 1215 milliseconds

<<11121314151617181920>>