/dports/math/pspp/pspp-1.4.1/tests/libpspp/ |
H A D | hmapx-test.c | 92 xnmalloc (size_t n, size_t m) 335 elements = xnmalloc (cnt, sizeof *elements); 336 nodes = xnmalloc (cnt, sizeof *nodes); 451 values = xnmalloc (cnt, sizeof *values); 603 nodes = xnmalloc (max_elems, sizeof *nodes); 678 e[0] = xnmalloc (max_elems, sizeof *e[0]); 679 e[1] = xnmalloc (max_elems, sizeof *e[1]); 681 nodes = xnmalloc (max_elems, sizeof *nodes); 738 values = xnmalloc (cnt, sizeof *values); 741 nodes = xnmalloc (cnt, sizeof *nodes); [all …]
|
H A D | tower-test.c | 321 sizes = xnmalloc (cnt, sizeof *sizes); in test_insert() 322 order = xnmalloc (cnt, sizeof *order); in test_insert() 323 blocks = xnmalloc (cnt, sizeof *blocks); in test_insert() 403 sizes = xnmalloc (cnt, sizeof *sizes); in test_delete() 404 order = xnmalloc (cnt, sizeof *order); in test_delete() 487 sizes = xnmalloc (cnt, sizeof *sizes); in test_resize() 489 order = xnmalloc (cnt, sizeof *order); in test_resize() 558 sizes = xnmalloc (cnt, sizeof *sizes); in test_splice_out() 560 order = xnmalloc (cnt, sizeof *order); in test_splice_out() 626 sizes = xnmalloc (cnt, sizeof *sizes); in test_splice_in() [all …]
|
H A D | bt-test.c | 98 xnmalloc (size_t n, size_t m) in xnmalloc() function 352 elements = xnmalloc (cnt, sizeof *elements); in test_insert_delete() 388 deletions = xnmalloc (cnt, sizeof *deletions); in test_insert_any_remove_any() 431 values = xnmalloc (cnt, sizeof *values); in test_insert_any_remove_same() 527 values = xnmalloc (max_elems, sizeof *values); in test_insert_ordered() 548 values = xnmalloc (max_elems, sizeof *values); in test_find_ge_le() 604 e[0] = xnmalloc (max_elems, sizeof *e[0]); in test_moved() 605 e[1] = xnmalloc (max_elems, sizeof *e[1]); in test_moved() 606 values = xnmalloc (max_elems, sizeof *values); in test_moved() 641 values = xnmalloc (cnt, sizeof *values); in test_changed() [all …]
|
H A D | hmap-test.c | 165 xnmalloc (size_t n, size_t m) 410 elements = xnmalloc (cnt, sizeof *elements); 515 values = xnmalloc (cnt, sizeof *values); 671 values = xnmalloc (max_elems, sizeof *values); 747 e[0] = xnmalloc (max_elems, sizeof *e[0]); 748 e[1] = xnmalloc (max_elems, sizeof *e[1]); 749 values = xnmalloc (max_elems, sizeof *values); 804 values = xnmalloc (cnt, sizeof *values); 806 elements = xnmalloc (cnt, sizeof *elements); 891 values = xnmalloc (max_elems, sizeof *values); [all …]
|
H A D | heap-test.c | 287 values = xnmalloc (cnt, sizeof *values); in test_insert_no_dups_delete_min() 288 elements = xnmalloc (cnt, sizeof *elements); in test_insert_no_dups_delete_min() 348 dups = xnmalloc (cnt, sizeof *dups); in test_insert_with_dups_delete_min() 349 values = xnmalloc (cnt, sizeof *values); in test_insert_with_dups_delete_min() 351 elements = xnmalloc (cnt, sizeof *elements); in test_insert_with_dups_delete_min() 430 insert = xnmalloc (cnt, sizeof *insert); in test_insert_no_dups_delete_random() 431 delete = xnmalloc (cnt, sizeof *delete); in test_insert_no_dups_delete_random() 432 elements = xnmalloc (cnt, sizeof *elements); in test_insert_no_dups_delete_random() 501 insert = xnmalloc (cnt, sizeof *insert); in test_inc_dec() 502 delete = xnmalloc (cnt, sizeof *delete); in test_inc_dec() [all …]
|
H A D | abt-test.c | 97 xnmalloc (size_t n, size_t m) in xnmalloc() function 436 elements = xnmalloc (cnt, sizeof *elements); in do_test_insert_delete() 487 deletions = xnmalloc (cnt, sizeof *deletions); in test_insert_any_remove_any() 530 values = xnmalloc (cnt, sizeof *values); in test_insert_any_remove_same() 560 deletions = xnmalloc (cnt, sizeof *deletions); in test_insert_any_remove_reverse() 626 values = xnmalloc (max_elems, sizeof *values); in test_insert_ordered() 650 e[0] = xnmalloc (max_elems, sizeof *e[0]); in test_moved() 651 e[1] = xnmalloc (max_elems, sizeof *e[1]); in test_moved() 652 values = xnmalloc (max_elems, sizeof *values); in test_moved() 687 values = xnmalloc (cnt, sizeof *values); in test_changed() [all …]
|
H A D | range-map-test.c | 257 sorted = xnmalloc (elem_cnt, sizeof *sorted); in check_range_map() 320 expected = xnmalloc (cnt, sizeof *expected); in test_insert() 321 widths = xnmalloc (cnt, sizeof *widths); in test_insert() 322 order = xnmalloc (cnt, sizeof *order); in test_insert() 323 elements = xnmalloc (cnt, sizeof *elements); in test_insert() 399 expected = xnmalloc (cnt, sizeof *expected); in test_delete() 400 widths = xnmalloc (cnt, sizeof *widths); in test_delete() 401 order = xnmalloc (cnt, sizeof *order); in test_delete() 402 elements = xnmalloc (cnt, sizeof *elements); in test_delete()
|
H A D | string-set-test.c | 74 static void *xnmalloc (size_t n, size_t m) MALLOC_LIKE; 110 xnmalloc (size_t n, size_t m) in xnmalloc() function 332 insertions = xnmalloc (cnt, sizeof *insertions); in test_insert_any_remove_any() 333 deletions = xnmalloc (cnt, sizeof *deletions); in test_insert_any_remove_any() 375 values = xnmalloc (cnt, sizeof *values); in test_insert_any_remove_same() 404 insertions = xnmalloc (cnt, sizeof *insertions); in test_insert_any_remove_reverse() 405 deletions = xnmalloc (cnt, sizeof *deletions); in test_insert_any_remove_reverse() 439 insertions = xnmalloc (cnt, sizeof *insertions); in test_random_sequence() 440 deletions = xnmalloc (cnt, sizeof *deletions); in test_random_sequence() 470 values = xnmalloc (max_elems, sizeof *values); in test_insert_ordered()
|
H A D | stringi-set-test.c | 77 static void *xnmalloc (size_t n, size_t m) MALLOC_LIKE; 113 xnmalloc (size_t n, size_t m) in xnmalloc() function 371 insertions = xnmalloc (cnt, sizeof *insertions); in test_insert_any_remove_any() 372 deletions = xnmalloc (cnt, sizeof *deletions); in test_insert_any_remove_any() 414 values = xnmalloc (cnt, sizeof *values); in test_insert_any_remove_same() 443 insertions = xnmalloc (cnt, sizeof *insertions); in test_insert_any_remove_reverse() 444 deletions = xnmalloc (cnt, sizeof *deletions); in test_insert_any_remove_reverse() 478 insertions = xnmalloc (cnt, sizeof *insertions); in test_random_sequence() 479 deletions = xnmalloc (cnt, sizeof *deletions); in test_random_sequence() 509 values = xnmalloc (max_elems, sizeof *values); in test_insert_ordered()
|
/dports/misc/clifm/clifm-1.3/src/ |
H A D | search.c | 127 char *ss = (char *)xnmalloc(strlen(comm[0] + 1) + 3, sizeof(char)); in search_glob() 212 char *s = xnmalloc(strlen(tmp) + 1, sizeof(char)); in search_glob() 267 pfiles = (char **)xnmalloc(files + 1, sizeof(char *)); in search_glob() 268 eln = (int *)xnmalloc(files + 1, sizeof(int)); in search_glob() 269 files_len = (size_t *)xnmalloc(files + 1, sizeof(size_t)); in search_glob() 300 pfiles = (char **)xnmalloc((size_t)scandir_files + 1, in search_glob() 302 eln = (int *)xnmalloc((size_t)scandir_files + 1, in search_glob() 304 files_len = (size_t *)xnmalloc((size_t)scandir_files + 1, in search_glob() 350 pfiles = (char **)xnmalloc(globbed_files.gl_pathc + 1, in search_glob() 352 eln = (int *)xnmalloc(globbed_files.gl_pathc + 1, sizeof(int)); in search_glob() [all …]
|
H A D | config.c | 199 sel_file = (char *)xnmalloc(config_len + 9, sizeof(char)); in set_sel_file() 205 sel_file = (char *)xnmalloc(config_len + 17, sizeof(char)); in set_sel_file() 536 sel_file = (char *)xnmalloc(P_tmpdir_len + prof_len + 9, in create_tmp_files() 541 sel_file = (char *)xnmalloc(P_tmpdir_len + 8, sizeof(char)); in create_tmp_files() 606 trash_dir = (char *)xnmalloc(user.home_len + 20, sizeof(char)); in define_config_file_names() 614 trash_info_dir = (char *)xnmalloc(trash_len + 6, sizeof(char)); in define_config_file_names() 620 dirhist_file = (char *)xnmalloc(config_len + 13, sizeof(char)); in define_config_file_names() 624 bm_file = (char *)xnmalloc(config_len + 15, sizeof(char)); in define_config_file_names() 632 log_file = (char *)xnmalloc(config_len + 9, sizeof(char)); in define_config_file_names() 635 hist_file = (char *)xnmalloc(config_len + 13, sizeof(char)); in define_config_file_names() [all …]
|
H A D | jump.c | 47 jump_db = (struct jump_t *)xnmalloc(1, sizeof(struct jump_t)); in add_to_jumpdb() 211 char *jump_file = (char *)xnmalloc(strlen(config_dir) + 10, in edit_jumpdb() 264 jump_suggestion = xnmalloc(len + (slash ? 1 : 2), sizeof(char)); in save_suggestion() 447 char **matches = (char **)xnmalloc(jump_n + 1, sizeof(char *)); in dirjump() 448 char **needles = (char **)xnmalloc(jump_n + 1, sizeof(char *)); in dirjump() 449 size_t *visits = (size_t *)xnmalloc(jump_n + 1, sizeof(size_t)); in dirjump() 450 time_t *first = (time_t *)xnmalloc(jump_n + 1, sizeof(time_t)); in dirjump() 451 time_t *last = (time_t *)xnmalloc(jump_n + 1, sizeof(time_t)); in dirjump() 697 char **__cmd = (char **)xnmalloc(args_n + 3, sizeof(char *)); in run_autojump() 698 __cmd[0] = (char *)xnmalloc(2, sizeof(char)); in run_autojump() [all …]
|
H A D | archives.c | 182 char *o_option = (char *)xnmalloc(strlen(file) + 7, sizeof(char)); in handle_iso() 199 char *o_option = (char *)xnmalloc(strlen(ext_path) + 3, in handle_iso() 228 mountpoint = (char *)xnmalloc(strlen(file) + P_tmpdir_len + 15, in handle_iso() 232 mountpoint = (char *)xnmalloc(strlen(config_dir) + strlen(file) + 9, in handle_iso() 314 char *if_option = (char *)xnmalloc(strlen(in_file) + 4, sizeof(char)); in create_iso() 635 char *t = (char *)xnmalloc(name_len + 1, sizeof(char)); in archiver() 702 cmd = (char *)xnmalloc(cmd_len, sizeof(char)); in archiver() 857 dec_files = (char *)xnmalloc(len, sizeof(char)); in archiver() 902 cmd = (char *)xnmalloc(strlen(dec_files) + 13, sizeof(char)); in archiver() 950 mountpoint = (char *)xnmalloc(strlen(args[i]) + 19, sizeof(char)); in archiver() [all …]
|
H A D | selection.c | 164 matches = (char **)xnmalloc(files + 2, sizeof(char *)); in sel_glob() 223 matches = (char **)xnmalloc(gbuf.gl_pathc + 2, in sel_glob() 272 tmp = (char *)xnmalloc(strlen(matches[i]) + 2, in sel_glob() 276 tmp = (char *)xnmalloc(strlen(ws[cur_ws].path) in sel_glob() 284 char *tmp = (char *)xnmalloc(strlen(sel_path) in sel_glob() 386 char *tmp_path = (char *)xnmalloc(strlen(sel_path) in sel_regex() 476 char *tmpdir = xnmalloc(PATH_MAX + 1, sizeof(char)); in sel_function() 556 tmp = (char *)xnmalloc(strlen(args[i]) + 2, in sel_function() 560 tmp = (char *)xnmalloc(strlen(ws[cur_ws].path) in sel_function() 565 tmp = (char *)xnmalloc(strlen(dir) + strlen(args[i]) in sel_function() [all …]
|
H A D | file_operations.c | 176 dest = (char *)xnmalloc(strlen(source_name) + 6, sizeof(char)); in dup_file() 255 char **tmp_cmd = (char **)xnmalloc(args_n + 3, sizeof(char *)); in create_file() 256 tmp_cmd[0] = (char *)xnmalloc(2, sizeof(char)); in create_file() 328 char **nfiles = (char **)xnmalloc(files_num + 2, sizeof(char *)); in create_file() 329 char **ndirs = (char **)xnmalloc(files_num + 3, sizeof(char *)); in create_file() 332 nfiles[0] = (char *)xnmalloc(6, sizeof(char)); in create_file() 335 ndirs[0] = (char *)xnmalloc(6, sizeof(char)); in create_file() 338 ndirs[1] = (char *)xnmalloc(3, sizeof(char)); in create_file() 704 char **tmp = (char **)xnmalloc(sel_n + 3, sizeof(char *)); in copy_function() 733 char *tmp_str = (char *)xnmalloc(strlen(dest) in copy_function() [all …]
|
H A D | profiles.c | 56 char *pf_dir = (char *)xnmalloc(strlen(config_dir_gral) + 10, sizeof(char)); in get_profile_names() 317 char *nconfig_dir = (char *)xnmalloc(strlen(config_dir_gral) + strlen(prof) + 11, sizeof(char)); in profile_add() 337 char *nconfig_file = (char *)xnmalloc(config_len + pnl_len + 4, in profile_add() 340 char *nhist_file = (char *)xnmalloc(config_len + 13, sizeof(char)); in profile_add() 342 char *nmime_file = (char *)xnmalloc(config_len + 14, sizeof(char)); in profile_add() 410 char *tmp = (char *)xnmalloc(strlen(config_dir_gral) + strlen(prof) + 11, in profile_del()
|
/dports/devel/bison/bison-3.7.6/src/ |
H A D | tables.c | 464 base_number *sp1 = froms[s] = xnmalloc (count, sizeof *sp1); in save_row() 465 base_number *sp2 = tos[s] = xnmalloc (count, sizeof *sp2); in save_row() 498 yydefact = xnmalloc (nstates, sizeof *yydefact); in token_actions() 500 actrow = xnmalloc (ntokens, sizeof *actrow); in token_actions() 501 conflrow = xnmalloc (ntokens, sizeof *conflrow); in token_actions() 561 base_number *sp2 = tos[symno] = xnmalloc (count, sizeof *sp2); in save_column() 628 size_t *state_count = xnmalloc (nstates, sizeof *state_count); in goto_actions() 629 yydefgoto = xnmalloc (nnterms, sizeof *yydefgoto); in goto_actions() 805 base = xnmalloc (nvectors, sizeof *base); in pack_table() 810 check = xnmalloc (table_size, sizeof *check); in pack_table() [all …]
|
H A D | output.c | 305 int *values = xnmalloc (nsyms, sizeof *values); in prepare_symbols() 316 int *values = xnmalloc (ntokens, sizeof *values); in prepare_symbols() 334 int *prhs = xnmalloc (nrules, sizeof *prhs); in prepare_rules() 335 item_number *rhs = xnmalloc (nritems, sizeof *rhs); in prepare_rules() 336 int *rline = xnmalloc (nrules, sizeof *rline); in prepare_rules() 337 symbol_number *r1 = xnmalloc (nrules, sizeof *r1); in prepare_rules() 338 int *r2 = xnmalloc (nrules, sizeof *r2); in prepare_rules() 339 int *dprec = xnmalloc (nrules, sizeof *dprec); in prepare_rules() 340 int *merger = xnmalloc (nrules, sizeof *merger); in prepare_rules() 341 int *immediate = xnmalloc (nrules, sizeof *immediate); in prepare_rules() [all …]
|
H A D | ielr.c | 130 *edgesp = xnmalloc (ngotos, sizeof **edgesp); in ielr_compute_internal_follow_edges() 131 *edge_countsp = xnmalloc (ngotos, sizeof **edge_countsp); in ielr_compute_internal_follow_edges() 274 goto_number *edge_array = xnmalloc (ngotos, sizeof *edge_array); in ielr_compute_always_follows() 322 state ***res = xnmalloc (nstates, sizeof *res); in ielr_compute_predecessors() 330 res[i] = xnmalloc (predecessor_counts[i]+1, sizeof *res[i]); in ielr_compute_predecessors() 393 xnmalloc (s->nitems, sizeof item_lookahead_sets[s->number][0]); in ielr_item_has_lookahead() 489 xnmalloc (nstates, sizeof *item_lookahead_sets); in ielr_compute_annotation_lists() 491 xnmalloc (nstates, sizeof *annotation_counts); in ielr_compute_annotation_lists() 495 *inadequacy_listsp = xnmalloc (nstates, sizeof **inadequacy_listsp); in ielr_compute_annotation_lists() 496 *annotation_listsp = xnmalloc (nstates, sizeof **annotation_listsp); in ielr_compute_annotation_lists() [all …]
|
H A D | derives.c | 70 rule_list *delts = xnmalloc (nrules, sizeof *delts); in derives_compute() 85 derives = xnmalloc (nnterms, sizeof *derives); in derives_compute() 87 rule **q = xnmalloc (nnterms + nrules, sizeof *q); in derives_compute()
|
H A D | relation.c | 110 vertices = xnmalloc (size + 1, sizeof *vertices); in relation_digraph() 149 relation new_R = xnmalloc (size, sizeof *new_R); in relation_transpose() 151 relation end_R = xnmalloc (size, sizeof *end_R); in relation_transpose() 157 sp = xnmalloc (nedges[i] + 1, sizeof *sp); in relation_transpose()
|
/dports/net/gnu-radius/radius-1.6.1/gnu/ |
H A D | xalloc.h | 93 ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t)))) 110 void *xnmalloc (size_t n, size_t s) ATTRIBUTE_MALLOC; 121 static_inline void *xnmalloc (size_t n, size_t s) ATTRIBUTE_MALLOC; 123 xnmalloc (size_t n, size_t s) in xnmalloc() function
|
/dports/devel/idutils/idutils-4.6/lib/ |
H A D | xalloc.h | 75 ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t)))) 92 void *xnmalloc (size_t n, size_t s) 106 static_inline void *xnmalloc (size_t n, size_t s) 109 xnmalloc (size_t n, size_t s) in xnmalloc() function
|
/dports/sysutils/renameutils/renameutils-0.12.0/gnulib-lib/ |
H A D | xalloc.h | 75 ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t)))) 92 void *xnmalloc (size_t n, size_t s) 106 static_inline void *xnmalloc (size_t n, size_t s) 109 xnmalloc (size_t n, size_t s) in xnmalloc() function
|
/dports/math/pspp/pspp-1.4.1/src/language/dictionary/ |
H A D | modify-variables.c | 271 drop_vars = xnmalloc (n_drop, sizeof *keep_vars); in cmd_modify_vars() 435 struct variable **drop_vars = xnmalloc (n_drop, sizeof *drop_vars); in validate_var_modification() 443 struct variable **keep_vars = xnmalloc (n_keep, sizeof *keep_vars); in validate_var_modification() 453 struct var_renaming *var_renaming = xnmalloc (n_keep, sizeof *var_renaming); in validate_var_modification() 507 char **rename_old_names = xnmalloc (vm->n_rename, sizeof *rename_old_names); in rearrange_dict() 516 struct variable **rename_vars = xnmalloc (vm->n_rename, sizeof *rename_vars); in rearrange_dict() 517 char **rename_new_names = xnmalloc (vm->n_rename, sizeof *rename_new_names); in rearrange_dict()
|