HomeSort by relevance Sort by last modified time
    Searched full:decode (Results 1 - 25 of 3619) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/harfbuzz_ng/test/shaping/
hb-unicode-decode 5 UtilMains.filter_multiple_strings_or_stdin (Unicode.decode, "UNICODE_STRING")
  /external/chromium_org/third_party/JSON/JSON-2.59/t/
17_relaxed.t 21 ok ('[1,2,3]' eq encode_json $json->decode (' [1,2, 3]'));
22 ok ('[1,2,4]' eq encode_json $json->decode ('[1,2, 4 , ]'));
23 ok (!eval { $json->decode ('[1,2, 3,4,,]') });
24 ok (!eval { $json->decode ('[,1]') });
26 ok ('{"1":2}' eq encode_json $json->decode (' {"1":2}'));
27 ok ('{"1":2}' eq encode_json $json->decode ('{"1":2,}'));
28 ok (!eval { $json->decode ('{,}') });
30 ok ('[1,2]' eq encode_json $json->decode ("[1#,2\n ,2,# ] \n\t]"));
e08_decode.t 2 # decode on Perl 5.005, 5.6, 5.8 or later
23 is($json->decode(q|"ü"|), "ü"); # utf8
24 is($json->decode(q|"\u00fc"|), "\xfc"); # latin1
25 is($json->decode(q|"\u00c3\u00bc"|), "\xc3\xbc"); # utf8
29 is($json->decode(q|"\u00e3\u0081\u0082"|), $str);
31 utf8::decode($str); # usually UTF-8 flagged on, but no-op for 5.005.
33 is($json->decode(q|"\u3042"|), $str);
36 my $utf8 = $json->decode(q|"\ud808\udf45"|); # chr 12345
e07_allow_singlequote.t 11 eval q| $json->decode("{'foo':'bar'}") |;
17 is($json->decode(q|{'foo':"bar"}|)->{foo}, 'bar');
18 is($json->decode(q|{'foo':'bar'}|)->{foo}, 'bar');
19 is($json->allow_barekey->decode(q|{foo:'bar'}|)->{foo}, 'bar');
02_error.t 24 eval { JSON->new->allow_nonref (1)->decode ('"\u1234\udc00"') }; ok $@ =~ /missing high /;
25 eval { JSON->new->allow_nonref->decode ('"\ud800"') }; ok $@ =~ /missing low /;
26 eval { JSON->new->allow_nonref (1)->decode ('"\ud800\u1234"') }; ok $@ =~ /surrogate pair /;
27 eval { JSON->new->decode ('null') }; ok $@ =~ /allow_nonref/;
28 eval { JSON->new->allow_nonref (1)->decode ('+0') }; ok $@ =~ /malformed/;
29 eval { JSON->new->allow_nonref->decode ('.2') }; ok $@ =~ /malformed/;
30 eval { JSON->new->allow_nonref (1)->decode ('bare') }; ok $@ =~ /malformed/;
31 eval { JSON->new->allow_nonref->decode ('naughty') }; ok $@ =~ /null/;
32 eval { JSON->new->allow_nonref (1)->decode ('01') }; ok $@ =~ /leading zero/;
33 eval { JSON->new->allow_nonref->decode ('00') }; ok $@ =~ /leading zero/
    [all...]
x02_error.t 27 eval { JSON->new->allow_nonref (1)->decode ('"\u1234\udc00"') }; ok $@ =~ /missing high /;
28 eval { JSON->new->allow_nonref->decode ('"\ud800"') }; ok $@ =~ /missing low /;
29 eval { JSON->new->allow_nonref (1)->decode ('"\ud800\u1234"') }; ok $@ =~ /surrogate pair /;
31 eval { JSON->new->decode ('null') }; ok $@ =~ /allow_nonref/;
32 eval { JSON->new->allow_nonref (1)->decode ('+0') }; ok $@ =~ /malformed/;
33 eval { JSON->new->allow_nonref->decode ('.2') }; ok $@ =~ /malformed/;
34 eval { JSON->new->allow_nonref (1)->decode ('bare') }; ok $@ =~ /malformed/;
35 eval { JSON->new->allow_nonref->decode ('naughty') }; ok $@ =~ /null/;
36 eval { JSON->new->allow_nonref (1)->decode ('01') }; ok $@ =~ /leading zero/;
37 eval { JSON->new->allow_nonref->decode ('00') }; ok $@ =~ /leading zero/
    [all...]
