/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/libwebsockets/lib/drivers/settings/ |
H A D | settings.c | 50 const char *format, ...) in lws_settings_plat_printf() 56 va_start(ap, format); in lws_settings_plat_printf() 57 n = vsnprintf(NULL, 0, format, ap); in lws_settings_plat_printf() 61 va_start(ap, format); in lws_settings_plat_printf() 62 vsnprintf((char *)p, n + 2, format, ap); in lws_settings_plat_printf() 49 lws_settings_plat_printf(lws_settings_instance_t *si, const char *name, const char *format, ...) lws_settings_plat_printf() argument
|
/third_party/jerryscript/tools/ |
H A D | check-signed-off.sh | 74 parent_hashes=(`git show -s --format=%p HEAD | head -1`) 78 commit_hash=`git show -s --format=%h HEAD | head -1` 88 actual_signed_off_by_line=`git show -s --format=%B $commit_hash | sed '/^$/d' | tr -d '\015' | tail -n 1` 92 author_name=`git show -s --format=%an $commit_hash` 93 author_email=`git show -s --format=%ae $commit_hash`
|
/third_party/lame/ACM/ADbg/ |
H A D | ADbg.h | 52 int OutPut(int level, const char * format,...) const; 54 int OutPut(const char * format,...) const; 81 int _OutPut(const char * format,va_list params) const; 98 inline int OutPut(int level, const char * format,...) const { in OutPut() argument 102 inline int OutPut(const char * format,...) const { in OutPut() argument
|
/third_party/jerryscript/targets/mbedos5/source/ |
H A D | jerry_port_mbed.c | 31 const char *format, /**< format string */ in jerry_port_log() 37 va_start (args, format); in jerry_port_log() 38 vfprintf (stderr, format, args); in jerry_port_log() 41 if (strlen (format) == 1 && format[0] == 0x0a) /* line feed (\n) */ in jerry_port_log() 30 jerry_port_log(jerry_log_level_t level, const char *format, ...) jerry_port_log() argument
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | api_vtxfmt_init_h.py | 61 'SET_{0}(tab, NAME({0}));'.format(f.name)) 63 'SET_{0}(tab, NAME_ES({0}));'.format(f.name)) 68 'SET_{0}(tab, {1}({0}));'.format(f.name, macro)) 73 print('if ({0}) {{'.format(condition)) 75 print(' {0}'.format(setting))
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_format.h | 41 d3d12_get_format(enum pipe_format format); 44 d3d12_get_typeless_format(enum pipe_format format); 48 d3d12_get_pipe_format(DXGI_FORMAT format); 51 d3d12_get_default_pipe_format(DXGI_FORMAT format); 68 d3d12_get_format_info(enum pipe_format resource_format, enum pipe_format format, enum pipe_texture_target);
|
/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()
|
/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | util.py | 93 error_msg = ErrorMessage.TestCase.Code_0203001.format(file_abs_path, exception) 239 "test -d {} && echo 0".format(remote_file)) 260 raise ParamError("expected [equal, starts_with, ends_with, contains], get [{}]".format(fuzzy)) 265 cmd = "ps -ef | grep '{}'".format(process_name) 282 cmd = "lsof -i:{}".format(port) 286 out = shell_command("netstat -aon", "findstr :{}".format(port)) 294 out = shell_command("tasklist", "findstr {}".format(items[-1])) 298 log.error("check port state error, reason: {}".format(e)) 319 raise FileNotFoundError(ErrorMessage.Common.Code_0201001.format(ErrorCategory.Environment, pc_file)) 322 "md5sum {}".format(device_fil [all...] |
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/ |
H A D | image_packing_test.cpp | 127 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 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/panfrost/bifrost/ |
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/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...] |
/third_party/node/deps/v8/src/utils/ |
H A D | utils.cc | 35 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 D | freedreno_util.h | 53 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 D | r300_transfer.c | 29 #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 D | main.rs | 89 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...] |