/bionic/libc/system_properties/ |
D | context_node.cpp | 52 char filename[PROP_FILENAME_MAX]; in Open() local 53 int len = async_safe_format_buffer(filename, sizeof(filename), "%s/%s", filename_, context_); in Open() 60 pa_ = prop_area::map_prop_area_rw(filename, context_, fsetxattr_failed); in Open() 62 pa_ = prop_area::map_prop_area(filename); in Open() 87 char filename[PROP_FILENAME_MAX]; in CheckAccess() local 88 int len = async_safe_format_buffer(filename, sizeof(filename), "%s/%s", filename_, context_); in CheckAccess() 93 return access(filename, R_OK) == 0; in CheckAccess()
|
D | contexts_split.cpp | 44 ContextListNode(ContextListNode* next, const char* context, const char* filename) in ContextListNode() argument 45 : ContextNode(strdup(context), filename), next(next) { in ContextListNode() 195 char filename[PROP_FILENAME_MAX]; in MapSerialPropertyArea() local 196 int len = async_safe_format_buffer(filename, sizeof(filename), "%s/properties_serial", filename_); in MapSerialPropertyArea() 204 prop_area::map_prop_area_rw(filename, "u:object_r:properties_serial:s0", fsetxattr_failed); in MapSerialPropertyArea() 206 serial_prop_area_ = prop_area::map_prop_area(filename); in MapSerialPropertyArea() 211 bool ContextsSplit::InitializePropertiesFromFile(const char* filename) { in InitializePropertiesFromFile() argument 212 FILE* file = fopen(filename, "re"); in InitializePropertiesFromFile() 296 bool ContextsSplit::Initialize(bool writable, const char* filename, bool* fsetxattr_failed) { in Initialize() argument 297 filename_ = filename; in Initialize()
|
D | contexts_serialized.cpp | 69 char filename[PROP_FILENAME_MAX]; in MapSerialPropertyArea() local 70 int len = async_safe_format_buffer(filename, sizeof(filename), "%s/properties_serial", filename_); in MapSerialPropertyArea() 78 prop_area::map_prop_area_rw(filename, "u:object_r:properties_serial:s0", fsetxattr_failed); in MapSerialPropertyArea() 80 serial_prop_area_ = prop_area::map_prop_area(filename); in MapSerialPropertyArea() 98 bool ContextsSerialized::Initialize(bool writable, const char* filename, bool* fsetxattr_failed) { in Initialize() argument 99 filename_ = filename; in Initialize()
|
D | system_properties.cpp | 61 bool SystemProperties::Init(const char* filename) { in Init() argument 70 if (strlen(filename) >= PROP_FILENAME_MAX) { in Init() 73 strcpy(property_filename_, filename); in Init() 97 bool SystemProperties::AreaInit(const char* filename, bool* fsetxattr_failed) { in AreaInit() argument 98 if (strlen(filename) >= PROP_FILENAME_MAX) { in AreaInit() 101 strcpy(property_filename_, filename); in AreaInit()
|
D | prop_area.cpp | 51 prop_area* prop_area::map_prop_area_rw(const char* filename, const char* context, in map_prop_area_rw() argument 56 const int fd = open(filename, O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444); in map_prop_area_rw() 71 "fsetxattr failed to set context (%s) for \"%s\"", context, filename); in map_prop_area_rw() 136 prop_area* prop_area::map_prop_area(const char* filename) { in map_prop_area() argument 137 int fd = open(filename, O_CLOEXEC | O_NOFOLLOW | O_RDONLY); in map_prop_area()
|
/bionic/tools/versioner/src/ |
D | SymbolDatabase.cpp | 40 std::unordered_set<std::string> getSymbols(const std::string& filename) { in getSymbols() argument 42 auto binaryOrError = createBinary(filename); in getSymbols() 44 errx(1, "failed to open library at %s: %s\n", filename.c_str(), in getSymbols() 50 errx(1, "failed to parse %s as ELF", filename.c_str()); in getSymbols() 57 errx(1, "failed to get symbol name for symbol in %s: %s", filename.c_str(), in getSymbols() 76 for (auto&& [filename, required] : wanted_files) { in parsePlatform() 77 std::string path = platform_dir + "/" + filename; in parsePlatform()
|
D | DeclarationDatabase.h | 112 std::string filename; member 117 return std::tie(filename, start, end) < std::tie(rhs.filename, rhs.start, rhs.end); 150 fprintf(out, "@ %s:%u:%u", StripPrefix(location.filename, base_path).str().c_str(),
|
D | DeclarationDatabase.cpp | 198 auto filename = src_manager.getFilename(expansion_range.getBegin()); in VisitDeclaratorDecl() local 199 if (filename != src_manager.getFilename(expansion_range.getEnd())) { in VisitDeclaratorDecl() 204 .filename = filename.str(), in VisitDeclaratorDecl() 223 location.filename.c_str(), location.start.line, location.start.column); in VisitDeclaratorDecl() 400 ss << loc.filename << ":" << loc.start.line << ":" << loc.start.column; in to_string()
|
D | Driver.cpp | 186 static std::vector<const char*> getCC1Command(CompilationType type, const std::string& filename) { in getCC1Command() argument 197 result.push_back(filename.c_str()); in getCC1Command() 242 const std::string& filename) { in compileHeader() argument 244 std::vector<const char*> cc1_flags = getCC1Command(type, filename); in compileHeader()
|
D | SymbolDatabase.h | 28 std::unordered_set<std::string> getSymbols(const std::string& filename);
|
D | Driver.h | 40 const std::string& filename);
|
/bionic/libdl/ |
D | libdl.cpp | 31 void* __loader_dlopen(const char* filename, int flags, const void* caller_addr); 67 void* __loader_android_dlopen_ext(const char* filename, 82 void* dlopen(const char* filename, int flag) { in dlopen() argument 84 return __loader_dlopen(filename, flag, caller_addr); in dlopen() 131 void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo) { in android_dlopen_ext() argument 133 return __loader_android_dlopen_ext(filename, flag, extinfo, caller_addr); in android_dlopen_ext()
|
/bionic/linker/ |
D | dlfcn.cpp | 57 void* __loader_android_dlopen_ext(const char* filename, 83 void* __loader_dlopen(const char* filename, int flags, const void* caller_addr) __LINKER_PUBLIC__; 133 static void* dlopen_ext(const char* filename, in dlopen_ext() argument 139 void* result = do_dlopen(filename, flags, extinfo, caller_addr); in dlopen_ext() 147 void* __loader_android_dlopen_ext(const char* filename, in __loader_android_dlopen_ext() argument 151 return dlopen_ext(filename, flags, extinfo, caller_addr); in __loader_android_dlopen_ext() 154 void* __loader_dlopen(const char* filename, int flags, const void* caller_addr) { in __loader_dlopen() argument 155 return dlopen_ext(filename, flags, nullptr, caller_addr); in __loader_dlopen()
|
/bionic/libc/tools/ |
D | genseccomp.py | 291 for filename in args.files: 292 if filename.lower().endswith('.txt'): 293 if filename.lower().endswith('priority.txt'): 294 priority_file = filename 296 syscall_files.append(filename) 298 m = re.search(r"libseccomp_gen_syscall_nrs_([^/]+)", filename) 299 syscall_NRs[m.group(1)] = parse_syscall_NRs(filename)
|
D | genfunctosyscallnrs.py | 50 for filename in args.files: 51 m = re.search(r"libseccomp_gen_syscall_nrs_([^/]+)", filename) 52 syscall_NRs[m.group(1)] = parse_syscall_NRs(filename)
|
D | generate-NOTICE.py | 161 for filename in sorted(filenames): 162 path = os.path.join(directory, filename)
|
/bionic/libc/bionic/ |
D | grp_pwd_file.h | 40 MmapFile(const char* filename, const char* required_prefix); 73 PasswdFile(const char* filename, const char* required_prefix); 89 GroupFile(const char* filename, const char* required_prefix);
|
D | grp_pwd_file.cpp | 196 MmapFile::MmapFile(const char* filename, const char* required_prefix) in MmapFile() argument 197 : filename_(filename), required_prefix_(required_prefix) { in MmapFile() 320 PasswdFile::PasswdFile(const char* filename, const char* required_prefix) in PasswdFile() argument 321 : mmap_file_(filename, required_prefix) { in PasswdFile() 336 GroupFile::GroupFile(const char* filename, const char* required_prefix) in GroupFile() argument 337 : mmap_file_(filename, required_prefix) { in GroupFile()
|
/bionic/libc/system_properties/include/system_properties/ |
D | context_node.h | 37 ContextNode(const char* context, const char* filename) in ContextNode() argument 38 : context_(context), pa_(nullptr), no_access_(false), filename_(filename) { in ContextNode()
|
D | contexts_pre_split.h | 41 virtual bool Initialize(bool, const char* filename, bool*) override { in Initialize() argument 42 pre_split_prop_area_ = prop_area::map_prop_area(filename); in Initialize()
|
D | contexts_split.h | 41 virtual bool Initialize(bool writable, const char* filename, bool* fsetxattr_failed) override; 52 bool InitializePropertiesFromFile(const char* filename);
|
D | system_properties.h | 57 bool Init(const char* filename); 58 bool AreaInit(const char* filename, bool* fsetxattr_failed);
|
D | prop_area.h | 94 static prop_area* map_prop_area_rw(const char* filename, const char* context, 96 static prop_area* map_prop_area(const char* filename);
|
D | contexts.h | 39 virtual bool Initialize(bool writable, const char* filename, bool* fsetxattr_failed) = 0;
|
/bionic/libc/kernel/uapi/linux/ |
D | bcm933xx_hcs.h | 30 char filename[64]; member
|