Home
last modified time | relevance | path

Searched +refs:expect +refs:char +refs:proc (Results 1 – 25 of 2913) sorted by relevance

12345678910>>...117

/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/tests/util/
H A Dinteractive.expect.rc17 proc handle_sigusr1 {} {
35 proc log_info string {
168 expect {*}$expargs
262 proc lineno args {
308 # This must be called with a single ASCII char.
310 # Returns the control-char version of the char.
311 proc ctrl char {
312 if {$char == "esc"} {
315 if {$char == "del"} {
318 if {$char == "?"} {
[all …]
/dports/textproc/lua-lyaml/lyaml-6.2.4/spec/
H A Dspec_helper.lua29 BOM = string.char(254, 255) -- UTF-16 Byte Order Mark
135 local proc = hell.spawn(cmd)
137 return proc
142 local proc = luaproc(code)
143 if proc.status ~= 0 then return error(proc.errout) end
145 proc.output:gsub('(%S*)[%s]*',
221 format_expect = function(self, expect)
233 format_expect = function(self, expect)
245 format_expect = function(self, expect)
257 format_expect = function(self, expect)
[all …]
/dports/lang/mosh/mosh-0.2.7/lib/yuni/text/
H A Dpeg.sls200 [(fail-expect)
560 ;; $<< proc parser ...
569 ((_ proc parsers ...)
664 ;; ($do [v (car ps)] ($fold-parsers proc (proc v seed) (cdr ps)))
1032 (return-failure/expect expect s)))]
1033 [(_ pred expect)
1038 (return-failure/expect expect s))
1039 (return-failure/expect expect s)))]))
1121 ((_ proc charset expect)
1122 (define proc
[all …]
/dports/lang/guile2/guile-2.2.7/doc/ref/
H A Dexpect.texi68 of @code{expect} (and @code{expect-strings}).
75 @item expect-port
79 seconds, returning @code{#f} or the value returned by expect-timeout-proc.
80 @item expect-timeout-proc
83 @item expect-eof-proc
86 @item expect-char-proc
106 (expect-timeout-proc
108 (expect-eof-proc
110 (expect-char-proc display)
119 @code{expect} is used in the same way as @code{expect-strings},
[all …]
/dports/lang/guile1/guile-1.8.8/doc/ref/
H A Dexpect.texi69 of @code{expect} (and @code{expect-strings}).
76 @item expect-port
80 seconds, returning @code{#f} or the value returned by expect-timeout-proc.
81 @item expect-timeout-proc
84 @item expect-eof-proc
87 @item expect-char-proc
107 (expect-timeout-proc
109 (expect-eof-proc
111 (expect-char-proc display)
120 @code{expect} is used in the same way as @code{expect-strings},
[all …]
/dports/lang/guile/guile-3.0.7/doc/ref/
H A Dexpect.texi68 of @code{expect} (and @code{expect-strings}).
75 @item expect-port
79 seconds, returning @code{#f} or the value returned by expect-timeout-proc.
80 @item expect-timeout-proc
83 @item expect-eof-proc
86 @item expect-char-proc
106 (expect-timeout-proc
108 (expect-eof-proc
110 (expect-char-proc display)
119 @code{expect} is used in the same way as @code{expect-strings},
[all …]
/dports/emulators/dps8m/dps8m-572f79bb4f0f84a8b16c3892c894c2b9ed64b458/src/ci-kit/
H A Dci_t2.expect10 proc w {} { expect -re {\nr [0-9]+:[0-9]+ .*\r}; sleep .1}
11 proc wi {} { expect -re {Input.\r}; sleep .1}
12 proc wn {} { expect -re {\n}; sleep .1}
16 proc wf {} { expect -re {\nr [0-9]+\r}; sleep .1}
27 expect "Load = "
58 swn "stt: proc();"
110 swn " proc ();"
199 swn " proc ();"
226 swn " dcl arg char(arg_len) based(arg_ptr),"
230 swn " dcl test_result char(40) var;"
[all …]
/dports/lang/jimtcl/jimtcl-0.81/tests/
H A Dinteractive.test6 package require expect
23 proc wait-for-prompt {p} {
24 $p expect {\. }
32 $p expect {\r\n}
38 $p expect {\r\n}
40 $p expect {\r\n}
58 $p expect {\r\n}
66 $p expect {\r\n}
104 # now arrow left twice over the wide char and insert another char
119 # now arrow left twice over the combining char and "x" and insert another char
[all …]
/dports/lang/racket/racket-8.3/src/expander/read/
H A Ddemo.rkt15 [(in expect)
17 (unless (equal? v expect)
18 (error 'test "fail\n got: ~s\n expect: ~s"
20 expect))
141 #:call-with-root-namespace (lambda (proc) (proc))))
148 #:call-with-root-namespace (lambda (proc) (proc))))
155 #:call-with-root-namespace (lambda (proc) (proc))))
162 #:call-with-root-namespace (lambda (proc) (proc)))
187 (unless (eof-object? (peek-char-or-special p))
188 (loop (accum-string-add! accum-str (read-char-or-special p))))))))
/dports/lang/racket-minimal/racket-8.3/src/expander/read/
H A Ddemo.rkt15 [(in expect)
17 (unless (equal? v expect)
18 (error 'test "fail\n got: ~s\n expect: ~s"
20 expect))
141 #:call-with-root-namespace (lambda (proc) (proc))))
148 #:call-with-root-namespace (lambda (proc) (proc))))
155 #:call-with-root-namespace (lambda (proc) (proc))))
162 #:call-with-root-namespace (lambda (proc) (proc)))
187 (unless (eof-object? (peek-char-or-special p))
188 (loop (accum-string-add! accum-str (read-char-or-special p))))))))
/dports/lang/mosh/mosh-0.2.7/tests/yuni/
H A Dpeg.ss73 ((_ label expect parse input)
79 ((_ label expect parse input)
81 (test-equal expect
97 ((_ label expect parse input)
123 (test-fail "$expect" '(0 "character")
133 ; '#(fail expect ("a") 1)
199 (define (map-tree proc tree)
201 (cons (map-tree proc (car tree))
202 (map-tree proc (cdr tree)))
203 (proc tree)))
[all …]
/dports/lang/seed7/seed7/prg/
H A Dchkdb.sd7255 const proc: insert (inout testState: state, NULL, in proc: succeedAction) is func
3274 # Reading a char field removes trailing spaces.
3363 # Reading a char field removes trailing spaces.
3501 # Reading a char field removes trailing spaces.
3584 # Reading a char field removes trailing spaces.
3743 # Reading a char field removes trailing spaces.
3842 # Reading a char field removes trailing spaces.
4042 # Reading a char field removes trailing spaces.
4165 # Reading a char field removes trailing spaces.
4361 # Reading a char field removes trailing spaces.
[all …]
H A Dbas7.sd7136 var set of char: defstr_var is (set of char).EMPTY_SET;
376 var char: ch is ' ';
1207 var char: ch is ' ';
1221 var char: ch is ' ';
1245 var char: ch is ' ';
4945 var char: ch1 is ' ';
4946 var char: ch2 is ' ';
6637 var char: ch1 is ' ';
6683 var char: ch1 is ' ';
6759 var char: ch is ' ';
[all …]
/dports/www/firefox-esr/firefox-91.8.0/build/build-clang/
H A Dfind_symbolizer_linux_clang_10.patch5 cannot expect llvm-symbolizer to be on PATH. Instead, we should try to look
23 void CatastrophicErrorWrite(const char *buffer, uptr length) {
24 @@ -194,6 +198,34 @@ char *FindPathToBinary(const char *name) {
33 + if (internal_readlink("/proc/self/exe", buffer.data(), kMaxPathLength) < 0)
H A Dfind_symbolizer_linux.patch5 cannot expect llvm-symbolizer to be on PATH. Instead, we should try to look
23 void CatastrophicErrorWrite(const char *buffer, uptr length) {
24 @@ -156,6 +160,34 @@ char *FindPathToBinary(const char *name) {
33 + if (internal_readlink("/proc/self/exe", buffer.data(), kMaxPathLength) < 0)
/dports/lang/spidermonkey78/firefox-78.9.0/build/build-clang/
H A Dfind_symbolizer_linux.patch5 cannot expect llvm-symbolizer to be on PATH. Instead, we should try to look
23 void CatastrophicErrorWrite(const char *buffer, uptr length) {
24 @@ -156,6 +160,34 @@ char *FindPathToBinary(const char *name) {
33 + if (internal_readlink("/proc/self/exe", buffer.data(), kMaxPathLength) < 0)
H A Dfind_symbolizer_linux_clang_10.patch5 cannot expect llvm-symbolizer to be on PATH. Instead, we should try to look
23 void CatastrophicErrorWrite(const char *buffer, uptr length) {
24 @@ -194,6 +198,34 @@ char *FindPathToBinary(const char *name) {
33 + if (internal_readlink("/proc/self/exe", buffer.data(), kMaxPathLength) < 0)
/dports/www/firefox/firefox-99.0/build/build-clang/
H A Dfind_symbolizer_linux_clang_10.patch5 cannot expect llvm-symbolizer to be on PATH. Instead, we should try to look
23 void CatastrophicErrorWrite(const char *buffer, uptr length) {
24 @@ -194,6 +198,34 @@ char *FindPathToBinary(const char *name) {
33 + if (internal_readlink("/proc/self/exe", buffer.data(), kMaxPathLength) < 0)
/dports/mail/thunderbird/thunderbird-91.8.0/build/build-clang/
H A Dfind_symbolizer_linux_clang_10.patch5 cannot expect llvm-symbolizer to be on PATH. Instead, we should try to look
23 void CatastrophicErrorWrite(const char *buffer, uptr length) {
24 @@ -194,6 +198,34 @@ char *FindPathToBinary(const char *name) {
33 + if (internal_readlink("/proc/self/exe", buffer.data(), kMaxPathLength) < 0)
H A Dfind_symbolizer_linux.patch5 cannot expect llvm-symbolizer to be on PATH. Instead, we should try to look
23 void CatastrophicErrorWrite(const char *buffer, uptr length) {
24 @@ -156,6 +160,34 @@ char *FindPathToBinary(const char *name) {
33 + if (internal_readlink("/proc/self/exe", buffer.data(), kMaxPathLength) < 0)
/dports/lang/spidermonkey60/firefox-60.9.0/build/build-clang/
H A Dfind_symbolizer_linux.patch5 cannot expect llvm-symbolizer to be on PATH. Instead, we should try to look
23 void CatastrophicErrorWrite(const char *buffer, uptr length) {
24 @@ -156,6 +160,34 @@ char *FindPathToBinary(const char *name) {
33 + if (internal_readlink("/proc/self/exe", buffer.data(), kMaxPathLength) < 0)
/dports/lang/nim/nim-1.6.2/tests/objvariant/
H A Dtconstructionorder.nim18 operator: char
23 # This will test that all the values are what we expect.
24 proc assertTree(root: Node) =
43 proc newLiteralNode(value: int): Node =
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysql-test/t/
H A Ddd_upgrade_test.test63 CREATE TABLE test.proc (db char(64) collate utf8_bin DEFAULT '' NOT NULL,
64 name char(64) DEFAULT '' NOT NULL,
66 specific_name char(64) DEFAULT '' NOT NULL,
114 --copy_file $MYSQL_TMP_DIR/data57/mysql/proc.MYD $MYSQLD_DATADIR/test/proc.MYD
115 --copy_file $MYSQL_TMP_DIR/data57/mysql/proc.MYI $MYSQLD_DATADIR/test/proc.MYI
169 --copy_file $MYSQLD_DATADIR/test/proc.MYD $MYSQL_TMP_DIR/data57/mysql/proc.MYD
170 --copy_file $MYSQLD_DATADIR/test/proc.MYI $MYSQL_TMP_DIR/data57/mysql/proc.MYI
173 DROP TABLE test.proc;
176 --exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
757 --exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
[all …]
/dports/lang/chez-scheme/ChezScheme-9.5.4/s/
H A Dcmacros.ss225 (when (and does-not-expect-headroom? (not has-does-not-expect-headroom-version?))
299 ((_ producer proc)
300 (call-with-values (lambda () producer) proc))))
477 (char->integer #\c) (char->integer #\h) (char->integer #\e) (char->integer #\z)))
1591 (proc #b00000000000000000100000)
1605 (arith-op (or proc pure true))
1606 (alloc (or proc discard true))
1748 ((key define (proc-name . more-formals) . body)
1751 ((key proc ((x e) (... ...)) arg (... ...))
1763 (proc formal ... arg (... ...)))))
[all …]
/dports/lang/nim/nim-1.6.2/lib/system/
H A Dsysstr.nim19 proc dataPointer(a: PGenericSeq, elemAlign: int): pointer =
25 proc resize(old: int): int {.inline.} =
59 proc rawNewString(space: int): NimString {.compilerproc.} =
68 proc mnewString(len: int): NimString {.compilerproc.} =
101 proc cstrToNimstr(str: cstring): NimString {.compilerRtl.} =
118 proc newOwnedString(src: NimString; n: int): NimString =
148 proc copyDeepString(src: NimString): NimString {.inline.} =
154 proc addChar(s: NimString, c: char): NimString =
229 proc appendChar(dest: NimString, c: char) {.compilerproc, inline.} =
325 # presence of user defined destructors, the user will expect the cell to be
[all …]

12345678910>>...117