Searched refs:col (Results 1 - 25 of 38) sorted by relevance

12

/haiku/src/system/libroot/posix/glibc/locale/
H A Dgen-translit.pl59 $col = 2;
63 if ($col + 7 >= 79) {
65 $col = 2;
68 $col += 2;
73 $col += 4;
78 $col = 1;
81 if ($col + 6 >= 79) {
83 $col = 1;
86 $col += 6;
88 if ($col >
[all...]
/haiku/src/apps/serialconnect/libvterm/src/
H A Dscreen.c71 static inline ScreenCell *getcell(const VTermScreen *screen, int row, int col) argument
75 if(col < 0 || col >= screen->cols)
77 return screen->buffer + (screen->cols * row) + col;
83 int row, col; local
86 for(col = 0; col < new_cols; col++) {
87 ScreenCell *new_cell = new_buffer + row*new_cols + col;
89 if(buffer && row < screen->rows && col < scree
177 int i, col; local
269 int row, col; local
590 int col; local
684 int row, col; local
904 int col; local
[all...]
H A Dstate.c34 fprintf(stderr, "libvterm: Unhandled putglyph U+%04x at (%d,%d)\n", chars[0], pos.col, pos.row);
39 if(state->pos.col == oldpos->col && state->pos.row == oldpos->row)
138 static void set_col_tabstop(VTermState *state, int col) argument
140 unsigned char mask = 1 << (col & 7);
141 state->tabstops[col >> 3] |= mask;
144 static void clear_col_tabstop(VTermState *state, int col) argument
146 unsigned char mask = 1 << (col & 7);
147 state->tabstops[col >> 3] &= ~mask;
150 static int is_col_tabstop(VTermState *state, int col) argument
437 output_mouse(VTermState *state, int code, int pressed, int modifiers, int col, int row) argument
486 mousefunc(int col, int row, int button, int pressed, int modifiers, void *data) argument
912 int row, col; local
1531 int col; local
1631 int col, i, row; local
[all...]
H A Dpen.c36 static void lookup_colour_ansi(const VTermState *state, long index, VTermColor *col) argument
39 *col = state->colors[index];
43 static void lookup_colour_palette(const VTermState *state, long index, VTermColor *col) argument
47 lookup_colour_ansi(state, index, col);
53 col->blue = ramp6[index % 6];
54 col->green = ramp6[index/6 % 6];
55 col->red = ramp6[index/6/6 % 6];
61 col->red = ramp24[index];
62 col->green = ramp24[index];
63 col
67 lookup_colour(const VTermState *state, int palette, const long args[], int argcount, VTermColor *col, int *index) argument
127 set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) argument
138 int col; local
189 vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col) argument
200 vterm_state_set_palette_color(VTermState *state, int index, const VTermColor *col) argument
[all...]
H A Dvterm.c338 for(pos.col = init_col; pos.col != test_col; pos.col += inc_col) {
339 VTermPos srcpos = { pos.row + downward, pos.col + rightward };
/haiku/src/bin/
H A Dopen.cpp35 open_file(const char* openWith, BEntry& entry, int32 line = -1, int32 col = -1)
51 if (col > -1)
52 message.AddInt32("be:column", col);
104 // maybe it's "file:line" or "file:line:col"
105 int line = 0, col = 0, i; local
125 col = line;
132 result = open_file(openWith, entry, line, col);
/haiku/src/add-ons/translators/raw/
H A DRAW.cpp35 #define FC(row,col) \
36 (fFilters >> ((((row) << 1 & 14) + ((col) & 1)) << 1) & 3)
265 DCRaw::_FlipIndex(uint32 row, uint32 col, uint32 flip) argument
268 SWAP(row, col);
272 col = fInputWidth - 1 - col;
274 return row * fInputWidth + col;
956 uint32 row, col, x, y;
963 for (col = 0; col <
[all...]
/haiku/src/apps/serialconnect/
H A DTermView.cpp82 pos.col = updatedChars.start_col;
85 for (pos.col = updatedChars.start_col;
86 pos.col <= updatedChars.end_col;) {
100 || pos.col >= updatedChars.end_col
101 || (pos.col == cursorPos.col && pos.row == cursorPos.row)
102 || (pos.col == cursorPos.col + 1 && pos.row == cursorPos.row)) {
160 if (pos.col == cursorPos.col
[all...]
/haiku/src/apps/terminal/
H A DShell.h32 status_t Open(int row, int col,
65 status_t _Spawn(int row, int col,
H A DShell.cpp124 unsigned short col; /* Terminal columns */ member in struct:__anon29
130 #define PTY_WS 2 /* pty need WINSIZE (row and col ) */
150 Shell::Open(int row, int col, const ShellParameters& parameters) argument
155 status_t status = _Spawn(row, col, parameters);
394 Shell::_Spawn(int row, int col, const ShellParameters& parameters) argument
538 struct winsize ws = { handshake.row, handshake.col };
613 handshake.col = col;
H A DPrefHandler.cpp387 rgb_color col; local
398 col.red = r;
399 col.green = g;
400 col.blue = b;
401 col.alpha = 255;
402 return col;
/haiku/src/servers/app/
H A DRGBColor.cpp44 \param col Pointer to an rgb_color.
50 SetRGBColor16(rgb_color *col,uint16 color)
52 if(!col)
58 col->alpha=0;
64 col->red=uint8(r16 * RATIO_5_TO_8_BIT);
65 col->green=uint8(g16 * RATIO_6_TO_8_BIT);
66 col->blue=uint8(b16 * RATIO_5_TO_8_BIT);
/haiku/src/apps/serialconnect/libvterm/include/
H A Dvterm.h15 int col; member in struct:__anon1
23 return (a.row == b.row) ? a.col - b.col : a.row - b.row;
37 p.col >= r.start_col && p.col < r.end_col;
202 void vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col);
204 void vterm_state_set_palette_color(VTermState *state, int index, const VTermColor *col);
/haiku/src/tests/servers/app/newClipping/
H A DMyView.cpp76 rgb_color col; local
77 col.red = 49;
78 col.green = 101;
79 col.blue = 156;
80 topLayer = new Layer(Bounds(), "topLayer", B_FOLLOW_ALL, 0, col);
/haiku/src/tests/apps/miniterminal/
H A DConsole.cpp336 int32 col = argCount > 1 ? args[1] : 1; local
339 if (col > 0)
340 col--;
341 GotoXY(col, row);
/haiku/src/apps/resedit/
H A DBitmapView.cpp26 inline void SetRGBColor(rgb_color *col, uint8 r, uint8 g, uint8 b, uint8 a = 255);
30 SetRGBColor(rgb_color *col, uint8 r, uint8 g, uint8 b, uint8 a) argument
32 if (col) {
33 col->red = r;
34 col->green = g;
35 col->blue = b;
36 col->alpha = a;
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c922 int off, i, s, e, col; local
929 col = 30;
931 col += 1;
933 col += 2;
935 col += 4;
941 ntfs_log_debug("\e[%dm", col);
/haiku/src/system/kernel/debug/
H A Dblue_screen.cpp319 int32 col = argCount > 1 ? args[1] : 1; local
322 if (col > 0)
323 col--;
324 move_cursor(col, row);
/haiku/src/tests/kits/midi/synth_file_reader/
H A DSynthFileReader.cpp225 int col = 0; local
230 for (;bytes > 0 && Read(byte); bytes --, col = (col + 1) % cols) {
231 if (col == 0) {
/haiku/src/kits/interface/
H A DColorControl.cpp463 for (int col = colBegin; col < colEnd; col++) {
465 uint8 colorIndex = row * fColumns + col;
466 float x = fPaletteFrame.left + col * fCellSize;
868 int col = (int)((point.x - fPaletteFrame.left) / fCellSize); local
870 int colorIndex = row * fColumns + col;
915 int col = (int)((point.x - fPaletteFrame.left) / fCellSize); local
917 int colorIndex = row * fColumns + col;
/haiku/src/libs/linprog/
H A DActiveSetSolver.cpp371 for (int col = system.Rows(); col < system.Columns(); col++) {
372 double value = system.A(smallestBRow, col);
375 negValueCol = col;
/haiku/src/add-ons/kernel/drivers/common/
H A Dconsole.cpp396 int32 col = argCount > 1 ? args[1] : 1; local
399 if (col > 0)
400 col--;
401 gotoxy(console, col, row);
/haiku/headers/private/kernel/platform/efi/protocol/
H A Dsimple-text-output.h137 size_t col, size_t row) EFIAPI;
/haiku/src/bin/package/
H A Dcommand_list.cpp365 virtual void OnError(const BString& msg, int line, int col) argument
367 fprintf(stderr, "%s:%d:%d: %s\n", fPath, line, col,
/haiku/src/system/boot/platform/atari_m68k/
H A Dtoscalls.h348 int i, col, err; local
349 for (i = 0, col = 0; string[i]; i++, col++) {
352 col = 0;
354 /* hard wrap at 80 col as the ST console emulation doesn't do this. */
355 if (col == 80) {
358 col = 0;

Completed in 185 milliseconds

12