/netbsd/external/bsd/jemalloc/dist/test/unit/ |
H A D | qr.c | 23 entries[i].id = 'a' + i; in init_entries() 111 qr_after_insert(&entries[i - 1], &entries[i], link); in TEST_BEGIN() 124 qr_after_insert(&entries[i - 1], &entries[i], link); in TEST_BEGIN() 153 qr_before_insert(&entries[i - 1], &entries[i], link); in TEST_BEGIN() 212 qr_after_insert(&entries[i - 1], &entries[i], link); in TEST_BEGIN() 215 qr_split(&entries[0], &entries[SPLIT_INDEX], ring_t, link); in TEST_BEGIN() 218 qr_meld(&entries[0], &entries[SPLIT_INDEX], ring_t, link); in TEST_BEGIN() 221 qr_meld(&entries[0], &entries[SPLIT_INDEX], ring_t, link); in TEST_BEGIN() 224 qr_split(&entries[0], &entries[SPLIT_INDEX], ring_t, link); in TEST_BEGIN() 227 qr_split(&entries[0], &entries[0], ring_t, link); in TEST_BEGIN() [all …]
|
H A D | ql.c | 98 init_entries(entries, sizeof(entries)/sizeof(list_t)); in TEST_BEGIN() 113 init_entries(entries, sizeof(entries)/sizeof(list_t)); in TEST_BEGIN() 132 init_entries(entries, sizeof(entries)/sizeof(list_t)); in TEST_BEGIN() 147 init_entries(entries, sizeof(entries)/sizeof(list_t)); in TEST_BEGIN() 166 init_entries(entries, sizeof(entries)/sizeof(list_t)); in TEST_BEGIN() 167 a = &entries[0]; in TEST_BEGIN() 168 b = &entries[1]; in TEST_BEGIN() 169 c = &entries[2]; in TEST_BEGIN() 170 d = &entries[3]; in TEST_BEGIN() 171 e = &entries[4]; in TEST_BEGIN() [all …]
|
/netbsd/external/bsd/libarchive/dist/libarchive/test/ |
H A D | test_write_format_mtree_classic_indent.c | 38 } entries[] = { variable 130 for (i = 0; entries[i].path != NULL; i++) { in test_write_format_mtree_sub() 136 archive_entry_set_mode(ae, entries[i].mode); in test_write_format_mtree_sub() 138 archive_entry_set_uid(ae, entries[i].uid); in test_write_format_mtree_sub() 140 archive_entry_set_gid(ae, entries[i].gid); in test_write_format_mtree_sub() 143 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 146 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 169 for (i = 0; entries[i].path != NULL; i++) { in test_write_format_mtree_sub() 178 assertEqualString(entries[i].path + 2, in test_write_format_mtree_sub() 181 assertEqualString(entries[i].path, in test_write_format_mtree_sub() [all …]
|
H A D | test_write_format_mtree_classic.c | 38 } entries[] = { variable 128 for (i = 0; entries[i].path != NULL; i++) { in test_write_format_mtree_sub() 134 archive_entry_set_mode(ae, entries[i].mode); in test_write_format_mtree_sub() 136 archive_entry_set_uid(ae, entries[i].uid); in test_write_format_mtree_sub() 138 archive_entry_set_gid(ae, entries[i].gid); in test_write_format_mtree_sub() 141 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 144 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 167 for (i = 0; entries[i].path != NULL; i++) { in test_write_format_mtree_sub() 176 assertEqualString(entries[i].path + 2, in test_write_format_mtree_sub() 179 assertEqualString(entries[i].path, in test_write_format_mtree_sub() [all …]
|
H A D | test_write_format_mtree.c | 37 } entries[] = { variable 90 for (i = 0; entries[i].path != NULL; i++) { in test_write_format_mtree_sub() 94 archive_entry_set_mode(ae, entries[i].mode); in test_write_format_mtree_sub() 96 archive_entry_set_uid(ae, entries[i].uid); in test_write_format_mtree_sub() 97 assert(entries[i].uid == archive_entry_uid(ae)); in test_write_format_mtree_sub() 98 archive_entry_set_gid(ae, entries[i].gid); in test_write_format_mtree_sub() 99 assert(entries[i].gid == archive_entry_gid(ae)); in test_write_format_mtree_sub() 101 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 104 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 143 for (i = 0; entries[i].path != NULL; i++) { in test_write_format_mtree_sub() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/ |
H A D | amdgpu_smu_helper.c | 269 vol_table->entries[i].value = dep_table->entries[i].mvdd; in phm_get_svi2_mvdd_voltage_table() 297 vol_table->entries[i].value = dep_table->entries[i].vddci; in phm_get_svi2_vddci_voltage_table() 325 vol_table->entries[i].value = lookup_table->entries[i].us_vdd; in phm_get_svi2_vdd_voltage_table() 343 vol_table->entries[i] = vol_table->entries[i + diff]; in phm_trim_voltage_table_to_fit_state_table() 694 dep_table->entries[i].clk = allowed_dep_table->entries[i].clk; in smu_get_voltage_dependency_table_ppt_v1() 695 dep_table->entries[i].vddInd = allowed_dep_table->entries[i].vddInd; in smu_get_voltage_dependency_table_ppt_v1() 697 dep_table->entries[i].vddc = allowed_dep_table->entries[i].vddc; in smu_get_voltage_dependency_table_ppt_v1() 698 dep_table->entries[i].vddgfx = allowed_dep_table->entries[i].vddgfx; in smu_get_voltage_dependency_table_ppt_v1() 699 dep_table->entries[i].vddci = allowed_dep_table->entries[i].vddci; in smu_get_voltage_dependency_table_ppt_v1() 700 dep_table->entries[i].mvdd = allowed_dep_table->entries[i].mvdd; in smu_get_voltage_dependency_table_ppt_v1() [all …]
|
H A D | amdgpu_vega10_processpptables.c | 597 clk_table->entries[i].vddInd = in get_socclk_voltage_dependency_table() 599 clk_table->entries[i].clk = in get_socclk_voltage_dependency_table() 637 mclk_table->entries[i].clk = in get_mclk_voltage_dependency_table() 675 clk_table->entries[i].clk = in get_gfxclk_voltage_dependency_table() 690 clk_table->entries[i].clk = in get_gfxclk_voltage_dependency_table() 738 clk_table->entries[i].vddInd = in get_pix_clk_voltage_dependency_table() 740 clk_table->entries[i].clk = in get_pix_clk_voltage_dependency_table() 795 clk_table->entries[i].vddInd = in get_dcefclk_voltage_dependency_table() 797 clk_table->entries[i].clk = in get_dcefclk_voltage_dependency_table() 802 clk_table->entries[i].vddInd = clk_dep_table->entries[i-1].ucVddInd; in get_dcefclk_voltage_dependency_table() [all …]
|
/netbsd/distrib/sets/ |
H A D | fmt-list | 243 local entries = { 253 entries = { 263 entries = { 271 entries = { 282 local function add_tabs(entries) 320 local entries = { 325 add_tabs(entries) 354 table.sort(entries, less) 367 local entries = {} 388 return head, entries, errors [all …]
|
/netbsd/external/gpl3/binutils/dist/libiberty/ |
H A D | hashtab.c | 308 if (result->entries == NULL) in htab_create_alloc_ex() 415 void **entries = htab->entries; in htab_delete() local 420 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 421 (*htab->del_f) (entries[i]); in htab_delete() 441 void **entries = htab->entries; in htab_empty() local 446 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 447 (*htab->del_f) (entries[i]); in htab_empty() 526 oentries = htab->entries; in htab_expand() 552 htab->entries = nentries; in htab_expand() 745 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/netbsd/sys/arch/shark/shark/ |
H A D | profile.c | 233 memset(phashTables[backup]->entries, 0, in profread() 240 = phashTables[real]->hdr.entries; in profread() 324 if (info->entries > info->tableSize) in profStart() 354 memset(phashTables[0]->entries, 0, in profStart() 356 memset(phashTables[1]->entries, 0, in profStart() 362 profTable->hdr.entries = profTable->hdr.last = info->entries; in profStart() 588 entries = table->hdr.entries - 1; in profEnter() 592 entries = entries << 1; in profEnter() 594 } while (!(entries & 0x80000000)); in profEnter() 628 sample = &table->entries[sample->next]; in profEnter() [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/x509/ |
H A D | x_name.c | 107 sk_X509_NAME_ENTRY_free(ret->entries); in IMPLEMENT_EXTERN_ASN1() 157 STACK_OF(X509_NAME_ENTRY) *entries; in x509_name_ex_d2i() 188 sk_X509_NAME_ENTRY_set(entries, j, NULL); in x509_name_ex_d2i() 241 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_encode() 250 entries = sk_X509_NAME_ENTRY_new_null(); in x509_name_encode() 251 if (!entries) in x509_name_encode() 254 sk_X509_NAME_ENTRY_free(entries); in x509_name_encode() 304 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_canon() 311 if (sk_X509_NAME_ENTRY_num(a->entries) == 0) { in x509_name_canon() 324 if (entries == NULL) in x509_name_canon() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/x509/ |
H A D | x_name.c | 107 sk_X509_NAME_ENTRY_free(ret->entries); in IMPLEMENT_EXTERN_ASN1() 157 STACK_OF(X509_NAME_ENTRY) *entries; in x509_name_ex_d2i() 243 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_encode() 253 entries = sk_X509_NAME_ENTRY_new_null(); in x509_name_encode() 254 if (!entries) in x509_name_encode() 257 sk_X509_NAME_ENTRY_free(entries); in x509_name_encode() 308 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_canon() 315 if (sk_X509_NAME_ENTRY_num(a->entries) == 0) { in x509_name_canon() 327 entries = sk_X509_NAME_ENTRY_new_null(); in x509_name_canon() 328 if (entries == NULL) in x509_name_canon() [all …]
|
/netbsd/external/gpl3/gdb/dist/libiberty/ |
H A D | hashtab.c | 308 if (result->entries == NULL) in htab_create_alloc_ex() 415 PTR *entries = htab->entries; in htab_delete() local 420 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 421 (*htab->del_f) (entries[i]); in htab_delete() 441 PTR *entries = htab->entries; in htab_empty() local 446 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 447 (*htab->del_f) (entries[i]); in htab_empty() 526 oentries = htab->entries; in htab_expand() 552 htab->entries = nentries; in htab_expand() 745 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/netbsd/external/gpl3/binutils.old/dist/libiberty/ |
H A D | hashtab.c | 308 if (result->entries == NULL) in htab_create_alloc_ex() 415 PTR *entries = htab->entries; in htab_delete() local 420 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 421 (*htab->del_f) (entries[i]); in htab_delete() 441 PTR *entries = htab->entries; in htab_empty() local 446 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 447 (*htab->del_f) (entries[i]); in htab_empty() 526 oentries = htab->entries; in htab_expand() 552 htab->entries = nentries; in htab_expand() 745 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libiberty/ |
H A D | hashtab.c | 308 if (result->entries == NULL) in htab_create_alloc_ex() 415 PTR *entries = htab->entries; in htab_delete() local 420 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 421 (*htab->del_f) (entries[i]); in htab_delete() 441 PTR *entries = htab->entries; in htab_empty() local 446 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 447 (*htab->del_f) (entries[i]); in htab_empty() 526 oentries = htab->entries; in htab_expand() 552 htab->entries = nentries; in htab_expand() 745 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/libiberty/ |
H A D | hashtab.c | 308 if (result->entries == NULL) in htab_create_alloc_ex() 415 PTR *entries = htab->entries; in htab_delete() local 420 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 421 (*htab->del_f) (entries[i]); in htab_delete() 441 PTR *entries = htab->entries; in htab_empty() local 446 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 447 (*htab->del_f) (entries[i]); in htab_empty() 526 oentries = htab->entries; in htab_expand() 552 htab->entries = nentries; in htab_expand() 745 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/netbsd/external/gpl3/gcc/dist/libiberty/ |
H A D | hashtab.c | 308 if (result->entries == NULL) in htab_create_alloc_ex() 415 PTR *entries = htab->entries; in htab_delete() local 420 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 421 (*htab->del_f) (entries[i]); in htab_delete() 441 PTR *entries = htab->entries; in htab_empty() local 446 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 447 (*htab->del_f) (entries[i]); in htab_empty() 526 oentries = htab->entries; in htab_expand() 552 htab->entries = nentries; in htab_expand() 745 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | keytab_memory.c | 41 krb5_keytab_entry *entries; member 86 d->entries = NULL; in mkt_resolve() 121 krb5_kt_free_entry(context, &d->entries[i]); in mkt_close() 122 free(d->entries); in mkt_close() 157 return krb5_kt_copy_entry_contents(context, &d->entries[c->fd++], entry); in mkt_next_entry() 175 tmp = realloc(d->entries, (d->num_entries + 1) * sizeof(*d->entries)); in mkt_add_entry() 178 d->entries = tmp; in mkt_add_entry() 180 &d->entries[d->num_entries++]); in mkt_add_entry() 198 for(end = d->entries + d->num_entries, e = end - 1; e >= d->entries; e--) { in mkt_remove_entry() 213 e = realloc(d->entries, d->num_entries * sizeof(*d->entries)); in mkt_remove_entry() [all …]
|
/netbsd/external/gpl3/binutils/dist/gprofng/src/ |
H A D | StringMap.h | 63 int entries; variable 75 entries = 0; in StringMap() 87 for (int i = 0; i < entries; ++i) in ~StringMap() 103 for (int i = 0; i < entries; ++i) in clear() 108 entries = 0; in clear() 126 int hi = entries - 1; in put() 156 entry = &chunks[entries / CHUNK_SIZE][entries % CHUNK_SIZE]; in put() 161 entries++; in put() 173 int hi = entries - 1; in get() 217 for (int i = 0; i < entries; ++i) in values() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libgomp/ |
H A D | hashtab.h | 84 hash_entry_type entries[]; member 274 slot = htab->entries + index; in find_empty_slot_for_expand() 297 olimit = htab->entries + osize; in htab_expand() 308 p = htab->entries; in htab_expand() 337 entry = htab->entries[index]; in htab_find() 349 entry = htab->entries[index]; in htab_find() 384 entry = htab->entries[index]; in htab_find_slot() 390 return &htab->entries[index]; in htab_find_slot() 408 return &htab->entries[index]; in htab_find_slot() 423 return &htab->entries[index]; in htab_find_slot() [all …]
|
/netbsd/external/bsd/cron/dist/ |
H A D | job.c | 36 SIMPLEQ_ENTRY(_job) entries; 52 SIMPLEQ_FOREACH(j, &jobs, entries) { in job_add() 68 SIMPLEQ_INSERT_TAIL(&jobs, j, entries); in job_add() 76 SIMPLEQ_FOREACH(j, &jobs, entries) { in job_remove() 79 SIMPLEQ_REMOVE_HEAD(&jobs, entries); in job_remove() 81 SIMPLEQ_REMOVE_AFTER(&jobs, prev, entries); in job_remove() 95 SIMPLEQ_FOREACH(j, &jobs, entries) { in job_exit() 98 SIMPLEQ_REMOVE_HEAD(&jobs, entries); in job_exit() 100 SIMPLEQ_REMOVE_AFTER(&jobs, prev, entries); in job_exit() 115 SIMPLEQ_REMOVE_HEAD(&jobs, entries); in job_runqueue() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_dpm.c | 240 if (!amdgpu_table->entries) in amdgpu_parse_clk_voltage_dep_table() 243 entry = &atom_table->entries[0]; in amdgpu_parse_clk_voltage_dep_table() 413 entry = &psl->entries[0]; in amdgpu_parse_extended_power_table() 456 entry = &cac_table->entries[0]; in amdgpu_parse_extended_power_table() 513 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() 517 ((u8 *)&array->entries[0] + in amdgpu_parse_extended_power_table() 533 ((u8 *)&array->entries[0] + in amdgpu_parse_extended_power_table() 568 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() 571 ((u8 *)&array->entries[0] + in amdgpu_parse_extended_power_table() 600 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_r600_dpm.c | 834 if (!radeon_table->entries) in r600_parse_clk_voltage_dep_table() 837 entry = &atom_table->entries[0]; in r600_parse_clk_voltage_dep_table() 1006 entry = &psl->entries[0]; in r600_parse_extended_power_table() 1049 entry = &cac_table->entries[0]; in r600_parse_extended_power_table() 1106 entry = &limits->entries[0]; in r600_parse_extended_power_table() 1110 ((u8 *)&array->entries[0] + in r600_parse_extended_power_table() 1125 ((u8 *)&array->entries[0] + in r600_parse_extended_power_table() 1160 entry = &limits->entries[0]; in r600_parse_extended_power_table() 1163 ((u8 *)&array->entries[0] + in r600_parse_extended_power_table() 1192 entry = &limits->entries[0]; in r600_parse_extended_power_table() [all …]
|
/netbsd/external/gpl3/gcc/dist/libgomp/ |
H A D | hashtab.h | 84 hash_entry_type entries[]; member 280 slot = htab->entries + index; in find_empty_slot_for_expand() 303 olimit = htab->entries + osize; in htab_expand() 314 p = htab->entries; in htab_expand() 343 entry = htab->entries[index]; in htab_find() 355 entry = htab->entries[index]; in htab_find() 390 entry = htab->entries[index]; in htab_find_slot() 396 return &htab->entries[index]; in htab_find_slot() 414 return &htab->entries[index]; in htab_find_slot() 429 return &htab->entries[index]; in htab_find_slot() [all …]
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | dirent.c | 51 struct dirent **entries; member 138 dp->entries = calloc(dp->nc_entries, sizeof(dp->entries[0])); in opendir() 140 if (dp->entries == NULL) { in opendir() 154 ne = realloc(dp->entries, sizeof(dp->entries[0]) * dp->nc_entries); in opendir() 162 dp->entries = ne; in opendir() 175 dp->entries[dp->n_entries++] = e; in opendir() 192 if (dp->entries) { in closedir() 196 free(dp->entries[i]); in closedir() 199 free(dp->entries); in closedir() 216 return dp->entries[dp->cursor++]; in readdir()
|