Searched refs:map_result (Results 1 – 3 of 3) sorted by relevance
/system/core/property_service/libpropertyinfoparser/ |
D | property_info_parser.cpp | 217 void* map_result = mmap(nullptr, mmap_size, PROT_READ, MAP_SHARED, fd, 0); in LoadPath() local 218 if (map_result == MAP_FAILED) { in LoadPath() 223 auto property_info_area = reinterpret_cast<PropertyInfoArea*>(map_result); in LoadPath() 226 munmap(map_result, mmap_size); in LoadPath() 232 mmap_base_ = map_result; in LoadPath()
|
/system/core/init/ |
D | action.cpp | 116 auto map_result = function_map_->Find(args); in AddCommand() local 117 if (!map_result.ok()) { in AddCommand() 118 return Error() << map_result.error(); in AddCommand() 121 commands_.emplace_back(map_result->function, map_result->run_in_subcontext, std::move(args), in AddCommand()
|
D | subcontext.cpp | 87 auto map_result = function_map_->Find(args); in RunCommand() local 89 if (!map_result.ok()) { in RunCommand() 90 result = Error() << "Cannot find command: " << map_result.error(); in RunCommand() 92 result = RunBuiltinFunction(map_result->function, args, context_); in RunCommand()
|