Home
last modified time | relevance | path

Searched refs:set_size (Results 1 – 25 of 50) sorted by relevance

12

/external/strace/tests-m32/
Drt_sigprocmask.c79 unsigned int set_size; in main() local
81 for (set_size = big_size; set_size; set_size >>= 1) { in main()
82 if (!k_sigprocmask(SIG_SETMASK, NULL, NULL, set_size)) in main()
85 " = -1 EINVAL (%m)\n", set_size); in main()
87 if (!set_size) in main()
90 set_size); in main()
92 void *const k_set = tail_alloc(set_size); in main()
93 void *const old_set = tail_alloc(set_size); in main()
96 memset(k_set, 0, set_size); in main()
97 if (k_sigprocmask(SIG_SETMASK, k_set, NULL, set_size)) in main()
[all …]
Drt_sigtimedwait.c98 unsigned int set_size = big_size; in main() local
99 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
100 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
106 (intmax_t) timeout->tv_nsec, set_size); in main()
108 if (!set_size) in main()
112 set_size); in main()
117 memcpy(k_set, libc_set, set_size); in main()
119 assert(k_sigtimedwait(k_set, info, timeout, set_size) == -1); in main()
123 (intmax_t) timeout->tv_nsec, set_size); in main()
126 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigsuspend.c104 unsigned int set_size = big_size; in main() local
105 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
106 assert(k_sigsuspend(k_set, set_size) == -1); in main()
110 k_set, set_size); in main()
112 if (!set_size) in main()
115 " (To be restarted if no handler)\n", set_size); in main()
119 memcpy(k_set, libc_set, set_size); in main()
121 assert(k_sigsuspend(k_set, set_size) == -1); in main()
124 " (To be restarted if no handler)\n", set_size); in main()
127 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c88 unsigned int set_size = big_size; in main() local
89 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
90 if (!k_sigpending(k_set, set_size)) in main()
93 k_set, set_size); in main()
95 if (!set_size) in main()
97 tprintf("rt_sigpending(%s, %u) = 0\n", "[]", set_size); in main()
99 iterate("[]", set_size >> 1, k_set + (set_size >> 1)); in main()
101 void *const efault = k_set + (set_size >> 1); in main()
102 assert(k_sigpending(efault, set_size) == -1); in main()
104 efault, set_size); in main()
[all …]
Dsignalfd4.c48 unsigned int set_size; in get_sigset_size() local
50 for (set_size = big_size; set_size; set_size >>= 1) { in get_sigset_size()
52 NULL, NULL, set_size)) in get_sigset_size()
56 if (!set_size) in get_sigset_size()
59 return set_size; in get_sigset_size()
/external/strace/tests-mx32/
Drt_sigprocmask.c79 unsigned int set_size; in main() local
81 for (set_size = big_size; set_size; set_size >>= 1) { in main()
82 if (!k_sigprocmask(SIG_SETMASK, NULL, NULL, set_size)) in main()
85 " = -1 EINVAL (%m)\n", set_size); in main()
87 if (!set_size) in main()
90 set_size); in main()
92 void *const k_set = tail_alloc(set_size); in main()
93 void *const old_set = tail_alloc(set_size); in main()
96 memset(k_set, 0, set_size); in main()
97 if (k_sigprocmask(SIG_SETMASK, k_set, NULL, set_size)) in main()
[all …]
Drt_sigtimedwait.c98 unsigned int set_size = big_size; in main() local
99 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
100 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
106 (intmax_t) timeout->tv_nsec, set_size); in main()
108 if (!set_size) in main()
112 set_size); in main()
117 memcpy(k_set, libc_set, set_size); in main()
119 assert(k_sigtimedwait(k_set, info, timeout, set_size) == -1); in main()
123 (intmax_t) timeout->tv_nsec, set_size); in main()
126 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigsuspend.c104 unsigned int set_size = big_size; in main() local
105 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
106 assert(k_sigsuspend(k_set, set_size) == -1); in main()
110 k_set, set_size); in main()
112 if (!set_size) in main()
115 " (To be restarted if no handler)\n", set_size); in main()
119 memcpy(k_set, libc_set, set_size); in main()
121 assert(k_sigsuspend(k_set, set_size) == -1); in main()
124 " (To be restarted if no handler)\n", set_size); in main()
127 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c88 unsigned int set_size = big_size; in main() local
89 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
90 if (!k_sigpending(k_set, set_size)) in main()
93 k_set, set_size); in main()
95 if (!set_size) in main()
97 tprintf("rt_sigpending(%s, %u) = 0\n", "[]", set_size); in main()
99 iterate("[]", set_size >> 1, k_set + (set_size >> 1)); in main()
101 void *const efault = k_set + (set_size >> 1); in main()
102 assert(k_sigpending(efault, set_size) == -1); in main()
104 efault, set_size); in main()
[all …]
Dsignalfd4.c48 unsigned int set_size; in get_sigset_size() local
50 for (set_size = big_size; set_size; set_size >>= 1) { in get_sigset_size()
52 NULL, NULL, set_size)) in get_sigset_size()
56 if (!set_size) in get_sigset_size()
59 return set_size; in get_sigset_size()
/external/strace/tests/
Drt_sigprocmask.c79 unsigned int set_size; in main() local
81 for (set_size = big_size; set_size; set_size >>= 1) { in main()
82 if (!k_sigprocmask(SIG_SETMASK, NULL, NULL, set_size)) in main()
85 " = -1 EINVAL (%m)\n", set_size); in main()
87 if (!set_size) in main()
90 set_size); in main()
92 void *const k_set = tail_alloc(set_size); in main()
93 void *const old_set = tail_alloc(set_size); in main()
96 memset(k_set, 0, set_size); in main()
97 if (k_sigprocmask(SIG_SETMASK, k_set, NULL, set_size)) in main()
[all …]
Drt_sigtimedwait.c98 unsigned int set_size = big_size; in main() local
99 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
100 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
106 (intmax_t) timeout->tv_nsec, set_size); in main()
108 if (!set_size) in main()
112 set_size); in main()
117 memcpy(k_set, libc_set, set_size); in main()
119 assert(k_sigtimedwait(k_set, info, timeout, set_size) == -1); in main()
123 (intmax_t) timeout->tv_nsec, set_size); in main()
126 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigsuspend.c104 unsigned int set_size = big_size; in main() local
105 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
106 assert(k_sigsuspend(k_set, set_size) == -1); in main()
110 k_set, set_size); in main()
112 if (!set_size) in main()
115 " (To be restarted if no handler)\n", set_size); in main()
119 memcpy(k_set, libc_set, set_size); in main()
121 assert(k_sigsuspend(k_set, set_size) == -1); in main()
124 " (To be restarted if no handler)\n", set_size); in main()
127 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c88 unsigned int set_size = big_size; in main() local
89 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
90 if (!k_sigpending(k_set, set_size)) in main()
93 k_set, set_size); in main()
95 if (!set_size) in main()
97 tprintf("rt_sigpending(%s, %u) = 0\n", "[]", set_size); in main()
99 iterate("[]", set_size >> 1, k_set + (set_size >> 1)); in main()
101 void *const efault = k_set + (set_size >> 1); in main()
102 assert(k_sigpending(efault, set_size) == -1); in main()
104 efault, set_size); in main()
[all …]
Dsignalfd4.c48 unsigned int set_size; in get_sigset_size() local
50 for (set_size = big_size; set_size; set_size >>= 1) { in get_sigset_size()
52 NULL, NULL, set_size)) in get_sigset_size()
56 if (!set_size) in get_sigset_size()
59 return set_size; in get_sigset_size()
/external/openssh/
Dssh-pkcs11-helper.c276 ssize_t len, olen, set_size; in main() local
303 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in main()
304 rset = xmalloc(set_size); in main()
305 wset = xmalloc(set_size); in main()
308 memset(rset, 0, set_size); in main()
309 memset(wset, 0, set_size); in main()
/external/tinyxml/
Dtinystr.cpp66 set_size(len); in assign()
80 set_size(newsize); in append()
/external/sfntly/cpp/src/test/tinyxml/
Dtinystr.cpp62 set_size(len); in assign()
76 set_size(newsize); in append()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPathV2.inc53 utf16.set_size(len);
81 utf8.set_size(len);
111 result.set_size(len);
155 cur_path.set_size(len);
170 result.set_size(len);
529 result_path.set_size(0);
565 random_path_utf16.set_size(0);
656 result.set_size(0);
685 result.set_size(bytes_read);
690 result.set_size(len);
/external/clang/include/clang/AST/
DUnresolvedSet.h115 void set_size(unsigned N) { decls().set_size(N); } in set_size() function
/external/eigen/bench/
Danalyze-blocking-sizes.cpp411 void make_first_subset(size_t subset_size, vector<size_t>& out_subset, size_t set_size) in make_first_subset() argument
413 assert(subset_size >= 1 && subset_size <= set_size); in make_first_subset()
420 bool is_last_subset(const vector<size_t>& subset, size_t set_size) in is_last_subset() argument
422 return subset[0] == set_size - subset.size(); in is_last_subset()
425 void next_subset(vector<size_t>& inout_subset, size_t set_size) in next_subset() argument
427 if (is_last_subset(inout_subset, set_size)) { in next_subset()
432 while (inout_subset[inout_subset.size() - i] == set_size - i) { in next_subset()
/external/google-breakpad/src/common/
Dbyte_cursor.h55 ByteBuffer(const uint8_t *set_start, size_t set_size) in ByteBuffer()
56 : start(set_start), end(set_start + set_size) { } in ByteBuffer()
Dtest_assembler.h450 Reference(size_t set_offset, Endianness set_endianness, size_t set_size, in Reference()
452 : offset(set_offset), endianness(set_endianness), size(set_size), in Reference()
/external/vboot_reference/cgpt/
Dcgpt_add.c30 if (params->set_size) { in DumpCgptAddParams()
76 if (params->set_size) in GptSetEntryAttributes()
116 if (!params->set_begin || !params->set_size || !params->set_type) { in SetEntryAttributes()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPathV2.inc112 result.set_size(strlen(result.data()));
377 RandomPath.set_size(0);
484 result.set_size(0);
502 result.set_size(size);
507 result.set_size(len);

12