Home
last modified time | relevance | path

Searched refs:ascii (Results 1 – 25 of 199) sorted by relevance

12345678

/openbsd/gnu/usr.bin/perl/cpan/Encode/t/
H A Dfallback.t52 my $ascii = find_encoding('ascii');
58 is($dst, $af, "FB_DEFAULT ascii");
68 like($@, qr/does not map to ascii/o, "FB_CROAK ascii");
69 is($src, $uo, "FB_CROAK residue ascii");
78 is($@, '', "FB_CROAK on success ascii");
87 $dst = $ascii->encode($src, FB_QUIET);
88 is($dst, $aq, "FB_QUIET ascii");
102 is($dst, $aq, "FB_WARN ascii");
104 like($message, qr/does not map to ascii/o, "FB_WARN message ascii");
116 is($dst, $af, "WARN_ON_ERR ascii");
[all …]
H A Drt85489.t25 my $ascii = Encode::find_encoding("ascii");
29 ok !Encode::is_utf8($str), "UTF8 flag is not set on input string before ascii encode";
30 $ascii->encode($str);
31 ok !Encode::is_utf8($str), "UTF8 flag is not set on input string after ascii encode";
35 Encode::encode("ascii", $str);
40 ok Encode::is_utf8($str), "UTF8 flag is set on input string before ascii decode";
41 $ascii->decode($str);
42 ok Encode::is_utf8($str), "UTF8 flag is set on input string after ascii decode";
46 ok Encode::is_utf8($str), "UTF8 flag is set on input string before Encode::decode ascii";
47 Encode::decode("ascii", $str);
[all …]
H A Dmime-header.t86 "=?us-ascii?q?foo?= =?us-ascii?q?bar?=" => "foobar",
87 "=?us-ascii?q?foo?=\r\n =?us-ascii?q?bar?=" => "foobar",
122 "=?us-ascii?q?foo?==?us-ascii?q?bar?=" => "foobar",
124 "foo =?us-ascii?q?=20?==?us-ascii?q?bar?=" => "foo bar",
150 "=?us-ascii?q?foo bar?=" => "=?us-ascii?q?foo bar?=",
151 "=?us-ascii?q?foo\r\n bar?=" => "=?us-ascii?q?foo bar?=",
155 "=?us-ascii?q?foo=?=" => "=?us-ascii?q?foo=?=",
156 "=?us-ascii?q?foo=?= =?us-ascii?q?foo?=" => "=?us-ascii?q?foo=?= foo",
158 "=?us-ascii?b?----?=" => "=?us-ascii?b?----?=",
159 …"=?us-ascii?b?Zm8=-?= =?us-ascii?b?Zm9v?= and =?us-ascii?b?Zg==?=" => "=?us-ascii?b?Zm8=-?= foo an…
[all …]
H A Dguess.t23 my $ascii = join('' => map {chr($_)}(0x21..0x7e));
31 is(guess_encoding($ascii)->name, 'ascii', 'ascii');
32 like(guess_encoding($latin1), qr/No appropriate encoding/io, 'no ascii');
113 is(guess_encoding($test, ($jp))->name, 'ascii',
114 "ascii vs $jp (\$1 messed)");
117 $jp, "$jp vs ascii (\$1 messed)");
/openbsd/gnu/usr.bin/perl/cpan/podlators/t/data/snippets/text/
H A Dlate-encoding9 This is the first ascii text
15 =item ⇒This is the first non-ascii text⇐
17 This is the second ascii text
25 This is the first ascii text
27 ⇒This is the first non-ascii text⇐
28 This is the second ascii text
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/gdb.dwarf2/
H A Ddw2-intercu.S53 .ascii "file1.txt\0" /* DW_AT_name */
54 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */
62 .ascii "func_cu1\0" /* DW_AT_name */
84 .ascii "file1.txt\0" /* DW_AT_name */
85 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */
90 .ascii "int\0" /* DW_AT_name */
207 .ascii "file1.txt\0"
H A Ddw2-basic.S53 .ascii "file1.txt\0" /* DW_AT_name */
54 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */
62 .ascii "func_cu1\0" /* DW_AT_name */
71 .ascii "int\0" /* DW_AT_name */
172 .ascii "file1.txt\0"
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Dwinduni.c43 unicode_from_ascii (int *length, unichar **unicode, const char *ascii) in unicode_from_ascii() argument
50 len = strlen (ascii); in unicode_from_ascii()
52 for (s = ascii, w = *unicode; *s != '\0'; s++, w++) in unicode_from_ascii()
59 len = MultiByteToWideChar (CP_ACP, 0, ascii, -1, NULL, 0); in unicode_from_ascii()
63 MultiByteToWideChar (CP_ACP, 0, ascii, -1, *unicode, len); in unicode_from_ascii()
/openbsd/regress/lib/libedit/chared/
H A DMakefile6 CLEANFILES += out_gets.utf8 out_gets.ascii
11 LC_ALL=C ./test_gets < ${.CURDIR}/inp_gets.txt > out_gets.ascii
12 diff -u ${.CURDIR}/exp_gets.ascii out_gets.ascii
/openbsd/regress/usr.bin/rev/
H A DMakefile3 CLEANFILES = out.ascii.txt out.utf8.txt
7 LC_ALL=C rev ${.CURDIR}/in.txt > out.ascii.txt
8 diff -u ${.CURDIR}/exp.ascii.txt out.ascii.txt
/openbsd/gnu/llvm/lldb/utils/lui/
H A Dcui.py10 import curses.ascii
159 if event == curses.ascii.NL:
304 if key == curses.ascii.NL:
306 elif key == curses.ascii.TAB:
308 elif curses.ascii.isprint(key):
312 elif key == curses.KEY_BACKSPACE or key == curses.ascii.BS:
317 elif key == curses.KEY_DC or key == curses.ascii.DEL or key == curses.ascii.EOT:
320 elif key == curses.ascii.VT: # CTRL-K
328 elif key == curses.ascii.SOH: # CTRL-A
330 elif key == curses.ascii.ENQ: # CTRL-E
[all …]
H A Dbreakwin.py31 if event == curses.ascii.NL or event == curses.ascii.SP:
33 elif event == curses.ascii.TAB:
/openbsd/regress/usr.bin/mandoc/roff/esc/
H A DE1.out_ascii11 output device: ascii ascii ascii ascii
/openbsd/gnu/usr.bin/binutils/binutils/
H A Dwinduni.c43 unicode_from_ascii (int *length, unichar **unicode, const char *ascii) in unicode_from_ascii() argument
49 len = strlen (ascii); in unicode_from_ascii()
59 MultiByteToWideChar (CP_ACP, 0, ascii, len + 1, *unicode, len + 1); in unicode_from_ascii()
61 for (s = ascii, w = *unicode; *s != '\0'; s++, w++) in unicode_from_ascii()
/openbsd/usr.bin/file/magdir/
H A Dgrace9 # ACE/gr ascii
10 0 string #\ xvgr\ parameter\ file ACE/gr ascii file
11 0 string #\ xmgr\ parameter\ file ACE/gr ascii file
12 0 string #\ ACE/gr\ parameter\ file ACE/gr ascii file
/openbsd/sys/arch/riscv64/stand/efiboot/
H A Dstart.S47 .ascii "MZ"
55 .ascii "PE"
109 .ascii ".reloc"
124 .ascii ".text"
/openbsd/sys/arch/arm64/stand/efiboot/
H A Dstart.S50 .ascii "MZ"
58 .ascii "PE"
112 .ascii ".text"
128 .ascii ".data"
/openbsd/usr.bin/mandoc/
H A Dchars.c36 const char *ascii; member
491 *rsz = strlen(ln->ascii); in mchars_spec2str()
492 return ln->ascii; in mchars_spec2str()
502 return lines[i].ascii; in mchars_uc2str()
/openbsd/sys/arch/armv7/stand/efiboot/
H A Dstart.S49 .ascii "MZ"
57 .ascii "PE"
112 .ascii ".reloc"
127 .ascii ".text"
/openbsd/gnu/usr.bin/perl/cpan/JSON-PP/t/
H A D099_binary.pl24 $js = JSON::PP->new->allow_nonref(0)->utf8->ascii->shrink->encode ([$_[0]]);
26 $js = JSON::PP->new->allow_nonref(0)->utf8->ascii->encode ([$_[0]]);
34 $js = JSON::PP->new->allow_nonref(1)->ascii->encode ([$_[0]]);
36 $js = JSON::PP->new->allow_nonref(0)->ascii->encode ([$_[0]]);
/openbsd/lib/libc/stdlib/
H A Datof.c34 atof(const char *ascii) in atof() argument
36 return(strtod(ascii, (char **)NULL)); in atof()
/openbsd/gnu/usr.bin/perl/t/re/
H A Dreg_email.t31 (?<dtext> (?&NO_WS_CTL) | (?[ [:ascii:] & [:graph:] & [^][ \\ ] ]))
38 (?<text> (?[ [:ascii:] & [^ \000 \n \r ] ]))
41 (?<qtext> (?&NO_WS_CTL) | (?[ [:ascii:] & [:graph:] & [^ " \\ ] ]))
/openbsd/regress/usr.bin/mandoc/char/unicode/
H A DMakefile3 REGRESS_TARGETS = ascii input invalid latin1 latin1diff
7 HTML_TARGETS = ascii invalid latin1 latin1diff named namediff nogroff
/openbsd/regress/usr.bin/mandoc/db/
H A DMakefile9 ascii utf8 html markdown tman lint: target
11 ascii-clean utf8-clean html-clean markdown-clean tman-clean lint-clean:
/openbsd/regress/usr.bin/mandoc/
H A DMakefile.sub3 _MAIN_TARGETS = ascii utf8 tman lint html markdown htmlval
4 _CLEAN_TARGETS = ascii-clean utf8-clean tman-clean lint-clean \

12345678