Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 5 of 5) sorted by relevance

/third_party/ulib/musl/src/time/
A Dftime.c4 int ftime(struct timeb* tp) { in ftime() argument
7 tp->time = ts.tv_sec; in ftime()
8 tp->millitm = ts.tv_nsec / 1000000; in ftime()
9 tp->timezone = tp->dstflag = 0; in ftime()
/third_party/uapp/dash/src/
A Dtrap.c159 char **tp; in clear_traps() local
162 for (tp = trap ; tp < &trap[NSIG] ; tp++) { in clear_traps()
163 if (*tp && **tp) { /* trap not NULL or SIG_IGN */ in clear_traps()
164 ckfree(*tp); in clear_traps()
165 *tp = NULL; in clear_traps()
166 if (tp != &trap[0]) in clear_traps()
167 setsignal(tp - trap); in clear_traps()
/third_party/ulib/musl/src/thread/
A Dallocate.c62 uintptr_t tp = (uintptr_t)mem + PTHREAD_TP_OFFSET; in copy_tls() local
63 tp = (tp + libc.tls_align - 1) & -libc.tls_align; in copy_tls()
64 td = (thrd_t)(tp - PTHREAD_TP_OFFSET); in copy_tls()
66 mem = (unsigned char*)tp; in copy_tls()
216 td->head.tp = (uintptr_t)pthread_to_tp(td); in __allocate_thread()
/third_party/ulib/musl/src/internal/
A Dthreads_impl.h28 uintptr_t tp; member
109 static inline struct pthread* tp_to_pthread(void* tp) { in tp_to_pthread() argument
110 return (struct pthread*)((char*)tp - PTHREAD_TP_OFFSET); in tp_to_pthread()
/third_party/uapp/dash/src/bltin/
A Dtest.c439 static enum token t_lex(char **tp) in t_lex() argument
442 char *s = *tp; in t_lex()
450 if (op && !(op->op_type == UNOP && isoperand(tp)) && in t_lex()
451 !(op->op_num == LPAREN && !tp[1])) { in t_lex()
460 static int isoperand(char **tp) in isoperand() argument
465 if (!(s = tp[1])) in isoperand()
467 if (!tp[2]) in isoperand()

Completed in 10 milliseconds