Home
last modified time | relevance | path

Searched refs:cbor (Results 1 – 25 of 1095) sorted by relevance

12345678910>>...44

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/wuffs/src/test/data/
H A Dcbor-rfc-7049-examples.with-comments.json13 /*cbor:tag2*//*cbor:base64url*/"AQAAAAAAAAAA",
15 /*cbor:tag3*//*cbor:base64url*/"AQAAAAAAAAAA",
33 /*cbor:Inf*/null,
34 /*cbor:NaN*/null,
35 /*cbor:-Inf*/null,
36 /*cbor:Inf*/null,
37 /*cbor:NaN*/null,
39 /*cbor:Inf*/null,
40 /*cbor:NaN*/null,
52 /*cbor:tag23*//*cbor:base64url*/"AQIDBA",
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/third_party/inspector_protocol/crdtp/
H A Ddispatch_test.cc206 cbor::EncodeString8(SpanFrom("id"), &cbor); in TEST()
207 cbor::EncodeInt32(42, &cbor); in TEST()
208 cbor::EncodeString8(SpanFrom("method"), &cbor); in TEST()
210 cbor::EncodeString8(SpanFrom("params"), &cbor); in TEST()
218 cbor::EncodeString8(SpanFrom("sessionId"), &cbor); in TEST()
220 cbor.push_back(cbor::EncodeStop()); in TEST()
246 cbor::EncodeString8(SpanFrom("id"), &cbor); in TEST()
247 cbor::EncodeInt32(42, &cbor); in TEST()
248 cbor::EncodeString8(SpanFrom("method"), &cbor); in TEST()
250 cbor::EncodeString8(SpanFrom("sessionId"), &cbor); in TEST()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/inspector_protocol/crdtp/
H A Ddispatch_test.cc206 cbor::EncodeString8(SpanFrom("id"), &cbor); in TEST()
207 cbor::EncodeInt32(42, &cbor); in TEST()
208 cbor::EncodeString8(SpanFrom("method"), &cbor); in TEST()
210 cbor::EncodeString8(SpanFrom("params"), &cbor); in TEST()
218 cbor::EncodeString8(SpanFrom("sessionId"), &cbor); in TEST()
220 cbor.push_back(cbor::EncodeStop()); in TEST()
246 cbor::EncodeString8(SpanFrom("id"), &cbor); in TEST()
247 cbor::EncodeInt32(42, &cbor); in TEST()
248 cbor::EncodeString8(SpanFrom("method"), &cbor); in TEST()
250 cbor::EncodeString8(SpanFrom("sessionId"), &cbor); in TEST()
[all …]
/dports/lang/v8/v8-9.6.180.12/third_party/inspector_protocol/crdtp/
H A Ddispatch_test.cc206 cbor::EncodeString8(SpanFrom("id"), &cbor); in TEST()
207 cbor::EncodeInt32(42, &cbor); in TEST()
208 cbor::EncodeString8(SpanFrom("method"), &cbor); in TEST()
210 cbor::EncodeString8(SpanFrom("params"), &cbor); in TEST()
218 cbor::EncodeString8(SpanFrom("sessionId"), &cbor); in TEST()
220 cbor.push_back(cbor::EncodeStop()); in TEST()
246 cbor::EncodeString8(SpanFrom("id"), &cbor); in TEST()
247 cbor::EncodeInt32(42, &cbor); in TEST()
248 cbor::EncodeString8(SpanFrom("method"), &cbor); in TEST()
250 cbor::EncodeString8(SpanFrom("sessionId"), &cbor); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/inspector_protocol/crdtp/
H A Ddispatch_test.cc206 cbor::EncodeString8(SpanFrom("id"), &cbor); in TEST()
207 cbor::EncodeInt32(42, &cbor); in TEST()
208 cbor::EncodeString8(SpanFrom("method"), &cbor); in TEST()
210 cbor::EncodeString8(SpanFrom("params"), &cbor); in TEST()
218 cbor::EncodeString8(SpanFrom("sessionId"), &cbor); in TEST()
220 cbor.push_back(cbor::EncodeStop()); in TEST()
246 cbor::EncodeString8(SpanFrom("id"), &cbor); in TEST()
247 cbor::EncodeInt32(42, &cbor); in TEST()
248 cbor::EncodeString8(SpanFrom("method"), &cbor); in TEST()
250 cbor::EncodeString8(SpanFrom("sessionId"), &cbor); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/third_party/inspector_protocol/crdtp/
H A Ddispatch_test.cc206 cbor::EncodeString8(SpanFrom("id"), &cbor); in TEST()
207 cbor::EncodeInt32(42, &cbor); in TEST()
208 cbor::EncodeString8(SpanFrom("method"), &cbor); in TEST()
210 cbor::EncodeString8(SpanFrom("params"), &cbor); in TEST()
218 cbor::EncodeString8(SpanFrom("sessionId"), &cbor); in TEST()
220 cbor.push_back(cbor::EncodeStop()); in TEST()
246 cbor::EncodeString8(SpanFrom("id"), &cbor); in TEST()
247 cbor::EncodeInt32(42, &cbor); in TEST()
248 cbor::EncodeString8(SpanFrom("method"), &cbor); in TEST()
250 cbor::EncodeString8(SpanFrom("sessionId"), &cbor); in TEST()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/network/trust_tokens/
H A Dtrust_token_request_canonicalizer_unittest.cc36 expected_cbor[cbor::Value( in TEST_F()
38 cbor::Value("key", cbor::Value::Type::BYTE_STRING); in TEST_F()
44 cbor::Writer::Write(cbor::Value(expected_cbor))); in TEST_F()
48 cbor::Value(""); in TEST_F()
52 cbor::Writer::Write(cbor::Value(expected_cbor))); in TEST_F()
68 cbor::Value("key", cbor::Value::Type::BYTE_STRING); in TEST_F()
75 cbor::Writer::Write(cbor::Value(expected_cbor))); in TEST_F()
83 cbor::Writer::Write(cbor::Value(expected_cbor))); in TEST_F()
105 cbor::Value("key", cbor::Value::Type::BYTE_STRING); in TEST_F()
128 cbor::Writer::Write(cbor::Value(expected_cbor))); in TEST_F()
[all …]
/dports/lang/duktape/duktape-2.6.0/extras/cbor/
H A DMakefile151 echo '0' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
152 echo '0.1' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
153 echo '1' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
154 echo '23' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
155 echo '24' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
156 echo '25' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
157 echo '255' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
158 echo '256' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
168 echo '-0' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
170 echo '-1' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
[all …]
/dports/lang/duktape-lib/duktape-2.6.0/extras/cbor/
H A DMakefile151 echo '0' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
152 echo '0.1' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
153 echo '1' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
154 echo '23' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
155 echo '24' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
156 echo '25' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
157 echo '255' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
158 echo '256' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
168 echo '-0' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
170 echo '-1' | $(VALGRIND) -q ./jsoncbor -r js -w cbor | python2 cbordecode.py
[all …]
/dports/devel/libxo/libxo-0.6.1/encoder/cbor/
H A Denc_cbor.c189 cbor_private_t *cbor = xo_realloc(NULL, sizeof(*cbor)); in cbor_create() local
190 if (cbor == NULL) in cbor_create()
193 bzero(cbor, sizeof(*cbor)); in cbor_create()
212 cbor_append(xop, cbor, &cbor->c_data, CBOR_TRUE, 0, NULL); in cbor_content()
214 cbor_append(xop, cbor, &cbor->c_data, CBOR_FALSE, 0, NULL); in cbor_content()
248 xo_buffer_t *xbp = cbor ? &cbor->c_data : NULL; in cbor_handler()
251 printf("%*sop %s: [%s] [%s]\n", cbor ? cbor->c_indent * 2 + 4 : 0, "", in cbor_handler()
268 cbor->c_indent += 1; in cbor_handler()
273 cbor->c_indent -= 1; in cbor_handler()
279 cbor->c_indent += 1; in cbor_handler()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/network/trust_tokens/
H A Dtrust_token_request_canonicalizer_unittest.cc36 expected_cbor[cbor::Value( in TEST_F()
38 cbor::Value("key", cbor::Value::Type::BYTE_STRING); in TEST_F()
45 cbor::Writer::Write(cbor::Value(expected_cbor))); in TEST_F()
49 cbor::Value(""); in TEST_F()
54 cbor::Writer::Write(cbor::Value(expected_cbor))); in TEST_F()
70 cbor::Value("key", cbor::Value::Type::BYTE_STRING); in TEST_F()
78 cbor::Writer::Write(cbor::Value(expected_cbor))); in TEST_F()
87 cbor::Writer::Write(cbor::Value(expected_cbor))); in TEST_F()
109 cbor::Value("key", cbor::Value::Type::BYTE_STRING); in TEST_F()
133 cbor::Writer::Write(cbor::Value(expected_cbor))); in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/web_package/
H A Dsigned_exchange_certificate_chain_unittest.cc26 return cbor::Value(str, cbor::Value::Type::BYTE_STRING); in CBORByteString()
51 auto serialized = cbor::Writer::Write(cbor::Value(std::move(cbor_array))); in TEST()
60 cbor::Value::MapValue cbor_map; in TEST()
68 auto serialized = cbor::Writer::Write(cbor::Value(std::move(cbor_array))); in TEST()
84 cbor::Value::MapValue cbor_map; in TEST()
93 auto serialized = cbor::Writer::Write(cbor::Value(std::move(cbor_array))); in TEST()
114 cbor::Value::MapValue cbor_map; in TEST()
122 auto serialized = cbor::Writer::Write(cbor::Value(std::move(cbor_array))); in TEST()
140 cbor::Value::MapValue cbor_map1; in TEST()
153 auto serialized = cbor::Writer::Write(cbor::Value(std::move(cbor_array))); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/web_package/
H A Dsigned_exchange_certificate_chain_unittest.cc26 return cbor::Value(str, cbor::Value::Type::BYTE_STRING); in CBORByteString()
51 auto serialized = cbor::Writer::Write(cbor::Value(std::move(cbor_array))); in TEST()
60 cbor::Value::MapValue cbor_map; in TEST()
68 auto serialized = cbor::Writer::Write(cbor::Value(std::move(cbor_array))); in TEST()
84 cbor::Value::MapValue cbor_map; in TEST()
93 auto serialized = cbor::Writer::Write(cbor::Value(std::move(cbor_array))); in TEST()
114 cbor::Value::MapValue cbor_map; in TEST()
122 auto serialized = cbor::Writer::Write(cbor::Value(std::move(cbor_array))); in TEST()
140 cbor::Value::MapValue cbor_map1; in TEST()
153 auto serialized = cbor::Writer::Write(cbor::Value(std::move(cbor_array))); in TEST()
[all …]
/dports/devel/libcbor/libcbor-0.9.0/
H A DBazel.md39 outs = ["libcbor.a", "cbor.h", "cbor/arrays.h", "cbor/bytestrings.h",
40 … "cbor/callbacks.h", "cbor/cbor_export.h", "cbor/common.h", "cbor/configuration.h", "cbor/data.h",
41 "cbor/encoding.h", "cbor/floats_ctrls.h", "cbor/ints.h", "cbor/maps.h",
42 "cbor/serialization.h", "cbor/streaming.h", "cbor/strings.h", "cbor/tags.h"],
52 "cp src/cbor/*h cbor/configuration.h $$INITIAL_WD/$(RULEDIR)/cbor"]),
57 name = "cbor",
58 hdrs = ["cbor.h", "cbor/arrays.h", "cbor/bytestrings.h",
59 … "cbor/callbacks.h", "cbor/cbor_export.h", "cbor/common.h", "cbor/configuration.h", "cbor/data.h",
60 "cbor/encoding.h", "cbor/floats_ctrls.h", "cbor/ints.h", "cbor/maps.h",
61 "cbor/serialization.h", "cbor/streaming.h", "cbor/strings.h", "cbor/tags.h"],
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/cbor/
H A Dreader_unittest.cc17 namespace cbor { namespace
342 cbor = in TEST()
404 cbor = in TEST()
466 cbor = in TEST()
521 cbor = in TEST()
575 cbor = in TEST()
618 cbor = in TEST()
665 cbor = in TEST()
740 cbor = in TEST()
1266 EXPECT_TRUE(cbor); in TEST()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/cbor/
H A Dreader_unittest.cc17 namespace cbor { namespace
342 cbor = in TEST()
404 cbor = in TEST()
466 cbor = in TEST()
521 cbor = in TEST()
575 cbor = in TEST()
618 cbor = in TEST()
665 cbor = in TEST()
740 cbor = in TEST()
1266 EXPECT_TRUE(cbor); in TEST()
[all …]
H A Dwriter_unittest.cc16 namespace cbor { namespace
21 const base::StringPiece cbor; in TEST() member
45 EXPECT_THAT(cbor.value(), testing::ElementsAreArray(test_case.cbor)); in TEST()
74 EXPECT_THAT(cbor.value(), testing::ElementsAreArray(test_case.cbor)); in TEST()
92 EXPECT_THAT(cbor.value(), testing::ElementsAreArray(test_case.cbor)); in TEST()
117 EXPECT_THAT(cbor.value(), testing::ElementsAreArray(test_case.cbor)); in TEST()
136 EXPECT_THAT(cbor.value(), in TEST()
261 EXPECT_THAT(cbor.value(), in TEST()
287 EXPECT_THAT(cbor.value(), in TEST()
316 EXPECT_THAT(cbor.value(), in TEST()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/device/fido/
H A Dctap_make_credential_request.cc235 cbor::Value::MapValue cbor_map; in AsCTAPRequestValuePair()
236 cbor_map[cbor::Value(1)] = cbor::Value(request.client_data_hash); in AsCTAPRequestValuePair()
245 cbor_map[cbor::Value(5)] = cbor::Value(std::move(exclude_list_array)); in AsCTAPRequestValuePair()
248 cbor::Value::MapValue extensions; in AsCTAPRequestValuePair()
251 extensions[cbor::Value(kExtensionHmacSecret)] = cbor::Value(true); in AsCTAPRequestValuePair()
265 cbor_map[cbor::Value(6)] = cbor::Value(std::move(extensions)); in AsCTAPRequestValuePair()
269 cbor_map[cbor::Value(8)] = cbor::Value(*request.pin_auth); in AsCTAPRequestValuePair()
273 cbor_map[cbor::Value(9)] = cbor::Value(*request.pin_protocol); in AsCTAPRequestValuePair()
276 cbor::Value::MapValue option_map; in AsCTAPRequestValuePair()
286 option_map[cbor::Value(kUserVerificationMapKey)] = cbor::Value(true); in AsCTAPRequestValuePair()
[all …]
H A Dctap_get_assertion_request.cc178 cbor::Value::MapValue cbor_map; in AsCTAPRequestValuePair()
179 cbor_map[cbor::Value(1)] = cbor::Value(request.rp_id); in AsCTAPRequestValuePair()
180 cbor_map[cbor::Value(2)] = cbor::Value(request.client_data_hash); in AsCTAPRequestValuePair()
187 cbor_map[cbor::Value(3)] = cbor::Value(std::move(allow_list_array)); in AsCTAPRequestValuePair()
191 cbor::Value::MapValue extensions; in AsCTAPRequestValuePair()
194 cbor_map[cbor::Value(4)] = cbor::Value(std::move(extensions)); in AsCTAPRequestValuePair()
198 cbor_map[cbor::Value(6)] = cbor::Value(*request.pin_auth); in AsCTAPRequestValuePair()
202 cbor_map[cbor::Value(7)] = cbor::Value(*request.pin_protocol); in AsCTAPRequestValuePair()
205 cbor::Value::MapValue option_map; in AsCTAPRequestValuePair()
215 option_map[cbor::Value(kUserVerificationMapKey)] = cbor::Value(true); in AsCTAPRequestValuePair()
[all …]
H A Dpin.h56 const base::Optional<cbor::Value>& cbor);
59 const base::Optional<cbor::Value>& cbor);
67 const base::Optional<cbor::Value>& cbor,
82 const base::Optional<cbor::Value>& cbor);
84 const cbor::Value::MapValue& cose_key);
111 const base::Optional<cbor::Value>& cbor);
156 cbor::Value::MapValue cose_key_;
195 const base::Optional<cbor::Value>& cbor);
210 std::pair<CtapRequestCommand, base::Optional<cbor::Value>>
213 std::pair<CtapRequestCommand, base::Optional<cbor::Value>>
[all …]
H A Dpin.cc64 cbor::Value::MapValue map; in EncodePINCommand()
81 const base::Optional<cbor::Value>& cbor) { in ParsePinRetries() argument
88 const base::Optional<cbor::Value>& cbor) { in ParseUvRetries() argument
95 const base::Optional<cbor::Value>& cbor, in Parse() argument
97 if (!cbor || !cbor->is_map()) { in Parse()
143 const base::Optional<cbor::Value>& cbor) { in Parse() argument
144 if (!cbor || !cbor->is_map()) { in Parse()
306 const base::Optional<cbor::Value>& cbor) { in Parse() argument
311 if (cbor && (!cbor->is_map() || !cbor->GetMap().empty())) { in Parse()
343 const base::Optional<cbor::Value>& cbor) { in Parse() argument
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/data_decoder/public/cpp/test_support/
H A Dweb_bundle_builder.cc17 cbor::Value::MapValue map; in CreateHeaderMap()
20 return cbor::Value(std::move(map)); in CreateHeaderMap()
51 cbor::Value::ArrayValue response_array; in AddResponse()
54 cbor::Value response(response_array); in AddResponse()
66 cbor::Value::ArrayValue index_value_array; in AddIndexEntry()
91 AddSection("index", cbor::Value(index_)); in CreateBundle()
115 cbor::Value::MapValue subset_hashes; in CreateEncodedSigned()
118 cbor::Value::MapValue signed_subset; in CreateEncodedSigned()
124 return cbor::Value(Encode(cbor::Value(signed_subset))); in CreateEncodedSigned()
128 cbor::Value::ArrayValue toplevel_array; in CreateTopLevel()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/web_package/test_support/
H A Dweb_bundle_builder.cc17 cbor::Value::MapValue map; in CreateHeaderMap()
20 return cbor::Value(std::move(map)); in CreateHeaderMap()
51 cbor::Value::ArrayValue response_array; in AddResponse()
54 cbor::Value response(response_array); in AddResponse()
66 cbor::Value::ArrayValue index_value_array; in AddIndexEntry()
91 AddSection("index", cbor::Value(index_)); in CreateBundle()
115 cbor::Value::MapValue subset_hashes; in CreateEncodedSigned()
118 cbor::Value::MapValue signed_subset; in CreateEncodedSigned()
124 return cbor::Value(Encode(cbor::Value(signed_subset))); in CreateEncodedSigned()
128 cbor::Value::ArrayValue toplevel_array; in CreateTopLevel()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/device/fido/
H A Dctap_make_credential_request.cc267 cbor::Value::MapValue cbor_map; in AsCTAPRequestValuePair()
268 cbor_map[cbor::Value(1)] = cbor::Value(request.client_data_hash); in AsCTAPRequestValuePair()
277 cbor_map[cbor::Value(5)] = cbor::Value(std::move(exclude_list_array)); in AsCTAPRequestValuePair()
280 cbor::Value::MapValue extensions; in AsCTAPRequestValuePair()
283 extensions[cbor::Value(kExtensionHmacSecret)] = cbor::Value(true); in AsCTAPRequestValuePair()
287 extensions[cbor::Value(kExtensionLargeBlobKey)] = cbor::Value(true); in AsCTAPRequestValuePair()
301 cbor_map[cbor::Value(6)] = cbor::Value(std::move(extensions)); in AsCTAPRequestValuePair()
305 cbor_map[cbor::Value(8)] = cbor::Value(*request.pin_auth); in AsCTAPRequestValuePair()
309 cbor_map[cbor::Value(9)] = in AsCTAPRequestValuePair()
323 option_map[cbor::Value(kUserVerificationMapKey)] = cbor::Value(true); in AsCTAPRequestValuePair()
[all …]
H A Dctap_get_assertion_request.cc260 cbor::Value::MapValue cbor_map; in AsCTAPRequestValuePair()
261 cbor_map[cbor::Value(1)] = cbor::Value(request.rp_id); in AsCTAPRequestValuePair()
262 cbor_map[cbor::Value(2)] = cbor::Value(request.client_data_hash); in AsCTAPRequestValuePair()
269 cbor_map[cbor::Value(3)] = cbor::Value(std::move(allow_list_array)); in AsCTAPRequestValuePair()
272 cbor::Value::MapValue extensions; in AsCTAPRequestValuePair()
294 cbor_map[cbor::Value(4)] = cbor::Value(std::move(extensions)); in AsCTAPRequestValuePair()
298 cbor_map[cbor::Value(6)] = cbor::Value(*request.pin_auth); in AsCTAPRequestValuePair()
302 cbor_map[cbor::Value(7)] = in AsCTAPRequestValuePair()
306 cbor::Value::MapValue option_map; in AsCTAPRequestValuePair()
316 option_map[cbor::Value(kUserVerificationMapKey)] = cbor::Value(true); in AsCTAPRequestValuePair()
[all …]

12345678910>>...44