Searched refs:pos (Results 1 – 10 of 10) sorted by relevance
/libuv/src/unix/ |
H A D | random-getentropy.c | 40 size_t pos; in uv__random_getentropy() local 49 for (pos = 0, stride = 256; pos + stride < buflen; pos += stride) in uv__random_getentropy() 50 if (uv__getentropy((char *) buf + pos, stride)) in uv__random_getentropy() 53 if (uv__getentropy((char *) buf + pos, buflen - pos)) in uv__random_getentropy()
|
H A D | random-getrandom.c | 56 size_t pos; in uv__random_getrandom() local 63 for (pos = 0; pos != buflen; pos += n) { in uv__random_getrandom() 65 n = buflen - pos; in uv__random_getrandom() 75 n = uv__getrandom((char *) buf + pos, n, 0); in uv__random_getrandom()
|
H A D | random-devurandom.c | 34 size_t pos; in uv__random_readpath() local 53 for (pos = 0; pos != buflen; pos += n) { in uv__random_readpath() 55 n = read(fd, (char*) buf + pos, buflen - pos); in uv__random_readpath()
|
H A D | fsevents.c | 225 char* pos; in uv__fsevents_event_cb() local 298 pos = strchr(path + 1, '/'); in uv__fsevents_event_cb() 299 if (pos != NULL) in uv__fsevents_event_cb()
|
/libuv/docs/code/tty-gravity/ |
H A D | main.c | 11 int pos = 0; variable 20 pos, in update() 25 pos++; in update() 26 if (pos > height) { in update()
|
/libuv/src/win/ |
H A D | fs.c | 312 WCHAR* pos; in fs__capture_path() local 353 pos = buf; in fs__capture_path() 357 req->file.pathw = pos; in fs__capture_path() 358 pos += pathw_len; in fs__capture_path() 366 pos += new_pathw_len; in fs__capture_path() 373 memcpy(pos, path, path_len); in fs__capture_path() 375 req->path = (char*) pos; in fs__capture_path() 711 LARGE_INTEGER pos, end_pos; in fs__read_filemap() local 726 pos = fd_info->current_pos; in fs__read_filemap() 892 LARGE_INTEGER pos, end_pos; in fs__write_filemap() local [all …]
|
H A D | process.c | 527 WCHAR* pos; in make_program_args() local 565 pos = dst; in make_program_args() 577 wcscpy(pos, temp_buffer); in make_program_args() 578 pos += arg_len - 1; in make_program_args() 581 pos = quote_cmd_arg(temp_buffer, pos); in make_program_args() 584 *pos++ = *(arg + 1) ? L' ' : L'\0'; in make_program_args() 585 assert(pos <= dst + dst_len); in make_program_args()
|
H A D | tty.c | 491 COORD pos; in uv_tty_line_read_thread() local 556 pos = uv__saved_screen_state.dwCursorPosition; in uv_tty_line_read_thread() 562 if (pos.Y == uv__saved_screen_state.dwSize.Y - 1) in uv_tty_line_read_thread() 563 pos.Y--; in uv_tty_line_read_thread() 565 SetConsoleCursorPosition(active_screen_buffer, pos); in uv_tty_line_read_thread() 1213 COORD pos; in uv__tty_move_caret() local 1224 pos = uv__tty_make_real_coord(handle, &info, x, x_relative, y, y_relative); in uv__tty_move_caret() 1226 if (!SetConsoleCursorPosition(handle->handle, pos)) { in uv__tty_move_caret()
|
/libuv/test/ |
H A D | test-tty-escape-sequence-processing.c | 105 static void set_cursor_position(uv_tty_t* tty_out, COORD pos) { in set_cursor_position() argument 109 pos.X -= 1; in set_cursor_position() 110 pos.Y += info.srWindow.Top - 1; in set_cursor_position() 111 ASSERT(SetConsoleCursorPosition(handle, pos)); in set_cursor_position()
|
/libuv/ |
H A D | ChangeLog | 3234 * win: restore file pos after positional read/write (Bartosz Sosnowski)
|
Completed in 35 milliseconds