Home
last modified time | relevance | path

Searched refs:tmp_name (Results 1 – 15 of 15) sorted by relevance

/external/v8/tools/
Ddisasm.py58 tmp_name = None
63 tmp_name = tempfile.mktemp(".v8code")
66 filename, tmp_name, size, offset,
68 tmp_name)
86 if tmp_name:
87 os.unlink(tmp_name)
/external/selinux/policycoreutils/sepolicy/
Dsearch.c382 const char *tmp_name; in get_te_results() local
420 if (!(tmp_name = apol_rule_type_to_str(rule_type))) { in get_te_results()
426 if (py_insert_string(dict, "type", tmp_name)) in get_te_results()
431 if (qpol_type_get_name(q, type, &tmp_name)) in get_te_results()
433 if (py_insert_string(dict, "source", tmp_name)) in get_te_results()
438 if (qpol_type_get_name(q, type, &tmp_name)) in get_te_results()
440 if (py_insert_string(dict, "target", tmp_name)) in get_te_results()
445 if (qpol_class_get_name(q, obj_class, &tmp_name)) in get_te_results()
447 if (py_insert_string(dict, "class", tmp_name)) in get_te_results()
452 if (qpol_type_get_name(q, type, &tmp_name)) in get_te_results()
[all …]
/external/lldb/tools/darwin-threads/
Dexamine-threads.c79 char tmp_name[PATH_MAX]; in get_process_name_for_pid() local
80 if (proc_pidpath (pid, tmp_name, sizeof (tmp_name)) == 0) in get_process_name_for_pid()
85 if (strrchr (tmp_name, '/')) in get_process_name_for_pid()
86 return strdup (strrchr (tmp_name, '/') + 1); in get_process_name_for_pid()
88 return strdup (tmp_name); in get_process_name_for_pid()
/external/selinux/libsepol/src/
Dboolean_record.c95 char *tmp_name = strdup(name); in hidden_def() local
96 if (!tmp_name) { in hidden_def()
101 boolean->name = tmp_name; in hidden_def()
Diface_record.c124 char *tmp_name = strdup(name); in hidden_def() local
125 if (!tmp_name) { in hidden_def()
130 iface->name = tmp_name; in hidden_def()
Duser_record.c100 char *tmp_name = strdup(name); in sepol_user_set_name() local
101 if (!tmp_name) { in sepol_user_set_name()
106 user->name = tmp_name; in sepol_user_set_name()
/external/selinux/libsemanage/src/
Duser_extra_record.c91 char *tmp_name = strdup(name); in semanage_user_extra_set_name() local
92 if (!tmp_name) { in semanage_user_extra_set_name()
98 user_extra->name = tmp_name; in semanage_user_extra_set_name()
Dseuser_record.c122 char *tmp_name = strdup(name); in hidden_def() local
123 if (!tmp_name) { in hidden_def()
128 seuser->name = tmp_name; in hidden_def()
Duser_record.c106 char *tmp_name = strdup(name); in hidden_def() local
107 if (!tmp_name) in hidden_def()
117 user->name = tmp_name; in hidden_def()
125 free(tmp_name); in hidden_def()
/external/ltrace/sysdeps/linux-gnu/
Dtrace.c1273 char *tmp_name = alloca(sizeof NAME + 2 + 16); in linux_elf_find_irelative_name() local
1274 sprintf(tmp_name, NAME "%#" PRIx64, (uint64_t) addr); in linux_elf_find_irelative_name()
1275 name = tmp_name; in linux_elf_find_irelative_name()
1330 char *tmp_name = malloc(strlen(name) + sizeof S); in linux_append_IFUNC_to_name() local
1331 if (tmp_name == NULL) in linux_append_IFUNC_to_name()
1333 sprintf(tmp_name, "%s%s", name, S); in linux_append_IFUNC_to_name()
1335 return tmp_name; in linux_append_IFUNC_to_name()
1353 char *tmp_name = linux_append_IFUNC_to_name(name); in os_elf_add_func_entry() local
1355 if (tmp_name == NULL || tmp == NULL) { in os_elf_add_func_entry()
1357 free(tmp_name); in os_elf_add_func_entry()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig_file.c1311 char *tmp_name = os_malloc(tmp_len); in wpa_config_write() local
1313 if (tmp_name) { in wpa_config_write()
1314 os_snprintf(tmp_name, tmp_len, "%s.tmp", name); in wpa_config_write()
1315 name = tmp_name; in wpa_config_write()
1323 os_free(tmp_name); in wpa_config_write()
1360 if (tmp_name) { in wpa_config_write()
1364 chmod_ret = chmod(tmp_name, in wpa_config_write()
1367 if (chmod_ret != 0 || rename(tmp_name, orig_name) != 0) in wpa_config_write()
1370 os_free(tmp_name); in wpa_config_write()
/external/ltrace/sysdeps/linux-gnu/ppc/
Dplt.c648 char *tmp_name = linux_append_IFUNC_to_name(name); in arch_elf_add_func_entry() local
655 if (tmp_name == NULL || libsym == NULL in arch_elf_add_func_entry()
657 tmp_name, 1, in arch_elf_add_func_entry()
660 free(tmp_name); in arch_elf_add_func_entry()
/external/e2fsprogs/misc/
Dtune2fs.c1825 char *dev_name, *tmp_name; in tune2fs_setup_tdb() local
1836 tmp_name = strdup(name); in tune2fs_setup_tdb()
1837 if (!tmp_name) { in tune2fs_setup_tdb()
1843 dev_name = basename(tmp_name); in tune2fs_setup_tdb()
1876 free(tmp_name); in tune2fs_setup_tdb()
Dmke2fs.c2210 char *dev_name, *tmp_name; in mke2fs_setup_tdb() local
2232 tmp_name = strdup(name); in mke2fs_setup_tdb()
2233 if (!tmp_name) in mke2fs_setup_tdb()
2235 dev_name = basename(tmp_name); in mke2fs_setup_tdb()
2238 free(tmp_name); in mke2fs_setup_tdb()
2242 free(tmp_name); in mke2fs_setup_tdb()
/external/toybox/toys/pending/
Ddiff.c180 char tmp_name[] = "/tmp/diffXXXXXX"; in read_stdin() local
181 int rd, wr, tmpfd = mkstemp(tmp_name); in read_stdin()
184 unlink(tmp_name); in read_stdin()