Home
last modified time | relevance | path

Searched refs:str (Results 1 – 10 of 10) sorted by relevance

/libuv/test/
H A Dtest-osx-select.c54 const char* str; in TEST_IMPL() local
70 str = "got some input\n" in TEST_IMPL()
73 for (i = 0, len = strlen(str); i < len; i++) { in TEST_IMPL()
74 r = ioctl(fd, TIOCSTI, str + i); in TEST_IMPL()
92 const char* str; in TEST_IMPL() local
124 str = "got some input\n" in TEST_IMPL()
127 for (i = 0, len = strlen(str); i < len; i++) { in TEST_IMPL()
128 r = ioctl(fd, TIOCSTI, str + i); in TEST_IMPL()
H A Dtest-strtok.c30 const char* str; member
78 snprintf(current_test, sizeof(current_test), "%s", tests[i].str); in TEST_IMPL()
H A Dtest-spawn.c1285 WCHAR* str; in TEST_IMPL() local
1294 str = malloc(1 * sizeof(WCHAR)); in TEST_IMPL()
1295 *str = 0; in TEST_IMPL()
1296 expected[i] = str; in TEST_IMPL()
1301 expected[i] = str; in TEST_IMPL()
1302 str += name_len; in TEST_IMPL()
1303 *str++ = L'='; in TEST_IMPL()
1311 for (str = env, prev = NULL; *str; prev = str, str += wcslen(str) + 1) { in TEST_IMPL()
1314 _cputws(str); in TEST_IMPL()
1318 if (!wcscmp(str, wenvironment[i])) { in TEST_IMPL()
[all …]
H A Dtest-tty-duplicate-key.c40 static void dump_str(const char* str, ssize_t len) { in dump_str() argument
43 fprintf(stderr, "%#02x ", *(str + i)); in dump_str()
/libuv/src/unix/
H A Dproctitle.c28 char* str; member
56 pt.str = argv[0]; in uv_setup_args()
116 memcpy(pt->str, title, len); in uv_set_process_title()
117 memset(pt->str + len, '\0', pt->cap - len); in uv_set_process_title()
119 uv__set_process_title(pt->str); in uv_set_process_title()
144 memcpy(buffer, process_title.str, process_title.len + 1); in uv_get_process_title()
H A Dos390-syscalls.h67 size_t strnlen(const char* str, size_t maxlen);
/libuv/src/
H A Dstrtok.c25 char* uv__strtok(char* str, const char* sep, char** itr) { in uv__strtok() argument
30 if (str == NULL) in uv__strtok()
33 start = tmp = str; in uv__strtok()
H A Dstrtok.h25 char* uv__strtok(char* str, const char* sep, char** itr);
/libuv/src/win/
H A Dfs-event.c399 static int file_info_cmp(WCHAR* str, WCHAR* file_name, size_t file_name_len) { in file_info_cmp() argument
402 if (str == NULL) in file_info_cmp()
405 str_len = wcslen(str); in file_info_cmp()
414 return _wcsnicmp(str, file_name, str_len); in file_info_cmp()
H A Dprocess.c48 #define E_V(str) { L##str, L##str L"=", sizeof(str) } argument

Completed in 20 milliseconds