Home
last modified time | relevance | path

Searched refs:basename (Results 1 – 25 of 36) sorted by relevance

12

/system/netd/server/
DInterfaceController.cpp66 const char* dirname, const char* subdirname, const char* basename, in writeValueToPath() argument
68 std::string path(StringPrintf("%s/%s/%s", dirname, subdirname, basename)); in writeValueToPath()
72 void setOnAllInterfaces(const char* dirname, const char* basename, const char* value) { in setOnAllInterfaces() argument
74 writeValueToPath(dirname, "default", basename, value); in setOnAllInterfaces()
87 writeValueToPath(dirname, d->d_name, basename, value); in setOnAllInterfaces()
/system/connectivity/shill/bin/
Dreload_network_device48 if [ $(basename $(dirname "${DEVPATH}")) != 'net' ] ; then
53 module_name=$(basename $(readlink -f "/sys${DEVPATH}/device/driver/module"))
Dshill_login_user41 script_name=$(basename $0)
65 username_hash=$(basename $profile_base)
Dshill_logout_user20 script_name=$(basename $0)
Dset_apn21 PROGRAM=$(basename $0)
Dset_cellular_ppp22 PROGRAM=$(basename $0)
/system/core/crash_reporter/
Dcrash_collector.cc151 const std::string &basename, in GetCrashPath() argument
154 basename.c_str(), in GetCrashPath()
315 std::string basename; in CheckHasCapacity() local
321 basename = filename.substr(0, last_dot); in CheckHasCapacity()
323 basename = filename; in CheckHasCapacity()
324 basenames.insert(basename); in CheckHasCapacity()
Dudev_collector.cc106 std::string basename = action + "-" + kernel + "-" + subsystem; in ProcessUdevCrashLogs() local
108 basename; in ProcessUdevCrashLogs()
112 FormatDumpBasename(basename, time(nullptr), 0); in ProcessUdevCrashLogs()
Dcrash_collector_test.cc105 std::string basename = in TEST_F() local
107 ASSERT_EQ("foo.20100523.135015.100", basename); in TEST_F()
Dcrash_collector.h112 const std::string &basename,
/system/extras/ext4_utils/
Dtest_ext4fixup5 ME=`basename $0`
Dext4fixup_main.c37 me = basename(argv[0]); in main()
Dmake_ext4fs_main.c55 fprintf(stderr, "%s [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]\n", basename(path)); in usage()
/system/extras/f2fs_utils/
Dmake_f2fs_main.c38 fprintf(stderr, "%s -l <len>\n", basename(path)); in usage()
/system/core/init/
Dlog.cpp28 static const char* tag = basename(getprogname()); in init_klog_vwrite()
/system/core/fs_mgr/
Dfs_mgr_main.c38 me = basename(strdup(argv[0])); in parse_options()
Dfs_mgr_verity.cpp684 basename(fstab->mount_point)) >= (int)sizeof(tag)) { in compare_last_signature()
732 basename(fstab->mount_point)) >= (int)sizeof(tag)) { in get_verity_state_offset()
880 mount_point = basename(fstab->recs[i].mount_point); in fs_mgr_update_verity_state()
955 char *mount_point = basename(fstab->mount_point); in fs_mgr_setup_verity()
/system/extras/tests/wifi/stress/
DwifiLoadScanAssoc.c230 testPrintE(" %s [options]", basename(argv[0])); in main()
254 basename(argv[0])); in main()
/system/core/base/
Dlogging.cpp112 strcpy(progname, basename(longname));
251 gProgramInvocationName.reset(new std::string(basename(argv[0]))); in InitLogging()
/system/update_engine/payload_generator/
Dext2_filesystem.cc105 string basename(dirent->name, dirent->name_len & 0xff); in UpdateFileAndAppend() local
109 ino_file->second.name += basename; in UpdateFileAndAppend()
/system/extras/memory_replay/
Dmain.cpp165 fprintf(stderr, "Usage: %s MEMORY_LOG_FILE [MAX_THREADS]\n", basename(argv[0])); in main()
/system/core/libsparse/
Dsimg_dump.py31 me = posixpath.basename(sys.argv[0])
/system/core/libbacktrace/
DBacktraceCurrent.cpp88 const std::string library = basename(frame.map.name.c_str()); in DiscardFrame()
/system/core/adb/
Dtest_device.py597 self.base_name = os.path.basename(self.full_path)
604 self.base_name = posixpath.basename(self.full_path)
693 os.path.basename(host_dir),
839 host_dir, posixpath.basename(self.DEVICE_TEMP_DIR),
874 real_dir, posixpath.basename(self.DEVICE_TEMP_DIR),
891 tmp_dirname = os.path.basename(self.DEVICE_TEMP_DIR)
Dadb_utils.cpp111 char* name = basename(&result[0]); in adb_basename()

12