Searched refs:buf (Results 1 – 9 of 9) sorted by relevance
/nptl/ |
A D | pthread_getname.c | 30 __pthread_getname_np (pthread_t th, char *buf, size_t len) in __pthread_getname_np() argument 41 return __prctl (PR_GET_NAME, buf) ? errno : 0; in __pthread_getname_np() 52 ssize_t n = TEMP_FAILURE_RETRY (__read_nocancel (fd, buf, len)); in __pthread_getname_np() 57 if (buf[n - 1] == '\n') in __pthread_getname_np() 58 buf[n - 1] = '\0'; in __pthread_getname_np() 62 buf[n] = '\0'; in __pthread_getname_np()
|
A D | cleanup.c | 24 ___pthread_register_cancel (__pthread_unwind_buf_t *buf) in ___pthread_register_cancel() argument 26 struct pthread_unwind_buf *ibuf = (struct pthread_unwind_buf *) buf; in ___pthread_register_cancel() 34 THREAD_SETMEM (self, cleanup_jmp_buf, (struct pthread_unwind_buf *) buf); in ___pthread_register_cancel() 48 ___pthread_unregister_cancel (__pthread_unwind_buf_t *buf) in ___pthread_unregister_cancel() argument 50 struct pthread_unwind_buf *ibuf = (struct pthread_unwind_buf *) buf; in ___pthread_unregister_cancel()
|
A D | tst-exec5.c | 119 char buf[64]; in do_test() local 122 while (TEMP_FAILURE_RETRY ((n = read (pipefd[0], buf, sizeof (buf)))) > 0) in do_test() 126 long int rpid = strtol (buf, &endp, 10); in do_test() 130 printf ("error: didn't parse whole line: \"%s\"\n", buf); in do_test() 133 if (endp == buf) in do_test() 141 printf ("error: found \"%s\", expected PID %ld\n", buf, in do_test()
|
A D | unwind.c | 44 struct pthread_unwind_buf *buf = stop_parameter; in unwind_stop() local 60 || ! _JMPBUF_CFA_UNWINDS_ADJ (buf->cancel_jmp_buf[0].jmp_buf, context, in unwind_stop() 69 struct _pthread_cleanup_buffer *oldp = buf->priv.data.cleanup; in unwind_stop() 102 __libc_unwind_longjmp ((struct __jmp_buf_tag *) buf->cancel_jmp_buf, 1); in unwind_stop() 120 __pthread_unwind (__pthread_unwind_buf_t *buf) in __cleanup_fct_attribute() 122 struct pthread_unwind_buf *ibuf = (struct pthread_unwind_buf *) buf; in __cleanup_fct_attribute() 140 ___pthread_unwind_next (__pthread_unwind_buf_t *buf) in libc_hidden_def() 142 struct pthread_unwind_buf *ibuf = (struct pthread_unwind_buf *) buf; in libc_hidden_def()
|
A D | cleanup_defer.c | 24 ___pthread_register_cancel_defer (__pthread_unwind_buf_t *buf) in ___pthread_register_cancel_defer() argument 26 struct pthread_unwind_buf *ibuf = (struct pthread_unwind_buf *) buf; in ___pthread_register_cancel_defer() 38 THREAD_SETMEM (self, cleanup_jmp_buf, (struct pthread_unwind_buf *) buf); in ___pthread_register_cancel_defer() 50 ___pthread_unregister_cancel_restore (__pthread_unwind_buf_t *buf) in ___pthread_unregister_cancel_restore() argument 53 struct pthread_unwind_buf *ibuf = (struct pthread_unwind_buf *) buf; in ___pthread_unregister_cancel_restore()
|
A D | tst-setgetname.c | 48 get_self_comm (long tid, char *buf, size_t len) in get_self_comm() argument 59 ssize_t n = read (fd, (void *) buf, len); in get_self_comm() 64 if (buf[n - 1] == '\n') in get_self_comm() 65 buf[n - 1] = '\0'; in get_self_comm() 69 buf[n] = '\0'; in get_self_comm()
|
A D | tst-thread_local1.cc | 47 char buf[128]; in to_string() local 48 snprintf (buf, sizeof (buf), "%d/%d", in to_string() 50 return buf; in to_string()
|
A D | perf.c | 639 char buf[4096]; in get_clockfreq() local 642 n = read (fd, buf, sizeof buf); in get_clockfreq() 645 char *mhz = memmem (buf, n, "cpu MHz", 7); in get_clockfreq() 649 char *endp = buf + n; in get_clockfreq()
|
A D | tst-attr2.c | 295 char buf[1]; in do_test() local 296 e = pthread_attr_setstack (&a, buf, 1); in do_test()
|
Completed in 10 milliseconds