/aosp_15_r20/external/angle/src/common/spirv/ |
H A D | spirv_instruction_builder_autogen.h | 24 void WriteNop(Blob *blob); 25 void WriteUndef(Blob *blob, IdResultType idResultType1, IdResult idResult2); 26 void WriteSourceContinued(Blob *blob, LiteralString continuedSource); 27 void WriteSource(Blob *blob, 32 void WriteSourceExtension(Blob *blob, LiteralString extension); 33 void WriteName(Blob *blob, IdRef target, LiteralString name); 34 void WriteMemberName(Blob *blob, IdRef type, LiteralInteger member, LiteralString name); 35 void WriteString(Blob *blob, IdResult idResult1, LiteralString string); 36 void WriteLine(Blob *blob, IdRef file, LiteralInteger line, LiteralInteger column); 37 void WriteExtension(Blob *blob, LiteralString name); [all …]
|
H A D | spirv_instruction_builder_autogen.cpp | 64 void WriteNop(Blob *blob) in WriteNop() 71 void WriteUndef(Blob *blob, IdResultType idResultType1, IdResult idResult2) in WriteUndef() 79 void WriteSourceContinued(Blob *blob, LiteralString continuedSource) in WriteSourceContinued() 91 void WriteSource(Blob *blob, in WriteSource() 116 void WriteSourceExtension(Blob *blob, LiteralString extension) in WriteSourceExtension() 128 void WriteName(Blob *blob, IdRef target, LiteralString name) in WriteName() 141 void WriteMemberName(Blob *blob, IdRef type, LiteralInteger member, LiteralString name) in WriteMemberName() 155 void WriteString(Blob *blob, IdResult idResult1, LiteralString string) in WriteString() 168 void WriteLine(Blob *blob, IdRef file, LiteralInteger line, LiteralInteger column) in WriteLine() 177 void WriteExtension(Blob *blob, LiteralString name) in WriteExtension() [all …]
|
/aosp_15_r20/external/pytorch/test/expect/ |
H A D | TestTensorBoard.test_caffe2_simple_model.expect | 583 op: "Blob" 589 op: "Blob" 595 op: "Blob" 601 op: "Blob" 607 op: "Blob" 613 op: "Blob" 619 op: "Blob" 625 op: "Blob" 635 op: "Blob" 641 op: "Blob" [all …]
|
H A D | TestTensorBoard.test_caffe2_simple_cnnmodel.expect | 209 op: "Blob" 214 op: "Blob" 219 op: "Blob" 224 op: "Blob" 233 op: "Blob" 238 op: "Blob" 243 op: "Blob" 248 op: "Blob" 253 op: "Blob" 258 op: "Blob" [all …]
|
/aosp_15_r20/system/update_engine/payload_generator/ |
H A D | zip_unittest.cc | 48 explicit MemoryExtentWriter(brillo::Blob* data) : data_(data) { in MemoryExtentWriter() 65 brillo::Blob* data_; 69 bool DecompressWithWriter(const brillo::Blob& in, brillo::Blob* out) { in DecompressWithWriter() 84 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 85 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 93 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const { in ZipCompress() 96 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const { in ZipDecompress() 106 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const { in ZipCompress() 109 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const { in ZipDecompress() 126 brillo::Blob in(in_str.begin(), in_str.end()); in TYPED_TEST() [all …]
|
H A D | payload_signer.cc | 47 bool ConvertSignaturesToProtobuf(const vector<brillo::Blob>& signatures, in ConvertSignaturesToProtobuf() 64 brillo::Blob padded_signature = signature; in ConvertSignaturesToProtobuf() 88 brillo::Blob* out_payload, in AddSignatureBlobToPayload() 95 brillo::Blob payload; in AddSignatureBlobToPayload() 168 bool CalculateHashFromPayload(const brillo::Blob& payload, in CalculateHashFromPayload() 172 brillo::Blob* out_hash_data, in CalculateHashFromPayload() 173 brillo::Blob* out_metadata_hash) { in CalculateHashFromPayload() 234 brillo::Blob payload; in VerifySignedPayload() 248 brillo::Blob payload_hash, metadata_hash; in VerifySignedPayload() 275 bool PayloadSigner::SignHash(const brillo::Blob& hash, in SignHash() [all …]
|
/aosp_15_r20/system/update_engine/payload_consumer/ |
H A D | delta_performer_unittest.cc | 185 brillo::Blob GeneratePayload(const brillo::Blob& blob_data, in GeneratePayload() 197 brillo::Blob GeneratePayload(const brillo::Blob& blob_data, in GeneratePayload() 246 brillo::Blob payload_data; in GeneratePayload() 251 brillo::Blob GenerateSourceCopyPayload(const brillo::Blob& copied_data, in GenerateSourceCopyPayload() 262 brillo::Blob src_hash; in GenerateSourceCopyPayload() 267 return GeneratePayload(brillo::Blob(), {aop}, false, old_part); in GenerateSourceCopyPayload() 273 brillo::Blob ApplyPayload(const brillo::Blob& payload_data, in ApplyPayload() 277 &performer_, payload_data, source_path, brillo::Blob(), expect_success); in ApplyPayload() 279 brillo::Blob ApplyPayloadToData(const brillo::Blob& payload_data, in ApplyPayloadToData() 281 const brillo::Blob& target_data, in ApplyPayloadToData() [all …]
|
H A D | payload_verifier.cc | 97 const string& signature_proto, const brillo::Blob& sha256_hash_data) const { in VerifySignature() 109 std::vector<brillo::Blob> tested_hashes; in VerifySignature() 113 brillo::Blob sig_data; in VerifySignature() 126 brillo::Blob sig_hash_data; in VerifySignature() 147 const brillo::Blob& sig_data, in VerifyRawSignature() 148 const brillo::Blob& sha256_hash_data, in VerifyRawSignature() 149 brillo::Blob* decrypted_sig_data) const { in VerifyRawSignature() 155 brillo::Blob sig_hash_data; in VerifyRawSignature() 167 brillo::Blob padded_hash_data = sha256_hash_data; in VerifyRawSignature() 196 const brillo::Blob& sig_data, in GetRawHashFromSignature() [all …]
|
H A D | cached_file_descriptor_unittest.cc | 63 brillo::Blob zero_blob(kFileSize, 0); in SetUp() 87 brillo::Blob blob_in(kFileSize, value_); in TEST_F() 91 brillo::Blob blob_out; in TEST_F() 98 brillo::Blob blob_in(kFileSize, value_); in TEST_F() 104 brillo::Blob blob_out; in TEST_F() 112 brillo::Blob blob_in(kFileSize, 0); in TEST_F() 125 brillo::Blob blob_out; in TEST_F() 150 brillo::Blob blob_in(kFileSize, value_); in TEST_F() 153 brillo::Blob blob_out; in TEST_F() 160 brillo::Blob blob_in(kFileSize, 0); in TEST_F() [all …]
|
H A D | verity_writer_android_unittest.cc | 52 brillo::Blob part_data(8192); in TEST_F() 59 brillo::Blob actual_part; in TEST_F() 63 brillo::Blob hash = {0x1c, 0xea, 0xf7, 0x3d, 0xf4, 0x0e, 0x53, in TEST_F() 73 brillo::Blob part_data(4096); in TEST_F() 83 brillo::Blob part_data(4096); in TEST_F() 101 brillo::Blob part_data(8192); in TEST_F() 108 brillo::Blob actual_part; in TEST_F() 112 brillo::Blob hash = {0xad, 0x7f, 0xac, 0xb2, 0x58, 0x6f, 0xc6, 0xe9, in TEST_F() 125 brillo::Blob part_data(8192 + partition_.hash_tree_data_offset); in TEST_F() 134 brillo::Blob actual_part; in TEST_F() [all …]
|
/aosp_15_r20/frameworks/native/opengl/libs/EGL/ |
H A D | BlobCache.cpp | 84 std::shared_ptr<Blob> cacheKey(new Blob(key, keySize, false)); in set() 92 std::shared_ptr<Blob> keyBlob(new Blob(key, keySize, true)); in set() 93 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() 115 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() 116 std::shared_ptr<Blob> oldValueBlob(index->getValue()); in set() 147 std::shared_ptr<Blob> cacheKey(new Blob(key, keySize, false)); in get() 157 std::shared_ptr<Blob> valueBlob(index->getValue()); in get() 177 std::shared_ptr<Blob> const& keyBlob = e.getKey(); in getFlattenedSize() 178 std::shared_ptr<Blob> const& valueBlob = e.getValue(); in getFlattenedSize() 203 std::shared_ptr<Blob> const& keyBlob = e.getKey(); in flatten() [all …]
|
H A D | BlobCache.h | 150 class Blob { 152 Blob(const void* data, size_t size, bool copyData); 153 ~Blob(); 155 bool operator<(const Blob& rhs) const; 162 Blob(const Blob&); 163 void operator=(const Blob&); 180 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value); 186 std::shared_ptr<Blob> getKey() const; 187 std::shared_ptr<Blob> getValue() const; 189 void setValue(const std::shared_ptr<Blob>& value); [all …]
|
/aosp_15_r20/system/nvram/messages/ |
H A D | blob.cpp | 26 Blob::Blob() {} in Blob() function in nvram::Blob 28 Blob::~Blob() { in ~Blob() 34 Blob::Blob(Blob&& other) : Blob() { in Blob() function in nvram::Blob 38 Blob& Blob::operator=(Blob&& other) { in operator =() 43 void swap(Blob& first, Blob& second) { in swap() 54 bool Blob::Assign(const void* data, size_t size) { in Assign() 66 bool Blob::Resize(size_t size) { in Resize()
|
/aosp_15_r20/packages/modules/NeuralNetworks/driver/cache/BlobCache/ |
D | BlobCache.cpp | 108 std::shared_ptr<Blob> dummyKey(new Blob(key, keySize, false)); in set() 115 std::shared_ptr<Blob> keyBlob(new Blob(key, keySize, true)); in set() 116 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() 145 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() 146 std::shared_ptr<Blob> oldValueBlob(index->getValue()); in set() 194 std::shared_ptr<Blob> dummyKey(new Blob(key, keySize, false)); in get() 204 std::shared_ptr<Blob> valueBlob(index->getValue()); in get() 227 std::shared_ptr<Blob> const& keyBlob = e.getKey(); in getFlattenedSize() 228 std::shared_ptr<Blob> const& valueBlob = e.getValue(); in getFlattenedSize() 253 std::shared_ptr<Blob> const& keyBlob = e.getKey(); in flatten() [all …]
|
D | BlobCache.h | 205 class Blob { 207 Blob(const void* data, size_t size, bool copyData); 208 ~Blob(); 210 bool operator<(const Blob& rhs) const; 217 Blob(const Blob&); 218 void operator=(const Blob&); 235 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value, 242 std::shared_ptr<Blob> getKey() const; 243 std::shared_ptr<Blob> getValue() const; 245 void setValue(const std::shared_ptr<Blob>& value); [all …]
|
/aosp_15_r20/system/security/keystore2/src/ |
H A D | legacy_blob.rs | 184 pub struct Blob { struct 218 impl Blob { implementation 366 fn new_from_stream(stream: &mut dyn Read) -> Result<Blob> { in new_from_stream() argument 405 Ok(Blob { flags, value: BlobValue::Generic(value.to_vec()) }) in new_from_stream() 407 (blob_types::GENERIC, true, _) => Ok(Blob { in new_from_stream() 416 Ok(Blob { flags, value: BlobValue::Characteristics(value.to_vec()) }) in new_from_stream() 418 (blob_types::KEY_CHARACTERISTICS, true, _) => Ok(Blob { in new_from_stream() 427 Ok(Blob { flags, value: BlobValue::CharacteristicsCache(value.to_vec()) }) in new_from_stream() 429 (blob_types::SUPER_KEY, _, Some(salt)) => Ok(Blob { in new_from_stream() 439 (blob_types::SUPER_KEY_AES256, _, Some(salt)) => Ok(Blob { in new_from_stream() [all …]
|
/aosp_15_r20/system/nvram/messages/include/nvram/messages/ |
H A D | blob.h | 34 class NVRAM_EXPORT Blob { 36 Blob(); 37 ~Blob(); 41 Blob(const Blob& other) = delete; 42 Blob& operator=(const Blob& other) = delete; 43 Blob(Blob&& other); 44 Blob& operator=(Blob&& other); 45 friend void swap(Blob& first, Blob& second);
|
/aosp_15_r20/external/executorch/backends/apple/coreml/runtime/kvstore/ |
H A D | types.hpp | 50 struct Blob { struct 57 inline Blob(const void *data, size_t size) in Blob() function 61 Blob(Blob const&) noexcept = delete; 62 Blob& operator=(Blob const&) noexcept = delete; 64 inline Blob(Blob&& other) noexcept in Blob() argument 69 inline Blob& operator=(Blob&& other) noexcept { in operator =() argument 75 inline ~Blob() { in ~Blob() argument 91 Blob, enumerator 97 using Value = std::variant<int64_t, double, std::string, Blob, Null>;
|
/aosp_15_r20/external/pytorch/aten/src/ATen/core/ |
H A D | blob.h | 20 class TORCH_API Blob final : public c10::intrusive_ptr_target { 25 Blob() noexcept : meta_() {} in Blob() function 26 ~Blob() override { in ~Blob() 30 Blob(Blob&& other) noexcept : Blob() { in Blob() function 34 Blob& operator=(Blob&& other) noexcept { 35 Blob(std::move(other)).swap(*this); 175 void swap(Blob& rhs) noexcept { in swap() 193 C10_DISABLE_COPY_AND_ASSIGN(Blob); 196 inline void swap(Blob& lhs, Blob& rhs) noexcept { in swap() 200 inline std::ostream& operator<<(std::ostream& out, const Blob& v) {
|
/aosp_15_r20/system/update_engine/lz4diff/ |
H A D | lz4diff.cc | 75 Blob recompressed_blob_hash; in StoreDstCompressedFileInfo() 86 template <typename Blob> 87 static bool TryBsdiff(Blob src, Blob dst, Blob* output) noexcept { in TryBsdiff() 92 Blob bsdiff_delta; in TryBsdiff() 122 static bool ConstructLz4diffPatch(Blob inner_patch, in ConstructLz4diffPatch() 124 Blob* output) { in ConstructLz4diffPatch() 125 Blob patch(kLz4diffHeaderSize); in ConstructLz4diffPatch() 143 Blob* output) noexcept { in TryPuffdiff() 153 Blob puffdiff_delta; in TryPuffdiff() 184 Blob* output, in Lz4Diff() [all …]
|
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/base/ |
H A D | no_destructor_test.cc | 30 struct Blob { struct 31 Blob() : val(42) {} in Blob() function 32 Blob(int x, int y) : val(x + y) {} in Blob() argument 33 Blob(std::initializer_list<int> xs) { in Blob() argument 38 Blob(const Blob& /*b*/) = delete; 39 Blob(Blob&& b) noexcept : val(b.val) { in Blob() function 45 ~Blob() { ABSL_INTERNAL_CHECK(moved_out, "~Blob"); } in ~Blob() argument 75 EXPECT_TRUE(std::is_trivially_destructible<absl::NoDestructor<Blob>>::value); in TEST() 77 std::is_trivially_destructible<absl::NoDestructor<const Blob>>::value); in TEST() 79 absl::NoDestructor<Blob> b; // default c-tor in TEST() [all …]
|
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/base/ |
H A D | no_destructor_test.cc | 30 struct Blob { struct 31 Blob() : val(42) {} in Blob() argument 32 Blob(int x, int y) : val(x + y) {} in Blob() argument 33 Blob(std::initializer_list<int> xs) { in Blob() function 38 Blob(const Blob& /*b*/) = delete; 39 Blob(Blob&& b) noexcept : val(b.val) { in Blob() argument 45 ~Blob() { ABSL_INTERNAL_CHECK(moved_out, "~Blob"); } in ~Blob() argument 75 EXPECT_TRUE(std::is_trivially_destructible<absl::NoDestructor<Blob>>::value); in TEST() 77 std::is_trivially_destructible<absl::NoDestructor<const Blob>>::value); in TEST() 79 absl::NoDestructor<Blob> b; // default c-tor in TEST() [all …]
|
/aosp_15_r20/external/abseil-cpp/absl/base/ |
H A D | no_destructor_test.cc | 30 struct Blob { struct 31 Blob() : val(42) {} in Blob() function 32 Blob(int x, int y) : val(x + y) {} in Blob() function 33 Blob(std::initializer_list<int> xs) { in Blob() function 38 Blob(const Blob& /*b*/) = delete; 39 Blob(Blob&& b) noexcept : val(b.val) { in Blob() function 45 ~Blob() { ABSL_INTERNAL_CHECK(moved_out, "~Blob"); } in ~Blob() argument 75 EXPECT_TRUE(std::is_trivially_destructible<absl::NoDestructor<Blob>>::value); in TEST() 77 std::is_trivially_destructible<absl::NoDestructor<const Blob>>::value); in TEST() 79 absl::NoDestructor<Blob> b; // default c-tor in TEST() [all …]
|
/aosp_15_r20/external/angle/src/compiler/translator/spirv/ |
H A D | BuildSPIRV.h | 253 spirv::Blob localVariables; 257 spirv::Blob body; 333 spirv::Blob *getSpirvDebug() { return &mSpirvDebug; } in getSpirvDebug() 334 spirv::Blob *getSpirvDecorations() { return &mSpirvDecorations; } in getSpirvDecorations() 335 spirv::Blob *getSpirvTypeAndConstantDecls() { return &mSpirvTypeAndConstantDecls; } in getSpirvTypeAndConstantDecls() 336 spirv::Blob *getSpirvTypePointerDecls() { return &mSpirvTypePointerDecls; } in getSpirvTypePointerDecls() 337 spirv::Blob *getSpirvFunctionTypeDecls() { return &mSpirvFunctionTypeDecls; } in getSpirvFunctionTypeDecls() 338 spirv::Blob *getSpirvVariableDecls() { return &mSpirvVariableDecls; } in getSpirvVariableDecls() 339 spirv::Blob *getSpirvFunctions() { return &mSpirvFunctions; } in getSpirvFunctions() 340 spirv::Blob *getSpirvCurrentFunctionBlock() in getSpirvCurrentFunctionBlock() [all …]
|
/aosp_15_r20/external/pigweed/pw_build/py/ |
H A D | generate_cc_blob_library_test.py | 99 blobs = [generate_cc_blob_library.Blob('fooBlob', foo_blob, None)] 116 generate_cc_blob_library.Blob('fooBlob', foo_blob, None), 117 generate_cc_blob_library.Blob('barBlob', bar_blob, None), 135 blobs = [generate_cc_blob_library.Blob('fooBlob', foo_blob, None)] 159 generate_cc_blob_library.Blob('fooBlob', Path(), None), foo_data 168 generate_cc_blob_library.Blob('barBlob', Path(), None), bar_data 183 generate_cc_blob_library.Blob('fooBlob', foo_blob, None), 184 generate_cc_blob_library.Blob('barBlob', bar_blob, None), 200 blobs = [generate_cc_blob_library.Blob('fooBlob', foo_blob, None)] 224 generate_cc_blob_library.Blob('fooBlob', foo_blob, '.foo_section'), [all …]
|