/external/llvm-project/llvm/utils/benchmark/tools/gbench/ |
D | report.py | 32 def color_format(use_color, fmt_str, *args, **kwargs): argument 45 return fmt_str.format(*args, **kwargs) 119 …fmt_str = "{}{:<{}s}{endc}{}{:+16.4f}{endc}{}{:+16.4f}{endc}{:14.0f}{:14.0f}{endc}{:14.0f}{:14.0f}" 122 output_strs += [color_format(use_color, fmt_str,
|
/external/llvm-project/mlir/utils/spirv/ |
D | gen_spirv_dialect.py | 369 fmt_str = 'def SPV_{acronym}_{case} {colon:>{offset}} '\ 376 case_def = fmt_str.format( 389 fmt_str = 'SPV_{acronym}_{symbol}'; 390 case_names = [fmt_str.format(acronym=kind_acronym,symbol=case[0]) 668 fmt_str = '{text}\n\n <!-- End of AutoGen section -->\n{appendix}\n ' 669 return fmt_str.format(text=text, appendix=appendix) 686 fmt_str = ('def SPV_{opname}Op : ' 692 fmt_str +='\n let arguments = (ins{args});\n\n'\ 695 fmt_str +='{extras}'\ 765 return fmt_str.format(
|
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | convert_test.cc | 520 std::string fmt_str = std::string(fmt) + f; in TEST_F() local 524 UntypedFormatSpecImpl format(fmt_str); in TEST_F() 528 ASSERT_EQ(StrPrint(fmt_str.c_str(), d, i), in TEST_F() 530 << fmt_str << " " << StrPrint("%.18g", d) << " " in TEST_F() 564 std::string fmt_str = std::string(fmt) + 'L' + f; in TEST_F() local 567 UntypedFormatSpecImpl format(fmt_str); in TEST_F() 571 ASSERT_EQ(StrPrint(fmt_str.c_str(), d), in TEST_F() 573 << fmt_str << " " << StrPrint("%.18Lg", d) << " " in TEST_F()
|
/external/abseil-cpp/absl/strings/internal/str_format/ |
D | convert_test.cc | 520 std::string fmt_str = std::string(fmt) + f; in TEST_F() local 524 UntypedFormatSpecImpl format(fmt_str); in TEST_F() 528 ASSERT_EQ(StrPrint(fmt_str.c_str(), d, i), in TEST_F() 530 << fmt_str << " " << StrPrint("%.18g", d) << " " in TEST_F() 564 std::string fmt_str = std::string(fmt) + 'L' + f; in TEST_F() local 567 UntypedFormatSpecImpl format(fmt_str); in TEST_F() 571 ASSERT_EQ(StrPrint(fmt_str.c_str(), d), in TEST_F() 573 << fmt_str << " " << StrPrint("%.18Lg", d) << " " in TEST_F()
|
/external/llvm-project/libcxx/utils/google-benchmark/tools/gbench/ |
D | report.py | 43 def color_format(use_color, fmt_str, *args, **kwargs): argument 56 return fmt_str.format(*args, **kwargs) 233 …fmt_str = "{}{:<{}s}{endc}{}{:+16.4f}{endc}{}{:+16.4f}{endc}{:14.0f}{:14.0f}{endc}{:14.0f}{:14.0f}" 246 fmt_str,
|
/external/libcxx/utils/google-benchmark/tools/gbench/ |
D | report.py | 43 def color_format(use_color, fmt_str, *args, **kwargs): argument 56 return fmt_str.format(*args, **kwargs) 233 …fmt_str = "{}{:<{}s}{endc}{}{:+16.4f}{endc}{}{:+16.4f}{endc}{:14.0f}{:14.0f}{endc}{:14.0f}{:14.0f}" 246 fmt_str,
|
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
D | Lua.cpp | 85 const char *fmt_str = "return function(frame, bp_loc, ...) {0} end"; in RegisterBreakpointCallback() local 86 std::string func_str = llvm::formatv(fmt_str, body).str(); in RegisterBreakpointCallback()
|
D | ScriptInterpreterLua.cpp | 157 const char *fmt_str = in EnterSession() local 163 return m_lua->Run(llvm::formatv(fmt_str, debugger_id).str()); in EnterSession()
|
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/ |
D | convert_test.cc | 560 std::string fmt_str = std::string(fmt) + f; in TestWithMultipleFormatsHelper() local 581 UntypedFormatSpecImpl format(fmt_str); in TestWithMultipleFormatsHelper() 584 StrAppend(&string_printf_result, fmt_str.c_str(), d, i); in TestWithMultipleFormatsHelper() 596 << fmt_str << " " << StrPrint("%.18g", d) << " " in TestWithMultipleFormatsHelper() 1104 std::string fmt_str = std::string(fmt) + 'L' + f; in TEST_F() local 1122 UntypedFormatSpecImpl format(fmt_str); in TEST_F() 1126 ASSERT_EQ(StrPrint(fmt_str.c_str(), d), FormatPack(format, {&arg, 1})) in TEST_F() 1127 << fmt_str << " " << StrPrint("%.18Lg", d) << " " in TEST_F()
|
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/ |
D | convert_test.cc | 574 std::string fmt_str = std::string(fmt) + f; in TestWithMultipleFormatsHelper() local 595 UntypedFormatSpecImpl format(fmt_str); in TestWithMultipleFormatsHelper() 598 StrAppend(&string_printf_result, fmt_str.c_str(), d, i); in TestWithMultipleFormatsHelper() 610 << fmt_str << " " << StrPrint("%.18g", d) << " " in TestWithMultipleFormatsHelper() 1118 std::string fmt_str = std::string(fmt) + 'L' + f; in TEST_F() local 1136 UntypedFormatSpecImpl format(fmt_str); in TEST_F() 1140 ASSERT_EQ(StrPrint(fmt_str.c_str(), d), FormatPack(format, {&arg, 1})) in TEST_F() 1141 << fmt_str << " " << StrPrint("%.18Lg", d) << " " in TEST_F()
|
/external/angle/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | convert_test.cc | 578 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()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | convert_test.cc | 560 std::string fmt_str = std::string(fmt) + f; in TestWithMultipleFormatsHelper() local 581 UntypedFormatSpecImpl format(fmt_str); in TestWithMultipleFormatsHelper() 584 StrAppend(&string_printf_result, fmt_str.c_str(), d, i); in TestWithMultipleFormatsHelper() 596 << fmt_str << " " << StrPrint("%.18g", d) << " " in TestWithMultipleFormatsHelper() 1104 std::string fmt_str = std::string(fmt) + 'L' + f; in TEST_F() local 1122 UntypedFormatSpecImpl format(fmt_str); in TEST_F() 1126 ASSERT_EQ(StrPrint(fmt_str.c_str(), d), FormatPack(format, {&arg, 1})) in TEST_F() 1127 << fmt_str << " " << StrPrint("%.18Lg", d) << " " in TEST_F()
|
/external/tensorflow/third_party/systemlibs/ |
D | grpc.bazel.protobuf.bzl | 44 def proto_path_to_generated_filename(proto_path, fmt_str): 52 fmt_str: A format string used to calculate the generated filename. For 58 return fmt_str.format(_strip_proto_extension(proto_path))
|
/external/google-benchmark/tools/gbench/ |
D | report.py | 43 def color_format(use_color, fmt_str, *args, **kwargs): argument 56 return fmt_str.format(*args, **kwargs) 301 …fmt_str = "{}{:<{}s}{endc}{}{:+16.4f}{endc}{}{:+16.4f}{endc}{:14.0f}{:14.0f}{endc}{:14.0f}{:14.0f}" 311 fmt_str,
|
/external/autotest/client/cros/ |
D | touch_playback_test_base.py | 122 def _find_test_files_from_directions(self, input_type, fmt_str, directions): argument 134 gestures = [fmt_str % d for d in directions] 139 filepaths = {d: temp_filepaths[fmt_str % d] for d in directions}
|
/external/rust/crates/grpcio-sys/grpc/bazel/ |
D | protobuf.bzl | 46 def proto_path_to_generated_filename(proto_path, fmt_str): 54 fmt_str: A format string used to calculate the generated filename. For 60 return fmt_str.format(_strip_proto_extension(proto_path))
|
/external/python/cpython2/Lib/test/ |
D | test_builtin.py | 1546 def test_deprecated_format_string(obj, fmt_str, should_raise_warning): argument 1549 format(obj, fmt_str) 1561 def __format__(self, fmt_str): argument 1562 return format('', fmt_str) 1564 for fmt_str in fmt_strs: 1565 test_deprecated_format_string(A(), fmt_str, False) 1574 for fmt_str in fmt_strs: 1575 test_deprecated_format_string(cls(), fmt_str, len(fmt_str) != 0)
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | sparsebit.c | 1552 char *fmt_str; in display_range() local 1557 fmt_str = prepend_comma_space ? ", 0x%lx" : "0x%lx"; in display_range() 1559 fmt_str = prepend_comma_space ? ", 0x%lx:0x%lx" : "0x%lx:0x%lx"; in display_range() 1566 sz = snprintf(NULL, 0, fmt_str, low, high); in display_range() 1568 sz = fprintf(stream, fmt_str, low, high); in display_range()
|
/external/sonivox/jet_tools/JetCreator/ |
D | midifile.py | 645 fmt_str = '%s: f0' + ' %02x'*self.length 646 return fmt_str % ((self.name,) + tuple(self.msg)) 677 fmt_str = '%s:' + ' %02x'*self.length 678 return fmt_str % ((self.name,) + tuple(self.msg)) 713 fmt_str = '%s: %02x' + ' %02x'*self.length 714 return fmt_str % ((self.name, self.meta_type) + tuple(self.msg))
|
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
D | RenderScriptRuntime.cpp | 1845 const char *fmt_str = JITTemplate(eExprGetOffsetPtr); in JITDataPointer() local 1848 int written = snprintf(expr_buf, jit_max_expr_size, fmt_str, in JITDataPointer() 1880 const char *fmt_str = JITTemplate(eExprAllocGetType); in JITTypePointer() local 1883 int written = snprintf(expr_buf, jit_max_expr_size, fmt_str, in JITTypePointer() 1929 const char *fmt_str = JITTemplate(ExpressionStrings(eExprTypeDimX + i)); in JITTypePacked() local 1930 int written = snprintf(expr_bufs[i], jit_max_expr_size, fmt_str, in JITTypePacked() 1985 const char *fmt_str = JITTemplate(ExpressionStrings(eExprElementType + i)); in JITElementPacked() local 1986 int written = snprintf(expr_bufs[i], jit_max_expr_size, fmt_str, context, in JITElementPacked() 2045 const char *fmt_str = in JITSubelements() local 2047 int written = snprintf(expr_buffer, jit_max_expr_size, fmt_str, in JITSubelements() [all …]
|
/external/selinux/libsepol/src/ |
D | module_to_cil.c | 1262 const char *fmt_str; in cond_expr_to_cil() local 1311 fmt_str = "(%s %s)"; in cond_expr_to_cil() 1315 fmt_str = "(%s %s %s)"; in cond_expr_to_cil() 1340 rlen = snprintf(new_val, len, fmt_str, op, val1, val2); in cond_expr_to_cil() 1714 const char *fmt_str; in constraint_expr_to_string() local 1841 fmt_str = "(%s %s)"; in constraint_expr_to_string() 1845 fmt_str = "(%s %s %s)"; in constraint_expr_to_string() 1870 rlen = snprintf(new_val, len, fmt_str, op, val1, val2); in constraint_expr_to_string()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | error.cc | 638 static char* fmt_str(grpc_slice slice) { in fmt_str() function 653 fmt_str(*reinterpret_cast<grpc_slice*>(err->arena + slot))); in collect_strs_kvs()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | error.cc | 633 static char* fmt_str(const grpc_slice& slice) { in fmt_str() function 648 fmt_str(*reinterpret_cast<grpc_slice*>(err->arena + slot))); in collect_strs_kvs()
|
/external/python/cpython3/Lib/test/ |
D | test_builtin.py | 1684 def __format__(self, fmt_str): argument 1685 return format('', fmt_str)
|