Searched defs:pathname (Results 1 - 4 of 4) sorted by relevance
/system/core/init/ |
H A D | util.cpp | 275 int mkdir_recursive(const char *pathname, mode_t mode) argument 279 const char *p = pathname; 285 width = slash - pathname; 295 memcpy(buf, pathname, width); 303 ret = make_dir(pathname, mode); 456 int restorecon(const char* pathname) argument 458 return selinux_android_restorecon(pathname, 0); 461 int restorecon_recursive(const char* pathname) argument 463 return selinux_android_restorecon(pathname, SELINUX_ANDROID_RESTORECON_RECURSE);
|
/system/core/toolbox/ |
H A D | ls.c | 405 const char* pathname = filename; local 409 pathname = tmp; 411 pathname = filename; 414 if(lstat(pathname, &s) < 0) { 415 fprintf(stderr, "lstat '%s' failed: %s\n", pathname, strerror(errno)); 424 return listfile_maclabel(pathname, &s); 426 return listfile_long(pathname, &s, flags); 428 return listfile_size(pathname, filename, &s, flags);
|
/system/core/adb/ |
H A D | sysdeps.h | 186 extern void* load_file(const char* pathname, unsigned* psize); 340 static __inline__ int adb_open_mode( const char* pathname, int options, int mode ) argument 342 return TEMP_FAILURE_RETRY( open( pathname, options, mode ) ); 346 static __inline__ int adb_open( const char* pathname, int options ) argument 348 int fd = TEMP_FAILURE_RETRY( open( pathname, options ) );
|
/system/core/logcat/ |
H A D | logcat.cpp | 81 static int openLogFile (const char *pathname) argument 83 return open(pathname, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR);
|
Completed in 159 milliseconds