Home
last modified time | relevance | path

Searched refs:output_string (Results 1 – 25 of 37) sorted by relevance

12

/external/perf_data_converter/src/quipper/
Dperf_recorder_test.cc47 string output_string; in TEST_F() local
49 {"perf", "record"}, 0.2, &output_string)); in TEST_F()
52 EXPECT_TRUE(perf_data_proto.ParseFromString(output_string)); in TEST_F()
73 string output_string; in TEST_F() local
75 {"perf", "stat"}, 0.2, &output_string)); in TEST_F()
77 EXPECT_GT(output_string.size(), 0); in TEST_F()
79 ASSERT_TRUE(stat.ParseFromString(output_string)); in TEST_F()
87 string output_string; in TEST_F() local
89 {"perf", "mem", "record"}, 0.2, &output_string)); in TEST_F()
91 EXPECT_GT(output_string.size(), 0); in TEST_F()
[all …]
Dperf_recorder.cc34 bool ParsePerfDataFileToString(const string& filename, string* output_string) { in ParsePerfDataFileToString() argument
49 perf_data.SerializeToString(output_string); in ParsePerfDataFileToString()
56 string* output_string) { in ParsePerfStatFileToString() argument
77 return perf_stat.SerializeToString(output_string); in ParsePerfStatFileToString()
89 string* output_string) { in RunCommandAndGetSerializedOutput() argument
136 return ParsePerfDataFileToString(output_file.path(), output_string); in RunCommandAndGetSerializedOutput()
140 output_string); in RunCommandAndGetSerializedOutput()
Dconversion_utils.cc83 string output_string; in WriteOutput() local
98 if (!TextFormat::PrintToString(perf_data_proto, &output_string)) in WriteOutput()
100 std::vector<char> data(output_string.begin(), output_string.end()); in WriteOutput()
Dquipper.cc55 string output_string; in main() local
57 &output_string)) { in main()
61 if (!quipper::BufferToFile(kDefaultOutputFile, output_string)) return 1; in main()
Dtest_utils.cc61 bool ReadExistingProtobufText(const string& filename, string* output_string) { in ReadExistingProtobufText() argument
67 output_string->assign(&output_buffer[0], output_buffer.size()); in ReadExistingProtobufText()
Dperf_recorder.h31 string* output_string);
/external/u-boot/lib/efi_loader/
Dhelloworld.c51 con_out->output_string(con_out, L"Hello, world!\n"); in efi_main()
66 con_out->output_string(con_out, L"Running on UEFI "); in efi_main()
67 con_out->output_string(con_out, rev); in efi_main()
68 con_out->output_string(con_out, L"\n"); in efi_main()
74 con_out->output_string(con_out, in efi_main()
82 con_out->output_string(con_out, L"Have device tree\n"); in efi_main()
85 con_out->output_string(con_out, L"Have ACPI 2.0 table\n"); in efi_main()
88 con_out->output_string(con_out, L"Have SMBIOS table\n"); in efi_main()
91 con_out->output_string(con_out, L"Load options: "); in efi_main()
93 con_out->output_string(con_out, in efi_main()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strchr/
D1-1.c43 char *output_string = malloc(len + 1); in random_string() local
44 if (output_string == NULL) { in random_string()
49 output_string[i] = rand() % 254 + 1; in random_string()
52 output_string[i] = MATCH_CHAR; in random_string()
54 else if (output_string[i] == SKIP_CHAR || output_string[i] == MATCH_CHAR) in random_string()
57 output_string[len] = '\0'; in random_string()
58 return output_string; in random_string()
/external/tensorflow/tensorflow/contrib/stat_summarizer/python/
Dstat_summarizer_test.py52 output_string = ss.GetOutputString()
54 print(output_string)
57 self.assertRegexpMatches(output_string, r"count=20")
60 self.assertRegexpMatches(output_string, r"====== .* ======")
65 self.assertRegexpMatches(output_string, r"MatMul.*product")
66 self.assertRegexpMatches(output_string, r"Const.*m1")
67 self.assertRegexpMatches(output_string, r"Const.*m2")
70 self.assertRegexpMatches(output_string, r"100\.")
/external/u-boot/lib/efi_selftest/
Defi_selftest_textoutput.c53 ret = con_out->output_string(con_out, in execute()
60 ret = con_out->output_string(con_out, lf); in execute()
69 ret = con_out->output_string(con_out, cr); in execute()
78 ret = con_out->output_string(con_out, L"123"); in execute()
87 ret = con_out->output_string(con_out, L"\b"); in execute()
96 ret = con_out->output_string(con_out, L"\b\b"); in execute()
105 ret = con_out->output_string(con_out, L"\b\b"); in execute()
114 ret = con_out->output_string(con_out, brahmi); in execute()
Defi_selftest_console.c195 con_out->output_string(con_out, in efi_st_printc()
198 con_out->output_string(con_out, u); in efi_st_printc()
224 con_out->output_string(con_out, buf); in efi_st_printc()
Defi_selftest_miniapp_return.c26 con_out->output_string(con_out, in efi_main()
Defi_selftest_miniapp_exit.c26 con_out->output_string(con_out, L"EFI application calling Exit\n"); in efi_main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strlen/
D1-1.c32 char *output_string; in random_string() local
33 output_string = malloc(len + 1); in random_string()
34 if (output_string == NULL) { in random_string()
39 output_string[i] = rand() % 254 + 1; in random_string()
40 output_string[len] = '\0'; in random_string()
41 return output_string; in random_string()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strcpy/
D1-1.c34 char *output_string; in random_string() local
35 output_string = malloc(len + 1); in random_string()
36 if (output_string == NULL) { in random_string()
42 output_string[i] = rand() % 254 + 1; in random_string()
43 output_string[len] = '\0'; in random_string()
44 return output_string; in random_string()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strncpy/
D1-1.c36 char *output_string = NULL; in random_string() local
37 output_string = malloc(len + 1); in random_string()
38 if (output_string == NULL) { in random_string()
44 output_string[i] = rand() % 254 + 1; in random_string()
45 output_string[len] = '\0'; in random_string()
46 return output_string; in random_string()
D2-1.c37 char *output_string; in random_string() local
38 output_string = malloc(len + 1); in random_string()
39 if (output_string == NULL) { in random_string()
45 output_string[i] = rand() % 254 + 1; in random_string()
46 output_string[len] = '\0'; in random_string()
47 return output_string; in random_string()
/external/tensorflow/tensorflow/tools/api/lib/
Dpython_object_to_proto_visitor.py102 output_string = ''
106 output_string += '%s=%s, ' % (clean_attr,
119 output_string += 'defaults=%s, ' % sanitized_defaults
122 output_string += 'defaults=None'
124 return output_string
/external/grpc-grpc/test/core/util/
Dtest_config.cc219 static void output_string(const char* string) { in output_string() function
231 output_string(buf); in output_num()
238 output_string("\n\n\n*******************************\nCaught signal "); in crash_handler()
240 output_string(signal_names[signum]); in crash_handler()
244 output_string("\n"); in crash_handler()
249 output_string(" no backtrace\n"); in crash_handler()
/external/tensorflow/tensorflow/core/kernels/
Ddecode_compressed_op.cc109 string output_string; in Compute() local
110 Status s = zlib_stream->ReadNBytes(INT_MAX, &output_string); in Compute()
112 output_flat(i) = output_string; in Compute()
/external/libaom/libaom/
Ddocs.cmake134 unset(output_string)
136 set(output_string "${output_string} ${list_item} ") variable
138 string(STRIP "${output_string}" output_string)
139 file(APPEND "${AOM_DOXYFILE}" "${var_name} += ${output_string}\n")
/external/fonttools/Tests/ttLib/tables/
DttProgram_test.py113 output_string = buf.getvalue()
114 assert output_string == ttProgramXML
/external/u-boot/drivers/serial/
Dserial_efi.c80 ret = priv->con_out->output_string(priv->con_out, ucode); in serial_efi_putc()
120 sys_table->con_out->output_string(sys_table->con_out, ucode); in _debug_uart_putc()
/external/tensorflow/tensorflow/core/platform/
Dabi.cc31 extern "C" char* __unDName(char* output_string, const char* name,
/external/grpc-grpc/src/core/lib/json/
Djson_writer.h44 void (*output_string)(void* userdata, const char* str); member

12