Home
last modified time | relevance | path

Searched refs:ops_ (Results 1 – 17 of 17) sorted by relevance

/external/avb/test/
Davb_slot_verify_unittest.cc43 ops_.set_delegate(this); in SetUp()
44 ops_.set_partition_dir(testdir_); in SetUp()
45 ops_.set_stored_rollback_indexes({{0, 0}, {1, 0}, {2, 0}, {3, 0}}); in SetUp()
46 ops_.set_stored_is_device_unlocked(false); in SetUp()
63 ops_.set_expected_public_key( in TEST_F()
69 avb_slot_verify(ops_.avb_ops(), in TEST_F()
104 ops_.set_expected_public_key( in TEST_F()
110 avb_slot_verify(ops_.avb_ops(), in TEST_F()
150 ops_.set_expected_public_key( in TEST_F()
153 ops_.set_stored_is_device_unlocked(true); in TEST_F()
[all …]
Davb_ab_flow_unittest.cc137 ops_.set_partition_dir(testdir_); in SetUp()
138 ops_.set_stored_rollback_indexes({{0, 0}, {1, 0}, {2, 0}, {3, 0}}); in SetUp()
139 ops_.set_stored_is_device_unlocked(false); in SetUp()
153 ops_.set_expected_public_key( in SetUp()
256 ops_.avb_ab_ops()->write_ab_metadata(ops_.avb_ab_ops(), &data)); in SetMD()
259 ops_.set_stored_rollback_indexes(stored_rollback_indexes); in SetMD()
267 FakeAvbOps ops_; member in avb::AvbABFlowTest
280 ops_.avb_ab_ops()->read_ab_metadata(ops_.avb_ab_ops(), &data)); \
287 EXPECT_EQ(stored_rollback_indexes, ops_.get_stored_rollback_indexes()); \
296 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_data_read(ops_.avb_ab_ops(), &loaded)); in TEST_F()
[all …]
Davb_atx_slot_verify_unittest.cc60 ops_.set_partition_dir(testdir_); in SetUp()
61 ops_.set_delegate(this); in SetUp()
62 ops_.set_permanent_attributes(attributes_); in SetUp()
63 ops_.set_stored_is_device_unlocked(false); in SetUp()
87 return ops_.write_rollback_index(ops, rollback_index_slot, rollback_index); in write_rollback_index()
93 return ops_.set_key_version(rollback_index_location, key_version); in set_key_version()
97 return ops_.get_random(num_bytes, output); in get_random()
101 ops_.set_stored_rollback_indexes( in RunSlotVerify()
114 ops_.set_expected_public_key( in RunSlotVerify()
119 avb_atx_slot_verify(ops_.avb_atx_ops(), in RunSlotVerify()
[all …]
Davb_atx_validate_unittest.cc96 ops_.set_delegate(this); in SetUp()
97 ops_.set_permanent_attributes(attributes_); in SetUp()
98 ops_.set_stored_rollback_indexes( in SetUp()
148 return ops_.read_rollback_index( in read_rollback_index()
200 return ops_.read_permanent_attributes(attributes); in read_permanent_attributes()
208 return ops_.read_permanent_attributes_hash(hash); in read_permanent_attributes_hash()
213 ops_.set_key_version(rollback_index_location, key_version); in set_key_version()
224 return ops_.get_random(num_bytes, output); in get_random()
230 ops_.avb_ops(), in Validate()
240 ops_.avb_atx_ops(), &unlock_credential_, is_trusted); in ValidateUnlock()
[all …]
Dfake_avb_ops.h297 return ops_.read_from_partition( in read_from_partition()
306 return ops_.get_preloaded_partition( in get_preloaded_partition()
314 return ops_.write_to_partition(partition, offset, num_bytes, buffer); in write_to_partition()
323 return ops_.validate_vbmeta_public_key(ops, in validate_vbmeta_public_key()
334 return ops_.read_rollback_index( in read_rollback_index()
341 return ops_.write_rollback_index(ops, rollback_index_slot, rollback_index); in write_rollback_index()
346 return ops_.read_is_device_unlocked(ops, out_is_device_unlocked); in read_is_device_unlocked()
353 return ops_.get_unique_guid_for_partition( in get_unique_guid_for_partition()
360 return ops_.get_size_of_partition(ops, partition, out_size); in get_size_of_partition()
367 return ops_.read_persistent_value( in read_persistent_value()
[all …]
Davbtool_unittest.cc50 ops_.set_partition_dir(testdir_); in SetUp()
51 ops_.set_stored_rollback_indexes({{0, 0}, {1, 0}, {2, 0}, {3, 0}}); in SetUp()
52 ops_.set_stored_is_device_unlocked(false); in SetUp()
61 FakeAvbOps ops_; member in avb::AvbToolTest
2279 ops_.avb_ops()->write_to_partition(ops_.avb_ops(), in TEST_F()
2401 ops_.avb_ops()->write_to_partition(ops_.avb_ops(), in TEST_F()
2419 ops_.avb_ops()->write_to_partition(ops_.avb_ops(), in TEST_F()
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dcallback_common.h69 : call_(call), func_(std::move(f)), ops_(ops) { in CallbackWithStatusTag()
87 CompletionQueueTag* ops_; variable
95 void* ignored = ops_; in Run()
97 GPR_CODEGEN_ASSERT(ops_->FinalizeResult(&ignored, &ok)); in Run()
98 GPR_CODEGEN_ASSERT(ignored == ops_); in Run()
126 : call_(call), func_(std::move(f)), ops_(ops) { in CallbackWithSuccessTag()
131 CompletionQueueTag* ops() { return ops_; } in ops()
141 CompletionQueueTag* ops_; variable
148 void* ignored = ops_; in Run()
150 GPR_CODEGEN_ASSERT(ops_->FinalizeResult(&ignored, &new_ok)); in Run()
[all …]
/external/tensorflow/tensorflow/core/api_def/
Dapi_test.cc199 OpRegistry::Global()->Export(false, &ops_); in BaseApiTest()
205 OpList ops_; member in tensorflow::BaseApiTest
212 for (const auto& op : ops_.op()) { in TEST_F()
225 TestAllApiDefsHaveCorrespondingOp(ops_, api_defs_map_); in TEST_F()
241 for (const auto& op : ops_.op()) { in TEST_F()
266 TestAllApiDefInputArgsAreValid(ops_, api_defs_map_); in TEST_F()
272 TestAllApiDefOutputArgsAreValid(ops_, api_defs_map_); in TEST_F()
278 TestAllApiDefAttributeNamesAreValid(ops_, api_defs_map_); in TEST_F()
295 OpRegistry::Global()->Export(false, &ops_); in PythonApiTest()
301 OpList ops_; member in tensorflow::PythonApiTest
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_op_registry.cc188 for (auto& ops : registry.ops_) { in RegisterCompilationKernels()
336 auto op_iter = registry.ops_.find(k->op()); in DeviceKernels()
337 CHECK(op_iter != registry.ops_.end() && !op_iter->second.empty()); in DeviceKernels()
353 for (const auto& pair : registry.ops_) { in GetAllRegisteredOps()
384 auto it = registry.ops_.find(op); in CompileTimeConstantInputs()
385 if (it == registry.ops_.end() || it->second.empty()) { in CompileTimeConstantInputs()
428 auto it = registry.ops_.find(op); in IsMetadataOp()
429 if (it == registry.ops_.end() || it->second.empty()) { in IsMetadataOp()
541 auto& existing_ops = registry.ops_[registration->name]; in XlaOpRegistrar()
Dxla_op_registry.h253 std::unordered_map<string, std::vector<std::unique_ptr<OpRegistration>>> ops_
/external/tensorflow/tensorflow/python/grappler/
Dcost_analyzer.cc131 ops_.push_back(op.second); in SortOpsByTime()
138 std::stable_sort(ops_.begin(), ops_.end(), CompareByTime()); in SortOpsByTime()
159 for (const auto& op : ops_) { in AnalyzeCosts()
207 for (const auto& op : ops_) { in PrintAnalysis()
Dcost_analyzer.h73 std::vector<OpPerfSummary> ops_; variable
/external/tensorflow/tensorflow/lite/experimental/writer/
Doption_writer_generator.cc112 const std::vector<std::string>& ops() const { return ops_; } in ops()
131 if (strlen(*curr) != 0) ops_.push_back(*curr); in BuildOpList()
195 for (auto op_name : ops_) { in BuildOpToOptionMap()
244 std::vector<std::string> ops_; member in tflite::OpOptionData
/external/tensorflow/tensorflow/core/graph/
Dgraph.cc350 : ops_(ops, FunctionDefLibrary()), in Graph()
384 Status s = ops_.AddLibrary(flib_def); in Graph()
408 status->Update(ops_.LookUpOpDef(node_def.op(), &op_def)); in AddNode()
435 TF_CHECK_OK(ops_.LookUpOpDef(node->type_string(), &op_def)); in CopyNode()
607 return ops_.AddLibrary(fdef_lib); in AddFunctionLibrary()
637 *graph_def->mutable_library() = ops_.ToProto(); in ToGraphDefSubRange()
Dgraph.h607 const OpRegistryInterface* op_registry() const { return &ops_; } in op_registry()
608 const FunctionLibraryDefinition& flib_def() const { return ops_; } in flib_def()
667 FunctionLibraryDefinition ops_; variable
/external/tensorflow/tensorflow/contrib/graph_editor/
Dselect.py692 ops_ = filter_ops_from_regex(graph, regex)
693 for op_ in ops_:
Dtransform.py528 ops_ = [op_ for _, op_ in iteritems(info.transformed_ops)]
529 sgv_ = subgraph.SubGraphView(ops_)