Home
last modified time | relevance | path

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

12

/lib/zlib/
A Duncompr.c34 z_stream stream; local
51 stream.avail_in = 0;
53 stream.zfree = (free_func)0;
54 stream.opaque = (voidpf)0;
56 err = inflateInit(&stream);
60 stream.next_out = dest;
61 stream.avail_out = 0;
66 left -= stream.avail_out;
69 if (stream.avail_in == 0) {
71 len -= stream.avail_in;
[all …]
/lib/mbedtls/external/mbedtls/tests/scripts/
A Dtest_generate_test_code.py406 stream)
600 stream, [], [])
965 self.assertEqual(stream.line_no, 1)
988 self.assertEqual(stream.line_no, 1)
1009 self.assertEqual(stream.line_no, 1)
1032 self.assertEqual(stream.line_no, 1)
1059 parse_functions(stream)
1062 self.assertEqual(stream.line_no, 5)
1102 parse_functions(stream)
1585 self.assertEqual(stream.getvalue(),
[all …]
A Dgenerate_psa_wrappers.py191 def __init__(self, stream: str) -> None:
193 self.set_stream(stream)
A Dgenerate_test_code.py572 def skip_comments(line, stream): argument
594 continuation = next(stream)
602 line += next(stream)
/lib/mbedtls/external/mbedtls/library/
A Dpsa_its_file.c111 FILE *stream = NULL; in psa_its_get_info() local
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
169 if (stream != NULL) { in psa_its_get()
170 fclose(stream); in psa_its_get()
186 FILE *stream = NULL; in psa_its_set() local
197 if (stream == NULL) { in psa_its_set()
218 if (stream != NULL) { in psa_its_set()
241 FILE *stream; in psa_its_remove() local
[all …]
A 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
/lib/lwip/lwip/src/apps/snmp/
A Dsnmpv3_mbedtls.c52 snmpv3_auth(struct snmp_pbuf_stream *stream, u16_t length, in snmpv3_auth() argument
60 snmp_pbuf_stream_init(&read_stream, stream->pbuf, stream->offset, stream->length); in snmpv3_auth()
108 snmpv3_crypt(struct snmp_pbuf_stream *stream, u16_t length, in snmpv3_crypt() argument
118 snmp_pbuf_stream_init(&read_stream, stream->pbuf, stream->offset, stream->length); in snmpv3_crypt()
119 snmp_pbuf_stream_init(&write_stream, stream->pbuf, stream->offset, stream->length); in snmpv3_crypt()
A Dsnmpv3_priv.h61 err_t snmpv3_auth(struct snmp_pbuf_stream *stream, u16_t length, const u8_t *key, snmpv3_auth_algo_…
62 err_t snmpv3_crypt(struct snmp_pbuf_stream *stream, u16_t length, const u8_t *key,
/lib/lzma/
A DTypes.h125 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size);
126 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType);
127 SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf);
163 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size);
164 SRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset);
167 SRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType);
168 SRes LookInStream_Read(ILookInStream *stream, void *buf, size_t size);
A Dhistory.txt52 If encoded stream was corrupted, decoder could access memory
118 If encoded stream was corrupted, decoder could access memory
201 If _LZMA_OUT_READ was defined, and if encoded stream was corrupted,
214 LZMA-Encoder didn't release output stream in some cases.
A Dlzma.txt375 current output buffer covers last bytes of stream.
410 - Buffer for input stream: any size (for example, 16 KB)
411 - Buffer for output stream: any size (for example, 16 KB)
427 3) Init LzmaDec structure before any new LZMA stream. And call LzmaDec_DecodeToBuf in loop
538 but you provide pointers to buffers instead of pointers to stream callbacks:
/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_psa_its.function251 FILE *stream = NULL;
257 stream = fopen(filename, "rb+");
258 TEST_ASSERT(NULL != stream);
267 stream = freopen(filename, "wb", stream);
268 TEST_ASSERT(NULL != stream);
270 fclose(stream);
271 stream = NULL;
279 stream = fopen(filename, "rb");
280 TEST_ASSERT(NULL == stream);
283 if (stream != NULL) {
[all …]
A Dtest_suite_bignum_random.function165 * stream. */
219 /* Call the core and mod random() functions with the same random stream. */
A Dtest_suite_mps.function840 * stream of outgoing/incoming data for the lower/upper layers, even if
A Dtest_suite_ssl.function3228 /* Can't use CID functions with stream transport. */
/lib/mbedtls/external/mbedtls/include/mbedtls/
A 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));
/lib/mbedtls/external/mbedtls/scripts/mbedtls_dev/
A Dc_wrapper_generator.py362 self.stream = 'stdout'
364 def set_stream(self, stream: str) -> None:
369 self.stream = stream
462 .format(stream=self.stream,
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/SharpSnmpLib/Mib/
A DLexer.cs30 public Lexer(string file, TextReader stream) in Lexer() argument
32 this.Parse(file, stream); in Lexer()
60 private void Parse(string file, TextReader stream) in Parse() argument
62 if (stream == null) in Parse()
72 while ((line = stream.ReadLine()) != null) in Parse()
/lib/lwip/lwip/contrib/apps/chargen/
A DREADME22 ASCII pattern start to stream on you screen.
48 data stream.
/lib/zstd/decompress/
A Dhuf_decompress.c244 …mainingDStream(BIT_DStream_t* bit, HUF_DecompressAsmArgs const* args, int stream, BYTE* segmentEnd) in HUF_initRemainingDStream() argument
247 if (args->op[stream] > segmentEnd) in HUF_initRemainingDStream()
254 if (args->ip[stream] < args->iend[stream] - 8) in HUF_initRemainingDStream()
258 bit->bitContainer = MEM_readLE64(args->ip[stream]); in HUF_initRemainingDStream()
259 bit->bitsConsumed = ZSTD_countTrailingZeros((size_t)args->bits[stream]); in HUF_initRemainingDStream()
262 bit->ptr = (const char*)args->ip[stream]; in HUF_initRemainingDStream()
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/Mibs/IANA/
A DIANA-PRINTER-MIB557 -- the data stream between data intended
566 -- Bi-directional print data stream for
616 -- Bi-directional print data stream for
631 -- stream for non-SNA (DSC) and SNA LU-3
635 -- based command/data stream used by
666 -- the data stream between data
746 -- A simple-text character stream which
A DIANATn3270eTC-MIB154 stream at the 'appropriate place'.
178 of the standard 3270 data stream. This
/lib/mbedtls/external/mbedtls/docs/
A Ddriver-only-builds.md396 - In the legacy API, `MBEDTLS_CHACHA20_C` enables the ChaCha20 stream cipher, and
/lib/mbedtls/external/mbedtls/docs/proposed/
A 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…
/lib/mbedtls/external/mbedtls/docs/architecture/
A Dpsa-shared-memory.md178 Key derivation typically emits its output as a stream, with no error condition detected after setup…

Completed in 77 milliseconds

12