Home
last modified time | relevance | path

Searched +refs:port +refs:has +refs:set +refs:port +refs:position (Results 1 – 25 of 22530) sorted by relevance

12345678910>>...902

/dports/lang/racket/racket-8.3/share/pkgs/r6rs-lib/r6rs/private/
H A Dports.rkt36 port-has-port-position?
38 port-has-set-port-position!?
401 (define (port-has-port-position? p)
410 (port-has-port-position? (textual-input-port-port p))]
414 (port-has-port-position? (dual-port-in p))]
431 (define (port-has-set-port-position!? p)
433 (raise-type-error 'port-has-port-set-position!? "port" p))
440 (port-has-set-port-position!? (textual-input-port-port p))]
442 (port-has-set-port-position!? (textual-output-port-port p))]
444 (port-has-set-port-position!? (dual-port-in p))]
[all …]
/dports/lang/racket-minimal/racket-8.3/src/ChezScheme/mats/
H A Dio.ms1082 (port-has-set-port-position!? po4-p)
1107 (port-has-set-port-position!? po4-p)
1133 (port-has-set-port-position!? po4-p)
1167 (port-has-set-port-position!? po4-p)
1194 (port-has-set-port-position!? po4-p)
1225 (port-has-set-port-position!? po4-p)
2367 (and (port-has-set-port-position!? x)
2683 (not (port-has-set-port-position!? $cp-iop))
2729 (not (port-has-set-port-position!? $cp-iop))
3014 (not (port-has-set-port-position!? $cp-iop))
[all …]
/dports/lang/racket/racket-8.3/src/ChezScheme/mats/
H A Dio.ms1082 (port-has-set-port-position!? po4-p)
1107 (port-has-set-port-position!? po4-p)
1133 (port-has-set-port-position!? po4-p)
1167 (port-has-set-port-position!? po4-p)
1194 (port-has-set-port-position!? po4-p)
1225 (port-has-set-port-position!? po4-p)
2367 (and (port-has-set-port-position!? x)
2683 (not (port-has-set-port-position!? $cp-iop))
2729 (not (port-has-set-port-position!? $cp-iop))
3014 (not (port-has-set-port-position!? $cp-iop))
[all …]
/dports/lang/chez-scheme/ChezScheme-9.5.4/mats/
H A Dio.ms1078 (port-has-set-port-position!? po4-p)
1103 (port-has-set-port-position!? po4-p)
1129 (port-has-set-port-position!? po4-p)
1163 (port-has-set-port-position!? po4-p)
1190 (port-has-set-port-position!? po4-p)
1221 (port-has-set-port-position!? po4-p)
2363 (and (port-has-set-port-position!? x)
2679 (not (port-has-set-port-position!? $cp-iop))
2725 (not (port-has-set-port-position!? $cp-iop))
3010 (not (port-has-set-port-position!? $cp-iop))
[all …]
/dports/lang/guile/guile-3.0.7/test-suite/tests/
H A Dr6rs-ports.test399 (and (port-has-port-position? port)
401 (port-has-set-port-position!? port)
473 (port-has-set-port-position!? port)))))
490 (not (port-has-set-port-position!? port))
512 (port-has-set-port-position!? port)
839 (port-has-set-port-position!? port)
863 (not (port-has-set-port-position!? port)))))
1168 (not (port-has-set-port-position!? port)))))
1203 (port-has-set-port-position!? port)))))
1222 (not (port-has-set-port-position!? port))
[all …]
/dports/lang/guile2/guile-2.2.7/test-suite/tests/
H A Dr6rs-ports.test379 (and (port-has-port-position? port)
381 (port-has-set-port-position!? port)
453 (port-has-set-port-position!? port)))))
470 (not (port-has-set-port-position!? port))
492 (port-has-set-port-position!? port)
819 (port-has-set-port-position!? port)
843 (not (port-has-set-port-position!? port)))))
1122 (not (port-has-set-port-position!? port)))))
1157 (port-has-set-port-position!? port)))))
1176 (not (port-has-set-port-position!? port))
[all …]
/dports/lang/mosh/mosh-0.2.7/boot/runtimes/srfi-mosh/lib.rnrs/rnrs/io/
H A Dports.ss10 i/o-filename-error? &i/o-invalid-position i/o-invalid-position-error? &i/o-port
19 …open-string-input-port open-string-output-port output-port-buffer-mode port-eof? port-has-port-po…
20port-has-set-port-position!? port-position port-transcoder port? put-bytevector put-char put-dat…
21 …put-u8 set-port-position! standard-error-port standard-input-port standard-output-port string->by…
68 port-has-port-position?
69 port-has-set-port-position!?
70 port-position
78 set-port-position!
101 enum-set-member?
120 i/o-error-filename i/o-error-port i/o-error-position i/o-error?
[all …]
/dports/lang/slib/slib-3b6/
H A Dbigloo.init194 string-port ;has CALL-WITH-INPUT-STRING and
226 ;; input-port-position port bigloo procedure
227 ;; output-port-position port bigloo procedure
231 ;; set-input-port-position! port pos bigloo procedure
232 ;; set-output-port-position! port pos bigloo procedure
234 ;; These functions set the file position indicator for port. The new
241 (define (file-position port . k)
244 output-port-position
245 input-port-position)
249 set-output-port-position!
[all …]
H A Dgambit.init181 delay ;has DELAY and FORCE
222 string-port ;has CALL-WITH-INPUT-STRING and
250 ;; procedure: input-port-byte-position port [position [whence]]
251 ;; procedure: output-port-byte-position port [position [whence]]
266 ;; When input-port-byte-position is called to change the byte
267 ;; position of an input-port, all input buffers will be flushed so
270 ;; When output-port-byte-position is called to change the byte
271 ;; position of an output-port, there is an implicit call to
275 (define (file-position port . k)
277 output-port-byte-position
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/racket-doc/scribblings/reference/
H A Dport-line-counting.scrbl10 By default, Racket keeps track of the @deftech{position} in a port as
28 position/column is incremented once for each byte, and
33 A position is known for any port as long as its value can be expressed
36 port exceeds the value of the largest fixnum, then the position for
68 counting has been enabled for
80 position. The next column and position normally increase as bytes are
82 enabled for @racket[port], the column and position results can
97 @defproc[(set-port-next-location! [port port?]
103 Sets the next line, column, and position for @racket[port]. If line
104 counting has not been enabled for @racket[port] or if @racket[port] is
[all …]
/dports/databases/mysql55-client/mysql-5.5.62/mysql-test/suite/binlog/t/
H A Dbinlog_mysqlbinlog2.test16 # unchanged everywhere, because mysql-test-run has fixed TZ, which it
17 # exports (so mysqlbinlog has same fixed TZ).
18 set @a=UNIX_TIMESTAMP("2020-01-21 15:32:22");
19 set timestamp=@a;
23 set timestamp=@a+2;
27 set timestamp=@a+4;
32 set timestamp=@a+1; # this could happen on a slave
118 …YSQL_BINLOG --short-form --start-position=$binlog_pos_760 --read-from-remote-server --user=root --…
122 …MYSQL_BINLOG --short-form --stop-position=$binlog_pos_760 --read-from-remote-server --user=root --…
126 …ort-form --start-position=$binlog_pos_760 --stop-position=$binlog_pos_951 --read-from-remote-serve…
[all …]
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/doc/sagittarius/
H A Dio.scrbl13 port, current output port, current error port are set to @var{port},
69 ;; this port has own buffer
74 ;; set 'write slot
98 @define[Slot]{@name{position}}
99 @define[Slot]{@name{set-position}}
107 return the position of the port.
109 @code{set-position} procedure must accept 2 argument, @var{position}
111 @code{current} or @code{end}. The procedure should set the position
112 of the port according to the given @var{whence} and @var{position}.
138 If the creating port is input port, then @code{read} must be set before
[all …]
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/doc/rnrs/io/
H A Dports.scrbl298 @define[Function]{@name{port-has-port-position?} @args{port}}
300 @desc{[R6RS] The @code{port-has-port-position?} procedure returns #t if the
308 @define[Function]{@name{port-has-set-port-position!?} @args{port}}
309 @define[Function]{@name{set-port-position!}
311 @desc{[R6RS+] The @code{port-has-set-port-position!?} procedure returns #t if the
319 @var{set-port-position!} first flushes @var{port}.
464 @var{set-position!} procedure (if supplied) should set the position of the
466 @var{set-port-position!} operation.}}
502 @p{The @var{set-position!} procedure (if supplied) should set the position of
505 @code{set-port-position!} operation.}}
[all …]
/dports/lang/mosh/mosh-0.2.7/lib/
H A Dnmosh.nmosh.ss49 close-input-port close-output-port current-input-port current-output-port
111 …open-string-input-port open-string-output-port output-port-buffer-mode port-eof? port-has-port-po…
112 port-has-set-port-position!? port-position port-transcoder
114 …put-u8 set-port-position! standard-error-port standard-input-port standard-output-port string->by…
119 input-port? output-port? port?
134 … i/o-write-error? &i/o-invalid-position make-i/o-invalid-position-error i/o-invalid-position-erro…
138 &i/o-port make-i/o-port-error i/o-port-error? i/o-error-port &i/o-decoding
155 bytevector-u8-set! bytevector-s8-set!
165 bytevector-u16-set! bytevector-s16-set!
169 bytevector-u32-set! bytevector-s32-set!
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/mysql-test/suite/binlog/t/
H A Dbinlog_mysqlbinlog2.test8 set sql_mode="";
9 set global binlog_checksum=NONE;
17 # unchanged everywhere, because mysql-test-run has fixed TZ, which it
18 # exports (so mysqlbinlog has same fixed TZ).
19 set @a=UNIX_TIMESTAMP("1970-01-21 15:32:22");
20 set timestamp=@a;
25 set timestamp=@a+2;
29 set timestamp=@a+4;
34 set timestamp=@a+1; # this could happen on a slave
156 …G --short-form --start-position=$start_pos --stop-position $stop_pos --read-from-remote-server --u…
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/mysql-test/suite/binlog/t/
H A Dbinlog_mysqlbinlog2.test8 set sql_mode="";
9 set global binlog_checksum=NONE;
17 # unchanged everywhere, because mysql-test-run has fixed TZ, which it
18 # exports (so mysqlbinlog has same fixed TZ).
19 set @a=UNIX_TIMESTAMP("1970-01-21 15:32:22");
20 set timestamp=@a;
25 set timestamp=@a+2;
29 set timestamp=@a+4;
34 set timestamp=@a+1; # this could happen on a slave
156 …G --short-form --start-position=$start_pos --stop-position $stop_pos --read-from-remote-server --u…
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/mysql-test/suite/binlog/t/
H A Dbinlog_mysqlbinlog2.test8 set sql_mode="";
9 set global binlog_checksum=NONE;
17 # unchanged everywhere, because mysql-test-run has fixed TZ, which it
18 # exports (so mysqlbinlog has same fixed TZ).
19 set @a=UNIX_TIMESTAMP("1970-01-21 15:32:22");
20 set timestamp=@a;
25 set timestamp=@a+2;
29 set timestamp=@a+4;
34 set timestamp=@a+1; # this could happen on a slave
156 …G --short-form --start-position=$start_pos --stop-position $stop_pos --read-from-remote-server --u…
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/mysql-test/suite/binlog/t/
H A Dbinlog_mysqlbinlog2.test8 set sql_mode="";
9 set global binlog_checksum=NONE;
17 # unchanged everywhere, because mysql-test-run has fixed TZ, which it
18 # exports (so mysqlbinlog has same fixed TZ).
19 set @a=UNIX_TIMESTAMP("1970-01-21 15:32:22");
20 set timestamp=@a;
25 set timestamp=@a+2;
29 set timestamp=@a+4;
34 set timestamp=@a+1; # this could happen on a slave
156 …G --short-form --start-position=$start_pos --stop-position $stop_pos --read-from-remote-server --u…
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/mysql-test/suite/binlog/t/
H A Dbinlog_mysqlbinlog2.test8 set sql_mode="";
9 set global binlog_checksum=NONE;
17 # unchanged everywhere, because mysql-test-run has fixed TZ, which it
18 # exports (so mysqlbinlog has same fixed TZ).
19 set @a=UNIX_TIMESTAMP("1970-01-21 15:32:22");
20 set timestamp=@a;
25 set timestamp=@a+2;
29 set timestamp=@a+4;
34 set timestamp=@a+1; # this could happen on a slave
156 …G --short-form --start-position=$start_pos --stop-position $stop_pos --read-from-remote-server --u…
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/mysql-test/suite/binlog/t/
H A Dbinlog_mysqlbinlog2.test8 set sql_mode="";
9 set global binlog_checksum=NONE;
17 # unchanged everywhere, because mysql-test-run has fixed TZ, which it
18 # exports (so mysqlbinlog has same fixed TZ).
19 set @a=UNIX_TIMESTAMP("1970-01-21 15:32:22");
20 set timestamp=@a;
25 set timestamp=@a+2;
29 set timestamp=@a+4;
34 set timestamp=@a+1; # this could happen on a slave
156 …G --short-form --start-position=$start_pos --stop-position $stop_pos --read-from-remote-server --u…
[all …]
/dports/lang/racket-minimal/racket-8.3/src/ChezScheme/s/
H A Dio.ss1425 ; isn't ready, even if port has not been set nonblocking
2032 (when (and (port-has-port-position? bp)
2039 (when (and (port-has-port-position? bp)
2137 (when (and (port-has-port-position? bp)
3022 (define-syntax set-who!-port-has
3045 (set-who!-port-has port-position)
3047 (set-who!-port-has set-port-position!)
3051 (set-who!-port-has port-nonblocking?)
3053 (set-who!-port-has set-port-nonblocking!)
3055 (set-who!-port-has port-length)
[all …]
/dports/lang/racket/racket-8.3/src/ChezScheme/s/
H A Dio.ss1425 ; isn't ready, even if port has not been set nonblocking
2032 (when (and (port-has-port-position? bp)
2039 (when (and (port-has-port-position? bp)
2137 (when (and (port-has-port-position? bp)
3022 (define-syntax set-who!-port-has
3045 (set-who!-port-has port-position)
3047 (set-who!-port-has set-port-position!)
3051 (set-who!-port-has port-nonblocking?)
3053 (set-who!-port-has set-port-nonblocking!)
3055 (set-who!-port-has port-length)
[all …]
/dports/lang/chez-scheme/ChezScheme-9.5.4/s/
H A Dio.ss1429 ; isn't ready, even if port has not been set nonblocking
2036 (when (and (port-has-port-position? bp)
2043 (when (and (port-has-port-position? bp)
2141 (when (and (port-has-port-position? bp)
3025 (define-syntax set-who!-port-has
3048 (set-who!-port-has port-position)
3050 (set-who!-port-has set-port-position!)
3054 (set-who!-port-has port-nonblocking?)
3056 (set-who!-port-has set-port-nonblocking!)
3058 (set-who!-port-has port-length)
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/2d-lib/private/
H A Dreadtable.rkt17 racket/set
38 ;; after the "#2" has been consumed.
79 position-of-first-cell)
96 (set-port-next-location! kwd-port _line (and _col (+ _col 1)) (and _pos (+ _pos 1)))
105 (define srcloc (hash-ref position-of-first-cell index))
111 (srcloc-position srcloc)
119 ,@(for/list ([set-of-indicies (in-list (sort (set->list lhses) compare/xy
128 (set-port-next-location! scratch-port post-2d-line post-2d-col post-2d-span)
129 `[,(add-srclocs (sort (set->list set-of-indicies) compare/xy))
166 (for/list ([pr (in-set set-of-indicies)])
[all …]
/dports/lang/mosh/mosh-0.2.7/boot/runtimes/srfi-mosh/lib.rnrs/
H A Drnrs.ss191 …;i/o-encoding-error? i/o-error-filename i/o-error-port i/o-error-position i/o-error? &i/o-file-a…
194 ;i/o-filename-error? &i/o-invalid-position i/o-invalid-position-error? &i/o-port
201 ;make-i/o-filename-error make-i/o-invalid-position-error make-i/o-port-error make-i/o-read-error
205 …open-string-input-port open-string-output-port output-port-buffer-mode port-eof? port-has-port-po…
206 port-has-set-port-position!? port-position port-transcoder
208 …put-u8 set-port-position! standard-error-port standard-input-port standard-output-port string->by…
239 … i/o-write-error? &i/o-invalid-position make-i/o-invalid-position-error i/o-invalid-position-erro…
260 &i/o-write-rtd &i/o-write-rcd &i/o-invalid-position-rtd
261 &i/o-invalid-position-rcd &i/o-filename-rtd
292 bytevector-u8-set! bytevector-s8-set!
[all …]

12345678910>>...902