Home
last modified time | relevance | path

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

12

/system/core/libsparse/
Doutput_file.cpp83 struct output_file_ops* ops; member
359 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk()
382 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk()
385 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk()
413 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk()
416 ret = out->ops->write(out, data, len); in write_sparse_data_chunk()
423 ret = out->ops->write(out, out->zero_buf, write_len); in write_sparse_data_chunk()
464 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fd_chunk()
468 ret = out->ops->write(out, data, size); in write_sparse_fd_chunk()
481 ret = out->ops->write(out, out->zero_buf, write_len); in write_sparse_fd_chunk()
[all …]
/system/core/fs_mgr/libfs_avb/
Davb_ops.cpp51 static AvbIOResult read_from_partition(AvbOps* ops, const char* partition, int64_t offset, in read_from_partition() argument
53 return FsManagerAvbOps::GetInstanceFromAvbOps(ops)->ReadFromPartition( in read_from_partition()
57 static AvbIOResult no_op_read_rollback_index(AvbOps* ops ATTRIBUTE_UNUSED, in no_op_read_rollback_index()
67 AvbOps* ops ATTRIBUTE_UNUSED, const uint8_t* public_key_data ATTRIBUTE_UNUSED, in no_op_validate_vbmeta_public_key()
81 static AvbIOResult no_op_read_is_device_unlocked(AvbOps* ops ATTRIBUTE_UNUSED, in no_op_read_is_device_unlocked()
90 static AvbIOResult no_op_get_unique_guid_for_partition(AvbOps* ops ATTRIBUTE_UNUSED, in no_op_get_unique_guid_for_partition()
101 static AvbIOResult get_size_of_partition(AvbOps* ops ATTRIBUTE_UNUSED, in get_size_of_partition()
104 return FsManagerAvbOps::GetInstanceFromAvbOps(ops)->GetSizeOfPartition(partition, in get_size_of_partition()
Davb_ops.h53 static FsManagerAvbOps* GetInstanceFromAvbOps(AvbOps* ops) { in GetInstanceFromAvbOps() argument
54 return reinterpret_cast<FsManagerAvbOps*>(ops->user_data); in GetInstanceFromAvbOps()
/system/security/diced/open_dice/src/
Dlib.rs26 mod ops; module
40 pub use ops::{generate_certificate, hash, kdf, keypair_from_seed, sign, verify};
Dretry.rs25 use crate::ops::generate_certificate;
/system/unwinding/libunwindstack/tests/
DDwarfCfaLogTest.cpp563 std::vector<uint8_t> ops{0x0f, 0x81, 0x01}; in TYPED_TEST_P() local
567 ops.push_back(0x05); in TYPED_TEST_P()
577 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
601 std::vector<uint8_t> ops{0x10, 0xff, 0x01, 0x82, 0x01}; in TYPED_TEST_P() local
605 ops.push_back(0xa0 + (i - 5) % 96); in TYPED_TEST_P()
607 op_string += android::base::StringPrintf("4 unwind Raw Data: 0x%02x\n", ops.back()); in TYPED_TEST_P()
608 expected += android::base::StringPrintf(" 0x%02x", ops.back()); in TYPED_TEST_P()
615 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
685 std::vector<uint8_t> ops{0x16, 0x83, 0x10, 0xa8, 0x01}; in TYPED_TEST_P() local
689 ops.push_back(0xa0 + (i % 96)); in TYPED_TEST_P()
[all …]
DDwarfCfaTest.cpp733 std::vector<uint8_t> ops{0x0f, 0x81, 0x01}; in TYPED_TEST_P() local
735 ops.push_back(i - 1); in TYPED_TEST_P()
737 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
766 std::vector<uint8_t> ops{0x10, 0xff, 0x01, 0x82, 0x01}; in TYPED_TEST_P() local
768 ops.push_back(i - 4); in TYPED_TEST_P()
771 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
866 std::vector<uint8_t> ops{0x16, 0x83, 0x10, 0xa8, 0x01}; in TYPED_TEST_P() local
868 ops.push_back(i); in TYPED_TEST_P()
871 this->memory_.SetMemory(0xa00, ops); in TYPED_TEST_P()
/system/extras/tests/mmc_tracepoints/
DREADME15 The output is in a form of start/stop pairs. The ops with rw in the name are
16 read or write ops, and the ones with erase in the name are the various erase
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dcow_reader.cpp566 CowOpIter(std::shared_ptr<std::vector<CowOperation>>& ops, uint64_t start);
580 CowOpIter::CowOpIter(std::shared_ptr<std::vector<CowOperation>>& ops, uint64_t start) { in CowOpIter() argument
581 ops_ = ops; in CowOpIter()
610 explicit CowRevMergeOpIter(std::shared_ptr<std::vector<CowOperation>> ops,
629 explicit CowMergeOpIter(std::shared_ptr<std::vector<CowOperation>> ops,
646 CowMergeOpIter::CowMergeOpIter(std::shared_ptr<std::vector<CowOperation>> ops, in CowMergeOpIter() argument
648 ops_ = ops; in CowMergeOpIter()
677 CowRevMergeOpIter::CowRevMergeOpIter(std::shared_ptr<std::vector<CowOperation>> ops, in CowRevMergeOpIter() argument
680 ops_ = ops; in CowRevMergeOpIter()
/system/security/keystore2/tests/
Dkeystore2_client_operation_tests.rs313 let mut ops: Vec<binder::Result<CreateOperationResponse>> = (0..MAX_OPS) in keystore2_ops_prune_test() localVariable
327 match &ops[vec_index] { in keystore2_ops_prune_test()
340 ops.push( in keystore2_ops_prune_test()
356 match ops.last() { in keystore2_ops_prune_test()
/system/chre/apps/tflm_demo/src/
Dmodel.cc36 ::tflite::ops::micro::Register_FULLY_CONNECTED(), 1, 4); in RegisterSelectedOps()
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc147 static bool ShouldCreateNewOp(const std::vector<CowMergeOperation>& ops, in ShouldCreateNewOp() argument
151 if (ops.empty()) { in ShouldCreateNewOp()
154 const auto& op = ops.back(); in ShouldCreateNewOp()
164 void AppendXorBlock(std::vector<CowMergeOperation>* ops, in AppendXorBlock() argument
168 if (!ops->empty() && ExtentContains(ops->back().dst_extent(), dst_block)) { in AppendXorBlock()
173 if (ShouldCreateNewOp(*ops, src_block, dst_block, src_offset)) { in AppendXorBlock()
174 auto& op = ops->emplace_back(); in AppendXorBlock()
182 auto& op = ops->back(); in AppendXorBlock()
/system/security/keystore2/test_utils/
Dlib.rs20 use std::{env::temp_dir, ops::Deref};
Dauthorizations.rs17 use std::ops::Deref;
/system/core/fs_mgr/
Dfs_mgr_remount.cpp413 std::unique_ptr<AvbOps, decltype(&avb_ops_user_free)> ops(avb_ops_user_new(), in SetVerityState() local
415 if (!ops) { in SetVerityState()
419 if (!avb_user_verity_set(ops.get(), ab_suffix.c_str(), enable_verity)) { in SetVerityState()
424 if (!avb_user_verification_get(ops.get(), ab_suffix.c_str(), &verification_enabled)) { in SetVerityState()
/system/hardware/interfaces/suspend/1.0/
DIWakeLock.hal27 * called. Subsequent calls must result in no-ops. If no unreleased wake
/system/keymint/boringssl/src/
Daes_cmac.rs65 impl core::ops::Drop for BoringAesCmacOperation {
Dhmac.rs65 impl core::ops::Drop for BoringHmacOperation {
/system/security/keystore2/src/crypto/
Dzvec.rs21 use std::ops::{Deref, DerefMut};
/system/core/trusty/keymint/src/
Dkeymint_hal_main.rs23 ops::DerefMut,
/system/media/camera/src/
Dcamera_metadata.c1038 int set_camera_metadata_vendor_tag_ops(const vendor_tag_query_ops_t* ops) { in set_camera_metadata_vendor_tag_ops() argument
1040 (void) ops; in set_camera_metadata_vendor_tag_ops()
1046 int set_camera_metadata_vendor_ops(const vendor_tag_ops_t* ops) { in set_camera_metadata_vendor_ops() argument
1047 vendor_tag_ops = ops; in set_camera_metadata_vendor_ops()
/system/unwinding/libunwindstack/
DAndroidVersions.md82 elf file as Dwarf 4. It does not support the new dwarf ops in Dwarf 5.
83 Since the new ops are not likely to be used very often, this allows
/system/keymint/hal/src/
Dlib.rs21 ops::DerefMut,
/system/security/keystore2/selinux/src/
Dlib.rs34 pub use std::ops::Deref;
/system/security/keystore2/tests/legacy_blobs/
Dkeystore2_legacy_blob_tests.rs19 use std::ops::Deref;

12