| /openbsd-src/gnu/lib/libreadline/shlib/ |
| H A D | Makefile.in | 113 $(topdir)/callback.c $(topdir)/terminal.c $(topdir)/xmalloc.c \ 123 ansi_stdlib.h tcap.h xmalloc.h rlprivate.h rlshell.h rlmbutil.h 131 text.so nls.so misc.so xmalloc.so $(SHARED_HISTOBJ) $(SHARED_TILDEOBJ) \ 152 $(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so 154 $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so $(SHLIB_LIBS) 300 xmalloc.so: ${BUILD_DIR}/config.h 301 xmalloc.so: $(topdir)/ansi_stdlib.h 333 bind.so: $(topdir)/xmalloc.h 334 complete.so: $(topdir)/xmalloc.h 335 display.so: $(topdir)/xmalloc.h [all …]
|
| /openbsd-src/gnu/lib/libreadline/ |
| H A D | Makefile.in | 96 $(srcdir)/callback.c $(srcdir)/terminal.c $(srcdir)/xmalloc.c \ 106 ansi_stdlib.h tcap.h rlstdc.h xmalloc.h rlprivate.h rlshell.h \ 114 text.o nls.o misc.o compat.o xmalloc.o $(HISTOBJ) $(TILDEOBJ) 145 libhistory.a: $(HISTOBJ) xmalloc.o 147 $(AR) $(ARFLAGS) $@ $(HISTOBJ) xmalloc.o 383 xmalloc.o: ${BUILD_DIR}/config.h 384 xmalloc.o: ansi_stdlib.h 416 bind.o: xmalloc.h 417 complete.o: xmalloc.h 418 display.o: xmalloc.h [all …]
|
| H A D | tilde.c | 51 static void *xmalloc (), *xrealloc (); 206 result = (char *)xmalloc (result_size = (strlen (string) + 16)); 208 result = (char *)xmalloc (result_size = (strlen (string) + 1)); 239 tilde_word = (char *)xmalloc (1 + end); 280 ret = (char *)xmalloc (strlen (fname)); 306 ret = (char *)xmalloc (plen + slen + 1); 432 xmalloc (bytes) in xmalloc() function
|
| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | modules.c | 73 mfile = xmalloc (strlen (current_parsed_root->directory) in open_module() 148 buf = xmalloc (100 209 value = xmalloc (val.dsize + 1); 234 file = xmalloc (strlen (current_parsed_root->directory) 237 attic_file = xmalloc (strlen (current_parsed_root->directory) 253 modargv = xmalloc (sizeof (*modargv)); 266 modargv = xmalloc (2 * sizeof (*modargv)); 267 modargv[0] = xmalloc (strlen (mname) + 2); 283 modargv = xmalloc (2 * sizeof (*modargv)); 291 modargv = xmalloc (2 * sizeof (*modargv)); [all …]
|
| H A D | hardlink.c | 66 inodestr = (char *) xmalloc (2*sizeof(ino_t) + 1); 131 path = xmalloc (strlen(dir) + strlen(file) + 2); 146 n->data = (char *) xmalloc (sizeof (struct hardlink_info)); 179 path = (char *) xmalloc (strlen(dir) + strlen(file) + 2); 195 inodestr = (char *) xmalloc (2*sizeof(ino_t) + 1); 282 xmalloc (strlen (dir) + strlen (node->key) + 2);
|
| /openbsd-src/gnu/usr.bin/texinfo/makeinfo/ |
| H A D | index.c | 89 user_command_array = xmalloc (1 * sizeof (COMMAND *)); in define_user_command() 94 user_command_array[slot] = xmalloc (sizeof (COMMAND)); in define_user_command() 161 char *index_line = xmalloc (strlen (index_entry) + 2); in index_add_arg() 174 INDEX_ELT *new = xmalloc (sizeof (INDEX_ELT)); in index_add_arg() 307 name_index_alist[slot] = xmalloc (sizeof (INDEX_ALIST)); in defindex() 322 temp = xmalloc (1 + strlen (name) + strlen ("index")); in top_defindex() 340 the_indices = xmalloc ((1 + defined_indices) * sizeof (INDEX_ELT *)); in init_indices() 343 name_index_alist = xmalloc ((1 + defined_indices) in init_indices() 416 char *temp = xmalloc (strlen (name) + sizeof ("index")); in gen_defindex() 524 copy = xmalloc ((1 + count) * sizeof (INDEX_ELT *)); in make_index_entries_unique() [all …]
|
| H A D | files.c | 75 value = xmalloc (1 + (i - start)); in extract_colon_unit() 118 fullpath = xmalloc (2 + strlen (dir) + strlen (filename)); in get_file_info_in_path() 179 tmp = (char *) xmalloc (strlen (include_files_path) - i); in pop_path_from_include_path() 218 result = xmalloc (file_size + 2); in find_and_load() 288 FSTACK *newstack = xmalloc (sizeof (FSTACK)); in pushfile() 402 result = xmalloc (1 + i); in pathname_part() 431 char *localdir = xmalloc (1025); in full_pathname() 460 result = xmalloc (strlen (&filename[1]) in full_pathname() 475 char *username = xmalloc (257); in full_pathname() 492 result = xmalloc ( in full_pathname() [all...] |
| H A D | macro.c | 116 macro_list[macro_list_len] = xmalloc (sizeof (MACRO_DEF)); in add_macro() 197 word = xmalloc (1 + len); in get_brace_args() 273 arglist = xmalloc (2 * sizeof (char *)); in get_macro_args() 303 new_body = xmalloc (1 + new_body_size); in apply() 323 param = xmalloc (1 + len); in apply() 333 text = xmalloc (1 + len); in apply() 358 text = xmalloc (1 + len); in apply() 483 name = xmalloc (1 + len); in define_macro() 525 word = xmalloc (1 + len); in define_macro() 750 name = xmalloc (i + 1); in cm_unmacro() [all …]
|
| H A D | float.c | 37 FLOAT_ELT *new = xmalloc (sizeof (FLOAT_ELT)); in add_new_float() 60 char *s = xmalloc (len + 1); in add_new_float() 146 char *s = xmalloc (strlen (temp->type) + strlen (temp->number) + 2); in get_float_ref() 193 char *list_command = xmalloc (command_len + 1); in cm_listoffloats() 287 raw_entry = (char *) xmalloc (strlen (float_type) in cm_listoffloats() 333 entry = xmalloc (len + aux_chars_len); in cm_listoffloats() 348 entry = xmalloc (len + aux_chars_len); in cm_listoffloats()
|
| /openbsd-src/gnu/usr.bin/binutils/ld/ |
| H A D | pe-dll.c | 375 new_exclude = xmalloc (sizeof (struct exclude_list_struct)); in pe_dll_add_excludes() 376 new_exclude->string = xmalloc (strlen (exclude_string) + 1); in pe_dll_add_excludes() 519 char *buf = xmalloc (size); in process_def_file() 542 symbols = xmalloc (symsize); in process_def_file() 558 char *name = xmalloc (strlen (sn) + 2 + 6); in process_def_file() 629 exported_symbol_offsets = xmalloc (NE * sizeof (bfd_vma)); in process_def_file() 630 exported_symbol_sections = xmalloc (NE * sizeof (struct bfd_section *)); in process_def_file() 683 name = xmalloc (strlen (pe_def_file->exports[i].internal_name) + 2); in process_def_file() 833 exported_symbols = xmalloc (export_table_size * sizeof (int)); in generate_edata() 894 name = xmalloc (strlen (pe_def_file->exports[i].internal_name) + 2); in fill_exported_offsets() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/ld/ |
| H A D | pe-dll.c | 375 new_exclude = xmalloc (sizeof (struct exclude_list_struct)); in pe_dll_add_excludes() 376 new_exclude->string = xmalloc (strlen (exclude_string) + 1); in pe_dll_add_excludes() 519 char *buf = xmalloc (size); in process_def_file() 542 symbols = xmalloc (symsize); in process_def_file() 558 char *name = xmalloc (strlen (sn) + 2 + 6); in process_def_file() 634 exported_symbol_offsets = xmalloc (NE * sizeof (bfd_vma)); in process_def_file() 635 exported_symbol_sections = xmalloc (NE * sizeof (struct bfd_section *)); in process_def_file() 709 name = xmalloc (strlen (pe_def_file->exports[i].internal_name) + 2); in process_def_file() 859 exported_symbols = xmalloc (export_table_size * sizeof (int)); in generate_edata() 928 name = xmalloc (strlen (pe_def_file->exports[i].internal_name) + 2); in fill_exported_offsets() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/ |
| H A D | arc-ext.c | 182 char * insn_name = (char *) xmalloc(( (int)*p-5) * sizeof(char)); in arcExtMap_add() 184 (struct ExtInstruction *) xmalloc(sizeof(struct ExtInstruction)); in arcExtMap_add() 199 char * core_name = (char *) xmalloc(((int)*p-3) * sizeof(char)); in arcExtMap_add() 208 char * cc_name = (char *) xmalloc( ((int)*p-3) * sizeof(char)); in arcExtMap_add() 219 char * aux_name = (char *) xmalloc ( ((int)*p-6) * sizeof(char)); in arcExtMap_add() 253 arcExtMap = (char *) xmalloc (count);
|
| /openbsd-src/gnu/usr.bin/binutils/opcodes/ |
| H A D | arc-ext.c | 181 char * insn_name = (char *) xmalloc(( (int)*p-5) * sizeof(char)); in arcExtMap_add() 183 (struct ExtInstruction *) xmalloc(sizeof(struct ExtInstruction)); in arcExtMap_add() 198 char * core_name = (char *) xmalloc(((int)*p-3) * sizeof(char)); in arcExtMap_add() 207 char * cc_name = (char *) xmalloc( ((int)*p-3) * sizeof(char)); in arcExtMap_add() 218 char * aux_name = (char *) xmalloc ( ((int)*p-6) * sizeof(char)); in arcExtMap_add() 252 arcExtMap = (char *) xmalloc (count);
|
| /openbsd-src/gnu/usr.bin/texinfo/info/ |
| H A D | tilde.c | 28 static void *xmalloc (), *xrealloc (); 154 tilde_word = (char *)xmalloc (1 + end); in tilde_expand() 202 temp_name = xmalloc (1 + strlen (&dirname[1]) in tilde_expand_word() 216 char *username = xmalloc (257); in tilde_expand_word() 239 temp_name = xmalloc (1 + strlen (expansion) in tilde_expand_word() 251 temp_name = xmalloc (1 + strlen (user_entry->pw_dir) in tilde_expand_word() 307 xmalloc (bytes) in xmalloc() function
|
| H A D | filesys.c | 190 temp = (char *)xmalloc (30 + strlen (temp_dirname) + strlen (filename)); in info_file_in_path() 292 char *value = xmalloc ((i - start) + 1); in extract_colon_unit() 348 new = (FILENAME_LIST *)xmalloc (sizeof (FILENAME_LIST)); in remember_info_filename() 362 xmalloc (infopath_size = (1 + strlen (DEFAULT_INFOPATH))); in maybe_initialize_infopath() 377 infopath = (char *)xmalloc (infopath_size = 200 + strlen (path)); in info_add_path() 483 contents = (char *)xmalloc (1 + st_size); in filesys_read_info_file() 529 command = (char *)xmalloc (15 + strlen (pathname) + strlen (decompressor)); in filesys_read_compressed() 540 temp = (char *)xmalloc (5 + strlen (command)); in filesys_read_compressed() 557 chunk = (char *)xmalloc (FILESYS_PIPE_BUFFER_SIZE); in filesys_read_compressed()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/ |
| H A D | xtensa-relax.c | 488 TransitionList *tl = (TransitionList *) xmalloc (sizeof (TransitionList)); in append_transition() 521 (PreconditionList *) xmalloc (sizeof (PreconditionList)); in append_condition() 548 Precondition *cond = (Precondition *) xmalloc (sizeof (Precondition)); in append_value_condition() 564 Precondition *cond = (Precondition *) xmalloc (sizeof (Precondition)); in append_constant_value_condition() 620 BuildOp *b_op = (BuildOp *) xmalloc (sizeof (BuildOp)); in append_literal_op() 633 BuildOp *b_op = (BuildOp *) xmalloc (sizeof (BuildOp)); in append_label_op() 646 BuildOp *b_op = (BuildOp *) xmalloc (sizeof (BuildOp)); in append_constant_op() 659 BuildOp *b_op = (BuildOp *) xmalloc (sizeof (BuildOp)); in append_field_op() 677 BuildOp *b_op = (BuildOp *) xmalloc (sizeof (BuildOp)); in append_user_fn_field_op() 785 op = (opname_e *) xmalloc (sizeof (opname_e)); in enter_opname_n() [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | gengtype-yacc.y | 163 p->opt = xmalloc (sizeof (*(p->opt))); 174 p->opt = xmalloc (sizeof (*(p->opt))); 185 pair_p p = xmalloc (sizeof (*p)); 195 pair_p p = xmalloc (sizeof (*p)); 205 pair_p p = xmalloc (sizeof (*p)); 271 options_p o = xmalloc (sizeof (*o)); 278 options_p o = xmalloc (sizeof (*o));
|
| H A D | genextract.c | 131 link = (struct code_ptr *) xmalloc (sizeof (struct code_ptr)); 166 p = (struct extraction *) xmalloc (sizeof (struct extraction)); 224 newpath = (char *) xmalloc (depth + 2); 240 newpath = (char *) xmalloc (depth + 2); 256 newpath = (char *) xmalloc (depth + 2); 276 newpath = (char *) xmalloc (depth + 2); 420 = (struct code_ptr *) xmalloc (sizeof (struct code_ptr)); 528 new = xmalloc (strlen (last_real_name) + 10);
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/mi/ |
| H A D | mi-parse.c | 36 char **argv = xmalloc ((argc + 1) * sizeof (char *)); in mi_parse_argv() 88 arg = xmalloc ((len + 1) * sizeof (char)); in mi_parse_argv() 118 arg = xmalloc ((len + 1) * sizeof (char)); in mi_parse_argv() 163 parse->token = xmalloc ((chp - cmd + 1) * sizeof (char *)); in mi_parse() 182 parse->command = xmalloc ((chp - tmp + 1) * sizeof (char *)); in mi_parse()
|
| /openbsd-src/gnu/usr.bin/binutils/binutils/ |
| H A D | wrstabs.c | 402 s = (struct stab_type_stack *) xmalloc (sizeof *s); in stab_push_string() 476 info.symbols = (bfd_byte *) xmalloc (info.symbols_alloc); in write_stabs_in_sections_debugging_info() 527 *pstrings = (bfd_byte *) xmalloc (info.strings_size); in write_stabs_in_sections_debugging_info() 792 buf = (char *) xmalloc (10 + strlen (tag)); in stab_enum_type() 807 buf = (char *) xmalloc (len); in stab_enum_type() 865 buf = (char *) xmalloc (strlen (s) + 2); in stab_modify_type() 908 buf = (char *) xmalloc (strlen (s) + 20); in stab_modify_type() 958 buf = (char *) xmalloc (strlen (s) + 3); in stab_function_type() 999 buf = (char *) xmalloc (strlen (s) + 100); in stab_range_type() 1031 buf = (char *) xmalloc (strlen (range) + strlen (element) + 100); in stab_array_type() [all …]
|
| H A D | dlltool.c | 895 struct export *p = (struct export *) xmalloc (sizeof (*p)); in def_exports() 951 dlist_type *d = (dlist_type *) xmalloc (sizeof (dlist_type)); in def_description() 960 dlist_type *d = (dlist_type *) xmalloc (sizeof (dlist_type)); in new_directive() 1002 q->functail->next = xmalloc (sizeof (ifunctype)); in append_import() 1012 q = xmalloc (sizeof (iheadtype)); in append_import() 1015 q->funchead = xmalloc (sizeof (ifunctype)); in append_import() 1214 buf = xmalloc (size); in scan_drectve_symbols() 1240 c = xmalloc (p - name + 1); in scan_drectve_symbols() 1333 xmalloc (sizeof (struct string_list))); in add_excludes() 1334 new_exclude->string = (char *) xmalloc (strlen (exclude_string) + 2); in add_excludes() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/binutils/ |
| H A D | wrstabs.c | 402 s = (struct stab_type_stack *) xmalloc (sizeof *s); in stab_push_string() 476 info.symbols = (bfd_byte *) xmalloc (info.symbols_alloc); in write_stabs_in_sections_debugging_info() 529 *pstrings = (bfd_byte *) xmalloc (info.strings_size); in write_stabs_in_sections_debugging_info() 794 buf = (char *) xmalloc (10 + strlen (tag)); in stab_enum_type() 809 buf = (char *) xmalloc (len); in stab_enum_type() 867 buf = (char *) xmalloc (strlen (s) + 2); in stab_modify_type() 910 buf = (char *) xmalloc (strlen (s) + 20); in stab_modify_type() 960 buf = (char *) xmalloc (strlen (s) + 3); in stab_function_type() 1001 buf = (char *) xmalloc (strlen (s) + 100); in stab_range_type() 1033 buf = (char *) xmalloc (strlen (range) + strlen (element) + 100); in stab_array_type() [all …]
|
| H A D | dlltool.c | 897 struct export *p = (struct export *) xmalloc (sizeof (*p)); in def_exports() 962 dlist_type *d = (dlist_type *) xmalloc (sizeof (dlist_type)); in def_description() 971 dlist_type *d = (dlist_type *) xmalloc (sizeof (dlist_type)); in new_directive() 1013 q->functail->next = xmalloc (sizeof (ifunctype)); in append_import() 1023 q = xmalloc (sizeof (iheadtype)); in append_import() 1026 q->funchead = xmalloc (sizeof (ifunctype)); in append_import() 1225 buf = xmalloc (size); in scan_drectve_symbols() 1251 c = xmalloc (p - name + 1); in scan_drectve_symbols() 1344 xmalloc (sizeof (struct string_list))); in add_excludes() 1345 new_exclude->string = (char *) xmalloc (strlen (exclude_string) + 2); in add_excludes() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.threads/ |
| H A D | linux-dp.c | 46 xmalloc (size_t n) in xmalloc() function 173 fork_mutex = xmalloc (num_philosophers * sizeof (fork_mutex[0])); in main() 182 int *numbers = xmalloc (num_philosophers * sizeof (*numbers)); in main() 185 philosophers = xmalloc (num_philosophers * sizeof (*philosophers)); in main()
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | environ.c | 36 e = (struct environ *) xmalloc (sizeof (struct environ)); in make_environ() 39 e->vector = (char **) xmalloc ((e->allocated + 1) * sizeof (char *)); in make_environ() 84 char *new = (char *) xmalloc (len + 1); in init_environ() 143 s = (char *) xmalloc (len + strlen (value) + 2); in set_in_environ()
|