Searched refs:malloc_fatal (Results 1 – 16 of 16) sorted by relevance
123 s = t = (char *)malloc_fatal(n + 1); in key_strrep()144 s = t = (char *)malloc_fatal(key_strlen(ks) + 1);334 i = (struct map_s *)malloc_fatal(sizeof(struct map_s)); in tio_map()378 *(list = (char **)malloc_fatal(sizeof(char *))) = 0; in tio_maplist()383 list = (char **)malloc_fatal((n + 1) * sizeof(char *)); in tio_maplist()393 list[k] = (char *)malloc_fatal(from_maxwidth + strlen(to[k]) + 2); in tio_maplist()425 rep = (char *)malloc_fatal(length);
692 *(list = (char **)malloc_fatal(sizeof(char *) * ++i)) = 0; in exh_cpl_file_list()738 list = (char **)malloc_fatal(sizeof(char *) * ++i); in exh_cpl_file_list()745 rp = (char *)malloc_fatal(strlen(path) + strlen(de->d_name) + 4); in exh_cpl_file_list()761 *(list = (char **)malloc_fatal(sizeof(char *))) = 0; in exh_cpl_file_list()779 list = (char **)malloc_fatal((j + 1) * sizeof(char *)); in exh_cpl_command_list()784 (char *)malloc_fatal(strlen(exh_commands[i].cmd_name) + 1); in exh_cpl_command_list()790 list[j] = (char *)malloc_fatal(2); in exh_cpl_command_list()812 list = (char **)malloc_fatal((j + 1) * sizeof(char *)); in exh_cpl_buffer_list()816 list[j] = (char *)malloc_fatal(strlen(i->hedit->buffer_name) + 1); in exh_cpl_buffer_list()932 char **list = (char **)malloc_fatal(sizeof(char *)); in exh_completer()
144 i = (struct option_s *)malloc_fatal(sizeof(struct option_s)); in s_append()330 list = (char **)malloc_fatal((n + 1) * sizeof(char *)); in s_option_list()334 list[n] = (char *)malloc_fatal(strlen(i->option) + 1); in s_option_list()352 list = (char **)malloc_fatal((n + 1) * sizeof(char *)); in s_option_value_list()354 list[n] = (char *)malloc_fatal(option_maxlen + 4 in s_option_value_list()
502 c->data = (char *)malloc_fatal(c->count); in he_read_command()648 j->data = (char *)malloc_fatal(i->count); in he_again()702 data = (char *)malloc_fatal(count); in he_delete()734 data = (char *)malloc_fatal(c); in he_paste()758 data_insert = (char *)malloc_fatal(c * count); in he_paste_over()759 data_delete = (char *)malloc_fatal(c * count); in he_paste_over()1532 data = (char *)malloc_fatal(insert->size); in he_insert_mode()1536 data_replace = (char *)malloc_fatal(replace->size); in he_insert_mode()1722 data = (char *)malloc_fatal(insert->size); in he_insert_mode()1737 data = (char *)malloc_fatal(insert->size); in he_insert_mode()[all …]
131 new_block = (BufferBlock *)malloc_fatal(sizeof(BufferBlock)); in new_buffer_block()135 else new_block->data = (char *)malloc_fatal(blocksize); in new_buffer_block()159 new_buf = (Buffer *)malloc_fatal(sizeof(Buffer)); in new_buffer()470 tmp = (char *)malloc_fatal(buffer->blocksize); in b_read_buffer_from_file()529 char *tmp = malloc_fatal(buffer->blocksize); in b_copy_to_file()561 char *tmp = malloc_fatal(buffer->blocksize); in b_paste_from_file()
91 m = (struct he_message_s *)malloc_fatal(sizeof(struct he_message_s)); in he_message()95 m->message = (char *)malloc_fatal(512); /* FIXME */ in he_message()208 *(buffer = (struct buffer_s *)malloc_fatal(sizeof(struct buffer_s))) = NO_BUFFER; in he_open_buffer()209 buffer->hedit = (struct he_s *)malloc_fatal(sizeof(struct he_s)); in he_open_buffer()236 (char *)malloc_fatal(strlen(path) + strlen(cwd) + 2); in he_open_buffer()275 (char *)malloc_fatal(strlen(hexer_ext) + strlen(i->path) + 1); in he_select_buffer_()
54 malloc_fatal(const size_t size) in malloc_fatal() function
434 data = (char *)malloc_fatal(match_len); in exhcmd_substitute()630 data = (char *)malloc_fatal(l); in exhcmd_read()688 pathbuf = (char *)malloc_fatal(strlen(name) + strlen(pe->pw_dir) + 4); in exhcmd_edit()734 list = (char **)malloc_fatal((k + 1) * sizeof(char *)); in exhcmd_buffer()736 list[k] = (char *)malloc_fatal(strlen(i->hedit->buffer_name) + 512); in exhcmd_buffer()1020 data = (char *)malloc_fatal(count); in exhcmd_delete()
384 rx_store_match[slot] = malloc_fatal(count); in regex_ref()658 stack = (long *)malloc_fatal((max - min + 1) * sizeof(long)); in regex_match_()731 *replace_str = (char *)malloc_fatal(1); in regex_match()763 (char *)malloc_fatal(*replace_len + !*replace_len); in regex_match()909 (long *)malloc_fatal(regex_blocksize * sizeof(long)); in regex_compile()1487 s = (char *)malloc_fatal(strlen(replace) + 1); in regex_compile()
158 (struct rl_line_s *)malloc_fatal(max * sizeof(struct rl_line_s)); in rl_history_init()160 rl_history[i][j].line = (char *)malloc_fatal(1); in rl_history_init()162 rl_history[i][j].vline = (char *)malloc_fatal(1); in rl_history_init()192 (char *)malloc_fatal(strlen(line.line) + 1); in rl_history_add()934 list2 = (char **)malloc_fatal(m * k * sizeof(char *)); in rl_complete()
100 char * const p = malloc_fatal(2048); in my_vasprintf()1559 c2 = out = (char *)malloc_fatal(strlen(s) + 1); in tio_puts()1813 char *s = (char *)malloc_fatal(strlen(text) + 1); in tio_display()
365 i = (struct calc_variable_s *)malloc_fatal(sizeof *i); in calc_assign()
64 malloc_fatal(func);82 malloc_fatal(func);101 malloc_fatal(func);
46 void malloc_fatal();95 malloc_fatal(func);107 malloc_fatal(func);147 malloc_fatal(func);406 malloc_fatal(funcname) in malloc_fatal() function
81 void malloc_fatal();
76 4. Malloc_warning() and malloc_fatal() are used when an error condition77 is detected. If the error is severe, malloc_fatal is called.