Home
last modified time | relevance | path

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

12345678910>>...15

/hal_espressif-3.4.0/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()))
125 e_cmds = expected[target]
143 expected = self.generate_default_rules()
145 self.compare_rules(expected, actual)
254 expected = self.generate_default_rules()
256 flash_text = expected['flash_text']
[all …]
Dtest_fragments.py643 expected = {('obj', 'symbol', 'noflash'),
650 self.assertEqual(expected, fragment_file.fragments[0].entries)
697 expected = set()
700 self.assertEqual(expected, fragment_file.fragments[0].entries)
722 expected = {('obj', 'symbol', 'noflash')}
725 self.assertEqual(expected, fragment_file.fragments[0].entries)
830 expected = [('text', 'flash_text', [Mapping.Keep()]),
834 self.assertEqual(expected, actual)
853 expected = [('text', 'flash_text', [Mapping.Align(8, True, False)]),
860 self.assertEqual(expected, actual)
[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-3.4.0/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);
Dtest_suspend_scheduler.c179 int expected = (p == UNITY_FREERTOS_CPU) ? 0 : 1; // Has run if it was on the other CPU variable
180 …esp_rom_printf("Checking CPU %d task %d (expected %d actual %d)\n", p, t, expected, counters[p][t]…
181 TEST_ASSERT_EQUAL(expected, counters[p][t].counter);
191 … esp_rom_printf("Checking CPU %d task %d (expected 1 actual %d)\n", p, t, counters[p][t].counter);
/hal_espressif-3.4.0/components/libsodium/test/
Dtest_sodium.c71 const uint8_t expected[] = { 0xba, 0x78, 0x16, 0xbf, 0x8f, 0x01, 0xcf, 0xea, 0x41, variable
83 TEST_ASSERT_EQUAL(sizeof(calculated), sizeof(expected));
85 TEST_ASSERT_EQUAL_MEMORY(expected, calculated, crypto_hash_sha256_bytes());
92 TEST_ASSERT_EQUAL_MEMORY(expected, calculated, crypto_hash_sha256_bytes());
97 const uint8_t expected[] = { 0xdd, 0xaf, 0x35, 0xa1, 0x93, 0x61, 0x7a, 0xba, 0xcc, variable
114 TEST_ASSERT_EQUAL(sizeof(calculated), sizeof(expected));
116 TEST_ASSERT_EQUAL_MEMORY(expected, calculated, crypto_hash_sha512_bytes());
123 TEST_ASSERT_EQUAL_MEMORY(expected, calculated, crypto_hash_sha512_bytes());
/hal_espressif-3.4.0/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-3.4.0/docs/
Dsphinx-known-warnings.txt43 Invalid definition: Expected identifier in nested name, got keyword: void [error at 4]
49 Invalid definition: Expected identifier in nested name. [error at 4]
53 Invalid definition: Expected identifier in nested name. [error at 4]
59 Invalid definition: Expected identifier in nested name. [error at 5]
63 Invalid definition: Expected identifier in nested name. [error at 5]
67 Invalid definition: Expected identifier in nested name, got keyword: void [error at 4]
/hal_espressif-3.4.0/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 …]
Dtlsv1_server_read.c42 wpa_printf(MSG_DEBUG, "TLSv1: Expected Handshake; " in tls_process_client_hello()
58 "message %d (expected ClientHello)", *pos); in tls_process_client_hello()
206 "extension list length %u (expected %u)", in tls_process_client_hello()
288 wpa_printf(MSG_DEBUG, "TLSv1: Expected Handshake; " in tls_process_certificate()
334 "message %d (expected Certificate/" in tls_process_certificate()
699 wpa_printf(MSG_DEBUG, "TLSv1: Expected Handshake; " in tls_process_client_key_exchange()
735 "message %d (expected ClientKeyExchange)", type); in tls_process_client_key_exchange()
792 wpa_printf(MSG_DEBUG, "TLSv1: Expected Handshake; " in tls_process_certificate_verify()
828 "message %d (expected CertificateVerify)", type); in tls_process_certificate_verify()
1021 wpa_printf(MSG_DEBUG, "TLSv1: Expected ChangeCipherSpec; " in tls_process_change_cipher_spec()
[all …]
/hal_espressif-3.4.0/components/newlib/test/
Dtest_setjmp.c23 const uint32_t expected = 0x12345678; variable
25 .retval = expected
32 TEST_ASSERT_EQUAL(expected, ret);
/hal_espressif-3.4.0/
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-3.4.0/examples/protocols/modbus/tcp/
Dexample_test.py65 self.expected = expect
95 # Check expected strings in the listing
181 self.dut.expect_any((re.compile(self.expected[STACK_IPV4]), handle_get_ip4),
182 (re.compile(self.expected[STACK_IPV6]), handle_get_ip6),
183 (re.compile(self.expected[STACK_INIT]), handle_init),
184 (re.compile(self.expected[STACK_CONNECT]), handle_connect),
185 (re.compile(self.expected[STACK_START]), handle_test_start),
186 (re.compile(self.expected[STACK_PAR_OK]), handle_par_ok),
187 (re.compile(self.expected[STACK_PAR_FAIL]), handle_par_fail),
188 (re.compile(self.expected[STACK_DESTROY]), handle_destroy),
/hal_espressif-3.4.0/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-3.4.0/components/driver/test/include/test/
Dtest_common_spi.h265 #define spitest_cmp_or_dump(expected, actual, len) ({\ argument
266 int r = memcmp(expected, actual, len);\
268 ESP_LOG_BUFFER_HEXDUMP("expected", expected, len, ESP_LOG_INFO);\
270 TEST_ASSERT_EQUAL_HEX8_ARRAY(expected, actual, len);\
/hal_espressif-3.4.0/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-3.4.0/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-3.4.0/tools/test_apps/build_system/ldgen_test/
Dcheck_placements.py36 def check_location(symbol, expected): argument
50 if results.actual != expected:
51 …("check placement fail: '%s' was placed in '%s', not in '%s'" % (symbol, results.actual, expected))
/hal_espressif-3.4.0/components/soc/esp32s3/include/soc/
Dsdmmc_struct.h54 uint32_t response_expect: 1; ///< set if response is expected
55 uint32_t response_long: 1; ///< 0: short response expected, 1: long response expected
57 uint32_t data_expected: 1; ///< 0: no data expected, 1: data expected
58 …_t rw: 1; ///< 0: read from card, 1: write to card (don't care if no data expected)
59 … stream_mode: 1; ///< 0: block transfer, 1: stream transfer (don't care if no data expected)
67 uint32_t ccs_expected: 1; ///< set if CCS is expected from CE-ATA device
/hal_espressif-3.4.0/components/soc/esp32/include/soc/
Dsdmmc_struct.h56 uint32_t response_expect: 1; ///< set if response is expected
57 uint32_t response_long: 1; ///< 0: short response expected, 1: long response expected
59 uint32_t data_expected: 1; ///< 0: no data expected, 1: data expected
60 …_t rw: 1; ///< 0: read from card, 1: write to card (don't care if no data expected)
61 … stream_mode: 1; ///< 0: block transfer, 1: stream transfer (don't care if no data expected)
69 uint32_t ccs_expected: 1; ///< set if CCS is expected from CE-ATA device
/hal_espressif-3.4.0/examples/protocols/modbus/serial/
Dexample_test.py33 # The dictionary for expected values in listing
52 # The dictionary for expected values in listing
72 self.expected = expect
86 # Check expected strings in the listing
87 for string in self.expected:
150 …logger.debug('The result is correct for the key:%s, expected:%s == returned:%s' % (key, str(expect…
/hal_espressif-3.4.0/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_) \

12345678910>>...15