Symbol: tab
common/dist/zlib/examples/enough.c
233
struct tab *done; // states already evaluated array
common/dist/zlib/examples/enough.c
582
g.done = calloc(g.size, sizeof(struct tab));
crypto/dist/ipsec-tools/src/setkey/setkey.c
902
#define STR_OR_ID(x, tab) \
crypto/dist/ipsec-tools/src/setkey/setkey.c
903
(((x) < sizeof(tab)/sizeof(tab[0]) && tab[(x)]) ? tab[(x)] : numstr(x))
games/canfield/canfield/canfield.c
1295
mtforigin = tab;
games/trek/getpar.c
120
getcodpar(const char *s, const struct cvntab tab[])
games/trek/getpar.c
148
for (r = tab; r->abbrev; r++) {
games/trek/getpar.c
163
for (r = tab; r->abbrev; r++) {
lib/libc/stdio/vfscanf.c
858
__sccl(char *tab, const u_char *fmt, locale_t loc)
lib/libc/stdio/vfscanf.c
862
_DIAGASSERT(tab != NULL);
lib/libc/stdio/vfscanf.c
873
(void)memset(tab, v, 256);
lib/libc/stdio/vfscanf.c
887
tab[c] = v; /* take character c */
lib/libc/stdio/vfscanf.c
924
tab[++c] = v;
lib/libc/stdio/vfscanf.c
930
tab[i] = v;
lib/libc/stdlib/radixsort.c
102
radixsort(const u_char **a, int n, const u_char *tab, u_int endch)
lib/libc/stdlib/radixsort.c
116
sradixsort(const u_char **a, int n, const u_char *tab, u_int endch)
lib/libc/stdlib/radixsort.c
83
if (tab == NULL) { \
lib/libc/stdlib/radixsort.c
92
endch = tab[endch]; \
lib/libc/stdlib/radixsort.c
93
tr = tab; \
lib/libcurses/cr_put.c
400
if (tab)
lib/libcurses/cr_put.c
401
tputs(tab, 0, plodput);
lib/libcurses/cr_put.c
407
if (tab)
lib/libcurses/cr_put.c
408
tputs(tab, 0, plodput);
lib/libform/internals.c
1504
unsigned int tab, cpos, len;
lib/libform/internals.c
1641
tab = 0; /* just to shut gcc up */
lib/libform/internals.c
1646
tab = add_tab(form, row, cpos,
lib/libform/internals.c
1655
tab = add_tab(form, row, cpos, ' ');
lib/libform/internals.c
1660
tab = add_tab(form, row, cpos, ' ');
lib/libform/internals.c
1671
i += tab - 1;
libexec/ftpd/cmds.c
321
struct tab *c;
libexec/ftpd/extern.h
137
struct tab *lookup(struct tab *, const char *);
libexec/ftpd/extern.h
350
extern struct tab cmdtab[];
libexec/ftpd/ftpcmd.y
115
struct tab sitetab[];
libexec/ftpd/ftpcmd.y
118
static void help(struct tab *, const char *);
libexec/ftpd/ftpcmd.y
1223
struct tab cmdtab[] = {
libexec/ftpd/ftpcmd.y
1300
struct tab sitetab[] = {
libexec/ftpd/ftpcmd.y
1354
struct tab *
libexec/ftpd/ftpcmd.y
1355
lookup(struct tab *p, const char *cmd)
libexec/ftpd/ftpcmd.y
1504
struct tab *p;
libexec/ftpd/ftpcmd.y
1749
help(struct tab *ctab, const char *s)
libexec/ftpd/ftpcmd.y
1751
struct tab *c;
libexec/ftpd/ftpcmd.y
1807
if (c == (struct tab *)0) {
sbin/wsconsctl/util.c
249
int2name(int val, int uflag, struct nameint *tab, int len)
sbin/wsconsctl/util.c
255
if (tab[i].value == val)
sbin/wsconsctl/util.c
256
return tab[i].name;
sbin/wsconsctl/util.c
266
name2int(char *val, struct nameint *tab, int len)
sbin/wsconsctl/util.c
271
if (strcmp(tab[i].name, val) == 0)
sbin/wsconsctl/util.c
272
return tab[i].value;
sys/arch/amiga/amiga/disksubr.c
111
} tab[0];
sys/arch/arm/acpi/acpi_pci_machdep.c
382
ACPI_PCI_ROUTING_TABLE *tab;
sys/arch/arm/acpi/acpi_pci_machdep.c
415
for (char *p = buf.Pointer; ; p += tab->Length) {
sys/arch/arm/acpi/acpi_pci_machdep.c
416
tab = (ACPI_PCI_ROUTING_TABLE *)p;
sys/arch/arm/acpi/acpi_pci_machdep.c
417
if (tab->Length == 0)
sys/arch/arm/acpi/acpi_pci_machdep.c
420
if (pa->pa_device == ACPI_HIWORD(tab->Address) &&
sys/arch/arm/acpi/acpi_pci_machdep.c
421
(pin - 1) == (tab->Pin & 3)) {
sys/arch/arm/acpi/acpi_pci_machdep.c
422
if (tab->Source[0] != 0) {
sys/arch/arm/acpi/acpi_pci_machdep.c
423
if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, tab->Source, &linksrc)))
sys/arch/arm/acpi/acpi_pci_machdep.c
427
pa->pa_pc, tab->SourceIndex,
sys/arch/arm/acpi/acpi_pci_machdep.c
432
*ih = tab->SourceIndex;
sys/arch/arm/cortex/gicv3_its.c
1013
gicv3_dma_alloc(sc, &its->its_tab[tab], table_size, table_align);
sys/arch/arm/cortex/gicv3_its.c
1015
cpu_dcache_wb_range((vaddr_t)its->its_tab[tab].base, table_size);
sys/arch/arm/cortex/gicv3_its.c
1022
baser |= its->its_tab[tab].segs[0].ds_addr;
sys/arch/arm/cortex/gicv3_its.c
1034
gits_write_8(its, GITS_BASERn(tab), baser);
sys/arch/arm/cortex/gicv3_its.c
1036
baser = gits_read_8(its, GITS_BASERn(tab));
sys/arch/arm/cortex/gicv3_its.c
1041
gits_write_8(its, GITS_BASERn(tab), baser);
sys/arch/arm/cortex/gicv3_its.c
1044
baser = gits_read_8(its, GITS_BASERn(tab));
sys/arch/arm/cortex/gicv3_its.c
1046
tab, table_type, its->its_tab[tab].segs[0].ds_addr, table_size,
sys/arch/arm/cortex/gicv3_its.c
1052
its->its_tab_device.tab_l1 = its->its_tab[tab].base;
sys/arch/arm/cortex/gicv3_its.c
911
gicv3_its_table_probe_indirect(struct gicv3_its *its, int tab)
sys/arch/arm/cortex/gicv3_its.c
915
baser = gits_read_8(its, GITS_BASERn(tab));
sys/arch/arm/cortex/gicv3_its.c
917
gits_write_8(its, GITS_BASERn(tab), baser);
sys/arch/arm/cortex/gicv3_its.c
919
baser = gits_read_8(its, GITS_BASERn(tab));
sys/arch/arm/cortex/gicv3_its.c
931
int tab;
sys/arch/arm/cortex/gicv3_its.c
937
for (tab = 0; tab < 8; tab++) {
sys/arch/arm/cortex/gicv3_its.c
944
baser = gits_read_8(its, GITS_BASERn(tab));
sys/arch/arm/cortex/gicv3_its.c
971
gicv3_its_table_probe_indirect(its, tab);
sys/arch/arm/iomd/vidc20config.c
183
int *tab;
sys/arch/arm/iomd/vidc20config.c
185
tab = (int *)&vidc_lookup;
sys/arch/arm/iomd/vidc20config.c
225
if (reg == tab[counter]) {
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
141
const struct sunxi_ccu_nkmp_tbl *tab;
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
149
for (tab = nkmp->table; tab->rate > 0; tab++)
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
150
if (tab->rate == rate)
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
152
if (tab->rate == 0)
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
158
if (nkmp->p && __SHIFTOUT(val, nkmp->p) < tab->p) {
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
160
val |= __SHIFTIN(tab->p, nkmp->p);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
164
if (nkmp->m && __SHIFTOUT(val, nkmp->m) < tab->m) {
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
166
val |= __SHIFTIN(tab->m, nkmp->m);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
172
val |= __SHIFTIN(tab->n, nkmp->n);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
176
val |= __SHIFTIN(tab->k, nkmp->k);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
180
if (nkmp->m && __SHIFTOUT(val, nkmp->m) > tab->m) {
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
182
val |= __SHIFTIN(tab->m, nkmp->m);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
186
if (nkmp->p && __SHIFTOUT(val, nkmp->p) > tab->p) {
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
188
val |= __SHIFTIN(tab->p, nkmp->p);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
195
val |= __SHIFTIN(tab->n, nkmp->n);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
199
val |= __SHIFTIN(tab->k, nkmp->k);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
203
val |= __SHIFTIN(tab->m, nkmp->m);
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
207
val |= __SHIFTIN(tab->p, nkmp->p);
sys/arch/ews4800mips/stand/common/boot_device.c
45
void (*tab[])(int *, int *) = {
sys/arch/ews4800mips/stand/common/boot_device.c
69
if (i < sizeof tab / sizeof tab[0])
sys/arch/ews4800mips/stand/common/boot_device.c
70
return tab[i](type, unit);
sys/arch/hp300/dev/rd.c
1439
rdprinterr(const char *str, short err, const char **tab)
sys/arch/hp300/dev/rd.c
1450
printf("%s%s", printed++ ? " + " : " ", tab[i]);
sys/arch/hpc/hpc/platid_test.c
172
struct platid_name tab[] = {
sys/arch/hpc/hpc/platid_test.c
182
int i, nmemb = sizeof(tab)/sizeof(*tab);
sys/arch/hpc/hpc/platid_test.c
189
printf(" %s%s", tab[i].name, i < nmemb - 1 ? "," : "");
sys/arch/hpc/hpc/platid_test.c
193
tab, nmemb, sizeof(struct platid_name));
sys/arch/hpc/hpc/platid_test.c
198
tab, nmemb, sizeof(struct platid_name));
sys/arch/hpc/hpc/platid_test.c
203
tab, nmemb, sizeof(struct platid_name));
sys/arch/hpc/hpc/platid_test.c
208
tab, nmemb, sizeof(struct platid_name));
sys/arch/hpc/hpc/platid_test.c
213
tab, nmemb, sizeof(struct platid_name));
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
45
struct framebuffer_info *tab = _table;
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
57
for (; tab->cpu; tab++) {
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
58
entry.dw.dw0 = tab->cpu;
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
59
entry.dw.dw1 = tab->machine;
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
61
if (tab->bpp == bpp) {
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
62
_fb = tab;
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
65
alt = tab;
sys/arch/hpc/stand/hpcboot/hpcmenu.cpp
372
struct support_status *tab = _unsupported;
sys/arch/hpc/stand/hpcboot/hpcmenu.cpp
377
for (; tab->cpu; tab++) {
sys/arch/hpc/stand/hpcboot/hpcmenu.cpp
378
if (tab->cpu == cpu && tab->machine == machine) {
sys/arch/hpc/stand/hpcboot/hpcmenu.cpp
380
tab->cause ? tab->cause :
sys/arch/hpc/stand/hpcboot/memory.cpp
108
AddressTranslationTable *tab = _addr_table;
sys/arch/hpc/stand/hpcboot/memory.cpp
133
tab->vaddr = vaddr;
sys/arch/hpc/stand/hpcboot/memory.cpp
134
tab->paddr = paddr;
sys/arch/hpc/stand/hpcboot/memory.cpp
135
++tab;
sys/arch/hpc/stand/hpcboot/memory.cpp
142
tab = _addr_table;
sys/arch/hpc/stand/hpcboot/memory.cpp
144
for (int j = 0; j < 4; j++, i++, tab++)
sys/arch/hpc/stand/hpcboot/memory.cpp
145
DPRINTF((TEXT("%08x=%08x "), tab->vaddr, tab->paddr));
sys/arch/hpc/stand/hpcboot/memory.cpp
165
AddressTranslationTable *tab = &_addr_table[idx];
sys/arch/hpc/stand/hpcboot/memory.cpp
166
vaddr = tab->vaddr;
sys/arch/hpc/stand/hpcboot/memory.cpp
167
paddr = tab->paddr;
sys/arch/hpc/stand/hpcboot/memory.cpp
181
AddressTranslationTable *tab =
sys/arch/hpc/stand/hpcboot/memory.cpp
183
vaddr = tab->vaddr;
sys/arch/hpc/stand/hpcboot/memory.cpp
184
paddr = tab->paddr;
sys/arch/hpc/stand/hpcboot/menu/rootwindow.cpp
134
TabWindow *tab = reinterpret_cast <TabWindow *>
sys/arch/hpc/stand/hpcboot/menu/rootwindow.cpp
138
tab->hide();
sys/arch/hpc/stand/hpcboot/menu/rootwindow.cpp
141
tab->show();
sys/arch/hpc/stand/hpcboot/menu/tabwindow.cpp
111
TabWindow *tab = reinterpret_cast <TabWindow *>
sys/arch/hpc/stand/hpcboot/menu/tabwindow.cpp
114
dst = GetNextDlgTabItem(tab->_window, NULL, FALSE);
sys/arch/hpc/stand/hpcboot/sh3/dev/sh_dev.cpp
159
SHdev::icu_dump_priority(struct intr_priority *tab)
sys/arch/hpc/stand/hpcboot/sh3/dev/sh_dev.cpp
165
for (; tab->name; tab++) {
sys/arch/hpc/stand/hpcboot/sh3/dev/sh_dev.cpp
166
DPRINTF((TEXT("%-10S %d\n"), tab->name,
sys/arch/hpc/stand/hpcboot/sh3/dev/sh_dev.cpp
167
(_reg_read_2(tab->reg) >> tab->shift) & SH_IPR_MASK));
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
53
const struct console_info *tab = _console_info;
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
60
for (; tab->cpu; tab++) {
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
61
entry.dw.dw0 = tab->cpu;
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
62
entry.dw.dw1 = tab->machine;
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
66
cons.setBootConsole(tab->serial_console);
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
67
return tab;
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
69
cons.setBootConsole(tab->video_console);
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
70
return tab;
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
96
const struct console_info *tab = selectBootConsole(*this, SERIAL);
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
97
if (tab != 0) {
sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp
99
_print = tab->print;
sys/arch/hpcmips/dev/ucbtp.c
232
struct calibration_sample_table *tab;
sys/arch/hpcmips/dev/ucbtp.c
235
for (tab = calibration_sample_table;
sys/arch/hpcmips/dev/ucbtp.c
236
tab->cst_platform.dw.dw1 != PLATID_UNKNOWN; tab++) {
sys/arch/hpcmips/dev/ucbtp.c
238
mask = PLATID_DEREF(&tab->cst_platform);
sys/arch/hpcmips/dev/ucbtp.c
241
return (&tab->cst_sample);
sys/arch/i386/pnpbios/pnpbios.c
639
pnpbios_getapmtable(uint8_t *tab, size_t *len)
sys/arch/i386/pnpbios/pnpbios.c
666
memcpy(tab, pnpbios_scratchbuf + 2, *len);
sys/arch/mips/rmi/rmixl_fmn.c
443
const int *tab = NULL;
sys/arch/mips/rmi/rmixl_fmn.c
448
tab = station_xls_1xx;
sys/arch/mips/rmi/rmixl_fmn.c
453
tab = station_xls_2xx;
sys/arch/mips/rmi/rmixl_fmn.c
461
tab = station_xls_4xx;
sys/arch/mips/rmi/rmixl_fmn.c
466
tab = station_xls_4xx_lite;
sys/arch/mips/rmi/rmixl_fmn.c
475
fmnp->fmn_stidtab = tab;
sys/arch/powerpc/booke/e500_autoconf.c
102
__func__, i, tab->tt_svrhi, svr,
sys/arch/powerpc/booke/e500_autoconf.c
103
tab->tt_instance, instance,
sys/arch/powerpc/booke/e500_autoconf.c
104
data, tab->tt_mask, data & tab->tt_mask, tab->tt_value);
sys/arch/powerpc/booke/e500_autoconf.c
106
if (tab->tt_svrhi == svr
sys/arch/powerpc/booke/e500_autoconf.c
107
&& tab->tt_instance == instance
sys/arch/powerpc/booke/e500_autoconf.c
108
&& (data & tab->tt_mask) == tab->tt_value)
sys/arch/powerpc/booke/e500_autoconf.c
109
return tab->tt_result;
sys/arch/powerpc/booke/e500_autoconf.c
95
const struct e500_truthtab *tab, size_t ntab, u_int default_value)
sys/arch/powerpc/booke/e500_autoconf.c
99
for (u_int i = ntab; i-- > 0; tab++) {
sys/arch/x86/x86/est.c
104
#define ENTRY(ven, bus_clk, tab) \
sys/arch/x86/x86/est.c
105
{ CPUVENDOR_##ven, bus_clk == BUS133 ? 1 : 0, __arraycount(tab), tab }
sys/compat/common/compat_util.c
90
emul_flags_translate(const struct emul_flags_xtab *tab,
sys/compat/common/compat_util.c
95
for (out = 0; tab->omask != 0; tab++) {
sys/compat/common/compat_util.c
96
if ((in & tab->omask) == tab->oval) {
sys/compat/common/compat_util.c
97
in &= ~tab->omask;
sys/compat/common/compat_util.c
98
out |= tab->nval;
sys/compat/common/compat_util.h
74
unsigned long emul_flags_translate(const struct emul_flags_xtab *tab,
sys/dev/acpi/apei.c
215
apei_get_tables(struct apei_tab *tab)
sys/dev/acpi/apei.c
222
rv = AcpiGetTable(ACPI_SIG_BERT, 0, (ACPI_TABLE_HEADER **)&tab->bert);
sys/dev/acpi/apei.c
224
tab->bert = NULL;
sys/dev/acpi/apei.c
229
rv = AcpiGetTable(ACPI_SIG_EINJ, 0, (ACPI_TABLE_HEADER **)&tab->einj);
sys/dev/acpi/apei.c
231
tab->einj = NULL;
sys/dev/acpi/apei.c
236
rv = AcpiGetTable(ACPI_SIG_ERST, 0, (ACPI_TABLE_HEADER **)&tab->erst);
sys/dev/acpi/apei.c
238
tab->erst = NULL;
sys/dev/acpi/apei.c
243
rv = AcpiGetTable(ACPI_SIG_HEST, 0, (ACPI_TABLE_HEADER **)&tab->hest);
sys/dev/acpi/apei.c
245
tab->hest = NULL;
sys/dev/acpi/apei.c
254
apei_put_tables(struct apei_tab *tab)
sys/dev/acpi/apei.c
257
if (tab->bert != NULL) {
sys/dev/acpi/apei.c
258
AcpiPutTable(&tab->bert->Header);
sys/dev/acpi/apei.c
259
tab->bert = NULL;
sys/dev/acpi/apei.c
261
if (tab->einj != NULL) {
sys/dev/acpi/apei.c
262
AcpiPutTable(&tab->einj->Header);
sys/dev/acpi/apei.c
263
tab->einj = NULL;
sys/dev/acpi/apei.c
265
if (tab->erst != NULL) {
sys/dev/acpi/apei.c
266
AcpiPutTable(&tab->erst->Header);
sys/dev/acpi/apei.c
267
tab->erst = NULL;
sys/dev/acpi/apei.c
269
if (tab->hest != NULL) {
sys/dev/acpi/apei.c
270
AcpiPutTable(&tab->hest->Header);
sys/dev/acpi/apei.c
271
tab->hest = NULL;
sys/dev/acpi/apei.c
83
struct apei_tab tab;
sys/dev/acpi/apei.c
89
apei_get_tables(&tab);
sys/dev/acpi/apei.c
90
if (tab.bert || tab.einj || tab.erst || tab.hest)
sys/dev/acpi/apei.c
92
apei_put_tables(&tab);
sys/dev/cons.c
111
cn_tab = tab;
sys/dev/cons.c
99
cn_set_tab(struct consdev *tab)
sys/dev/efi.c
254
struct EFI_SYSTEM_RESOURCE_TABLE *tab)
sys/dev/efi.c
260
if (tab->FwResourceVersion !=
sys/dev/efi.c
274
if (tab->FwResourceCount > entry_space/sizeof(tab->Entries[0]))
sys/dev/efi.c
281
Entries[tab->FwResourceCount]);
sys/dev/efi.c
282
return efi_ioctl_got_table(ioc, tab, len);
sys/dev/efi.c
321
struct EFI_SYSTEM_RESOURCE_TABLE *tab;
sys/dev/efi.c
323
if ((tab = efi_map_pa(addr, &direct)) == NULL)
sys/dev/efi.c
325
error = efi_ioctl_get_esrt(ioc, tab);
sys/dev/efi.c
326
efi_unmap(tab, direct);
sys/dev/hpc/hpckbd.c
339
const struct hpckbd_keymap_table *tab;
sys/dev/hpc/hpckbd.c
342
for (tab = hpckbd_keymap_table; tab->ht_platform != NULL; tab++) {
sys/dev/hpc/hpckbd.c
344
mask = PLATID_DEREF(tab->ht_platform);
sys/dev/hpc/hpckbd.c
347
hc->hc_keymap = tab->ht_keymap;
sys/dev/hpc/hpckbd.c
348
hc->hc_special = tab->ht_special;
sys/dev/hpc/hpckbd.c
350
hpckbd_keymapdata.layout = tab->ht_layout;
sys/dev/hpc/hpckbd.c
352
if (tab->ht_cmdmap.map) {
sys/dev/hpc/hpckbd.c
353
hpckbd_keymap_setup(hc, tab->ht_cmdmap.map,
sys/dev/hpc/hpckbd.c
354
tab->ht_cmdmap.size);
sys/dev/pci/if_iwm.c
7000
int i, j, ridx, ridx_min, tab = 0;
sys/dev/pci/if_iwm.c
7036
tab = 0;
sys/dev/pci/if_iwm.c
7044
tab = iwm_rates[ridx].ht_plcp;
sys/dev/pci/if_iwm.c
7045
tab |= IWM_RATE_MCS_HT_MSK;
sys/dev/pci/if_iwm.c
7047
tab |= IWM_RATE_MCS_SGI_MSK;
sys/dev/pci/if_iwm.c
7053
if (tab == 0 && iwm_rates[ridx].plcp != IWM_RATE_INVM_PLCP) {
sys/dev/pci/if_iwm.c
7057
tab = iwm_rates[ridx].plcp;
sys/dev/pci/if_iwm.c
7063
if (tab == 0)
sys/dev/pci/if_iwm.c
7066
tab |= 1 << IWM_RATE_MCS_ANT_POS;
sys/dev/pci/if_iwm.c
7068
tab |= IWM_RATE_MCS_CCK_MSK;
sys/dev/pci/if_iwm.c
7069
DPRINTFN(2, ("station rate %d %x\n", i, tab));
sys/dev/pci/if_iwm.c
7070
lq->rs_table[j++] = htole32(tab);
sys/dev/pcmcia/pcmcia.c
385
pcmcia_product_lookup(struct pcmcia_attach_args *pa, const void *tab, size_t nent, size_t ent_size, pcmcia_product_match_fn matchfn)
sys/dev/pcmcia/pcmcia.c
397
for (pp = tab, n = nent; n; pp = (const struct pcmcia_product *)
sys/dev/sdmmc/if_bwfm_sdio.c
1382
struct bwfm_sdio_dstab *tab;
sys/dev/sdmmc/if_bwfm_sdio.c
1391
tab = pmu11_1v8;
sys/dev/sdmmc/if_bwfm_sdio.c
1395
tab = pmu17_1v8;
sys/dev/sdmmc/if_bwfm_sdio.c
1399
tab = pmu17_3v3;
sys/dev/sdmmc/if_bwfm_sdio.c
1403
tab = pmu13_1v8;
sys/dev/sdmmc/if_bwfm_sdio.c
1410
for (i=0; tab[i].milli != 0; ++i) {
sys/dev/sdmmc/if_bwfm_sdio.c
1411
if (milli >= tab[i].milli)
sys/dev/sdmmc/if_bwfm_sdio.c
1414
if (tab[i].milli == 0)
sys/dev/sdmmc/if_bwfm_sdio.c
1420
tmp |= __SHIFTIN(tab[i].val, mask);
sys/dev/usb/ukbd.c
624
const struct ukbd_keycodetrans *tab)
sys/dev/usb/ukbd.c
634
for (tp = tab; tp->from; tp++)
sys/dev/wscons/wskbd.c
1911
wskbd_set_evtrans(device_t dev, keysym_t *tab, int len)
sys/dev/wscons/wskbd.c
1916
sc->sc_evtrans = tab;
sys/fs/adosfs/adlookup.c
164
bn = adp->tab[hval];
sys/fs/adosfs/adosfs.h
92
u_long *tab; /* (r/d) hash table */
sys/fs/adosfs/advfsops.c
500
ap->tab = malloc(ANODETABSZ(ap) * 2, M_ANODE, M_WAITOK);
sys/fs/adosfs/advfsops.c
502
ap->tabi = (int *)&ap->tab[ap->ntabent];
sys/fs/adosfs/advfsops.c
505
ap->tab[i] = adoswordn(bp, i + 6);
sys/fs/adosfs/advnops.c
584
if (pap->tab[hashi] == 0) {
sys/fs/adosfs/advnops.c
589
nextbn = pap->tab[hashi];
sys/fs/adosfs/advnops.c
834
if (vp->v_type == VDIR && ap->tab)
sys/fs/adosfs/advnops.c
835
free(ap->tab, M_ANODE);
sys/fs/cd9660/cd9660_rrip.c
624
const RRIP_TABLE *tab;
sys/fs/cd9660/cd9660_rrip.c
637
tab = rrip_table_getname;
sys/fs/cd9660/cd9660_rrip.c
642
tab++;
sys/fs/cd9660/cd9660_rrip.c
645
return cd9660_rrip_loop(isodir, &analyze, tab);
sys/kern/kern_ksyms.c
333
void *strstart, size_t strsize, struct ksyms_symtab *tab,
sys/kern/kern_ksyms.c
351
tab->sd_symstart = symstart;
sys/kern/kern_ksyms.c
352
tab->sd_symsize = symsize;
sys/kern/kern_ksyms.c
353
tab->sd_strstart = strstart;
sys/kern/kern_ksyms.c
354
tab->sd_strsize = strsize;
sys/kern/kern_ksyms.c
355
tab->sd_name = name;
sys/kern/kern_ksyms.c
356
tab->sd_minsym = UINTPTR_MAX;
sys/kern/kern_ksyms.c
357
tab->sd_maxsym = 0;
sys/kern/kern_ksyms.c
358
tab->sd_usroffset = 0;
sys/kern/kern_ksyms.c
359
tab->sd_ctfstart = ctfstart;
sys/kern/kern_ksyms.c
360
tab->sd_ctfsize = ctfsize;
sys/kern/kern_ksyms.c
361
tab->sd_nmap = nmap;
sys/kern/kern_ksyms.c
362
tab->sd_nmapsize = nsyms;
sys/kern/kern_ksyms.c
366
tab->sd_strstart + tab->sd_strsize);
sys/kern/kern_ksyms.c
374
sym = tab->sd_symstart;
sys/kern/kern_ksyms.c
376
str = tab->sd_strstart;
sys/kern/kern_ksyms.c
432
if (nsym[n].st_value < tab->sd_minsym) {
sys/kern/kern_ksyms.c
433
tab->sd_minsym = nsym[n].st_value;
sys/kern/kern_ksyms.c
435
if (nsym[n].st_value > tab->sd_maxsym) {
sys/kern/kern_ksyms.c
436
tab->sd_maxsym = nsym[n].st_value;
sys/kern/kern_ksyms.c
443
tab->sd_symstart = nsym;
sys/kern/kern_ksyms.c
444
tab->sd_symsize = n * sizeof(Elf_Sym);
sys/kern/kern_ksyms.c
445
tab->sd_nglob = nglob;
sys/kern/kern_ksyms.c
481
PSLIST_ENTRY_INIT(tab, sd_pslist);
sys/kern/kern_ksyms.c
484
PSLIST_WRITER_INSERT_HEAD(&ksyms_symtabs_psz, tab, sd_pslist);
sys/kern/kern_ksyms.c
489
PSLIST_WRITER_INSERT_AFTER(last, tab, sd_pslist);
sys/kern/kern_ksyms.c
491
TAILQ_INSERT_TAIL(&ksyms_symtabs, tab, sd_queue);
sys/kern/subr_blist.c
1006
tab += 4;
sys/kern/subr_blist.c
1012
tab, tab, "",
sys/kern/subr_blist.c
1025
tab
sys/kern/subr_blist.c
1029
tab -= 4;
sys/kern/subr_blist.c
1033
tab, tab, ""
sys/kern/subr_blist.c
170
blist_blkno_t radix, blist_blkno_t skip, int tab);
sys/kern/subr_blist.c
950
blist_blkno_t skip, int tab)
sys/kern/subr_blist.c
960
tab, tab, "",
sys/kern/subr_blist.c
974
tab, tab, "",
sys/kern/subr_blist.c
984
tab, tab, "",
sys/kern/subr_blist.c
995
tab, tab, "",
sys/kern/subr_prf.c
530
tablefull(const char *tab, const char *hint)
sys/kern/subr_prf.c
533
log(LOG_ERR, "%s: table is full - %s\n", tab, hint);
sys/kern/subr_prf.c
535
log(LOG_ERR, "%s: table is full\n", tab);
tests/lib/libc/string/t_memchr.c
100
strcpy(&buf[a], tab[t].val);
tests/lib/libc/string/t_memchr.c
102
off = f(&buf[a], '/', tab[t].len);
tests/lib/libc/string/t_memchr.c
103
if (tab[t].match == 0) {
tests/lib/libc/string/t_memchr.c
110
} else if (tab[t].match == 1) {
tests/lib/libc/string/t_memchr.c
111
if (tab[t].off != ((char*)off - &buf[a])) {
tests/lib/libc/string/t_memchr.c
123
off2 = f(&buf[a], 0xffffff00 | '/', tab[t].len);
tests/lib/libc/string/t_memchr.c
36
const struct tab tab[] = {
tests/lib/libc/string/t_memchr.c
98
for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) {
tests/lib/libc/string/t_strcat.c
111
if (memcmp(&buf0[a0] + tab[t0].len,
tests/lib/libc/string/t_strcat.c
113
tab[t1].len + 1) != 0) {
tests/lib/libc/string/t_strcat.c
35
const struct tab tab[] = {
tests/lib/libc/string/t_strcat.c
88
for (t0 = 0; t0 < __arraycount(tab); ++t0) {
tests/lib/libc/string/t_strcat.c
89
for (t1 = 0; t1 < __arraycount(tab); ++t1) {
tests/lib/libc/string/t_strcat.c
91
memcpy(&buf0[a0], tab[t0].val,
tests/lib/libc/string/t_strcat.c
92
tab[t0].len + 1);
tests/lib/libc/string/t_strcat.c
93
memcpy(&buf1[a1], tab[t1].val,
tests/lib/libc/string/t_strcat.c
94
tab[t1].len + 1);
tests/lib/libc/string/t_strchr.c
259
for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) {
tests/lib/libc/string/t_strchr.c
260
int len = strlen(tab[t]) + 1;
tests/lib/libc/string/t_strchr.c
261
memcpy(&buf[a], tab[t], len);
tests/lib/libc/string/t_strchr.c
66
const char *tab[] = {
tests/lib/libc/string/t_strchrnul.c
258
for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) {
tests/lib/libc/string/t_strchrnul.c
259
int len = strlen(tab[t]) + 1;
tests/lib/libc/string/t_strchrnul.c
260
memcpy(&buf[a], tab[t], len);
tests/lib/libc/string/t_strchrnul.c
65
const char *tab[] = {
tests/lib/libc/string/t_strcmp.c
36
const struct tab tab[] = {
tests/lib/libc/string/t_strcmp.c
78
for (t = 0; t < __arraycount(tab); ++t) {
tests/lib/libc/string/t_strcmp.c
79
memcpy(&buf0[a0], tab[t].val0,
tests/lib/libc/string/t_strcmp.c
80
strlen(tab[t].val0) + 1);
tests/lib/libc/string/t_strcmp.c
81
memcpy(&buf1[a1], tab[t].val1,
tests/lib/libc/string/t_strcmp.c
82
strlen(tab[t].val1) + 1);
tests/lib/libc/string/t_strcmp.c
86
if ((ret == 0 && tab[t].ret != 0) ||
tests/lib/libc/string/t_strcmp.c
87
(ret < 0 && tab[t].ret >= 0) ||
tests/lib/libc/string/t_strcmp.c
88
(ret > 0 && tab[t].ret <= 0)) {
tests/lib/libc/string/t_strcpy.c
108
tab[t].len + 1) != 0) {
tests/lib/libc/string/t_strcpy.c
35
const struct tab tab[] = {
tests/lib/libc/string/t_strcpy.c
88
for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) {
tests/lib/libc/string/t_strcpy.c
90
memcpy(&buf1[a1], tab[t].val, tab[t].len + 1);
tests/lib/libc/string/t_strlen.c
117
for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) {
tests/lib/libc/string/t_strlen.c
119
memcpy(&buf[a], tab[t].val, tab[t].len + 1);
tests/lib/libc/string/t_strlen.c
122
if (len != tab[t].len) {
tests/lib/libc/string/t_strlen.c
131
write_num(tab[t].len);
tests/lib/libc/string/t_strlen.c
133
write(2, tab[t].val, tab[t].len);
tests/lib/libc/string/t_strlen.c
56
const struct tab tab[] = {
tests/lib/libc/string/t_strrchr.c
220
for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) {
tests/lib/libc/string/t_strrchr.c
221
strcpy(&buf[a], tab[t].val);
tests/lib/libc/string/t_strrchr.c
224
if (tab[t].match == 0) {
tests/lib/libc/string/t_strrchr.c
230
} else if (tab[t].match == 1) {
tests/lib/libc/string/t_strrchr.c
231
if (tab[t].l_off != (off - &buf[a])) {
tests/lib/libc/string/t_strrchr.c
36
const struct tab tab[] = {
tests/usr.bin/indent/opt_di.c
10
int tab;
tests/usr.bin/indent/opt_di.c
18
int tab;
tests/usr.bin/indent/opt_di.c
89
int tab;
tests/usr.bin/indent/opt_di.c
96
int tab;
usr.bin/mail/cmd2.c
482
igshow(struct ignoretab *tab, const char *which)
usr.bin/mail/cmd2.c
488
if (tab->i_count == 0) {
usr.bin/mail/cmd2.c
492
ring = salloc((tab->i_count + 1) * sizeof(char *));
usr.bin/mail/cmd2.c
495
for (igp = tab->i_head[h]; igp != 0; igp = igp->i_link)
usr.bin/mail/cmd2.c
498
qsort(ring, tab->i_count, sizeof(char *), igcomp);
usr.bin/mail/cmd2.c
508
ignore1(char *list[], struct ignoretab *tab, const char *which)
usr.bin/mail/cmd2.c
513
return igshow(tab, which);
usr.bin/mail/cmd2.c
516
add_ignore(*ap, tab);
usr.bin/mail/support.c
712
add_ignore(const char *name, struct ignoretab *tab)
usr.bin/mail/support.c
719
if (member(field, tab))
usr.bin/mail/support.c
725
igp->i_link = tab->i_head[h];
usr.bin/mail/support.c
726
tab->i_head[h] = igp;
usr.bin/mail/support.c
727
tab->i_count++;
usr.bin/patch/util.c
346
int sleading, tab;
usr.bin/patch/util.c
362
tab = strchr(t, '\t') != NULL;
usr.bin/patch/util.c
364
for (sleading = strip_leading; *t != '\0' && ((tab && *t != '\t') ||
usr.bin/rpcgen/rpc_hout.c
470
pdeclaration(const char *name, declaration *dec, int tab,
usr.bin/rpcgen/rpc_hout.c
480
tabify(fout, tab);
usr.bin/rpcgen/rpc_hout.c
513
tabify(fout, tab);
usr.bin/rpcgen/rpc_hout.c
515
tabify(fout, tab);
usr.bin/rpcgen/rpc_hout.c
517
tabify(fout, tab);
usr.bin/rpcgen/rpc_util.c
328
tabify(FILE *f, int tab)
usr.bin/rpcgen/rpc_util.c
330
while (tab--) {
usr.bin/spell/spellprog/spellprog.c
811
struct suftab *tab;
usr.bin/spell/spellprog/spellprog.c
814
for (tab = suftab; tab->suf; tab++) {
usr.bin/spell/spellprog/spellprog.c
816
if (strchr(tab->suf, 'z')) {
usr.bin/spell/spellprog/spellprog.c
817
tab->suf = cp = estrdup(tab->suf);
usr.bin/spell/spellprog/spellprog.c
819
if (strchr(tab->d1, 'z')) {
usr.bin/spell/spellprog/spellprog.c
820
tab->d1 = cp = estrdup(tab->d1);
usr.bin/spell/spellprog/spellprog.c
823
if (strchr(tab->a1, 'z')) {
usr.bin/spell/spellprog/spellprog.c
824
tab->a1 = cp = estrdup(tab->a1);
usr.bin/tset/set.c
198
if (tab) /* Print tabs. */
usr.bin/unexpand/unexpand.c
108
tab, tabstops[nstops - 1]);
usr.bin/unexpand/unexpand.c
79
char *ep, *tab;
usr.bin/unexpand/unexpand.c
92
while ((tab = strsep(&optarg, ", \t")) != NULL) {
usr.bin/unexpand/unexpand.c
93
if (*tab == '\0')
usr.bin/unexpand/unexpand.c
96
i = strtoul(tab, &ep, 0);
usr.bin/unexpand/unexpand.c
99
"Invalid tabstop `%s'", tab);
usr.sbin/moused/moused.c
2709
gettoken(symtab_t *tab, const char *s, int len)
usr.sbin/moused/moused.c
2713
for (i = 0; tab[i].name != NULL; ++i) {
usr.sbin/moused/moused.c
2714
if (strncmp(tab[i].name, s, len) == 0)
usr.sbin/moused/moused.c
2717
return &tab[i];
usr.sbin/moused/moused.c
2721
gettokenname(symtab_t *tab, int val)
usr.sbin/moused/moused.c
2725
for (i = 0; tab[i].name != NULL; ++i) {
usr.sbin/moused/moused.c
2726
if (tab[i].val == val)
usr.sbin/moused/moused.c
2727
return tab[i].name;
usr.sbin/moused/moused.c
465
static symtab_t *gettoken(symtab_t *tab, const char *s, int len);
usr.sbin/moused/moused.c
466
static const char *gettokenname(symtab_t *tab, int val);
usr.sbin/mtree/compare.c
100
printf("%sflags (\"%s\"", tab, sf); \
usr.sbin/mtree/compare.c
141
const char *cp, *tab;
usr.sbin/mtree/compare.c
146
tab = NULL;
usr.sbin/mtree/compare.c
207
tab, (uintmax_t)s->st_rdev,
usr.sbin/mtree/compare.c
226
tab = "\t";
usr.sbin/mtree/compare.c
234
tab, (u_long)s->st_uid, (u_long)p->fts_statp->st_uid);
usr.sbin/mtree/compare.c
246
tab = "\t";
usr.sbin/mtree/compare.c
253
tab, (u_long)s->st_gid, (u_long)p->fts_statp->st_gid);
usr.sbin/mtree/compare.c
266
tab = "\t";
usr.sbin/mtree/compare.c
290
tab, (u_long)s->st_mode,
usr.sbin/mtree/compare.c
300
tab = "\t";
usr.sbin/mtree/compare.c
309
tab, (u_long)s->st_nlink, (u_long)p->fts_statp->st_nlink);
usr.sbin/mtree/compare.c
310
tab = "\t";
usr.sbin/mtree/compare.c
316
tab, (uintmax_t)s->st_size,
usr.sbin/mtree/compare.c
318
tab = "\t";
usr.sbin/mtree/compare.c
353
tab, ctime(&smtime));
usr.sbin/mtree/compare.c
366
tab = "\t";
usr.sbin/mtree/compare.c
384
"%sflags (\"%s\" is not ", tab, f_s);
usr.sbin/mtree/compare.c
399
tab = "\t";
usr.sbin/mtree/compare.c
412
tab, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
413
tab = "\t";
usr.sbin/mtree/compare.c
418
tab, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
419
tab = "\t";
usr.sbin/mtree/compare.c
427
tab, s->cksum, (unsigned long)val);
usr.sbin/mtree/compare.c
429
tab = "\t";
usr.sbin/mtree/compare.c
437
tab, MD5KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
438
tab = "\t";
usr.sbin/mtree/compare.c
445
tab, MD5KEY, s->md5digest, digestbuf);
usr.sbin/mtree/compare.c
447
tab = "\t";
usr.sbin/mtree/compare.c
457
tab, RMD160KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
458
tab = "\t";
usr.sbin/mtree/compare.c
465
tab, RMD160KEY, s->rmd160digest, digestbuf);
usr.sbin/mtree/compare.c
467
tab = "\t";
usr.sbin/mtree/compare.c
477
tab, SHA1KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
478
tab = "\t";
usr.sbin/mtree/compare.c
485
tab, SHA1KEY, s->sha1digest, digestbuf);
usr.sbin/mtree/compare.c
487
tab = "\t";
usr.sbin/mtree/compare.c
497
tab, SHA256KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
498
tab = "\t";
usr.sbin/mtree/compare.c
505
tab, SHA256KEY, s->sha256digest, digestbuf);
usr.sbin/mtree/compare.c
507
tab = "\t";
usr.sbin/mtree/compare.c
516
tab, SHA384KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
517
tab = "\t";
usr.sbin/mtree/compare.c
524
tab, SHA384KEY, s->sha384digest, digestbuf);
usr.sbin/mtree/compare.c
526
tab = "\t";
usr.sbin/mtree/compare.c
535
tab, SHA512KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
536
tab = "\t";
usr.sbin/mtree/compare.c
543
tab, SHA512KEY, s->sha512digest, digestbuf);
usr.sbin/mtree/compare.c
545
tab = "\t";
usr.sbin/mtree/compare.c
555
"%slink ref (%s, %s", tab, cp, s->slink);
usr.sbin/mtree/compare.c
77
tab = "\t"; \
usr.sbin/mtree/compare.c
81
tab = "\t"; \
usr.sbin/mtree/compare.c
84
tab = ""; \
usr.sbin/sysinst/label.c
839
struct disk_partitions **tab;
usr.sbin/sysinst/label.c
849
tab = realloc(pset->write_back, num*sizeof(*pset->write_back));
usr.sbin/sysinst/label.c
850
if (!tab)
usr.sbin/sysinst/label.c
852
tab[pset->num_write_back] = parts;
usr.sbin/sysinst/label.c
853
pset->write_back = tab;