/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_tile.c | 56 dst_stride = util_format_get_stride(pt->resource->format, w); 66 util_copy_rect(dst, pt->resource->format, dst_stride, 0, 0, w, h, src, pt->stride, x, y); 82 enum pipe_format format = pt->resource->format; local 85 src_stride = util_format_get_stride(format, w); 95 util_copy_rect(dst, format, pt->stride, x, y, w, h, src, src_stride, 0, 0); 374 pipe_tile_raw_to_rgba(enum pipe_format format, 379 switch (format) { 413 util_format_read_4f(format, 415 src, util_format_get_stride(format, w) 615 enum pipe_format format = pt->resource->format; local 744 enum pipe_format format = pt->resource->format; local [all...] |
u_string.h | 70 int util_snprintf(char *str, size_t size, const char *format, ...); 73 util_vsprintf(char *str, const char *format, va_list ap) 75 util_vsnprintf(str, (size_t)-1, format, ap); 79 util_sprintf(char *str, const char *format, ...) 82 va_start(ap, format); 83 util_vsnprintf(str, (size_t)-1, format, ap); 213 util_strbuf_printf(struct util_strbuf *sbuf, const char *format, ...) 218 va_start(ap, format); 219 written = util_vsnprintf(sbuf->ptr, sbuf->left, format, ap);
|
u_tile.h | 86 enum pipe_format format, 99 enum pipe_format format, 116 pipe_tile_raw_to_rgba(enum pipe_format format, 122 pipe_tile_raw_to_unsigned(enum pipe_format format, 128 pipe_tile_raw_to_signed(enum pipe_format format, 137 enum pipe_format format, 144 enum pipe_format format, 151 enum pipe_format format, 158 enum pipe_format format,
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_tile.c | 56 dst_stride = util_format_get_stride(pt->resource->format, w); 66 util_copy_rect(dst, pt->resource->format, dst_stride, 0, 0, w, h, src, pt->stride, x, y); 82 enum pipe_format format = pt->resource->format; local 85 src_stride = util_format_get_stride(format, w); 95 util_copy_rect(dst, format, pt->stride, x, y, w, h, src, src_stride, 0, 0); 374 pipe_tile_raw_to_rgba(enum pipe_format format, 379 switch (format) { 413 util_format_read_4f(format, 415 src, util_format_get_stride(format, w) 615 enum pipe_format format = pt->resource->format; local 744 enum pipe_format format = pt->resource->format; local [all...] |
u_string.h | 70 int util_snprintf(char *str, size_t size, const char *format, ...); 73 util_vsprintf(char *str, const char *format, va_list ap) 75 util_vsnprintf(str, (size_t)-1, format, ap); 79 util_sprintf(char *str, const char *format, ...) 82 va_start(ap, format); 83 util_vsnprintf(str, (size_t)-1, format, ap); 213 util_strbuf_printf(struct util_strbuf *sbuf, const char *format, ...) 218 va_start(ap, format); 219 written = util_vsnprintf(sbuf->ptr, sbuf->left, format, ap);
|
u_tile.h | 86 enum pipe_format format, 99 enum pipe_format format, 116 pipe_tile_raw_to_rgba(enum pipe_format format, 122 pipe_tile_raw_to_unsigned(enum pipe_format format, 128 pipe_tile_raw_to_signed(enum pipe_format format, 137 enum pipe_format format, 144 enum pipe_format format, 151 enum pipe_format format, 158 enum pipe_format format,
|
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
SDL_wave.c | 47 static int InitMS_ADPCM(WaveFMT *format) 53 MS_ADPCM_state.wavefmt.encoding = SDL_SwapLE16(format->encoding); 54 MS_ADPCM_state.wavefmt.channels = SDL_SwapLE16(format->channels); 55 MS_ADPCM_state.wavefmt.frequency = SDL_SwapLE32(format->frequency); 56 MS_ADPCM_state.wavefmt.byterate = SDL_SwapLE32(format->byterate); 57 MS_ADPCM_state.wavefmt.blockalign = SDL_SwapLE16(format->blockalign); 59 SDL_SwapLE16(format->bitspersample); 60 rogue_feel = (Uint8 *)format+sizeof(*format); 61 if ( sizeof(*format) == 16 ) 408 WaveFMT *format = NULL; local [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
testoverlay.c | 113 p+=s->format->BytesPerPixel; 153 p+=s->format->BytesPerPixel; 186 p+=s->format->BytesPerPixel; 222 p+=s->format->BytesPerPixel; 258 p+=s->format->BytesPerPixel; 310 fprintf(stderr, " -format <fmt> (one of the: YV12, IYUV, YUY2, UYVY, YVYU)\n"); 400 if ( strcmp(argv[1], "-format") == 0 ) { 414 fprintf(stderr, "The -format option %s is not recognized\n",argv[2]); 421 "The -format option requires an argument\n"); 471 screen->w, screen->h, screen->format->BitsPerPixel) 494 SDL_PixelFormat format; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
SimpleDateFormatTest.java | 35 private SimpleDateFormat format; field in class:SimpleDateFormatTest 44 format = new SimpleDateFormat("", Locale.ENGLISH); 59 assertTrue("Doesn't work", f2.format(new Date()).getClass() == String.class); 69 assertTrue("Doesn't work", f2.format(new Date()).getClass() == String.class); 73 new SimpleDateFormat("this is an invalid simple date format"); 97 assertTrue("Doesn't work", f2.format(new Date()).getClass() == String.class); 120 assertTrue("Doesn't work", f2.format(new Date()).getClass() == String.class); 200 assertTrue("Format modified", !f2.equals(clone)); 212 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance(); local 213 SimpleDateFormat clone = (SimpleDateFormat) format.clone() 227 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance(); local [all...] |
/bionic/libc/bionic/ |
libc_logging.cpp | 132 /* Parse a decimal string from 'format + *ppos', 138 static unsigned parse_decimal(const char *format, int *ppos) { 139 const char* p = format + *ppos; 153 *ppos = p - format; 233 static void out_vformat(Out& o, const char* format, va_list args) { 245 char buffer[32]; /* temporary buffer used to format numbers */ 253 c = format[mm]; 260 o.Send(format+nn, mm-nn); 273 c = format[nn++]; 297 width = static_cast<int>(parse_decimal(format, &nn)) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecCencPlayer.java | 161 MediaFormat format = mAudioExtractor.getTrackFormat(i); local 162 String mime = format.getString(MediaFormat.KEY_MIME); 164 Log.d(TAG, "audio track #" + i + " " + format + " " + mime + 165 " Is ADTS:" + getMediaFormatInteger(format, MediaFormat.KEY_IS_ADTS) + 166 " Sample rate:" + getMediaFormatInteger(format, MediaFormat.KEY_SAMPLE_RATE) + 168 getMediaFormatInteger(format, MediaFormat.KEY_CHANNEL_COUNT)); 172 addTrack(i, format, mEncryptedAudio); 175 if (format.containsKey(MediaFormat.KEY_DURATION)) { 176 long durationUs = format.getLong(MediaFormat.KEY_DURATION); 181 Log.d(TAG, "audio track format #" + i 196 MediaFormat format = mVideoExtractor.getTrackFormat(i); local [all...] |
/external/chromium_org/cc/resources/ |
prioritized_resource.cc | 18 ResourceFormat format) 20 format_(format), 28 bytes_ = Resource::MemorySizeBytes(size, format); 49 ResourceFormat format) { 50 if (format_ != format || size_ != size) { 52 format_ = format; 54 bytes_ = Resource::MemorySizeBytes(size, format); 92 // different than texture format. 122 ResourceFormat format) 123 : Resource(id, size, format), [all...] |
/external/chromium_org/media/base/ |
video_decoder_config.cc | 21 VideoFrame::Format format, 28 Initialize(codec, profile, format, coded_size, visible_rect, natural_size, 58 VideoFrame::Format format, 80 "Media.VideoPixelFormat", format, VideoFrame::FORMAT_MAX + 1); 85 format_ = format; 103 (format() == config.format()) && 117 << " format: " << format( 140 VideoFrame::Format VideoDecoderConfig::format() const { function in class:media::VideoDecoderConfig [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
convolve.c | 47 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) 55 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) 118 _mesa_GetnConvolutionFilterARB(GLenum target, GLenum format, GLenum type, 128 _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type, 131 _mesa_GetnConvolutionFilterARB(target, format, type, INT_MAX, image); 154 _mesa_GetnSeparableFilterARB(GLenum target, GLenum format, GLenum type, 166 _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type, 169 _mesa_GetnSeparableFilterARB(target, format, type, INT_MAX, row, 175 _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column)
|
/external/guava/guava/src/com/google/common/base/ |
Preconditions.java | 45 * String#format(String, Object[])} specifiers. 116 format(errorMessageTemplate, errorMessageArgs)); method 173 format(errorMessageTemplate, errorMessageArgs)); method 232 format(errorMessageTemplate, errorMessageArgs)); method 308 return format("%s (%s) must not be negative", desc, index); 312 return format("%s (%s) must be less than size (%s)", desc, index, size); 358 return format("%s (%s) must not be negative", desc, index); 362 return format("%s (%s) must not be greater than size (%s)", 396 return format("end index (%s) must not be less than start index (%s)", 412 @VisibleForTesting static String format(String template method in class:Preconditions [all...] |
/external/mesa3d/src/mesa/main/ |
convolve.c | 47 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) 55 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) 118 _mesa_GetnConvolutionFilterARB(GLenum target, GLenum format, GLenum type, 128 _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type, 131 _mesa_GetnConvolutionFilterARB(target, format, type, INT_MAX, image); 154 _mesa_GetnSeparableFilterARB(GLenum target, GLenum format, GLenum type, 166 _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type, 169 _mesa_GetnSeparableFilterARB(target, format, type, INT_MAX, row, 175 _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column)
|
/external/pixman/demos/ |
gtk-utils.c | 7 pixman_image_from_file (const char *filename, pixman_format_code_t format) 65 format, width, height, data, width * 4); 103 cairo_format_t format; local 107 format = CAIRO_FORMAT_RGB24; 109 format = CAIRO_FORMAT_ARGB32; 113 format, width, height, stride); 135 pixman_format_code_t format; local 149 format = pixman_image_get_format (image); 153 * has the a8r8g8b8_sRGB format. 155 switch (format) [all...] |
/external/qemu/distrib/sdl-1.2.15/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...] |
/frameworks/base/location/java/android/location/ |
GpsMeasurement.java | 1229 final String format = " %-29s = %s\\n"; 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...] |
/hardware/samsung_slsi/exynos5/gralloc/ |
gralloc.cpp | 129 static int gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage, 136 if (format == HAL_PIXEL_FORMAT_RGBA_8888) { 143 format = HAL_PIXEL_FORMAT_BGRA_8888; 147 format = HAL_PIXEL_FORMAT_BGRA_8888; 151 switch (format) { 175 if (format != HAL_PIXEL_FORMAT_BLOB) { 193 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, 199 static int gralloc_alloc_framework_yuv(int ionfd, int w, int h, int format, 207 switch (format) { 217 ALOGE("invalid yuv format %d\n", format) [all...] |
/packages/apps/Mms/src/com/android/mms/ |
LogTag.java | 70 private static String logFormat(String format, Object... args) { 76 String s = String.format(format, args); 81 public static void debug(String format, Object... args) { 82 Log.d(TAG, logFormat(format, args)); 85 public static void warn(String format, Object... args) { 86 Log.w(TAG, logFormat(format, args)); 89 public static void error(String format, Object... args) { 90 Log.e(TAG, logFormat(format, args));
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
Preconditions.java | 40 * String#format(String, Object[])} specifiers. 108 format(errorMessageTemplate, errorMessageArgs)); method 163 format(errorMessageTemplate, errorMessageArgs)); method 221 format(errorMessageTemplate, errorMessageArgs)); method 296 return format("%s (%s) must not be negative", desc, index); 300 return format("%s (%s) must be less than size (%s)", desc, index, size); 345 return format("%s (%s) must not be negative", desc, index); 349 return format("%s (%s) must not be greater than size (%s)", 383 return format("end index (%s) must not be less than start index (%s)", 399 static String format(String template, Object... args) method in class:Preconditions [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
SubtleCrypto.idl | 60 [CallWith=ScriptState] Promise importKey(KeyFormat format, ArrayBuffer keyData, Dictionary algorithm, boolean extractable, KeyUsage[] keyUsages); 61 [CallWith=ScriptState] Promise importKey(KeyFormat format, ArrayBufferView keyData, Dictionary algorithm, boolean extractable, KeyUsage[] keyUsages); 62 [CallWith=ScriptState] Promise importKey(KeyFormat format, Dictionary keyData, Dictionary algorithm, boolean extractable, KeyUsage[] keyUsages); 64 [CallWith=ScriptState] Promise exportKey(KeyFormat format, CryptoKey key); 66 [CallWith=ScriptState] Promise wrapKey(KeyFormat format, CryptoKey key, CryptoKey wrappingKey, Dictionary wrapAlgorithm); 68 [CallWith=ScriptState] Promise unwrapKey(KeyFormat format, ArrayBuffer wrappedKey, CryptoKey unwrappingKey, Dictionary unwrapAlgorithm, Dictionary unwrappedKeyAlgorithm, boolean extractable, KeyUsage[] keyUsages); 69 [CallWith=ScriptState] Promise unwrapKey(KeyFormat format, ArrayBufferView wrappedKey, CryptoKey unwrappingKey, Dictionary unwrapAlgorithm, Dictionary unwrappedKeyAlgorithm, boolean extractable, KeyUsage[] keyUsages);
|
/external/guava/guava-tests/test/com/google/common/base/ |
PreconditionsTest.java | 73 Preconditions.checkArgument(false, FORMAT, 5); 120 Preconditions.checkState(false, FORMAT, 5); 164 Preconditions.checkNotNull(null, FORMAT, 5); 325 assertEquals("%s", Preconditions.format("%s")); 326 assertEquals("5", Preconditions.format("%s", 5)); 327 assertEquals("foo [5]", Preconditions.format("foo", 5)); 328 assertEquals("foo [5, 6, 7]", Preconditions.format("foo", 5, 6, 7)); 329 assertEquals("%s 1 2", Preconditions.format("%s %s %s", "%s", 1, 2)); 330 assertEquals(" [5, 6]", Preconditions.format("", 5, 6)); 331 assertEquals("123", Preconditions.format("%s%s%s", 1, 2, 3)) [all...] |