Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 454) sorted by relevance

12345678910>>...19

/glibc-2.36/signal/
Dtst-sigset.c10 sigset_t set; in do_test() local
11 TEST_VERIFY (sigemptyset (&set) == 0); in do_test()
13 #define VERIFY(set, sig) \ in do_test() argument
14 TEST_VERIFY (sigismember (&set, sig) == 0); \ in do_test()
15 TEST_VERIFY (sigaddset (&set, sig) == 0); \ in do_test()
16 TEST_VERIFY (sigismember (&set, sig) != 0); \ in do_test()
17 TEST_VERIFY (sigdelset (&set, sig) == 0); \ in do_test()
18 TEST_VERIFY (sigismember (&set, sig) == 0) in do_test()
21 VERIFY (set, SIGINT); in do_test()
22 VERIFY (set, SIGILL); in do_test()
[all …]
Dtst-sigisemptyset.c27 sigset_t set; in do_test() local
28 sigemptyset (&set); in do_test()
29 TEST_COMPARE (sigisemptyset (&set), 1); in do_test()
33 sigset_t set; in do_test() local
34 sigfillset (&set); in do_test()
35 TEST_COMPARE (sigisemptyset (&set), 0); in do_test()
39 sigset_t setfill, setempty, set; in do_test() local
43 sigorset (&set, &setfill, &setempty); in do_test()
44 TEST_COMPARE (sigisemptyset (&set), 0); in do_test()
46 sigandset (&set, &setfill, &setempty); in do_test()
[all …]
/glibc-2.36/iconvdata/
Diso-2022-jp-3.c178 ch = set >> 6; \
184 set &= (1 << 6) - 1; \
213 set = ASCII_set; \
220 set = JISX0201_Roman_set; \
227 set = JISX0201_Kana_set; \
237 set = JISX0208_1978_set; \
244 set = JISX0208_1983_set; \
255 set = JISX0213_1_2004_set; \
262 set = JISX0213_2_set; \
274 else if (set == ASCII_set || (ch < 0x21 || ch == 0x7f)) \
[all …]
Diso-2022-jp.c292 set = ASCII_set; \
299 set = JISX0201_Roman_set; \
306 set = JISX0201_Kana_set; \
316 set = JISX0208_1978_set; \
323 set = JISX0208_1983_set; \
332 set = GB2312_set; \
341 set = KSC5601_set; \
348 set = JISX0212_set; \
400 else if (set == ASCII_set || (ch < 0x21 || ch == 0x7f)) \
403 else if (set == JISX0201_Roman_set) \
[all …]
Diso-2022-cn.c169 set = ann == CNS11643_1_ann ? CNS11643_1_set : GB2312_set; \
176 set = ASCII_set; \
193 else if (set == ASCII_set) \
201 if (set == GB2312_set) \
205 assert (set == CNS11643_1_set); \
225 #define INIT_PARAMS int set = *setp & CURRENT_SEL_MASK; \
227 #define UPDATE_PARAMS *setp = set | ann
245 if (set != ASCII_set) \
248 set = ASCII_set; \
272 if (set == GB2312_set || (ann & CNS11643_1_ann) == 0) \
[all …]
Diso-2022-kr.c151 set = KSC5601_set; \
158 set = ASCII_set; \
162 if (set == ASCII_set) \
169 assert (set == KSC5601_set); \
190 #define INIT_PARAMS int set = *setp
191 #define UPDATE_PARAMS *setp = set
208 if (set != ASCII_set) \
211 set = ASCII_set; \
240 if (set != KSC5601_set) \
243 set = KSC5601_set; \
[all …]
Diso-2022-cn-ext.c261 set = GB2312_set; \
264 set = GB12345_set; \
267 set = CNS11643_1_set; \
270 set = ISO_IR_165_set; \
285 set = ASCII_set; \
346 else if (set == ASCII_set) \
359 if (set == GB2312_set) \
361 else if (set == ISO_IR_165_set) \
365 assert (set == CNS11643_1_set); \
384 #define INIT_PARAMS int set = (*setp >> 3) & CURRENT_MASK; \
[all …]
/glibc-2.36/nptl/
Dtst-pthread-attr-sigmask.c114 sigset_t set; in do_test() local
115 sigemptyset (&set); in do_test()
116 sigaddset (&set, SIGUSR1); in do_test()
117 xpthread_sigmask (SIG_SETMASK, &set, NULL); in do_test()
125 TEST_COMPARE (pthread_attr_getsigmask_np (&attr, &set), in do_test()
133 sigemptyset (&set); in do_test()
134 sigaddset (&set, SIGUSR2); in do_test()
135 TEST_COMPARE (pthread_attr_setsigmask_np (&attr, &set), 0); in do_test()
136 sigemptyset (&set); in do_test()
137 TEST_COMPARE (pthread_attr_getsigmask_np (&attr, &set), 0); in do_test()
[all …]
Dtst-pthread-defaultattr-free.c29 cpu_set_t *set = CPU_ALLOC (cpu_count); in do_test() local
31 CPU_ZERO_S (set_size, set); in do_test()
32 CPU_SET (1, set); in do_test()
33 CPU_SET (3, set); in do_test()
38 TEST_COMPARE (pthread_attr_setaffinity_np (&attr, set_size, set), 0); in do_test()
44 CPU_ZERO_S (set_size, set); in do_test()
45 TEST_COMPARE (pthread_attr_getaffinity_np (&attr, set_size, set), 0); in do_test()
47 TEST_COMPARE (!!CPU_ISSET (i, set), i == 1 || i == 3); in do_test()
66 CPU_ZERO_S (set_size, set); in do_test()
67 TEST_COMPARE (pthread_attr_getaffinity_np (&attr, set_size, set), 0); in do_test()
[all …]
Dtst-thread-affinity-pthread2.c31 cpu_set_t *set; member
43 (task->thread, task->size, task->set); in affinity_access_thread()
46 (task->thread, task->size, task->set); in affinity_access_thread()
51 run_affinity_access_thread (cpu_set_t *set, size_t size, bool get) in run_affinity_access_thread() argument
56 .set = set, in run_affinity_access_thread()
84 setaffinity (size_t size, const cpu_set_t *set) in setaffinity() argument
86 return run_affinity_access_thread ((cpu_set_t *) set, size, false); in setaffinity()
90 getaffinity (size_t size, cpu_set_t *set) in getaffinity() argument
92 return run_affinity_access_thread (set, size, true); in getaffinity()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dinternal-sigset.h30 internal_sigset_from_sigset (internal_sigset_t *iset, const sigset_t *set) in internal_sigset_from_sigset() argument
34 iset->__val[cnt] = set->__val[cnt]; in internal_sigset_from_sigset()
38 internal_sigemptyset (internal_sigset_t *set) in internal_sigemptyset() argument
42 set->__val[cnt] = 0; in internal_sigemptyset()
46 internal_sigfillset (internal_sigset_t *set) in internal_sigfillset() argument
50 set->__val[cnt] = ~0UL; in internal_sigfillset()
54 internal_sigisemptyset (const internal_sigset_t *set) in internal_sigisemptyset() argument
57 int ret = set->__val[--cnt]; in internal_sigisemptyset()
59 ret = set->__val[cnt]; in internal_sigisemptyset()
82 internal_sigismember (const internal_sigset_t *set, int sig) in internal_sigismember() argument
[all …]
Dtst-skeleton-affinity.c57 cpu_set_t *set = CPU_ALLOC (num_cpus); in find_set_size() local
60 if (set == NULL) in find_set_size()
65 if (getaffinity (size, set) == 0) in find_set_size()
67 CPU_FREE (set); in find_set_size()
73 CPU_FREE (set); in find_set_size()
76 CPU_FREE (set); in find_set_size()
83 find_last_cpu (const cpu_set_t *set, size_t size) in find_last_cpu() argument
90 size_t total_cpus = CPU_COUNT_S (size, set); in find_last_cpu()
95 if (CPU_ISSET_S (cpu, size, set)) in find_last_cpu()
111 cpu_set_t *set = CPU_ALLOC (conf->set_size); in setup_conf() local
[all …]
Dsigsetops.h50 __sigemptyset (sigset_t *set) in __sigemptyset() argument
54 set->__val[cnt] = 0; in __sigemptyset()
58 __sigfillset (sigset_t *set) in __sigfillset() argument
62 set->__val[cnt] = ~0UL; in __sigfillset()
66 __sigisemptyset (const sigset_t *set) in __sigisemptyset() argument
69 int ret = set->__val[--cnt]; in __sigisemptyset()
71 ret = set->__val[cnt]; in __sigisemptyset()
92 __sigismember (const sigset_t *set, int sig) in __sigismember() argument
96 return set->__val[word] & mask ? 1 : 0; in __sigismember()
100 __sigaddset (sigset_t *set, int sig) in __sigaddset() argument
[all …]
/glibc-2.36/sysdeps/mips/sys/
Dasm.h69 .set noreorder; \
71 .set reorder
74 .set noreorder; \
81 .set reorder
83 .set noreorder; \
90 .set reorder
111 .set noreorder; \
115 .set reorder; \
120 .set noreorder; \
124 .set reorder; \
[all …]
/glibc-2.36/sysdeps/generic/
Dsigsetops.h28 #define __sigemptyset(set) \ argument
30 *(set) = (__sigset_t) 0; \
33 #define __sigfillset(set) \ argument
35 *(set) = ~(__sigset_t) 0; \
39 # define __sigisemptyset(set) \ argument
40 (*(set) == (__sigset_t) 0)
56 # define __sigismember(set, sig) \ argument
59 *(set) & __mask ? 1 : 0; \
62 # define __sigaddset(set, sig) \ argument
65 *(set) |= __mask; \
[all …]
Dsigset-cvt-mask.h27 sigset_set_old_mask (sigset_t *set, int mask) in sigset_set_old_mask() argument
30 *set = (unsigned int) mask; in sigset_set_old_mask()
35 if (__sigemptyset (set) < 0) in sigset_set_old_mask()
40 if (__sigaddset (set, __sig) < 0) in sigset_set_old_mask()
49 sigset_get_old_mask (const sigset_t *set) in sigset_get_old_mask() argument
52 return (unsigned int) *set; in sigset_get_old_mask()
59 if (__sigismember (set, sig)) in sigset_get_old_mask()
/glibc-2.36/sysdeps/pthread/
Dtst-signal8.c28 sigset_t set; in tf() local
29 sigemptyset (&set); in tf()
30 TEST_COMPARE (pthread_sigmask (SIG_BLOCK, 0, &set), 0); in tf()
31 TEST_COMPARE (sigisemptyset (&set), 1); in tf()
35 sigset_t set; in tf() local
36 sigfillset (&set); in tf()
37 TEST_COMPARE (pthread_sigmask (SIG_BLOCK, 0, &set), 0); in tf()
38 TEST_COMPARE (sigisemptyset (&set), 1); in tf()
49 sigset_t set; in do_test() local
50 sigemptyset (&set); in do_test()
[all …]
/glibc-2.36/localedata/unicode-gen/
Dutf8_compatibility.py77 %len(set(ocharmap)-set(ncharmap)))
79 for key in sorted(set(ocharmap)-set(ncharmap)):
87 for key in set(ocharmap).intersection(set(ncharmap)):
102 %len(set(ncharmap)-set(ocharmap)))
104 for key in sorted(set(ncharmap)-set(ocharmap)):
149 %len(set(owidth)-set(nwidth)))
153 for key in sorted(set(owidth)-set(nwidth)):
170 for key in set(owidth).intersection(set(nwidth)):
194 %len(set(nwidth)-set(owidth)))
198 for key in sorted(set(nwidth)-set(owidth)):
/glibc-2.36/stdlib/
Dtst-setcontext4.c33 sigset_t set; in check() local
36 sigprocmask (SIG_BLOCK, NULL, &set); in check()
38 if (sigismember (&set, SIGUSR2) != 0) in check()
44 if (sigismember (&set, SIGUSR1) != 1) in check()
54 sigset_t set; in signalmask() local
55 sigemptyset (&set); in signalmask()
56 sigaddset (&set, signum); in signalmask()
57 if (sigprocmask (how, &set, NULL) != 0) in signalmask()
67 sigset_t set; in signalpending() local
68 sigemptyset (&set); in signalpending()
[all …]
Dtst-setcontext2.c33 sigset_t set; in check() local
36 sigprocmask (SIG_BLOCK, NULL, &set); in check()
38 if (sigismember (&set, SIGUSR2) != 0) in check()
44 if (sigismember (&set, SIGUSR1) != 1) in check()
54 sigset_t set; in signalmask() local
55 sigemptyset (&set); in signalmask()
56 sigaddset (&set, signum); in signalmask()
57 if (sigprocmask (how, &set, NULL) != 0) in signalmask()
67 sigset_t set; in signalpending() local
68 sigemptyset (&set); in signalpending()
[all …]
/glibc-2.36/sysdeps/mips/mips32/
Dcrtn.S39 .set nomips16
43 .set noreorder
44 .set nomacro
47 .set macro
48 .set reorder
52 .set noreorder
53 .set nomacro
56 .set macro
57 .set reorder
/glibc-2.36/sysdeps/mips/mips64/n32/
Dcrtn.S39 .set nomips16
44 .set noreorder
45 .set nomacro
48 .set macro
49 .set reorder
54 .set noreorder
55 .set nomacro
58 .set macro
59 .set reorder
/glibc-2.36/sysdeps/mips/mips64/n64/
Dcrtn.S39 .set nomips16
44 .set noreorder
45 .set nomacro
48 .set macro
49 .set reorder
54 .set noreorder
55 .set nomacro
58 .set macro
59 .set reorder
/glibc-2.36/posix/
Dregex_internal.c969 re_node_set_alloc (re_node_set *set, Idx size) in re_node_set_alloc() argument
971 set->alloc = size; in re_node_set_alloc()
972 set->nelem = 0; in re_node_set_alloc()
973 set->elems = re_malloc (Idx, size); in re_node_set_alloc()
974 if (__glibc_unlikely (set->elems == NULL) in re_node_set_alloc()
982 re_node_set_init_1 (re_node_set *set, Idx elem) in re_node_set_init_1() argument
984 set->alloc = 1; in re_node_set_init_1()
985 set->nelem = 1; in re_node_set_init_1()
986 set->elems = re_malloc (Idx, 1); in re_node_set_init_1()
987 if (__glibc_unlikely (set->elems == NULL)) in re_node_set_init_1()
[all …]
/glibc-2.36/sysdeps/alpha/
Dstrchr.S28 .set noreorder
29 .set noat
48 cmpbge zero, t0, t2 # .. e1 : bits set iff byte == zero
52 cmpbge zero, t4, t4 # .. e1 : bits set iff byte is garbage
55 cmpbge zero, t1, t3 # e0 : bits set iff byte == c
56 or t2, t3, t0 # e1 : bits set iff char match or zero match
64 cmpbge zero, t0, t2 # e0 : bits set iff byte == 0
65 cmpbge zero, t1, t3 # .. e1 : bits set iff byte == c
69 $found: negq t0, t1 # e0 : clear all but least set bit
72 and t0, t3, t1 # e0 : bit set iff byte was the char
[all …]

12345678910>>...19