Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/tracing/tracing/trace_data/
Dtrace_data_unittest.py61 original_data = {'msg': 'The answer is 42'}
63 json.dump(original_data, source)
69 self.assertEqual(original_data, out_data)
72 original_data = {'msg': 'The answer is 42'}
76 handle.write(json.dumps(original_data))
81 self.assertEqual(original_data, out_data)
84 original_data = {'msg': 'The answer is 42'}
96 self.assertEqual(original_data, out_data)
/external/rust/crates/coset/src/sign/
Dtests.rs55 original_data: None, in test_cose_signature_encode()
104 got.protected.original_data = None; in test_cose_signature_encode()
122 got.protected.original_data = None; in test_cose_signature_decode_noncanonical()
230 original_data: None, in test_cose_signature_builder()
383 got.protected.original_data = None; in test_cose_sign_encode()
385 sig.protected.original_data = None; in test_cose_sign_encode()
395 got.protected.original_data = None; in test_cose_sign_encode()
397 sig.protected.original_data = None; in test_cose_sign_encode()
753 got.protected.original_data = None; in test_rfc8152_cose_sign_decode()
755 sig.protected.original_data = None; in test_rfc8152_cose_sign_decode()
[all …]
/external/zlib/google/
Dcompression_utils_unittest.cc86 const std::string original_data(reinterpret_cast<const char*>(kData), in TEST()
92 std::string data(original_data); in TEST()
96 EXPECT_EQ(original_data, data); in TEST()
/external/rust/crates/coset/src/header/
Dmod.rs351 pub original_data: Option<Vec<u8>>, field
368 original_data: Some(data), in from_cbor_bstr()
378 if let Some(original_data) = self.original_data { in cbor_bstr()
379 original_data in cbor_bstr()
399 original_data: None, in from_cbor_value()
Dtests.rs157 sig.protected.original_data = None; in test_header_encode()
164 original_data: None, in test_header_encode()
172 sig.protected.original_data = None; in test_header_encode()
181 sig.protected.original_data = None; in test_header_encode()
187 hex::encode(&got.original_data.expect("missing original data")) in test_header_encode()
/external/rust/crates/coset/src/encrypt/
Dtests.rs73 got.protected.original_data = None; in test_cose_recipient_decode()
75 recip.protected.original_data = None; in test_cose_recipient_decode()
180 got.protected.original_data = None; in test_cose_encrypt_decode()
475 got.protected.original_data = None; in test_rfc8152_cose_encrypt_decode()
477 recip.protected.original_data = None; in test_rfc8152_cose_encrypt_decode()
480 sig.protected.original_data = None; in test_rfc8152_cose_encrypt_decode()
514 got.protected.original_data = None; in test_cose_encrypt0_decode()
646 got.protected.original_data = None; in test_rfc8152_cose_encrypt0_decode()
742 assert_eq!(protected.original_data, Some(vec![0xa0])); in test_cose_recipient_noncanonical()
904 assert_eq!(protected.original_data, Some(vec![0xa0])); in test_cose_encrypt_noncanonical()
[all …]
/external/rust/crates/coset/src/mac/
Dtests.rs59 got.protected.original_data = None; in test_cose_mac_decode()
353 got.protected.original_data = None; in test_rfc8152_cose_mac_decode()
355 recip.protected.original_data = None; in test_rfc8152_cose_mac_decode()
358 sig.protected.original_data = None; in test_rfc8152_cose_mac_decode()
393 got.protected.original_data = None; in test_cose_mac0_decode()
498 got.protected.original_data = None; in test_rfc8152_cose_mac0_decode()
567 assert_eq!(protected.original_data, Some(vec![0xa0])); in test_cose_mac_noncanonical()
686 assert_eq!(protected.original_data, Some(vec![0xa0])); in test_cose_mac0_noncanonical()
/external/cronet/net/data/verify_signed_data_unittest/
Dannotate_test_data.py156 original_data = ReadFileToString(path)
157 transformed_data = Transform(original_data)
158 if original_data != transformed_data:
/external/cronet/net/data/ocsp_unittest/
Dannotate_test_data.py209 original_data = ReadFileToString(path)
210 transformed_data = Transform(original_data)
211 if original_data != transformed_data:
/external/webrtc/modules/rtp_rtcp/source/
Dulpfec_receiver.cc210 const uint8_t* const original_data = packet->data.cdata(); in ProcessReceivedFec() local
221 RTC_DCHECK_EQ(packet->data.cdata(), original_data); in ProcessReceivedFec()
/external/rust/crates/coset/examples/
Dsignature.rs88 sign1.protected.original_data = None; in main()
/external/libbrillo/brillo/
Dsecure_blob_test.cc170 void* original_data = blob.data(); in TEST_F() local
177 EXPECT_EQ(original_data, blob.data()); in TEST_F()
/external/cronet/net/websockets/
Dwebsocket_deflate_stream_test.cc719 const std::string original_data(kSize, 'a'); in TEST_F() local
720 deflater.AddBytes(original_data.data(), original_data.size()); in TEST_F()
754 EXPECT_EQ(original_data, in TEST_F()
761 const std::string original_data(kChunkSize, 'a'); in TEST_F() local
762 deflater.AddBytes(original_data.data(), original_data.size()); in TEST_F()
796 EXPECT_EQ(original_data, ToString(frames[0]) + ToString(frames[1])); in TEST_F()
/external/rust/crates/coset/src/context/
Dtests.rs205 got.supp_pub_info.protected.original_data = None; in test_context_encode()
/external/rust/crates/openssl/src/
Drsa.rs721 let original_data = b"This is test"; in test_public_encrypt_private_decrypt_with_padding() localVariable
723 .public_encrypt(original_data, &mut result, Padding::PKCS1) in test_public_encrypt_private_decrypt_with_padding()
734 assert_eq!(&dec_result[..len], original_data); in test_public_encrypt_private_decrypt_with_padding()
/external/rust/crates/coset/src/util/
Dmod.rs242 original_data: None,
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_UniformQuantizedDotHybrid.pbtxt84 quantized_data = clip(original_data / scale + zero_point, quantization_min_val, quantization_max_va…
/external/abseil-cpp/absl/strings/
Dcord.cc150 const absl::string_view original_data = src; in CordRepFromString() local
153 absl::cord_internal::NewExternalRep(original_data, in CordRepFromString()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord.cc151 const absl::string_view original_data = src; in CordRepFromString() local
154 absl::cord_internal::NewExternalRep(original_data, in CordRepFromString()
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/
Dcord.cc151 const absl::string_view original_data = src; in CordRepFromString() local
154 absl::cord_internal::NewExternalRep(original_data, in CordRepFromString()
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord.cc151 const absl::string_view original_data = src; in CordRepFromString() local
154 absl::cord_internal::NewExternalRep(original_data, in CordRepFromString()
/external/cronet/third_party/abseil-cpp/absl/strings/
Dcord.cc151 const absl::string_view original_data = src; in CordRepFromString() local
154 absl::cord_internal::NewExternalRep(original_data, in CordRepFromString()
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord.cc668 const absl::string_view original_data = src; in Cord() local
672 original_data, StringReleaser{std::forward<T>(src)})); in Cord()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord.cc541 const absl::string_view original_data = src; in Cord() local
545 original_data, StringReleaser{std::forward<T>(src)})); in Cord()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord.cc671 const absl::string_view original_data = src; in Cord() local
675 original_data, StringReleaser{std::forward<T>(src)})); in Cord()