/src/sys/arch/ews4800mips/stand/common/ |
boot_device.c | 45 void (*tab[])(int *, int *) = { variable in typeref:typename:void (* [])(int *,int *) 69 if (i < sizeof tab / sizeof tab[0]) 70 return tab[i](type, unit);
|
boot_device.c | 45 void (*tab[])(int *, int *) = { variable in typeref:typename:void (* [])(int *,int *) 69 if (i < sizeof tab / sizeof tab[0]) 70 return tab[i](type, unit);
|
/src/tests/usr.bin/indent/ |
opt_di.c | 10 int tab; variable in typeref:typename:int 18 int tab; variable in typeref:typename:int 62 * default configuration, the next tab stop would be at indentation 8. 68 /* The indentation consists of a single tab. */ 73 /* The indentation consists of a tab and a space. */ 85 * which in the default configuration amounts to a single tab. 89 int tab; variable in typeref:typename:int 96 int tab; variable in typeref:typename:int
|
opt_di.c | 10 int tab; variable in typeref:typename:int 18 int tab; variable in typeref:typename:int 62 * default configuration, the next tab stop would be at indentation 8. 68 /* The indentation consists of a single tab. */ 73 /* The indentation consists of a tab and a space. */ 85 * which in the default configuration amounts to a single tab. 89 int tab; variable in typeref:typename:int 96 int tab; variable in typeref:typename:int
|
/src/sys/arch/arm/sunxi/ |
sunxi_ccu_nkmp.c | 141 const struct sunxi_ccu_nkmp_tbl *tab; local in function:sunxi_ccu_nkmp_set_rate 149 for (tab = nkmp->table; tab->rate > 0; tab++) 150 if (tab->rate == rate) 152 if (tab->rate == 0) 158 if (nkmp->p && __SHIFTOUT(val, nkmp->p) < tab->p) { 160 val |= __SHIFTIN(tab->p, nkmp->p); 164 if (nkmp->m && __SHIFTOUT(val, nkmp->m) < tab->m) { 166 val |= __SHIFTIN(tab->m, nkmp->m) [all...] |
sunxi_ccu_nkmp.c | 141 const struct sunxi_ccu_nkmp_tbl *tab; local in function:sunxi_ccu_nkmp_set_rate 149 for (tab = nkmp->table; tab->rate > 0; tab++) 150 if (tab->rate == rate) 152 if (tab->rate == 0) 158 if (nkmp->p && __SHIFTOUT(val, nkmp->p) < tab->p) { 160 val |= __SHIFTIN(tab->p, nkmp->p); 164 if (nkmp->m && __SHIFTOUT(val, nkmp->m) < tab->m) { 166 val |= __SHIFTIN(tab->m, nkmp->m) [all...] |
/src/sys/arch/hpc/stand/hpcboot/ |
framebuffer.cpp | 45 struct framebuffer_info *tab = _table; local in function:FrameBufferInfo::FrameBufferInfo 57 for (; tab->cpu; tab++) { 58 entry.dw.dw0 = tab->cpu; 59 entry.dw.dw1 = tab->machine; 61 if (tab->bpp == bpp) { 62 _fb = tab; 65 alt = tab;
|
framebuffer.cpp | 45 struct framebuffer_info *tab = _table; local in function:FrameBufferInfo::FrameBufferInfo 57 for (; tab->cpu; tab++) { 58 entry.dw.dw0 = tab->cpu; 59 entry.dw.dw1 = tab->machine; 61 if (tab->bpp == bpp) { 62 _fb = tab; 65 alt = tab;
|
/src/sys/arch/hpc/stand/hpcboot/sh3/ |
sh_console.cpp | 53 const struct console_info *tab = _console_info; local in function:SHConsole::selectBootConsole 60 for (; tab->cpu; tab++) { 61 entry.dw.dw0 = tab->cpu; 62 entry.dw.dw1 = tab->machine; 66 cons.setBootConsole(tab->serial_console); 67 return tab; 69 cons.setBootConsole(tab->video_console); 70 return tab; 96 const struct console_info *tab = selectBootConsole(*this, SERIAL) local in function:SHConsole::init [all...] |
sh_console.cpp | 53 const struct console_info *tab = _console_info; local in function:SHConsole::selectBootConsole 60 for (; tab->cpu; tab++) { 61 entry.dw.dw0 = tab->cpu; 62 entry.dw.dw1 = tab->machine; 66 cons.setBootConsole(tab->serial_console); 67 return tab; 69 cons.setBootConsole(tab->video_console); 70 return tab; 96 const struct console_info *tab = selectBootConsole(*this, SERIAL) local in function:SHConsole::init [all...] |
/src/tests/lib/libc/string/ |
t_memchr.c | 29 struct tab { struct in function:ATF_TC_BODY 36 const struct tab tab[] = { local in function:ATF_TC_BODY 98 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 100 strcpy(&buf[a], tab[t].val); 102 off = f(&buf[a], '/', tab[t].len); 103 if (tab[t].match == 0) { 110 } else if (tab[t].match == 1) { 111 if (tab[t].off != ((char*)off - &buf[a])) [all...] |
t_strcat.c | 30 struct tab { struct in function:ATF_TC_BODY 35 const struct tab tab[] = { local in function:ATF_TC_BODY 88 for (t0 = 0; t0 < __arraycount(tab); ++t0) { 89 for (t1 = 0; t1 < __arraycount(tab); ++t1) { 91 memcpy(&buf0[a0], tab[t0].val, 92 tab[t0].len + 1); 93 memcpy(&buf1[a1], tab[t1].val, 94 tab[t1].len + 1); 111 if (memcmp(&buf0[a0] + tab[t0].len [all...] |
t_strcmp.c | 30 struct tab { struct in function:ATF_TC_BODY 36 const struct tab tab[] = { local in function:ATF_TC_BODY 78 for (t = 0; t < __arraycount(tab); ++t) { 79 memcpy(&buf0[a0], tab[t].val0, 80 strlen(tab[t].val0) + 1); 81 memcpy(&buf1[a1], tab[t].val1, 82 strlen(tab[t].val1) + 1); 86 if ((ret == 0 && tab[t].ret != 0) || 87 (ret < 0 && tab[t].ret >= 0) | [all...] |
t_strcpy.c | 30 struct tab { struct in function:ATF_TC_BODY 35 const struct tab tab[] = { local in function:ATF_TC_BODY 88 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 90 memcpy(&buf1[a1], tab[t].val, tab[t].len + 1); 108 tab[t].len + 1) != 0) {
|
t_strlen.c | 51 struct tab { struct in function:ATF_TC_BODY 56 const struct tab tab[] = { local in function:ATF_TC_BODY 117 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 119 memcpy(&buf[a], tab[t].val, tab[t].len + 1); 122 if (len != tab[t].len) { 131 write_num(tab[t].len); 133 write(2, tab[t].val, tab[t].len) [all...] |
t_strrchr.c | 29 struct tab { struct in function:ATF_TC_BODY 36 const struct tab tab[] = { local in function:ATF_TC_BODY 220 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 221 strcpy(&buf[a], tab[t].val); 224 if (tab[t].match == 0) { 230 } else if (tab[t].match == 1) { 231 if (tab[t].l_off != (off - &buf[a])) {
|
t_strchr.c | 66 const char *tab[] = { local in function:ATF_TC_BODY 259 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 260 int len = strlen(tab[t]) + 1; 261 memcpy(&buf[a], tab[t], len);
|
t_strchrnul.c | 65 const char *tab[] = { local in function:ATF_TC_BODY 258 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 259 int len = strlen(tab[t]) + 1; 260 memcpy(&buf[a], tab[t], len);
|
t_memchr.c | 29 struct tab { struct in function:ATF_TC_BODY 36 const struct tab tab[] = { local in function:ATF_TC_BODY 98 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 100 strcpy(&buf[a], tab[t].val); 102 off = f(&buf[a], '/', tab[t].len); 103 if (tab[t].match == 0) { 110 } else if (tab[t].match == 1) { 111 if (tab[t].off != ((char*)off - &buf[a])) [all...] |
t_strcat.c | 30 struct tab { struct in function:ATF_TC_BODY 35 const struct tab tab[] = { local in function:ATF_TC_BODY 88 for (t0 = 0; t0 < __arraycount(tab); ++t0) { 89 for (t1 = 0; t1 < __arraycount(tab); ++t1) { 91 memcpy(&buf0[a0], tab[t0].val, 92 tab[t0].len + 1); 93 memcpy(&buf1[a1], tab[t1].val, 94 tab[t1].len + 1); 111 if (memcmp(&buf0[a0] + tab[t0].len [all...] |
t_strcmp.c | 30 struct tab { struct in function:ATF_TC_BODY 36 const struct tab tab[] = { local in function:ATF_TC_BODY 78 for (t = 0; t < __arraycount(tab); ++t) { 79 memcpy(&buf0[a0], tab[t].val0, 80 strlen(tab[t].val0) + 1); 81 memcpy(&buf1[a1], tab[t].val1, 82 strlen(tab[t].val1) + 1); 86 if ((ret == 0 && tab[t].ret != 0) || 87 (ret < 0 && tab[t].ret >= 0) | [all...] |
t_strcpy.c | 30 struct tab { struct in function:ATF_TC_BODY 35 const struct tab tab[] = { local in function:ATF_TC_BODY 88 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 90 memcpy(&buf1[a1], tab[t].val, tab[t].len + 1); 108 tab[t].len + 1) != 0) {
|
t_strlen.c | 51 struct tab { struct in function:ATF_TC_BODY 56 const struct tab tab[] = { local in function:ATF_TC_BODY 117 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 119 memcpy(&buf[a], tab[t].val, tab[t].len + 1); 122 if (len != tab[t].len) { 131 write_num(tab[t].len); 133 write(2, tab[t].val, tab[t].len) [all...] |
t_strrchr.c | 29 struct tab { struct in function:ATF_TC_BODY 36 const struct tab tab[] = { local in function:ATF_TC_BODY 220 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 221 strcpy(&buf[a], tab[t].val); 224 if (tab[t].match == 0) { 230 } else if (tab[t].match == 1) { 231 if (tab[t].l_off != (off - &buf[a])) {
|
t_strchr.c | 66 const char *tab[] = { local in function:ATF_TC_BODY 259 for (t = 0; t < (sizeof(tab) / sizeof(tab[0])); ++t) { 260 int len = strlen(tab[t]) + 1; 261 memcpy(&buf[a], tab[t], len);
|