Home
last modified time | relevance | path

Searched refs:start (Results 1 – 24 of 24) sorted by relevance

/libuv/src/
H A Dstrtok.c28 char* start; in uv__strtok() local
31 start = tmp = *itr; in uv__strtok()
33 start = tmp = str; in uv__strtok()
44 return start; in uv__strtok()
51 return start; in uv__strtok()
/libuv/test/
H A Drunner-win.c245 DWORD start; in process_read_last_line() local
266 start = read; in process_read_last_line()
267 while (start-- > 0) { in process_read_last_line()
268 if (buffer[start] == '\n' || buffer[start] == '\r') in process_read_last_line()
272 if (start > 0) in process_read_last_line()
273 memmove(buffer, buffer + start, read - start); in process_read_last_line()
275 buffer[read - start] = '\0'; in process_read_last_line()
H A Drunner.c416 const char* start; in print_lines() local
419 start = buffer; in print_lines()
420 while ((end = memchr(start, '\n', &buffer[size] - start))) { in print_lines()
422 fwrite(start, 1, (int)(end - start), stream); in print_lines()
425 start = end + 1; in print_lines()
429 if (start < end) { in print_lines()
431 fwrite(start, 1, (int)(end - start), stream); in print_lines()
H A Dtest-loop-time.c27 uint64_t start; in TEST_IMPL() local
29 start = uv_now(uv_default_loop()); in TEST_IMPL()
30 while (uv_now(uv_default_loop()) - start < 1000) in TEST_IMPL()
H A Dbenchmark-tcp-write-batch.c100 uint64_t start; in BENCHMARK_IMPL() local
126 start = uv_hrtime(); in BENCHMARK_IMPL()
140 (stop - start) / 1e9); in BENCHMARK_IMPL()
H A Dtest-tty-escape-sequence-processing.c231 char* start; in make_expect_screen_erase() local
249 start = cs->text; in make_expect_screen_erase()
254 start = cs->text; in make_expect_screen_erase()
264 ASSERT_PTR_LT(start, end); in make_expect_screen_erase()
266 for (; start < end; start++) { in make_expect_screen_erase()
267 *start = ' '; in make_expect_screen_erase()
275 char* start; in make_expect_screen_write() local
281 memcpy(start, text, length); in make_expect_screen_write()
288 WORD* start; in make_expect_screen_set_attr() local
294 *start = attr; in make_expect_screen_set_attr()
[all …]
H A Dbenchmark-pound.c74 static uint64_t start; /* in ms */ variable
171 if (uv_now(loop) - start < 10000) { in close_cb()
285 start = uv_now(loop); in pound_it()
/libuv/docs/src/guide/
H A Dfilesystem.rst52 Let's see a simple implementation of ``cat``. We start with registering
63 ``uv_fs_open`` callback. If the file is successfully opened, we start reading it.
208 We start off opening pipes on the files we require. libuv pipes to a file are
223 We start monitoring ``stdin``. The ``alloc_buffer`` callback is invoked as new
322 ``UV_FS_EVENT_RECURSIVE`` will start watching subdirectories as well on
H A Dutilities.rst16 Simple use is to init a watcher and start it with a ``timeout``, and optional ``repeat``.
26 will start a repeating timer, which first starts 5 seconds (the ``timeout``) after the execution
228 is invoked whenever the state of a socket changes and we have to start polling
272 Depending on what events libcurl wishes to watch for, we start polling with
H A Dnetworking.rst126 client) and start a read on it. This will read back responses from any DHCP
H A Dbasics.rst86 nothing, except start a loop which will exit immediately.
H A Dthreads.rst35 There isn't much here, you just start a thread using ``uv_thread_create()`` and
/libuv/src/win/
H A Dtty.c1307 COORD start, end; in uv__tty_clear() local
1356 start = uv__tty_make_real_coord(handle, &info, x1, x1r, y1, y1r); in uv__tty_clear()
1359 (start.Y * info.dwSize.X + start.X) + 1; in uv__tty_clear()
1364 start, in uv__tty_clear()
1369 start, in uv__tty_clear()
H A Dprocess.c452 WCHAR* start; in quote_cmd_arg() local
499 start = target; in quote_cmd_arg()
515 _wcsrev(start); in quote_cmd_arg()
H A Dfs.c2511 int start, len, i; in fs__create_junction() local
2549 start = path_buf_len; in fs__create_junction()
2571 len = path_buf_len - start; in fs__create_junction()
2577 buffer->MountPointReparseBuffer.SubstituteNameOffset = start * sizeof(WCHAR); in fs__create_junction()
2581 start = path_buf_len; in fs__create_junction()
2596 len = path_buf_len - start; in fs__create_junction()
2606 buffer->MountPointReparseBuffer.PrintNameOffset = start * sizeof(WCHAR); in fs__create_junction()
/libuv/docs/src/
H A Dloop.rst175 the start of the event loop tick, see :c:func:`uv_update_time` for details
188 at the start of the event loop tick in order to reduce the number of
H A Dmigration_010_100.rst190 In libuv 0.10 (and earlier versions) the `uv_read2_start` function was used to start reading
H A Dpoll.rst27 but it might also start polling another socket. However the fd can be safely
H A Ddesign.rst111 it will continue from the start if it's still *alive*, otherwise it will also end.
H A Dmisc.rst304 points to. This function should be called exactly once, at program start-up.
/libuv/
H A DCONTRIBUTING.md36 and start hacking:
H A DMakefile.am280 test/test-tcp-read-stop-start.c \
H A DChangeLog2887 * unix,win: wait for threads to start (Ben Noordhuis)
2937 * Revert "unix,win: wait for threads to start" (Ben Noordhuis)
2966 * unix,win: wait for threads to start (Ben Noordhuis)
5225 * stream: start thread after assignments (Oguz Bastemur)
5336 * stream: start thread after assignments (Oguz Bastemur)
5918 * test: add 'start timer from check handle' test (Ben Noordhuis)
6250 * unix: dtrace probes for tick-start and tick-stop (Timothy J. Fontaine)
6286 * unix: add dtrace probes for tick-start and tick-stop (Timothy J. Fontaine)
H A DCMakeLists.txt654 test/test-tcp-read-stop-start.c

Completed in 52 milliseconds