| /src/crypto/krb5/src/util/ss/ |
| H A D | invocation.c | 45 ss_data *new_table; in ss_create_invocation() local 50 new_table = (ss_data *) malloc(sizeof(ss_data)); in ss_create_invocation() 51 if (new_table == NULL) { in ss_create_invocation() 79 new_table->subsystem_name = subsystem_name; in ss_create_invocation() 80 new_table->subsystem_version = version_string; in ss_create_invocation() 81 new_table->argv = (char **)NULL; in ss_create_invocation() 82 new_table->current_request = (char *)NULL; in ss_create_invocation() 83 new_table->info_dirs = (char **)malloc(sizeof(char *)); in ss_create_invocation() 84 if (new_table->info_dirs == NULL) { in ss_create_invocation() 86 free(new_table); in ss_create_invocation() [all …]
|
| /src/contrib/ofed/opensm/opensm/ |
| H A D | st.c | 365 st_table *new_table; in st_copy() local 369 new_table = alloc(st_table); in st_copy() 370 if (new_table == 0) { in st_copy() 374 *new_table = *old_table; in st_copy() 375 new_table->bins = (st_table_entry **) in st_copy() 378 if (new_table->bins == 0) { in st_copy() 379 free(new_table); in st_copy() 384 new_table->bins[i] = 0; in st_copy() 389 free(new_table->bins); in st_copy() 390 free(new_table); in st_copy() [all …]
|
| /src/contrib/libevent/ |
| H A D | ht-internal.h | 321 struct type **new_table; \ 332 if ((new_table = mallocfn(new_len*sizeof(struct type*)))) { \ 334 memset(new_table, 0, new_len*sizeof(struct type*)); \ 342 elm->field.hte_next = new_table[b2]; \ 343 new_table[b2] = elm; \ 349 head->hth_table = new_table; \ 352 new_table = reallocfn(head->hth_table, new_len*sizeof(struct type*)); \ 353 if (!new_table) return -1; \ 354 memset(new_table + head->hth_table_length, 0, \ 358 for (pE = &new_table[b], e = *pE; e != NULL; e = *pE) { \ [all …]
|
| /src/contrib/ntp/sntp/libevent/ |
| H A D | ht-internal.h | 321 struct type **new_table; \ 332 if ((new_table = mallocfn(new_len*sizeof(struct type*)))) { \ 334 memset(new_table, 0, new_len*sizeof(struct type*)); \ 342 elm->field.hte_next = new_table[b2]; \ 343 new_table[b2] = elm; \ 349 head->hth_table = new_table; \ 352 new_table = reallocfn(head->hth_table, new_len*sizeof(struct type*)); \ 353 if (!new_table) return -1; \ 354 memset(new_table + head->hth_table_length, 0, \ 358 for (pE = &new_table[b], e = *pE; e != NULL; e = *pE) { \ [all …]
|
| /src/usr.sbin/bhyve/ |
| H A D | basl.c | 659 struct basl_table *new_table; in basl_table_create() local 663 new_table = calloc(1, sizeof(struct basl_table)); in basl_table_create() 664 if (new_table == NULL) { in basl_table_create() 669 new_table->ctx = ctx; in basl_table_create() 671 snprintf(new_table->fwcfg_name, sizeof(new_table->fwcfg_name), in basl_table_create() 674 new_table->alignment = alignment; in basl_table_create() 676 STAILQ_INIT(&new_table->checksums); in basl_table_create() 677 STAILQ_INIT(&new_table->lengths); in basl_table_create() 678 STAILQ_INIT(&new_table->pointers); in basl_table_create() 680 STAILQ_INSERT_TAIL(&basl_tables, new_table, chain); in basl_table_create() [all …]
|
| /src/crypto/heimdal/lib/com_err/ |
| H A D | com_err.c | 160 add_to_error_table(struct et_list *new_table) in add_to_error_table() argument 165 if (et->table->base == new_table->table->base) in add_to_error_table() 169 new_table->next = _et_list; in add_to_error_table() 170 _et_list = new_table; in add_to_error_table()
|
| H A D | com_err.h | 74 add_to_error_table (struct et_list *new_table);
|
| /src/contrib/com_err/ |
| H A D | com_err.c | 157 add_to_error_table(struct et_list *new_table) in add_to_error_table() argument 162 if (et->table->base == new_table->table->base) in add_to_error_table() 166 new_table->next = _et_list; in add_to_error_table() 167 _et_list = new_table; in add_to_error_table()
|
| H A D | com_err.h | 74 add_to_error_table (struct et_list *new_table);
|
| /src/contrib/ncurses/ncurses/tinfo/ |
| H A D | alloc_ttype.c | 537 char *new_table; in copy_termtype() local 558 new_table = NULL; in copy_termtype() 564 dst->term_names = new_table + str_size; in copy_termtype() 574 _nc_STRCPY(new_table + str_size, in copy_termtype() 577 dst->Strings[i] = new_table + str_size; in copy_termtype() 583 dst->str_table = new_table; in copy_termtype() 586 if ((new_table = malloc(str_size)) == NULL) in copy_termtype() 640 new_table = NULL; in copy_termtype() 650 _nc_STRCPY(new_table + str_size, in copy_termtype() 662 _nc_STRCPY(new_table + str_size, in copy_termtype() [all …]
|
| /src/contrib/kyua/utils/config/ |
| H A D | lua_module.cpp | 115 state.new_table(); in new_table_for_key() 117 state.new_table(); in new_table_for_key()
|
| H A D | nodes_test.cpp | 488 state.new_table(); in ATF_TEST_CASE_BODY()
|
| /src/crypto/krb5/src/plugins/kdb/db2/libdb2/hash/ |
| H A D | hash.c | 104 int32_t bpages, csize, new_table, save_errno; in __kdb2_hash_open() local 122 new_table = 0; in __kdb2_hash_open() 127 new_table = 1; in __kdb2_hash_open() 136 if (new_table) { in __kdb2_hash_open() 194 if (new_table && in __kdb2_hash_open() 208 hashp->new_file = new_table; in __kdb2_hash_open()
|
| /src/contrib/lutok/ |
| H A D | state.hpp | 114 void new_table(void);
|
| H A D | operations.cpp | 49 s.new_table(); in create_module()
|
| H A D | state_test.cpp | 574 ATF_TEST_CASE_WITHOUT_HEAD(new_table); 575 ATF_TEST_CASE_BODY(new_table) in ATF_TEST_CASE_BODY() argument 578 state.new_table(); in ATF_TEST_CASE_BODY() 1130 ATF_ADD_TEST_CASE(tcs, new_table); in ATF_INIT_TEST_CASES()
|
| H A D | state.cpp | 521 lutok::state::new_table(void) in new_table() function in lutok::state
|
| /src/lib/libc/db/hash/ |
| H A D | hash.c | 100 int bpages, hdrsize, new_table, nsegs, save_errno; in __hash_open() local 121 new_table = _fstat(hashp->fp, &statbuf) == 0 && in __hash_open() 125 new_table = 1; in __hash_open() 127 if (new_table) { in __hash_open() 181 hashp->new_file = new_table; in __hash_open()
|
| /src/contrib/kyua/utils/fs/ |
| H A D | lua_module.cpp | 236 state.new_table(); in lua_fs_files()
|
| /src/sys/cam/scsi/ |
| H A D | scsi_sa.c | 629 struct sa_prot_map *new_table, 1200 sapopulateprots(struct sa_prot_state *cur_state, struct sa_prot_map *new_table, in sapopulateprots() argument 1205 bcopy(sa_prot_table, new_table, min(table_ents * sizeof(*new_table), in sapopulateprots() 1211 new_table[i].value = (uint32_t *)((uint8_t *)cur_state + in sapopulateprots() 1212 new_table[i].offset); in sapopulateprots()
|