Home
last modified time | relevance | path

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

12

/system/netd/netutils_wrappers/
DNetUtilsWrapper-1.0.cpp108 char *basename = NULL; in doMain() local
110 basename = strrchr(progname, '/'); in doMain()
111 basename = basename ? basename + 1 : progname; in doMain()
115 if (!strncmp(basename, netcmds[i], len)) { in doMain()
117 basename[len] = '\0'; in doMain()
121 if (asprintf(&cmd, "%s%s", SYSTEM_DIRNAME, basename) == -1) { in doMain()
/system/libufdt/tests/
Dverify_dto_inc.sh16 PROG_NAME=`basename $0`
47 OVERLAY_DTS_NAME=`basename "$OVERLAY_DTS"`
54 BASE_DTS_NAME=`basename "$BASE_DTS"`
Dapply_overlay.sh16 PROG_NAME=`basename $0`
67 BASE_DTS_NAME=`basename "$BASE_DTS"`
73 OVERLAY_DTS_NAME=`basename "$OVERLAY_DTS"`
/system/netd/server/
DInterfaceController.cpp74 const char* dirname, const char* subdirname, const char* basename, in writeValueToPath() argument
76 std::string path(StringPrintf("%s/%s/%s", dirname, subdirname, basename)); in writeValueToPath()
103 void setOnAllInterfaces(const char* dirname, const char* basename, const char* value) { in setOnAllInterfaces() argument
104 auto fn = [basename, value](const std::string& path, const std::string& iface) { in setOnAllInterfaces()
105 writeValueToPath(path.c_str(), iface.c_str(), basename, value); in setOnAllInterfaces()
/system/core/init/
Dinit_first_stage.cpp212 const std::string device_name(basename(verity_device.c_str())); in InitVerityDevice()
270 required_devices_partition_names_.emplace(basename(fstab_rec->blk_device)); in GetRequiredDevices()
274 required_devices_partition_names_.emplace(basename(verity_loc_device.c_str())); in GetRequiredDevices()
323 required_devices_partition_names_.emplace(basename(fstab_rec->blk_device)); in GetRequiredDevices()
Dinit.cpp949 if (!strcmp(basename(argv[0]), "ueventd")) { in main()
953 if (!strcmp(basename(argv[0]), "watchdogd")) { in main()
/system/extras/ext4_utils/
Dtest_ext4fixup5 ME=`basename $0`
Dext4fixup_main.c38 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/fs_mgr/
Dfs_mgr_main.cpp42 me = basename(argv[0]); in parse_options()
Dfs_mgr_avb_ops.cpp117 std::string partition_name = basename(fstab.recs[i].blk_device); in FsManagerAvbOps()
Dfs_mgr_verity.cpp599 basename(fstab->mount_point)) >= (int)sizeof(tag)) { in compare_last_signature()
647 basename(fstab->mount_point)) >= (int)sizeof(tag)) { in get_verity_state_offset()
734 const std::string mount_point(basename(fstab->mount_point)); in fs_mgr_setup_verity()
Dfs_mgr_avb.cpp352 const std::string mount_point(basename(fstab_entry->mount_point)); in hashtree_dm_verity_setup()
558 std::string partition_name(basename(fstab_entry->mount_point)); in SetUpAvb()
/system/extras/memory_replay/
Dmain.cpp165 fprintf(stderr, "Usage: %s MEMORY_LOG_FILE [MAX_THREADS]\n", basename(argv[0])); in main()
/system/update_engine/payload_generator/
Dext2_filesystem.cc109 string basename(dirent->name, dirent->name_len & 0xff); in UpdateFileAndAppend() local
113 ino_file->second.name += basename; in UpdateFileAndAppend()
/system/core/base/
Dfile_test.cpp165 std::string basename = android::base::Basename(td.path); in TEST() local
170 std::string path = dir_name + "/../" + base_dir_name + "/" + basename; in TEST()
Dlogging.cpp108 strcpy(progname, basename(longname));
271 ProgramInvocationName() = basename(argv[0]); in InitLogging()
Dfile.cpp283 char* name = basename(&result[0]); in Basename()
/system/core/libbacktrace/
DBacktraceCurrent.cpp88 const std::string library = basename(frame.map.name.c_str()); in DiscardFrame()
/system/core/libsparse/
Dsimg_dump.py40 me = posixpath.basename(sys.argv[0])
/system/core/adb/
Dtest_device.py676 self.base_name = os.path.basename(self.full_path)
683 self.base_name = posixpath.basename(self.full_path)
772 os.path.basename(host_dir),
949 host_dir, posixpath.basename(self.DEVICE_TEMP_DIR),
984 real_dir, posixpath.basename(self.DEVICE_TEMP_DIR),
1001 tmp_dirname = os.path.basename(self.DEVICE_TEMP_DIR)
/system/extras/simpleperf/
Dgtest_main.cpp142 arg_str += basename(argv[0]); in TestInAppContext()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp298 cerr << basename(argv[0]) << " [options]" << endl; in main()
/system/tpm/attestation/common/
Dproto_print.py403 proto_name = os.path.basename(args.input_file).rsplit('.', 1)[0]

12