Home
last modified time | relevance | path

Searched +refs:peek +refs:char (Results 1 – 25 of 4653) sorted by relevance

12345678910>>...187

/dports/www/grafana8/grafana-8.3.6/public/app/plugins/datasource/graphite/
H A Dlexer.ts1176 let char = this.peek(index); variable
1199 char = this.peek(index);
1210 char = this.peek(index);
1219 char = this.peek(index);
1304 char = this.peek(index);
1320 char = this.peek(index);
1334 char = this.peek(index);
1341 char = this.peek(index);
1347 char = this.peek(index);
1360 char = this.peek(index);
[all …]
/dports/archivers/py-borgbackup/borgbackup-1.1.17/src/borg/
H A Dnanorst.py16 def peek(self, n): member in TextPecker
70 if not char:
72 next = text.peek(1) # type: str
75 if char == '\\' and text.peek(1) in inline_single:
77 if text.peek(-1) != '\\':
78 if char in inline_single and next != char:
92 if text.peek(-1).isspace() and char == ':' and text.peek(5) == 'ref:`':
97 char = text.peek(1)
111 if char == ':' and text.peek(2) == ':\n': # End of line code block
117 if text.peek(-2) in ('\n\n', '') and char == next == '.':
[all …]
/dports/lang/racket/racket-8.3/src/expander/read/
H A Dspecial.rkt5 ;; The reader should never use `read-char` or `peek-char`. Instead,
6 ;; use `read-char/special` or `peek-char/special`, so that special
11 read-char/special
12 peek-char/special)
16 (define-inline (read-char/special in config [source (read-config-source config)])
17 (read-char-or-special in special source))
20 (define-inline (peek-char/special in config [skip-count 0] [source (read-config-source config)])
21 (define c (peek-char-or-special in skip-count 'special source))
/dports/lang/racket-minimal/racket-8.3/src/expander/read/
H A Dspecial.rkt5 ;; The reader should never use `read-char` or `peek-char`. Instead,
6 ;; use `read-char/special` or `peek-char/special`, so that special
11 read-char/special
12 peek-char/special)
16 (define-inline (read-char/special in config [source (read-config-source config)])
17 (read-char-or-special in special source))
20 (define-inline (peek-char/special in config [skip-count 0] [source (read-config-source config)])
21 (define c (peek-char-or-special in skip-count 'special source))
/dports/lang/racket/racket-8.3/src/ChezScheme/rktboot/
H A Dscheme-readtable.rkt11 (define got-c (peek-char in))
20 (define got-c (peek-char in))
29 (define got-c (peek-char in))
48 [(and (eqv? (peek-char in) #\=)
49 (eqv? (peek-char in 1) #\#)
50 (eqv? (peek-char in 2) c)
51 (eqv? (peek-char in 3) #\#))
73 (define c (peek-char in))
82 (char-whitespace? (peek-char in 1)))
99 (define next-c (peek-char in))
[all …]
/dports/lang/racket-minimal/racket-8.3/src/ChezScheme/rktboot/
H A Dscheme-readtable.rkt11 (define got-c (peek-char in))
20 (define got-c (peek-char in))
29 (define got-c (peek-char in))
48 [(and (eqv? (peek-char in) #\=)
49 (eqv? (peek-char in 1) #\#)
50 (eqv? (peek-char in 2) c)
51 (eqv? (peek-char in 3) #\#))
73 (define c (peek-char in))
82 (char-whitespace? (peek-char in 1)))
99 (define next-c (peek-char in))
[all …]
/dports/mail/nextcloud-mail/mail/vendor/sabberworm/php-css-parser/lib/Sabberworm/CSS/Parsing/
H A DParserState.php94 $peek = ord($this->peek());
96 if (($peek >= 97 && $peek <= 122) ||
97 ($peek >= 65 && $peek <= 90) ||
98 ($peek >= 48 && $peek <= 57) ||
189 while (($char = $this->consume(1)) !== '') {
190 $mComment .= $char;
215 while (($char = $this->consume(1)) !== '') {
216 if (in_array($char, $aEnd)) {
218 $out .= $char;
220 $this->iCurrentPosition -= $this->strlen($char);
[all …]
/dports/www/moodle310/moodle/lib/php-css-parser/Parsing/
H A DParserState.php94 $peek = ord($this->peek());
96 if (($peek >= 97 && $peek <= 122) ||
97 ($peek >= 65 && $peek <= 90) ||
98 ($peek >= 48 && $peek <= 57) ||
189 while (($char = $this->consume(1)) !== '') {
190 $mComment .= $char;
215 while (($char = $this->consume(1)) !== '') {
216 if (in_array($char, $aEnd)) {
218 $out .= $char;
220 $this->iCurrentPosition -= $this->strlen($char);
[all …]
/dports/www/moodle311/moodle/lib/php-css-parser/Parsing/
H A DParserState.php94 $peek = ord($this->peek());
96 if (($peek >= 97 && $peek <= 122) ||
97 ($peek >= 65 && $peek <= 90) ||
98 ($peek >= 48 && $peek <= 57) ||
189 while (($char = $this->consume(1)) !== '') {
190 $mComment .= $char;
215 while (($char = $this->consume(1)) !== '') {
216 if (in_array($char, $aEnd)) {
218 $out .= $char;
220 $this->iCurrentPosition -= $this->strlen($char);
[all …]
/dports/www/moodle39/moodle/lib/php-css-parser/Parsing/
H A DParserState.php94 $peek = ord($this->peek());
96 if (($peek >= 97 && $peek <= 122) ||
97 ($peek >= 65 && $peek <= 90) ||
98 ($peek >= 48 && $peek <= 57) ||
189 while (($char = $this->consume(1)) !== '') {
190 $mComment .= $char;
215 while (($char = $this->consume(1)) !== '') {
216 if (in_array($char, $aEnd)) {
218 $out .= $char;
220 $this->iCurrentPosition -= $this->strlen($char);
[all …]
/dports/lang/kawa/kawa-3.1.1/testsuite/
H A Dppfile.out40 ((char-whitespace? c)
41 (display (read-char port) export)
42 (lp (peek-char port)))
43 ((char=? #\; c) (cmt c))
47 ((char=? #\newline c)
49 (lp (peek-char port)))
52 (cmt (peek-char port))))))
58 (let ((c (peek-char port)))
60 (read-char port)
61 (set! c (peek-char port))))
[all …]
/dports/lang/racket/racket-8.3/src/io/port/
H A Dspecial-input.rkt5 "read-and-peek.rkt"
11 peek-byte-or-special
12 read-char-or-special
13 peek-char-or-special)
37 (check who special-wrap-for-peek? #:contract special-wrap-for-peek/c-str special-wrap)
56 (define/who (read-char-or-special [in (current-input-port)]
61 (define c (read-a-char who in #:special-ok? #t))
63 [(char? c) c]
68 (define/who (peek-char-or-special [in (current-input-port)]
75 (define c (peek-a-char who in skip-k #:special-ok? #t))
[all …]
H A Dstring-input.rkt16 (provide read-char
20 peek-char
24 read-a-char
25 peek-a-char)
72 #:error-char #\uFFFD
206 [(b . fx< . 128) (integer->char b)]
250 (read-a-char who in)))
282 (define (peek-a-char who in skip-k #:special-ok? [special-ok? #f])
291 (if (fixnum? b) (integer->char b) b)]
300 (define/who (peek-char [in (current-input-port)] [skip-k 0])
[all …]
H A Dmain.rkt45 peek-byte
46 peek-bytes
47 peek-bytes!
54 read-char-or-special
55 peek-char-or-special
62 read-char
66 peek-char
67 peek-string
68 peek-string!
71 char-ready?
[all …]
H A Dline-input.rkt5 "read-and-peek.rkt"
21 read-a-char peek-a-char
22 as-char direct-string?)
37 (define (keep-char)
56 (eqv? (peek-a-char 'read-line in 0) (as-char #\linefeed)))
57 (read-a-char 'read-line in)
61 [else (keep-char)])]
65 [else (keep-char)]))])))
70 read-a-char peek-a-char
77 read-a-byte peek-a-byte
[all …]
/dports/lang/racket-minimal/racket-8.3/src/io/port/
H A Dspecial-input.rkt5 "read-and-peek.rkt"
11 peek-byte-or-special
12 read-char-or-special
13 peek-char-or-special)
37 (check who special-wrap-for-peek? #:contract special-wrap-for-peek/c-str special-wrap)
56 (define/who (read-char-or-special [in (current-input-port)]
61 (define c (read-a-char who in #:special-ok? #t))
63 [(char? c) c]
68 (define/who (peek-char-or-special [in (current-input-port)]
75 (define c (peek-a-char who in skip-k #:special-ok? #t))
[all …]
H A Dstring-input.rkt16 (provide read-char
20 peek-char
24 read-a-char
25 peek-a-char)
72 #:error-char #\uFFFD
206 [(b . fx< . 128) (integer->char b)]
250 (read-a-char who in)))
282 (define (peek-a-char who in skip-k #:special-ok? [special-ok? #f])
291 (if (fixnum? b) (integer->char b) b)]
300 (define/who (peek-char [in (current-input-port)] [skip-k 0])
[all …]
H A Dmain.rkt45 peek-byte
46 peek-bytes
47 peek-bytes!
54 read-char-or-special
55 peek-char-or-special
62 read-char
66 peek-char
67 peek-string
68 peek-string!
71 char-ready?
[all …]
H A Dline-input.rkt5 "read-and-peek.rkt"
21 read-a-char peek-a-char
22 as-char direct-string?)
37 (define (keep-char)
56 (eqv? (peek-a-char 'read-line in 0) (as-char #\linefeed)))
57 (read-a-char 'read-line in)
61 [else (keep-char)])]
65 [else (keep-char)]))])))
70 read-a-char peek-a-char
77 read-a-byte peek-a-byte
[all …]
/dports/www/firefox/firefox-99.0/third_party/rust/jsparagus-parser/src/
H A Dlexer.rs86 fn peek(&self) -> Option<char> { in peek() argument
142 const ZWJ: char = '\u{200d}';
152 const TAB: char = '\u{9}';
155 const VT: char = '\u{b}';
158 const FF: char = '\u{c}';
161 const SP: char = '\u{20}';
164 const NBSP: char = '\u{a0}';
170 const LF: char = '\u{a}';
173 const CR: char = '\u{d}';
176 const LS: char = '\u{2028}';
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/jsparagus-parser/src/
H A Dlexer.rs86 fn peek(&self) -> Option<char> { in peek() argument
142 const ZWJ: char = '\u{200d}';
152 const TAB: char = '\u{9}';
155 const VT: char = '\u{b}';
158 const FF: char = '\u{c}';
161 const SP: char = '\u{20}';
164 const NBSP: char = '\u{a0}';
170 const LF: char = '\u{a}';
173 const CR: char = '\u{d}';
176 const LS: char = '\u{2028}';
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/jsparagus-parser/src/
H A Dlexer.rs86 fn peek(&self) -> Option<char> { in peek() argument
142 const ZWJ: char = '\u{200d}';
152 const TAB: char = '\u{9}';
155 const VT: char = '\u{b}';
158 const FF: char = '\u{c}';
161 const SP: char = '\u{20}';
164 const NBSP: char = '\u{a0}';
170 const LF: char = '\u{a}';
173 const CR: char = '\u{d}';
176 const LS: char = '\u{2028}';
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/jsparagus-parser/src/
H A Dlexer.rs86 fn peek(&self) -> Option<char> { in peek() argument
142 const ZWJ: char = '\u{200d}';
152 const TAB: char = '\u{9}';
155 const VT: char = '\u{b}';
158 const FF: char = '\u{c}';
161 const SP: char = '\u{20}';
164 const NBSP: char = '\u{a0}';
170 const LF: char = '\u{a}';
173 const CR: char = '\u{d}';
176 const LS: char = '\u{2028}';
[all …]
/dports/www/habari/habari-0.8/system/classes/
H A Dhtmltokenizer.php123 private function peek() function in HTMLTokenizer
178 $char = $this->get();
179 if ( $char == '=' ) {
244 if ( ( $char == '/' && $this->peek() == '>' ) || in_array( $tag, self::$empty_elements ) ) {
246 if ( $char == '/' && $this->peek() == '>' ) {
266 if ( $char == '/' && $this->peek() == '>' ) {
282 $char = $this->get();
283 if ( $char == '[' ) {
293 elseif ( $char == '-' && $this->peek() == '-' ) {
314 if ( $this->peek() != '>' ) {
[all …]
/dports/textproc/py-citeproc-py/citeproc-py-0.6.0/citeproc/source/bibtex/latex/
H A D__init__.py38 for char in input_string:
39 if char == '\\':
41 elif char == '{':
43 elif char == '}':
45 elif char in ' \t\n':
47 elif char == '$':
50 yield Token(CHARACTER, char)
65 def peek(self): member in Tokenizer
72 while tokens.peek().type == WHITESPACE:
83 next_token = tokens.peek()
[all …]

12345678910>>...187