HomeSort by relevance Sort by last modified time
    Searched refs:sa (Results 501 - 525 of 1428) sorted by null

<<21222324252627282930>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/
6-1.c 223 struct sigaction sa; local
229 sigemptyset(&sa.sa_mask);
230 sa.sa_flags = 0;
231 sa.sa_handler = sighdl1;
233 if ((ret = sigaction(SIGUSR1, &sa, NULL)) == -1) {
237 sa.sa_handler = sighdl2;
239 if ((ret = sigaction(SIGUSR2, &sa, NULL)) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
5-1.c 206 struct sigaction sa; local
240 sigemptyset(&sa.sa_mask);
241 sa.sa_flags = 0;
242 sa.sa_handler = sighdl1;
244 if ((ret = sigaction(SIGUSR1, &sa, NULL))) {
248 sa.sa_handler = sighdl2;
250 if ((ret = sigaction(SIGUSR2, &sa, NULL))) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
18-1.c 230 struct sigaction sa; local
236 sigemptyset(&sa.sa_mask);
237 sa.sa_flags = 0;
238 sa.sa_handler = sighdl1;
240 if ((ret = sigaction(SIGUSR1, &sa, NULL))) {
244 sa.sa_handler = sighdl2;
246 if ((ret = sigaction(SIGUSR2, &sa, NULL))) {
  /prebuilts/go/darwin-x86/misc/cgo/testcarchive/
main4.c 33 struct sigaction sa; local
35 memset(&sa, 0, sizeof sa);
36 sa.sa_sigaction = ioHandler;
37 if (sigemptyset(&sa.sa_mask) < 0) {
40 sa.sa_flags = SA_SIGINFO | SA_ONSTACK;
41 if (sigaction(SIGIO, &sa, NULL) < 0) {
  /prebuilts/go/linux-x86/misc/cgo/testcarchive/
main4.c 33 struct sigaction sa; local
35 memset(&sa, 0, sizeof sa);
36 sa.sa_sigaction = ioHandler;
37 if (sigemptyset(&sa.sa_mask) < 0) {
40 sa.sa_flags = SA_SIGINFO | SA_ONSTACK;
41 if (sigaction(SIGIO, &sa, NULL) < 0) {
  /external/brotli/research/
deorummolae.cc 8 /* Used for quick SA-entry to file mapping. Each file is padded to size that
83 static void buildLcp(std::vector<int>* text, std::vector<int>* sa,
94 int j = sa->at(invese_sa->at(i) + 1); // Suffix which follow i-th suffix.
103 /* Isle is a range in SA with LCP not less than some value.
134 Substrings are replaced with unique terminators, so next iteration SA would
137 std::vector<int>* sa, std::vector<int>* lcp, std::vector<int>* invese_sa,
145 sa->at(i), length, data, file_map, file_offset, next_terminator);
149 sa->at(index), length, data, file_map, file_offset, next_terminator);
154 index = invese_sa->at(sa->at(index) + 1);
189 std::vector<int> sa; local
    [all...]
  /prebuilts/go/darwin-x86/test/ken/
complit.go 14 type SA struct{ a,b,c [3]int };
53 test("sa.a[i]", sa.a[i]);
54 test("sa.b[i]", sa.b[i]);
55 test("sa.c[i]", sa.c[i]);
107 var sa = SA{[3]int{3001,3002,3003},[3]int{3004,3005,3006},[3]int{3007,3008,3009}} var
  /prebuilts/go/linux-x86/test/ken/
complit.go 14 type SA struct{ a,b,c [3]int };
53 test("sa.a[i]", sa.a[i]);
54 test("sa.b[i]", sa.b[i]);
55 test("sa.c[i]", sa.c[i]);
107 var sa = SA{[3]int{3001,3002,3003},[3]int{3004,3005,3006},[3]int{3007,3008,3009}} var
  /external/ipsec-tools/src/racoon/
ipsec_doi.c 170 * check phase 1 SA payload.
171 * make new SA payload to be replyed not including general header.
174 * positive: the pointer to new buffer of SA payload.
179 ipsecdoi_checkph1proposal(sa, iph1)
180 vchar_t *sa;
183 vchar_t *newsa; /* new SA payload approved. */
187 pair = get_proppair(sa, IPSECDOI_TYPE_PH1);
191 /* check and get one SA for use */
206 * return a new SA payload to be reply to peer.
214 struct isakmpsa *sa, tsa local
341 struct isakmpsa sa, *s, *tsap; local
483 struct isakmpsa sa, *s; local
3604 struct sockaddr *sa; local
3977 struct sockaddr *sa; local
4109 caddr_t sa; local
    [all...]
  /external/libcxx/test/std/numerics/numeric.ops/transform.exclusive.scan/
transform_exclusive_scan_init_bop_uop.pass.cpp 68 const unsigned sa = sizeof(ia) / sizeof(ia[0]); local
69 static_assert(sa == sizeof(pResI0) / sizeof(pResI0[0])); // just to be sure
70 static_assert(sa == sizeof(mResI0) / sizeof(mResI0[0])); // just to be sure
71 static_assert(sa == sizeof(pResN0) / sizeof(pResN0[0])); // just to be sure
72 static_assert(sa == sizeof(mResN0) / sizeof(mResN0[0])); // just to be sure
73 static_assert(sa == sizeof(pResI2) / sizeof(pResI2[0])); // just to be sure
74 static_assert(sa == sizeof(mResI2) / sizeof(mResI2[0])); // just to be sure
75 static_assert(sa == sizeof(pResN2) / sizeof(pResN2[0])); // just to be sure
76 static_assert(sa == sizeof(mResN2) / sizeof(mResN2[0])); // just to be sure
78 for (unsigned int i = 0; i < sa; ++i )
    [all...]
  /external/libcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/
transform_inclusive_scan_bop_uop_init.pass.cpp 68 const unsigned sa = sizeof(ia) / sizeof(ia[0]); local
69 static_assert(sa == sizeof(pResI0) / sizeof(pResI0[0])); // just to be sure
70 static_assert(sa == sizeof(mResI0) / sizeof(mResI0[0])); // just to be sure
71 static_assert(sa == sizeof(pResN0) / sizeof(pResN0[0])); // just to be sure
72 static_assert(sa == sizeof(mResN0) / sizeof(mResN0[0])); // just to be sure
73 static_assert(sa == sizeof(pResI2) / sizeof(pResI2[0])); // just to be sure
74 static_assert(sa == sizeof(mResI2) / sizeof(mResI2[0])); // just to be sure
75 static_assert(sa == sizeof(pResN2) / sizeof(pResN2[0])); // just to be sure
76 static_assert(sa == sizeof(mResN2) / sizeof(mResN2[0])); // just to be sure
78 for (unsigned int i = 0; i < sa; ++i )
    [all...]
transform_inclusive_scan_bop_uop.pass.cpp 65 const unsigned sa = sizeof(ia) / sizeof(ia[0] ); local
66 static_assert(sa == sizeof(pResI0) / sizeof(pResI0[0])); // just to be sure
67 static_assert(sa == sizeof(mResI0) / sizeof(mResI0[0])); // just to be sure
68 static_assert(sa == sizeof(pResN0) / sizeof(pResN0[0])); // just to be sure
69 static_assert(sa == sizeof(mResN0) / sizeof(mResN0[0])); // just to be sure
71 for (unsigned int i = 0; i < sa; ++i ) {
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/numeric.ops/transform.exclusive.scan/
transform_exclusive_scan_init_bop_uop.pass.cpp 74 const unsigned sa = sizeof(ia) / sizeof(ia[0]); local
75 static_assert(sa == sizeof(pResI0) / sizeof(pResI0[0])); // just to be sure
76 static_assert(sa == sizeof(mResI0) / sizeof(mResI0[0])); // just to be sure
77 static_assert(sa == sizeof(pResN0) / sizeof(pResN0[0])); // just to be sure
78 static_assert(sa == sizeof(mResN0) / sizeof(mResN0[0])); // just to be sure
79 static_assert(sa == sizeof(pResI2) / sizeof(pResI2[0])); // just to be sure
80 static_assert(sa == sizeof(mResI2) / sizeof(mResI2[0])); // just to be sure
81 static_assert(sa == sizeof(pResN2) / sizeof(pResN2[0])); // just to be sure
82 static_assert(sa == sizeof(mResN2) / sizeof(mResN2[0])); // just to be sure
84 for (unsigned int i = 0; i < sa; ++i )
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/numeric.ops/transform.inclusive.scan/
transform_inclusive_scan_bop_uop_init.pass.cpp 74 const unsigned sa = sizeof(ia) / sizeof(ia[0]); local
75 static_assert(sa == sizeof(pResI0) / sizeof(pResI0[0])); // just to be sure
76 static_assert(sa == sizeof(mResI0) / sizeof(mResI0[0])); // just to be sure
77 static_assert(sa == sizeof(pResN0) / sizeof(pResN0[0])); // just to be sure
78 static_assert(sa == sizeof(mResN0) / sizeof(mResN0[0])); // just to be sure
79 static_assert(sa == sizeof(pResI2) / sizeof(pResI2[0])); // just to be sure
80 static_assert(sa == sizeof(mResI2) / sizeof(mResI2[0])); // just to be sure
81 static_assert(sa == sizeof(pResN2) / sizeof(pResN2[0])); // just to be sure
82 static_assert(sa == sizeof(mResN2) / sizeof(mResN2[0])); // just to be sure
84 for (unsigned int i = 0; i < sa; ++i )
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
ShortcutParser.java 273 final TypedArray sa = service.mContext.getResources().obtainAttributes(attrs, local
276 if (sa.getType(R.styleable.ShortcutCategories_name) == TypedValue.TYPE_STRING) {
277 return sa.getNonResourceString(R.styleable.ShortcutCategories_name);
283 sa.recycle();
290 final TypedArray sa = service.mContext.getResources().obtainAttributes(attrs, local
293 if (sa.getType(R.styleable.Shortcut_shortcutId) != TypedValue.TYPE_STRING) {
297 final String id = sa.getNonResourceString(R.styleable.Shortcut_shortcutId);
298 final boolean enabled = sa.getBoolean(R.styleable.Shortcut_enabled, true);
299 final int iconResId = sa.getResourceId(R.styleable.Shortcut_icon, 0);
300 final int titleResId = sa.getResourceId(R.styleable.Shortcut_shortcutShortLabel, 0)
    [all...]
  /prebuilts/go/darwin-x86/src/syscall/
syscall_solaris.go 71 func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
72 if sa.Port < 0 || sa.Port > 0xFFFF {
75 sa.raw.Family = AF_INET
76 p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
77 p[0] = byte(sa.Port >> 8)
78 p[1] = byte(sa.Port)
79 for i := 0; i < len(sa.Addr); i++ {
80 sa.raw.Addr[i] = sa.Addr[i
    [all...]
  /prebuilts/go/linux-x86/src/syscall/
syscall_solaris.go 71 func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
72 if sa.Port < 0 || sa.Port > 0xFFFF {
75 sa.raw.Family = AF_INET
76 p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
77 p[0] = byte(sa.Port >> 8)
78 p[1] = byte(sa.Port)
79 for i := 0; i < len(sa.Addr); i++ {
80 sa.raw.Addr[i] = sa.Addr[i
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
PrimitiveTest.java 36 final TypedArray sa = mContext.obtainStyledAttributes(resid, R.styleable.EnumStyle); local
37 final int value = sa.getInt(R.styleable.EnumStyle_testEnum, -1);
38 sa.recycle();
53 final TypedArray sa = mContext.obtainStyledAttributes(resid, R.styleable.FlagStyle); local
54 final int value = sa.getInt(R.styleable.FlagStyle_testFlags, -1);
55 sa.recycle();
  /external/honggfuzz/
honggfuzz.c 102 struct sigaction sa = { local
106 sigemptyset(&sa.sa_mask);
107 if (sigaction(SIGTERM, &sa, NULL) == -1) {
110 if (sigaction(SIGINT, &sa, NULL) == -1) {
113 if (sigaction(SIGQUIT, &sa, NULL) == -1) {
116 if (sigaction(SIGALRM, &sa, NULL) == -1) {
  /external/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/
find_first_of_pred.pass.cpp 47 const unsigned sa = sizeof(ia)/sizeof(ia[0]); local
51 input_iterator<const int*>(ia + sa),
58 input_iterator<const int*>(ia + sa),
62 input_iterator<const int*>(ia+sa));
64 input_iterator<const int*>(ia + sa),
68 input_iterator<const int*>(ia+sa));
  /external/libcxx/test/std/algorithms/alg.nonmodifying/mismatch/
mismatch.pass.cpp 65 const unsigned sa = sizeof(ia)/sizeof(ia[0]); local
72 assert(std::mismatch(II(ia), II(ia + sa), II(ib))
75 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib))
79 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib+sb))
82 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib), RAI(ib+sb))
86 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib+2))
  /external/ltp/testcases/network/tcp_cmds/sendfile/
testsf_s.c 32 sai_t sa, *ap; local
67 memcpy(&sa, hp->ai_addr, hp->ai_addrlen);
70 sa.sin6_port = htons(port);
72 sa.sin_port = htons(port);
76 if (bind(s, (sa_t *) & sa, sizeof(sa)) < 0) {
  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
stress.c 150 struct sigaction sa; local
162 sigemptyset(&sa.sa_mask);
163 sa.sa_flags = 0;
164 sa.sa_handler = sighdl;
165 if ((ret = sigaction(SIGUSR1, &sa, NULL))) {
168 if ((ret = sigaction(SIGALRM, &sa, NULL))) {
  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/
stress.c 156 struct sigaction sa; local
177 sigemptyset(&sa.sa_mask);
179 sa.sa_flags = 0;
181 sa.sa_handler = sighdl;
183 if ((ret = sigaction(SIGUSR1, &sa, NULL))) {
187 if ((ret = sigaction(SIGALRM, &sa, NULL))) {
  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/
stress.c 176 struct sigaction sa; local
194 sigemptyset(&sa.sa_mask);
195 sa.sa_flags = 0;
196 sa.sa_handler = sighdl;
197 if ((ret = sigaction(SIGUSR1, &sa, NULL))) {
200 if ((ret = sigaction(SIGALRM, &sa, NULL))) {

Completed in 1126 milliseconds

<<21222324252627282930>>