Home
last modified time | relevance | path

Searched +refs:char +refs:set +refs:hex +refs:digit (Results 1 – 25 of 4165) sorted by relevance

12345678910>>...167

/dports/lang/chibi-scheme/chibi-scheme-0.10/lib/srfi/14/
H A Dtest.sld132 (char-set-intersection char-set:ascii char-set:digit)))
179 (char-set-intersection char-set:hex-digit
184 char-set:hex-digit))
187 (char-set-union char-set:hex-digit
191 char-set:hex-digit))
195 char-set:hex-digit))
198 char-set:hex-digit))
202 char-set:hex-digit))
205 char-set:hex-digit))
209 (char-set-diff+intersection char-set:hex-digit
[all …]
/dports/lang/racket/racket-8.3/collects/file/
H A Dsha1.rkt4 bytes->hex-string
5 hex-string->bytes)
10 (define (bytes->hex-string bstr)
13 [digit
20 (bytes-set! bstr2 (* 2 i) (digit (arithmetic-shift c -4)))
21 (bytes-set! bstr2 (+ (* 2 i) 1) (digit (bitwise-and c #xF)))))
24 (define (hex-string->bytes s)
29 (define (hex-char->int c)
38 (define high (hex-char->int (string-ref s (+ i i))))
39 (define low (hex-char->int (string-ref s (+ i i 1))))
[all …]
/dports/lang/racket-minimal/racket-8.3/collects/file/
H A Dsha1.rkt4 bytes->hex-string
5 hex-string->bytes)
10 (define (bytes->hex-string bstr)
13 [digit
20 (bytes-set! bstr2 (* 2 i) (digit (arithmetic-shift c -4)))
21 (bytes-set! bstr2 (+ (* 2 i) 1) (digit (bitwise-and c #xF)))))
24 (define (hex-string->bytes s)
29 (define (hex-char->int c)
38 (define high (hex-char->int (string-ref s (+ i i))))
39 (define low (hex-char->int (string-ref s (+ i i 1))))
[all …]
/dports/lang/chibi-scheme/chibi-scheme-0.10/lib/chibi/char-set/
H A Dfull.sld2 (define-library (chibi char-set full)
3 (import (chibi) (chibi iset base) (chibi char-set base))
4 (export char-set:lower-case char-set:upper-case char-set:title-case
5 char-set:letter char-set:digit char-set:letter+digit
6 char-set:graphic char-set:printing char-set:whitespace
7 char-set:iso-control char-set:punctuation char-set:symbol
8 char-set:hex-digit char-set:blank)
H A Dascii.sld2 (define-library (chibi char-set ascii)
3 (import (chibi) (chibi iset base) (chibi char-set base))
4 (export char-set:lower-case char-set:upper-case char-set:title-case
5 char-set:letter char-set:digit char-set:letter+digit
6 char-set:graphic char-set:printing char-set:whitespace
7 char-set:iso-control char-set:punctuation char-set:symbol
8 char-set:hex-digit char-set:blank)
/dports/lang/chibi-scheme/chibi-scheme-0.10/build-lib/chibi/char-set/
H A Dcompute.sld9 char-set:lower-case
10 char-set:upper-case
11 char-set:title-case
12 char-set:letter
14 char-set:symbol
15 char-set:blank
16 char-set:whitespace
17 char-set:digit
18 char-set:letter+digit
19 char-set:hex-digit
[all …]
/dports/lang/mosh/mosh-0.2.7/lib/srfi/
H A D%3a14.mosh.sls6 char-set:full
7 char-set:empty
8 char-set:ascii
9 char-set:blank
10 char-set:hex-digit
17 char-set:letter+digit
18 char-set:digit
46 ->char-set
55 char-set
68 char-set=
[all …]
/dports/lang/guile2/guile-2.2.7/test-suite/tests/
H A Dstrings.test202 (pass-if-exception "non-hex char in two-digit hex-escape"
206 (pass-if-exception "non-hex char in four-digit hex-escape"
210 (pass-if-exception "non-hex char in six-digit hex-escape"
214 (pass-if-exception "premature termination of two-digit hex-escape"
218 (pass-if-exception "premature termination of four-digit hex-escape"
222 (pass-if-exception "premature termination of six-digit hex-escape"
226 (pass-if "extra hex digits ignored for two-digit hex escape"
230 (pass-if "extra hex digits ignored for four-digit hex escape"
234 (pass-if "extra hex digits ignored for six-digit hex escape"
535 (pass-if "regular string, hex escaped BMP char"
[all …]
H A Dreader.test171 (string-set! str 0 #\H)
306 (pass-if-exception "non-hex char in two-digit hex-escape"
312 (pass-if-exception "non-hex char in four-digit hex-escape"
318 (pass-if-exception "non-hex char in six-digit hex-escape"
336 (pass-if "two-digit hex escape"
343 (pass-if "four-digit hex escape"
350 (pass-if "six-digit hex escape"
393 (pass-if "one-digit hex escape"
397 (pass-if "two-digit hex escape"
401 (pass-if "four-digit hex escape"
[all …]
H A Dsrfi-14.test665 (pass-if "char-set:digit"
667 char-set:digit))
669 (pass-if "char-set:hex-digit"
671 char-set:hex-digit))
673 (pass-if "char-set:letter+digit"
782 (pass-if "char-set:digit"
784 char-set:digit))
786 (pass-if "char-set:hex-digit"
788 char-set:hex-digit))
793 char-set:digit)
[all …]
/dports/lang/guile/guile-3.0.7/test-suite/tests/
H A Dstrings.test199 (pass-if-exception "non-hex char in two-digit hex-escape"
203 (pass-if-exception "non-hex char in four-digit hex-escape"
207 (pass-if-exception "non-hex char in six-digit hex-escape"
211 (pass-if-exception "premature termination of two-digit hex-escape"
215 (pass-if-exception "premature termination of four-digit hex-escape"
219 (pass-if-exception "premature termination of six-digit hex-escape"
223 (pass-if "extra hex digits ignored for two-digit hex escape"
227 (pass-if "extra hex digits ignored for four-digit hex escape"
231 (pass-if "extra hex digits ignored for six-digit hex escape"
532 (pass-if "regular string, hex escaped BMP char"
[all …]
H A Dreader.test172 (string-set! str 0 #\H)
334 (pass-if-exception "non-hex char in two-digit hex-escape"
340 (pass-if-exception "non-hex char in four-digit hex-escape"
346 (pass-if-exception "non-hex char in six-digit hex-escape"
364 (pass-if "two-digit hex escape"
371 (pass-if "four-digit hex escape"
378 (pass-if "six-digit hex escape"
421 (pass-if "one-digit hex escape"
425 (pass-if "two-digit hex escape"
429 (pass-if "four-digit hex escape"
[all …]
H A Dsrfi-14.test665 (pass-if "char-set:digit"
667 char-set:digit))
669 (pass-if "char-set:hex-digit"
671 char-set:hex-digit))
673 (pass-if "char-set:letter+digit"
782 (pass-if "char-set:digit"
784 char-set:digit))
786 (pass-if "char-set:hex-digit"
788 char-set:hex-digit))
793 char-set:digit)
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/srfi-lib/srfi/
H A D%3a14.rkt4 (list->char-set srfi14:list->char-set)
5 (list->char-set! srfi14:list->char-set!)
6 (char-set->list srfi14:char-set->list))
9 (provide char-set?
11 char-set=
12 char-set<=
15 char-set-ref
24 char-set
61 char-set:digit
62 char-set:letter+digit
[all …]
/dports/math/singular/Singular-Release-4-2-1/ppcc/src/
H A Dpplex.re.in1 // vim:set ft=cpp:
4 #include "adlib/set.h"
15 Str *Intern(const char *ptr, Int len) {
45 const char *cursor = input->c_str();
46 const char *marker = NULL;
47 const char *ctxmarker = NULL;
53 const char *last = cursor;
64 hex = [0-9a-fA-F];
87 '0x' hex+ intsuffix { PUSH_TOKEN(SymLiteral); }
116 "#" sp* digit+ "\"" anystr* "\"" (sp | digit)* {
[all …]
H A Dpplex.re1 // vim:set ft=cpp:
4 #include "adlib/set.h"
11 const char *SymbolNames[] = {
49 Str *Intern(const char *ptr, Int len) {
80 const char *marker = NULL;
81 const char *ctxmarker = NULL;
87 const char *last = cursor;
98 hex = [0-9a-fA-F];
129 '0x' hex+ intsuffix { PUSH_TOKEN(SymLiteral); }
158 "#" sp* digit+ "\"" anystr* "\"" (sp | digit)* {
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/typed-racket-more/typed/srfi/
H A D14.rkt13 [char-set-hash
83 [char-set:digit Char-Set]
84 [char-set:letter+digit Char-Set]
91 [char-set:hex-digit Char-Set]
121 (char-set-unfold p f g seed char-set:empty)]
153 char-set?
154 char-set=
171 char-set
214 char-set:digit
215 char-set:letter+digit
[all …]
/dports/lang/racket/racket-8.3/collects/openssl/
H A Dmd5.rkt41 (bytes->hex-string (md5-bytes in)))
45 (define (bytes->hex-string bstr)
48 [digit
51 (+ v (char->integer #\0))
52 (+ v (- (char->integer #\a) 10))))])
55 (bytes-set! bstr2 (* 2 i) (digit (arithmetic-shift c -4)))
56 (bytes-set! bstr2 (+ (* 2 i) 1) (digit (bitwise-and c #xF)))))
/dports/lang/racket-minimal/racket-8.3/collects/openssl/
H A Dmd5.rkt41 (bytes->hex-string (md5-bytes in)))
45 (define (bytes->hex-string bstr)
48 [digit
51 (+ v (char->integer #\0))
52 (+ v (- (char->integer #\a) 10))))])
55 (bytes-set! bstr2 (* 2 i) (digit (arithmetic-shift c -4)))
56 (bytes-set! bstr2 (+ (* 2 i) 1) (digit (bitwise-and c #xF)))))
/dports/lang/racket/racket-8.3/collects/json/
H A Dmain.rkt152 (if first? (set! first? #f) (write-bytes #"," o))
212 (string-set! result pos c)
240 (bytes-set! buf end c)
256 (define (get-hex)
265 (define (hex-convert c)
277 (hex-convert c4)))
278 (define e (get-hex))
286 (define e2 (get-hex))
393 [(digit-byte? c)
418 [(digit-byte? c)
[all …]
/dports/lang/racket-minimal/racket-8.3/collects/json/
H A Dmain.rkt152 (if first? (set! first? #f) (write-bytes #"," o))
212 (string-set! result pos c)
240 (bytes-set! buf end c)
256 (define (get-hex)
265 (define (hex-convert c)
277 (hex-convert c4)))
278 (define e (get-hex))
286 (define e2 (get-hex))
393 [(digit-byte? c)
418 [(digit-byte? c)
[all …]
/dports/lang/mosh/mosh-0.2.7/lib/srfi/%3a14/
H A Dchar-sets.sls29 char-set? char-set= char-set<= char-set-hash
31 char-set-cursor char-set-ref char-set-cursor-next end-of-char-set?
32 char-set-fold char-set-unfold char-set-unfold!
35 char-set-copy char-set
43 char-set-size char-set-count char-set-contains?
44 char-set-every char-set-any
48 char-set-complement char-set-union char-set-intersection
49 char-set-complement! char-set-union! char-set-intersection!
54 char-set:letter char-set:digit char-set:letter+digit
56 char-set:iso-control char-set:punctuation char-set:symbol
[all …]
/dports/lang/racket/racket-8.3/src/expander/read/
H A Dstring.rkt9 "digit.rkt")
63 (define init-v (digit->number escaped-c))
72 (set-accum-string-count! accum-str pos)
78 (unless (integer? v) (no-hex-digits in config v escaping-c escaped-c))
79 (set-accum-string-count! accum-str pos)
86 (unless (integer? v) (no-hex-digits in config v escaping-c escaped-c))
90 (set-accum-string-count! accum-str pos)
126 (set-accum-string-count! accum-str pos)
141 (set-accum-string-count! accum-str pos)
231 (define (no-hex-digits in config c escaping-c escaped-c)
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/read/
H A Dstring.rkt9 "digit.rkt")
63 (define init-v (digit->number escaped-c))
72 (set-accum-string-count! accum-str pos)
78 (unless (integer? v) (no-hex-digits in config v escaping-c escaped-c))
79 (set-accum-string-count! accum-str pos)
86 (unless (integer? v) (no-hex-digits in config v escaping-c escaped-c))
90 (set-accum-string-count! accum-str pos)
126 (set-accum-string-count! accum-str pos)
141 (set-accum-string-count! accum-str pos)
231 (define (no-hex-digits in config c escaping-c escaped-c)
[all …]
/dports/lang/chibi-scheme/chibi-scheme-0.10/lib/srfi/
H A D14.sld4 char-set? char-set= char-set<=
6 char-set-cursor char-set-ref char-set-cursor-next end-of-char-set?
7 char-set-fold char-set-unfold char-set-unfold!
8 char-set-for-each char-set-map
9 char-set-copy char-set
11 list->char-set string->char-set
14 char-set-filter ucs-range->char-set ->char-set
19 char-set-size char-set-count char-set-contains?
20 char-set-every char-set-any
32 char-set:letter char-set:digit char-set:letter+digit
[all …]

12345678910>>...167