Home
last modified time | relevance | path

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

12345678910>>...78

/openbmc/libbej/src/
H A Dbej_encoder_core.c13 struct BejEncoderOutputHandler* output) in bejEncodeNnint() argument
17 RETURN_IF_IERROR(output->recvOutput(&nnintLengthByte, sizeof(uint8_t), in bejEncodeNnint()
18 output->handlerContext)); in bejEncodeNnint()
20 return output->recvOutput(&value, nnintLengthByte, output->handlerContext); in bejEncodeNnint()
27 struct BejEncoderOutputHandler* output) in bejEncodeFormat() argument
29 return output->recvOutput(format, sizeof(struct BejTupleF), in bejEncodeFormat()
30 output->handlerContext); in bejEncodeFormat()
37 struct BejEncoderOutputHandler* output) in bejEncodeBejSetOrArray() argument
40 RETURN_IF_IERROR(bejEncodeNnint(node->metaData.sequenceNumber, output)); in bejEncodeBejSetOrArray()
42 RETURN_IF_IERROR(bejEncodeFormat(&node->nodeAttr.format, output)); in bejEncodeBejSetOrArray()
[all …]
H A Dbej_decoder_json.cpp16 std::string* output; member
34 params->output->push_back('\"'); in addPropertyNameToOutput()
36 params->output->append(propertyName); in addPropertyNameToOutput()
37 params->output->append("\":"); in addPropertyNameToOutput()
52 params->output->push_back('{'); in callbackSetStart()
67 params->output->push_back('}'); in callbackSetEnd()
83 params->output->push_back('['); in callbackArrayStart()
98 params->output->push_back(']'); in callbackArrayEnd()
113 params->output->push_back(','); in callbackPropertyEnd()
129 params->output->append("null"); in callbackNull()
[all …]
/openbmc/phosphor-pid-control/test/
H A Dsensors_json_unittest.cpp23 auto output = buildSensorsFromJson(j2); in TEST() local
24 EXPECT_TRUE(output.empty()); in TEST()
44 auto output = buildSensorsFromJson(j2); in TEST() local
45 EXPECT_EQ(static_cast<u_int64_t>(1), output.size()); in TEST()
46 EXPECT_EQ(output["fan1"].type, "fan"); in TEST()
47 EXPECT_EQ(output["fan1"].readPath, in TEST()
49 EXPECT_EQ(output["fan1"].writePath, in TEST()
52 EXPECT_EQ(output["fan1"].min, 0); in TEST()
53 EXPECT_EQ(output["fan1"].max, 255); in TEST()
54 EXPECT_EQ(output["fan1"].timeout, in TEST()
[all …]
/openbmc/qemu/scripts/
H A Dupdate-linux-headers.sh33 output="$2"
40 OUTPUT_PATH output directory, usually the qemu source tree (default: $PWD)
45 if [ -z "$output" ]; then
46 output="$PWD"
128 rm -rf "$output/linux-headers/asm-$arch"
129 mkdir -p "$output/linux-headers/asm-$arch"
132 cp "$hdrdir/include/asm/$header" "$output/linux-headers/asm-$arch"
135 cat <<EOF >$output/linux-headers/asm-$arch/$header
142 cp "$hdrdir/include/asm/sgidefs.h" "$output/linux-headers/asm-mips/"
143 cp "$hdrdir/include/asm/unistd_o32.h" "$output/linux-headers/asm-mips/"
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dbblogging.py20 self.assertIn("ERROR: Logfile of failure stored in:", result.output)
21 self.assertNotIn("This is shell stdout", result.output)
22 self.assertNotIn("This is shell stderr", result.output)
28 self.assertIn("ERROR: Logfile of failure stored in:", result.output)
29 self.assertCount(result.output, "This is shell stdout", 1)
30 self.assertCount(result.output, "This is shell stderr", 1)
36 self.assertIn("ERROR: Logfile of failure stored in:", result.output)
38 self.assertCount(result.output, "This is shell stdout", 2)
39 self.assertCount(result.output, "This is shell stderr", 2)
45 self.assertIn("ERROR: Logfile of failure stored in:", result.output)
[all …]
H A Dpkgdata.py27 self.assertEqual(result.output, 'libz1\nbusybox')
29 self.assertEqual(result.output, 'libz-dev')
31 self.assertEqual(result.status, 1, "Status different than 1. output: %s" % result.output)
32 …self.assertEqual(result.output, 'ERROR: The following packages could not be found: nonexistentpkg')
35 self.assertEqual(result.output, 'zlib\nbusybox')
37 self.assertEqual(result.output, 'zlib-dev')
39 self.assertEqual(result.status, 1, "Status different than 1. output: %s" % result.output)
40 …self.assertEqual(result.output, 'ERROR: The following packages could not be found: nonexistentpkg')
44 self.assertEqual(result.output, 'zlib')
46 self.assertEqual(result.output, 'libz1')
[all …]
H A Doverlayfs.py18 return getline_qemu(res.output, line)
48 self.assertTrue("overlayfs" in res.output, msg=res.output)
49 self.assertTrue("systemd" in res.output, msg=res.output)
50 …uired build target 'core-image-minimal' has no buildable providers." in res.output, msg=res.output)
69 self.assertTrue(line and line.startswith("WARNING:"), msg=res.output)
71 self.assertTrue(line and line.startswith("ERROR:"), msg=res.output)
107 self.assertTrue(line and line.startswith("Parsing recipes...ERROR:"), msg=res.output)
130 self.assertTrue(line and line.startswith("Parsing recipes...ERROR:"), msg=res.output)
186 status, output = qemu.run_serial("systemctl status my-application")
187 self.assertTrue("active (exited)" in output, msg=output)
[all …]
H A Dsysroot.py49 self.assertTrue(expected in res.output, msg=res.output)
61 self.assertTrue(expected in res.output, msg=res.output)
62 self.assertTrue('[la]' in res.output, msg=res.output)
66 self.assertTrue(expected in res.output, msg=res.output)
67 self.assertTrue('[la]' in res.output, msg=res.output)
79 self.assertTrue('[pkgconfig]' in res.output, msg=res.output)
80 self.assertTrue(expected in res.output, msg=res.output)
84 self.assertTrue(expected in res.output, msg=res.output)
85 self.assertTrue('[pkgconfig]' in res.output, msg=res.output)
H A Duki.py65 status, output = qemu.run_serial(cmd)
66 self.assertEqual(1, status, 'Failed to run command "%s": %s' % (cmd, output))
70 status, output = qemu.run_serial(cmd)
71 self.assertEqual(1, status, 'Failed to run command "%s": %s' % (cmd, output))
75 status, output = qemu.run_serial(cmd)
76 self.assertEqual(1, status, 'Failed to run command "%s": %s' % (cmd, output))
80 status, output = qemu.run_serial(cmd)
81 self.assertEqual(1, status, 'Failed to run command "%s": %s' % (cmd, output))
125 status, output = qemu.run_serial(cmd)
126 self.assertEqual(1, status, 'Failed to run command "%s": %s' % (cmd, output))
[all …]
/openbmc/u-boot/test/py/tests/test_fs/
H A Dtest_mkdir.py22 output = u_boot_console.run_command_list([
26 assert('dir1/' in ''.join(output))
28 output = u_boot_console.run_command(
30 assert('./' in output)
31 assert('../' in output)
39 output = u_boot_console.run_command_list([
43 assert('dir2/' in ''.join(output))
45 output = u_boot_console.run_command(
47 assert('./' in output)
48 assert('../' in output)
[all …]
H A Dtest_basic.py25 output = u_boot_console.run_command_list([
28 assert(re.search('2621440000 *%s' % BIG_FILE, ''.join(output)))
29 assert(re.search('1048576 *%s' % SMALL_FILE, ''.join(output)))
33 output = u_boot_console.run_command(
36 assert('Can not find directory' in output)
38 assert('' == output)
48 output = u_boot_console.run_command_list([
53 assert('filesize=100000' in ''.join(output))
57 output = u_boot_console.run_command_list([
61 assert('filesize=100000' in ''.join(output))
[all …]
H A Dtest_ext.py25 output = u_boot_console.run_command_list([
30 assert('20480 bytes written' in ''.join(output))
33 output = u_boot_console.run_command_list([
38 assert(md5val[0] in ''.join(output))
47 output = u_boot_console.run_command_list([
52 assert('20480 bytes written' in ''.join(output))
55 output = u_boot_console.run_command_list([
60 assert(md5val[0] in ''.join(output))
69 output = u_boot_console.run_command_list([
74 assert('Unable to write "/dir1/none/' in ''.join(output))
[all …]
H A Dtest_unlink.py23 output = u_boot_console.run_command_list([
27 assert('' == ''.join(output))
29 output = u_boot_console.run_command(
31 assert(not 'file1' in output)
32 assert('file2' in output)
40 output = u_boot_console.run_command('host bind 0 %s' % fs_img)
43 output = u_boot_console.run_command_list([
46 assert('' == ''.join(output))
48 output = u_boot_console.run_command(
50 assert('0 file(s), 2 dir(s)' in output)
[all …]
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/
H A Dsmack.py20 status, output = cls.tc.target.run("grep smack /proc/mounts | awk '{print $2}'")
21 cls.smack_path = output
28 status,output = self.target.run("cat /proc/self/attr/current")
29 self.current_label = output.strip()
36 status, output = self.target.run("chsmack -a %s %s" %(LABEL, filename))
40 "Status and output: %d %s" %(status, output))
41 status, output = self.target.run("chsmack %s" %filename)
43 m = re.search('(access=")\S+(?=")', output)
47 label_retrieved = re.split("access=\"", output)[1][:-1]
59 status, output = self.target.run("chsmack -e %s %s" %(LABEL, filename))
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_pinmux.py10 output = u_boot_console.run_command('pinmux')
11 assert 'Usage:' in output
17 output = u_boot_console.run_command('pinmux status')
18 assert 'Usage:' in output
24 output = u_boot_console.run_command('pinmux status -a')
25 assert ('SCL : I2C SCL' in output)
26 assert ('SDA : I2C SDA' in output)
27 assert ('TX : Uart TX' in output)
28 assert ('RX : Uart RX' in output)
29 assert ('W1 : 1-wire gpio' in output)
[all …]
H A Dtest_gpt.py79 output = u_boot_console.run_command('gpt read host 0')
80 assert 'Start 1MiB, size 1MiB' in output
81 assert 'Block size 512, name part1' in output
82 assert 'Start 2MiB, size 1MiB' in output
83 assert 'Block size 512, name part2' in output
84 output = u_boot_console.run_command('part list host 0')
85 assert '0x00000800 0x00000fff "part1"' in output
86 assert '0x00001000 0x00001bff "part2"' in output
95 output = u_boot_console.run_command('gpt verify host 0')
96 assert 'Verify GPT: success!' in output
[all …]
H A Dtest_tpm2.py32 output = u_boot_console.run_command('tpm2 init')
33 if force or not 'Error' in output:
38 output = u_boot_console.run_command('echo $?')
39 if not output.endswith('0'):
48 output = u_boot_console.run_command('echo $?')
49 assert output.endswith('0')
59 output = u_boot_console.run_command('echo $?')
60 assert output.endswith('0')
70 output = u_boot_console.run_command('echo $?')
71 assert output.endswith('0')
[all …]
H A Dtest_fpga.py90 output = u_boot_console.run_command('tftpboot %x %s' % (addr, bit))
91 assert expected_tftp in output
103 output = u_boot_console.run_command('fpga broken 0')
105 assert expected_usage in output
110 output = u_boot_console.run_command('fpga')
111 assert expected_usage in output
134 output = u_boot_console.run_command('fpga info 0 0')
136 assert expected_usage in output
146 output = u_boot_console.run_command('fpga info')
147 assert expected_usage not in output
[all …]
/openbmc/pldm/pldmtool/
H A Dpldm_platform_cmd.cpp836 void printCommonPDRHeader(const pldm_pdr_hdr* hdr, ordered_json& output) in printCommonPDRHeader() argument
838 output["recordHandle"] = hdr->record_handle; in printCommonPDRHeader()
839 output["PDRHeaderVersion"] = unsigned(hdr->version); in printCommonPDRHeader()
840 output["PDRType"] = getPDRType(hdr->type); in printCommonPDRHeader()
841 output["recordChangeNumber"] = hdr->record_change_num; in printCommonPDRHeader()
842 output["dataLength"] = hdr->length; in printCommonPDRHeader()
868 void printStateSensorPDR(const uint8_t* data, ordered_json& output) in printStateSensorPDR() argument
871 output["PLDMTerminusHandle"] = pdr->terminus_handle; in printStateSensorPDR()
872 output["sensorID"] = pdr->sensor_id; in printStateSensorPDR()
873 output["entityType"] = getEntityName(pdr->entity_type); in printStateSensorPDR()
[all …]
/openbmc/u-boot/tools/dtoc/
H A Dtest_dtoc.py155 output = tools.GetOutputFilename('output')
156 dtb_platdata.run_steps(['struct'], dtb_file, False, output)
157 with open(output) as infile:
161 dtb_platdata.run_steps(['platdata'], dtb_file, False, output)
162 with open(output) as infile:
169 output = tools.GetOutputFilename('output')
170 dtb_platdata.run_steps(['struct'], dtb_file, False, output)
171 with open(output) as infile:
195 dtb_platdata.run_steps(['platdata'], dtb_file, False, output)
196 with open(output) as infile:
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Ddiv64.c21 union overlay64 output; in __ashldi3() local
23 output.longw = num; in __ashldi3()
25 output.words.higher = output.words.lower << (shift - 32); in __ashldi3()
26 output.words.lower = 0; in __ashldi3()
30 output.words.higher = (output.words.higher << shift) | in __ashldi3()
31 (output.words.lower >> (32 - shift)); in __ashldi3()
32 output.words.lower = output.words.lower << shift; in __ashldi3()
34 return output.longw; in __ashldi3()
39 union overlay64 output; in __lshrdi3() local
41 output.longw = num; in __lshrdi3()
[all …]
/openbmc/qemu/tests/tcg/arm/
H A Dfcvt.c125 uint32_t output; in convert_single_to_half() local
126 asm("vcvtb.f16.f32 %0, %1" : "=t" (output) : "x" (input)); in convert_single_to_half()
128 uint16_t output; in convert_single_to_half() local
129 asm("fcvt %h0, %s1" : "=w" (output) : "w" (input)); in convert_single_to_half()
131 print_half_number(i, output); in convert_single_to_half()
144 double output; in convert_single_to_double() local
150 asm("vcvt.f64.f32 %P0, %1" : "=w" (output) : "t" (input)); in convert_single_to_double()
152 asm("fcvt %d0, %s1" : "=w" (output) : "w" (input)); in convert_single_to_double()
154 print_double_number(i, output); in convert_single_to_double()
166 int64_t output; in convert_single_to_integer() local
[all …]
/openbmc/phosphor-net-ipmid/
H A Dauth_algo.cpp20 std::vector<uint8_t> output(SHA_DIGEST_LENGTH); in generateHMAC() local
24 input.size(), output.data(), &mdLen) == NULL) in generateHMAC()
27 output.resize(0); in generateHMAC()
30 return output; in generateHMAC()
36 std::vector<uint8_t> output(SHA_DIGEST_LENGTH); in generateICV() local
40 input.data(), input.size(), output.data(), &mdLen) == NULL) in generateICV()
44 output.resize(0); in generateICV()
46 output.resize(integrityCheckValueLength); in generateICV()
48 return output; in generateICV()
54 std::vector<uint8_t> output(SHA256_DIGEST_LENGTH); in generateHMAC() local
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dsystemd.py21 status, output = self.target.run(command)
22 message = '\n'.join([command, output])
27 return output
50 status, output = self.target.run(command)
53 'code %d:\n%s' % (command, status, output))
54 if len(output) == 1 and "-- No entries --" in output:
57 return output
72 status, output = self.target.run('SYSTEMD_BUS_TIMEOUT=240s systemctl is-system-running')
73 if "running" in output or "degraded" in output:
76 return (False, output)
[all …]
H A Drpm.py22 status, output = self.target.run('rpm --help')
23 msg = 'status and output: %s and %s' % (status, output)
28 status, output = self.target.run('ls /var/lib/rpm/')
31 status, output = self.target.run('rpm -q rpm')
32 msg = 'status and output: %s and %s' % (status, output)
39 status, output = self.target.run('id -u %s' % u)
41 status, output = self.target.run('useradd %s' % u)
42 msg = 'Failed to create new user: %s' % output
46 status, output = self.target.run('su -c id %s' % u)
48 self.assertTrue("({0})".format(u) in output, msg=msg)
[all …]

12345678910>>...78