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

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

Completed in 343 milliseconds