Home
last modified time | relevance | path

Searched full:expected (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/hal_espressif-2.7.6/tools/ldgen/test/
Dtest_output_commands.py39 expected = '*(.literal .literal.* .text .text.*)'
42 self.assertEqual(expected, str(desc))
45 self.assertEqual(expected, str(desc))
49 expected = '*libfreertos.a:(.literal .literal.* .text .text.*)'
52 self.assertEqual(expected, str(desc))
55 self.assertEqual(expected, str(desc))
58 self.assertEqual(expected, str(desc))
61 self.assertEqual(expected, str(desc))
65 expected = '*libfreertos.a:croutine.*(.literal .literal.* .text .text.*)'
68 self.assertEqual(expected, str(desc))
[all …]
Dtest_generation.py95 def write(self, expected, actual): argument
96 self.linker_script.fill(expected)
97 self.linker_script.write(open('expected.ld', 'w'))
119 def compare_rules(self, expected, actual): argument
120 self.assertEqual(set(expected.keys()), set(actual.keys()))
124 e_cmds = expected[target]
139 expected = self.generate_default_rules()
141 self.compare_rules(expected, actual)
253 expected = self.generate_default_rules()
255 flash_text = expected['flash_text']
[all …]
Dtest_fragments.py653 expected = {('obj', 'symbol', 'noflash'),
660 self.assertEqual(expected, fragment_file.fragments[0].entries)
695 expected = set()
698 self.assertEqual(expected, fragment_file.fragments[0].entries)
720 expected = {('obj', 'symbol', 'noflash')}
723 self.assertEqual(expected, fragment_file.fragments[0].entries)
834 expected = {('obj', 'symbol', 'noflash'),
841 self.assertEqual(expected, fragment_file.fragments[0].entries)
853 expected = {('*', None, 'default')}
855 self.assertEqual(expected, fragment_file.fragments[0].entries)
[all …]
Dtest_entity.py221 expected = set(['.literal.prvCheckPendingReadyList', '.literal.prvCheckDelayedList'])
222 self.assertEqual(set(sections), expected)
225 expected = set(['.debug_frame', '.debug_info', '.debug_abbrev'])
226 self.assertEqual(set(sections), expected)
230 expected = set(['.literal.prvGetNextExpireTime', '.literal.prvInsertTimerInActiveList'])
231 self.assertEqual(set(sections), expected)
/hal_espressif-2.7.6/components/freertos/test/
Dtest_float_in_isr.c19 float expected; member
30 ctx->expected = ctx->expected * 2.0f * cosf(0.0f); in software_isr()
51 ctx.expected = 1.0f;
61 printf("FP math isr result: %f \n", ctx.expected);
62 TEST_ASSERT_FLOAT_WITHIN(0.1f, ctx.expected, fp_math_operation_result * 65536.0f);
/hal_espressif-2.7.6/components/libsodium/test/
Dtest_sodium.c68 const uint8_t expected[] = { 0xba, 0x78, 0x16, 0xbf, 0x8f, 0x01, 0xcf, 0xea, 0x41, variable
80 TEST_ASSERT_EQUAL(sizeof(calculated), sizeof(expected));
82 TEST_ASSERT_EQUAL_MEMORY(expected, calculated, crypto_hash_sha256_bytes());
89 TEST_ASSERT_EQUAL_MEMORY(expected, calculated, crypto_hash_sha256_bytes());
94 const uint8_t expected[] = { 0xdd, 0xaf, 0x35, 0xa1, 0x93, 0x61, 0x7a, 0xba, 0xcc, variable
111 TEST_ASSERT_EQUAL(sizeof(calculated), sizeof(expected));
113 TEST_ASSERT_EQUAL_MEMORY(expected, calculated, crypto_hash_sha512_bytes());
120 TEST_ASSERT_EQUAL_MEMORY(expected, calculated, crypto_hash_sha512_bytes());
/hal_espressif-2.7.6/examples/peripherals/twai/twai_network/
Dexample_test.py17 expected = kwargs['expected']
23 for string in expected:
48 master_kwargs = {'dut': dut_master, 'result': results[0], 'expected': master_expect}
49 slave_kwargs = {'dut': dut_slave, 'result': results[1], 'expected': slave_expect}
50 …listen_only_kwargs = {'dut': dut_listen_only, 'result': results[2], 'expected': listen_only_expect}
/hal_espressif-2.7.6/docs/
Dsphinx-known-warnings.txt41 Invalid definition: Expected identifier in nested name, got keyword: void [error at 4]
47 Invalid definition: Expected identifier in nested name. [error at 4]
51 Invalid definition: Expected identifier in nested name. [error at 4]
57 Invalid definition: Expected identifier in nested name. [error at 5]
61 Invalid definition: Expected identifier in nested name. [error at 5]
65 Invalid definition: Expected identifier in nested name, got keyword: void [error at 4]
/hal_espressif-2.7.6/docs/test/
Dtest_sphinx_idf_extensions.py45expected = ('This is a ESP32, with esp32/soc.c, compiled with xtensa-esp32-elf-gcc with CONFIG_ESP…
49 self.assertEqual(self.str_sub.substitute(content), expected)
55 expected = 'The ESP32 UART IO4 uses for TX'
56 self.assertEqual(self.str_sub.substitute(content), expected)
62 expected = 'The ESP32 UART IO3 uses for TX'
63 self.assertEqual(self.str_sub.substitute(content), expected)
/hal_espressif-2.7.6/components/newlib/test/
Dtest_setjmp.c23 const uint32_t expected = 0x12345678; variable
25 .retval = expected
32 TEST_ASSERT_EQUAL(expected, ret);
/hal_espressif-2.7.6/components/wpa_supplicant/src/tls/
Dpkcs8.c42 wpa_printf(MSG_DEBUG, "PKCS #8: Expected INTEGER - found " in pkcs8_key_import()
60 wpa_printf(MSG_DEBUG, "PKCS #8: Expected zero INTEGER in the " in pkcs8_key_import()
73 wpa_printf(MSG_DEBUG, "PKCS #8: Expected SEQUENCE " in pkcs8_key_import()
108 wpa_printf(MSG_DEBUG, "PKCS #8: Expected OCTETSTRING " in pkcs8_key_import()
156 wpa_printf(MSG_DEBUG, "PKCS #8: Expected SEQUENCE " in pkcs8_enc_key_import()
170 wpa_printf(MSG_DEBUG, "PKCS #8: Expected OCTETSTRING " in pkcs8_enc_key_import()
Dtlsv1_client_read.c40 wpa_printf(MSG_DEBUG, "TLSv1: Expected Handshake; " in tls_process_server_hello()
56 "message %d (expected ServerHello)", *pos); in tls_process_server_hello()
225 wpa_printf(MSG_DEBUG, "TLSv1: Expected Handshake; " in tls_process_certificate()
266 "message %d (expected Certificate/" in tls_process_certificate()
543 wpa_printf(MSG_DEBUG, "TLSv1: Expected Handshake; " in tls_process_server_key_exchange()
583 "message %d (expected ServerKeyExchange/" in tls_process_server_key_exchange()
632 wpa_printf(MSG_DEBUG, "TLSv1: Expected Handshake; " in tls_process_certificate_request()
669 "message %d (expected CertificateRequest/" in tls_process_certificate_request()
695 wpa_printf(MSG_DEBUG, "TLSv1: Expected Handshake; " in tls_process_server_hello_done()
728 "message %d (expected ServerHelloDone)", type); in tls_process_server_hello_done()
[all …]
Dx509v3.c198 wpa_printf(MSG_DEBUG, "X509: Expected SEQUENCE " in x509_parse_algorithm_identifier()
240 wpa_printf(MSG_DEBUG, "X509: Expected SEQUENCE " in x509_parse_public_key()
259 wpa_printf(MSG_DEBUG, "X509: Expected BITSTRING " in x509_parse_public_key()
316 wpa_printf(MSG_DEBUG, "X509: Expected SEQUENCE " in x509_parse_name()
334 wpa_printf(MSG_DEBUG, "X509: Expected SET " in x509_parse_name()
347 wpa_printf(MSG_DEBUG, "X509: Expected SEQUENCE " in x509_parse_name()
603 wpa_printf(MSG_DEBUG, "X509: Expected SEQUENCE " in x509_parse_validity()
677 wpa_printf(MSG_DEBUG, "X509: Expected BIT STRING in " in x509_parse_ext_key_usage()
708 wpa_printf(MSG_DEBUG, "X509: Expected SEQUENCE in " in x509_parse_ext_basic_constraints()
751 wpa_printf(MSG_DEBUG, "X509: Expected INTEGER in " in x509_parse_ext_basic_constraints()
[all …]
/hal_espressif-2.7.6/
D.flake838 E112, # expected an indented block
41 E115, # expected an indented block (comment)
79 E301, # expected 1 blank line, found 0
80 E302, # expected 2 blank lines, found 0
83 E305, # expected 2 blank lines after end of function or class
84 E306, # expected 1 blank line before a nested definition
/hal_espressif-2.7.6/examples/system/ota/otatool/
Dotatool_example.py41 def assert_running_partition(expected, port=None): argument
43 if running != expected:
44 raise Exception('Running partition %s does not match expected %s' % (running, expected))
/hal_espressif-2.7.6/examples/protocols/modbus/tcp/
Dexample_test.py62 self.expected = expect
92 # Check expected strings in the listing
176 self.dut.expect_any((re.compile(self.expected[STACK_IPV4]), handle_get_ip4),
177 (re.compile(self.expected[STACK_IPV6]), handle_get_ip6),
178 (re.compile(self.expected[STACK_INIT]), handle_init),
179 (re.compile(self.expected[STACK_CONNECT]), handle_connect),
180 (re.compile(self.expected[STACK_START]), handle_test_start),
181 (re.compile(self.expected[STACK_PAR_OK]), handle_par_ok),
182 (re.compile(self.expected[STACK_PAR_FAIL]), handle_par_fail),
183 (re.compile(self.expected[STACK_DESTROY]), handle_destroy),
/hal_espressif-2.7.6/tools/test_apps/build_system/ldgen_test/
Dcheck_placements.py36 def check_location(symbol, expected): argument
46 if results.actual != expected:
47 …("check placement fail: '%s' was placed in '%s', not in '%s'" % (symbol, results.actual, expected))
/hal_espressif-2.7.6/examples/storage/semihost_vfs/
Dsemihost_vfs_example_test.py51 for actual, expected in zip_longest(f, expected_content(), fillvalue='-'):
52 if expected not in actual: # "in" used because of the printed ASCII color codes
53 raise RuntimeError('"{}" != "{}"'.format(expected, actual.strip()))
/hal_espressif-2.7.6/tools/windows/tool_setup/system_check/
Dsystem_check_virtualenv.py8 print('Failure. Expected executable does not match current executable.')
9 print('Expected:', expected_executable)
/hal_espressif-2.7.6/components/driver/test/include/test/
Dtest_common_spi.h259 #define spitest_cmp_or_dump(expected, actual, len) ({\ argument
260 int r = memcmp(expected, actual, len);\
262 ESP_LOG_BUFFER_HEXDUMP("expected", expected, len, ESP_LOG_INFO);\
264 TEST_ASSERT_EQUAL_HEX8_ARRAY(expected, actual, len);\
/hal_espressif-2.7.6/tools/ci/python_packages/idf_http_server_test/
Dclient.py31 def test_val(text, expected, received): argument
32 if expected != received:
35 Utility.console_log(' expected: ' + str(expected))
129 # Using same session for sending an HTTP request to /echo, as it is expected
154 # This is not expected
/hal_espressif-2.7.6/examples/cxx/experimental/experimental_cpp_component/test/
Dunity_cxx.hpp26 … TEST_ASSERT_FALSE_MESSAGE(caught_different, "ERROR: Expected " CXX_UNITY_TYPE_TO_STR(exception_) \
28 TEST_ASSERT_TRUE_MESSAGE(caught, "ERROR: Expected " CXX_UNITY_TYPE_TO_STR(exception_) \
/hal_espressif-2.7.6/components/soc/esp32s3/include/soc/
Dsdmmc_struct.h49 uint32_t response_expect: 1; ///< set if response is expected
50 uint32_t response_long: 1; ///< 0: short response expected, 1: long response expected
52 uint32_t data_expected: 1; ///< 0: no data expected, 1: data expected
53 …_t rw: 1; ///< 0: read from card, 1: write to card (don't care if no data expected)
54 … stream_mode: 1; ///< 0: block transfer, 1: stream transfer (don't care if no data expected)
62 uint32_t ccs_expected: 1; ///< set if CCS is expected from CE-ATA device
/hal_espressif-2.7.6/components/soc/esp32/include/soc/
Dsdmmc_struct.h52 uint32_t response_expect: 1; ///< set if response is expected
53 uint32_t response_long: 1; ///< 0: short response expected, 1: long response expected
55 uint32_t data_expected: 1; ///< 0: no data expected, 1: data expected
56 …_t rw: 1; ///< 0: read from card, 1: write to card (don't care if no data expected)
57 … stream_mode: 1; ///< 0: block transfer, 1: stream transfer (don't care if no data expected)
65 uint32_t ccs_expected: 1; ///< set if CCS is expected from CE-ATA device
/hal_espressif-2.7.6/components/soc/esp32s2/include/soc/
Dsdmmc_struct.h50 uint32_t response_expect: 1; ///< set if response is expected
51 uint32_t response_long: 1; ///< 0: short response expected, 1: long response expected
53 uint32_t data_expected: 1; ///< 0: no data expected, 1: data expected
54 …_t rw: 1; ///< 0: read from card, 1: write to card (don't care if no data expected)
55 … stream_mode: 1; ///< 0: block transfer, 1: stream transfer (don't care if no data expected)
63 uint32_t ccs_expected: 1; ///< set if CCS is expected from CE-ATA device

12345678910>>...12