/external/dnsmasq/src/ |
log.c | 259 void my_syslog(int priority, const char *format, ...) 282 va_start(ap, format); 283 vfprintf(stderr, format, ap); 297 va_start(ap, format); 298 __android_log_vprint(alog_lvl, "dnsmasq", format, ap); 311 va_start(ap, format); 312 vsyslog(priority, format, ap); 345 va_start(ap, format); 346 len += vsnprintf(p, MAX_MESSAGE - len, format, ap) + 1; /* include zero-terminator */
|
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/ |
SDL_mintaudio_stfa.c | 202 DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ",spec->format & 0x00ff)); 203 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 204 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0))); 230 DEBUG_PRINT((DEBUG_NAME "obtained: %d bits, ",spec->format & 0x00ff)); 231 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 232 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0))); 251 /* Select replay format */ 253 if ((spec->format & 0xff)==8) { 263 if ((spec->format & 0x8000)!=0) { 268 if ((spec->format & 0x1000)!=0) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/nas/ |
SDL_nasaudio.c | 229 Uint16 test_format, format; local 233 /* Try for a closest match on audio format */ 234 format = 0; 235 for ( test_format = SDL_FirstAudioFormat(spec->format); 236 ! format && test_format; ) { 237 format = sdlformat_to_auformat(test_format); 239 if (format == AuNone) { 243 if ( format == 0 ) { 247 spec->format = test_format; 276 AuMakeElementImportClient(elms, spec->freq, format, spec->channels, AuTrue [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/sun/ |
SDL_sunaudio.c | 257 switch ( spec->format & 0xFF ) { 260 spec->format = AUDIO_U8; 268 spec->format = AUDIO_S16SYS; 276 SDL_SetError("Unsupported audio format"); 280 audio_fmt = spec->format; 300 ? 8 : spec->format & 0xff; 311 && info.play.precision == (spec->format & 0xff) 323 spec->format = AUDIO_S16SYS; 331 spec->format = AUDIO_U8; 363 fprintf(stderr, "format=0x%x chan=%d freq=%d\n" [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
SDL_sysyuv.cc | 97 enum color_space convert_color_space(Uint32 format) { 98 switch (format) { 115 int count_planes(Uint32 format) { 116 switch (format) { 129 SDL_Overlay *BE_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display) { 138 cs = convert_color_space(format); 145 planes = count_planes(format); 166 overlay->format = format;
|
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
SDL_DirectFB_yuv.c | 74 int width, int height, Uint32 format) 102 switch (format) 117 fprintf (stderr, "SDL_DirectFB: Unsupported YUV format (0x%08x)!\n", format); 151 SDL_Overlay *DirectFB_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display) 165 overlay->format = format; 182 if (CreateYUVSurface (this, hwdata, width, height, format)) 193 switch (format) 226 switch (overlay->format) [all...] |
/frameworks/base/opengl/libagl/ |
TextureObjectManager.cpp | 158 sur.format= native_buffer->format; 167 int format, int compressedFormat, int bpr) 188 surface.format = format; 220 mipmap.format = format; 228 if (curr->format != surface.format) {
|
/external/icu4c/test/intltest/ |
numrgts.cpp | 30 virtual UnicodeString& format( double number, function in class:MyNumberFormatTest 35 return NumberFormat::format(number, toAppendTo, pos, status); 39 virtual UnicodeString& format(const Formattable& obj, function in class:MyNumberFormatTest 44 return NumberFormat::format(obj, toAppendTo, pos, status); 47 /* Just use one of the format functions */ 48 virtual UnicodeString& format( double /* number */, function in class:MyNumberFormatTest 75 virtual Format* clone() const 78 virtual UnicodeString& format(int32_t, function in class:MyNumberFormatTest 83 virtual UnicodeString& format(int64_t, function in class:MyNumberFormatTest 276 * DecimalFormat.format() incorrectly uses maxFractionDigits setting 428 DecimalFormat *format = new DecimalFormat("00", status); local 1511 NumberFormat *format = NumberFormat::createInstance(status); local [all...] |
astrotst.cpp | 320 errln("FAIL: (rise) " + df_d->format(cal->getTime(status),s1) + 321 ", Sunrise: " + df_dt->format(sunrise, s2) + 322 " (USNO " + df_t->format(exprise,s3) + 325 logln(df_d->format(cal->getTime(status),s1) + 326 ", Sunrise: " + df_dt->format(sunrise,s2) + 327 " (USNO " + df_t->format(exprise,s3) + ")"); 331 errln("FAIL: (set) " + df_d->format(cal->getTime(status),s1) + 332 ", Sunset: " + df_dt->format(sunset,s2) + 333 " (USNO " + df_t->format(expset,s3) + 336 logln(df_d->format(cal->getTime(status),s1) [all...] |
/external/v8/src/ |
string-stream.cc | 85 // A control character is one that configures a format element. For 98 void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) { 103 while (offset < format.length()) { 104 if (format[offset] != '%' || elm == elms.length()) { 105 Put(format[offset]); 113 // format element type 114 temp[format_length++] = format[offset++]; 115 while (offset < format.length() && IsControlChar(format[offset])) 116 temp[format_length++] = format[offset++] [all...] |
/external/kernel-headers/original/linux/ |
device.h | 281 __attribute__((format(printf,5,6))); 388 __attribute__((format(printf,4,5))); 420 #define dev_printk(level, dev, format, arg...) \ 421 printk(level "%s %s: " format , dev_driver_string(dev) , (dev)->bus_id , ## arg) 424 #define dev_dbg(dev, format, arg...) \ 425 dev_printk(KERN_DEBUG , dev , format , ## arg) 427 #define dev_dbg(dev, format, arg...) do { (void)(dev); } while (0) 430 #define dev_err(dev, format, arg...) \ 431 dev_printk(KERN_ERR , dev , format , ## arg) 432 #define dev_info(dev, format, arg...) [all...] |
/external/skia/src/gl/ |
SkGL.cpp | 139 static bool canBeTexture(const SkBitmap& bm, GLenum* format, GLenum* type) { 142 *format = GL_RGBA; 146 *format = GL_RGB; 150 *format = GL_RGBA; 155 *format = GL_PALETTE8_RGBA8_OES; 159 *format = GL_RGBA; 164 *format = GL_ALPHA; 201 /* Fill out buffer with the compressed format GL expects from a colortable 257 GLenum format, type; local 258 if (!canBeTexture(*bitmap, &format, &type)) [all...] |
/development/simulator/wrapsim/ |
DevLog.c | 46 /* output format */ 164 LogFormat format; local 166 format = FORMAT_BRIEF; 169 format = FORMAT_BRIEF; 171 format = FORMAT_PROCESS; 173 format = FORMAT_PROCESS; 175 format = FORMAT_PROCESS; 177 format = FORMAT_PROCESS; 179 format = FORMAT_PROCESS; 181 format = FORMAT_PROCESS [all...] |
/external/icu4c/i18n/unicode/ |
smpdtfmt.h | 30 * \brief C++ API: Format and parse dates in a language-independent manner. 59 * Date/Time format syntax: 61 * The date/time format is specified by means of a string time pattern. In this 103 * The count of pattern letters determine the format. 128 * Format Pattern Result 146 * // Format the current time. 153 * formatter->format( currentTime_1, dateString, fp ); 163 * marker 'a' is left out from the format pattern while the "hour in am/pm" 191 * parsed specially. For example, the format "HHmmss" parses the input text 206 * There is one common number format to handle all the numbers; the digit coun 1075 SimpleDateFormat::format(const Formattable& obj, function in class:SimpleDateFormat 1084 SimpleDateFormat::format(UDate date, function in class:SimpleDateFormat 1093 SimpleDateFormat::format(UDate date, UnicodeString& appendTo) const { function in class:SimpleDateFormat [all...] |
format.h | 7 * File FORMAT.H 18 // This file was generated from the java source file Format.java 55 * Many of the concrete subclasses of Format employ the notion of 59 * "$#,##0.00;($#,##0.00)", which is a common US English format for 65 * is not inherent to Format classes in general, and is not part of 70 * NumberFormat which allows the user to format different number ranges 73 * MessageFormat is a formatter which utilizes other Format objects to 74 * format a string containing with multiple values. For instance, 81 * the Format cannot format the type of object, otherwise if there i [all...] |
/external/openssl/crypto/asn1/ |
asn1_gen.c | 110 int format; member in struct:__anon3908 121 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype); 154 asn1_tags.format = ASN1_GEN_FORMAT_ASCII; 169 ret = asn1_str2type(asn1_tags.str, asn1_tags.format, asn1_tags.utype); 360 arg->format = ASN1_GEN_FORMAT_ASCII; 362 arg->format = ASN1_GEN_FORMAT_UTF8; 364 arg->format = ASN1_GEN_FORMAT_HEX; 366 arg->format = ASN1_GEN_FORMAT_BITLIST; 615 ASN1_GEN_STR("FORMAT", ASN1_GEN_FLAG_FORMAT), 631 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype [all...] |
/bionic/libc/unistd/ |
abort.c | 39 #define debug_log(format, ...) \ 40 __libc_android_log_print(ANDROID_LOG_DEBUG, "libc-abort", (format), ##__VA_ARGS__ )
|
/cts/tests/tests/net/src/android/net/http/cts/ |
SslCertificate_DNameTest.java | 71 SslCertificate ssl = new SslCertificate(TO, BY, DateFormat.getInstance().format( 72 date1), DateFormat.getInstance().format(date2));
|
/dalvik/dx/src/junit/framework/ |
ComparisonFailure.java | 32 return Assert.format(super.getMessage(), fExpected, fActual); 66 return Assert.format(super.getMessage(), expected, actual);
|
/dalvik/libcore/junit/src/main/java/junit/framework/ |
ComparisonFailure.java | 32 return Assert.format(super.getMessage(), fExpected, fActual); 66 return Assert.format(super.getMessage(), expected, actual);
|
/dalvik/libcore/logging/src/main/java/java/util/logging/ |
SimpleFormatter.java | 27 * contained in a {@code LogRecord} object in a human readable format. 46 public String format(LogRecord r) { method in class:SimpleFormatter 48 sb.append(MessageFormat.format("{0, date} {0, time} ", //$NON-NLS-1$
|
/dalvik/libcore/sql/src/main/java/java/sql/ |
Timestamp.java | 97 * a time value in the format of milliseconds since the Epoch 348 * format, which is {@code "yyyy-mm-dd hh:mm:ss.nnnnnnnnn"}. 351 * Timestamp}, in JDBC Timestamp escape format. 358 format((getYear() + 1900), 4, sb); method 360 format((getMonth() + 1), 2, sb); method 362 format(getDate(), 2, sb); 364 format(getHours(), 2, sb); 366 format(getMinutes(), 2, sb); 368 format(getSeconds(), 2, sb); 373 format(nanos, 9, sb) method 387 private void format(int date, int digits, StringBuilder sb) { method in class:Timestamp [all...] |
/dalvik/tests/021-string2/src/junit/framework/ |
ComparisonFailure.java | 32 return Assert.format(super.getMessage(), fExpected, fActual); 66 return Assert.format(super.getMessage(), expected, actual);
|
/dalvik/tests/082-inline-execute/src/junit/framework/ |
ComparisonFailure.java | 32 return Assert.format(super.getMessage(), fExpected, fActual); 66 return Assert.format(super.getMessage(), expected, actual);
|
/external/icu4c/i18n/ |
currfmt.cpp | 36 UBool CurrencyFormat::operator==(const Format& other) const { 47 Format* CurrencyFormat::clone() const { 51 UnicodeString& CurrencyFormat::format(const Formattable& obj, function in class:CurrencyFormat 56 return fmt->format(obj, appendTo, pos, ec);
|