/illumos-gate/usr/src/boot/common/ |
H A D | gpt.c | 57 struct gpt_ent *table) in gptupdate() argument 73 bcopy(&table[firstent], secbuf, DEV_BSIZE); in gptupdate() 81 hdr->hdr_crc_table = crc32(hdr->hdr_crc_table, table, in gptupdate() 235 struct gpt_ent *table) in gptbootconv() argument 249 ent = &table[nent + part]; in gptbootconv() 263 bcopy(&table[nent], secbuf, DEV_BSIZE); in gptbootconv() 272 hdr->hdr_crc_table = crc32(hdr->hdr_crc_table, table, in gptbootconv() 284 struct gpt_hdr *hdr, struct gpt_ent *table) in gptread_table() argument 305 bcopy(ent, &table[nent], sizeof (table[nent])); in gptread_table() 313 if (crc32(0, table, nent * hdr->hdr_entsz) != hdr->hdr_crc_table) { in gptread_table()
|
/illumos-gate/usr/src/common/ficl/ |
H A D | hash.c | 21 pWord = hash->table[i]; in ficlHashForget() 27 hash->table[i] = pWord; in ficlHashForget() 78 pList = hash->table; in ficlHashInsertWord() 80 pList = hash->table + (word->hash % hash->size); in ficlHashInsertWord() 112 for (word = hash->table[hashIdx]; word; word = word->link) { in ficlHashLookup() 137 hash->table[i] = NULL; in ficlHashReset()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | printhash.c | 22 iphtent_t *ipep, **table; local 125 sz = iph.iph_size * sizeof(*table); 126 table = malloc(sz); 127 if ((*copyfunc)((char *)iph.iph_table, (char *)table, sz)) 131 for (ipep = table[i]; ipep != NULL; ) { 139 free(table);
|
/illumos-gate/usr/src/contrib/bhyve/dev/usb/ |
H A D | usbdi.h | 340 #define USB_PNP_HOST_INFO(table) \ argument 341 MODULE_PNP_INFO(USB_STD_PNP_HOST_INFO, usb, table, table, sizeof(table[0]), \ 342 sizeof(table) / sizeof(table[0])) 343 #define USB_PNP_DEVICE_INFO(table) \ argument 344 MODULE_PNP_INFO(USB_STD_PNP_DEVICE_INFO, usb, table, table, sizeof(table[0]), \ 345 sizeof(table) / sizeof(table[0])) 346 #define USB_PNP_DUAL_INFO(table) \ argument 347 MODULE_PNP_INFO(USB_STD_PNP_INFO, usb, table, table, sizeof(table[0]), \ 348 sizeof(table) / sizeof(table[0]))
|
/illumos-gate/usr/src/lib/iconv_modules/common/ |
H A D | tab_lookup.c | 97 match_val = st->table[idx].right_code; in _icv_iconv_lu() 151 match_val = st->table[idx].left_code; in _icv_iconv_lu() 216 if ( val < st->table[mid].left_code ) in bisearch() 218 else if ( val > st->table[mid].left_code ) in bisearch() 223 if ( val < st->table[mid].right_code ) in bisearch() 225 else if ( val > st->table[mid].right_code ) in bisearch()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_mindex_c.x | 78 db_table *table; member 122 % db_table *table; 184 % bool_t good() { return scheme != NULL && table != NULL; } 296 % if (table != NULL) table->markDeferred(); 300 % if (table != NULL) table->unmarkDeferred();
|
/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios_test_memdevice.c | 96 smbios_test_memdevice_mktable_32(smbios_test_table_t *table) in smbios_test_memdevice_mktable_32() argument 107 (void) smbios_test_table_append(table, &mem, smbios_memdevice_len_v3p2); in smbios_test_memdevice_mktable_32() 108 smbios_test_table_append_eot(table); in smbios_test_memdevice_mktable_32() 114 smbios_test_memdevice_mktable_33(smbios_test_table_t *table) in smbios_test_memdevice_mktable_33() argument 125 (void) smbios_test_table_append(table, &mem, smbios_memdevice_len_v3p3); in smbios_test_memdevice_mktable_33() 126 smbios_test_table_append_eot(table); in smbios_test_memdevice_mktable_33() 132 smbios_test_memdevice_mktable_33ext(smbios_test_table_t *table) in smbios_test_memdevice_mktable_33ext() argument 144 smbios_test_table_append_eot(table); in smbios_test_memdevice_mktable_33ext() 150 smbios_test_memdevice_mktable_37(smbios_test_table_t *table) in smbios_test_memdevice_mktable_37() argument 165 (void) smbios_test_table_append(table, &mem, sizeof (mem)); in smbios_test_memdevice_mktable_37() [all …]
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itm_util.c | 413 table->number = num; in range_table() 427 return (table); in range_table() 473 table->number = num; in escseq_table() 506 return (table); in escseq_table() 923 return (table); in map_table() 955 char *table; in map_table_indexed_fixed() local 1143 char *table; in map_table_lookup_fixed() local 1601 char *table; in map_table_dense_encoding() local 1772 char *table, in put_dense_encoding_default() argument 1787 table, in put_dense_encoding_default() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 378 char **table; member 390 char **table = sumarg->table; in error_sumup_cb() local 397 (void) strcat(*table, "\n"); in error_sumup_cb() 398 (void) sprintf(&((*table)[strlen(*table)]), in error_sumup_cb() 427 if (table == NULL) in pci_rcm_info_table() 466 if (*table == NULL) { in pci_rcm_info_table() 469 if (*table == NULL) in pci_rcm_info_table() 472 newtable = realloc(*table, strlen(*table) + table_size); in pci_rcm_info_table() 476 *table = newtable; in pci_rcm_info_table() 482 (void) strcat(*table, "\n"); in pci_rcm_info_table() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | trigger1.test | 133 create table t1(a,b); 143 drop table t1; 148 create table t1(a,b); 158 drop table t1; 165 create table t1(a,b); 226 } {1 {no such table: main.t2}} 238 } {1 {no such table: main.t2}} 245 } {1 {no such table: main.t2}} 319 } {view v1 table t2} 327 } {view v1 table t2 trigger t2} [all …]
|
H A D | trigger4.test | 19 create table test1(id integer primary key,a); 20 create table test2(id integer,b); 84 drop table test2; 87 } {1 {no such table: main.test2}} 94 } {1 {no such table: main.test2}} 99 } {1 {no such table: main.test2}} 107 create table test2(id,b);
|
H A D | lastinsert.test | 14 # Note 1: insert into table is now the only statement which changes LIRID 29 # LIRID changed properly after an insert into a table 32 create table t1 (k integer primary key); 40 # LIRID unchanged after an update on a table 48 # LIRID unchanged after a delete from a table 56 # LIRID unchanged after create table/view statements 59 create table t2 (k integer primary key, val1, val2, val3); 264 drop table t1; drop table t2; drop trigger r1; 265 create temp table t1 (k integer primary key); 266 create temp table t2 (k integer primary key); [all …]
|
H A D | insert.test | 20 # Try to insert into a non-existant table. 25 } {1 {no such table: test1}} 32 } {1 {table sqlite_master may not be modified}} 40 } {1 {table test1 has 3 columns but 2 values were supplied}} 44 } {1 {table test1 has 3 columns but 4 values were supplied}} 54 # Try to insert into a non-existant column of a table. 59 } {1 {table test1 has no column named four}} 90 # A table to use for testing default values 138 # on a table that has indices. In particular we want to verify 223 # verify that a temporary table is used to copy t4 to t4 [all …]
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | zutil.c | 206 local ptr_table table[MAX_PTR]; variable 231 table[next_ptr].org_ptr = buf; in zcalloc() 236 table[next_ptr++].new_ptr = buf; in zcalloc() 252 if (ptr != table[n].new_ptr) continue; in zcfree() 254 farfree(table[n].org_ptr); in zcfree() 256 table[n-1] = table[n]; in zcfree()
|
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | ar.msg | 79 @ MSG_ELF_GETSHSTRNDX_FILE "ar: %s has no string table index: %s\n" 80 @ MSG_ELF_GETSHSTRNDX_AR "ar: %s(%s) has no string table index: %s\n" 84 @ MSG_W_ELF_NODATA_FILE "ar: %s has no data in section header table\n" 85 @ MSG_W_ELF_NODATA_AR "ar: %s(%s) has no data in section header table\n" 90 @ MSG_SYMTAB_01 "ar: symbol table entry size is 0\n" 91 @ MSG_SYMTAB_NOSTR_FILE "ar: %s has no string table for symbol names\n" 92 @ MSG_SYMTAB_NOSTR_AR "ar: %s(%s) has no string table for symbol names\n" 93 @ MSG_SYMTAB_NODAT_FILE "ar: %s has no data in string table\n" 94 @ MSG_SYMTAB_NODAT_AR "ar: %s(%s) no data in string table\n" 95 @ MSG_SYMTAB_ZDAT_FILE "ar: %s has no data in string table: size is 0\n" [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPV1Manager.java | 87 private ServiceTable table = null; field in SLPV1Manager.SLPV1Advertiser 98 ServiceTable table) in SLPV1Advertiser() argument 102 this.table = table; in SLPV1Advertiser() 154 daadvert = (SDAAdvert)table.makeDAAdvert(hdr, in getOutbuf() 198 start(SLPConfig config, ServerDATable table, ServiceTable stable) { in start() argument
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | __x_power.c | 241 unsigned short *pp, *table[3], canquit; in __big_float_times_power() local 295 table[0] = (unsigned short *)__tbl_2_small_digits + pp[0]; in __big_float_times_power() 298 table[1] = (unsigned short *)__tbl_2_big_digits + pp[0]; in __big_float_times_power() 301 table[2] = (unsigned short *)__tbl_2_huge_digits + pp[0]; in __big_float_times_power() 336 table[0] = (unsigned short *)__tbl_10_small_digits + pp[0]; in __big_float_times_power() 339 table[1] = (unsigned short *)__tbl_10_big_digits + pp[0]; in __big_float_times_power() 342 table[2] = (unsigned short *)__tbl_10_huge_digits + pp[0]; in __big_float_times_power() 386 __multiply_base_two(pbf, (table[i])[0]); in __big_float_times_power() 395 (void) memcpy(pbf->bsignificand, table[i], in __big_float_times_power() 424 pp = table[i]; in __big_float_times_power()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/ |
H A D | hashsize.c | 60 old_sx = (old_s = tab->table) + tab->size; in hashsize() 77 if (region) (*region)(handle, tab->table, 0, 0); in hashsize() 78 else free(tab->table); in hashsize() 80 tab->table = new_s; in hashsize()
|
H A D | hashview.c | 60 sx = &top->table[top->size]; in hashview() 61 sp = &top->table[0]; in hashview() 75 sx = &top->table[top->size]; in hashview() 76 sp = &top->table[0]; in hashview()
|
H A D | hashlook.c | 63 for (b = tab->table[n]; b; b = b->next) in hashlook() 80 last->table = tab; in hashlook() 100 for (prev = 0, b = tab->table[n]; b; prev = b, b = b->next) in hashlook() 134 tab = last->table; in hashlook() 153 b->next = tab->table[n]; in hashlook() 154 tab->table[n] = b; in hashlook() 187 tab->table[n] = b->next; in hashlook() 243 tab->table[n] = b->next; in hashlook() 333 b->next = tab->table[n]; in hashlook() 334 tab->table[n] = b; in hashlook() [all …]
|
/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | list_rqs.c | 44 register ss_request_table **table; local 91 for (table = ss_info(sci_idx)->rqt_tables; *table; table++) { 92 entry = (*table)->requests;
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ipsec_impl.h | 139 #define HASH_LOCK(table, hash) \ argument 140 mutex_enter(&(table)[hash].hash_lock) 141 #define HASH_UNLOCK(table, hash) \ argument 142 mutex_exit(&(table)[hash].hash_lock) 144 #define HASH_LOCKED(table, hash) \ argument 145 MUTEX_HELD(&(table)[hash].hash_lock) 147 #define HASH_ITERATE(var, field, table, hash) \ argument 153 #define HASH_INSERT(var, field, table, hash) \ argument 155 ASSERT(HASH_LOCKED(table, hash)); \ 158 (table)[hash].hash_head = var; \ [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | tpm_intf_crb.c | 544 struct basl_table *table; in tpm_crb_build_acpi_table() local 546 BASL_EXEC(basl_table_create(&table, vm_ctx, ACPI_SIG_TPM2, in tpm_crb_build_acpi_table() 550 BASL_EXEC(basl_table_append_header(table, ACPI_SIG_TPM2, 4, 1)); in tpm_crb_build_acpi_table() 552 BASL_EXEC(basl_table_append_int(table, 0, 2)); in tpm_crb_build_acpi_table() 554 BASL_EXEC(basl_table_append_int(table, 0, 2)); in tpm_crb_build_acpi_table() 557 basl_table_append_int(table, TPM_CRB_CONTROL_AREA_ADDRESS, 8)); in tpm_crb_build_acpi_table() 559 BASL_EXEC(basl_table_append_int(table, 7, 4)); in tpm_crb_build_acpi_table() 562 BASL_EXEC(basl_table_append_bytes(table, parameters, 12)); in tpm_crb_build_acpi_table() 565 basl_table_append_int(table, TPM_CRB_LOG_AREA_MINIMUM_SIZE, 4)); in tpm_crb_build_acpi_table() 572 basl_table_append_fwcfg(table, in tpm_crb_build_acpi_table() [all …]
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t6.c | 43 for(il=prev(ilin); il>=0 && vspen(table[il][icol].col); il=prev(il)) in maktab() 46 if (filler(table[ilin][icol].col)) continue; in maktab() 51 s = table[ilin][icol].col; in maktab() 61 if (table[ilin][icol].rcol!=0) in maktab() 66 if (real(s=table[ilin][icol].col) && !vspen(s)) in maktab() 73 if (text==0 && real(s=table[ilin][icol].rcol) && !vspen(s) && !barent(s)) in maktab() 84 if (real(s=table[ilin][icol].col) && !vspen(s)) in maktab() 113 s=table[ilin][icol-k].col; in maktab() 116 wide(table[ilin][icol-k].col, FN(ilin,icol-k), SZ(ilin,icol-k)); in maktab()
|
/illumos-gate/usr/src/cmd/netfiles/ |
H A D | nss.dfl | 27 # the netid or group table when satisfying the initgroups() call. 28 # The default is to use the group table, setting the value of TRUE forces 30 # groups rather than the group table. 32 # the netid table contains valid supplementary group information for users, 34 # groups table in sync with the netid table automatically.
|