• Home
  • Raw
  • Download

Lines Matching +full:concat +full:- +full:map

7 //      http://www.apache.org/licenses/LICENSE-2.0
29 concat!( in test_cwt_encode()
30 "a1", // 1-map in test_cwt_encode()
31 "01", "63", "616263" // 1 (iss) => 3-tstr in test_cwt_encode()
34 (ClaimsSetBuilder::new().build(), concat!("a0")), in test_cwt_encode()
44 .private_claim(-70_000, Value::Integer(0.into())) in test_cwt_encode()
46 concat!( in test_cwt_encode()
47 "a8", // 8-map in test_cwt_encode()
50 "616161", // 1 (iss) => 3-tstr in test_cwt_encode()
53 "6262", // 2 (sub) => 2-tstr in test_cwt_encode()
56 "63", // 3 (aud) => 1-tstr in test_cwt_encode()
69 "00" // -70000 => uint in test_cwt_encode()
76 Value::Map(vec![(Value::Integer(0.into()), Value::Integer(0.into()))]), in test_cwt_encode()
79 concat!( in test_cwt_encode()
80 "a1", // 1-map in test_cwt_encode()
88 concat!( in test_cwt_encode()
89 "a1", // 1-map in test_cwt_encode()
97 concat!( in test_cwt_encode()
98 "a1", // 1-map in test_cwt_encode()
120 concat!( in test_cwt_decode_fail()
121 "81", // 1-arr in test_cwt_decode_fail()
124 "expected map", in test_cwt_decode_fail()
127 concat!( in test_cwt_decode_fail()
128 "a1", // 1-map in test_cwt_decode_fail()
134 concat!( in test_cwt_decode_fail()
135 "a1", // 1-map in test_cwt_decode_fail()
141 concat!( in test_cwt_decode_fail()
142 "a1", // 1-map in test_cwt_decode_fail()
148 concat!( in test_cwt_decode_fail()
149 "a1", // 1-map in test_cwt_decode_fail()
155 concat!( in test_cwt_decode_fail()
156 "a1", // 1-map in test_cwt_decode_fail()
162 concat!( in test_cwt_decode_fail()
163 "a1", // 1-map in test_cwt_decode_fail()
169 concat!( in test_cwt_decode_fail()
170 "a1", // 1-map in test_cwt_decode_fail()
176 concat!( in test_cwt_decode_fail()
177 "a1", // 1-map in test_cwt_decode_fail()
178 "07", "40", // 5 (cti) => 0-bstr in test_cwt_decode_fail()
184 concat!( in test_cwt_decode_fail()
185 "a2", // 1-map in test_cwt_decode_fail()
186 "07", "40", // 5 (cti) => 0-bstr in test_cwt_decode_fail()
187 "07", "40", // 5 (cti) => 0-bstr in test_cwt_decode_fail()
189 "duplicate map key", in test_cwt_decode_fail()
202 assert!(iana::CwtClaimName::is_private(-500_000)); in test_cwt_is_private()
225 // Set a duplicate map key. in test_cwt_dup_claim()
234 expect_err(result, "duplicate map key"); in test_cwt_dup_claim()