xe08_decode.t 2 # decode on Perl 5.005, 5.6, 5.8 or later
26 is($json->decode(q|"ü"|), "ü"); # utf8
27 is($json->decode(q|"\u00fc"|), "\xfc"); # latin1
28 is($json->decode(q|"\u00c3\u00bc"|), "\xc3\xbc"); # utf8
32 is($json->decode(q|"\u00e3\u0081\u0082"|), $str);
34 utf8::decode($str); # usually UTF-8 flagged on, but no-op for 5.005.
36 is($json->decode(q|"\u3042"|), $str);
39 my $utf8 = $json->decode(q|"\ud808\udf45"|); # chr 12345
12_blessed.t 35 ok ("ARRAY" eq ref $js->decode ("[]"));
36 ok (5 eq join ":", @{ $js->decode ('[{}]') });
37 ok (6 eq join ":", @{ $js->decode ('[{"a":6}]') });
38 ok (5 eq join ":", @{ $js->decode ('[{"a":4,"b":7}]') });
41 ok (7 == $js->decode ('[{"a":4,"b":7}]')->[0]{b});
42 ok (3 eq join ":", @{ $js->decode ('[{"a":3}]') });
45 ok (7 == $js->decode ('[{"a":4,"b":7}]')->[0]{b});
46 ok (9 eq join ":", @{ $js->decode ('[{"a":9}]') });
49 ok (4 == $js->decode ('[{"a":4}]')->[0]{a});
53 ok (4 == $js->decode ('[{"a":4}]')->[0]{a})
    [all...]
x12_blessed.t 35 ok ("ARRAY" eq ref $js->decode ("[]"));
36 ok (5 eq join ":", @{ $js->decode ('[{}]') });
37 ok (6 eq join ":", @{ $js->decode ('[{"a":6}]') });
38 ok (5 eq join ":", @{ $js->decode ('[{"a":4,"b":7}]') });
41 ok (7 == $js->decode ('[{"a":4,"b":7}]')->[0]{b});
42 ok (3 eq join ":", @{ $js->decode ('[{"a":3}]') });
45 ok (7 == $js->decode ('[{"a":4,"b":7}]')->[0]{b});
46 ok (9 eq join ":", @{ $js->decode ('[{"a":9}]') });
49 ok (4 == $js->decode ('[{"a":4}]')->[0]{a});
52 ok (4 == $js->decode ('[{"a":4}]')->[0]{a})
    [all...]
13_limit.t 18 ok (!eval { $js->decode (("[" x ($def + 1)) . ("]" x ($def + 1))) });
19 ok (ref $js->decode (("[" x $def) . ("]" x $def)));
20 ok (ref $js->decode (("{\"\":" x ($def - 1)) . "[]" . ("}" x ($def - 1))));
21 ok (!eval { $js->decode (("{\"\":" x $def) . "[]" . ("}" x $def)) });
23 ok (ref $js->max_depth (32)->decode (("[" x 32) . ("]" x 32)));
31 ok (eval { ref $js->max_size (8)->decode ("[ ]") });
32 eval { $js->max_size (8)->decode ("[ ]") }; ok ($@ =~ /max_size/);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
Encoder.java 7 * Encode and decode byte arrays (typically from binary to 7-bit ASCII
14 int decode(byte[] data, int off, int length, OutputStream out) throws IOException; method in interface:Encoder
16 int decode(String data, OutputStream out) throws IOException; method in interface:Encoder
  /development/samples/browseable/BasicMediaDecoder/
_index.jd 8 <p>This sample demonstrates how to decode a video using
  /external/chromium_org/content/common/gpu/media/
video_decode_accelerator_impl.h 19 // Returns true if VDA::Decode and VDA::Client callbacks can run on the IO
21 // running Decode on the IO thread is to reduce decode latency. Note Decode
  /external/llvm/test/MC/Disassembler/X86/
invalid-cmp-imm.txt 3 # This instruction would decode as cmpordps if the immediate byte was less than 8.
5 # This instruction would decode as cmpordpd if the immediate byte was less than 8.
7 # This instruction would decode as cmpordss if the immediate byte was less than 8.
9 # This instruction would decode as cmpordsd if the immediate byte was less than 8.
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/
big5.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,
big5hkscs.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,
cp932.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,
cp949.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,
cp950.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,
euc_jis_2004.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,
euc_jisx0213.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,
euc_jp.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,
euc_kr.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,
gb18030.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,
gb2312.py 14 decode = codec.decode variable in class:Codec
34 decode=Codec().decode,

Completed in 145 milliseconds

1 2 3 4 5 6 7 8 91011>>