Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 25 of 1695) sorted by relevance

12345678910>>...68

/external/libchrome/base/third_party/nspr/
Dprtime.cc475 const char *rest = string; in PR_ParseTimeString() local
482 while (*rest) in PR_ParseTimeString()
490 switch (*rest) in PR_ParseTimeString()
494 (rest[1] == 'p' || rest[1] == 'P') && in PR_ParseTimeString()
495 (rest[2] == 'r' || rest[2] == 'R')) in PR_ParseTimeString()
498 (rest[1] == 's' || rest[1] == 'S') && in PR_ParseTimeString()
499 (rest[2] == 't' || rest[2] == 'T')) in PR_ParseTimeString()
502 (rest[1] == 'u' || rest[1] == 'U') && in PR_ParseTimeString()
503 (rest[2] == 'g' || rest[2] == 'G')) in PR_ParseTimeString()
508 (rest[1] == 's' || rest[1] == 'S') && in PR_ParseTimeString()
[all …]
/external/rust/crates/serde_json/src/
Dmacros.rs88 (@array [$($elems:expr,)*] null $($rest:tt)*) => {
89 json_internal!(@array [$($elems,)* json_internal!(null)] $($rest)*)
93 (@array [$($elems:expr,)*] true $($rest:tt)*) => {
94 json_internal!(@array [$($elems,)* json_internal!(true)] $($rest)*)
98 (@array [$($elems:expr,)*] false $($rest:tt)*) => {
99 json_internal!(@array [$($elems,)* json_internal!(false)] $($rest)*)
103 (@array [$($elems:expr,)*] [$($array:tt)*] $($rest:tt)*) => {
104 json_internal!(@array [$($elems,)* json_internal!([$($array)*])] $($rest)*)
108 (@array [$($elems:expr,)*] {$($map:tt)*} $($rest:tt)*) => {
109 json_internal!(@array [$($elems,)* json_internal!({$($map)*})] $($rest)*)
[all …]
/external/rust/crates/nom/src/branch/
Dmacros.rs167 (__impl $i:expr, $submac:ident!( $($args:tt)* ), $($rest:tt)* ) => (
177 (__impl $i:expr, $e:path, $($rest:tt)* ) => (
178 alt!(__impl $i, call!($e) , $($rest)*);
180 (__impl $i:expr, $e:path | $($rest:tt)*) => (
181 alt!(__impl $i, call!($e) | $($rest)*);
184 (__impl $i:expr, $subrule:ident!( $($args:tt)*) | $($rest:tt)*) => (
194 let out = alt!(__impl $i, $($rest)*);
211 (__impl $i:expr, $subrule:ident!( $($args:tt)* ) => { $gen:expr } | $($rest:tt)*) => (
220 let out = alt!(__impl $i, $($rest)*);
236 (__impl $i:expr, $e:path => { $gen:expr } | $($rest:tt)*) => (
[all …]
/external/python/pyasn1-modules/tests/
Dtest_rfc2985.py127 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
128 assert not rest
140 av, rest = der_decode(attr['values'][0],
142 assert not rest
149 outdata, rest = der_decode(av['authSafe']['content'],
151 assert not rest
152 authsafe, rest = der_decode(outdata,
154 assert not rest
158 indata, rest = der_decode(ci['content'],
160 assert not rest
[all …]
Dtest_rfc3279.py61 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
62 assert not rest
70 pk, rest = der_decode(spki_pk, asn1Spec=rfc3279.RSAPublicKey())
71 assert not rest
81 asn1Object, rest = der_decode(substrate,
84 assert not rest
122 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
123 assert not rest
130 spki_a_p, rest = der_decode(spki_a['parameters'],
132 assert not rest
[all …]
Dtest_rfc7292.py82 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
83 assert not rest
94 data, rest = der_decode(asn1Object['authSafe']['content'],
96 assert not rest
98 authsafe, rest = der_decode(data, asn1Spec=rfc7292.AuthenticatedSafe())
99 assert not rest
105 data, rest = der_decode(ci['content'], asn1Spec=univ.OctetString())
106 assert not rest
108 sc, rest = der_decode(data, asn1Spec=rfc7292.SafeContents())
109 assert not rest
[all …]
Dtest_rfc7191.py66 asn1Object, rest = der_decode (substrate, asn1Spec=self.asn1Spec)
67 assert not rest
72 sd, rest = der_decode (asn1Object['content'],
80 sav, rest = der_decode(sav0,
82 assert not rest
92 asn1Object, rest = der_decode (substrate,
95 assert not rest
141 asn1Object, rest = der_decode (substrate, asn1Spec=self.asn1Spec)
142 assert not rest
147 sd, rest = der_decode (asn1Object['content'],
[all …]
Dtest_rfc5035.py64 asn1Object, rest = der_decode (substrate, asn1Spec=self.asn1Spec)
65 assert not rest
70 sd, rest = der_decode(asn1Object['content'], asn1Spec=rfc5652.SignedData())
71 assert not rest
80 sav, rest = der_decode(sav0, asn1Spec=rfc5652.cmsAttributesMap[sat])
81 assert not rest
119 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
120 assert not rest
125 sd, rest = der_decode (asn1Object['content'], asn1Spec=rfc5652.SignedData())
126 assert not rest
[all …]
Dtest_rfc2634.py61 asn1Object, rest = der_decode (substrate, asn1Spec=self.asn1Spec)
62 assert not rest
67 sd, rest = der_decode(asn1Object['content'], asn1Spec=rfc5652.SignedData())
68 assert not rest
77 sav, rest = der_decode(sav0, asn1Spec=rfc5652.cmsAttributesMap[sat])
78 assert not rest
119 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
120 assert not rest
125 sd, rest = der_decode (asn1Object['content'], asn1Spec=rfc5652.SignedData())
126 assert not rest
[all …]
Dtest_rfc4055.py34 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
35 assert not rest
43 asn1Object, rest = der_decoder.decode(substrate,
46 assert not rest
60 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
61 assert not rest
69 asn1Object, rest = der_decoder.decode(substrate,
72 assert not rest
87 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
88 assert not rest
[all …]
Dtest_rfc6960.py39 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
40 assert not rest
49 ev, rest = der_decode(extn['extnValue'],
51 assert not rest
60 asn1Object, rest = der_decode(substrate,
63 assert not rest
105 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
106 assert not rest
113 resp, rest = der_decode(rb['response'],
115 assert not rest
[all …]
Dtest_rfc5755.py53 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
54 assert not rest
62 av, rest = der_decode(attr['values'][0],
64 assert not rest
73 asn1Object, rest = der_decode(substrate,
76 assert not rest
120 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
121 assert not rest
129 ev, rest = der_decode(extn['extnValue'],
131 assert not rest
[all …]
/external/python/cryptography/src/cryptography/hazmat/primitives/serialization/
Dssh.py44 inner_key_type, rest = _ssh_read_next_string(decoded_data)
51 return loader(key_type, rest, backend)
55 e, rest = _ssh_read_next_mpint(decoded_data)
56 n, rest = _ssh_read_next_mpint(rest)
58 if rest:
65 p, rest = _ssh_read_next_mpint(decoded_data)
66 q, rest = _ssh_read_next_mpint(rest)
67 g, rest = _ssh_read_next_mpint(rest)
68 y, rest = _ssh_read_next_mpint(rest)
70 if rest:
[all …]
/external/rust/crates/proc-macro-nested/src/
Dlib.rs54 ((($($first:tt)*) $($rest:tt)*) $($bang:tt)*) => {
55 $crate::dispatch!(($($first)* $($rest)*) $($bang)*)
57 (([$($first:tt)*] $($rest:tt)*) $($bang:tt)*) => {
58 $crate::dispatch!(($($first)* $($rest)*) $($bang)*)
60 (({$($first:tt)*} $($rest:tt)*) $($bang:tt)*) => {
61 $crate::dispatch!(($($first)* $($rest)*) $($bang)*)
63 ((! $($rest:tt)*) $($bang:tt)*) => {
64 $crate::dispatch!(($($rest)*) $($bang)* !)
66 ((!= $($rest:tt)*) $($bang:tt)*) => {
67 $crate::dispatch!(($($rest)*) $($bang)* !)
[all …]
/external/rust/crates/anyhow/src/
Dchain.rs22 rest: vec::IntoIter<&'a (dyn StdError + 'static)>,
45 Buffered { rest } => rest.next(), in next()
60 let mut rest = Vec::new(); in next_back() localVariable
63 rest.push(cause); in next_back()
65 let mut rest = rest.into_iter(); in next_back() localVariable
66 let last = rest.next_back(); in next_back()
67 self.state = Buffered { rest }; in next_back()
70 Buffered { rest } => rest.next_back(), in next_back()
87 Buffered { rest } => rest.len(), in len()
97 rest: Vec::new().into_iter(), in default()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_symbolizer_test.cpp21 const char *rest; in TEST() local
23 rest = ExtractToken("a;b;c", ";", &token); in TEST()
25 EXPECT_STREQ("b;c", rest); in TEST()
28 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token); in TEST()
30 EXPECT_STREQ("bbb.ccc", rest); in TEST()
36 const char *rest = ExtractInt("123,456;789", ";,", &token); in TEST() local
38 EXPECT_STREQ("456;789", rest); in TEST()
43 const char *rest = ExtractUptr("123,456;789", ";,", &token); in TEST() local
45 EXPECT_STREQ("456;789", rest); in TEST()
50 const char *rest = in TEST() local
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_symbolizer_test.cc22 const char *rest; in TEST() local
24 rest = ExtractToken("a;b;c", ";", &token); in TEST()
26 EXPECT_STREQ("b;c", rest); in TEST()
29 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token); in TEST()
31 EXPECT_STREQ("bbb.ccc", rest); in TEST()
37 const char *rest = ExtractInt("123,456;789", ";,", &token); in TEST() local
39 EXPECT_STREQ("456;789", rest); in TEST()
44 const char *rest = ExtractUptr("123,456;789", ";,", &token); in TEST() local
46 EXPECT_STREQ("456;789", rest); in TEST()
51 const char *rest = in TEST() local
[all …]
/external/rust/crates/proc-macro2/src/
Dparse.rs10 pub rest: &'a str, field
17 let (_front, rest) = self.rest.split_at(bytes); in advance()
19 rest, in advance()
26 self.rest.starts_with(s) in starts_with()
30 self.rest.is_empty() in is_empty()
34 self.rest.len() in len()
38 self.rest.as_bytes() in as_bytes()
42 self.rest.bytes() in bytes()
46 self.rest.chars() in chars()
50 self.rest.char_indices() in char_indices()
[all …]
/external/rust/crates/proc-macro-error/src/
Dmacros.rs16 ($span:expr, $level:expr, $fmt:expr, $($args:expr),+ ; $($rest:tt)+) => {{
32 $crate::__pme__suggestions!(diag $($rest)*);
36 ($span:expr, $level:expr, $msg:expr ; $($rest:tt)+) => {{
48 $crate::__pme__suggestions!(diag $($rest)*);
88 ($span:expr, $level:expr, $fmt:expr, $($args:expr),+, ; $($rest:tt)+) => {
89 $crate::diagnostic!($span, $level, $fmt, $($args),* ; $($rest)*)
91 ($span:expr, $level:expr, $msg:expr, ; $($rest:tt)+) => {
92 $crate::diagnostic!($span, $level, $msg ; $($rest)*)
215 ($var:ident $help:ident =? $msg:expr ; $($rest:tt)*) => {
217 $crate::__pme__suggestions!($var $($rest)*);
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/profiling/microbenchmarks/
Dbm_json.py137 rest = name
141 if '<' in rest:
142 tpl_bit = rest[rest.find('<') + 1:rest.rfind('>')]
161 rest = rest[:rest.find('<')] + rest[rest.rfind('>') + 1:]
162 if '/' in rest:
163 s = rest.split('/')
164 rest = s[0]
166 name = rest
/external/grpc-grpc/tools/profiling/microbenchmarks/
Dbm_json.py137 rest = name
141 if '<' in rest:
142 tpl_bit = rest[rest.find('<') + 1:rest.rfind('>')]
161 rest = rest[:rest.find('<')] + rest[rest.rfind('>') + 1:]
162 if '/' in rest:
163 s = rest.split('/')
164 rest = s[0]
166 name = rest
/external/fonttools/Lib/fontTools/
DafmLib.py167 rest = line[pos:].strip()
171 self.parsechar(rest)
173 self.parsekernpair(rest)
175 self.parsecomposite(rest)
177 self.parseattr(word, rest)
179 def parsechar(self, rest): argument
180 m = charRE.match(rest)
182 raise error("syntax error in AFM file: " + repr(rest))
185 things.append(rest[fr:to])
191 def parsekernpair(self, rest): argument
[all …]
/external/rust/crates/nom/src/
Dwhitespace.rs144 ($i:expr, $separator:path, $submac1:ident!( $($args1:tt)* ), $($rest:tt)+) => ({
147 match tuple_sep!($i, $separator, (), $submac1!($($args1)*), $($rest)+) {
154 ($i:expr, $separator:path, $f:expr, $($rest:tt)+) => (
155 delimited_sep!($i, $separator, call!($f), $($rest)+);
162 ($i:expr, $separator:path, $submac1:ident!( $($args1:tt)* ), $($rest:tt)+) => ({
165 match tuple_sep!($i, $separator, (), $submac1!($($args1)*), $($rest)+) {
172 ($i:expr, $separator:path, $f:expr, $($rest:tt)+) => (
173 separated_pair_sep!($i, $separator, call!($f), $($rest)+);
229 ($i:expr, $separator:path, ($($parsed:tt),*), $e:path, $($rest:tt)*) => (
230 tuple_sep!($i, $separator, ($($parsed),*), call!($e), $($rest)*);
[all …]
/external/boringssl/src/ssl/test/runner/
Dshim_ticket.go121 func parseDERElement(in []byte) (tag byte, body, rest []byte, ok bool) {
122 rest = in
123 if len(rest) < 1 {
127 tag = rest[0]
128 rest = rest[1:]
135 if len(rest) < 1 {
139 length := int(rest[0])
140 rest = rest[1:]
151 if len(rest) < 1 || (length<<8)>>8 != length {
154 if length == 0 && rest[0] == 0 {
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_mac.cc98 const char *rest = trim; in ParseCommandOutput() local
100 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name); in ParseCommandOutput()
101 if (rest[0] == '\0') { in ParseCommandOutput()
111 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module); in ParseCommandOutput()
113 if (rest[0] == '(') { in ParseCommandOutput()
115 rest++; in ParseCommandOutput()
116 rest = ExtractTokenUpToDelimiter(rest, ":", out_file); in ParseCommandOutput()
118 rest = ExtractTokenUpToDelimiter(rest, ")", &extracted_line_number); in ParseCommandOutput()
122 } else if (rest[0] == '+') { in ParseCommandOutput()
123 rest += 2; in ParseCommandOutput()
[all …]

12345678910>>...68