Home
last modified time | relevance | path

Searched +refs:call +refs:with +refs:output +refs:file (Results 1 – 25 of 82958) sorted by relevance

12345678910>>...3319

/dports/lang/racket/racket-8.3/collects/racket/private/
H A Dkw-file.rkt10 [call-with-input-file -call-with-input-file]
11 [call-with-output-file -call-with-output-file]
15 call-with-output-file*
75 (define (call-with-output-file path proc
80 (raise-argument-error 'call-with-output-file "path-string?" path))
83 (raise-argument-error 'call-with-output-file "(output-port? . -> . any)" proc))
87 (raise-argument-error 'call-with-output-file exists-desc exists))
89 (raise-argument-error 'call-with-output-file perms-desc perms))
90 (k:call-with-output-file path proc mode exists perms))
133 (define (call-with-output-file* path proc
[all …]
H A Dbase.rkt24 call-with-input-file
25 call-with-output-file
27 with-output-to-file
49 (rename -open-output-file open-output-file)
50 (rename -open-input-output-file open-input-output-file)
51 (rename -call-with-input-file call-with-input-file)
52 (rename -call-with-output-file call-with-output-file)
53 (rename -with-input-from-file with-input-from-file)
54 (rename -with-output-to-file with-output-to-file)
56 call-with-input-file*
[all …]
/dports/lang/racket-minimal/racket-8.3/collects/racket/private/
H A Dkw-file.rkt10 [call-with-input-file -call-with-input-file]
11 [call-with-output-file -call-with-output-file]
15 call-with-output-file*
75 (define (call-with-output-file path proc
80 (raise-argument-error 'call-with-output-file "path-string?" path))
83 (raise-argument-error 'call-with-output-file "(output-port? . -> . any)" proc))
87 (raise-argument-error 'call-with-output-file exists-desc exists))
89 (raise-argument-error 'call-with-output-file perms-desc perms))
90 (k:call-with-output-file path proc mode exists perms))
133 (define (call-with-output-file* path proc
[all …]
H A Dbase.rkt24 call-with-input-file
25 call-with-output-file
27 with-output-to-file
49 (rename -open-output-file open-output-file)
50 (rename -open-input-output-file open-input-output-file)
51 (rename -call-with-input-file call-with-input-file)
52 (rename -call-with-output-file call-with-output-file)
53 (rename -with-input-from-file with-input-from-file)
54 (rename -with-output-to-file with-output-to-file)
56 call-with-input-file*
[all …]
/dports/lang/guile2/guile-2.2.7/test-suite/tests/
H A Dfilesys.test59 (call-with-output-file (test-file)
64 (call-with-output-file (test-file)
105 (call-with-output-file (test-file)
113 (call-with-output-file (test-file)
124 (call-with-output-file (test-file)
139 (let* ((result (call-with-input-file file
141 (call-with-output-file (test-file)
154 (call-with-output-file (test-file)
167 (call-with-output-file (test-file)
174 (cons 77 (call-with-input-file file
[all …]
H A Dports.test1349 (call-with-output-file (test-file)
1360 (call-with-output-file (test-file)
1371 (call-with-output-file (test-file)
1396 (call-with-output-file (test-file)
1402 (call-with-output-file (test-file)
1409 (call-with-output-file (test-file)
1417 (call-with-output-file (test-file)
1426 (call-with-output-file (test-file)
1438 (call-with-output-file (test-file)
1447 (call-with-output-file (test-file)
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/r6rs-lib/rnrs/io/
H A Dsimple-6.rkt7 (rename-out [r6rs:call-with-input-file call-with-input-file]
8 [r6rs:call-with-output-file call-with-output-file])
14 [r6rs:with-input-from-file with-input-from-file]
15 [r6rs:with-output-to-file with-output-to-file]
17 [r6rs:open-output-file open-output-file])
28 (define (r6rs:call-with-input-file file proc)
29 (r6rs:call-with-port
33 (define (r6rs:call-with-output-file file proc)
34 (r6rs:call-with-port
38 (define (r6rs:with-input-from-file file proc)
[all …]
/dports/lang/guile/guile-3.0.7/test-suite/tests/
H A Dfilesys.test59 (call-with-output-file (test-file)
64 (call-with-output-file (test-file)
105 (call-with-output-file (test-file)
113 (call-with-output-file (test-file)
124 (call-with-output-file (test-file)
139 (let* ((result (call-with-input-file file
141 (call-with-output-file (test-file)
154 (call-with-output-file (test-file)
167 (call-with-output-file (test-file)
174 (cons 77 (call-with-input-file file
[all …]
H A Dports.test1382 (call-with-output-file (test-file)
1393 (call-with-output-file (test-file)
1404 (call-with-output-file (test-file)
1429 (call-with-output-file (test-file)
1435 (call-with-output-file (test-file)
1442 (call-with-output-file (test-file)
1450 (call-with-output-file (test-file)
1459 (call-with-output-file (test-file)
1471 (call-with-output-file (test-file)
1480 (call-with-output-file (test-file)
[all …]
/dports/lang/mosh/mosh-0.2.7/boot/runtimes/srfi-mosh/lib.rnrs/rnrs/io/
H A Dsimple.ss2 (export call-with-input-file call-with-output-file
3 close-input-port close-output-port current-input-port current-output-port
4 display eof-object? newline open-input-file open-output-file peek-char
5 read read-char with-input-from-file with-output-to-file write write-char
8 output-port? input-port? port?
11 call-with-input-file call-with-output-file
12 close-input-port close-output-port current-input-port current-output-port
13 display eof-object? newline open-input-file open-output-file peek-char
14 read read-char with-input-from-file with-output-to-file write write-char
17 output-port? input-port? port?
/dports/lang/chibi-scheme/chibi-scheme-0.10/lib/chibi/
H A Dfilesystem-test.sld20 (call-with-output-file tmp-file
24 (test "0123456789" (call-with-input-file tmp-file port->string))
26 ;; call-with-output-file truncates
27 (call-with-output-file tmp-file
29 (test "xxxxx" (call-with-input-file tmp-file port->string))
31 (call-with-output-file tmp-file
33 (test "0123456789" (call-with-input-file tmp-file port->string))
37 (out (open-output-file-descriptor fd)))
40 (test "xxxxx56789" (call-with-input-file tmp-file port->string))
44 (out (open-output-file-descriptor fd)))
[all …]
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/doc/utils/
H A Darchive.scrbl15 (call-with-input-archive-file 'zip "foo.zip"
19 (call-with-output-file "bar.txt"
24 (call-with-output-archive-file 'tar "foo.tar"
100 @define[Function]{@name{call-with-input-archive-file}
102 @desc{Open file binary input port with given @var{file} and call
140 @define[Function]{@name{call-with-output-archive} @args{archive-output proc}}
150 @define[Function]{@name{call-with-output-archive-port}
153 call @code{call-with-output-archive}.
156 @define[Function]{@name{call-with-output-archive-file}
158 @desc{Open file binary output port with given @var{file} and call
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/compatibility-lib/mzlib/
H A Dfile.rkt1 (module file racket/base
2 (require racket/file
6 open-output-file)))
13 file-name-from-path
24 (rename-out [-call-with-input-file* call-with-input-file*]
25 [-call-with-output-file* call-with-output-file*])
44 (define (-call-with-input-file* file thunk . flags)
45 (let ([p (apply mz:open-input-file file flags)])
51 (define (-call-with-output-file* file thunk . flags)
52 (let ([p (apply mz:open-output-file file flags)])
[all …]
/dports/lang/kawa/kawa-3.1.1/testsuite/larceny-tests/tests/scheme/
H A Dfile.sld5 ;;; call-with-input-file
6 ;;; call-with-output-file
8 ;;; with-output-to-file
59 (test (call-with-output-file tempfile output-port-open?)
64 (test (call-with-input-file tempfile input-port-open?)
67 (test (call-with-input-file tempfile read-char)
93 (test/unspec (call-with-output-file
99 (test ((call-with-input-file
112 (test/unspec (call-with-output-file
182 (test/values (call-with-output-file tempfile
[all …]
/dports/lang/racket/racket-8.3/collects/syntax/
H A Dprimitives.rkt10 call-with-output-file call-with-input-file
11 with-output-to-file with-input-from-file
14 call-with-escape-continuation call-with-current-continuation
20 call-with-continuation-prompt call-with-composable-continuation
21 hash-table-map hash-table-for-each make-input-port make-output-port
23 call-with-semaphore call-with-semaphore/enable-break))
28 '(call-with-values apply
32 call-with-continuation-prompt
33 call-with-escape-continuation
34 call-with-semaphore
[all …]
/dports/lang/racket-minimal/racket-8.3/collects/syntax/
H A Dprimitives.rkt10 call-with-output-file call-with-input-file
11 with-output-to-file with-input-from-file
14 call-with-escape-continuation call-with-current-continuation
20 call-with-continuation-prompt call-with-composable-continuation
21 hash-table-map hash-table-for-each make-input-port make-output-port
23 call-with-semaphore call-with-semaphore/enable-break))
28 '(call-with-values apply
32 call-with-continuation-prompt
33 call-with-escape-continuation
34 call-with-semaphore
[all …]
/dports/editors/vim/vim-8.2.3745/src/testdir/
H A Dtest_lispwords.vim22 \ '(defun html-file (base)',
27 \ '`(with-open-file (*standard-output*',
28 \ '(html-file ,name)',
29 \ ':direction :output',
33 \ '(with center ',
40 \ '(defmacro with-link (dest &rest body)',
62 \ ' `(with-open-file (*standard-output*',
63 \ ' (html-file ,name)',
64 \ ' :direction :output',
68 \ ' (with center ',
[all …]
/dports/editors/xvile/vile-9.8v/filters/
H A Dscheme.key33 call/cc
34 call-with-current-continuation
35 call-with-input-file
36 call-with-output-file
87 call-with-input-file
88 call-with-output-file
89 call-with-values
144 open-output-file
188 with-input-from-file
189 with-output-to-file
[all …]
/dports/editors/vile/vile-9.8v/filters/
H A Dscheme.key33 call/cc
34 call-with-current-continuation
35 call-with-input-file
36 call-with-output-file
87 call-with-input-file
88 call-with-output-file
89 call-with-values
144 open-output-file
188 with-input-from-file
189 with-output-to-file
[all …]
/dports/editors/neovim/neovim-0.6.1/src/nvim/testdir/
H A Dtest_lispwords.vim21 call append(0, [
22 \ '(defun html-file (base)',
27 \ '`(with-open-file (*standard-output*',
28 \ '(html-file ,name)',
29 \ ':direction :output',
33 \ '(with center ',
40 \ '(defmacro with-link (dest &rest body)',
61 \ ' `(with-open-file (*standard-output*',
63 \ ' :direction :output',
67 \ ' (with center ',
[all …]
/dports/lang/guile1/guile-1.8.8/test-suite/tests/
H A Dports.test251 (call-with-input-string (call-with-output-string
593 (call-with-output-file (test-file)
602 (call-with-output-file (test-file)
611 (call-with-output-file (test-file)
634 (call-with-output-file (test-file)
640 (call-with-output-file (test-file)
647 (call-with-output-file (test-file)
655 (call-with-output-file (test-file)
664 (call-with-output-file (test-file)
676 (call-with-output-file (test-file)
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/racket-doc/scribblings/reference/
H A Dfile-ports.scrbl117 (with-output-to-file some-file
262 @racket[call-with-input-file] call, but the newly opened port is closed
268 (call-with-input-file some-file
272 @defproc[(call-with-output-file [path path-string?]
284 (call-with-output-file some-file
287 (call-with-input-file some-file
300 @racket[call-with-input-file*] call, whether through @racket[proc]'s
303 @defproc[(call-with-output-file* [path path-string?]
310 Like @racket[call-with-output-file], but the newly opened port is
312 @racket[call-with-output-file*] call, whether through @racket[proc]'s
[all …]
/dports/devel/py-behave/behave-1.2.6/features/
H A Dstep.duplicated_step.feature10 And a file named "features/steps/alice_steps.py" with:
22 And a file named "features/duplicated_step_alice.feature" with:
30 And the command output should contain:
35 And the command output should contain:
44 And a file named "features/steps/bob1_steps.py" with:
52 And a file named "features/steps/bob2_steps.py" with:
60 And a file named "features/duplicated_step_bob.feature" with:
68 And the command output should contain:
82 And a file named "features/steps/charly1_steps.py" with:
90 And a file named "features/steps/charly2_steps.py" with:
[all …]
/dports/lang/kawa/kawa-3.1.1/kawa/lib/scheme/
H A Dfile-exports2 call-with-input-file call-with-output-file
3 delete-file file-exists?
4 open-binary-input-file open-binary-output-file
5 open-input-file open-output-file
6 with-input-from-file with-output-to-file)
/dports/lang/mosh/mosh-0.2.7/boot/runtimes/srfi-mosh/lib.rnrs/
H A Dr5rs.ss22 boolean? call-with-current-continuation
23 call-with-values car cdr caar cadr cdar cddr
59 call-with-input-file call-with-output-file
60 close-input-port close-output-port current-input-port current-output-port
61 display eof-object? newline open-input-file open-output-file peek-char
62 read read-char with-input-from-file with-output-to-file write write-char
98 call/cc)
103 call-with-input-file call-with-output-file
104 close-input-port close-output-port current-input-port current-output-port
105 display eof-object? newline open-input-file open-output-file peek-char
[all …]

12345678910>>...3319