| /minix3/external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
| H A D | lexer.ml | 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 10 | [< ' ('A' .. 'Z' | 'a' .. 'z' as c); stream >] -> 13 lex_ident buffer stream 16 | [< ' ('0' .. '9' as c); stream >] -> 19 lex_number buffer stream 22 | [< ' ('#'); stream >] -> 23 lex_comment stream 26 | [< 'c; stream >] -> 27 [< 'Token.Kwd c; lex stream >] 29 (* end of stream. *) [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
| H A D | lexer.ml | 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 10 | [< ' ('A' .. 'Z' | 'a' .. 'z' as c); stream >] -> 13 lex_ident buffer stream 16 | [< ' ('0' .. '9' as c); stream >] -> 19 lex_number buffer stream 22 | [< ' ('#'); stream >] -> 23 lex_comment stream 26 | [< 'c; stream >] -> 27 [< 'Token.Kwd c; lex stream >] 29 (* end of stream. *) [all …]
|
| H A D | toplevel.ml | 9 let rec main_loop the_fpm the_execution_engine stream = 10 match Stream.peek stream with 15 Stream.junk stream; 16 main_loop the_fpm the_execution_engine stream 22 let e = Parser.parse_definition stream in 26 let e = Parser.parse_extern stream in 31 let e = Parser.parse_toplevel stream in 45 Stream.junk stream; 49 main_loop the_fpm the_execution_engine stream
|
| /minix3/external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
| H A D | lexer.ml | 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 10 | [< ' ('A' .. 'Z' | 'a' .. 'z' as c); stream >] -> 13 lex_ident buffer stream 16 | [< ' ('0' .. '9' as c); stream >] -> 19 lex_number buffer stream 22 | [< ' ('#'); stream >] -> 23 lex_comment stream 26 | [< 'c; stream >] -> 27 [< 'Token.Kwd c; lex stream >] 29 (* end of stream. *) [all …]
|
| /minix3/crypto/external/bsd/netpgp/dist/src/lib/ |
| H A D | packet-parse.c | 114 pgp_region_t *subregion, pgp_stream_t *stream) in limread_data() argument 128 return pgp_limited_read(stream, data->contents, data->len, subregion, in limread_data() 129 &stream->errors, &stream->readinfo, &stream->cbinfo); in limread_data() 143 read_data(pgp_data_t *data, pgp_region_t *region, pgp_stream_t *stream) in read_data() argument 148 return (cc >= 0) ? limread_data(data, (unsigned)cc, region, stream) : 0; in read_data() 158 pgp_stream_t *stream) in read_unsig_str() argument 167 !pgp_limited_read(stream, *str, len, subregion, &stream->errors, in read_unsig_str() 168 &stream->readinfo, &stream->cbinfo)) { in read_unsig_str() 176 read_string(char **str, pgp_region_t *subregion, pgp_stream_t *stream) in read_string() argument 178 return read_unsig_str((uint8_t **) str, subregion, stream); in read_string() [all …]
|
| H A D | reader.c | 139 read_partial_data(pgp_stream_t *stream, void *dest, size_t length) in read_partial_data() argument 145 stream->virtualoff); in read_partial_data() 147 n = MIN(stream->virtualc - stream->virtualoff, (unsigned)length); in read_partial_data() 148 (void) memcpy(dest, &stream->virtualpkt[stream->virtualoff], n); in read_partial_data() 149 stream->virtualoff += n; in read_partial_data() 150 if (stream->virtualoff == stream->virtualc) { in read_partial_data() 151 free(stream->virtualpkt); in read_partial_data() 152 stream->virtualpkt = NULL; in read_partial_data() 153 stream->virtualc = stream->virtualoff = 0; in read_partial_data() 186 pgp_reader_set(pgp_stream_t *stream, in pgp_reader_set() argument [all …]
|
| H A D | compress.c | 105 z_stream stream; member 115 zlib_compressed_data_reader(pgp_stream_t *stream, void *dest, size_t length, in zlib_compressed_data_reader() argument 159 if (!pgp_stacked_limited_read(stream, z->in, n, in zlib_compressed_data_reader() 204 bzip2_compressed_data_reader(pgp_stream_t *stream, void *dest, size_t length, in bzip2_compressed_data_reader() argument 239 if (!pgp_stacked_limited_read(stream, in bzip2_compressed_data_reader() 290 pgp_decompress(pgp_region_t *region, pgp_stream_t *stream, in pgp_decompress() argument 337 PGP_ERROR_1(&stream->errors, in pgp_decompress() 361 PGP_ERROR_1(&stream->errors, in pgp_decompress() 371 PGP_ERROR_1(&stream->errors, in pgp_decompress() 376 pgp_reader_push(stream, zlib_compressed_data_reader, in pgp_decompress() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
| H A D | lexer.ml | 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 10 | [< ' ('A' .. 'Z' | 'a' .. 'z' as c); stream >] -> 13 lex_ident buffer stream 16 | [< ' ('0' .. '9' as c); stream >] -> 19 lex_number buffer stream 22 | [< ' ('#'); stream >] -> 23 lex_comment stream 26 | [< 'c; stream >] -> 27 [< 'Token.Kwd c; lex stream >] 29 (* end of stream. *) [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
| H A D | lexer.ml | 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 10 | [< ' ('A' .. 'Z' | 'a' .. 'z' as c); stream >] -> 13 lex_ident buffer stream 16 | [< ' ('0' .. '9' as c); stream >] -> 19 lex_number buffer stream 22 | [< ' ('#'); stream >] -> 23 lex_comment stream 26 | [< 'c; stream >] -> 27 [< 'Token.Kwd c; lex stream >] 29 (* end of stream. *) [all …]
|
| H A D | toplevel.ml | 6 let rec main_loop stream = 7 match Stream.peek stream with 12 Stream.junk stream; 13 main_loop stream 19 ignore(Parser.parse_definition stream); 22 ignore(Parser.parse_extern stream); 26 ignore(Parser.parse_toplevel stream); 30 Stream.junk stream; 34 main_loop stream
|
| /minix3/external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
| H A D | lexer.ml | 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 10 | [< ' ('A' .. 'Z' | 'a' .. 'z' as c); stream >] -> 13 lex_ident buffer stream 16 | [< ' ('0' .. '9' as c); stream >] -> 19 lex_number buffer stream 22 | [< ' ('#'); stream >] -> 23 lex_comment stream 26 | [< 'c; stream >] -> 27 [< 'Token.Kwd c; lex stream >] 29 (* end of stream. *) [all …]
|
| H A D | toplevel.ml | 8 let rec main_loop stream = 9 match Stream.peek stream with 14 Stream.junk stream; 15 main_loop stream 21 let e = Parser.parse_definition stream in 25 let e = Parser.parse_extern stream in 30 let e = Parser.parse_toplevel stream in 35 Stream.junk stream; 39 main_loop stream
|
| /minix3/common/dist/zlib/contrib/minizip/ |
| H A D | iowin32.c | 33 voidpf stream, 39 voidpf stream, 45 voidpf stream)); 49 voidpf stream, 55 voidpf stream)); 59 voidpf stream)); 119 uLong ZCALLBACK win32_read_file_func (opaque, stream, buf, size) in win32_read_file_func() argument 121 voidpf stream; 127 if (stream!=NULL) 128 hFile = ((WIN32FILE_IOWIN*)stream) -> hf; [all …]
|
| H A D | ioapi.c | 41 voidpf stream, 47 voidpf stream, 53 voidpf stream)); 57 voidpf stream, 63 voidpf stream)); 67 voidpf stream)); 92 uLong ZCALLBACK fread_file_func (opaque, stream, buf, size) in fread_file_func() argument 94 voidpf stream; 99 ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream); 104 uLong ZCALLBACK fwrite_file_func (opaque, stream, buf, size) in fwrite_file_func() argument [all …]
|
| /minix3/common/dist/zlib/ |
| H A D | uncompr.c | 34 z_stream stream; local 37 stream.next_in = (Bytef*)__UNCONST(source); 38 stream.avail_in = (uInt)sourceLen; 40 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 42 stream.next_out = dest; 43 stream.avail_out = (uInt)*destLen; 44 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 46 stream.zalloc = (alloc_func)0; 47 stream.zfree = (free_func)0; 49 err = inflateInit(&stream); [all …]
|
| H A D | compress.c | 31 z_stream stream; local 34 stream.next_in = __UNCONST(source); 35 stream.avail_in = (uInt)sourceLen; 38 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 40 stream.next_out = dest; 41 stream.avail_out = (uInt)*destLen; 42 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 44 stream.zalloc = (alloc_func)0; 45 stream.zfree = (free_func)0; 46 stream.opaque = (voidpf)0; [all …]
|
| H A D | gzio.c | 59 z_stream stream; member 117 s->stream.zalloc = (alloc_func)0; 118 s->stream.zfree = (free_func)0; 119 s->stream.opaque = (voidpf)0; 120 s->stream.next_in = s->inbuf = Z_NULL; 121 s->stream.next_out = s->outbuf = Z_NULL; 122 s->stream.avail_in = s->stream.avail_out = 0; 163 err = deflateInit2(&(s->stream), level, 167 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE); 173 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE); [all …]
|
| /minix3/sys/lib/libsa/ |
| H A D | cread.c | 71 z_stream stream; member 150 if (s->stream.avail_in == 0) { in get_byte() 161 s->stream.avail_in = got; in get_byte() 162 s->stream.next_in = s->inbuf; in get_byte() 164 s->stream.avail_in--; in get_byte() 165 return *(s->stream.next_in)++; in get_byte() 209 s->stream.avail_in++; in check_header() 210 s->stream.next_in--; in check_header() 212 s->z_err = s->stream.avail_in != 0 ? Z_OK : Z_STREAM_END; in check_header() 271 if (inflateInit2(&(s->stream), -15) != Z_OK) in open() [all …]
|
| /minix3/external/bsd/libarchive/dist/libarchive/ |
| H A D | archive_read_support_compression_xz.c | 58 lzma_stream stream; member 73 lzmadec_stream stream; member 359 state->stream.avail_in = 0; in xz_lzma_bidder_init() 361 state->stream.next_out = state->out_block; in xz_lzma_bidder_init() 362 state->stream.avail_out = state->out_block_size; in xz_lzma_bidder_init() 370 ret = lzma_stream_decoder(&(state->stream), in xz_lzma_bidder_init() 374 ret = lzma_alone_decoder(&(state->stream), in xz_lzma_bidder_init() 419 state->stream.next_out = state->out_block; in xz_filter_read() 420 state->stream.avail_out = state->out_block_size; in xz_filter_read() 423 while (state->stream.avail_out > 0 && !state->eof) { in xz_filter_read() [all …]
|
| H A D | archive_write_set_compression_gzip.c | 60 z_stream stream; member 77 (st)->stream.next_in = (Bytef *)(uintptr_t)(const void *)(src) 171 state->stream.next_out = state->compressed; in archive_compressor_gzip_init() 172 state->stream.avail_out = state->compressed_buffer_size; in archive_compressor_gzip_init() 186 state->stream.next_out += 10; in archive_compressor_gzip_init() 187 state->stream.avail_out -= 10; in archive_compressor_gzip_init() 192 ret = deflateInit2(&(state->stream), in archive_compressor_gzip_init() 276 state->stream.avail_in = length; in archive_compressor_gzip_write() 314 state->stream.avail_in = tocopy < a->null_length ? in archive_compressor_gzip_finish() 317 state->stream.avail_in); in archive_compressor_gzip_finish() [all …]
|
| H A D | archive_write_set_compression_xz.c | 69 lzma_stream stream; member 137 state->stream = (lzma_stream)LZMA_STREAM_INIT; in archive_compressor_xz_init_stream() 138 state->stream.next_out = state->compressed; in archive_compressor_xz_init_stream() 139 state->stream.avail_out = state->compressed_buffer_size; in archive_compressor_xz_init_stream() 141 ret = lzma_stream_encoder(&(state->stream), in archive_compressor_xz_init_stream() 144 ret = lzma_alone_encoder(&(state->stream), &state->lzma_opt); in archive_compressor_xz_init_stream() 269 state->stream.next_in = buff; in archive_compressor_xz_write() 270 state->stream.avail_in = length; in archive_compressor_xz_write() 307 state->stream.next_in = a->nulls; in archive_compressor_xz_finish() 308 state->stream.avail_in = tocopy < a->null_length ? in archive_compressor_xz_finish() [all …]
|
| H A D | archive_read_support_compression_bzip2.c | 53 bz_stream stream; member 225 state->stream.next_out = state->out_block; in bzip2_filter_read() 226 state->stream.avail_out = state->out_block_size; in bzip2_filter_read() 234 decompressed = state->stream.next_out in bzip2_filter_read() 239 ret = BZ2_bzDecompressInit(&(state->stream), in bzip2_filter_read() 245 ret = BZ2_bzDecompressInit(&(state->stream), in bzip2_filter_read() 279 state->stream.next_in = (char *)(uintptr_t)read_buf; in bzip2_filter_read() 280 state->stream.avail_in = ret; in bzip2_filter_read() 285 decompressed = state->stream.next_out in bzip2_filter_read() 291 ret = BZ2_bzDecompress(&(state->stream)); in bzip2_filter_read() [all …]
|
| /minix3/minix/lib/libc/gen/ |
| H A D | gcov.c | 19 , FILE *stream){ in _gcov_fread() argument 20 return fread(ptr, itemsize, nitems, stream); in _gcov_fread() 24 , FILE *stream){ in _gcov_fwrite() argument 25 return fwrite(ptr, itemsize, nitems, stream); in _gcov_fwrite() 28 int _gcov_fclose(FILE *stream){ in _gcov_fclose() argument 29 return fclose(stream); in _gcov_fclose() 32 int _gcov_fseek(FILE *stream, long offset, int ptrname){ in _gcov_fseek() argument 33 return fseek(stream, offset, ptrname); in _gcov_fseek()
|
| /minix3/external/bsd/libc++/dist/libcxx/include/ |
| H A D | cstdio | 49 int fclose(FILE* stream); 50 int fflush(FILE* stream); 53 FILE * restrict stream); 54 void setbuf(FILE* restrict stream, char* restrict buf); 55 int setvbuf(FILE* restrict stream, char* restrict buf, int mode, size_t size); 56 int fprintf(FILE* restrict stream, const char* restrict format, ...); 57 int fscanf(FILE* restrict stream, const char * restrict format, ...); 63 int vfprintf(FILE* restrict stream, const char* restrict format, va_list arg); 64 int vfscanf(FILE* restrict stream, const char* restrict format, va_list arg); // C99 71 int fgetc(FILE* stream); [all …]
|
| /minix3/external/bsd/bind/dist/bin/tests/ |
| H A D | lex_test.c | 36 print_token(isc_token_t *tokenp, FILE *stream) { in print_token() argument 39 fprintf(stream, "UNKNOWN"); in print_token() 42 fprintf(stream, "STRING %.*s", in print_token() 47 fprintf(stream, "NUMBER %lu", tokenp->value.as_ulong); in print_token() 50 fprintf(stream, "QSTRING \"%.*s\"", in print_token() 55 fprintf(stream, "EOL"); in print_token() 58 fprintf(stream, "EOF"); in print_token() 61 fprintf(stream, "INITIALWS"); in print_token() 64 fprintf(stream, "SPECIAL %c", tokenp->value.as_char); in print_token() 67 fprintf(stream, "NOMORE"); in print_token()
|