Home
last modified time | relevance | path

Searched refs:malloc_check (Results 1 – 25 of 93) sorted by relevance

1234

/dports/security/kc24/kc-2.4.2/
H A Dcommands_init.c41 *commands = (command *)malloc(sizeof(command)); malloc_check(*commands); in commands_init()
49 (*commands)->next = (command *)malloc(sizeof(command)); malloc_check((*commands)->next); in commands_init()
56 (*commands)->next = (command *)malloc(sizeof(command)); malloc_check((*commands)->next); in commands_init()
63 (*commands)->next = (command *)malloc(sizeof(command)); malloc_check((*commands)->next); in commands_init()
70 (*commands)->next = (command *)malloc(sizeof(command)); malloc_check((*commands)->next); in commands_init()
77 (*commands)->next = (command *)malloc(sizeof(command)); malloc_check((*commands)->next); in commands_init()
84 (*commands)->next = (command *)malloc(sizeof(command)); malloc_check((*commands)->next); in commands_init()
91 (*commands)->next = (command *)malloc(sizeof(command)); malloc_check((*commands)->next); in commands_init()
97 (*commands)->next = (command *)malloc(sizeof(command)); malloc_check((*commands)->next); in commands_init()
104 (*commands)->next = (command *)malloc(sizeof(command)); malloc_check((*commands)->next); in commands_init()
[all …]
H A Dcmd_export.c74 db_params_new.kdf = strdup(db_params.kdf); malloc_check(db_params_new.kdf); in cmd_export()
75 db_params_new.cipher = strdup(db_params.cipher); malloc_check(db_params_new.cipher); in cmd_export()
76 db_params_new.cipher_mode = strdup(db_params.cipher_mode); malloc_check(db_params_new.cipher_mode); in cmd_export()
82 line = strdup(e_line); malloc_check(line); in cmd_export()
90 db_params_new.db_filename = strdup(optarg); malloc_check(db_params_new.db_filename); in cmd_export()
93 cname = BAD_CAST strdup(optarg); malloc_check(cname); in cmd_export()
97 db_params_new.kdf = strdup(optarg); malloc_check(db_params_new.kdf); in cmd_export()
101 db_params_new.cipher = strdup(optarg); malloc_check(db_params_new.cipher); in cmd_export()
105 db_params_new.cipher_mode = strdup(optarg); malloc_check(db_params_new.cipher_mode); in cmd_export()
175 strlen(db_params_new.db_filename) + 4 + 1); malloc_check(db_params_new.db_filename); in cmd_export()
H A Dkc.c114 db_params.kdf = malloc(len); malloc_check(db_params.kdf); in main()
121 db_params.cipher = malloc(len); malloc_check(db_params.cipher); in main()
128 db_params.cipher_mode = malloc(len); malloc_check(db_params.cipher_mode); in main()
155 db_params.kdf = strdup(optarg); malloc_check(db_params.kdf); in main()
159 db_params.cipher = strdup(optarg); malloc_check(db_params.cipher); in main()
446 created = malloc(TIME_MAXLEN); malloc_check(created); in main()
616 line = strdup(e_line); malloc_check(line); in main()
653 line = strdup(e_line); malloc_check(line); in cmd_match()
747 prompt = realloc(prompt, prompt_len); malloc_check(prompt); in prompt_str()
814 line_buf = malloc(line_buf_len + 1); malloc_check(line_buf); in el_tab_complete()
[all …]
H A Dcmd_new.c70 line = strdup(e_line); malloc_check(line); in cmd_new()
86 key = xmlStrdup(BAD_CAST &line[i]); malloc_check(key); in cmd_new()
100 key = xmlStrdup(BAD_CAST e_line); malloc_check(key); in cmd_new()
137 value_rR = xmlStrdup(BAD_CAST e_line); malloc_check(value_rR); in cmd_new()
160 created = malloc(TIME_MAXLEN); malloc_check(created); in cmd_new()
H A Dcommands.c169 rnd_str = malloc(length + 1); malloc_check(rnd_str); in get_random_str()
170 tmp = malloc(1); malloc_check(tmp); in get_random_str()
248 ret = xmlStrdup(BAD_CAST ""); malloc_check(ret); in parse_randoms()
275 ret = malloc(ret_len); malloc_check(ret); in parse_randoms()
351 line = malloc(length + 1); malloc_check(line); in get_line()
370 ret = xmlStrdup(BAD_CAST ""); malloc_check(ret); in parse_newlines()
402 ret = malloc(ret_len); malloc_check(ret); in parse_newlines()
465 *largv = malloc(sizeof(char *)); malloc_check(*largv); in larg()
514 pass2 = malloc(PASSWORD_MAXLEN + 1); malloc_check(pass2); in kc_password_read()
1063 *buf = calloc(1, buf_size); malloc_check(*buf); in kc_db_reader()
[all …]
H A Dcmd_import.c73 db_params_new.kdf = strdup(db_params.kdf); malloc_check(db_params_new.kdf); in cmd_import()
74 db_params_new.cipher = strdup(db_params.cipher); malloc_check(db_params_new.cipher); in cmd_import()
75 db_params_new.cipher_mode = strdup(db_params.cipher_mode); malloc_check(db_params_new.cipher_mode); in cmd_import()
81 line = strdup(e_line); malloc_check(line); in cmd_import()
89 db_params_new.db_filename = strdup(optarg); malloc_check(db_params_new.db_filename); in cmd_import()
93 db_params_new.kdf = strdup(optarg); malloc_check(db_params_new.kdf); in cmd_import()
97 db_params_new.cipher = strdup(optarg); malloc_check(db_params_new.cipher); in cmd_import()
101 db_params_new.cipher_mode = strdup(optarg); malloc_check(db_params_new.cipher_mode); in cmd_import()
H A Dcmd_cnew.c61 line = strdup(e_line); malloc_check(line); in cmd_cnew()
86 name = xmlStrdup(BAD_CAST e_line); malloc_check(name); in cmd_cnew()
122 description = xmlStrdup(BAD_CAST e_line); malloc_check(description); in cmd_cnew()
142 created = malloc(TIME_MAXLEN); malloc_check(created); in cmd_cnew()
H A Dcmd_edit.c56 line = strdup(e_line); malloc_check(line); in cmd_edit()
115 key = xmlStrdup(BAD_CAST e_line); malloc_check(key); in cmd_edit()
158 value_rR = xmlStrdup(BAD_CAST e_line); malloc_check(value_rR); in cmd_edit()
175 modified = malloc(TIME_MAXLEN); malloc_check(modified); in cmd_edit()
H A Dcmd_cedit.c80 name = xmlStrdup(BAD_CAST e_line); malloc_check(name); in cmd_cedit()
128 description = xmlStrdup(BAD_CAST e_line); malloc_check(description); in cmd_cedit()
148 modified = malloc(TIME_MAXLEN); malloc_check(modified); in cmd_cedit()
H A Dcmd_passwd.c52 line = strdup(e_line); malloc_check(line); in cmd_passwd()
61 db_params.kdf = strdup(optarg); malloc_check(db_params.kdf); in cmd_passwd()
H A Dcmd_clipboard.c50 cmd_line = strdup(e_line); malloc_check(cmd_line); in cmd_clipboard()
162 fork_argv = malloc(5 * sizeof(char *)); malloc_check(fork_argv); in cmd_clipboard()
208 fork_argv = malloc(4 * sizeof(char *)); malloc_check(fork_argv); in cmd_clipboard()
H A Dcmd_getnum.c117 line_randomed = calloc(1, line_randomed_len); malloc_check(line_randomed); in cmd_getnum()
246 fork_argv = malloc(5 * sizeof(char *)); malloc_check(fork_argv); in cmd_getnum()
293 fork_argv = malloc(4 * sizeof(char *)); malloc_check(fork_argv); in cmd_getnum()
H A Dcmd_del.c54 line = strdup(e_line); malloc_check(line); in cmd_del()
137 modified = malloc(TIME_MAXLEN); malloc_check(modified); in cmd_del()
H A Dcmd_copy.c46 line = strdup(e_line); malloc_check(line); in cmd_copy()
139 modified = malloc(TIME_MAXLEN); malloc_check(modified); in cmd_copy()
/dports/converters/xml2c/xml2c/
H A Dxml2c.c78 static void* malloc_check( size_t size );
194 nt = (nametree*) malloc_check( sizeof(nametree) ); in build_nametree()
395 text = (unsigned char*) malloc_check( text_maxlen + 1 ); in nodeGetChildContent()
458 e = (char*) malloc_check( strlen( s ) * 2 ); /* more than enough */ in escape()
481 s = (strtab) malloc_check( sizeof(struct _strtab) ); in strtab_new()
484 s->strs = (char**) malloc_check( s->max_items * sizeof(char*) ); in strtab_new()
485 s->vals = (void**) malloc_check( s->max_items * sizeof(void*) ); in strtab_new()
486 s->maxcounts = (int*) malloc_check( s->max_items * sizeof(int) ); in strtab_new()
502 s->strs[s->num_items] = (char*) malloc_check( strlen( str ) + 1 ); in strtab_add()
588 malloc_check( size_t size ) in malloc_check() function
/dports/editors/emacs-devel/emacs-4d1968b/admin/
H A Dmake-emacs49 "malloc-check" => \$malloc_check,
146 $defs = "$defs -DGC_MALLOC_CHECK=1 -DGC_PROTECT_MALLOC_STATE=1" if $malloc_check;
/dports/editors/emacs/emacs-27.2/admin/
H A Dmake-emacs49 "malloc-check" => \$malloc_check,
146 $defs = "$defs -DGC_MALLOC_CHECK=1 -DGC_PROTECT_MALLOC_STATE=1" if $malloc_check;
/dports/lang/gcc8/gcc-8.5.0/libmpx/mpxrt/
H A Dmpxrt-utils.c109 malloc_check (size_t size) in malloc_check() function
127 n = (env_var_t *)malloc_check (sizeof (env_var_t)); in env_var_list_add()
139 n->env_name = (char *)malloc_check (strlen (env) + 1); in env_var_list_add()
140 n->env_val = (char *)malloc_check (strlen (val) + 1); in env_var_list_add()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libmpx/mpxrt/
H A Dmpxrt-utils.c109 malloc_check (size_t size) in malloc_check() function
127 n = (env_var_t *)malloc_check (sizeof (env_var_t)); in env_var_list_add()
139 n->env_name = (char *)malloc_check (strlen (env) + 1); in env_var_list_add()
140 n->env_val = (char *)malloc_check (strlen (val) + 1); in env_var_list_add()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libmpx/mpxrt/
H A Dmpxrt-utils.c109 malloc_check (size_t size) in malloc_check() function
127 n = (env_var_t *)malloc_check (sizeof (env_var_t)); in env_var_list_add()
139 n->env_name = (char *)malloc_check (strlen (env) + 1); in env_var_list_add()
140 n->env_val = (char *)malloc_check (strlen (val) + 1); in env_var_list_add()
/dports/lang/gnat_util/gcc-6-20180516/libmpx/mpxrt/
H A Dmpxrt-utils.c105 malloc_check (size_t size) in malloc_check() function
123 n = (env_var_t *)malloc_check (sizeof (env_var_t)); in env_var_list_add()
135 n->env_name = (char *)malloc_check (strlen (env) + 1); in env_var_list_add()
136 n->env_val = (char *)malloc_check (strlen (val) + 1); in env_var_list_add()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libmpx/mpxrt/
H A Dmpxrt-utils.c109 malloc_check (size_t size) in malloc_check() function
127 n = (env_var_t *)malloc_check (sizeof (env_var_t)); in env_var_list_add()
139 n->env_name = (char *)malloc_check (strlen (env) + 1); in env_var_list_add()
140 n->env_val = (char *)malloc_check (strlen (val) + 1); in env_var_list_add()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libmpx/mpxrt/
H A Dmpxrt-utils.c109 malloc_check (size_t size) in malloc_check() function
127 n = (env_var_t *)malloc_check (sizeof (env_var_t)); in env_var_list_add()
139 n->env_name = (char *)malloc_check (strlen (env) + 1); in env_var_list_add()
140 n->env_val = (char *)malloc_check (strlen (val) + 1); in env_var_list_add()
/dports/lang/gcc6-aux/gcc-6-20180516/libmpx/mpxrt/
H A Dmpxrt-utils.c105 malloc_check (size_t size) in malloc_check() function
123 n = (env_var_t *)malloc_check (sizeof (env_var_t)); in env_var_list_add()
135 n->env_name = (char *)malloc_check (strlen (env) + 1); in env_var_list_add()
136 n->env_val = (char *)malloc_check (strlen (val) + 1); in env_var_list_add()
/dports/devel/riscv64-gcc/gcc-8.3.0/libmpx/mpxrt/
H A Dmpxrt-utils.c109 malloc_check (size_t size) in malloc_check() function
127 n = (env_var_t *)malloc_check (sizeof (env_var_t)); in env_var_list_add()
139 n->env_name = (char *)malloc_check (strlen (env) + 1); in env_var_list_add()
140 n->env_val = (char *)malloc_check (strlen (val) + 1); in env_var_list_add()

1234