Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dthread.c134 pthread_attr_t* attr; in uv_thread_create_ex() local
149 attr = NULL; in uv_thread_create_ex()
162 attr = &attr_storage; in uv_thread_create_ex()
164 if (pthread_attr_init(attr)) in uv_thread_create_ex()
174 if (attr != NULL) in uv_thread_create_ex()
175 pthread_attr_destroy(attr); in uv_thread_create_ex()
299 pthread_mutexattr_t attr; in uv_mutex_init()
302 if (pthread_mutexattr_init(&attr)) in uv_mutex_init()
319 pthread_mutexattr_t attr; in uv_mutex_init_recursive() local
718 pthread_condattr_t attr; in uv_cond_init() local
[all …]
H A Dfsevents.c583 pthread_attr_t attr; in uv__fsevents_loop_init() local
628 if (pthread_attr_init(&attr)) in uv__fsevents_loop_init()
631 if (pthread_attr_setstacksize(&attr, uv__thread_stack_size())) in uv__fsevents_loop_init()
637 err = UV__ERR(pthread_create(&loop->cf_thread, &attr, uv__cf_loop_runner, loop)); in uv__fsevents_loop_init()
639 if (pthread_attr_destroy(&attr)) in uv__fsevents_loop_init()
/libuv/include/uv/
H A Dtree.h140 #define RB_PROTOTYPE_INTERNAL(name, type, field, cmp, attr) \ argument
141 attr void name##_RB_INSERT_COLOR(struct name *, struct type *); \
142 attr void name##_RB_REMOVE_COLOR(struct name *, struct type *, struct type *);\
143 attr struct type *name##_RB_REMOVE(struct name *, struct type *); \
144 attr struct type *name##_RB_INSERT(struct name *, struct type *); \
145 attr struct type *name##_RB_FIND(struct name *, struct type *); \
146 attr struct type *name##_RB_NFIND(struct name *, struct type *); \
147 attr struct type *name##_RB_NEXT(struct type *); \
148 attr struct type *name##_RB_PREV(struct type *); \
149 attr struct type *name##_RB_MINMAX(struct name *, int); \
[all …]
/libuv/test/
H A Drunner-unix.c243 pthread_attr_t attr; in process_wait() local
272 if (pthread_attr_init(&attr)) in process_wait()
276 if (pthread_attr_setstacksize(&attr, 1024 * 1024)) in process_wait()
278 if (pthread_attr_setstacksize(&attr, 256 * 1024)) in process_wait()
282 r = pthread_create(&tid, &attr, dowait, &args); in process_wait()
284 if (pthread_attr_destroy(&attr)) in process_wait()
H A Dtest-tty-escape-sequence-processing.c294 *start = attr; in make_expect_screen_set_attr()
1075 WORD attr; in TEST_IMPL()
1156 attr = expect.si.default_attr; in TEST_IMPL()
1157 attr |= FOREGROUND_INTENSITY; in TEST_IMPL()
1187 attr = expect.si.default_attr; in TEST_IMPL()
1188 attr |= BACKGROUND_INTENSITY; in TEST_IMPL()
1210 attr = expect.si.default_attr; in TEST_IMPL()
1211 fg = attr & FOREGROUND_WHITE; in TEST_IMPL()
1212 bg = attr & BACKGROUND_WHITE; in TEST_IMPL()
1215 attr |= fg << 4; in TEST_IMPL()
[all …]
H A Dtest-thread.c230 pthread_attr_t attr; in thread_check_stack()
234 ASSERT_OK(pthread_getattr_np(pthread_self(), &attr)); in thread_check_stack()
235 ASSERT_OK(pthread_attr_getstacksize(&attr, &stack_size)); in thread_check_stack()
240 ASSERT_OK(pthread_attr_destroy(&attr)); in thread_check_stack()
/libuv/src/win/
H A Dfs-event.c162 DWORD attr, last_error; in uv_fs_event_start() local
185 attr = GetFileAttributesW(pathw); in uv_fs_event_start()
186 if (attr == INVALID_FILE_ATTRIBUTES) { in uv_fs_event_start()
191 is_path_dir = (attr & FILE_ATTRIBUTE_DIRECTORY) ? 1 : 0; in uv_fs_event_start()
H A Dprocess.c85 SECURITY_ATTRIBUTES attr; in uv__init_global_job_handle() local
88 memset(&attr, 0, sizeof attr); in uv__init_global_job_handle()
89 attr.bInheritHandle = FALSE; in uv__init_global_job_handle()
98 uv_global_job_handle_ = CreateJobObjectW(&attr, NULL); in uv__init_global_job_handle()
H A Dfs.c2273 DWORD attr = GetFileAttributesW(req->file.pathw); in fs__access() local
2275 if (attr == INVALID_FILE_ATTRIBUTES) { in fs__access()
2288 !(attr & FILE_ATTRIBUTE_READONLY) || in fs__access()
2289 (attr & FILE_ATTRIBUTE_DIRECTORY)) { in fs__access()
/libuv/m4/
H A Dax_pthread.m4376 [pthread_t th; pthread_attr_t attr;
379 pthread_attr_init(&attr);
409 … [int attr = $ax_pthread_attr; return attr /* ; */])],

Completed in 33 milliseconds