/system/core/libcutils/ |
tzstrftime.c | 95 strftime_tz(s, maxsize, format, t, Locale) 98 const char * const format; 106 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, Locale); 110 if (format == NULL) 111 (void) fprintf(stderr, "NULL strftime format "); 112 else (void) fprintf(stderr, "strftime format \"%s\" ", 113 format); 146 _fmt(format, t, pt, ptlim, warnp, Locale) 147 const char * format; [all...] |
/frameworks/base/media/mtp/ |
MtpServer.cpp | 275 uint64_t size, MtpObjectFormat format, int fd) { 276 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd); 537 MtpObjectFormat format = mRequest.getParameter(1); 538 MtpObjectPropertyList* properties = mDatabase->getSupportedObjectProperties(format); 548 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local 555 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); 565 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local 571 int count = mDatabase->getNumObjects(storageID, format, parent); 664 uint32_t format = mRequest.getParameter(2); local 668 LOGV("GetObjectPropList %d format: %s property: %s group: %d depth: %d\n" 721 MtpObjectFormat format; local 784 MtpObjectFormat format; local 830 MtpObjectFormat format; local 840 MtpObjectFormat format = mData.getUInt16(); local 1047 MtpObjectFormat format = mRequest.getParameter(2); local 1065 MtpObjectFormat format = mRequest.getParameter(2); local 1179 MtpObjectFormat format; local [all...] |
/dalvik/opcode-gen/ |
opcode-gen.awk | 100 constName[i], constName[i], family[i], nextOp, format[i], 117 constName[i], constName[i], name[i], toupper(format[i]), itype); 269 } else if (cmd == "format") { 295 format[idx] = parts[3]; 311 split(format[idx], parts, ""); # Width is the first format char. 315 familyFormat[family[idx],format[idx]] = idx; 319 if (nextFormat[format[idx]] == "") { 320 printf("unknown format: %s\n", format[idx]) >"/dev/stderr" [all...] |
/external/grub/docs/ |
kernel.c.texi | 48 void printf (const char *format, ...); 238 /* @r{Format a string and print it on the screen, just like the libc 241 printf (const char *format, ...) 243 char **arg = (char **) &format; 249 while ((c = *format++) != 0) 257 c = *format++;
|
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/ |
SDL_mintaudio_xbios.c | 339 DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ",spec->format & 0x00ff)); 340 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 341 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0))); 349 spec->format |= 0x8000; /* Audio is always signed */ 350 if ((spec->format & 0x00ff)==16) { 351 spec->format |= 0x1000; /* Audio is always big endian */ 381 DEBUG_PRINT((DEBUG_NAME "obtained: %d bits, ",spec->format & 0x00ff)); 382 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 383 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0))); 405 /* Select replay format */ [all...] |
SDL_mintaudio_dma8.c | 214 DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ",spec->format & 0x00ff)); 215 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 216 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0))); 224 spec->format = AUDIO_S8; 267 DEBUG_PRINT((DEBUG_NAME "obtained: %d bits, ",spec->format & 0x00ff)); 268 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 269 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0)));
|
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/ |
SDL_ipodvideo.c | 49 static SDL_Rect **iPod_ListModes (_THIS, SDL_PixelFormat *format, Uint32 flags); 310 static SDL_Rect **iPod_ListModes (_THIS, SDL_PixelFormat *format, Uint32 flags) 356 SDL_SetError ("Couldn't allocate new pixel format"); 366 current->format->palette->colors[i+j].r = 85 * j; 367 current->format->palette->colors[i+j].g = 85 * j; 368 current->format->palette->colors[i+j].b = 85 * j; 384 if (SDL_VideoSurface && SDL_VideoSurface->format && SDL_VideoSurface->format->palette) { 388 SDL_VideoSurface->format->palette->colors[i+j].r = 85 * j; 389 SDL_VideoSurface->format->palette->colors[i+j].g = 85 * j [all...] |
/external/srec/portable/src/ |
plog.c | 82 * @param format the format string specifying the next arguments (a la 90 static ESR_ReturnCode FileLoggerPrintf(PLogger *self, const LCHAR *format, ...) 96 va_start(args, format); 97 rc = pvfprintf(p->fp, format, args); 262 static ESR_ReturnCode logIt(const LCHAR *format, va_list args, ESR_BOOL showStackTrace) 274 if (strstr(format, "ESR_BUFFER_OVERFLOW")==format) 375 pvsprintf(buffer + LSTRLEN(buffer), format, args); 377 pvsprintf(buffer + LSTRLEN(buffer), format, args) [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 159 writeOutput(String.format("iteration %d out of %d", 161 writeOutput(String.format("average scanning time is %d", averageScanTime)); 162 writeOutput(String.format("ssid appear %d out of %d scan iterations", 196 log(String.format("scan result for %s is: %s", sr.SSID, sr.toString())); 197 log(String.format("signal level for %s is %d ", sr.SSID, sr.level)); 208 writeOutput(String.format("iteration %d out of %d", 210 writeOutput(String.format("average scanning time is %d", scanTimeSum/mScanIterations)); 211 writeOutput(String.format("ssid appear %d out of %d scan iterations", 257 writeOutput(String.format("iteration %d out of %d", 296 writeOutput(String.format("iteration %d out of %d" [all...] |
/system/media/mca/filterfw/java/android/filterfw/core/ |
FrameFormat.java | 180 FrameFormat format = (FrameFormat)object; local 181 return format.mBaseType == mBaseType && 182 format.mTarget == mTarget && 183 format.mBytesPerSample == mBytesPerSample && 184 Arrays.equals(format.mDimensions, mDimensions) && 185 format.mMetaData.equals(mMetaData); 434 boolean isReplaceableBy(FrameFormat format) { 435 return mTarget == format.mTarget 436 && getSize() == format.getSize() 437 && Arrays.equals(format.mDimensions, mDimensions) [all...] |
/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 86 fmtd = sdf->format(today, fmtd, pos); 91 todayS = sdf->format(today, todayS, pos); 103 rt = sdf->format(sdf->parse(todayS, status), rt, pos); 132 str = fmt->format(dt, str); 193 fmt->format(dt, buf, pos); 319 formatted = fmt->format( o, formatted, poss, status ); 320 failure(status, "fmt->format"); 354 myString = fmt->format( myDate, myString); 372 myString = fmt->format( myDate, myString ); 454 temp = shortdate->format(curDate, temp) 941 SimpleDateFormat *format = sdfs[i]; local 1030 SimpleDateFormat *format = new SimpleDateFormat(pattern, Locale::getUS(), status); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
AndroidLaunchController.java | 246 String msg = String.format( 297 String message = String.format("Performing %1$s", launchAction.getLaunchDescription()); 360 AdtPlugin.printErrorToConsole(project, String.format( 374 AdtPlugin.printToConsole(project, String.format( 387 AdtPlugin.printToConsole(project, String.format( 483 AdtPlugin.printToConsole(project, String.format( 490 AdtPlugin.printToConsole(project, String.format( 513 AdtPlugin.printErrorToConsole(project, String.format( 520 AdtPlugin.printToConsole(project, String.format( 536 message = String.format("Automatic Target Mode: using existing emulator '%1$s' running compatible AVD '%2$s'" [all...] |
/external/qemu/slirp/ |
misc.c | 554 void lprint(const char *format, ...) 558 va_start(args, format); 559 monitor_vprintf(cur_mon, format, args); 568 lprint(const char *format, ...) 576 va_start(args, format); 578 char *format; local 580 format = va_arg(args, char *); 587 (lprint_sb->sb_datalen - (strlen(format) + 100))) { 605 lprint_ptr += (*lprint_print)(*lprint_arg, format, args); 613 int len = strlen(format); 747 char *format; local [all...] |
/external/qemu/slirp-android/ |
misc.c | 518 void lprint(const char *format, ...) 522 va_start(args, format); 523 monitor_vprintf(cur_mon, format, args); 532 lprint(const char *format, ...) 540 va_start(args, format); 542 char *format; local 544 format = va_arg(args, char *); 551 (lprint_sb->sb_datalen - (strlen(format) + 100))) { 569 lprint_ptr += (*lprint_print)(*lprint_arg, format, args); 577 int len = strlen(format); 711 char *format; local [all...] |
/frameworks/base/media/libmedia/ |
AudioRecord.cpp | 53 int format, 57 if (AudioSystem::getInputBufferSize(sampleRate, format, channelCount, &size) 64 LOGE("Unsupported configuration: sampleRate %d, format %d, channelCount %d", 65 sampleRate, format, channelCount); 72 if (audio_is_linear_pcm(format)) { 73 size /= channelCount * audio_bytes_per_sample(format); 90 int format, 100 mStatus = set(inputSource, sampleRate, format, channelMask, 124 int format, 151 if (format == 0) 254 int AudioRecord::format() const function in class:android::AudioRecord [all...] |
/external/icu4c/i18n/ |
msgfmt.cpp | 200 * Each subformat has a Format object, an offset into the plain 210 Format* format; // formatter member in class:MessageFormat::Subformat 226 * Clone that.format and assign it to this.format 227 * Do NOT delete this.format 232 format = that.format ? that.format->clone() : NULL; 249 ((format == that.format) || // handles NUL 1103 MessageFormat::format(const Formattable* source, function in class:MessageFormat 1121 MessageFormat::format( const UnicodeString& pattern, function in class:MessageFormat 1139 MessageFormat::format(const Formattable& source, function in class:MessageFormat 1159 MessageFormat::format(const UnicodeString* argumentNames, function in class:MessageFormat 1169 MessageFormat::format(const Formattable* arguments, function in class:MessageFormat 1184 MessageFormat::format(const Formattable* arguments, function in class:MessageFormat [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/alsa/ |
SDL_alsa_audio.c | 293 * from Windows/Mac order to the format alsalib will want. 298 const Uint16 fmtsize = (this->spec.format & 0xFF); /* bits/channel. */ 375 snd_pcm_format_t format; local 405 /* Try for a closest match on audio format */ 407 for ( test_format = SDL_FirstAudioFormat(spec->format); 411 format = SND_PCM_FORMAT_U8; 414 format = SND_PCM_FORMAT_S8; 417 format = SND_PCM_FORMAT_S16_LE; 420 format = SND_PCM_FORMAT_S16_BE; 423 format = SND_PCM_FORMAT_U16_LE [all...] |
/frameworks/base/services/java/com/android/server/ |
NetworkManagementService.java | 290 * Format: "NNN Iface added <name>" 297 String.format("Invalid event from daemon (%s)", raw)); 313 String.format("Invalid event from daemon (%s)", raw)); 318 * Format: "NNN limit alert <alertName> <ifaceName>" 322 String.format("Invalid event from daemon (%s)", raw)); 329 String.format("Invalid event from daemon (%s)", raw)); 363 Slog.d(TAG, String.format("rsp <%s>", rsp)); 374 String.format("Expected code %d, but got %d", 379 String.format("Invalid response from daemon (%s)", rsp)); 402 String.format("Invalid response from daemon (%s)", rsp)) [all...] |
/frameworks/base/opengl/libagl/ |
texture.cpp | 179 #pragma mark Format conversion 199 static int32_t convertGLPixelFormat(GLint format, GLenum type) 203 switch (format) { 223 static GLenum validFormatType(ogles_context_t* c, GLenum format, GLenum type) 226 if (format<GL_ALPHA || format>GL_LUMINANCE_ALPHA) { 233 if (type == GL_UNSIGNED_SHORT_5_6_5 && format != GL_RGB) { 237 type == GL_UNSIGNED_SHORT_5_5_5_1) && format != GL_RGBA) { 277 if ((dst.format == src.format) & 1074 GLenum format; local [all...] |
/sdk/sdkmanager/app/src/com/android/sdkmanager/ |
CommandLineProcessor.java | 261 errorMsg = String.format( 269 errorMsg = String.format( 287 errorMsg = String.format( 312 errorMsg = String.format( 321 errorMsg = String.format( 333 errorMsg = String.format("Missing argument for flag %1$s.", a); 345 errorMsg = String.format( 366 errorMsg = String.format("Invalid usage for flag %1$s: %2$s.", a, error); 387 errorMsg = String.format("Missing object name for verb '%1$s'.", verb); 411 errorMsg = String.format( [all...] |
/sdk/traceview/src/com/android/traceview/ |
ProfileProvider.java | 236 return String.format("%.3f", val); 241 return String.format("%.1f%%", per); 246 return String.format("%.3f", val); 251 return String.format("%.1f%%", per); 256 return String.format("%.3f", val); 261 return String.format("%.1f%%", per); 266 return String.format("%.3f", val); 271 return String.format("%.1f%%", per); 280 return String.format("%.3f", val); 287 return String.format("%.3f", val) [all...] |
/external/icu4c/i18n/unicode/ |
udat.h | 22 * <h2> Date Format C API</h2> 24 * Date Format C API consists of functions that convert dates and 32 * Date Format helps you to format and parse dates for any locale. Your code can 34 * week, or even the calendar format: lunar vs. solar. 36 * To format a date for the current Locale with default time and date style, 53 * format and use it multiple times so that the system doesn't have to fetch the 93 * printf("date format: %s\n", u_austrcpy(buffer, myString)); 98 * To format a date for a different Locale, specify it in the call to 124 * You can also set the time zone on the format if you wish [all...] |
/external/icu4c/io/ |
uscanf_p.c | 79 * Struct encapsulating a single uscanf format specification. 84 UChar fSpec; /* Format specification */ 98 * Struct encapsulating a single u_scanf format specification. 106 * Parse a single u_scanf format specifier in Unicode. 107 * @param fmt A pointer to a '%' character in a u_scanf format specification. 109 * format specifier. 163 /* Get any format flags */ 272 /* C K is old format */ 274 /* S U is old format */ 283 * format specification, for example 'd' or 's' 423 UNumberFormat *format; local 488 UNumberFormat *format; local 675 UNumberFormat *format; local 748 UNumberFormat *format; local 973 UNumberFormat *format; local [all...] |
/external/protobuf/src/google/protobuf/io/ |
gzip_stream.cc | 1 // Protocol Buffers - Google's data interchange format 50 ZeroCopyInputStream* sub_stream, Format format, int buffer_size) 51 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK) { 172 : format(GZIP), 187 ZeroCopyOutputStream* sub_stream, Format format, int buffer_size) { 189 options.format = format; 216 // default to GZIP format [all...] |
/external/skia/src/images/ |
SkImageDecoder.cpp | 29 "Unknown Format", 66 SkImageDecoder::Format SkImageDecoder::getFormat() const { 229 SkBitmap::Config pref, Mode mode, Format* format) { 235 if (SkImageDecoder::DecodeStream(&stream, bm, pref, mode, format)) { 244 SkBitmap::Config pref, Mode mode, Format* format) { 251 return SkImageDecoder::DecodeStream(&stream, bm, pref, mode, format); 255 SkBitmap::Config pref, Mode mode, Format* format) { [all...] |