Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 8733) sorted by relevance

12345678910>>...350

/third_party/cJSON/tests/unity/auto/
Dgenerate_test_runner.rb74 File.open(output_file, 'w') do |output|
75 create_header(output, used_mocks, testfile_includes)
76 create_externs(output, tests, used_mocks)
77 create_mock_management(output, used_mocks)
78 create_suite_setup(output)
79 create_suite_teardown(output)
80 create_reset(output, used_mocks)
81 create_main(output, input_file, tests, used_mocks)
86 File.open(@options[:header_file], 'w') do |output|
87 create_h_file(output, @options[:header_file], tests, testfile_includes, used_mocks)
[all …]
/third_party/boost/libs/test/test/writing-test-ts/
Doutput_test_stream-test.cpp29 output_test_stream output; in BOOST_AUTO_TEST_CASE() local
30 BOOST_TEST( !output.match_pattern() ); in BOOST_AUTO_TEST_CASE()
31 BOOST_TEST( output.is_empty() ); in BOOST_AUTO_TEST_CASE()
34 output_test_stream output( (char const*)0 ); in BOOST_AUTO_TEST_CASE() local
35 BOOST_TEST( !output.match_pattern() ); in BOOST_AUTO_TEST_CASE()
36 BOOST_TEST( output.is_empty() ); in BOOST_AUTO_TEST_CASE()
39 output_test_stream output( "" ); in BOOST_AUTO_TEST_CASE() local
40 BOOST_TEST( !output.match_pattern() ); in BOOST_AUTO_TEST_CASE()
41 BOOST_TEST( output.is_empty() ); in BOOST_AUTO_TEST_CASE()
44 output_test_stream output( "%&^$%&$%" ); in BOOST_AUTO_TEST_CASE() local
[all …]
/third_party/python/Lib/test/
Dtest_sys_settrace.py14 def __init__(self, output, value): argument
15 self.output = output
19 self.output.append(self.value)
22 self.output.append(-self.value)
26 def __init__(self, output, value): argument
27 self.output = output
31 self.output.append(self.value)
34 self.output.append(-self.value)
1303 def no_jump_to_non_integers(output): argument
1305 output.append(2)
[all …]
/third_party/mindspore/tests/ut/cpp/dataset/
Dtokenizer_op_test.cc50 Tensor::CreateScalar<std::string>("Hello World!", &input); TensorRow output; in TEST_F() local
51 Status s = op->Compute(TensorRow(0, {input}), &output); in TEST_F()
53 EXPECT_EQ(output[0]->Size(), 12); in TEST_F()
54 EXPECT_EQ(output[0]->Rank(), 1); in TEST_F()
55 MS_LOG(INFO) << "Out tensor1: " << output[0]->ToString(); in TEST_F()
56 CheckEqual(output[0], {0}, "H"); in TEST_F()
57 CheckEqual(output[0], {1}, "e"); in TEST_F()
58 CheckEqual(output[0], {2}, "l"); in TEST_F()
59 CheckEqual(output[0], {3}, "l"); in TEST_F()
60 CheckEqual(output[0], {4}, "o"); in TEST_F()
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_print_ir.cpp90 print_reg_class(const RegClass rc, FILE* output) in print_reg_class() argument
93 fprintf(output, " v%ub: ", rc.bytes()); in print_reg_class()
95 fprintf(output, " s%u: ", rc.size()); in print_reg_class()
97 fprintf(output, " lv%u: ", rc.size()); in print_reg_class()
99 fprintf(output, " v%u: ", rc.size()); in print_reg_class()
104 print_physReg(PhysReg reg, unsigned bytes, FILE* output, unsigned flags) in print_physReg() argument
107 fprintf(output, "m0"); in print_physReg()
109 fprintf(output, "vcc"); in print_physReg()
111 fprintf(output, "scc"); in print_physReg()
113 fprintf(output, "exec"); in print_physReg()
[all …]
/third_party/weston/libweston/
Dzoom.c41 struct weston_output *output, in weston_zoom_frame_z() argument
45 output->zoom.spring_z.timestamp = *time; in weston_zoom_frame_z()
47 weston_spring_update(&output->zoom.spring_z, time); in weston_zoom_frame_z()
49 if (output->zoom.spring_z.current > output->zoom.max_level) in weston_zoom_frame_z()
50 output->zoom.spring_z.current = output->zoom.max_level; in weston_zoom_frame_z()
51 else if (output->zoom.spring_z.current < 0.0) in weston_zoom_frame_z()
52 output->zoom.spring_z.current = 0.0; in weston_zoom_frame_z()
54 if (weston_spring_done(&output->zoom.spring_z)) { in weston_zoom_frame_z()
55 if (output->zoom.active && output->zoom.level <= 0.0) { in weston_zoom_frame_z()
56 output->zoom.active = false; in weston_zoom_frame_z()
[all …]
/third_party/unity/auto/
Dgenerate_test_runner.rb88 File.open(output_file, 'w') do |output|
89 create_header(output, used_mocks, testfile_includes)
90 create_externs(output, tests, used_mocks)
91 create_mock_management(output, used_mocks)
92 create_setup(output)
93 create_teardown(output)
94 create_suite_setup(output)
95 create_suite_teardown(output)
96 create_reset(output)
97 create_run_test(output) unless tests.empty?
[all …]
/third_party/weston/remoting/
Dremoting-plugin.c96 struct weston_output *output; member
97 void (*saved_destroy)(struct weston_output *output);
98 int (*saved_enable)(struct weston_output *output);
99 int (*saved_disable)(struct weston_output *output);
100 int (*saved_start_repaint_loop)(struct weston_output *output);
126 struct remoted_output *output; member
131 struct remoted_output *output; member
187 remoting_gst_pipeline_init(struct remoted_output *output) in remoting_gst_pipeline_init() argument
192 struct weston_mode *mode = output->output->current_mode; in remoting_gst_pipeline_init()
194 if (!output->gst_pipeline) { in remoting_gst_pipeline_init()
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dcmake.py142 def SetFileProperty(output, source_name, property_name, values, sep): argument
144 output.write('set_source_files_properties(')
145 output.write(source_name)
146 output.write(' PROPERTIES ')
147 output.write(property_name)
148 output.write(' "')
150 output.write(CMakeStringEscape(value))
151 output.write(sep)
152 output.write('")\n')
155 def SetFilesProperty(output, variable, property_name, values, sep): argument
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/
Dprefer-optional-chain.test.ts17 output: 'foo?.bar',
21 output: 'foo.bar?.baz',
25 output: 'foo?.()',
29 output: 'foo.bar?.()',
33 output: 'foo?.bar?.baz?.buzz',
37 output: 'foo.bar?.baz?.buzz',
42 output: 'foo?.bar?.baz.buzz',
46 output: 'foo.bar?.baz.buzz',
51 output: 'foo?.bar?.baz?.buzz',
55 output: 'foo.bar?.baz?.buzz',
[all …]
Dprefer-string-starts-ends-with.test.ts252 output: `
265 output: `
278 output: `
291 output: `
304 output: `
317 output: null,
326 output: null,
335 output: `
348 output: `
363 output: `
[all …]
Dfunc-call-spacing.test.ts136 output: 'f();',
140 output: 'f(a, b);',
144 output: 'f.b();',
154 output: 'f.b().c();',
164 output: 'f()()',
168 output: '(function() {}())',
172 output: 'var f = new Foo()',
176 output: 'f( (0) )',
180 output: 'f(0)(1)',
184 output: 'f();\n t();',
[all …]
Dbrace-style.test.ts590 output: `
600 output: 'var foo = () => {\n return; \n}',
609 output: 'function foo() {\n return; \n}',
617 output: 'function foo() { \n return; \n}',
622 output: '!function foo() { \n return; \n}',
627 output: 'if (foo) { \n bar(); \n}',
632 output: 'if (a) { \nb();\n } else {\n c(); \n}',
641 output: 'while (foo) { \n bar(); \n}',
646 output: 'for (;;) { \n bar(); \n}',
651 output: 'with (foo) { \n bar(); \n}',
[all …]
/third_party/node/tools/gyp/pylib/gyp/generator/
Dcmake.py150 def SetFileProperty(output, source_name, property_name, values, sep): argument
152 output.write("set_source_files_properties(")
153 output.write(source_name)
154 output.write(" PROPERTIES ")
155 output.write(property_name)
156 output.write(' "')
158 output.write(CMakeStringEscape(value))
159 output.write(sep)
160 output.write('")\n')
163 def SetFilesProperty(output, variable, property_name, values, sep): argument
[all …]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_ENUMOUTPUT.c40 struct v4l2_output output; in test_VIDIOC_ENUMOUTPUT() local
46 memset(&output, 0xff, sizeof(output)); in test_VIDIOC_ENUMOUTPUT()
47 output.index = i; in test_VIDIOC_ENUMOUTPUT()
48 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMOUTPUT, &output); in test_VIDIOC_ENUMOUTPUT()
57 CU_ASSERT_EQUAL(output.index, i); in test_VIDIOC_ENUMOUTPUT()
59 CU_ASSERT(0 < strlen((char *)output.name)); in test_VIDIOC_ENUMOUTPUT()
61 ((char *)output.name, sizeof(output.name))); in test_VIDIOC_ENUMOUTPUT()
66 CU_ASSERT(valid_v4l2_std_id(output.std)); in test_VIDIOC_ENUMOUTPUT()
67 CU_ASSERT_EQUAL(output.reserved[0], 0); in test_VIDIOC_ENUMOUTPUT()
68 CU_ASSERT_EQUAL(output.reserved[1], 0); in test_VIDIOC_ENUMOUTPUT()
[all …]
/third_party/weston/libweston/backend-drm/
Ddrm-virtual.c50 drm_virtual_plane_create(struct drm_backend *b, struct drm_output *output) in drm_virtual_plane_create() argument
65 plane->formats[0].format = output->gbm_format; in drm_virtual_plane_create()
67 if ((output->gbm_bo_flags & GBM_BO_USE_LINEAR) && b->fb_modifiers) { in drm_virtual_plane_create()
108 drm_virtual_output_submit_frame(struct drm_output *output, in drm_virtual_output_submit_frame() argument
111 struct drm_backend *b = to_drm_backend(output->base.compositor); in drm_virtual_output_submit_frame()
122 ret = output->virtual_submit_frame(&output->base, fd, fb->strides[0], in drm_virtual_output_submit_frame()
138 struct drm_output *output = to_drm_output(output_base); in drm_virtual_output_repaint() local
139 struct drm_plane *scanout_plane = output->scanout_plane; in drm_virtual_output_repaint()
142 assert(output->virtual); in drm_virtual_output_repaint()
144 if (output->disable_pending || output->destroy_pending) in drm_virtual_output_repaint()
[all …]
/third_party/googletest/googlemock/test/
Dgmock_output_test.py64 def RemoveReportHeaderAndFooter(output): argument
67 output = re.sub(r'.*gtest_main.*\n', '', output)
68 output = re.sub(r'\[.*\d+ tests.*\n', '', output)
69 output = re.sub(r'\[.* test environment .*\n', '', output)
70 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output)
71 output = re.sub(r'.* FAILED TESTS\n', '', output)
72 return output
75 def RemoveLocations(output): argument
88 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output)
91 def NormalizeErrorMarker(output): argument
[all …]
/third_party/boost/libs/algorithm/string/test/
Dfind_format_test.cpp49 std::string output(80, '\0'); in find_format_test() local
53 output.begin(), in find_format_test()
57 BOOST_CHECK(pos == output.begin() + expected.size()); in find_format_test()
58 output.erase(std::remove(output.begin(), output.end(), '\0'), output.end()); in find_format_test()
59 BOOST_CHECK_EQUAL(output, expected); in find_format_test()
61 output = in find_format_test()
66 BOOST_CHECK_EQUAL(output, expected); in find_format_test()
69 output.resize(80); in find_format_test()
72 output.begin(), in find_format_test()
76 BOOST_CHECK(pos == output.begin() + source.size()); in find_format_test()
[all …]
/third_party/weston/pipewire/
Dpipewire-plugin.c72 struct weston_output *output; member
73 void (*saved_destroy)(struct weston_output *output);
74 int (*saved_enable)(struct weston_output *output);
75 int (*saved_disable)(struct weston_output *output);
76 int (*saved_start_repaint_loop)(struct weston_output *output);
95 struct pipewire_output *output; member
113 struct pipewire_output *output, in pipewire_debug_impl() argument
131 if (output) in pipewire_debug_impl()
132 fprintf(fp, "[%s]", output->output->name); in pipewire_debug_impl()
155 pipewire_output_debug(struct pipewire_output *output, const char *fmt, ...) in pipewire_output_debug() argument
[all …]
/third_party/weston/libweston/backend-wayland/
Dwayland.c109 struct wl_output *output; member
176 struct wayland_output *output; member
219 struct wayland_output *output; member
267 if (sb->output) { in buffer_release()
268 wl_list_insert(&sb->output->shm.free_buffers, &sb->free_link); in buffer_release()
279 wayland_output_get_shm_buffer(struct wayland_output *output) in wayland_output_get_shm_buffer() argument
282 to_wayland_backend(output->base.compositor); in wayland_output_get_shm_buffer()
292 if (!wl_list_empty(&output->shm.free_buffers)) { in wayland_output_get_shm_buffer()
293 sb = container_of(output->shm.free_buffers.next, in wayland_output_get_shm_buffer()
301 if (output->frame) { in wayland_output_get_shm_buffer()
[all …]
/third_party/alsa-lib/src/
Doutput.c38 int (*close)(snd_output_t *output);
39 int (*print)(snd_output_t *output, const char *format, va_list args);
40 int (*puts)(snd_output_t *output, const char *str);
41 int (*putch)(snd_output_t *output, int c);
42 int (*flush)(snd_output_t *output);
57 int snd_output_close(snd_output_t *output) in snd_output_close() argument
59 int err = output->ops->close(output); in snd_output_close()
60 free(output); in snd_output_close()
71 int snd_output_printf(snd_output_t *output, const char *format, ...) in snd_output_printf() argument
76 result = output->ops->print(output, format, args); in snd_output_printf()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc125 io::CodedOutputStream output(raw_output_); in Write() local
126 output.WriteLittleEndian32(0x04034b50); // magic in Write()
127 WriteShort(&output, 10); // version needed to extract in Write()
128 WriteShort(&output, 0); // flags in Write()
129 WriteShort(&output, 0); // compression method: stored in Write()
130 WriteShort(&output, 0); // last modified time in Write()
131 WriteShort(&output, kDosEpoch); // last modified date in Write()
132 output.WriteLittleEndian32(info.crc32); // crc-32 in Write()
133 output.WriteLittleEndian32(info.size); // compressed size in Write()
134 output.WriteLittleEndian32(info.size); // uncompressed size in Write()
[all …]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Ddemo.js49 var output = new goog.string.StringBuffer();
52 output.append('****Parsing Result:****\n');
53 output.append(goog.json.serialize(new goog.proto2.ObjectSerializer(
55 output.append('\n\n****Validation Results:****');
57 output.append('\nResult from isPossibleNumber(): ');
58 output.append(isPossible);
65 output.append('\nResult from isPossibleNumberWithReason(): ');
66 output.append('IS_POSSIBLE_LOCAL_ONLY');
67 output.append(
72 output.append('\nResult from isValidNumber(): ');
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dunary_op_impl.cu19 __global__ void ExponentialKernel(const T *input, T *output, const size_t count) { in ExponentialKernel() argument
21 output[i] = expf(input[i]); in ExponentialKernel()
26 __global__ void ExponentialKernel(const double *input, double *output, const size_t count) { in ExponentialKernel() argument
28 output[i] = exp(input[i]); in ExponentialKernel()
33 __global__ void ExponentialKernel(const half *input, half *output, const size_t count) { in ExponentialKernel() argument
35 output[i] = hexp(input[i]); in ExponentialKernel()
40 __global__ void Expm1Kernel(const T *input, T *output, const size_t count) { in Expm1Kernel() argument
42 output[i] = expm1f(input[i]); in Expm1Kernel()
47 __global__ void Expm1Kernel(const double *input, double *output, const size_t count) { in Expm1Kernel() argument
49 output[i] = expm1(input[i]); in Expm1Kernel()
[all …]
/third_party/libphonenumber/java/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java102 StringBuilder output; in doPost() local
139 StringBuilder output = in getOutputForFile() local
143 output.append("<TABLE align=center border=1>"); in getOutputForFile()
144 output.append("<TH align=center>ID</TH>"); in getOutputForFile()
145 output.append("<TH align=center>Raw phone number</TH>"); in getOutputForFile()
146 output.append("<TH align=center>Pretty formatting</TH>"); in getOutputForFile()
147 output.append("<TH align=center>International format</TH>"); in getOutputForFile()
154 output.append("<TR>"); in getOutputForFile()
155 output.append("<TD align=center>").append(phoneNumberId).append(" </TD> \n"); in getOutputForFile()
156 output in getOutputForFile()
[all …]

12345678910>>...350