Searched refs:tp (Results 1 - 10 of 10) sorted by relevance

/fuchsia/zircon/third_party/ulib/musl/src/time/
H A Dftime.c4 int ftime(struct timeb* tp) { argument
7 tp->time = ts.tv_sec;
8 tp->millitm = ts.tv_nsec / 1000000;
9 tp->timezone = tp->dstflag = 0;
/fuchsia/zircon/kernel/arch/arm64/include/arch/
H A Dcurrent_thread.h19 char* tp = (char*)__builtin_thread_pointer(); local
21 char* tp = (char*)ARM64_READ_SYSREG(tpidr_el1);
23 tp -= offsetof(struct thread, arch.thread_pointer_location);
24 return (struct thread*)tp;
/fuchsia/zircon/system/ulib/runtime/include/runtime/
H A Dtls.h17 static inline void zxr_tp_set(zx_handle_t self, void* tp);
29 __NO_SAFESTACK static inline void zxr_tp_set(zx_handle_t self, void* tp) { argument
32 : "r"(tp));
58 void* tp;
60 : "=r"(tp));
61 return tp;
65 __NO_SAFESTACK static inline void zxr_tp_set(zx_handle_t self, void* tp) { argument
67 self, ZX_PROP_REGISTER_FS, (uintptr_t*)&tp, sizeof(uintptr_t));
/fuchsia/zircon/system/ulib/tftp/
H A Dtftp-file-test.cpp39 int initialize_files(struct test_params* tp) { argument
40 src_file = reinterpret_cast<uint8_t*>(malloc(tp->filesz));
41 dst_file = reinterpret_cast<uint8_t*>(malloc(tp->filesz));
52 for (ndx = 0; ndx < tp->filesz / sizeof(int); ndx++) {
56 for (ndx = (tp->filesz / sizeof(int)) * sizeof(int);
57 ndx < tp->filesz;
252 bool run_client_test(struct test_params* tp) { argument
266 file_info.filesz = tp->filesz;
287 size_t buf_sz = tp->blksz > PATH_MAX ?
288 tp
322 auto* tp = reinterpret_cast<test_params*>(arg); local
329 run_server_test(struct test_params* tp) argument
387 auto* tp = reinterpret_cast<test_params*>(arg); local
392 run_one_test(struct test_params* tp) argument
412 struct test_params tp = {.direction = DIR_SEND, .filesz = 1000000, .winsz = 20, .blksz = 1000}; local
418 struct test_params tp = {.direction = DIR_SEND, .filesz = 2100000, .winsz = 9999, .blksz = 8}; local
424 struct test_params tp = {.direction = DIR_SEND, .filesz = 1000000, .winsz = 1024, local
430 struct test_params tp = {.direction = DIR_RECEIVE, .filesz = 1000000, .winsz = 20, local
437 struct test_params tp = {.direction = DIR_RECEIVE, .filesz = 2100000, .winsz = 8192, local
444 struct test_params tp = {.direction = DIR_RECEIVE, .filesz = 1000000, .winsz = 1024, local
[all...]
/fuchsia/zircon/system/utest/core/stack/
H A Dstack-test.c33 const void* tp = zxr_tp_get(); local
39 EXPECT_NONNULL(tp, "thread pointer is null");
56 EXPECT_NE(page_of(tp), page_of(environ),
59 EXPECT_NE(page_of(tp), page_of(safe_stack),
62 EXPECT_NE(page_of(tp), page_of(unsafe_stack),
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dtrap.c159 char **tp; local
162 for (tp = trap ; tp < &trap[NSIG] ; tp++) {
163 if (*tp && **tp) { /* trap not NULL or SIG_IGN */
164 ckfree(*tp);
165 *tp = NULL;
166 if (tp != &trap[0])
167 setsignal(tp
[all...]
/fuchsia/zircon/third_party/ulib/musl/src/internal/
H A Dthreads_impl.h28 uintptr_t tp; member in struct:__anon1756
109 static inline struct pthread* tp_to_pthread(void* tp) { argument
110 return (struct pthread*)((char*)tp - PTHREAD_TP_OFFSET);
/fuchsia/zircon/third_party/ulib/musl/src/thread/
H A Dallocate.c50 // td tp dtv[1] dtv[n+1] dtv
57 // that tp + dtv[N] is aligned to align_N no matter what N is. So we need
62 uintptr_t tp = (uintptr_t)mem + PTHREAD_TP_OFFSET; local
63 tp = (tp + libc.tls_align - 1) & -libc.tls_align;
64 td = (thrd_t)(tp - PTHREAD_TP_OFFSET);
66 mem = (unsigned char*)tp;
72 // dtv dtv[n+1] dtv[1] tp/td
216 td->head.tp = (uintptr_t)pthread_to_tp(td);
/fuchsia/zircon/system/dev/bus/acpi/
H A Ddev-thermal.c122 trip_point_t* tp = (trip_point_t*)in_buf; local
124 if (tp->id != 0) {
128 "PAT0", tp->temp);
134 dev->trip_points[0] = tp->temp;
/fuchsia/zircon/third_party/uapp/dash/src/bltin/
H A Dtest.c439 static enum token t_lex(char **tp) argument
442 char *s = *tp;
450 if (op && !(op->op_type == UNOP && isoperand(tp)) &&
451 !(op->op_num == LPAREN && !tp[1])) {
460 static int isoperand(char **tp) argument
465 if (!(s = tp[1]))
467 if (!tp[2])

Completed in 107 milliseconds