/netbsd-src/distrib/utils/more/ |
H A D | position.c | 59 static int tablesize; variable 143 tablesize = sc_height > 25 ? sc_height : 25; in pos_clear() 144 table = (off_t *)malloc(tablesize * sizeof *table); in pos_clear() 145 } else if (sc_height >= tablesize) { in pos_clear() 146 tablesize = sc_height; in pos_clear() 147 table = (off_t *)realloc(table, tablesize * sizeof *table); in pos_clear()
|
/netbsd-src/sys/arch/i386/pci/ |
H A D | pcibios.c | 229 uint16_t tablesize; in pcibios_pir_init() local 246 tablesize = *(uint16_t *)(p + 6); in pcibios_pir_init() 249 for (i = 0; i < tablesize; i++) in pcibios_pir_init() 255 tablesize, (tablesize - 32) / 16); in pcibios_pir_init() 262 if (tablesize < 32 || (tablesize % 16) != 0) { in pcibios_pir_init() 277 pcibios_pir_table = malloc(tablesize - 32, M_DEVBUF, in pcibios_pir_init() 279 memcpy(pcibios_pir_table, p + 32, tablesize - 32); in pcibios_pir_init() 280 pcibios_pir_table_nentries = (tablesize - 32) / 16; in pcibios_pir_init()
|
H A D | pcibios.h | 72 uint16_t tablesize; member
|
/netbsd-src/usr.sbin/bootp/common/ |
H A D | hash.c | 75 hash_Init(unsigned int tablesize) in hash_Init() argument 80 if (tablesize > 0) { in hash_Init() 82 + sizeof(hash_member *) * (tablesize - 1); in hash_Init() 86 hashtblptr->size = tablesize; /* Success! */ in hash_Init()
|
H A D | hash.h | 123 extern hash_tbl *hash_Init(u_int tablesize);
|
/netbsd-src/external/gpl2/mkhybrid/dist/ |
H A D | joliet.c | 351 int tablesize; in generate_joliet_path_tables() local 356 tablesize = jpath_blocks << 11; in generate_joliet_path_tables() 357 jpath_table_m = (char *) e_malloc(tablesize); in generate_joliet_path_tables() 358 jpath_table_l = (char *) e_malloc(tablesize); in generate_joliet_path_tables() 359 memset(jpath_table_l, 0, tablesize); in generate_joliet_path_tables() 360 memset(jpath_table_m, 0, tablesize); in generate_joliet_path_tables()
|
H A D | tree.c | 167 int tablesize = 0; in FDECL1() local 387 if(s_entry->table) tablesize += 35 + strlen(s_entry->table); in FDECL1() 391 if( tablesize > 0 ) in FDECL1() 407 set_733((char *) table->isorec.size, tablesize); in FDECL1() 408 table->size = tablesize; in FDECL1() 413 table->table = (char *) e_malloc(ROUND_UP(tablesize)+1); in FDECL1() 414 memset(table->table, 0, ROUND_UP(tablesize)+1); in FDECL1() 529 if(count != tablesize) in FDECL1() 532 count, tablesize); in FDECL1()
|
H A D | write.c | 1035 int tablesize; in generate_path_tables() local 1040 tablesize = path_blocks << 11; in generate_path_tables() 1041 path_table_m = (char *) e_malloc(tablesize); in generate_path_tables() 1042 path_table_l = (char *) e_malloc(tablesize); in generate_path_tables() 1043 memset(path_table_l, 0, tablesize); in generate_path_tables() 1044 memset(path_table_m, 0, tablesize); in generate_path_tables()
|
/netbsd-src/sys/arch/i386/i386/ |
H A D | locore.S | 294 .globl _C_LABEL(tablesize) 306 .type _C_LABEL(tablesize), @object 307 _C_LABEL(tablesize): .long 0 308 END(tablesize) 877 /* tablesize = (PDP_SIZE + UPAGES + nkptp[1]) << PGSHIFT; */ 885 movl %eax,RELOC(tablesize) 888 * (esi + tablesize) >> L2_SHIFT + 1 < nkptp[1] */ 900 movl RELOC(tablesize),%ecx 954 movl RELOC(tablesize),%ecx /* length of BOOTSTRAP TABLES */ 1051 addl _C_LABEL(tablesize), [all...] |
/netbsd-src/sys/arch/amd64/stand/prekern/ |
H A D | locore.S | 122 .globl _C_LABEL(tablesize) 138 .type _C_LABEL(tablesize), @object 139 _C_LABEL(tablesize): .long TABLESIZE 140 END(tablesize)
|
/netbsd-src/lib/libc/stdio/ |
H A D | vfwprintf.c | 1546 size_t tablesize; /* current size of type table */ in __find_arguments() local 1562 if (nextarg >= tablesize) \ in __find_arguments() 1564 &tablesize) == -1) \ in __find_arguments() 1625 tablesize = STATIC_ARG_TBL_SIZE; in __find_arguments() 1913 __grow_type_table (size_t nextarg, enum typeid **typetable, size_t *tablesize) in __grow_type_table() argument 1916 const size_t oldsize = *tablesize; in __grow_type_table() 1941 *tablesize = newsize; in __grow_type_table()
|
/netbsd-src/sys/arch/x86/x86/ |
H A D | est.c | 1182 int j, tablesize, freq, volt; in est_tables() local 1227 tablesize = maxfreq - minfreq + 1; in est_tables() 1232 tablesize = maxvolt - minvolt + 1; in est_tables() 1237 sc->sc_fake_table = kmem_alloc(tablesize * in est_tables() 1239 sc->sc_fake_fqlist.n = tablesize; in est_tables() 1245 for (j = 0; j < tablesize; j++) { in est_tables()
|
/netbsd-src/sys/arch/amd64/amd64/ |
H A D | locore.S | 329 .globl _C_LABEL(tablesize) 348 .type _C_LABEL(tablesize), @object 349 _C_LABEL(tablesize): .long TABLESIZE 350 END(tablesize)
|
/netbsd-src/usr.sbin/iopctl/ |
H A D | iopctl.c | 256 nent = ((le16toh(lct->tablesize) << 2) - in showlct()
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/m16c/ |
H A D | table.c | 589 int tablesize = sizeof(table)/sizeof(table[0]); variable
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/sparc64/ |
H A D | table.c | 966 int tablesize = sizeof(table)/sizeof(table[0]); variable
|
/netbsd-src/sys/dev/i2o/ |
H A D | i2o.h | 276 u_int16_t tablesize; member
|
H A D | iop.c | 1175 size = le16toh(lct->tablesize) << 2; in iop_lct_get() 1189 sc->sc_nlctent = ((le16toh(sc->sc_lct->tablesize) << 2) - in iop_lct_get() 2527 i = le16toh(sc->sc_lct->tablesize) << 2; in iopioctl()
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/hppa/ |
H A D | table.c | 1016 int tablesize = sizeof(table)/sizeof(table[0]); variable
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/pdp11/ |
H A D | table.c | 844 int tablesize = sizeof(table)/sizeof(table[0]); variable
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/m68k/ |
H A D | table.c | 1008 int tablesize = sizeof(table)/sizeof(table[0]); variable
|
/netbsd-src/external/bsd/pcc/dist/pcc/mip/ |
H A D | reader.c | 1294 extern int tablesize; in e2print() 1352 TBLIDX(p->n_su) >= 0 && TBLIDX(p->n_su) <= tablesize ? in e2print()
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/mips/ |
H A D | table.c | 1327 int tablesize = sizeof(table)/sizeof(table[0]); variable
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/pdp10/ |
H A D | table.c | 1137 int tablesize = sizeof(table)/sizeof(table[0]); variable
|
/netbsd-src/external/bsd/pcc/dist/pcc/arch/i86/ |
H A D | table.c | 1565 int tablesize = sizeof(table)/sizeof(table[0]); variable
|