/third_party/rust/crates/humantime/benches/ |
H A D | datetime_format.rs | 22 use chrono::format::Item; in rfc3339_chrono() 23 use chrono::format::Item::*; in rfc3339_chrono() 24 use chrono::format::Numeric::*; in rfc3339_chrono() 25 use chrono::format::Fixed::*; in rfc3339_chrono() 26 use chrono::format::Pad::*; in rfc3339_chrono()
|
/third_party/libuv/tools/ |
H A D | make_dist_html.py | 96 maybe_gpg = GPG.format(**locals()) 97 maybe_exe = EXE.format(**locals()) 98 return ROW.format(**locals()) 102 return GROUP.format(rows=rows) 109 html += GROUPS.format(groups=groups) 120 html = HTML.format(groups=groups).strip()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_shrink_stores.c | 37 enum pipe_format format; in opt_shrink_vectors_image_store() local 40 format = nir_deref_instr_get_variable(deref)->data.image.format; in opt_shrink_vectors_image_store() 42 format = nir_intrinsic_format(instr); in opt_shrink_vectors_image_store() 44 if (format == PIPE_FORMAT_NONE) in opt_shrink_vectors_image_store() 47 unsigned components = util_format_get_nr_components(format); in opt_shrink_vectors_image_store()
|
/third_party/mesa3d/src/glx/ |
H A D | compsize.c | 35 ** Return the number of elements per group of a specified format 38 __glElementsPerGroup(GLenum format, GLenum type) in __glElementsPerGroup() argument 65 switch (format) { in __glElementsPerGroup() 147 ** and format. 151 GLenum format, GLenum type, GLenum target) in __glImageSize() 177 ** Zero is returned if either format or type are invalid. in __glImageSize() 179 components = __glElementsPerGroup(format, type); in __glImageSize() 181 if (format == GL_COLOR_INDEX || format == GL_STENCIL_INDEX) { in __glImageSize() 150 __glImageSize(GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLenum target) __glImageSize() argument
|
H A D | singlepix.c | 37 __indirect_glGetSeparableFilter(GLenum target, GLenum format, GLenum type, in __indirect_glGetSeparableFilter() argument 53 __GLX_SINGLE_PUT_LONG(4, format); in __indirect_glGetSeparableFilter() 66 widthsize = __glImageSize(width, 1, 1, format, type, 0); in __indirect_glGetSeparableFilter() 67 heightsize = __glImageSize(height, 1, 1, format, type, 0); in __indirect_glGetSeparableFilter() 81 __glEmptyImage(gc, 1, width, 1, 1, format, type, rowBuf, row); in __indirect_glGetSeparableFilter() 95 __glEmptyImage(gc, 1, height, 1, 1, format, type, colBuf, column); in __indirect_glGetSeparableFilter()
|
/third_party/node/lib/internal/webstreams/ |
H A D | compression.js | 53 * @param {'deflate'|'gzip'} format 55 constructor(format) { 57 switch (format) { 65 throw new ERR_INVALID_ARG_VALUE('format', format); 102 * @param {'deflate'|'gzip'} format 104 constructor(format) { 106 switch (format) { 114 throw new ERR_INVALID_ARG_VALUE('format', format); [all...] |
/third_party/node/benchmark/crypto/ |
H A D | create-keyobject.js | 49 key = keyPair.publicKey.export({ format: 'pem', type: 'spki' }); 53 key = keyPair.privateKey.export({ format: 'pem', type: 'pkcs8' }); 57 const options = { format: 'der', type: 'spki' }; 63 const options = { format: 'der', type: 'pkcs8' }; 69 const options = { format: 'jwk' }; 75 const options = { format: 'jwk' };
|
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_builder.h.py | 70 cond += "{}type == {}".format(' || ' if cond[-1] != '(' else '', T) 74 cond += "{}bitsize == {}".format(' && ' if cond != '' else '', typesize(opcode)) 78 cond += "{}(".format(' && ' if cond != '' else '') 81 cond += "{}cmpf == BI_CMPF_{}".format(' || ' if cond[-1] != '(' else '', cmpf.upper()) 155 ${"{}if ({})".format("else " if i > 0 else "", condition(variant, typeful, sized))} 194 ["bi_index dest{}".format(i) for i in range(0 if no_dests else op["dests"])] + 195 ["bi_index src{}".format(i) for i in range(src_count(op))] + 196 ["{} {}".format( 201 ["uint32_t {}".format(imm) for imm in op["immediates"]]) 206 ["bi_temp(b->shader)" if temp_dest else 'dest{}'.format( [all...] |
H A D | gen_disasm.py | 161 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/icu/icu4c/source/samples/plurfmtsample/ |
H A D | plurfmtsample.cpp | 49 // Use MessageFormat.format () to format the objects and append to the given StringBuffer in PluralFormatExample() 53 Formattable argEn[]={Formattable(numbers[i]), Formattable(plfmtEn.format(numbers[i],status))}; in PluralFormatExample() 54 Formattable argSl[]={Formattable(numbers[i]), Formattable(plfmtSl.format(numbers[i],status))}; in PluralFormatExample() 55 msgfmtEn->format(argEn,2,msgEn,fpos,status); in PluralFormatExample() 56 msgfmtSl->format(argSl,2,msgSl,fpos,status); in PluralFormatExample() 62 // Equivalent code with message format pattern in PluralFormatExample() 74 altMsgfmtEn->format(arg, 1, msgEn, fPos, status); in PluralFormatExample() 75 altMsgfmtSl->format(arg, 1, msgSl, fPos,status); in PluralFormatExample()
|
/third_party/node/deps/uv/tools/ |
H A D | make_dist_html.py | 96 maybe_gpg = GPG.format(**locals()) 97 maybe_exe = EXE.format(**locals()) 98 return ROW.format(**locals()) 102 return GROUP.format(rows=rows) 109 html += GROUPS.format(groups=groups) 120 html = HTML.format(groups=groups).strip()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkImageView.cpp | 15 VkFormat format, in Make() 24 SkASSERT(gpu->vkCaps().supportsYcbcrConversion() && format == ycbcrInfo.fFormat); in Make() 39 if (format == VK_FORMAT_ASTC_4x4_UNORM_BLOCK || format == VK_FORMAT_ASTC_6x6_UNORM_BLOCK || in Make() 40 format == VK_FORMAT_ASTC_8x8_UNORM_BLOCK) { in Make() 55 format, // format in Make() 13 Make(GrVkGpu* gpu, VkImage image, VkFormat format, Type viewType, uint32_t miplevels, const GrVkYcbcrConversionInfo& ycbcrInfo) Make() argument
|
/third_party/skia/third_party/externals/icu/source/samples/plurfmtsample/ |
H A D | plurfmtsample.cpp | 49 // Use MessageFormat.format () to format the objects and append to the given StringBuffer in PluralFormatExample() 53 Formattable argEn[]={Formattable(numbers[i]), Formattable(plfmtEn.format(numbers[i],status))}; in PluralFormatExample() 54 Formattable argSl[]={Formattable(numbers[i]), Formattable(plfmtSl.format(numbers[i],status))}; in PluralFormatExample() 55 msgfmtEn->format(argEn,2,msgEn,fpos,status); in PluralFormatExample() 56 msgfmtSl->format(argSl,2,msgSl,fpos,status); in PluralFormatExample() 62 // Equivalent code with message format pattern in PluralFormatExample() 74 altMsgfmtEn->format(arg, 1, msgEn, fPos, status); in PluralFormatExample() 75 altMsgfmtSl->format(arg, 1, msgSl, fPos,status); in PluralFormatExample()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiCopiesAndBlittingTests.cpp | 264 VkImageAspectFlags getAspectFlags (tcu::TextureFormat format) in getAspectFlags() argument 267 aspectFlag |= (tcu::hasDepthComponent(format.order)? VK_IMAGE_ASPECT_DEPTH_BIT : 0); in getAspectFlags() 268 aspectFlag |= (tcu::hasStencilComponent(format.order)? VK_IMAGE_ASPECT_STENCIL_BIT : 0); in getAspectFlags() 276 VkImageAspectFlags getAspectFlags (VkFormat format) in getAspectFlags() argument 278 if (isCompressedFormat(format)) in getAspectFlags() 281 return getAspectFlags(mapVkFormat(format)); in getAspectFlags() 284 tcu::TextureFormat getSizeCompatibleTcuTextureFormat (VkFormat format) in getSizeCompatibleTcuTextureFormat() argument 286 if (isCompressedFormat(format)) in getSizeCompatibleTcuTextureFormat() 287 return (getBlockSizeInBytes(format) == 8) ? mapVkFormat(VK_FORMAT_R16G16B16A16_UINT) : mapVkFormat(VK_FORMAT_R32G32B32A32_UINT); in getSizeCompatibleTcuTextureFormat() 289 return mapVkFormat(format); in getSizeCompatibleTcuTextureFormat() 297 isFloatFormat(tcu::TextureFormat format) isFloatFormat() argument 314 VkFormat format; global() member 534 tcu::TextureFormat format; mapCombinedToDepthTransferFormat() local 3149 isSupportedDepthStencilFormat(const InstanceInterface& vki, const VkPhysicalDevice physDevice, const VkFormat format) isSupportedDepthStencilFormat() argument 3873 getFormatThreshold(const tcu::TextureFormat& format) getFormatThreshold() argument 3919 getCompressedFormatThreshold(const tcu::CompressedTexFormat& format) getCompressedFormatThreshold() argument [all...] |
/third_party/python/Lib/email/ |
H A D | _header_value_parser.py | 129 return '{}({})'.format(self.__class__.__name__, 165 yield '{}{}/{}('.format( 172 'list: {!r}'.format(token)) 176 extra = ' Defects: {}'.format(self.defects) 179 yield '{}){}'.format(indent, extra) 800 params.append('{}={}'.format(name, quote_string(value))) 883 return "{}({})".format(self.__class__.__name__, super().__repr__()) 893 return ["{}{}/{}({}){}".format( 898 '' if not self.defects else ' {}'.format(self.defects), 975 _wsp_splitter = re.compile(r'([{}]+)'.format('' [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cTextureGatherTests.cpp | 437 GLenum format = GL_RGB; in CreateTexture2DRgb() local 447 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DRgb() 450 glTexSubImage2D(target, 0, 0, 0, csize, csize, format, tex_type, &pixels[0]); in CreateTexture2DRgb() 456 glTexSubImage2D(target, base_level, 22, 25, 2, 2, format, tex_type, data); in CreateTexture2DRgb() 457 glTexSubImage2D(target, base_level, 16, 10, 1, 1, format, tex_type, data + 0); in CreateTexture2DRgb() 458 glTexSubImage2D(target, base_level, 11, 2, 1, 1, format, tex_type, data + 1); in CreateTexture2DRgb() 459 glTexSubImage2D(target, base_level, 24, 13, 1, 1, format, tex_type, data + 2); in CreateTexture2DRgb() 460 glTexSubImage2D(target, base_level, 9, 14, 1, 1, format, tex_type, data + 3); in CreateTexture2DRgb() 470 GLenum format = GL_RG; in CreateTexture2DRg() local 480 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_typ in CreateTexture2DRg() 503 GLenum format = GL_RED; CreateTexture2DR() local 606 GLenum format = Format(); CreateTextureCubeArray() local 655 GLenum format = GL_RGBA_INTEGER; CreateTextureCubeArrayInt() local 696 GLenum format = Format(); CreateTexture2DArray() local 777 GLenum format = Format(); CreateTextureCube() local 828 GLenum format = Format(); CreateTexture2D() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-layout-gsub-table.hh | 140 HBUINT16 format; /* Format identifier--format = 1 */ member 244 HBUINT16 format; /* Format identifier--format = 2 */ member 265 if (unlikely (!c->extend_min (u.format))) return_trace (false); in serialize() 266 unsigned format = 2; in serialize() local 270 format = 1; in serialize() 274 if (!hb_all (++(+glyphs), delta, get_delta)) format = 2; in serialize() 276 u.format = format; in serialize() 301 HBUINT16 format; /* Format identifier */ global() member 493 HBUINT16 format; /* Format identifier--format = 1 */ global() member 513 unsigned int format = 1; serialize() local 534 HBUINT16 format; /* Format identifier */ global() member 736 HBUINT16 format; /* Format identifier--format = 1 */ global() member 756 unsigned int format = 1; serialize() local 777 HBUINT16 format; /* Format identifier */ global() member [all...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | msgfmt.h | 33 #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 D | mat4.c | 64 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 D | long_read_write_test.c | 103 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 D | v3dv_android.c | 154 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 D | diffiehellman.js | 245 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 D | msgfmt.h | 33 #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/gallium/drivers/nouveau/nv30/ |
H A D | nv30_clear.c | 36 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 D | test_tool_option_parsing.py | 52 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...] |