Home
last modified time | relevance | path

Searched refs:format (Results 3751 - 3775 of 12675) sorted by relevance

1...<<151152153154155156157158159160>>...507

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/
H A DMessageFormat2Test.java55 assertEquals("date format", in testDateFormat()
62 assertEquals("date format", in testDateFormat()
68 assertEquals("date format", in testDateFormat()
74 assertEquals("date format", in testDateFormat()
80 assertEquals("date format", in testDateFormat()
88 assertEquals("date format", in testDateFormat()
92 // Implied function based on type of the object to format in testDateFormat()
96 assertEquals("date format", in testDateFormat()
99 assertEquals("date format", in testDateFormat()
103 // Implied function based on type of the object to format in testDateFormat()
217 public FormattedPlaceholder format(Object toFormat, Map<String, Object> variableOptions) { format() method in MessageFormat2Test.TemperatureFormatterFactory.TemperatureFormatterImpl
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DEthiopicTest.java246 assertEquals("Ethiopic Date", "Wed Jan 01, 0001 AD", fmt.format(cal)); in TestEraStart()
250 assertEquals("Ethiopic Date", "Tue Jan 01, 5500 BC", fmt.format(cal)); in TestEraStart()
262 assertEquals("Gregorian Date", "Tue Aug 28, 0007 AD", fmt.format(gc)); in TestEraStart()
423 DateFormat format = DateFormat.getDateTimeInstance(cal, DateFormat.FULL, DateFormat.FULL, formatLocale); in TestCoverage()
424 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
/third_party/libsnd/src/
H A Ddither.c131 switch (SF_CODEC (psf->sf.format)) in dither_init()
158 switch (SF_CODEC (psf->sf.format)) in dither_init()
226 switch (SF_CODEC (psf->sf.format)) in dither_write_short()
266 switch (SF_CODEC (psf->sf.format)) in dither_write_int()
312 switch (SF_CODEC (psf->sf.format)) in dither_write_float()
357 switch (SF_CODEC (psf->sf.format)) in dither_write_double()
/third_party/libunwind/libunwind/src/arm/
H A DGex_tables.c442 pi->format = UNW_INFO_FORMAT_ARM_EXIDX; in arm_search_unwind_table()
453 && di->format == UNW_INFO_FORMAT_ARM_EXIDX) in tdep_search_unwind_table()
456 && di->format != UNW_INFO_FORMAT_ARM_EXIDX) in tdep_search_unwind_table()
496 cb_data->di.format = UNW_INFO_FORMAT_ARM_EXIDX; in arm_phdr_cb()
527 cb_data.di.format = -1; in arm_find_proc_info()
533 if (cb_data.di.format != -1) in arm_find_proc_info()
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_context.c124 util_copy_rect(map, srf->tex->format, transfer->stride, in xa_surface_dma()
127 util_copy_rect(data, srf->tex->format, pitch, in xa_surface_dma()
204 if (!screen->is_format_supported(screen, dst->tex->format, in xa_ctx_srf_create()
233 if (src->tex->format != dst->tex->format) { in xa_copy_prepare()
308 if (ctx->srf->format == PIPE_FORMAT_L8_UNORM) in xa_solid_prepare()
/third_party/mesa3d/src/gallium/tests/graw/
H A Dfs-test.c303 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; in init_tex()
348 sv_template.format = samptex->format; in init_tex()
412 templat.format = formats[i]; in init()
426 surf_tmpl.format = templat.format; in init()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DDevice.cpp441 * the device has with the specified format.
458 enum pipe_format format = FormatTranslate(Format, FALSE); in CheckFormatSupport() local
459 if (format == PIPE_FORMAT_NONE) { in CheckFormatSupport()
472 if (screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 0, 0, in CheckFormatSupport()
478 if (screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 4, 4, in CheckFormatSupport()
485 if (screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 0, 0, in CheckFormatSupport()
490 if (screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, 4, 4, in CheckFormatSupport()
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dvertexdeclaration9.c32 #include "util/format/u_format.h"
462 * Now we have to convert them to the format and order set by the vertex
465 * non float32 format, because stream output only supports f32/u32/s32.
487 enum pipe_format format; in NineVertexDeclaration9_ConvertStreamOutput() local
490 case 1: format = PIPE_FORMAT_R32_FLOAT; break; in NineVertexDeclaration9_ConvertStreamOutput()
491 case 2: format = PIPE_FORMAT_R32G32_FLOAT; break; in NineVertexDeclaration9_ConvertStreamOutput()
492 case 3: format = PIPE_FORMAT_R32G32B32_FLOAT; break; in NineVertexDeclaration9_ConvertStreamOutput()
495 format = PIPE_FORMAT_R32G32B32A32_FLOAT; in NineVertexDeclaration9_ConvertStreamOutput()
499 transkey.element[i].input_format = format; in NineVertexDeclaration9_ConvertStreamOutput()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A Dtags.py165 "cp{version}{debug}{pymalloc}{ucs4}".format(
223 interpreter = "cp{version}".format(
427 yield "macosx_{major}_{minor}_{binary_format}".format(
438 yield "macosx_{major}_{minor}_{binary_format}".format(
447 # However, the "universal2" binary format can have a
455 yield "macosx_{major}_{minor}_{binary_format}".format(
464 yield "macosx_{major}_{minor}_{binary_format}".format(
/third_party/mesa3d/src/vulkan/wsi/
H A Dwsi_common_win32.c193 VkFormat format; member
195 { .format = VK_FORMAT_B8G8R8A8_SRGB },
196 { .format = VK_FORMAT_B8G8R8A8_UNORM },
204 sorted_formats[i] = available_surface_formats[i].format; in get_sorted_vk_formats()
230 f->format = sorted_formats[i]; in wsi_win32_surface_get_formats()
253 f->surfaceFormat.format = sorted_formats[i]; in wsi_win32_surface_get_formats2()
/third_party/libexif/test/
H A Dtest-value.c243 e->format = EXIF_FORMAT_BYTE; in main()
265 e->format = EXIF_FORMAT_UNDEFINED; /* The spec says ASCII, but libexif in main()
288 e->format = EXIF_FORMAT_BYTE; in main()
313 e->format = EXIF_FORMAT_BYTE; in main()
335 e->format = EXIF_FORMAT_RATIONAL; in main()
359 e->format = EXIF_FORMAT_SHORT; in main()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_sanity.c153 const char *format, in report_error()
162 va_start( args, format ); in report_error()
163 _debug_vprintf( format, args ); in report_error()
172 const char *format, in report_warning()
181 va_start( args, format ); in report_warning()
182 _debug_vprintf( format, args ); in report_warning()
151 report_error( struct sanity_check_ctx *ctx, const char *format, ... ) report_error() argument
170 report_warning( struct sanity_check_ctx *ctx, const char *format, ... ) report_warning() argument
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_draw.c28 #include "util/format/u_format.h"
98 /* Reset the current compressed primitives format. This gets modified in vc4_start_draw()
533 pack_rgba(enum pipe_format format, const float *rgba) in pack_rgba() argument
536 util_pack_color(rgba, format, &uc); in pack_rgba()
537 if (util_format_get_blocksize(format) == 2) in pack_rgba()
564 util_format_is_depth_and_stencil(vc4->framebuffer.zsbuf->format)) { in vc4_clear()
598 if (vc4_rt_format_is_565(vc4->framebuffer.cbufs[0]->format)) { in vc4_clear()
609 pack_rgba(vc4->framebuffer.cbufs[0]->format, in vc4_clear()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/compiler/
H A DOperation.java275 return format(digit.value()); in toString()
328 return format(count); in toString()
379 return format(asRangeString(digits)); in toString()
426 return format(nodeMap.asMap().values().stream() in toString()
431 String format(Object extra) { in format() method in Operation
432 return String.format("%s%s : %s", getOpCode(), isTerminating() ? "*" : "", extra); in format()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/compiler/
H A DCompilerRegressionTest.java72 errors.format("FAILED [%s]: First difference at index %d\n", tc.getName(), diffIndex); in testCompiledBytesEqualExpectedMatcherBytes()
73 errors.format("Actual : %s\n", formatPbSnippet(actual, diffIndex, 20)); in testCompiledBytesEqualExpectedMatcherBytes()
74 errors.format("Expected: %s\n", formatPbSnippet(expected, diffIndex, 20)); in testCompiledBytesEqualExpectedMatcherBytes()
79 errors.format("FAILED [%s]: Expected difference, but got none\n", tc.getName()); in testCompiledBytesEqualExpectedMatcherBytes()
304 errors.format(" expected: \"%s\"\n", appendBytes(out, bytes, start, 20)); in writeGoldenPbOutput()
309 // Appends a set of bytes in C-style hex format (e.g. \xHH).
313 out.append(String.format("\\x%02x", bytes[n] & 0xFF)); in appendBytes()
/third_party/python/Lib/
H A Dcompileall.py29 print('Listing {!r}...'.format(dir))
34 print("Can't list {!r}".format(dir))
236 print('Compiling {!r}...'.format(fullname))
253 print('*** Error compiling {!r}...'.format(fullname))
265 print('*** Error compiling {!r}...'.format(fullname))
415 print("Error reading file list {}".format(args.flist))
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageTransfer.cpp115 TCU_THROW(NotSupportedError, "format " + de::toString(m_params.imageFormat) + " does not support the required features"); in checkSupport()
138 // Test every aspect supported by the image format. in iterate()
174 m_params.imageFormat, // VkFormat format; in iterate()
276 VkImageAspectFlags getAspectFlags (tcu::TextureFormat format) in getAspectFlags() argument
279 aspectFlag |= (tcu::hasDepthComponent(format.order) ? VK_IMAGE_ASPECT_DEPTH_BIT : 0); in getAspectFlags()
280 aspectFlag |= (tcu::hasStencilComponent(format.order) ? VK_IMAGE_ASPECT_STENCIL_BIT : 0); in getAspectFlags()
465 const auto format = testFormats[formatIdx]; in createTransferQueueImageTests() local
466 const auto fmtName = std::string(getFormatName(format)); in createTransferQueueImageTests()
470 params.imageFormat = format; in createTransferQueueImageTests()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
H A DvktExternalMemoryUtil.hpp115 vk::pt::OHOSNativeBufferPtr Allocate(deUint32 width, deUint32 height, deUint32 format, deUint64 usage);
126 deUint32* format,
155 * format; - One of AHARDWAREBUFFER_FORMAT_*
161 virtual vk::pt::AndroidHardwareBufferPtr allocate(deUint32 width, deUint32 height, deUint32 layers, deUint32 format, deUint64 usage) = 0;
180 * format; - One of AHARDWAREBUFFER_FORMAT_*
188 deUint32* format,
197 virtual bool ahbFormatIsBlob(deUint32 format) = 0;
405 vk::VkFormat format,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageTransfer.cpp110 TCU_THROW(NotSupportedError, "Error: format " + de::toString(m_params.imageFormat) + " does not support the required features"); in checkSupport()
133 // Test every aspect supported by the image format. in iterate()
169 m_params.imageFormat, // VkFormat format; in iterate()
269 VkImageAspectFlags getAspectFlags (tcu::TextureFormat format) in getAspectFlags() argument
272 aspectFlag |= (tcu::hasDepthComponent(format.order) ? VK_IMAGE_ASPECT_DEPTH_BIT : 0); in getAspectFlags()
273 aspectFlag |= (tcu::hasStencilComponent(format.order) ? VK_IMAGE_ASPECT_STENCIL_BIT : 0); in getAspectFlags()
450 const auto format = testFormats[formatIdx]; in createTransferQueueImageTests() local
451 const auto fmtName = std::string(getFormatName(format)); in createTransferQueueImageTests()
453 const auto desc = "Using format " + fmtName; in createTransferQueueImageTests()
456 params.imageFormat = format; in createTransferQueueImageTests()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCLContext.cpp129 const cl_image_format *format, in createImage()
143 return Object::Create<Image>(errorCode, *this, Memory::PropArray{}, flags, *format, imageDesc, in createImage()
148 const cl_image_format *format, in createImage2D()
157 return Object::Create<Image>(errorCode, *this, Memory::PropArray{}, flags, *format, imageDesc, in createImage2D()
162 const cl_image_format *format, in createImage3D()
173 return Object::Create<Image>(errorCode, *this, Memory::PropArray{}, flags, *format, imageDesc, in createImage3D()
127 createImage(const cl_mem_properties *properties, MemFlags flags, const cl_image_format *format, const cl_image_desc *desc, void *hostPtr, cl_int &errorCode) createImage() argument
147 createImage2D(MemFlags flags, const cl_image_format *format, size_t width, size_t height, size_t rowPitch, void *hostPtr, cl_int &errorCode) createImage2D() argument
161 createImage3D(MemFlags flags, const cl_image_format *format, size_t width, size_t height, size_t depth, size_t rowPitch, size_t slicePitch, void *hostPtr, cl_int &errorCode) createImage3D() argument
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/
H A DesextcDrawBuffersIndexedBlending.cpp103 glw::GLenum format = BlendFormats[formatId]; in iterate() local
120 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1, format, kSize, kSize, maxDrawBuffers); in iterate()
137 int numComponents = NumComponents(format); in iterate()
248 m_testCtx.getLog() << tcu::TestLog::Message << "Blending error in texture format " << format in iterate()
332 unsigned int DrawBuffersIndexedBlending::NumComponents(glw::GLenum format) in NumComponents() argument
334 switch (format) in NumComponents()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcTextureCompatibilityTests.cpp93 glw::GLenum format; member
144 : deqp::TestCase (context, ("texsubimage_format_" + testParams.testName).c_str(), "Pass glTexSubImage with different client format to glTexImage") in SubImageFormatTest()
231 gl.texImage2D(GL_TEXTURE_2D, 0, m_testParams.internalFormat, m_textureSize, m_textureSize, 0, refTransferFormat.format, refTransferFormat.dataType, refTexture.getLevel(0).getDataPtr()); in iterate()
235 // Reference sub texture is using the same format and data type than main texture. in iterate()
236 gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_textureSize / 2, m_textureSize / 2, refTransferFormat.format, refTransferFormat.dataType, refSubTexture.getLevel(0).getDataPtr()); in iterate()
250 tcu::TextureFormat testTexFormatSub = glu::mapGLTransferFormat(m_testParams.format, m_testParams.testType); in iterate()
258 gl.texImage2D(GL_TEXTURE_2D, 0, m_testParams.internalFormat, m_textureSize, m_textureSize, 0, refTransferFormat.format, refTransferFormat.dataType, refTexture.getLevel(0).getDataPtr()); in iterate()
262 gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_textureSize / 2, m_textureSize / 2, m_testParams.format, m_testParams.testType, testSubTexture.getLevel(0).getDataPtr()); in iterate()
273 if (tcu::fuzzyCompare(m_testCtx.getLog(), "texsubimage_format_", "Pass glTexSubImage with different client format to glTexImage", in iterate()
416 : deqp::TestCaseGroup(context, "texture_compatibility", "Tests for texture format compatibilit in TextureCompatibilityTests()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A Dmtl_state_cache.h127 return format == rhs.format && offset == rhs.offset && bufferIndex == rhs.bufferIndex; in operator ==()
132 uint8_t format : 6; member
203 void reset(MTLPixelFormat format);
204 void reset(MTLPixelFormat format, MTLColorWriteMask writeMask);
205 void reset(MTLPixelFormat format, const BlendDesc &blendDesc);
/third_party/skia/src/gpu/effects/
H A DGrBezierEffect.cpp156 SkString format; in getShaderDfxInfo() local
157 format.printf("ShaderDfx_GrConicEffect_%d_%d_%d_%d_%d_%d_%d_%d", fCoverageScale, fUsesLocalCoords, in getShaderDfxInfo()
160 return format; in getShaderDfxInfo()
318 SkString format; in getShaderDfxInfo() local
319 format.printf("ShaderDfx_GrQuadEffect_%d_%d_%d_%d_%d_%d_%d_%d", fCoverageScale, fUsesLocalCoords, in getShaderDfxInfo()
322 return format; in getShaderDfxInfo()
/third_party/skia/src/gpu/vk/
H A DGrVkRenderTarget.cpp166 // We only set the few properties of the GrVkImageInfo that we know like layout and format. The in MakeSecondaryCBRenderTarget()
227 const GrBackendFormat& format = nonMSAAColorAttachment->backendFormat(); in dynamicMSAAAttachment() local
234 format, in dynamicMSAAAttachment()
235 gpu->caps()->internalMultisampleCount(format), in dynamicMSAAAttachment()
413 VkFormat format; in ReconstructAttachmentsDescriptor() local
414 SkAssertResult(programInfo.backendFormat().asVkFormat(&format)); in ReconstructAttachmentsDescriptor()
416 desc->fColor.fFormat = format; in ReconstructAttachmentsDescriptor()

Completed in 27 milliseconds

1...<<151152153154155156157158159160>>...507