/external/pixman/test/ |
composite.c | 134 pixman_format_code_t format; member in struct:image_t 191 pixman_format_code_t format = pixman_image_get_format (image); local 192 value >>= 8 * sizeof(value) - PIXMAN_FORMAT_BPP (format); 205 format_name (info->format), 268 if (PIXMAN_FORMAT_TYPE (src->format) == PIXMAN_TYPE_ARGB_SRGB) 273 round_color (src->format, &tsrc); 280 round_color (src->format, &tsrc); 286 if (PIXMAN_FORMAT_TYPE (mask->format) == PIXMAN_TYPE_ARGB_SRGB) 291 round_color (mask->format, &tmsk); 298 round_color (mask->format, &tmsk) [all...] |
/hardware/intel/img/psb_video/src/android/ |
psb_surface_gralloc.c | 96 int format, 105 int protected = (VA_RT_FORMAT_PROTECTED & format); 114 format = format & (~VA_RT_FORMAT_PROTECTED); 122 ALOGD("format is 0x%x, width is %d, height is %d, num_surfaces is %d.\n", format, width, height, num_surfaces); 123 /* We only support one format */ 124 if ((VA_RT_FORMAT_YUV420 != format) 125 && (VA_RT_FORMAT_YUV422 != format)) { 179 switch (format) { [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
ExtendedCameraCharacteristicsTest.java | 102 assertNotNull(String.format("Can't get camera characteristics from: ID %s", mIds[i]), 130 assertNotNull(String.format("No stream configuration map found for: ID %s", 136 String.format("No valid YUV_420_888 preview formats found for: ID %s", 138 assertArrayContains(String.format("No JPEG image format for: ID %s", 143 String.format("No sizes for preview format %x for: ID %s", 146 assertArrayContains(String.format( 147 "Required VGA size not found for format %x for: ID %s", 364 assertNotNull(String.format("No stream configuration map found for: ID %s" [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
stdio.in.h | 57 /* The __-protected variants of `format' and `printf' attributes 60 # define __format__ format 77 extern int fprintf (FILE *fp, const char *format, ...) 82 extern int fprintf (FILE *fp, const char *format, ...) 96 extern int vfprintf (FILE *fp, const char *format, va_list args) 101 extern int vfprintf (FILE *fp, const char *format, va_list args) 114 /* Don't break __attribute__((format(printf,M,N))). */ 116 extern int printf (const char *format, ...) 120 /* Don't break __attribute__((format(printf,M,N))). */ 122 extern int printf (const char *format, ... [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_exa.c | 55 exa_debug_printf(const char *format, ...) _util_printf_format(1,2); 58 exa_debug_printf(const char *format, ...) 62 va_start(ap, format); 63 _debug_vprintf(format, ap); 66 (void) format; /* silence warning */ 74 int format; member in struct:render_format_str 123 static const char *render_format_name(int format) 127 if (formats_info[i].format == format) 134 exa_get_pipe_format(int depth, enum pipe_format *format, int *bbp, int *picture_format [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_exa.c | 55 exa_debug_printf(const char *format, ...) _util_printf_format(1,2); 58 exa_debug_printf(const char *format, ...) 62 va_start(ap, format); 63 _debug_vprintf(format, ap); 66 (void) format; /* silence warning */ 74 int format; member in struct:render_format_str 123 static const char *render_format_name(int format) 127 if (formats_info[i].format == format) 134 exa_get_pipe_format(int depth, enum pipe_format *format, int *bbp, int *picture_format [all...] |
/hardware/qcom/media/libc2dcolorconvert/ |
C2DColorConverter.cpp | 62 bool isYUVSurface(ColorConvertFormat format); 63 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource); 66 uint32_t getC2DFormat(ColorConvertFormat format); 67 size_t calcStride(ColorConvertFormat format, size_t width); 68 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height); 69 size_t calcSize(ColorConvertFormat format, size_t width, size_t height); 72 size_t calcLumaAlign(ColorConvertFormat format); 73 size_t calcSizeAlign(ColorConvertFormat format); 74 C2DBytesPerPixel calcBytesPerPixel(ColorConvertFormat format); 256 bool C2DColorConverter::isYUVSurface(ColorConvertFormat format) [all...] |
/external/chromium_org/media/audio/win/ |
core_audio_util_win_unittest.cc | 253 // Perform a simple sanity test of the aquired format structure. 254 WAVEFORMATPCMEX format; local 256 &format))); 257 EXPECT_GE(format.Format.nChannels, 1); 258 EXPECT_GE(format.Format.nSamplesPerSec, 8000u); 259 EXPECT_GE(format.Format.wBitsPerSample, 16); 260 EXPECT_GE(format.Samples.wValidBitsPerSample, 16) 342 WAVEFORMATPCMEX format; local 403 WAVEFORMATPCMEX format; local 452 WAVEFORMATPCMEX format; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
CountingTimerView.java | 294 final String allDigits = String.format("%010d", 123456789); 327 String format; local 370 format = showNeg ? NEG_TWO_DIGITS : TWO_DIGITS; 371 mHours = String.format(format, hours); 373 format = showNeg ? NEG_ONE_DIGIT : ONE_DIGIT; 374 mHours = String.format(format, hours); 381 format = (showNeg && hours == 0) ? NEG_TWO_DIGITS : TWO_DIGITS; 382 mMinutes = String.format(format, minutes) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_types.py | 101 test(float('1.5e'+str(i)), '1.500000e{0:+03d}'.format(i)) 417 # format spec must be string 432 # ensure that float type specifiers work; format converts 526 # format spec must be string 541 # ensure that float type specifiers work; format converts 564 self.assertEqual(locale.format('%g', x, grouping=True), format(x, 'n')) 565 self.assertEqual(locale.format('%.10g', x, grouping=True), format(x, '.10n')) 573 self.assertEqual(locale.format('%d', x, grouping=True), format(x, 'n') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_types.py | 101 test(float('1.5e'+str(i)), '1.500000e{0:+03d}'.format(i)) 417 # format spec must be string 432 # ensure that float type specifiers work; format converts 526 # format spec must be string 541 # ensure that float type specifiers work; format converts 564 self.assertEqual(locale.format('%g', x, grouping=True), format(x, 'n')) 565 self.assertEqual(locale.format('%.10g', x, grouping=True), format(x, '.10n')) 573 self.assertEqual(locale.format('%d', x, grouping=True), format(x, 'n') [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
SDL_DirectFB_video.c | 55 static SDL_Rect **DirectFB_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags); 228 static DFBSurfacePixelFormat SDLToDFBPixelFormat (SDL_PixelFormat *format) 230 if (format->Rmask && format->Gmask && format->Bmask) 232 switch (format->BitsPerPixel) 238 if (format->Rmask == 0xF800 && 239 format->Gmask == 0x07E0 && 240 format->Bmask == 0x001F) 245 if (format->Rmask == 0x7C00 & [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/ |
JPEGTest.c | 330 imageinfo->format = GetYUVformat(Data); 331 switch (imageinfo->format) { 333 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV420PackedPlanar\n"); 336 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV411Planar\n"); 339 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV422Interleaved\n"); 342 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV444Interleaved\n"); 345 printf("APP:: Image chroma format is OMX_COLOR_FormatL8 \n"); 348 printf("APP:: Cannot find Image chroma format \n"); 349 imageinfo->format = OMX_COLOR_FormatUnused; 358 imageinfo->format= 1 [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestClz.java | 80 message.append(String.format("%d", args.inValue)); 83 message.append(String.format("%d", args.out)); 86 message.append(String.format("%d", arrayOut[i * 1 + j])); 136 message.append(String.format("%d", args.inValue)); 139 message.append(String.format("%d", args.out)); 142 message.append(String.format("%d", arrayOut[i * 2 + j])); 192 message.append(String.format("%d", args.inValue)); 195 message.append(String.format("%d", args.out)); 198 message.append(String.format("%d", arrayOut[i * 4 + j])); 248 message.append(String.format("%d", args.inValue)) [all...] |
/external/chromium_org/ppapi/proxy/ |
ppb_image_data_proxy.cc | 64 // is a usable ImageData of the right size and format, we'll return it 125 PP_ImageDataFormat format); 148 PP_ImageDataFormat format) { 156 if (desc.format == format && 231 // format if one exists. If one doesn't exist, this will return a null refptr. 235 PP_ImageDataFormat format); 274 PP_ImageDataFormat format) { 278 return found->second.Get(type, width, height, format); 479 PP_ImageDataFormat format, [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
errwarn.c | 271 yasm_error_set_va(yasm_error_class eclass, const char *format, va_list va) 279 vsnprintf(yasm_estr, MSG_MAXSIZE, yasm_gettext_hook(format), va); 281 vsprintf(yasm_estr, yasm_gettext_hook(format), va); 286 yasm_error_set(yasm_error_class eclass, const char *format, ...) 289 va_start(va, format); 290 yasm_error_set_va(eclass, format, va); 295 yasm_error_set_xref_va(unsigned long xrefline, const char *format, va_list va) 304 vsnprintf(yasm_exrefstr, MSG_MAXSIZE, yasm_gettext_hook(format), va); 306 vsprintf(yasm_exrefstr, yasm_gettext_hook(format), va); 311 yasm_error_set_xref(unsigned long xrefline, const char *format, ... [all...] |
/external/chromium_org/v8/test/intl/overrides/ |
date.js | 40 assertEquals(dtfAll.format(date), date.toLocaleString()); 41 assertEquals(dtfDate.format(date), date.toLocaleDateString()); 42 assertEquals(dtfTime.format(date), date.toLocaleTimeString()); 53 assertEquals(dtfAll.format(date), date.toLocaleString(locale)); 54 assertEquals(dtfDate.format(date), date.toLocaleDateString(locale)); 55 assertEquals(dtfTime.format(date), date.toLocaleTimeString(locale)); 63 assertEquals(dtf.format(date), date.toLocaleString(locale, options)); 64 assertEquals(dtf.format(date), date.toLocaleDateString(locale, options)); 65 assertEquals(dtf.format(date), date.toLocaleTimeString(locale, options));
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_bmp.c | 25 Code to load and save surfaces in Windows BMP format. 27 Why support BMP format? Well, it's a native format for Windows, and 29 to be able to have at least one image format that we can natively load 177 /* Default values for the BMP format */ 232 palette = (surface->format)->palette; 390 if ( saveme->format->palette ) { 391 if ( saveme->format->BitsPerPixel == 8 ) { 395 saveme->format->BitsPerPixel); 398 else if ( (saveme->format->BitsPerPixel == 24) & [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
AllocationInfo.java | 71 * Create a new {@link AllocationInfo} holding the specified format, {@link Size}, 76 * <p>The closest {@link Element} possible is created from the format.</p> 79 * @param format An int format 89 public static AllocationInfo newInstance(Size size, int format, int usage) { 93 switch (format) { 102 throw new UnsupportedOperationException("Unsupported format " + format); 110 * Create a new {@link AllocationInfo} holding the specified format, {@link Size}, 115 * <p>The closest {@link Element} possible is created from the format.</p [all...] |
/external/chromium_org/dbus/ |
dbus_statistics.cc | 178 // NOTE: If the output format is changed, be certain to change the test 180 std::string GetAsString(ShowInString show, FormatString format) { 226 if (format == FORMAT_TOTALS) 228 else if (format == FORMAT_PER_MINUTE) 230 else if (format == FORMAT_ALL) 236 if (format == FORMAT_TOTALS) 238 else if (format == FORMAT_PER_MINUTE) 240 else if (format == FORMAT_ALL) 245 if (format == FORMAT_TOTALS) 247 else if (format == FORMAT_PER_MINUTE [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/wayland/wayland-drm/ |
wayland-drm.c | 71 uint32_t format, 88 buffer->format = format; 119 uint32_t stride, uint32_t format) 121 switch (format) { 129 "invalid format"); 134 name, width, height, format, 0, stride, 0, 0, 0, 0); 141 int32_t width, int32_t height, uint32_t format, 146 switch (format) { 158 "invalid format"); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_tex_tile_cache.c | 131 tc->format == view->format && 168 tc->format = view->format; 232 boolean zs = util_format_is_depth_or_stencil(tc->format); 293 * the image format. 295 if (!zs && util_format_is_pure_uint(tc->format)) { 302 tc->format, 304 } else if (!zs && util_format_is_pure_sint(tc->format)) { 311 tc->format, [all...] |
/external/chromium_org/third_party/mesa/src/src/glx/ |
indirect_texture_compression.c | 140 GLenum format, GLsizei image_size, 166 __GLX_PUT_LONG(28, format); 184 __GLX_PUT_LONG(32, format); 270 GLenum format, GLsizei image_size, 274 format, image_size, data, 283 GLenum format, GLsizei image_size, 287 format, image_size, data, 297 GLenum format, GLsizei image_size, 319 __GLX_PUT_LONG(36, format); 337 __GLX_PUT_LONG(40, format); [all...] |
/external/lldb/include/lldb/Core/ |
Module.h | 696 /// into the file format, an MD5 checksum of the entire file, or [all...] |
/external/mesa3d/src/egl/wayland/wayland-drm/ |
wayland-drm.c | 71 uint32_t format, 88 buffer->format = format; 119 uint32_t stride, uint32_t format) 121 switch (format) { 129 "invalid format"); 134 name, width, height, format, 0, stride, 0, 0, 0, 0); 141 int32_t width, int32_t height, uint32_t format, 146 switch (format) { 158 "invalid format"); [all...] |