Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 25 of 29) sorted by relevance

12

/bionic/tests/
Dsetjmp_test.cpp72 sigset_t ss; in MakeSigSet() local
73 sigemptyset(&ss); in MakeSigSet()
74 sigaddset(&ss, SIGUSR1 + offset); in MakeSigSet()
78 sigaddset(&ss, SIGRTMIN + offset); in MakeSigSet()
80 return ss; in MakeSigSet()
99 SigSets ss; in TEST() local
100 sigprocmask(SIG_SETMASK, &ss.one, &ss.original); in TEST()
103 sigprocmask(SIG_SETMASK, &ss.two, NULL); in TEST()
107 AssertSigmaskEquals(ss.two); in TEST()
109 sigprocmask(SIG_SETMASK, &ss.original, NULL); in TEST()
[all …]
Dsys_epoll_test.cpp37 sigset_t ss; in TEST() local
38 sigemptyset(&ss); in TEST()
39 sigaddset(&ss, SIGPIPE); in TEST()
40 ASSERT_EQ(0, epoll_pwait(epoll_fd, events, 1, 1, &ss)); in TEST()
Dsstream_test.cpp27 std::stringstream ss(value); in CheckOverflow() local
29 ss >> result; in CheckOverflow()
30 EXPECT_FALSE(ss.bad()) << value << ' ' << int64_t(result); in CheckOverflow()
31 EXPECT_EQ(should_overflow, ss.fail()) << value << ' ' << int64_t(result); in CheckOverflow()
Dsys_select_test.cpp129 sigset_t ss; in TEST() local
130 sigemptyset(&ss); in TEST()
131 sigaddset(&ss, SIGPIPE); in TEST()
147 ASSERT_EQ(-1, pselect(-1, &r, &w, &e, NULL, &ss)); in TEST()
153 int num_fds = pselect(max, &r, &w, &e, NULL, &ss); in TEST()
165 ASSERT_EQ(-1, pselect(max, &r, &w, &e, &tv, &ss)); in TEST()
Dnetdb_test.cpp115 sockaddr_storage ss; in TEST() local
116 memset(&ss, 0, sizeof(ss)); in TEST()
117 sockaddr* sa = reinterpret_cast<sockaddr*>(&ss); in TEST()
120 ss.ss_family = AF_INET; in TEST()
121 socklen_t too_much = sizeof(ss); in TEST()
131 ss.ss_family = AF_INET6; in TEST()
Darpa_inet_test.cpp135 sockaddr_storage ss; in TEST() local
136 ASSERT_EQ(1, inet_pton(AF_INET, "127.0.0.1", &ss)); in TEST()
139 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss, s, INET_ADDRSTRLEN)); in TEST()
/bionic/libc/bionic/
Depoll_pwait.cpp35 int epoll_pwait(int fd, epoll_event* events, int max_events, int timeout, const sigset_t* ss) { in epoll_pwait() argument
38 if (ss != NULL) { in epoll_pwait()
39 kernel_ss.set(ss); in epoll_pwait()
Dpoll.cpp50 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { in ppoll() argument
60 if (ss != NULL) { in ppoll()
61 kernel_ss.set(ss); in ppoll()
86 const timespec* ts, const sigset_t* ss) { in pselect() argument
96 if (ss != NULL) { in pselect()
97 kernel_ss.set(ss); in pselect()
Dpthread_exit.cpp84 stack_t ss; in pthread_exit() local
85 ss.ss_sp = NULL; in pthread_exit()
86 ss.ss_flags = SS_DISABLE; in pthread_exit()
87 sigaltstack(&ss, NULL); in pthread_exit()
Difaddrs.cpp127 sockaddr* CopyAddress(int family, const void* data, size_t byteCount, sockaddr_storage* ss) { in CopyAddress()
132 ss->ss_family = family; in CopyAddress()
133 memcpy(SockaddrBytes(family, ss), data, byteCount); in CopyAddress()
137 reinterpret_cast<sockaddr_in6*>(ss)->sin6_scope_id = interface_index; in CopyAddress()
140 return reinterpret_cast<sockaddr*>(ss); in CopyAddress()
145 uint8_t* SockaddrBytes(int family, sockaddr_storage* ss) { in SockaddrBytes()
147 sockaddr_in* ss4 = reinterpret_cast<sockaddr_in*>(ss); in SockaddrBytes()
150 sockaddr_in6* ss6 = reinterpret_cast<sockaddr_in6*>(ss); in SockaddrBytes()
153 sockaddr_ll* sll = reinterpret_cast<sockaddr_ll*>(ss); in SockaddrBytes()
Dpthread_create.cpp73 stack_t ss; in __init_alternate_signal_stack() local
74 ss.ss_sp = reinterpret_cast<uint8_t*>(stack_base) + PAGE_SIZE; in __init_alternate_signal_stack()
75 ss.ss_size = SIGNAL_STACK_SIZE - PAGE_SIZE; in __init_alternate_signal_stack()
76 ss.ss_flags = 0; in __init_alternate_signal_stack()
77 sigaltstack(&ss, NULL); in __init_alternate_signal_stack()
82 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, ss.ss_sp, ss.ss_size, "thread signal stack"); in __init_alternate_signal_stack()
Dgetentropy_linux.c418 struct sockaddr_storage ss; in getentropy_fallback() local
506 memset(&ss, 0, sizeof ss); in getentropy_fallback()
507 ssl = sizeof(ss); in getentropy_fallback()
509 (void *)&ss, &ssl) == -1, in getentropy_fallback()
510 ss); in getentropy_fallback()
/bionic/libm/upstream-freebsd/lib/msun/src/
De_j1f.c51 float z, s,c,ss,cc,r,u,v,y; in __ieee754_j1f() local
61 ss = -s-c; in __ieee754_j1f()
65 if ((s*c)>zero) cc = z/ss; in __ieee754_j1f()
66 else ss = z/cc; in __ieee754_j1f()
75 z = invsqrtpi*(u*cc-v*ss)/sqrtf(y); in __ieee754_j1f()
108 float z, s,c,ss,cc,u,v; in __ieee754_y1f() local
119 ss = -s-c; in __ieee754_y1f()
123 if ((s*c)>zero) cc = z/ss; in __ieee754_y1f()
124 else ss = z/cc; in __ieee754_y1f()
137 if(ix>0x58000000) z = (invsqrtpi*ss)/sqrtf(x); /* |x|>2**49 */ in __ieee754_y1f()
[all …]
De_j1.c90 double z, s,c,ss,cc,r,u,v,y; in __ieee754_j1() local
100 ss = -s-c; in __ieee754_j1()
104 if ((s*c)>zero) cc = z/ss; in __ieee754_j1()
105 else ss = z/cc; in __ieee754_j1()
114 z = invsqrtpi*(u*cc-v*ss)/sqrt(y); in __ieee754_j1()
147 double z, s,c,ss,cc,u,v; in __ieee754_y1() local
165 ss = -s-c; in __ieee754_y1()
169 if ((s*c)>zero) cc = z/ss; in __ieee754_y1()
170 else ss = z/cc; in __ieee754_y1()
183 if(ix>0x48000000) z = (invsqrtpi*ss)/sqrt(x); in __ieee754_y1()
[all …]
De_j0.c89 double z, s,c,ss,cc,r,u,v; in __ieee754_j0() local
99 ss = s-c; in __ieee754_j0()
103 if ((s*c)<zero) cc = z/ss; in __ieee754_j0()
104 else ss = z/cc; in __ieee754_j0()
113 z = invsqrtpi*(u*cc-v*ss)/sqrt(x); in __ieee754_j0()
150 double z, s,c,ss,cc,u,v; in __ieee754_y0() local
179 ss = s-c; in __ieee754_y0()
187 if ((s*c)<zero) cc = z/ss; in __ieee754_y0()
188 else ss = z/cc; in __ieee754_y0()
190 if(ix>0x48000000) z = (invsqrtpi*ss)/sqrt(x); in __ieee754_y0()
[all …]
De_j0f.c50 float z, s,c,ss,cc,r,u,v; in __ieee754_j0f() local
60 ss = s-c; in __ieee754_j0f()
64 if ((s*c)<zero) cc = z/ss; in __ieee754_j0f()
65 else ss = z/cc; in __ieee754_j0f()
74 z = invsqrtpi*(u*cc-v*ss)/sqrtf(x); in __ieee754_j0f()
111 float z, s,c,ss,cc,u,v; in __ieee754_y0f() local
133 ss = s-c; in __ieee754_y0f()
141 if ((s*c)<zero) cc = z/ss; in __ieee754_y0f()
142 else ss = z/cc; in __ieee754_y0f()
144 if(ix>0x58000000) z = (invsqrtpi*ss)/sqrtf(x); /* |x|>2**49 */ in __ieee754_y0f()
[all …]
De_pow.c207 double ss,s2,s_h,s_l,t_h,t_l; in __ieee754_pow() local
224 ss = u*v; in __ieee754_pow()
225 s_h = ss; in __ieee754_pow()
233 s2 = ss*ss; in __ieee754_pow()
235 r += s_l*(s_h+ss); in __ieee754_pow()
242 v = s_l*t_h+t_l*ss; in __ieee754_pow()
/bionic/linker/tests/
Dlinked_list_test.cpp50 std::stringstream ss; in test_list_to_string() local
52 ss << c; in test_list_to_string()
55 return ss.str(); in test_list_to_string()
206 std::stringstream ss; in TEST() local
209 ss << c; in TEST()
215 ASSERT_EQ("abcd", ss.str()); in TEST()
218 ss.str(std::string()); in TEST()
225 ss << c; in TEST()
231 ASSERT_EQ("ab", ss.str()); in TEST()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dengine.c361 sopno ss; /* start sop of current subRE */ in dissect() local
382 for (ss = startst; ss < stopst; ss = es) { in dissect()
384 es = ss; in dissect()
398 switch (OP(m->g->strip[ss])) { in dissect()
423 rest = slow(m, sp, stp, ss, es); in dissect()
433 ssub = ss + 1; in dissect()
452 rest = slow(m, sp, stp, ss, es); in dissect()
462 ssub = ss + 1; in dissect()
493 rest = slow(m, sp, stp, ss, es); in dissect()
503 ssub = ss + 1; in dissect()
[all …]
/bionic/libc/kernel/uapi/asm-x86/asm/
Dptrace.h79 unsigned long ss; member
Dvm86.h71 unsigned short ss, __ssh; member
Dsigcontext.h151 __u16 ss, __ssh; member
222 __u16 ss, __ssh; member
/bionic/libc/kernel/uapi/video/
Duvesafb.h37 __u16 ss; member
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_osf.h59 __u16 ss, mss; member
/bionic/libc/kernel/uapi/sound/
Dhdspm.h34 ss, enumerator

12