/src/usr.bin/colrm/ |
colrm.c | 63 u_long column, start, stop; local in function:main 81 errx(1, "illegal column -- %s", argv[1]); 86 errx(1, "illegal column -- %s", argv[0]); 97 for (column = 0;;) { 103 if (column) 104 --column; 107 column = 0; 110 column = (column + TAB) & ~(TAB - 1); 113 ++column; [all...] |
/src/usr.bin/expand/ |
expand.c | 64 size_t n, column; local in function:main 95 column = 0; 102 column++; 103 } while (column & 07); 109 column++; 110 } while (((column - 1) % tabstops[0]) 115 if (tabstops[n] > column) 119 column++; 122 while (column < tabstops[n]) { 124 column++ [all...] |
/src/distrib/sets/ |
fmt-list | 205 -- Calculate the column on which the field should be aligned. 206 local function column(entries, get_width_before, colname) function 249 assert_equals(column(entries, width_before_category, "category_col"), 8) 252 -- to the minimum required column. 258 assert_equals(column(entries, width_before_category, "category_col"), 24) 267 assert_equals(column(entries, width_before_category, "category_col"), 24) 276 assert_equals(column(entries, width_before_flags, "flags_col"), 32) 294 column(entries, width_before_category, "category_col") 295 local flags_col = column(entries, width_before_flags, "flags_col") 297 -- To avoid horizontal jumps for the category column, the minimum column i [all...] |
/src/distrib/utils/more/ |
line.c | 57 static int column; /* Printable length, accounting for variable in typeref:typename:int 105 column = 0; 114 if (column + addon + (ln_state ? ue_width : 0) > sc_width) \ 117 column += addon 172 column -= 2; 185 column--; 186 if (column + bo_width + be_width + 1 >= sc_width) 201 column += bo_width-1; 205 column += bo_width; 215 column-- [all...] |
output.c | 62 int column; local in function:put_line 76 column = 0; 83 column += ul_width +1; 87 column += ue_width; 91 column += bo_width +1; 95 column += be_width; 101 column++; 102 } while ((column % tabstop) != 0); 106 column--; 118 column += 2 [all...] |
/src/games/battlestar/ |
fly.c | 49 static int row, column; variable in typeref:typename:int 90 column = rnd(COLS - 2) + 1; 154 if (row == MIDR && column < MIDC + 2 && 155 column > MIDC - 2) { 257 oldc = column; 261 if (column + dc < COLS - 1 && column + dc > 0) 262 column += dc; 268 d = (double) ((row - MIDR) * (row - MIDR) + (column - MIDC) * 269 (column - MIDC)) [all...] |
/src/sys/arch/epoc32/dev/ |
epockbd.c | 188 int column, row; local in function:epockbd_cngetc 200 for (column = 0; column < sc->sc_kbd_ncolumn; column++) { 204 cmd |= (EPOCKBD_COLUMN0 + column); 208 if (sc->sc_state[column] != key) { 209 row = sc->sc_state[column] ^ key; 210 sc->sc_state[column] = key; 214 column == sc->sc_kbd_ncolumn - 1)) 223 *data = EPOC2WS_KBD_DATA(row, column); [all...] |
/src/sys/net/ |
toeplitz.c | 137 * The Toeplitz hash of a 16-bit number considered as a column vector over 150 uint16_t column[NBBY]; local in function:stoeplitz_cache_init 153 bzero(column, sizeof(column)); 157 column[b] = skey << b | skey >> (NBSK - b); 166 res ^= column[b];
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_symbolizer.h | 42 int column; member in struct:__sanitizer::AddressInfo
|
/src/usr.bin/fpr/ |
fpr.c | 69 struct column { struct 74 COLUMN; 81 static COLUMN *line; 176 COLUMN *cp; 177 COLUMN *cend; 189 line = calloc(maxcol, sizeof(COLUMN)); 275 COLUMN *cp; 276 COLUMN *cend; 279 COLUMN *newline; 291 newline = realloc(line, (unsigned) (col + 10) * sizeof(COLUMN)); [all...] |
/src/usr.bin/sort/ |
sort.h | 124 /* This is the column as seen by struct field. It is used by enterfield. 127 struct column { struct 134 * corresponding column in the current line. This is determined in enterkey. 142 /* A field has an initial and final column; an omitted final column 151 struct column icol; 152 struct column tcol;
|
/src/sys/arch/hpcsh/dev/ |
pfckbd.c | 218 pfckbd_input(struct pfckbd_core *pc, int column, uint16_t data) 223 edge = data ^ pc->pc_column[column]; 225 return; /* no changes in this column */ 227 pc->pc_column[column] = data; 232 DPRINTF("(%2d, %2d) %d \n", row, column, type); 234 val = row * 8 + column; 298 int column; local in function:pfckbd_callout_hp 308 for (column = 0; column < 8; column++) [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
intel_ggtt.c | 1446 unsigned int column, row; local in function:rotate_pages 1449 for (column = 0; column < width; column++) { 1450 src_idx = stride * (height - 1) + column + offset;
|
/src/sys/dev/raidframe/ |
rf_netbsdkintf.c | 1221 /* bad column */ 1414 printf("raid%d: Column: %d\n", raidid, clabel->column); 1420 int column = clabel->column; local in function:rf_set_component_label 1422 if ((column < 0) || (column >= raidPtr->numCol)) { 1430 memcpy(raidget_component_label(raidPtr, column), 1432 raidflush_component_label(raidPtr, column); 1449 for (int column = 0; column < raidPtr->numCol; column++) local in function:rf_init_component_label 1487 int column = component.column; local in function:rf_rebuild_in_place 1584 int column; local in function:raidioctl 3531 int column; local in function:rf_set_autoconfig 3559 int column; local in function:rf_set_rootpartition 4014 int column = clabel->column; local in function:rf_get_component_label [all...] |
raidframevar.h | 416 int column; /* the column number of this component */ 431 int column; /* the column number of this component */ member in struct:RF_ComponentLabel_s 515 int column; member in struct:RF_SingleComponent_s
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_si_dpm.c | 3672 u32 tmp, width, row, column, bank, density; local in function:si_is_special_1gb_platform 3685 column = ((tmp & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT) + 8; 3688 density = (1 << (row + column - 20 + bank)) * width;
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_si_dpm.c | 3212 u32 tmp, width, row, column, bank, density; local in function:si_is_special_1gb_platform 3225 column = ((tmp & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT) + 8; 3228 density = (1 << (row + column - 20 + bank)) * width;
|