Home
last modified time | relevance | path

Searched refs:fmt_str (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dconvert_test.cc578 std::string fmt_str = std::string(fmt) + f; in TestWithMultipleFormatsHelper() local
599 UntypedFormatSpecImpl format(fmt_str); in TestWithMultipleFormatsHelper()
602 StrAppend(&string_printf_result, fmt_str.c_str(), d, i); in TestWithMultipleFormatsHelper()
623 << fmt_str << " " << StrPrint("%.18g", d) << " " in TestWithMultipleFormatsHelper()
1111 std::string fmt_str = std::string(fmt) + 'L' + f; in TEST_F() local
1129 UntypedFormatSpecImpl format(fmt_str); in TEST_F()
1141 ASSERT_EQ(StrPrint(fmt_str.c_str(), d), result) in TEST_F()
1142 << fmt_str << " " << StrPrint("%.18Lg", d) << " " in TEST_F()
/third_party/libbpf/src/
Dbtf_dump.c1067 const char *fmt_str; in btf_dump_emit_enum32_val() local
1077 fmt_str = is_signed ? "\n%s%s___%zd = %d," : "\n%s%s___%zd = %u,"; in btf_dump_emit_enum32_val()
1078 btf_dump_printf(d, fmt_str, pfx(lvl + 1), name, dup_cnt, v->val); in btf_dump_emit_enum32_val()
1080 fmt_str = is_signed ? "\n%s%s = %d," : "\n%s%s = %u,"; in btf_dump_emit_enum32_val()
1081 btf_dump_printf(d, fmt_str, pfx(lvl + 1), name, v->val); in btf_dump_emit_enum32_val()
1092 const char *fmt_str; in btf_dump_emit_enum64_val() local
1103 fmt_str = is_signed ? "\n%s%s___%zd = %lldLL," in btf_dump_emit_enum64_val()
1105 btf_dump_printf(d, fmt_str, in btf_dump_emit_enum64_val()
1109 fmt_str = is_signed ? "\n%s%s = %lldLL," in btf_dump_emit_enum64_val()
1111 btf_dump_printf(d, fmt_str, in btf_dump_emit_enum64_val()
Drelo_core.c1189 const char *fmt_str; in bpf_core_format_spec() local
1193 fmt_str = BTF_INFO_KFLAG(t->info) ? "::%s = %d" : "::%s = %u"; in bpf_core_format_spec()
1194 append_buf(fmt_str, s, e->val); in bpf_core_format_spec()
1197 const char *fmt_str; in bpf_core_format_spec() local
1201 fmt_str = BTF_INFO_KFLAG(t->info) ? "::%s = %lld" : "::%s = %llu"; in bpf_core_format_spec()
1202 append_buf(fmt_str, s, (unsigned long long)btf_enum64_value(e)); in bpf_core_format_spec()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/
Dtest_gyp.py177 self.fmt_str = "[%%%dd/%%%dd] (%%s) %%s" % (num_digits, num_digits)
200 msg = self.fmt_str % (i, self.num_tests, fmt, test)
/third_party/node/tools/gyp/
Dtest_gyp.py177 self.fmt_str = "[%%%dd/%%%dd] (%%s) %%s" % (num_digits, num_digits)
200 msg = self.fmt_str % (i, self.num_tests, fmt, test)
/third_party/benchmark/tools/gbench/
Dreport.py53 def color_format(use_color, fmt_str, *args, **kwargs): argument
66 return fmt_str.format(*args, **kwargs)
359fmt_str = "{}{:<{}s}{endc}{}{:+16.4f}{endc}{}{:+16.4f}{endc}{:14.0f}{:14.0f}{endc}{:14.0f}{:14.0f}"
366 fmt_str,
/third_party/ffmpeg/libavfilter/
Dvf_drawtext.c1152 char fmt_str[30] = "%"; in func_eval_expr_int_format() local
1195 av_strlcatf(fmt_str, sizeof(fmt_str), "0%u", positions); in func_eval_expr_int_format()
1196 av_strlcatf(fmt_str, sizeof(fmt_str), "%c", argv[1][0]); in func_eval_expr_int_format()
1199 res, argv[0], fmt_str); in func_eval_expr_int_format()
1201 av_bprintf(bp, fmt_str, intval); in func_eval_expr_int_format()
/third_party/ffmpeg/fftools/
Dopt_common.c1030 char fmt_str[128]; in show_sample_fmts() local
1032 printf("%s\n", av_get_sample_fmt_string(fmt_str, sizeof(fmt_str), i)); in show_sample_fmts()
/third_party/python/Lib/test/
Dtest_builtin.py1807 def __format__(self, fmt_str): argument
1808 return format('', fmt_str)