Home
last modified time | relevance | path

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

12

/bionic/libc/bionic/
Dsys_epoll.cpp52 int epoll_pwait(int fd, epoll_event* events, int max_events, int timeout, const sigset_t* ss) { in epoll_pwait() argument
53 SigSetConverter set{ss}; in epoll_pwait()
57 int epoll_pwait64(int fd, epoll_event* events, int max_events, int timeout, const sigset64_t* ss) { in epoll_pwait64() argument
58 return __epoll_pwait(fd, events, max_events, timeout, ss, sizeof(*ss)); in epoll_pwait64()
62 const sigset_t* ss) { in epoll_pwait2() argument
63 SigSetConverter set{ss}; in epoll_pwait2()
68 const sigset64_t* ss) { in epoll_pwait2_64() argument
83 return __epoll_pwait2(fd, events, max_events, kts_ptr, ss, sizeof(*ss)); in epoll_pwait2_64()
Dpoll.cpp51 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { in ppoll() argument
53 SigSetConverter set{ss}; in ppoll()
57 int ppoll64(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset64_t* ss) { in ppoll64() argument
68 if (ss != nullptr) { in ppoll64()
69 mutable_ss = filter_reserved_signals(*ss, SIG_SETMASK); in ppoll64()
94 const timespec* ts, const sigset_t* ss) { in pselect() argument
96 SigSetConverter set{ss}; in pselect()
101 const timespec* ts, const sigset64_t* ss) { in pselect64() argument
112 if (ss != nullptr) { in pselect64()
113 mutable_ss = filter_reserved_signals(*ss, SIG_SETMASK); in pselect64()
Dandroid_unsafe_frame_pointer_chase.cpp68 stack_t ss; in android_unsafe_frame_pointer_chase() local
69 if (sigaltstack(nullptr, &ss) == 0 && (ss.ss_flags & SS_ONSTACK)) { in android_unsafe_frame_pointer_chase()
70 end = reinterpret_cast<uintptr_t>(ss.ss_sp) + ss.ss_size; in android_unsafe_frame_pointer_chase()
Dpthread_exit.cpp92 stack_t ss; in pthread_exit() local
93 memset(&ss, 0, sizeof(ss)); in pthread_exit()
94 ss.ss_flags = SS_DISABLE; in pthread_exit()
95 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.cpp105 stack_t ss; in __init_alternate_signal_stack() local
106 ss.ss_sp = reinterpret_cast<uint8_t*>(stack_base) + PTHREAD_GUARD_SIZE; in __init_alternate_signal_stack()
107 ss.ss_size = SIGNAL_STACK_SIZE - PTHREAD_GUARD_SIZE; in __init_alternate_signal_stack()
108 ss.ss_flags = 0; in __init_alternate_signal_stack()
109 sigaltstack(&ss, nullptr); in __init_alternate_signal_stack()
114 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, ss.ss_sp, ss.ss_size, "thread signal stack"); in __init_alternate_signal_stack()
/bionic/tests/
Dsetjmp_test.cpp81 sigset64_t ss; in MakeSigSet() local
82 sigemptyset64(&ss); in MakeSigSet()
83 sigaddset64(&ss, SIGUSR1 + offset); in MakeSigSet()
86 sigaddset64(&ss, __SIGRTMIN); in MakeSigSet()
88 sigaddset64(&ss, SIGRTMIN + offset); in MakeSigSet()
89 return ss; in MakeSigSet()
109 SigSets ss; in TEST() local
110 sigprocmask64(SIG_SETMASK, &ss.one, nullptr); in TEST()
113 sigprocmask64(SIG_SETMASK, &ss.two, nullptr); in TEST()
117 AssertSigmaskEquals(ss.two); in TEST()
[all …]
Dsystem_properties_test2.cpp45 std::stringstream ss; in TEST() local
46 ss << "debug.test." << getpid() << "." << NanoTime() << "."; in TEST()
47 const std::string property_prefix = ss.str(); in TEST()
132 std::stringstream ss; in TEST() local
133 ss << "debug.test." << getpid() << "." << NanoTime() << "."; in TEST()
134 const std::string property_prefix = ss.str(); in TEST()
156 std::stringstream ss; in TEST() local
157 ss << "debug.test." << getpid() << "." << NanoTime() << "." << "property_empty"; in TEST()
158 const std::string property_name = ss.str(); 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()
Dsys_epoll_test.cpp80 sigset_t ss; in TEST() local
81 sigemptyset(&ss); in TEST()
82 sigaddset(&ss, SIGPIPE); in TEST()
83 ASSERT_EQ(0, epoll_pwait(epoll_fd, events, 1, 1, &ss)); in TEST()
Dnetdb_test.cpp116 sockaddr_storage ss; in TEST() local
117 memset(&ss, 0, sizeof(ss)); in TEST()
118 sockaddr* sa = reinterpret_cast<sockaddr*>(&ss); in TEST()
121 ss.ss_family = AF_INET; in TEST()
122 socklen_t too_much = sizeof(ss); in TEST()
132 ss.ss_family = AF_INET6; in TEST()
Darpa_inet_test.cpp137 sockaddr_storage ss; in TEST() local
138 ASSERT_EQ(1, inet_pton(AF_INET, "127.0.0.1", &ss)); in TEST()
141 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss, s, INET_ADDRSTRLEN)); in TEST()
/bionic/libm/upstream-freebsd/lib/msun/src/
De_j1.c89 double z, s,c,ss,cc,r,u,v,y; in j1() local
98 ss = -s-c; in j1()
102 if ((s*c)>zero) cc = z/ss; in j1()
103 else ss = z/cc; in j1()
112 z = invsqrtpi*(u*cc-v*ss)/sqrt(y); in j1()
145 double z, s,c,ss,cc,u,v; in y1() local
162 ss = -s-c; in y1()
166 if ((s*c)>zero) cc = z/ss; in y1()
167 else ss = z/cc; in y1()
180 if(ix>0x48000000) z = (invsqrtpi*ss)/sqrt(x); in y1()
[all …]
De_j1f.c51 float z, s,c,ss,cc,r,u,v,y; in j1f() local
60 ss = -s-c; in j1f()
64 if ((s*c)>zero) cc = z/ss; in j1f()
65 else ss = z/cc; in j1f()
74 z = invsqrtpi*(u*cc-v*ss)/sqrtf(y); in j1f()
107 float z, s,c,ss,cc,u,v; in y1f() local
117 ss = -s-c; in y1f()
121 if ((s*c)>zero) cc = z/ss; in y1f()
122 else ss = z/cc; in y1f()
135 if(ix>0x58000000) z = (invsqrtpi*ss)/sqrtf(x); /* |x|>2**49 */ in y1f()
[all …]
De_j0f.c50 float z, s,c,ss,cc,r,u,v; in j0f() local
59 ss = s-c; in j0f()
63 if ((s*c)<zero) cc = z/ss; in j0f()
64 else ss = z/cc; in j0f()
73 z = invsqrtpi*(u*cc-v*ss)/sqrtf(x); in j0f()
110 float z, s,c,ss,cc,u,v; in y0f() local
131 ss = s-c; in y0f()
139 if ((s*c)<zero) cc = z/ss; in y0f()
140 else ss = z/cc; in y0f()
142 if(ix>0x58000000) z = (invsqrtpi*ss)/sqrtf(x); /* |x|>2**49 */ in y0f()
[all …]
De_j0.c88 double z, s,c,ss,cc,r,u,v; in j0() local
97 ss = s-c; in j0()
101 if ((s*c)<zero) cc = z/ss; in j0()
102 else ss = z/cc; in j0()
111 z = invsqrtpi*(u*cc-v*ss)/sqrt(x); in j0()
148 double z, s,c,ss,cc,u,v; in y0() local
176 ss = s-c; in y0()
184 if ((s*c)<zero) cc = z/ss; in y0()
185 else ss = z/cc; in y0()
187 if(ix>0x48000000) z = (invsqrtpi*ss)/sqrt(x); in y0()
[all …]
De_pow.c211 double ss,s2,s_h,s_l,t_h,t_l; in pow() local
228 ss = u*v; in pow()
229 s_h = ss; in pow()
237 s2 = ss*ss; in pow()
239 r += s_l*(s_h+ss); in pow()
246 v = s_l*t_h+t_l*ss; in pow()
/bionic/tools/versioner/src/
DDeclarationDatabase.cpp82 llvm::raw_string_ostream ss(mangled); in getDeclName() local
83 mangler->mangleName(decl, ss); in getDeclName()
346 std::stringstream ss; in to_string() local
349 ss << "introduced = " << av.introduced << ", "; in to_string()
353 ss << "deprecated = " << av.deprecated << ", "; in to_string()
357 ss << "obsoleted = " << av.obsoleted << ", "; in to_string()
360 std::string result = ss.str(); in to_string()
380 std::stringstream ss; in to_string() local
382 ss << to_string(decl_av.global_availability) << ", "; in to_string()
387 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/upstream-netbsd/lib/libc/regex/
Dengine.c440 sopno ss; /* start sop of current subRE */ in dissect() local
459 for (ss = startst; ss < stopst; ss = es) { in dissect()
461 es = ss; in dissect()
475 switch (OP(m->g->strip[ss])) { in dissect()
506 rest = walk(m, sp, stp, ss, es, false); in dissect()
516 ssub = ss + 1; in dissect()
530 rest = walk(m, sp, stp, ss, es, false); in dissect()
540 ssub = ss + 1; in dissect()
566 rest = walk(m, sp, stp, ss, es, false); in dissect()
576 ssub = ss + 1; in dissect()
[all …]
/bionic/libc/kernel/uapi/asm-x86/asm/
Dsigcontext.h113 __u16 ss, __ssh; member
140 __u16 ss; member
170 __u16 ss, __ssh; member
199 __u16 ss; member
/bionic/tests/libs/
Dstack_tagging_helper.cpp200 stack_t ss = {}; in SigAltStackScoped() local
201 ss.ss_sp = altstack_start; in SigAltStackScoped()
202 ss.ss_size = altstack_size; in SigAltStackScoped()
203 int res = sigaltstack(&ss, &old_ss); in SigAltStackScoped()

12