Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 24 of 24) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dtest_generate_test_code.py334 stream = StringIOWrapper('test_suite_ut.function', data, line_no=0)
335 headers = parse_until_pattern(stream, END_HEADER_REGEX)
355 stream = StringIOWrapper('test_suite_ut.function', data,
357 headers = parse_until_pattern(stream, END_HEADER_REGEX)
371 stream = StringIOWrapper('test_suite_ut.function', data)
372 self.assertRaises(GeneratorInputError, parse_until_pattern, stream,
392 stream = StringIOWrapper('test_suite_ut.function', data)
393 dependencies = parse_suite_dependencies(stream)
404 stream = StringIOWrapper('test_suite_ut.function', data)
406 stream)
[all …]
Dgenerate_psa_wrappers.py191 def __init__(self, stream: str) -> None:
193 self.set_stream(stream)
Dgenerate_test_code.py572 def skip_comments(line, stream): argument
594 continuation = next(stream)
602 line += next(stream)
/openthread-latest/third_party/mbedtls/repo/library/
Dpsa_its_file.c111 FILE *stream = NULL; in psa_its_get_info() local
112 status = psa_its_read_file(uid, p_info, &stream); in psa_its_get_info()
113 if (stream != NULL) { in psa_its_get_info()
114 fclose(stream); in psa_its_get_info()
126 FILE *stream = NULL; in psa_its_get() local
130 status = psa_its_read_file(uid, &info, &stream); in psa_its_get()
150 if (fseek(stream, LONG_MAX, SEEK_CUR) != 0) { in psa_its_get()
156 if (fseek(stream, data_offset, SEEK_CUR) != 0) { in psa_its_get()
159 n = fread(p_data, 1, data_length, stream); in psa_its_get()
169 if (stream != NULL) { in psa_its_get()
[all …]
Dplatform.c197 static int platform_fprintf_uninit(FILE *stream, const char *format, ...) in platform_fprintf_uninit() argument
199 ((void) stream); in platform_fprintf_uninit()
222 static void platform_setbuf_uninit(FILE *stream, char *buf) in platform_setbuf_uninit() argument
224 ((void) stream); in platform_setbuf_uninit()
230 void (*mbedtls_setbuf)(FILE *stream, char *buf) = MBEDTLS_PLATFORM_STD_SETBUF;
232 int mbedtls_platform_set_setbuf(void (*setbuf_func)(FILE *stream, char *buf)) in mbedtls_platform_set_setbuf() argument
/openthread-latest/tools/tcat_ble_client/ble/
Dble_stream_secure.py47 def __init__(self, stream): argument
48 self.stream = stream
88 output = await self.stream.recv(4096)
93 await self.stream.send(data)
101 await self.stream.send(data)
102 output = await self.stream.recv(4096)
119 await self.stream.send(encode)
123 data = await self.stream.recv(buffersize)
126 data = await self.stream.recv(buffersize)
138 more = await self.stream.recv(buffersize)
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_its.function251 FILE *stream = NULL;
257 stream = fopen(filename, "rb+");
258 TEST_ASSERT(NULL != stream);
261 TEST_ASSERT(fseek(stream, 0, SEEK_SET) == 0);
262 n = fwrite(&bad_char, 1, 1, stream);
267 stream = freopen(filename, "wb", stream);
268 TEST_ASSERT(NULL != stream);
270 fclose(stream);
271 stream = NULL;
279 stream = fopen(filename, "rb");
[all …]
Dtest_suite_bignum_random.function165 * stream. */
219 /* Call the core and mod random() functions with the same random stream. */
Dtest_suite_mps.function840 * stream of outgoing/incoming data for the lower/upper layers, even if
Dtest_suite_ssl.function3228 /* Can't use CID functions with stream transport. */
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dplatform.h176 extern int (*mbedtls_fprintf)(FILE *stream, const char *format, ...);
187 int mbedtls_platform_set_fprintf(int (*fprintf_func)(FILE *stream, const char *,
317 extern void (*mbedtls_setbuf)(FILE *stream, char *buf);
329 FILE *stream, char *buf));
/openthread-latest/tests/scripts/misc/
Dtest_rcp_reset.py34 from spinel.stream import StreamOpen
43 stream = StreamOpen('p', f'{args.rcp} 1', False, 115200, False)
44 wpan_api = WpanApi(stream, 1)
/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dc_wrapper_generator.py362 self.stream = 'stdout'
364 def set_stream(self, stream: str) -> None:
369 self.stream = stream
462 .format(stream=self.stream,
/openthread-latest/src/core/diags/
DREADME.md14 - [diag stream](#diag-stream-start)
100 ### diag stream start
102 Start transmitting a stream of characters.
105 > diag stream start
109 ### diag stream stop
111 Stop transmitting a stream of characters.
114 > diag stream stop
/openthread-latest/tools/harness-simulation/posix/sniffer_sim/proto/
Dsniffer.proto11 rpc TransferPcapng(TransferPcapngRequest) returns (stream TransferPcapngResponse) {}
/openthread-latest/tools/cp-caps/
DREADME.md116 diag stream start ---------------------------------------- OK
117 diag stream stop ----------------------------------------- OK
/openthread-latest/tools/spi-hdlc-adapter/
DREADME.md3 …ace as if it were an HDLC-lite encoded bidirectional asynchronous serial stream. It uses the SPI p…
/openthread-latest/src/cli/
DREADME_TCP.md219 Sends the "end of stream" signal (i.e., FIN segment) over the TCP connection associated with the ex…
/openthread-latest/
DSTYLE_GUIDE.md66 …f there is a free function or object method that opens a file or network stream, then there should…
/openthread-latest/third_party/mbedtls/repo/docs/
Ddriver-only-builds.md396 - In the legacy API, `MBEDTLS_CHACHA20_C` enables the ChaCha20 stream cipher, and
Dpsa-transition.md267 …s.h`), a particular block cipher mode (`ccm.h`, `gcm.h`) or a particular stream cipher (`chacha20.…
/openthread-latest/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md443 …ey types where the derived key material is not a direct copy of the key derivation's output stream.
529 * `input` is a buffer of `input_length` bytes which contains the raw key stream, i.e. the data that…
538 …key"` entry point again with the same `memory` object and with subsequent data from the key stream.
541 …ERROR_INSUFFICIENT_DATA`. Each call has a successive fragment of the key stream. The `memory` obje…
1424 … the key is derived, which practically dictates how the pseudorandom key stream is consumed. So it…
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dpsa-shared-memory.md178 Key derivation typically emits its output as a stream, with no error condition detected after setup…
/openthread-latest/third_party/mbedtls/repo/
DChangeLog506 * Fix crypt_and_hash decryption fail when used with a stream cipher
2036 The underlying stream cipher is determined by the key type
3269 * Add new crypto primitives from RFC 7539: stream cipher Chacha20, one-time