Home
last modified time | relevance | path

Searched refs:format (Results 451 - 475 of 8022) sorted by relevance

1...<<11121314151617181920>>...321

/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A DStreamConfiguration.java127 public void setFormat(int format) { in setFormat() argument
128 this.mFormat = format; in setFormat()
186 public static String convertFormatToText(int format) { in convertFormatToText() argument
187 switch(format) { in convertFormatToText()
216 message.append(String.format("%s.channels = %d\n", prefix, mChannelCount)); in dump()
217 message.append(String.format("%s.perf = %s\n", prefix, in dump()
220 message.append(String.format("%s.preset = %s\n", prefix, in dump()
223 message.append(String.format("%s.sharing = %s\n", prefix, in dump()
225 message.append(String.format("%s.api = %s\n", prefix, in dump()
227 message.append(String.format(" in dump()
[all...]
/third_party/rust/crates/nom/tests/
H A Darithmetic_ast.rs34 fn fmt(&self, format: &mut Formatter<'_>) -> fmt::Result { in fmt()
37 Value(val) => write!(format, "{}", val),
38 Add(ref left, ref right) => write!(format, "{} + {}", left, right),
39 Sub(ref left, ref right) => write!(format, "{} - {}", left, right),
40 Mul(ref left, ref right) => write!(format, "{} * {}", left, right),
41 Div(ref left, ref right) => write!(format, "{} / {}", left, right),
42 Paren(ref expr) => write!(format, "({})", expr),
48 fn fmt(&self, format: &mut Formatter<'_>) -> fmt::Result { in fmt()
51 Value(val) => write!(format, "{}", val),
52 Add(ref left, ref right) => write!(format, "({
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
H A Dmacro_checker_file.py308 formatted_locations = ['{} opened at {}'.format(x.delimiter, self.getBriefLocation(x.context))
330 ['Saw /api/ include for {}, but no matching /validity/ include'.format(entity),
339 ['Saw /validity/ include for {}, but no matching /api/ include'.format(entity),
347 print('\nFor file {}:'.format(self.filename))
352 fixes = ', '.join(('{} -> {}'.format(search, replace)
355 print('{} unique auto-fix {} recorded: {}'.format(numFixes,
444 'Saw include for {}, but that entity is unknown.'.format(entity))
464 ['/api/ include found for {} after a corresponding /validity/ include'.format(entity),
465 'Validity include located at {}'.format(name_and_line)])
473 '/validity/ include found for {} without a preceding /api/ include'.format(entit
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_android.c220 radv_GetSwapchainGrallocUsageANDROID(VkDevice device_h, VkFormat format, in radv_GetSwapchainGrallocUsageANDROID() argument
245 .format = format, in radv_GetSwapchainGrallocUsageANDROID()
255 /* Check that requested format and usage are supported. */ in radv_GetSwapchainGrallocUsageANDROID()
287 if (format == VK_FORMAT_B8G8R8A8_UNORM || format == VK_FORMAT_B5G6R5_UNORM_PACK16) { in radv_GetSwapchainGrallocUsageANDROID()
299 radv_GetSwapchainGrallocUsage2ANDROID(VkDevice device_h, VkFormat format, in radv_GetSwapchainGrallocUsage2ANDROID() argument
322 .format = format, in radv_GetSwapchainGrallocUsage2ANDROID()
332 /* Check that requested format an in radv_GetSwapchainGrallocUsage2ANDROID()
773 uint32_t format = 0; radv_create_ahb_memory() local
825 radv_android_gralloc_supports_format(VkFormat format, VkImageUsageFlagBits usage) radv_android_gralloc_supports_format() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/osmesa/
H A Dosmesa.c65 #include "util/format/u_format.h"
113 GLenum format; /*< User-specified context format */ member
216 unsigned bpp = util_format_get_blocksize(res->format); in osmesa_read_buffer()
229 * Given an OSMESA_x format and a GL_y type, return the best
231 * Note that we can't exactly match all user format/type combinations
233 * implement more elaborate format/type conversion in the flush_front()
237 osmesa_choose_format(GLenum format, GLenum type) in osmesa_choose_format() argument
239 switch (format) { in osmesa_choose_format()
309 /* No gallium format fo in osmesa_choose_format()
442 enum pipe_format format = PIPE_FORMAT_NONE; osmesa_st_framebuffer_validate() local
547 OSMesaCreateContext(GLenum format, OSMesaContext sharelist) OSMesaCreateContext() argument
559 OSMesaCreateContextExt(GLenum format, GLint depthBits, GLint stencilBits, GLint accumBits, OSMesaContext sharelist) OSMesaCreateContextExt() argument
591 GLenum format = GL_RGBA; OSMesaCreateContextAttribs() local
962 OSMesaGetColorBuffer(OSMesaContext osmesa, GLint *width, GLint *height, GLint *format, void **buffer) OSMesaGetColorBuffer() argument
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DTestMessageFormat.java13 package com.ibm.icu.dev.test.format;
113 errln("Number format creation failed for " + locale[i].getDisplayName()); in TestBug3()
118 form.format(myNumber, buffer, pos); in TestBug3()
123 errln("Number format parse failed."); in TestBug3()
136 assertEquals("ChoiceFormat.format", formats[1], cf.format(1)); in TestBug1()
142 // {sfb} use double format in pattern, so result will match (not strictly necessary) in TestBug2()
221 form.format(testArgs, result, fieldpos); in TestPattern()
222 assertEquals("format", testResultStrings[i], result.toString()); in TestPattern()
261 errln("Sample message format creatio in TestSample()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DTestMessageFormat.java14 package ohos.global.icu.dev.test.format;
116 errln("Number format creation failed for " + locale[i].getDisplayName()); in TestBug3()
121 form.format(myNumber, buffer, pos); in TestBug3()
126 errln("Number format parse failed."); in TestBug3()
139 assertEquals("ChoiceFormat.format", formats[1], cf.format(1)); in TestBug1()
145 // {sfb} use double format in pattern, so result will match (not strictly necessary) in TestBug2()
224 form.format(testArgs, result, fieldpos); in TestPattern()
225 assertEquals("format", testResultStrings[i], result.toString()); in TestPattern()
264 errln("Sample message format creatio in TestSample()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassSparseRenderTargetTests.cpp87 VkFormat format, in createSparseImageAndMemory()
107 format, in createSparseImageAndMemory()
121 TCU_THROW(NotSupportedError, "The image format does not support sparse operations"); in createSparseImageAndMemory()
124 allocateAndBindSparseImage(vk, device, physicalDevice, instance, imageCreateInfo, bindSemaphore, sparseQueue, allocator, allocations, mapVkFormat(format), *destImage); in createSparseImageAndMemory()
134 VkFormat format, in createImageView()
145 format, in createImageView()
156 VkFormat format, in createImageView()
168 return createImageView(vkd, device, 0u, image, VK_IMAGE_VIEW_TYPE_2D, format, makeComponentMappingRGBA(), range); in createImageView()
173 VkFormat format, in createBuffer()
178 const VkDeviceSize pixelSize = mapVkFormat(format) in createBuffer()
77 createSparseImageAndMemory(const DeviceInterface& vk, VkDevice device, const VkPhysicalDevice physicalDevice, const InstanceInterface& instance, Allocator& allocator, vector<de::SharedPtr<Allocation> >& allocations, deUint32 universalQueueFamilyIndex, VkQueue sparseQueue, deUint32 sparseQueueFamilyIndex, const VkSemaphore& bindSemaphore, VkFormat format, deUint32 width, deUint32 height) createSparseImageAndMemory() argument
129 createImageView(const DeviceInterface& vk, VkDevice device, VkImageViewCreateFlags flags, VkImage image, VkImageViewType viewType, VkFormat format, VkComponentMapping components, VkImageSubresourceRange subresourceRange) createImageView() argument
153 createImageView(const DeviceInterface& vkd, VkDevice device, VkImage image, VkFormat format, VkImageAspectFlags aspect) createImageView() argument
171 createBuffer(const DeviceInterface& vkd, VkDevice device, VkFormat format, deUint32 width, deUint32 height) createBuffer() argument
324 createRenderPipeline(const DeviceInterface& vkd, VkDevice device, VkRenderPass renderPass, VkFormat format, VkPipelineLayout pipelineLayout, const BinaryCollection& binaryCollection, deUint32 width, deUint32 height) createRenderPipeline() argument
429 VkFormat format; global() member
797 formatToName(VkFormat format) formatToName() argument
[all...]
/third_party/skia/src/gpu/
H A DGrProxyProvider.cpp136 const GrBackendFormat& format, in testingOnly_createInstantiatedProxy()
151 if (this->caps()->isFormatCompressed(format)) { in testingOnly_createInstantiatedProxy()
162 format, in testingOnly_createInstantiatedProxy()
163 format.textureType(), in testingOnly_createInstantiatedProxy()
169 format, in testingOnly_createInstantiatedProxy()
170 format.textureType(), in testingOnly_createInstantiatedProxy()
196 auto format = this->caps()->getDefaultBackendFormat(colorType, renderable); in testingOnly_createInstantiatedProxy() local
198 format, in testingOnly_createInstantiatedProxy()
346 GrBackendFormat format = this->caps()->getDefaultBackendFormat(colorType, GrRenderable::kNo); in createNonMippedProxyFromBitmap() local
347 if (!format in createNonMippedProxyFromBitmap()
134 testingOnly_createInstantiatedProxy( SkISize dimensions, const GrBackendFormat& format, GrRenderable renderable, int renderTargetSampleCnt, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected) testingOnly_createInstantiatedProxy() argument
383 GrBackendFormat format = this->caps()->getDefaultBackendFormat(colorType, GrRenderable::kNo); createMippedProxyFromBitmap() local
436 createProxy(const GrBackendFormat& format, SkISize dimensions, GrRenderable renderable, int renderTargetSampleCnt, GrMipmapped mipMapped, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, GrInternalSurfaceFlags surfaceFlags, GrSurfaceProxy::UseAllocator useAllocator) createProxy() argument
502 GrBackendFormat format = this->caps()->getBackendFormatFromCompressionType(compressionType); createCompressedTextureProxy() local
725 CreatePromiseProxy(GrContextThreadSafeProxy* threadSafeProxy, LazyInstantiateCallback&& callback, const GrBackendFormat& format, SkISize dimensions, GrMipmapped mipMapped) CreatePromiseProxy() argument
762 createLazyProxy(LazyInstantiateCallback&& callback, const GrBackendFormat& format, SkISize dimensions, GrMipmapped mipMapped, GrMipmapStatus mipmapStatus, GrInternalSurfaceFlags surfaceFlags, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, GrSurfaceProxy::UseAllocator useAllocator) createLazyProxy() argument
801 createLazyRenderTargetProxy( LazyInstantiateCallback&& callback, const GrBackendFormat& format, SkISize dimensions, int sampleCnt, GrInternalSurfaceFlags surfaceFlags, const TextureInfo* textureInfo, GrMipmapStatus mipmapStatus, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, bool wrapsVkSecondaryCB, UseAllocator useAllocator) createLazyRenderTargetProxy() argument
845 MakeFullyLazyProxy(LazyInstantiateCallback&& callback, const GrBackendFormat& format, GrRenderable renderable, int renderTargetSampleCnt, GrProtected isProtected, const GrCaps& caps, UseAllocator useAllocator) MakeFullyLazyProxy() argument
[all...]
/third_party/bounds_checking_function/src/
H A Dvsnprintf_s.c31 * format Format-control string.
44 int vsnprintf_s(char *strDest, size_t destMax, size_t count, const char *format, va_list argList) in vsnprintf_s() argument
48 if (SECUREC_VSNPRINTF_PARAM_ERROR(format, strDest, destMax, count, SECUREC_STRING_MAX_LEN)) { in vsnprintf_s()
55 retVal = SecVsnprintfImpl(strDest, count + 1, format, argList); in vsnprintf_s()
61 retVal = SecVsnprintfImpl(strDest, destMax, format, argList); in vsnprintf_s()
99 * format Format-control string.
112 int vsnprintf_truncated_s(char *strDest, size_t destMax, const char *format, va_list argList) in vsnprintf_truncated_s() argument
116 if (SECUREC_VSPRINTF_PARAM_ERROR(format, strDest, destMax, SECUREC_STRING_MAX_LEN)) { in vsnprintf_truncated_s()
122 retVal = SecVsnprintfImpl(strDest, destMax, format, argList); in vsnprintf_truncated_s()
/third_party/jerryscript/jerry-port/default/
H A Ddefault-io.c80 const char *format, /**< format string */ in jerry_port_log()
86 va_start (args, format); in jerry_port_log()
90 int length = vsnprintf (NULL, 0, format, args); in jerry_port_log()
92 va_start (args, format); in jerry_port_log()
95 vsnprintf (buffer, (size_t) length + 1, format, args); in jerry_port_log()
102 vfprintf (stderr, format, args); in jerry_port_log()
105 vfprintf (stderr, format, args); in jerry_port_log()
79 jerry_port_log(jerry_log_level_t level, const char *format, ...) jerry_port_log() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dformat_map_desktop.cpp6 // Determining the sized internal format from a (format,type) pair.
7 // Also check DesktopGL format combinations for validity.
19 bool ValidDesktopFormat(GLenum format) in ValidDesktopFormat() argument
21 switch (format) in ValidDesktopFormat()
83 bool ValidDesktopFormatCombination(GLenum format, GLenum type, GLenum internalFormat) in ValidDesktopFormatCombination() argument
85 ASSERT(ValidDesktopFormat(format) && ValidDesktopType(type)); in ValidDesktopFormatCombination()
87 const InternalFormat &formatInfo = GetInternalFormatInfo(format, type); in ValidDesktopFormatCombination()
89 switch (format) in ValidDesktopFormatCombination()
113 // format i in ValidDesktopFormatCombination()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkFormat.hpp28 Format(VkFormat format) in Format() argument
29 : format(format) in Format()
31 inline operator VkFormat() const { return format; } in operator VkFormat()
76 static uint8_t mapTo8bit(VkFormat format);
77 static VkFormat mapFrom8bit(uint8_t format);
83 VkFormat format = VK_FORMAT_UNDEFINED; member in vk::Format
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c32 #include "util/format/u_format.h"
85 util_format_get_blocksize(texture->b.format) * 8 / in svga_transfer_dma_band()
86 (util_format_get_blockwidth(texture->b.format) in svga_transfer_dma_band()
87 * util_format_get_blockheight(texture->b.format))); in svga_transfer_dma_band()
132 util_format_get_blockheight(st->base.resource->format); in svga_transfer_dma()
215 stride = util_format_get_nblocksx(texture->format, texture->width0) * in svga_resource_get_handle()
216 util_format_get_blocksize(texture->format); in svga_resource_get_handle()
269 nblocksx = util_format_get_nblocksx(texture->format, st->box.w); in svga_texture_transfer_map_dma()
270 nblocksy = util_format_get_nblocksy(texture->format, st->box.h); in svga_texture_transfer_map_dma()
273 st->base.stride = nblocksx*util_format_get_blocksize(texture->format); in svga_texture_transfer_map_dma()
819 format_has_depth(enum pipe_format format) format_has_depth() argument
1149 enum SVGA3dSurfaceFormat format = 0; svga_texture_from_handle() local
1227 svga_texture_generate_mipmap(struct pipe_context *pipe, struct pipe_resource *pt, enum pipe_format format, unsigned base_level, unsigned last_level, unsigned first_layer, unsigned last_layer) svga_texture_generate_mipmap() argument
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
H A Drga_policy.c36 int rd_mode, int format, int win_num) in rga_check_format()
43 if (format == data->win[win_num].raster_formats[i]) { in rga_check_format()
50 if (format == data->win[win_num].fbc_formats[i]) { in rga_check_format()
57 if (format == data->win[win_num].tile_formats[i]) { in rga_check_format()
70 int format; in rga_check_src0() local
72 user_format_convert(&format, src0->format); in rga_check_src0()
82 if (!rga_check_format(data, src0->rd_mode, format, 0)) in rga_check_src0()
91 int format; in rga_check_src1() local
93 user_format_convert(&format, src in rga_check_src1()
35 rga_check_format(const struct rga_hw_data *data, int rd_mode, int format, int win_num) rga_check_format() argument
112 int format; rga_check_dst() local
[all...]
/third_party/mbedtls/scripts/
H A Dgenerate_ssl_debug_helpers.py66 start_line = '#{} {}'.format(d, p)
68 end_line = '#endif /* {} */'.format(p)
70 end_line = '#endif /* defined({}) */'.format(p)
72 end_line = '#endif /* !defined({}) */'.format(p)
108 param = "!( {} )".format(pair_param)
171 return 'Enum({},{})'.format(self._name, self._span)
201 .format(member=member, space=' '*8)
214 body = body.format(translation_table='\n'.join(translation_table),
249 return 'SigAlgs({})'.format(self._definitions[0].span())
263 ' case {}:\n return "{}";'.format(nam
[all...]
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_lower_image_casts.c29 #include "util/format/u_format.h"
39 if (from_desc->format == to_desc->format) in convert_value()
45 /* Overall format size needs to be the same */ in convert_value()
57 if (from_desc->format == PIPE_FORMAT_R10G10B10A2_UINT || in convert_value()
58 from_desc->format == PIPE_FORMAT_R10G10B10A2_UNORM) { in convert_value()
59 if (from_desc->format == PIPE_FORMAT_R10G10B10A2_UNORM) in convert_value()
69 } else if (from_desc->format == PIPE_FORMAT_R11G11B10_FLOAT) { in convert_value()
89 } else if (util_format_is_float(from_desc->format)) { in convert_value()
91 } else if (util_format_is_pure_sint(from_desc->format)) { in convert_value()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_format.h22 // header. Like the `printf` family, `str_format` uses a "format string" to
24 // below for format string documentation.
34 // write a format string to a `string` value.
35 // * `absl::StrAppendFormat()` to append a format string to a `string`
36 // * `absl::StreamFormat()` to more efficiently write a format string to a
44 // Additionally, you can provide a format string (and its associated arguments)
47 // * A `FormatSpec` class template fully encapsulates a format string and its
52 // format string for a specific set of type(s), and which can be passed
56 // The `str_format` library provides the ability to output its format strings to
64 // any compile-time checking of the format strin
338 StrFormat(const FormatSpec<Args...>& format, const Args&... args) StrFormat() argument
356 StrAppendFormat(std::string* dst, const FormatSpec<Args...>& format, const Args&... args) StrAppendFormat() argument
375 StreamFormat( const FormatSpec<Args...>& format, const Args&... args) StreamFormat() argument
396 PrintF(const FormatSpec<Args...>& format, const Args&... args) PrintF() argument
416 FPrintF(std::FILE* output, const FormatSpec<Args...>& format, const Args&... args) FPrintF() argument
445 SNPrintF(char* output, std::size_t size, const FormatSpec<Args...>& format, const Args&... args) SNPrintF() argument
504 Format(FormatRawSink raw_sink, const FormatSpec<Args...>& format, const Args&... args) Format() argument
561 FormatUntyped( FormatRawSink raw_sink, const UntypedFormatSpec& format, absl::Span<const FormatArg> args) FormatUntyped() argument
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dbind.cc124 bool ConvertAll(const UntypedFormatSpecImpl format, in ConvertAll() argument
126 if (format.has_parsed_conversion()) { in ConvertAll()
127 return format.parsed_conversion()->ProcessFormat( in ConvertAll()
130 return ParseFormatString(format.str(), in ConvertAll()
180 std::string Summarize(const UntypedFormatSpecImpl format, in Summarize() argument
188 if (!ConvertAll(format, args, Converter(&sink))) { in Summarize()
196 const UntypedFormatSpecImpl format, in FormatUntyped()
200 return ConvertAll(format, args, Converter(&sink)); in FormatUntyped()
208 std::string& AppendPack(std::string* out, const UntypedFormatSpecImpl format, in AppendPack() argument
211 if (ABSL_PREDICT_FALSE(!FormatUntyped(out, format, arg in AppendPack()
195 FormatUntyped(FormatRawSinkImpl raw_sink, const UntypedFormatSpecImpl format, absl::Span<const FormatArgImpl> args) FormatUntyped() argument
217 FormatPack(const UntypedFormatSpecImpl format, absl::Span<const FormatArgImpl> args) FormatPack() argument
226 FprintF(std::FILE* output, const UntypedFormatSpecImpl format, absl::Span<const FormatArgImpl> args) FprintF() argument
244 SnprintF(char* output, size_t size, const UntypedFormatSpecImpl format, absl::Span<const FormatArgImpl> args) SnprintF() argument
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluFboRenderContext.cpp38 static int getNumDepthBits (const tcu::TextureFormat& format) in getNumDepthBits() argument
40 if (format.order == tcu::TextureFormat::DS) in getNumDepthBits()
42 const tcu::TextureFormat depthOnlyFormat = tcu::getEffectiveDepthStencilTextureFormat(format, tcu::Sampler::MODE_DEPTH); in getNumDepthBits()
45 else if (format.order == tcu::TextureFormat::D) in getNumDepthBits()
46 return tcu::getTextureFormatBitDepth(format).x(); in getNumDepthBits()
51 static int getNumStencilBits (const tcu::TextureFormat& format) in getNumStencilBits() argument
53 if (format.order == tcu::TextureFormat::DS) in getNumStencilBits()
55 const tcu::TextureFormat stencilOnlyFormat = tcu::getEffectiveDepthStencilTextureFormat(format, tcu::Sampler::MODE_STENCIL); in getNumStencilBits()
58 else if (format.order == tcu::TextureFormat::S) in getNumStencilBits()
59 return tcu::getTextureFormatBitDepth(format) in getNumStencilBits()
94 const deUint32 format = s_formats[fmtNdx]; chooseColorFormat() local
133 const deUint32 format = s_formats[fmtNdx]; chooseDepthStencilFormat() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmediacodecdec.c126 static int h264_set_extradata(AVCodecContext *avctx, FFAMediaFormat *format) in h264_set_extradata() argument
168 ff_AMediaFormat_setBuffer(format, "csd-0", (void*)data, data_size); in h264_set_extradata()
174 ff_AMediaFormat_setBuffer(format, "csd-1", (void*)data, data_size); in h264_set_extradata()
192 static int hevc_set_extradata(AVCodecContext *avctx, FFAMediaFormat *format) in hevc_set_extradata() argument
266 ff_AMediaFormat_setBuffer(format, "csd-0", data, data_size); in hevc_set_extradata()
291 static int common_set_extradata(AVCodecContext *avctx, FFAMediaFormat *format) in common_set_extradata() argument
296 ff_AMediaFormat_setBuffer(format, "csd-0", avctx->extradata, avctx->extradata_size); in common_set_extradata()
310 FFAMediaFormat *format = NULL; in mediacodec_decode_init() local
313 format = ff_AMediaFormat_new(); in mediacodec_decode_init()
314 if (!format) { in mediacodec_decode_init()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DJapaneseTest.java122 logln("date: " + fmt.format(cal.getTime())); in TestCoverage()
124 logln("date: " + fmt.format(cal.getTime())); in TestCoverage()
147 DateFormat format = DateFormat.getDateTimeInstance(cal, DateFormat.FULL, DateFormat.FULL, formatLocale); in TestCoverage()
148 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
158 final String jCalGannenDate = "1/5/9"; // A date in the above format after the accession date for Heisei era (Heisei year 1 Jan 8) in Test3860()
164 DateFormat format = cal.getDateTimeFormat(DateFormat.SHORT,DateFormat.SHORT,loc); // SHORT => no jpanyear since we will apply a short pattern in Test3860()
165 ((SimpleDateFormat)format).applyPattern(jCalShortPattern); in Test3860()
167 Date aDate = format.parse(jCalGannenDate, pos); in Test3860()
168 String inEn = enjformat.format(aDat in Test3860()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DJapaneseTest.java119 logln("date: " + fmt.format(cal.getTime())); in TestCoverage()
121 logln("date: " + fmt.format(cal.getTime())); in TestCoverage()
144 DateFormat format = DateFormat.getDateTimeInstance(cal, DateFormat.FULL, DateFormat.FULL, formatLocale); in TestCoverage()
145 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
155 final String jCalGannenDate = "1/5/9"; // A date in the above format after the accession date for Heisei era (Heisei year 1 Jan 8) in Test3860()
161 DateFormat format = cal.getDateTimeFormat(DateFormat.SHORT,DateFormat.SHORT,loc); // SHORT => no jpanyear since we will apply a short pattern in Test3860()
162 ((SimpleDateFormat)format).applyPattern(jCalShortPattern); in Test3860()
164 Date aDate = format.parse(jCalGannenDate, pos); in Test3860()
165 String inEn = enjformat.format(aDat in Test3860()
[all...]
/third_party/libsnd/src/
H A Dau.c95 static int au_format_to_encoding (int format) ;
114 if ((SF_CONTAINER (psf->sf.format)) != SF_FORMAT_AU) in au_open()
117 subformat = SF_CODEC (psf->sf.format) ; in au_open()
120 { psf->endian = SF_ENDIAN (psf->sf.format) ; in au_open()
216 encoding = au_format_to_encoding (SF_CODEC (psf->sf.format)) ; in au_write_header()
232 ** AU format files allow a datalength value of -1 if the datalength in au_write_header()
267 au_format_to_encoding (int format) in au_format_to_encoding() argument
269 switch (format) in au_format_to_encoding()
347 psf->sf.format = SF_FORMAT_AU ; in au_read_header()
349 psf->sf.format in au_read_header()
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_eglimage.c33 #include "util/format/u_format.h"
43 is_format_supported(struct pipe_screen *screen, enum pipe_format format, in is_format_supported() argument
47 bool supported = screen->is_format_supported(screen, format, PIPE_TEXTURE_2D, in is_format_supported()
53 * the surface will have a format that the driver can't cope with because in is_format_supported()
58 switch (format) { in is_format_supported()
147 if (out->format == PIPE_FORMAT_NV12 && in is_nv12_as_r8_g8b8_supported()
148 out->texture->format == PIPE_FORMAT_R8_G8B8_420_UNORM && in is_nv12_as_r8_g8b8_supported()
186 !is_format_supported(screen, out->format, out->texture->nr_samples, in st_get_egl_image()
191 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(format not supported)", error); in st_get_egl_image()
200 * Return the base format jus
203 st_pipe_format_to_base_format(enum pipe_format format) st_pipe_format_to_base_format() argument
[all...]

Completed in 17 milliseconds

1...<<11121314151617181920>>...321