| /netbsd/src/bin/pax/ |
| D | file_subs.c | 147 arcn->tmp_name = malloc(arcn->nlen + 8); in file_creat() 148 if (arcn->tmp_name == NULL) { in file_creat() 154 xtmp_name = arcn->tmp_name; in file_creat() 163 (void)snprintf(arcn->tmp_name, arcn->nlen + 8, "%s.XXXXXX", in file_creat() 165 fd = mkstemp(arcn->tmp_name); in file_creat() 171 syswarn(1, oerrno, "Cannot create %s", arcn->tmp_name); in file_creat() 173 free(arcn->tmp_name); in file_creat() 174 arcn->tmp_name = NULL; in file_creat() 190 char *tmp_name; in file_cleanup() local 195 tmp_name = (arcn->tmp_name != NULL) ? arcn->tmp_name : arcn->name; in file_cleanup() [all …]
|
| D | pax.h | 115 char *tmp_name; /* tmp name used to restore */ member
|
| /netbsd/src/sys/external/bsd/sljit/dist/sljit_src/ |
| D | sljitProtExecAllocator.c | 106 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/ |
| D | login.c | 378 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 …]
|
| D | ChangeLog | 10837 * login.c (logout): free `tmp_name' when done.
|
| /netbsd/src/external/gpl3/binutils/dist/bfd/ |
| D | coff-arm.c | 1027 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 …]
|
| D | elf32-arm.c | 7099 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/gdb/dist/bfd/ |
| D | coff-arm.c | 1027 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 …]
|
| D | elf32-arm.c | 7097 char *tmp_name; in find_thumb_glue() local 7106 tmp_name = (char *) bfd_malloc ((bfd_size_type) strlen (name) in find_thumb_glue() 7109 BFD_ASSERT (tmp_name); in find_thumb_glue() 7111 sprintf (tmp_name, THUMB2ARM_GLUE_ENTRY_NAME, name); in find_thumb_glue() 7114 (&(hash_table)->root, tmp_name, false, false, true); in find_thumb_glue() 7119 "Thumb", tmp_name, name); in find_thumb_glue() 7124 free (tmp_name); in find_thumb_glue() 7136 char *tmp_name; in find_arm_glue() local 7145 tmp_name = (char *) bfd_malloc ((bfd_size_type) strlen (name) in find_arm_glue() 7147 BFD_ASSERT (tmp_name); in find_arm_glue() [all …]
|
| /netbsd/src/external/bsd/wpa/dist/wpa_supplicant/ |
| D | config_file.c | 1647 char *tmp_name; in wpa_config_write() local 1655 tmp_name = os_malloc(tmp_len); in wpa_config_write() 1656 if (tmp_name) { in wpa_config_write() 1657 os_snprintf(tmp_name, tmp_len, "%s.tmp", name); in wpa_config_write() 1658 name = tmp_name; in wpa_config_write() 1666 os_free(tmp_name); in wpa_config_write() 1707 if (tmp_name) { in wpa_config_write() 1711 chmod_ret = chmod(tmp_name, in wpa_config_write() 1714 if (chmod_ret != 0 || rename(tmp_name, orig_name) != 0) in wpa_config_write() 1717 os_free(tmp_name); in wpa_config_write()
|
| /netbsd/src/external/bsd/fetch/dist/libfetch/ |
| D | common.c | 838 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/ |
| D | gimple-expr.cc | 420 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()
|
| D | cgraphclones.cc | 521 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()
|
| D | ubsan.cc | 501 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()
|
| D | tree-vect-loop-manip.cc | 3222 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()
|
| D | tree-predcom.cc | 2793 tree new_name, tmp_name, var, r1, r2; in reassociate_to_the_same_stmt() local 2848 tmp_name = make_ssa_name (var); in reassociate_to_the_same_stmt() 2853 tmp_stmt = gimple_build_assign (tmp_name, gimple_assign_rhs_code (s1), in reassociate_to_the_same_stmt() 2858 gimple_assign_set_rhs_with_ops (&bsi, code, new_name, tmp_name); in reassociate_to_the_same_stmt()
|
| /netbsd/src/external/bsd/libevent/dist/ |
| D | evdns.c | 1042 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/bsd/ntp/dist/sntp/libevent/ |
| D | evdns.c | 1040 char tmp_name[256], cmp_name[256]; /* used by the macros */ in reply_parse() local 1077 do { tmp_name[0] = '\0'; \ in reply_parse() 1078 if (name_parse(packet, length, &j, tmp_name, \ in reply_parse() 1079 sizeof(tmp_name))<0) \ in reply_parse() 1090 tmp_name[0] = '\0'; in reply_parse() 1093 if (name_parse(packet, length, &j, tmp_name, sizeof(tmp_name)) < 0) in reply_parse() 1099 if (strcmp(tmp_name, cmp_name) == 0) in reply_parse() 1102 if (evutil_ascii_strcasecmp(tmp_name, cmp_name) == 0) in reply_parse() 1239 char tmp_name[256]; /* used by the macros */ in request_parse() local 1279 if (name_parse(packet, length, &j, tmp_name, sizeof(tmp_name))<0) in request_parse() [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/gas/config/ |
| D | tc-s390.c | 972 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/gcc/dist/libcpp/ |
| D | macro.cc | 515 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/gpl3/gcc/dist/gcc/cp/ |
| D | cp-gimplify.cc | 3304 char tmp_name[32]; in fold_builtin_source_location() local 3305 ASM_GENERATE_INTERNAL_LABEL (tmp_name, "Lsrc_loc", source_location_id++); in fold_builtin_source_location() 3306 var = build_decl (loc, VAR_DECL, get_identifier (tmp_name), in fold_builtin_source_location()
|
| D | module.cc | 19846 char *tmp_name = NULL; in finish_module_processing() local 19855 tmp_name = XNEWVEC (char, len + 3); in finish_module_processing() 19856 memcpy (tmp_name, path, len); in finish_module_processing() 19857 strcpy (&tmp_name[len], "~"); in finish_module_processing() 19862 fd = open (tmp_name, in finish_module_processing() 19868 create_dirs (tmp_name); in finish_module_processing() 19895 if (rename (tmp_name, path)) in finish_module_processing() 19919 unlink (tmp_name); in finish_module_processing() 19921 XDELETEVEC (tmp_name); in finish_module_processing()
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | ChangeLog-2013 | 10440 * python/py-param.c (add_setshow_generic): Make "tmp_name" local
|