Searched refs:canonical_name (Results 1 – 10 of 10) sorted by relevance
/system/core/libmodprobe/ |
D | libmodprobe_ext.cpp | 42 auto canonical_name = MakeCanonical(path_name); in Insmod() local 44 auto options_iter = module_options_.find(canonical_name); in Insmod() 57 module_loaded_.emplace(canonical_name); in Insmod() 65 module_loaded_.emplace(canonical_name); in Insmod() 71 auto canonical_name = MakeCanonical(module_name); in Rmmod() local 72 int ret = syscall(__NR_delete_module, canonical_name.c_str(), O_NONBLOCK); in Rmmod() 77 module_loaded_.erase(canonical_name); in Rmmod()
|
D | libmodprobe.cpp | 82 std::string canonical_name = MakeCanonical(args[0].substr(0, pos)); in ParseDepCallback() local 83 if (canonical_name.empty()) { in ParseDepCallback() 86 this->module_deps_[canonical_name] = deps; in ParseDepCallback() 152 const std::string& canonical_name = MakeCanonical(module); in ParseLoadCallback() local 153 if (canonical_name.empty()) { in ParseLoadCallback() 156 this->module_load_.emplace_back(canonical_name); in ParseLoadCallback() 178 const std::string& canonical_name = MakeCanonical(module); in ParseOptionsCallback() local 179 if (canonical_name.empty()) { in ParseOptionsCallback() 190 auto [unused, inserted] = this->module_options_.emplace(canonical_name, options); in ParseOptionsCallback() 214 const std::string& canonical_name = MakeCanonical(module); in ParseBlocklistCallback() local [all …]
|
/system/tools/aidl/ |
D | import_resolver.cpp | 53 string ImportResolver::FindImportFile(const string& canonical_name) const { in FindImportFile() 55 string relative_path = canonical_name; in FindImportFile() 82 AIDL_ERROR(input_file_name_) << "Duplicate files found for " << canonical_name << " from:\n" in FindImportFile()
|
D | import_resolver.h | 43 std::string FindImportFile(const std::string& canonical_name) const;
|
D | aidl_typenames.h | 72 std::string canonical_name; member
|
D | aidl_language.cpp | 493 fully_qualified_name_ = result.canonical_name; in Resolve() 1489 std::string canonical_name; in ResolveName() local 1499 if (canonical_name != "" && canonical_name != fq_name) { in ResolveName() 1500 AIDL_ERROR(import) << "Ambiguous type: " << canonical_name << " vs. " << fq_name; in ResolveName() 1503 canonical_name = fq_name; in ResolveName() 1507 if (canonical_name == "") { in ResolveName() 1510 return canonical_name; in ResolveName()
|
D | aidl.cpp | 556 const std::optional<string> canonical_name = doc->ResolveName(unresolved_name); in load_and_validate_aidl() local 557 if (!canonical_name) { in load_and_validate_aidl() 560 const string import_path = import_resolver.FindImportFile(*canonical_name); in load_and_validate_aidl()
|
D | generate_cpp.cpp | 1574 string canonical_name = defined_type.GetCanonicalName(); in ValidateOutputFilePath() local 1575 std::replace(canonical_name.begin(), canonical_name.end(), '.', OS_PATH_SEPARATOR); in ValidateOutputFilePath() 1576 const string expected = out_dir + canonical_name + ".cpp"; in ValidateOutputFilePath()
|
/system/tools/aidl/tests/ |
D | fake_io_delegate.cpp | 104 void FakeIoDelegate::AddStubParcelable(const string& canonical_name, in AddStubParcelable() argument 107 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddStubParcelable() 120 void FakeIoDelegate::AddStubInterface(const string& canonical_name) { in AddStubInterface() argument 122 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddStubInterface() 128 void FakeIoDelegate::AddCompoundParcelable(const string& canonical_name, in AddCompoundParcelable() argument 131 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddCompoundParcelable()
|
D | fake_io_delegate.h | 56 void AddStubParcelable(const std::string& canonical_name, 58 void AddStubInterface(const std::string& canonical_name); 59 void AddCompoundParcelable(const std::string& canonical_name,
|