/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_drm.c | 88 frame->format = AV_PIX_FMT_DRM_PRIME; in drm_get_buffer() 234 map->format = dst->format; in drm_transfer_data_from() 265 map->format = src->format; in drm_transfer_data_to() 290 if (hwfc->sw_format != dst->format) in drm_map_from()
|
/third_party/glslang/glslang/Include/ |
H A D | Common.h | 75 #define safe_vsprintf(buf,max,format,args) vsnprintf_s((buf), (max), (max), (format), (args)) 77 #define safe_vsprintf(buf,max,format,args) vsnprintf((buf), (max), (format), (args)) 81 #define safe_vsprintf(buf,max,format,args) vsnprintf((buf), (max), (format), (args))
|
/third_party/backends/backend/genesys/ |
H A D | image.cpp | 35 Image::Image(std::size_t width, std::size_t height, PixelFormat format) : in Image() argument 38 format_{format}, 79 void Image::resize(std::size_t width, std::size_t height, PixelFormat format) in resize() argument 83 format_ = format; in resize() 136 throw SaneException("Unknown pixel format %d", static_cast<unsigned>(out_format)); in convert_pixel_row_impl() 181 throw SaneException("Unknown pixel format %d", static_cast<unsigned>(in_format)); in convert_pixel_row_format() 224 bool is_supported_write_tiff_file_image_format(PixelFormat format) in is_supported_write_tiff_file_image_format() argument 226 switch (format) { in is_supported_write_tiff_file_image_format() 242 throw SaneException("Unsupported format %d", static_cast<unsigned>(image.get_format())); in write_tiff_file()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | RelativeDateFormat.java | 105 * @see com.ibm.icu.text.DateFormat#format(com.ibm.icu.util.Calendar, java.lang.StringBuffer, java.text.FieldPosition) 108 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() method in RelativeDateFormat 149 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 156 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 165 fCombinedFormat.format(new Object[] {fTimePattern, datePattern}, combinedPattern, new FieldPosition(0)); in format() 167 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 175 fDateFormat.format(cal, toAppendTo, fieldPosition); in format() 213 private MessageFormat fCombinedFormat; // the {0} {1} format.
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tzoffloc.cpp | 214 df.format(MILLIS[d], dateStr); in TestGetOffsetAroundTransition() 231 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition() 252 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition() 273 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition() 294 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition() 315 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition()
|
/third_party/icu/icu4c/source/common/ |
H A D | simpleformatter.cpp | 158 UnicodeString& SimpleFormatter::format( in format() function in SimpleFormatter 165 UnicodeString& SimpleFormatter::format( in format() function in SimpleFormatter 173 UnicodeString& SimpleFormatter::format( in format() function in SimpleFormatter 194 return format(compiledPattern.getBuffer(), compiledPattern.length(), values, in formatAndAppend() 243 return format(cp, cpLength, values, in formatAndReplace() 274 UnicodeString &SimpleFormatter::format( in format() function in SimpleFormatter
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
H A D | TimeZoneOffsetLocalTest.java | 172 + df.format(new Date(MILLIS[d])) + "(standard) - Got: " + offset + " Expected: " + OFFSETS1[d]); in TestGetOffsetAroundTransition() 183 + df.format(new Date(MILLIS[m])) + "(wall) - Got: " in TestGetOffsetAroundTransition() 197 + df.format(new Date(MILLIS[m])) + "(wall/STD/STD) - Got: " in TestGetOffsetAroundTransition() 211 + df.format(new Date(MILLIS[m])) + "(wall/DST/DST) - Got: " in TestGetOffsetAroundTransition() 225 + df.format(new Date(MILLIS[m])) + "(wall/FORMER/LATTER) - Got: " in TestGetOffsetAroundTransition() 239 + df.format(new Date(MILLIS[m])) + "(wall/LATTER/FORMER) - Got: " in TestGetOffsetAroundTransition()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
H A D | TimeZoneOffsetLocalTest.java | 170 + df.format(new Date(MILLIS[d])) + "(standard) - Got: " + offset + " Expected: " + OFFSETS1[d]); in TestGetOffsetAroundTransition() 181 + df.format(new Date(MILLIS[m])) + "(wall) - Got: " in TestGetOffsetAroundTransition() 195 + df.format(new Date(MILLIS[m])) + "(wall/STANDARD_FORMER/STANDARD_LATTER) - Got: " in TestGetOffsetAroundTransition() 209 + df.format(new Date(MILLIS[m])) + "(wall/DAYLIGHT_LATTER/DAYLIGHT_FORMER) - Got: " in TestGetOffsetAroundTransition() 223 + df.format(new Date(MILLIS[m])) + "(wall/FORMER/LATTER) - Got: " in TestGetOffsetAroundTransition() 237 + df.format(new Date(MILLIS[m])) + "(wall/LATTER/FORMER) - Got: " in TestGetOffsetAroundTransition()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | RelativeDateFormat.java | 108 * @see ohos.global.icu.text.DateFormat#format(ohos.global.icu.util.Calendar, java.lang.StringBuffer, java.text.FieldPosition) 111 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() method in RelativeDateFormat 152 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 159 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 168 fCombinedFormat.format(new Object[] {fTimePattern, datePattern}, combinedPattern, new FieldPosition(0)); in format() 170 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 178 fDateFormat.format(cal, toAppendTo, fieldPosition); in format() 216 private MessageFormat fCombinedFormat; // the {0} {1} format.
|
/third_party/mesa3d/src/amd/addrlib/src/core/ |
H A D | addrlib.cpp | 537 GetElemLib()->Flt32ToDepthPixel(pIn->format, pIn->comps, pOut->pPixel); in Flt32ToDepthPixel() 544 switch (pIn->format) in Flt32ToDepthPixel() 615 GetElemLib()->Flt32ToColorPixel(pIn->format, in Flt32ToColorPixel() 631 * Check one format can be EXPORT_NUM 653 enabled = GetElemLib()->PixGetExportNorm(pIn->format, pIn->num, pIn->swap); in GetExportNorm() 664 * Get bits-per-element for specified format 666 * bits-per-element of specified format 669 UINT_32 Lib::GetBpe(AddrFormat format) const in GetBpe() 671 return GetElemLib()->GetBitsPerPixel(format); in GetBpe()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_vertex.c | 28 #include "util/format/u_format.h" 63 * Does the given vertex attrib format need range adjustment in the VS? 68 attrib_needs_range_adjustment(enum pipe_format format) in attrib_needs_range_adjustment() argument 70 switch (format) { in attrib_needs_range_adjustment() 80 * Given a gallium vertex element format, return the corresponding 84 translate_vertex_format_to_decltype(enum pipe_format format) in translate_vertex_format_to_decltype() argument 86 switch (format) { in translate_vertex_format_to_decltype() 144 elements[i].format = svga_format; in define_input_element_object() 156 if (elements[i].format == SVGA3D_FORMAT_INVALID) { in define_input_element_object() 218 /* Unsupported format in translate_vertex_decls() [all...] |
/third_party/mesa3d/src/gallium/tests/graw/ |
H A D | quad-sample.c | 219 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; in init_tex() 263 sv_template.format = samptex->format; in init_tex() 327 templat.format = formats[i]; in init() 341 surf_tmpl.format = templat.format; in init()
|
/third_party/node/src/ |
H A D | node_errors.h | 11 // because the format specifiers are not available on AIX. 97 v8::Isolate* isolate, const char* format, Args&&... args) { \ 98 std::string message = SPrintF(format, std::forward<Args>(args)...); \ 113 v8::Isolate* isolate, const char* format, Args&&... args) { \ 115 code(isolate, format, std::forward<Args>(args)...)); \ 119 Environment* env, const char* format, Args&&... args) { \ 120 THROW_##code(env->isolate(), format, std::forward<Args>(args)...); \ 139 V(ERR_CRYPTO_INVALID_JWK, "Invalid JWK format") \
|
/third_party/node/tools/gyp/tools/ |
H A D | pretty_vcproj.py | 7 """Make the format of a vcproj really pretty. 69 print("{}{}".format(" " * indent, node.data.strip())) 81 print("{}<{}>".format(" " * indent, node.nodeName)) 83 print("{}<{}".format(" " * indent, node.nodeName)) 90 print('{} {}="{}"'.format(" " * indent, name, value)) 93 print("{} {}".format(" " * indent, node.nodeValue)) 97 print("{}</{}>".format(" " * indent, node.nodeName))
|
/third_party/node/deps/icu-small/source/common/ |
H A D | simpleformatter.cpp | 158 UnicodeString& SimpleFormatter::format( in format() function in SimpleFormatter 165 UnicodeString& SimpleFormatter::format( in format() function in SimpleFormatter 173 UnicodeString& SimpleFormatter::format( in format() function in SimpleFormatter 194 return format(compiledPattern.getBuffer(), compiledPattern.length(), values, in formatAndAppend() 243 return format(cp, cpLength, values, in formatAndReplace() 274 UnicodeString &SimpleFormatter::format( in format() function in SimpleFormatter
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_vdpau.c | 127 templ.format = VdpFormatRGBAToPipe(desc->format); in st_vdpau_resource_from_description() 137 whandle.format = VdpFormatRGBAToPipe(desc->format); in st_vdpau_resource_from_description() 243 texFormat = st_pipe_format_to_mesa_format(res->format); in st_vdpau_map_surface() 253 texObj->surface_format = res->format; in st_vdpau_map_surface()
|
/third_party/mesa3d/src/intel/genxml/ |
H A D | gen_bits_header.py | 156 return 'GFX{}_{}'.format(gen, token) 185 raise ValueError('Invalid property: "{0}"'.format(prop)) 191 raise ValueError('Invalid property: "{0}"'.format(prop)) 200 raise ValueError('Invalid property: "{0}"'.format(prop)) 227 raise ValueError('Invalid property: "{0}"'.format(prop)) 238 raise ValueError('Invalid property: "{0}"'.format(prop))
|
/third_party/mesa3d/src/panfrost/shared/ |
H A D | pan_tiling.c | 35 * See docs/drivers/panfrost.rst for details on the format. 240 * Perform a generic access to a tiled image with a given format. This works 283 enum pipe_format format, in panfrost_access_tiled_image() 286 const struct util_format_description *desc = util_format_description(format); in panfrost_access_tiled_image() 388 enum pipe_format format) in panfrost_store_tiled_image() 392 dst_stride, src_stride, format, true); in panfrost_store_tiled_image() 401 enum pipe_format format) in panfrost_load_tiled_image() 405 src_stride, dst_stride, format, false); in panfrost_load_tiled_image() 278 panfrost_access_tiled_image(void *dst, void *src, unsigned x, unsigned y, unsigned w, unsigned h, uint32_t dst_stride, uint32_t src_stride, enum pipe_format format, bool is_store) panfrost_access_tiled_image() argument 383 panfrost_store_tiled_image(void *dst, const void *src, unsigned x, unsigned y, unsigned w, unsigned h, uint32_t dst_stride, uint32_t src_stride, enum pipe_format format) panfrost_store_tiled_image() argument 396 panfrost_load_tiled_image(void *dst, const void *src, unsigned x, unsigned y, unsigned w, unsigned h, uint32_t dst_stride, uint32_t src_stride, enum pipe_format format) panfrost_load_tiled_image() argument
|
/third_party/mesa3d/include/android_stub/system/ |
H A D | window.h | 125 int format; member 737 * native_window_set_buffers_geometry(..., int w, int h, int format) 738 * All buffers dequeued after this call will have the dimensions and format 747 int w, int h, int format) __deprecated; 751 int w, int h, int format) in native_window_set_buffers_geometry() 754 w, h, format); in native_window_set_buffers_geometry() 804 * native_window_set_buffers_format(..., int format) 805 * All buffers dequeued after this call will have the format specified. 807 * If the specified format is 0, the default buffer format wil 749 native_window_set_buffers_geometry( struct ANativeWindow* window, int w, int h, int format) native_window_set_buffers_geometry() argument 809 native_window_set_buffers_format( struct ANativeWindow* window, int format) native_window_set_buffers_format() argument [all...] |
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | stdio.c | 365 static int vsnprintf_test(const char* format, ...) in vsnprintf_test() argument 371 va_start(va, format); in vsnprintf_test() 372 int result = vsnprintf(buf, printSize, format, va); in vsnprintf_test() 377 static int vsprintf_test(const char* format, ...) in vsprintf_test() argument 382 va_start(va, format); in vsprintf_test() 383 int result = vsprintf(buf, format, va); in vsprintf_test()
|
/third_party/python/Include/ |
H A D | pyerrors.h | 178 const char *format, /* ASCII-encoded string */ 184 const char *format, 317 PyAPI_FUNC(int) PyOS_snprintf(char *str, size_t size, const char *format, ...) 318 Py_GCC_ATTRIBUTE((format(printf, 3, 4))); 319 PyAPI_FUNC(int) PyOS_vsnprintf(char *str, size_t size, const char *format, va_list va) 320 Py_GCC_ATTRIBUTE((format(printf, 3, 0)));
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryTestsUtil.cpp | 115 vertexFormat, // VkFormat format; in setVertexInputSingleAttribute() 374 VkImageCreateInfo makeImageCreateInfo (const tcu::IVec2& size, const VkFormat format, const VkImageUsageFlags usage, const deUint32 numArrayLayers) in makeImageCreateInfo() argument 382 format, // VkFormat format; in makeImageCreateInfo() 428 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const tcu::Vec4& color) in fillBuffer() argument 430 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer() 447 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const float depth) in fillBuffer() argument 449 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryTestsUtil.cpp | 115 vertexFormat, // VkFormat format; in setVertexInputSingleAttribute() 374 VkImageCreateInfo makeImageCreateInfo (const tcu::IVec2& size, const VkFormat format, const VkImageUsageFlags usage, const deUint32 numArrayLayers) in makeImageCreateInfo() argument 382 format, // VkFormat format; in makeImageCreateInfo() 428 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const tcu::Vec4& color) in fillBuffer() argument 430 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer() 447 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const float depth) in fillBuffer() argument 449 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer()
|
/third_party/skia/src/gpu/ |
H A D | GrResourceProvider.h | 61 * GrRenderTarget. The texture's format and sample count will always match the request. 65 const GrBackendFormat& format, 73 const GrBackendFormat& format, 83 * for the format and also describe the texel data. This will ensure any conversions that 87 const GrBackendFormat& format, 99 * for the format and also describe the texel data. This will ensure any conversions that 297 const GrBackendFormat& format, 309 const GrBackendFormat& format, 368 GrColorType prepareLevels(const GrBackendFormat& format,
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-buffer.h | 524 * @HB_BUFFER_SERIALIZE_FORMAT_TEXT: a human-readable, plain text format. 525 * @HB_BUFFER_SERIALIZE_FORMAT_JSON: a machine-readable JSON format. 526 * @HB_BUFFER_SERIALIZE_FORMAT_INVALID: invalid format. 528 * The buffer serialization and de-serialization format used in 543 hb_buffer_serialize_format_to_string (hb_buffer_serialize_format_t format); 556 hb_buffer_serialize_format_t format, 566 hb_buffer_serialize_format_t format, 577 hb_buffer_serialize_format_t format, 586 hb_buffer_serialize_format_t format); 593 hb_buffer_serialize_format_t format); [all...] |