/external/v8/src/ |
platform-nullos.cc | 119 void OS::Print(const char* format, ...) { 125 void OS::VPrint(const char* format, va_list args) { 127 vfprintf(stdout, format, args); 131 void OS::FPrint(FILE* out, const char* format, ...) { 133 va_start(args, format); 134 VFPrint(out, format, args); 139 void OS::VFPrint(FILE* out, const char* format, va_list args) { 140 vfprintf(out, format, args); 145 void OS::PrintError(const char* format, ...) { 148 va_start(args, format); [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...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
delegation_client.c | 93 It is up to you to define the format of this configuration file and the 148 static MD_INLINE void LogError(const char* format, ...) 151 va_start(ap, format); 154 vsyslog(LOG_ERR, format, ap); 159 vfprintf(stderr, format, ap); 165 static MD_INLINE void LogWarning(const char* format, ...) 168 va_start(ap, format); 171 vsyslog(LOG_WARNING, format, ap); 176 vfprintf(stderr, format, ap); 181 static MD_INLINE void LogInfo(const char* format, ... [all...] |
/libcore/luni/src/main/java/java/io/ |
PrintStream.java | 29 * writing common data types in a human readable format. This is not to be 265 * Formats {@code args} according to the format string {@code format}, and writes the result 269 * @param format the format string (see {@link java.util.Formatter#format}) 272 * more arguments than required by {@code format}, 276 * if the format string is illegal or incompatible with the 278 * error regarding the format string or arguments is detected. 279 * @throws NullPointerException if {@code format == null 281 public PrintStream format(String format, Object... args) { method in class:PrintStream 304 public PrintStream format(Locale l, String format, Object... args) { method in class:PrintStream [all...] |
PrintWriter.java | 27 * readable format. No {@code IOException} is thrown by this class. Instead, 264 * Formats {@code args} according to the format string {@code format}, and writes the result 269 * @param format the format string (see {@link java.util.Formatter#format}) 272 * more arguments than required by {@code format}, 276 * if the format string is illegal or incompatible with the 278 * error regarding the format string or arguments is detected. 279 * @throws NullPointerException if {@code format == null 281 public PrintWriter format(String format, Object... args) { method in class:PrintWriter 305 public PrintWriter format(Locale l, String format, Object... args) { method in class:PrintWriter [all...] |
/frameworks/base/opengl/tests/hwc/ |
hwcCommit.cpp | 70 * made and reported for each of the known graphic format. 172 uint32_t format; member in class:Rectangle 243 uint32_t format; member in struct:meas 279 uint32_t maxOverlays(uint32_t format, bool allowOverlap); 280 list<uint32_t> supportedTransforms(uint32_t format); 281 list<uint32_t> supportedBlends(uint32_t format); 282 uint32_t dfMinWidth(uint32_t format); 283 uint32_t dfMinHeight(uint32_t format); 284 uint32_t dfMaxWidth(uint32_t format); 285 uint32_t dfMaxHeight(uint32_t format); 436 const struct hwcTestGraphicFormat *format; local [all...] |
/external/mesa3d/src/pixelflinger2/ |
texture.cpp | 79 template<GGLPixelFormat format> 82 if (GGL_PIXEL_FORMAT_RGBA_8888 == format) 84 else if (GGL_PIXEL_FORMAT_RGBX_8888 == format) 89 else if (GGL_PIXEL_FORMAT_RGB_565 == format) 104 else if (GGL_PIXEL_FORMAT_UNKNOWN == format) 138 template<GGLPixelFormat format, ChannelType output, unsigned minMag, unsigned wrapS, unsigned wrapT> 150 PointSample<format>(sample, data, y0 * width + x0); 160 PointSample<format>((unsigned *)(samples + 0), data, y0 * width + x0); 162 PointSample<format>((unsigned *)(samples + 1), data, y0 * width + x1); 164 PointSample<format>((unsigned *)(samples + 2), data, y1 * width + x1) [all...] |
buffer.cpp | 145 if (GGL_PIXEL_FORMAT_RGBA_8888 == ctx->frameSurface.format) { 151 } else if (GGL_PIXEL_FORMAT_RGB_565 == ctx->frameSurface.format) { 163 assert(GGL_PIXEL_FORMAT_Z_32 == ctx->depthSurface.format); 171 assert(GGL_PIXEL_FORMAT_S_8 == ctx->stencilSurface.format); 191 changed |= ctx->frameSurface.format ^ surface->format; 192 switch (surface->format) { 198 LOGD("pf2: SetBuffer 0x%.04X format=0x%.02X \n", type, surface ? surface->format : 0); 205 ctx->state.bufferState.colorFormat = ctx->frameSurface.format; [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...] |
/hardware/libhardware_legacy/audio/ |
AudioDumpInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); 70 lFormat = outFinal->format(); 74 if (format != 0) { 75 if (*format != 0) { 76 lFormat = *format; 78 *format = lFormat; 126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels, 134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 136 lFormat = inFinal->format(); 329 int AudioStreamOutDump::format() const function in class:android::AudioStreamOutDump 533 int AudioStreamInDump::format() const function in class:android::AudioStreamInDump [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...] |
/external/icu4c/samples/date/ |
date.c | 46 static void date(const UChar *tz, UDateFormatStyle style, char *format, UErrorCode *status); 67 char *format = NULL; local 90 /* display date in long format */ 94 /* display date in medium format */ 98 /* display date in short format */ 102 else if(strcmp(arg, "-F") == 0 || strcmp(arg, "--format") == 0) { 105 format = argv[optind]; 138 date(tz, style, format, &status); 153 puts(" -f, --full Use full display format."); 154 puts(" -l, --long Use long display format.") [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/esd/ |
SDL_esdaudio.c | 64 static int (*SDL_NAME(esd_play_stream))( esd_format_t format, int rate, 274 esd_format_t format; local 276 /* Convert audio spec to the ESD audio format */ 277 format = (ESD_STREAM | ESD_PLAY); 278 switch ( spec->format & 0xFF ) { 280 format |= ESD_BITS8; 283 format |= ESD_BITS16; 286 SDL_SetError("Unsupported ESD audio format"); 290 format |= ESD_MONO; 292 format |= ESD_STEREO [all...] |
/external/kernel-headers/original/linux/ |
kernel.h | 98 __attribute__ ((NORET_AND format (printf, 1, 2))); 111 __attribute__ ((format (printf, 2, 3))); 113 __attribute__ ((format (printf, 2, 0))); 115 __attribute__ ((format (printf, 3, 4))); 117 __attribute__ ((format (printf, 3, 0))); 119 __attribute__ ((format (printf, 3, 4))); 121 __attribute__ ((format (printf, 3, 0))); 123 __attribute__ ((format (printf, 2, 3))); 126 __attribute__ ((format (scanf, 2, 3))); 128 __attribute__ ((format (scanf, 2, 0))) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/ |
SDL_pgvideo.c | 40 static SDL_Rect **PG_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags); 186 SDL_Rect **PG_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags) 203 /* Allocate the new pixel format for the screen */ 205 SDL_SetError("Couldn't allocate new pixel format for requested mode"); 243 /* Set up pixel format */ 244 current->format->BitsPerPixel = this->hidden->shm.bpp; 245 current->format->BytesPerPixel = this->hidden->shm.bpp >> 3; 247 current->format->BytesPerPixel++; 248 current->format->palette = NULL; 249 current->format->Rmask = this->hidden->shm.red_mask [all...] |
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
SimpleFormatterTest.java | 50 sf.format(null); 54 sf.format(new LogRecord(Level.SEVERE, null)); 64 String str = sf.format(lr); 71 str = sf.format(lr); 77 String str = sf.format(lr); 96 str = sf.format(lr);
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
utilities.cpp | 182 GLsizei ComputePitch(GLsizei width, GLenum format, GLenum type, GLint alignment) 186 GLsizei rawPitch = ComputePixelSize(format, type) * width; 190 GLsizei ComputeCompressedPitch(GLsizei width, GLenum format) 192 switch (format) 206 GLsizei ComputeCompressedSize(GLsizei width, GLsizei height, GLenum format) 208 switch (format) 220 bool IsCompressed(GLenum format) 222 if(format == GL_COMPRESSED_RGB_S3TC_DXT1_EXT || 223 format == GL_COMPRESSED_RGBA_S3TC_DXT1_EXT) 234 int ComputePixelSize(GLenum format, GLenum type [all...] |
/frameworks/base/services/surfaceflinger/ |
SurfaceTextureLayer.cpp | 44 status_t SurfaceTextureLayer::setDefaultBufferFormat(uint32_t format) 46 mDefaultFormat = format; 68 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) { 73 if (format == 0) 74 format = mDefaultFormat; 76 //LOGD("%s, w=%u, h=%u, format=%u, usage=%08x, effectiveUsage=%08x", 77 // __PRETTY_FUNCTION__, w, h, format, usage, effectiveUsage); 78 res = SurfaceTexture::dequeueBuffer(buf, w, h, format, effectiveUsage);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
DateUtils.java | 20 import android.text.format.DateFormat; 42 // Variations of ISO 8601 date format. Do not change the order - it does affect the 61 for (SimpleDateFormat format : DATE_FORMATS) { 62 format.setLenient(true); 63 format.setTimeZone(UTC_TIMEZONE); 91 * returns the same date in a cleaned-up format for the user. Otherwise, returns 117 return outFormat.format(date); 129 return outFormat.format(date);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
cursslk.h | 51 Justification format; // The Justification member in class:Soft_Label_Key_Set::Soft_Label_Key 54 Soft_Label_Key() : label(NULL), format(Left), num(-1) { 67 format = just; 86 format(rhs.format), 104 static Label_Layout NCURSES_IMPEXP format; // Layout of the Key Sets member in class:Soft_Label_Key_Set
|
/system/media/mca/filterpacks/imageproc/java/ |
CropFilter.java | 33 import android.filterfw.format.ImageFormat; 34 import android.filterfw.format.ObjectFormat; 93 protected void createProgram(FilterContext context, FrameFormat format) { 95 if (mLastFormat != null && mLastFormat.getTarget() == format.getTarget()) return; 96 mLastFormat = format; 98 switch (format.getTarget()) { 123 // Create output format
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldSimpleDateFormatTest.java | 33 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); field in class:OldSimpleDateFormatTest 43 format.applyPattern(pattern); 44 format.format(cal.getTime(), buffer, position); 47 System.out.println("Wrong format: \"" + pattern 67 format.setTimeZone(SimpleTimeZone.getTimeZone(timeZoneId)); 68 format.applyPattern("z, zzzz"); 70 format.format(date)); 72 format.applyPattern("Z, ZZZZ") 206 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance(); local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_surface.c | 95 depth = screen->format->BitsPerPixel; 96 Rmask = screen->format->Rmask; 97 Gmask = screen->format->Gmask; 98 Bmask = screen->format->Bmask; 99 Amask = screen->format->Amask; 102 surface->format = SDL_AllocFormat(depth, Rmask, Gmask, Bmask, Amask); 103 if ( surface->format == NULL ) { 190 (key == surface->format->colorkey) ) { 205 surface->format->colorkey = key; 219 surface->format->colorkey = 0 [all...] |