Home
last modified time | relevance | path

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

12

/netbsd-src/sys/external/bsd/sljit/dist/sljit_src/
H A DsljitProtExecAllocator.c106 char tmp_name[256]; in create_tempfile() local
114 if (len > 0 && len < sizeof(tmp_name)) { in create_tempfile()
115 strcpy(tmp_name, P_tmpdir); in create_tempfile()
119 strcpy(tmp_name, "/tmp"); in create_tempfile()
123 strcpy(tmp_name, "/tmp"); in create_tempfile()
130 if (len > 0 && len < sizeof(tmp_name)) { in create_tempfile()
131 strcpy(tmp_name, dir); in create_tempfile()
136 SLJIT_ASSERT(tmp_name_len > 0 && tmp_name_len < sizeof(tmp_name)); in create_tempfile()
138 while (tmp_name_len > 0 && tmp_name[tmp_name_len - 1] == '/') { in create_tempfile()
140 tmp_name[tmp_name_len] = '\0'; in create_tempfile()
[all …]
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dlogin.c378 char *tmp_name; in password_entry_operation() local
387 if ((tmp_fp = cvs_temp_file (&tmp_name)) == NULL) in password_entry_operation()
388 error (1, errno, "unable to open temp file %s", tmp_name); in password_entry_operation()
402 error (0, errno, "fatal error: cannot write %s", tmp_name); in password_entry_operation()
404 error (0, errno, "cannot close %s", tmp_name); in password_entry_operation()
408 if (CVS_UNLINK (tmp_name) < 0) in password_entry_operation()
409 error (0, errno, "cannot remove %s", tmp_name); in password_entry_operation()
430 error (0, errno, "cannot close %s", tmp_name); in password_entry_operation()
443 copy_file (tmp_name, passfile); in password_entry_operation()
444 if (CVS_UNLINK (tmp_name) < 0) in password_entry_operation()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dcoff-arm.c1027 char *tmp_name; in find_thumb_glue() local
1031 tmp_name = bfd_malloc (amt); in find_thumb_glue()
1033 BFD_ASSERT (tmp_name); in find_thumb_glue()
1035 sprintf (tmp_name, THUMB2ARM_GLUE_ENTRY_NAME, name); in find_thumb_glue()
1038 (coff_hash_table (info), tmp_name, false, false, true); in find_thumb_glue()
1043 input_bfd, tmp_name, name); in find_thumb_glue()
1045 free (tmp_name); in find_thumb_glue()
1056 char *tmp_name; in find_arm_glue() local
1060 tmp_name = bfd_malloc (amt); in find_arm_glue()
1062 BFD_ASSERT (tmp_name); in find_arm_glue()
[all …]
H A Delf32-arm.c7096 char *tmp_name; in find_thumb_glue() local
7105 tmp_name = (char *) bfd_malloc ((bfd_size_type) strlen (name) in find_thumb_glue()
7108 BFD_ASSERT (tmp_name); in find_thumb_glue()
7110 sprintf (tmp_name, THUMB2ARM_GLUE_ENTRY_NAME, name); in find_thumb_glue()
7113 (&(hash_table)->root, tmp_name, false, false, true); in find_thumb_glue()
7117 "Thumb", tmp_name, name) == -1) in find_thumb_glue()
7120 free (tmp_name); in find_thumb_glue()
7132 char *tmp_name; in find_arm_glue() local
7141 tmp_name = (char *) bfd_malloc ((bfd_size_type) strlen (name) in find_arm_glue()
7143 BFD_ASSERT (tmp_name); in find_arm_glue()
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dcoff-arm.c1027 char *tmp_name; in find_thumb_glue() local
1031 tmp_name = bfd_malloc (amt); in find_thumb_glue()
1033 BFD_ASSERT (tmp_name); in find_thumb_glue()
1035 sprintf (tmp_name, THUMB2ARM_GLUE_ENTRY_NAME, name); in find_thumb_glue()
1038 (coff_hash_table (info), tmp_name, false, false, true); in find_thumb_glue()
1043 input_bfd, tmp_name, name); in find_thumb_glue()
1045 free (tmp_name); in find_thumb_glue()
1056 char *tmp_name; in find_arm_glue() local
1060 tmp_name = bfd_malloc (amt); in find_arm_glue()
1062 BFD_ASSERT (tmp_name); in find_arm_glue()
[all …]
H A Delf32-arm.c7099 char *tmp_name; in find_thumb_glue() local
7108 tmp_name = (char *) bfd_malloc ((bfd_size_type) strlen (name) in find_thumb_glue()
7111 BFD_ASSERT (tmp_name); in find_thumb_glue()
7113 sprintf (tmp_name, THUMB2ARM_GLUE_ENTRY_NAME, name); in find_thumb_glue()
7116 (&(hash_table)->root, tmp_name, false, false, true); in find_thumb_glue()
7121 "Thumb", tmp_name, name); in find_thumb_glue()
7126 free (tmp_name); in find_thumb_glue()
7138 char *tmp_name; in find_arm_glue() local
7147 tmp_name = (char *) bfd_malloc ((bfd_size_type) strlen (name) in find_arm_glue()
7149 BFD_ASSERT (tmp_name); in find_arm_glue()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dhsa-brig.c2131 char tmp_name[64]; in hsa_output_global_variables() local
2132 ASM_GENERATE_INTERNAL_LABEL (tmp_name, "__hsa_global_variables", 1); in hsa_output_global_variables()
2134 get_identifier (tmp_name), in hsa_output_global_variables()
2174 char tmp_name[64]; in hsa_output_kernels() local
2175 ASM_GENERATE_INTERNAL_LABEL (tmp_name, "__hsa_host_functions", 1); in hsa_output_kernels()
2177 get_identifier (tmp_name), in hsa_output_kernels()
2295 ASM_GENERATE_INTERNAL_LABEL (tmp_name, "__hsa_dependencies_list", i); in hsa_output_kernels()
2298 get_identifier (tmp_name), in hsa_output_kernels()
2329 ASM_GENERATE_INTERNAL_LABEL (tmp_name, "__hsa_kernels", 1); in hsa_output_kernels()
2331 get_identifier (tmp_name), in hsa_output_kernels()
[all …]
H A Dgimple-expr.c420 char *tmp_name; in create_tmp_var_name() local
432 ASM_FORMAT_PRIVATE_NAME (tmp_name, prefix ? prefix : "T", tmp_var_id_num++); in create_tmp_var_name()
433 return get_identifier (tmp_name); in create_tmp_var_name()
H A Dcgraphclones.c520 char *tmp_name, *prefix; in clone_function_name() local
526 ASM_FORMAT_PRIVATE_NAME (tmp_name, prefix, number); in clone_function_name()
527 return get_identifier (tmp_name); in clone_function_name()
H A Dubsan.c497 char tmp_name[32]; in ubsan_type_descriptor() local
498 ASM_GENERATE_INTERNAL_LABEL (tmp_name, "Lubsan_type", ubsan_ids[0]++); in ubsan_type_descriptor()
499 decl = build_decl (UNKNOWN_LOCATION, VAR_DECL, get_identifier (tmp_name), in ubsan_type_descriptor()
604 char tmp_name[32]; in ubsan_create_data() local
605 ASM_GENERATE_INTERNAL_LABEL (tmp_name, "Lubsan_data", ubsan_ids[1]++); in ubsan_create_data()
606 tree var = build_decl (UNKNOWN_LOCATION, VAR_DECL, get_identifier (tmp_name), in ubsan_create_data()
H A Dtree-vect-loop-manip.c3085 char tmp_name[20]; in vect_create_cond_for_align_checks() local
3121 sprintf (tmp_name, "addr2int%d", i); in vect_create_cond_for_align_checks()
3122 addr_tmp_name = make_temp_ssa_name (int_ptrsize_type, NULL, tmp_name); in vect_create_cond_for_align_checks()
3131 sprintf (tmp_name, "orptrs%d", i); in vect_create_cond_for_align_checks()
3132 new_or_tmp_name = make_temp_ssa_name (int_ptrsize_type, NULL, tmp_name); in vect_create_cond_for_align_checks()
/netbsd-src/external/bsd/fetch/dist/libfetch/
H A Dcommon.c838 char *tmp_name; local
861 tmp_name = malloc( base_doc_len + name_len + 1);
862 if (tmp_name == NULL) {
871 free(tmp_name);
886 tmp->doc = tmp_name;
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgimple-expr.cc420 char *tmp_name; in create_tmp_var_name() local
432 ASM_FORMAT_PRIVATE_NAME (tmp_name, prefix ? prefix : "T", tmp_var_id_num++); in create_tmp_var_name()
433 return get_identifier (tmp_name); in create_tmp_var_name()
H A Dcgraphclones.cc521 char *tmp_name, *prefix; in clone_function_name() local
527 ASM_FORMAT_PRIVATE_NAME (tmp_name, prefix, number); in clone_function_name()
528 return get_identifier (tmp_name); in clone_function_name()
H A Dubsan.cc501 char tmp_name[32]; in ubsan_type_descriptor() local
502 ASM_GENERATE_INTERNAL_LABEL (tmp_name, "Lubsan_type", ubsan_ids[0]++); in ubsan_type_descriptor()
503 decl = build_decl (UNKNOWN_LOCATION, VAR_DECL, get_identifier (tmp_name), in ubsan_type_descriptor()
608 char tmp_name[32]; in ubsan_create_data() local
609 ASM_GENERATE_INTERNAL_LABEL (tmp_name, "Lubsan_data", ubsan_ids[1]++); in ubsan_create_data()
610 tree var = build_decl (UNKNOWN_LOCATION, VAR_DECL, get_identifier (tmp_name), in ubsan_create_data()
H A Dtree-vect-loop-manip.cc3222 char tmp_name[20]; in vect_create_cond_for_align_checks() local
3261 sprintf (tmp_name, "addr2int%d", i); in vect_create_cond_for_align_checks()
3262 addr_tmp_name = make_temp_ssa_name (int_ptrsize_type, NULL, tmp_name); in vect_create_cond_for_align_checks()
3271 sprintf (tmp_name, "orptrs%d", i); in vect_create_cond_for_align_checks()
3272 new_or_tmp_name = make_temp_ssa_name (int_ptrsize_type, NULL, tmp_name); in vect_create_cond_for_align_checks()
/netbsd-src/bin/pax/
H A Dpax.h115 char *tmp_name; /* tmp name used to restore */ member
/netbsd-src/external/bsd/libevent/dist/
H A Devdns.c1042 char tmp_name[256], cmp_name[256]; /* used by the macros */ in reply_parse() local
1079 do { tmp_name[0] = '\0'; \ in reply_parse()
1080 if (name_parse(packet, length, &j, tmp_name, \ in reply_parse()
1081 sizeof(tmp_name))<0) \ in reply_parse()
1092 tmp_name[0] = '\0'; in reply_parse()
1095 if (name_parse(packet, length, &j, tmp_name, sizeof(tmp_name)) < 0) in reply_parse()
1101 if (strcmp(tmp_name, cmp_name) == 0) in reply_parse()
1104 if (evutil_ascii_strcasecmp(tmp_name, cmp_name) == 0) in reply_parse()
1241 char tmp_name[256]; /* used by the macros */ in request_parse() local
1281 if (name_parse(packet, length, &j, tmp_name, sizeof(tmp_name))<0) in request_parse()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-s390.c972 char tmp_name[64]; in s390_lit_suffix() local
1075 sprintf (tmp_name, ".L\001%i", lp_count); in s390_lit_suffix()
1076 lp_sym = symbol_make (tmp_name); in s390_lit_suffix()
1080 sprintf (tmp_name, ".L\001%i\002%i", lp_count, lpe_count); in s390_lit_suffix()
1082 lpe->sym = symbol_make (tmp_name); in s390_lit_suffix()
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-s390.c970 char tmp_name[64]; in s390_lit_suffix() local
1073 sprintf (tmp_name, ".L\001%i", lp_count); in s390_lit_suffix()
1074 lp_sym = symbol_make (tmp_name); in s390_lit_suffix()
1078 sprintf (tmp_name, ".L\001%i\002%i", lp_count, lpe_count); in s390_lit_suffix()
1080 lpe->sym = symbol_make (tmp_name); in s390_lit_suffix()
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/
H A Dmacro.c506 cpp_remap_file (const char *arg, char **tmp_name) in cpp_remap_file() argument
524 *tmp_name = result; in cpp_remap_file()
595 char *tmp_name; in _cpp_builtin_macro_text() local
609 tmp_name = NULL; in _cpp_builtin_macro_text()
610 name = cpp_remap_file (name, &tmp_name); in _cpp_builtin_macro_text()
616 free (tmp_name); in _cpp_builtin_macro_text()
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dmacro.cc515 cpp_remap_file (const char *arg, char **tmp_name) in cpp_remap_file() argument
533 *tmp_name = result; in cpp_remap_file()
605 char *tmp_name; in _cpp_builtin_macro_text() local
624 tmp_name = NULL; in _cpp_builtin_macro_text()
625 name = cpp_remap_file (name, &tmp_name); in _cpp_builtin_macro_text()
631 free (tmp_name); in _cpp_builtin_macro_text()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Drpz.c1052 dns_name_t tmp_name; in clz()
1073 dns_name_init(&tmp_name, tmp_name_offsets); in diff_keys()
1081 dns_name_getlabelsequence(src_name, prefix_len, n, &tmp_name); in diff_keys()
1082 (void)dns_name_concatenate(&tmp_name, dns_rootname, trig_name, NULL); in diff_keys()
987 dns_name_t tmp_name; name2data() local
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Drpz.c1007 dns_name_t tmp_name; in name2data() local
1029 dns_name_init(&tmp_name, tmp_name_offsets); in name2data()
1037 dns_name_getlabelsequence(src_name, prefix_len, n, &tmp_name); in name2data()
1038 (void)dns_name_concatenate(&tmp_name, dns_rootname, trig_name, NULL); in name2data()
H A Dname.c2061 dns_name_t tmp_name; in dns_name_concatenate() local
2085 DNS_NAME_INIT(&tmp_name, odata); in dns_name_concatenate()
2086 name = &tmp_name; in dns_name_concatenate()

12