Home
last modified time | relevance | path

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

12

/bionic/tests/
Dsetjmp_test.cpp74 sigset64_t ss; in MakeSigSet() local
75 sigemptyset64(&ss); in MakeSigSet()
76 sigaddset64(&ss, SIGUSR1 + offset); in MakeSigSet()
78 sigaddset64(&ss, __SIGRTMIN); in MakeSigSet()
79 sigaddset64(&ss, SIGRTMIN + offset); in MakeSigSet()
80 return ss; in MakeSigSet()
100 SigSets ss; in TEST() local
101 sigprocmask64(SIG_SETMASK, &ss.one, nullptr); in TEST()
104 sigprocmask64(SIG_SETMASK, &ss.two, nullptr); in TEST()
108 AssertSigmaskEquals(ss.two); in TEST()
[all …]
Dsystem_properties_test2.cpp49 std::stringstream ss; in TEST() local
50 ss << "debug.test." << getpid() << "." << NanoTime() << "."; in TEST()
51 const std::string property_prefix = ss.str(); in TEST()
136 std::stringstream ss; in TEST() local
137 ss << "debug.test." << getpid() << "." << NanoTime() << "."; in TEST()
138 const std::string property_prefix = ss.str(); in TEST()
160 std::stringstream ss; in TEST() local
161 ss << "debug.test." << getpid() << "." << NanoTime() << "." << "property_empty"; in TEST()
162 const std::string property_name = ss.str(); in TEST()
Dsys_epoll_test.cpp44 sigset_t ss; in TEST() local
45 sigemptyset(&ss); in TEST()
46 sigaddset(&ss, SIGPIPE); in TEST()
47 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()
Dandroid_unsafe_frame_pointer_chase_test.cpp115 stack_t ss; in SignalBacktraceThread() local
116 ss.ss_sp = sp; in SignalBacktraceThread()
117 ss.ss_flags = 0; in SignalBacktraceThread()
118 ss.ss_size = kStackSize; in SignalBacktraceThread()
119 sigaltstack(&ss, nullptr); in SignalBacktraceThread()
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, nullptr, &ss)); in TEST()
153 int num_fds = pselect(max, &r, &w, &e, nullptr, &ss); in TEST()
165 ASSERT_EQ(-1, pselect(max, &r, &w, &e, &tv, &ss)); 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()
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()
/bionic/libc/bionic/
Dpoll.cpp51 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { in ppoll() argument
55 if (ss != nullptr) { in ppoll()
57 set.sigset = *ss; in ppoll()
63 int ppoll64(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset64_t* ss) { in ppoll64() argument
74 if (ss != nullptr) { in ppoll64()
75 mutable_ss = filter_reserved_signals(*ss, SIG_SETMASK); in ppoll64()
100 const timespec* ts, const sigset_t* ss) { in pselect() argument
104 if (ss != nullptr) { in pselect()
106 set.sigset = *ss; in pselect()
113 const timespec* ts, const sigset64_t* ss) { in pselect64() argument
[all …]
Dsys_epoll.cpp50 int epoll_pwait(int fd, epoll_event* events, int max_events, int timeout, const sigset_t* ss) { in epoll_pwait() argument
53 if (ss != nullptr) { in epoll_pwait()
55 set.sigset = *ss; in epoll_pwait()
61 int epoll_pwait64(int fd, epoll_event* events, int max_events, int timeout, const sigset64_t* ss) { in epoll_pwait64() argument
62 return __epoll_pwait(fd, events, max_events, timeout, ss, sizeof(*ss)); in epoll_pwait64()
Dandroid_unsafe_frame_pointer_chase.cpp61 stack_t ss; in android_unsafe_frame_pointer_chase() local
62 if (sigaltstack(nullptr, &ss) == 0 && (ss.ss_flags & SS_ONSTACK)) { in android_unsafe_frame_pointer_chase()
63 end = reinterpret_cast<uintptr_t>(ss.ss_sp) + ss.ss_size; in android_unsafe_frame_pointer_chase()
Dpthread_exit.cpp91 stack_t ss; in pthread_exit() local
92 memset(&ss, 0, sizeof(ss)); in pthread_exit()
93 ss.ss_flags = SS_DISABLE; in pthread_exit()
94 sigaltstack(&ss, nullptr); in pthread_exit()
Difaddrs.cpp129 sockaddr* CopyAddress(int family, const void* data, size_t byteCount, sockaddr_storage* ss) { in CopyAddress()
134 ss->ss_family = family; in CopyAddress()
135 memcpy(SockaddrBytes(family, ss), data, byteCount); in CopyAddress()
139 reinterpret_cast<sockaddr_in6*>(ss)->sin6_scope_id = interface_index; in CopyAddress()
142 return reinterpret_cast<sockaddr*>(ss); in CopyAddress()
147 uint8_t* SockaddrBytes(int family, sockaddr_storage* ss) { in SockaddrBytes()
149 sockaddr_in* ss4 = reinterpret_cast<sockaddr_in*>(ss); in SockaddrBytes()
152 sockaddr_in6* ss6 = reinterpret_cast<sockaddr_in6*>(ss); in SockaddrBytes()
155 sockaddr_ll* sll = reinterpret_cast<sockaddr_ll*>(ss); in SockaddrBytes()
Dpthread_create.cpp96 stack_t ss; in __init_alternate_signal_stack() local
97 ss.ss_sp = reinterpret_cast<uint8_t*>(stack_base) + PTHREAD_GUARD_SIZE; in __init_alternate_signal_stack()
98 ss.ss_size = SIGNAL_STACK_SIZE - PTHREAD_GUARD_SIZE; in __init_alternate_signal_stack()
99 ss.ss_flags = 0; in __init_alternate_signal_stack()
100 sigaltstack(&ss, nullptr); in __init_alternate_signal_stack()
105 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, ss.ss_sp, ss.ss_size, "thread signal stack"); in __init_alternate_signal_stack()
/bionic/libm/upstream-freebsd/lib/msun/src/
De_j1.c89 double z, s,c,ss,cc,r,u,v,y; in __ieee754_j1() local
98 ss = -s-c; in __ieee754_j1()
102 if ((s*c)>zero) cc = z/ss; in __ieee754_j1()
103 else ss = z/cc; in __ieee754_j1()
112 z = invsqrtpi*(u*cc-v*ss)/sqrt(y); in __ieee754_j1()
145 double z, s,c,ss,cc,u,v; in __ieee754_y1() local
162 ss = -s-c; in __ieee754_y1()
166 if ((s*c)>zero) cc = z/ss; in __ieee754_y1()
167 else ss = z/cc; in __ieee754_y1()
180 if(ix>0x48000000) z = (invsqrtpi*ss)/sqrt(x); in __ieee754_y1()
[all …]
De_j1f.c51 float z, s,c,ss,cc,r,u,v,y; in __ieee754_j1f() local
60 ss = -s-c; in __ieee754_j1f()
64 if ((s*c)>zero) cc = z/ss; in __ieee754_j1f()
65 else ss = z/cc; in __ieee754_j1f()
74 z = invsqrtpi*(u*cc-v*ss)/sqrtf(y); in __ieee754_j1f()
107 float z, s,c,ss,cc,u,v; in __ieee754_y1f() local
117 ss = -s-c; in __ieee754_y1f()
121 if ((s*c)>zero) cc = z/ss; in __ieee754_y1f()
122 else ss = z/cc; in __ieee754_y1f()
135 if(ix>0x58000000) z = (invsqrtpi*ss)/sqrtf(x); /* |x|>2**49 */ in __ieee754_y1f()
[all …]
De_j0f.c50 float z, s,c,ss,cc,r,u,v; in __ieee754_j0f() local
59 ss = s-c; in __ieee754_j0f()
63 if ((s*c)<zero) cc = z/ss; in __ieee754_j0f()
64 else ss = z/cc; in __ieee754_j0f()
73 z = invsqrtpi*(u*cc-v*ss)/sqrtf(x); in __ieee754_j0f()
110 float z, s,c,ss,cc,u,v; in __ieee754_y0f() local
131 ss = s-c; in __ieee754_y0f()
139 if ((s*c)<zero) cc = z/ss; in __ieee754_y0f()
140 else ss = z/cc; in __ieee754_y0f()
142 if(ix>0x58000000) z = (invsqrtpi*ss)/sqrtf(x); /* |x|>2**49 */ in __ieee754_y0f()
[all …]
De_j0.c88 double z, s,c,ss,cc,r,u,v; in __ieee754_j0() local
97 ss = s-c; in __ieee754_j0()
101 if ((s*c)<zero) cc = z/ss; in __ieee754_j0()
102 else ss = z/cc; in __ieee754_j0()
111 z = invsqrtpi*(u*cc-v*ss)/sqrt(x); in __ieee754_j0()
148 double z, s,c,ss,cc,u,v; in __ieee754_y0() local
176 ss = s-c; in __ieee754_y0()
184 if ((s*c)<zero) cc = z/ss; in __ieee754_y0()
185 else ss = z/cc; in __ieee754_y0()
187 if(ix>0x48000000) z = (invsqrtpi*ss)/sqrt(x); in __ieee754_y0()
[all …]
De_pow.c211 double ss,s2,s_h,s_l,t_h,t_l; in __ieee754_pow() local
228 ss = u*v; in __ieee754_pow()
229 s_h = ss; in __ieee754_pow()
237 s2 = ss*ss; in __ieee754_pow()
239 r += s_l*(s_h+ss); in __ieee754_pow()
246 v = s_l*t_h+t_l*ss; in __ieee754_pow()
/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/tools/versioner/src/
DDeclarationDatabase.cpp82 llvm::raw_string_ostream ss(mangled); in getDeclName() local
83 mangler->mangleName(decl, ss); in getDeclName()
345 std::stringstream ss; in to_string() local
348 ss << "introduced = " << av.introduced << ", "; in to_string()
352 ss << "deprecated = " << av.deprecated << ", "; in to_string()
356 ss << "obsoleted = " << av.obsoleted << ", "; in to_string()
359 std::string result = ss.str(); in to_string()
379 std::stringstream ss; in to_string() local
381 ss << to_string(decl_av.global_availability) << ", "; in to_string()
386 ss << to_string(it.first) << ": " << to_string(it.second) << ", "; in to_string()
[all …]
DCompilationType.cpp23 std::stringstream ss; in to_string() local
24 ss << to_string(type.arch) << "-" << type.api_level << " [" << (type.cpp ? "c++" : "c") in to_string()
26 return ss.str(); in to_string()
/bionic/linker/
Dlinked_list_test.cpp62 std::stringstream ss; in test_list_to_string() local
64 ss << c; in test_list_to_string()
67 return ss.str(); in test_list_to_string()
218 std::stringstream ss; in TEST() local
221 ss << c; in TEST()
227 ASSERT_EQ("abcd", ss.str()); in TEST()
230 ss.str(std::string()); in TEST()
237 ss << c; in TEST()
243 ASSERT_EQ("ab", ss.str()); in TEST()
/bionic/libc/kernel/uapi/asm-x86/asm/
Dsigcontext.h125 __u16 ss, __ssh; member
152 __u16 ss; member
182 __u16 ss, __ssh; member
211 __u16 ss; member
Dptrace.h67 unsigned long ss; member

12