Home
last modified time | relevance | path

Searched refs:format (Results 1126 - 1150 of 12675) sorted by relevance

1...<<41424344454647484950>>...507

/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/
H A Dimage_packing_test.cpp127 char* format; member
140 if (!GetStringProperty(env, arg, "format", &(ops.format), &(ops.formatSize))) { in parseImagePackingOps()
202 // PackToData(packer, source, opts:{format, quality, size})<{code, result}>
219 packerOpts.format = ops.format; in PackToData()
232 if (ops.format != nullptr) { in PackToData()
233 free(ops.format); in PackToData()
234 ops.format = nullptr; in PackToData()
240 // packToFile(packer, source, fd, opts:{format, qualit
[all...]
/third_party/icu/icu4c/source/i18n/unicode/
H A Dmsgfmt.h33 #include "unicode/format.h"
73 * <p>An argument might not specify any format type. In this case,
156 * a <code>Format</code> instance for the format element. The following
255 * or preformatted values, but not pattern strings or custom format objects.</p>
276 * MessageFormat::format(
286 * Typically, the message format will come from resources, and the
301 * cout << "format: " << form.format(testArgs, 2, string, fpos, success ) << endl;
326 * cout << msgFmt.format(testArgs, testArgsNames, 2, result, fpos, 0, success);
328 * cout << msgFmt.format(testArg
[all...]
/third_party/libsnd/src/
H A Dmat4.c64 static int mat4_format_to_encoding (int format, int endian) ;
84 if ((SF_CONTAINER (psf->sf.format)) != SF_FORMAT_MAT4) in mat4_open()
87 subformat = SF_CODEC (psf->sf.format) ; in mat4_open()
93 psf->endian = SF_ENDIAN (psf->sf.format) ; in mat4_open()
162 encoding = mat4_format_to_encoding (SF_CODEC (psf->sf.format), psf->endian) ; in mat4_write_header()
227 psf_log_printf (psf, "GNU Octave 2.0 / MATLAB v4.2 format\nMarker : %s\n", marker_str) ; in mat4_read_header()
287 psf->sf.format = psf->endian | SF_FORMAT_MAT4 ; in mat4_read_header()
291 psf->sf.format |= SF_FORMAT_DOUBLE ; in mat4_read_header()
297 psf->sf.format |= SF_FORMAT_FLOAT ; in mat4_read_header()
303 psf->sf.format | in mat4_read_header()
333 mat4_format_to_encoding(int format, int endian) mat4_format_to_encoding() argument
[all...]
/third_party/libsnd/tests/
H A Dlong_read_write_test.c103 sfinfo.format = filetype ; in short_lrw_test()
115 exit_if_true (sfinfo.format != filetype, "\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ; in short_lrw_test()
149 sfinfo.format = filetype ; in int_lrw_test()
161 exit_if_true (sfinfo.format != filetype, "\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ; in int_lrw_test()
195 sfinfo.format = filetype ; in float_lrw_test()
207 exit_if_true (sfinfo.format ! in float_lrw_test()
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_android.c154 get_format_bpp(native_buffer->format); in v3dv_gralloc_info_other()
292 VkFormat format, in format_supported_with_usage()
302 .format = format, in format_supported_with_usage()
312 /* Check that requested format and usage are supported. */ in format_supported_with_usage()
327 VkFormat format, in setup_gralloc0_usage()
352 * In case format is not supported by display controller, gralloc will in setup_gralloc0_usage()
365 VkFormat format, in v3dv_GetSwapchainGrallocUsageANDROID()
372 result = format_supported_with_usage(device_h, format, imageUsage); in v3dv_GetSwapchainGrallocUsageANDROID()
377 return setup_gralloc0_usage(device, format, imageUsag in v3dv_GetSwapchainGrallocUsageANDROID()
291 format_supported_with_usage(VkDevice device_h, VkFormat format, VkImageUsageFlags imageUsage) format_supported_with_usage() argument
326 setup_gralloc0_usage(struct v3dv_device *device, VkFormat format, VkImageUsageFlags imageUsage, int *grallocUsage) setup_gralloc0_usage() argument
364 v3dv_GetSwapchainGrallocUsageANDROID(VkDevice device_h, VkFormat format, VkImageUsageFlags imageUsage, int *grallocUsage) v3dv_GetSwapchainGrallocUsageANDROID() argument
382 v3dv_GetSwapchainGrallocUsage2ANDROID( VkDevice device_h, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImageUsageFlagsANDROID swapchainImageUsage, uint64_t *grallocConsumerUsage, uint64_t *grallocProducerUsage) v3dv_GetSwapchainGrallocUsage2ANDROID() argument
[all...]
/third_party/node/lib/internal/crypto/
H A Ddiffiehellman.js245 ECDH.prototype.generateKeys = function generateKeys(encoding, format) {
248 return this.getPublicKey(encoding, format);
251 ECDH.prototype.getPublicKey = function getPublicKey(encoding, format) {
252 const f = getFormat(format);
258 ECDH.convertKey = function convertKey(key, curve, inEnc, outEnc, format) {
263 const f = getFormat(format);
274 function getFormat(format) {
275 if (format) {
276 if (format === 'compressed')
278 if (format
[all...]
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Dmsgfmt.h33 #include "unicode/format.h"
73 * <p>An argument might not specify any format type. In this case,
156 * a <code>Format</code> instance for the format element. The following
255 * or preformatted values, but not pattern strings or custom format objects.</p>
276 * MessageFormat::format(
286 * Typically, the message format will come from resources, and the
301 * cout << "format: " << form.format(testArgs, 2, string, fpos, success ) << endl;
326 * cout << msgFmt.format(testArgs, testArgsNames, 2, result, fpos, 0, success);
328 * cout << msgFmt.format(testArg
[all...]
/third_party/mesa3d/src/panfrost/bifrost/
H A Dgen_disasm.py161 return "'{}'".format(expr[1:])
165 return "ctx[{}]".format(keys.index(expr))
257 output += "bool ordering = (_BITS(bits, {}, 3) > _BITS(bits, {}, 3));\n".format(desc["srcs"][0][0], desc["srcs"][1][0])
268 idx_parts.append("(_BITS(bits, {}, {}) << {})".format(pos, width, shift))
280 output += " const char *{} = ordering ? {}_1[{}] : {}_0[{}];\n".format(key, key, built_idx, key, built_idx)
284 output += " const char *{} = {}_table[{}];\n".format(key, key, built_idx)
292 return ' fputs({}, fp);\n'.format(mod[0][0])
311 body += ' fputs("{}", fp);\n'.format(mnemonic)
323 body += ' bi_disasm_dest_{}(fp, next_regs, last);\n'.format('fma' if is_fma else 'add')
329 body += ' dump_src(fp, _BITS(bits, {}, 3), *srcs, branch_offset, consts, {});\n'.format(po
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_clear.c36 pack_rgba(enum pipe_format format, const float *rgba) in pack_rgba() argument
39 util_pack_color(rgba, format, &uc); in pack_rgba()
44 pack_zeta(enum pipe_format format, double depth, unsigned stencil) in pack_zeta() argument
47 if (format != PIPE_FORMAT_Z16_UNORM) in pack_zeta()
81 colr = pack_rgba(fb->cbufs[0]->format, color->f); in nv30_clear()
89 zeta = pack_zeta(fb->zsbuf->format, depth, stencil); in nv30_clear()
135 rt_format = nv30_format(pipe->screen, ps->format)->hw; in nv30_clear_render_target()
136 if (util_format_get_blocksize(ps->format) == 4) in nv30_clear_render_target()
172 PUSH_DATA (push, pack_rgba(ps->format, color->f)); in nv30_clear_render_target()
196 rt_format = nv30_format(pipe->screen, ps->format) in nv30_clear_depth_stencil()
[all...]
/third_party/libinput/tools/
H A Dtest_tool_option_parsing.py52 logger.debug("run command: {}".format(" ".join(args)))
233 libinput_debug_tool.run_command_success(["--disable-{}".format(option), "*"])
234 libinput_debug_tool.run_command_success(["--disable-{}".format(option), "abc*"])
239 libinput_debug_tool.run_command_success(["--enable-{}".format(option)])
240 libinput_debug_tool.run_command_success(["--disable-{}".format(option)])
247 libinput_debug_tool.run_command_success(["--{}".format(name), v])
248 libinput_debug_tool.run_command_success(["--{}={}".format(name, v)])
257 libinput_debug_tool.run_command_success(["--{}".format(name), str(value)])
258 libinput_debug_tool.run_command_success(["--{}={}".format(name, value)])
260 libinput_debug_tool.run_command_success(["--{}".format(nam
[all...]
/third_party/node/deps/v8/src/utils/
H A Dutils.cc35 void PrintF(const char* format, ...) { in PrintF() argument
37 va_start(arguments, format); in PrintF()
38 base::OS::VPrint(format, arguments); in PrintF()
42 void PrintF(FILE* out, const char* format, ...) { in PrintF() argument
44 va_start(arguments, format); in PrintF()
45 base::OS::VFPrint(out, format, arguments); in PrintF()
49 void PrintPID(const char* format, ...) { in PrintPID() argument
52 va_start(arguments, format); in PrintPID()
53 base::OS::VPrint(format, arguments); in PrintPID()
57 void PrintIsolate(void* isolate, const char* format, argument
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_util.h53 enum adreno_rb_depth_format fd_pipe2depth(enum pipe_format format);
54 enum pc_di_index_size fd_pipe2index(enum pipe_format format);
55 enum pipe_format fd_gmem_restore_format(enum pipe_format format);
70 /* clang-format off */
103 /* clang-format on */
268 return psurf->format; in pipe_surface_format()
274 enum pipe_format format; in fd_surface_half_precision() local
279 format = psurf->format; in fd_surface_half_precision()
284 if (util_format_is_pure_integer(format)) in fd_surface_half_precision()
416 pack_rgba(enum pipe_format format, const float *rgba) pack_rgba() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_transfer.c29 #include "util/format/u_format.h"
64 blit.src.format = src->format; in r300_copy_from_tiled_texture()
68 blit.dst.format = dst->format; in r300_copy_from_tiled_texture()
111 enum pipe_format format = tex->b.format; in r300_texture_transfer_map() local
136 r300_is_blit_supported(texture->format))) { in r300_texture_transfer_map()
146 base.format = texture->format; in r300_texture_transfer_map()
[all...]
/third_party/rust/crates/linux-raw-sys/gen/src/
H A Dmain.rs89 let mut linux_archs = fs::read_dir(&format!("linux/arch")) in main()
120 let src_arch = format!("../src/{}", rust_arch); in main()
133 let mod_rs = format!("{}/{}.rs", src_arch, mod_name); in main()
256 .arg(format!("headers_install"))
257 .arg(format!("ARCH={}", linux_arch))
258 .arg(format!(
315 .clang_arg(&format!("--target={}", clang_target))
336 .expect(&format!("generate bindings for {}", mod_name));
339 .expect(&format!("write_to_file for {}", mod_name));
344 format!("i68
[all...]
/third_party/rust/crates/autocfg/src/
H A Dlib.rs201 emit(&format!("rustc_{}_{}", major, minor)); in emit_rustc_version()
213 .arg(format!("probe{}", id)) in probe()
247 self.probe(format!("extern crate {} as probe;", name)) // `as _` wasn't stabilized until Rust 1.33 in probe_sysroot_crate()
254 emit(&format!("has_{}", mangle(name))); in emit_sysroot_crate()
266 self.probe(format!("pub use {};", path)).unwrap_or(false) in probe_path()
275 emit(&format!("has_{}", mangle(path))); in emit_has_path()
294 self.probe(format!("pub trait Probe: {} + Sized {{}}", name)) in probe_trait()
304 emit(&format!("has_{}", mangle(name))); in emit_has_trait()
323 self.probe(format!("pub type Probe = {};", name)) in probe_type()
333 emit(&format!("has in emit_has_type()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampleTestsUtil.cpp244 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType) in getShaderImageType() argument
246 std::string formatPart = tcu::getTextureChannelClass(format.type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER ? "u" : in getShaderImageType()
247 tcu::getTextureChannelClass(format.type) == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER ? "i" : ""; in getShaderImageType()
269 std::string getShaderImageDataType (const tcu::TextureFormat& format) in getShaderImageDataType() argument
271 switch (tcu::getTextureChannelClass(format.type)) in getShaderImageDataType()
285 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) in getShaderImageFormatQualifier() argument
290 switch (format.order) in getShaderImageFormatQualifier()
302 switch (format.type) in getShaderImageFormatQualifier()
363 deUint32 getImageMipLevelSizeInBytes (const VkExtent3D& baseExtents, const deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel, const deUint32 numSamples) in getImageMipLevelSizeInBytes() argument
367 return extents.width * extents.height * extents.depth * layersCount * numSamples * tcu::getPixelSize(format); in getImageMipLevelSizeInBytes()
370 getImageSizeInBytes(const VkExtent3D& baseExtents, const deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevelsCount, const deUint32 numSamples) getImageSizeInBytes() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesTestsUtil.hpp75 vk::VkFormat format; member
91 bool formatIsR64 (const vk::VkFormat& format);
101 std::string getShaderImageType (const tcu::TextureFormat& format,
107 std::string getShaderImageDataType (const tcu::TextureFormat& format);
111 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format);
113 std::string getShaderImageFormatQualifier (vk::VkFormat format);
115 std::string getImageFormatID (vk::VkFormat format);
153 const tcu::TextureFormat& format,
159 const tcu::TextureFormat& format,
241 const vk::VkFormat format,
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Dgen_angle_format_table.py7 # Code generation for ANGLE format map.
25 // ANGLE format enumeration.
55 // Queries for typed format information from the ANGLE format enum.
72 // clang-format off
74 {angle_format_info_cases} // clang-format on
131 struct_name += 'R{}'.format(bits['R'])
133 struct_name += 'G{}'.format(bits['G'])
135 struct_name += 'B{}'.format(bits['B'])
137 struct_name += 'A{}'.format(bit
[all...]
/third_party/skia/src/gpu/text/
H A DGrAtlasManager.cpp32 bool GrAtlasManager::hasGlyph(GrMaskFormat format, GrGlyph* glyph) { in hasGlyph() argument
34 return this->getAtlas(format)->hasID(glyph->fAtlasLocator.plotLocator()); in hasGlyph()
69 // Notice this comparison is with the glyphs raw mask format, and not its GrMaskFormat.
82 // Handle 8-bit format by expanding the mask to the expected format.
100 // Convert if the glyph uses a 565 mask format since it is using LCD text rendering
101 // but the expected format is 8888 (will happen on macOS with Metal since that
126 // Retrieving the image from the cache can actually change the mask format. This case is
137 // mask format has changed, then addGlyphToAtlas will draw a clear box. This will almost never
189 // add to texture atlas that matches this format
190 addToAtlas(GrResourceProvider* resourceProvider, GrDeferredUploadTarget* target, GrMaskFormat format, int width, int height, const void* image, GrDrawOpAtlas::AtlasLocator* atlasLocator) global() argument
199 addGlyphToBulkAndSetUseToken(GrDrawOpAtlas::BulkUseTokenUpdater* updater, GrMaskFormat format, GrGlyph* glyph, GrDeferredUploadToken token) global() argument
301 initAtlas(GrMaskFormat format) global() argument
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dmsgfmt.h33 #include "unicode/format.h"
73 * <p>An argument might not specify any format type. In this case,
156 * a <code>Format</code> instance for the format element. The following
255 * or preformatted values, but not pattern strings or custom format objects.</p>
276 * MessageFormat::format(
286 * Typically, the message format will come from resources, and the
301 * cout << "format: " << form.format(testArgs, 2, string, fpos, success ) << endl;
326 * cout << msgFmt.format(testArgs, testArgsNames, 2, result, fpos, 0, success);
328 * cout << msgFmt.format(testArg
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DFormatProviders.h9 // This file implements format providers for many common LLVM types, for example
131 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
147 assert(Style.empty() && "Invalid integral format style!");
180 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
202 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
217 static void format(const Twine &V, llvm::raw_ostream &Stream,
219 format_provider<std::string>::format(V.str(), Stream, Style);
235 static void format(const char &V, llvm::raw_ostream &Stream,
241 format_provider<int>::format(X, Stream, Style);
263 static void format(cons
[all...]
/third_party/vixl/tools/test_generator/
H A Dgenerator.py126 used with "format". For example, it will most likely have
182 lambda_string = "lambda {args}: {expression}".format(
215 self.it_condition.format(**dict(operands)) if self.it_condition else "al"
276 lambda_string = "lambda {args}: {expression}".format(
351 "M({}) \\\n".format(self.MnemonicToMethodName(mnemonic))
387 "{{{}}}".format(",".join(input))
392 """.format(name=test_input.name, input=",".join(inputs))
438 """.format(operands=",".join(operand),
453 """.format(operands=",".join(operand),
468 """.format(operand
[all...]
/third_party/python/Lib/test/
H A Dtest_strtod.py77 return '{}0x{:x}.{:0{}x}p{:+d}'.format(
104 "expected {}, got {}".format(s, expected, got))
130 s = '{}e{}'.format(digits, exponent)
133 s = '{}e{}'.format(digits * 10**40, exponent - 40)
141 s = '{}e{}'.format(digits, exponent)
144 s = '{}e{}'.format(digits * 10**40, exponent - 40)
172 s = '{}e{}'.format(digits, exponent)
189 s = '{}e{}'.format(digits, exponent)
203 s = '{}e{}'.format(digits, exponent)
212 s = '{}e{}'.format(digit
[all...]
/third_party/skia/include/gpu/
H A DGrBackendSurface.h79 // Creates an invalid backend format.
85 static GrBackendFormat MakeGL(GrGLenum format, GrGLenum target) { in MakeGL() argument
86 return GrBackendFormat(format, target); in MakeGL()
91 static GrBackendFormat MakeVk(VkFormat format, bool willUseDRMFormatModifiers = false) { in MakeVk() argument
92 return GrBackendFormat(format, GrVkYcbcrConversionInfo(), willUseDRMFormatModifiers); in MakeVk()
100 static GrBackendFormat MakeDawn(wgpu::TextureFormat format) { in MakeDawn() argument
101 return GrBackendFormat(format); in MakeDawn()
106 static GrBackendFormat MakeMtl(GrMTLPixelFormat format) { in MakeMtl() argument
107 return GrBackendFormat(format); in MakeMtl()
112 static GrBackendFormat MakeDxgi(DXGI_FORMAT format) { in MakeDxgi() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMultisampleTestsUtil.cpp244 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType) in getShaderImageType() argument
246 std::string formatPart = tcu::getTextureChannelClass(format.type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER ? "u" : in getShaderImageType()
247 tcu::getTextureChannelClass(format.type) == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER ? "i" : ""; in getShaderImageType()
269 std::string getShaderImageDataType (const tcu::TextureFormat& format) in getShaderImageDataType() argument
271 switch (tcu::getTextureChannelClass(format.type)) in getShaderImageDataType()
285 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) in getShaderImageFormatQualifier() argument
290 switch (format.order) in getShaderImageFormatQualifier()
302 switch (format.type) in getShaderImageFormatQualifier()
363 deUint32 getImageMipLevelSizeInBytes (const VkExtent3D& baseExtents, const deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel, const deUint32 numSamples) in getImageMipLevelSizeInBytes() argument
367 return extents.width * extents.height * extents.depth * layersCount * numSamples * tcu::getPixelSize(format); in getImageMipLevelSizeInBytes()
370 getImageSizeInBytes(const VkExtent3D& baseExtents, const deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevelsCount, const deUint32 numSamples) getImageSizeInBytes() argument
[all...]

Completed in 15 milliseconds

1...<<41424344454647484950>>...507