Searched refs:pathname (Results 1 – 7 of 7) sorted by relevance
/system/core/init/ |
D | util.h | 34 int mkdir_recursive(const char *pathname, mode_t mode); 43 int restorecon(const char *pathname); 44 int restorecon_recursive(const char *pathname);
|
D | util.c | 283 int mkdir_recursive(const char *pathname, mode_t mode) in mkdir_recursive() argument 287 const char *p = pathname; in mkdir_recursive() 293 width = slash - pathname; in mkdir_recursive() 303 memcpy(buf, pathname, width); in mkdir_recursive() 311 ret = make_dir(pathname, mode); in mkdir_recursive() 528 int restorecon(const char* pathname) in restorecon() argument 530 return selinux_android_restorecon(pathname, 0); in restorecon() 533 int restorecon_recursive(const char* pathname) in restorecon_recursive() argument 535 return selinux_android_restorecon(pathname, SELINUX_ANDROID_RESTORECON_RECURSE); in restorecon_recursive()
|
D | readme.txt | 51 service <name> <pathname> [ <argument> ]*
|
/system/core/toolbox/ |
D | ls.c | 309 const char* pathname = filename; in listfile() local 313 pathname = tmp; in listfile() 315 pathname = filename; in listfile() 318 if(lstat(pathname, &s) < 0) { in listfile() 319 fprintf(stderr, "lstat '%s' failed: %s\n", pathname, strerror(errno)); in listfile() 328 return listfile_maclabel(pathname, &s); in listfile() 330 return listfile_long(pathname, &s, flags); in listfile() 332 return listfile_size(pathname, filename, &s, flags); in listfile()
|
/system/core/liblog/ |
D | logd_write_kern.c | 49 #define log_open(pathname, flags) fakeLogOpen(pathname, flags) argument 53 #define log_open(pathname, flags) open(pathname, (flags) | O_CLOEXEC) argument
|
/system/core/adb/ |
D | sysdeps.h | 168 extern void* load_file(const char* pathname, unsigned* psize); 344 static __inline__ int adb_open_mode( const char* pathname, int options, int mode ) in adb_open_mode() argument 346 return TEMP_FAILURE_RETRY( open( pathname, options, mode ) ); in adb_open_mode() 350 static __inline__ int adb_open( const char* pathname, int options ) in adb_open() argument 352 int fd = TEMP_FAILURE_RETRY( open( pathname, options ) ); in adb_open()
|
/system/core/logcat/ |
D | logcat.cpp | 67 static int openLogFile (const char *pathname) in openLogFile() argument 69 return open(pathname, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR); in openLogFile()
|