/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
H A D | AbstractBreakIteratorTests.java | 26 private int set(int n) { in set() method in AbstractBreakIteratorTests.AbstractBreakIterator 41 return set(0); in first() 46 return set(LIMIT); in last() 51 return set(position + n); in next() 66 return set(offset + 1); in following()
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | map-prototype-foreach.js | 20 map.set ("foo" + i, i); 40 map.set (i + 0.5, "foo" + i); 61 map.set (objectList[i], "foo" + i); 112 map.set('foo', 42); 113 map.set('bar', 84);
|
/third_party/musl/src/signal/ |
H A D | sigaction.c | 13 void __get_handler_set(sigset_t *set) in __get_handler_set() argument 15 memcpy(set, handler_set, sizeof handler_set); in __get_handler_set() 65 unsigned long set[_NSIG/(8*sizeof(long))]; in __sigaction() local 76 __block_all_sigs(&set); in __sigaction() 82 __restore_sigs(&set); in __sigaction()
|
/third_party/musl/libc-test/src/regression/ |
H A D | malloc-overflow-check.c | 69 sigset_t set; in main() local 75 sigemptyset(&set); in main() 76 sigaddset(&set, SIGCHLD); in main() 77 sigprocmask(SIG_BLOCK, &set, 0); in main() 85 if (sigtimedwait(&set, 0, &(struct timespec){5, 0}) == -1) { /* Wait for 5 seconds */ in main()
|
H A D | malloc-double-free-check.c | 58 sigset_t set; in main() local 63 sigemptyset(&set); in main() 64 sigaddset(&set, SIGCHLD); in main() 65 sigprocmask(SIG_BLOCK, &set, 0); in main() 74 if (sigtimedwait(&set, 0, &(struct timespec){5, 0}) == -1) { /* Wait for 5 seconds */ in main()
|
/third_party/musl/porting/linux/user/src/signal/ |
H A D | sigaction.c | 37 void __get_handler_set(sigset_t *set) in __get_handler_set() argument 39 memcpy(set, handler_set, sizeof handler_set); in __get_handler_set() 47 unsigned long set[_NSIG/(8*sizeof(long))]; in __libc_sigaction() local 76 __block_all_sigs(&set); in __libc_sigaction() 87 __restore_sigs(&set); in __libc_sigaction()
|
/third_party/musl/src/signal/linux/ |
H A D | sigaction.c | 37 void __get_handler_set(sigset_t *set) in __get_handler_set() argument 39 memcpy(set, handler_set, sizeof handler_set); in __get_handler_set() 47 unsigned long set[_NSIG / (8 * sizeof(long))]; in __libc_sigaction() local 76 __block_all_sigs(&set); in __libc_sigaction() 90 __restore_sigs(&set); in __libc_sigaction()
|
/third_party/ltp/testcases/kernel/syscalls/rt_sigprocmask/ |
H A D | rt_sigprocmask01.c | 25 /* The set value stores the signal mask of the pending signals. */ 31 /* The set of blocked signals is the union of the current set*/ 32 /* and the set argument. */ 34 /* The signals in set are removed from the current set of */ 38 /* The set of blocked signals is set to the set argument. */ 81 sigset_t set, ose in main() local [all...] |
/third_party/ltp/testcases/kernel/syscalls/sigprocmask/ |
H A D | sigprocmask01.c | 31 * calling process's set of blocked/unblocked signals. 94 sigset_t set; /* signal set to hold signal lists */ variable 115 TEST(sigprocmask(SIG_BLOCK, &set, 0)); in main() 151 * is the member of signal set. in main() 168 &set, 0) == -1) { in main() 183 /* set sig_catch back to 0 */ in main() 198 * Initialise signal set with the list that includes/excludes 215 if (sigemptyset(&set) == -1) { in setup() 235 * Add specified signal (SIGINT) to the signal set in setup() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
H A D | 9-1.c | 43 sigset_t set; in main() local 50 * set up signal set containing SIGTOTEST that will be used in main() 51 * in call to sigwait immediately after timer is set in main() 54 if (sigemptyset(&set) == -1) { in main() 59 if (sigaddset(&set, SIGTOTEST) == -1) { in main() 64 if (sigprocmask(SIG_BLOCK, &set, NULL) == -1) { in main() 70 * set up timer to perform action SIGTOTEST on expiration in main() 99 if (sigwait(&set, &sig) == -1) { in main()
|
H A D | 2-1.c | 11 * - set up a timer with value.it_value = V and value.it_interval > 0 42 sigset_t set; in main() local 46 * set up signal set containing SIGTOTEST that will be used in main() 47 * in call to sigwait immediately after timer is set in main() 50 if (sigemptyset(&set) == -1) { in main() 55 if (sigaddset(&set, SIGTOTEST) == -1) { in main() 60 if (sigprocmask(SIG_BLOCK, &set, NULL) == -1) { in main() 66 * set up timer to perform action SIGTOTEST on expiration in main() 87 * - set ne in main() [all...] |
H A D | 3-3.c | 34 sigset_t set; in main() local 44 if (sigemptyset(&set) != 0) { in main() 49 if (sigaddset(&set, SIGTOTEST) != 0) { in main() 54 if (sigprocmask(SIG_SETMASK, &set, NULL) != 0) { in main() 65 * First set up timer to be blocked in main() 83 * Second, set value.it_value = 0 and set up handler to catch in main() 110 if (sigprocmask(SIG_UNBLOCK, &set, NULL) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
H A D | 4-1.c | 16 * - set time back to T0 49 sigset_t set; in main() local 59 * set up sigevent for timer in main() 60 * set up signal set for sigwait in main() 65 if (sigemptyset(&set) != 0) { in main() 70 if (sigaddset(&set, SIGTOTEST) != 0) { in main() 75 if (sigprocmask(SIG_BLOCK, &set, NULL) == -1) { in main() 107 if (sigwait(&set, &sig) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/ |
H A D | 7-1.c | 85 sigset_t set; in main() local 98 ret = sigemptyset(&set); in main() 101 UNRESOLVED(ret, "Failed to empty signal set"); in main() 107 ret = sigaddset(&set, i); in main() 110 UNRESOLVED(ret, "failed to add signal to signal set"); in main() 115 ret = pthread_sigmask(SIG_BLOCK, &set, NULL); in main() 150 ret = sigwait(&set, &sig); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/ |
H A D | 2-3.c | 50 sigset_t set; in main() 59 if (sigemptyset(&set) != 0) { in main() 64 if (sigaddset(&set, SIGCONT) != 0) { in main() 69 if (sigprocmask(SIG_SETMASK, &set, NULL) != 0) { in main() 143 if (sigprocmask(SIG_UNBLOCK, &set, NULL) != 0) { in main()
|
H A D | 1-1.c | 46 sigset_t set; in main() local 55 * set up handler for SIGTOTEST in main() 67 * set up timer to send SIGTOTEST in main() 87 if (sigemptyset(&set) != 0) { in main() 91 if (sigaddset(&set, SIGTOTEST) != 0) { in main() 95 if (sigprocmask(SIG_SETMASK, &set, NULL) != 0) { in main() 105 if (sigprocmask(SIG_UNBLOCK, &set, NULL) != 0) { in main()
|
/third_party/musl/libc-test/src/common/ |
H A D | runtest.c | 47 sigset_t set; in main() local 66 sigemptyset(&set); in main() 67 sigaddset(&set, SIGCHLD); in main() 68 sigprocmask(SIG_BLOCK, &set, 0); in main() 76 if (sigtimedwait(&set, 0, &(struct timespec){timeoutsec,0}) == -1) { in main()
|
/third_party/skia/third_party/externals/tint/src/utils/ |
H A D | unique_vector.h | 54 if (set.count(item) == 0) { in add() 56 set.emplace(item); in add() 64 bool contains(const T& item) const { return set.count(item); } in contains() 99 set.erase(el); in pop_back() 106 std::unordered_set<T, HASH, EQUAL> set; member
|
/third_party/skia/third_party/externals/freetype/builds/meson/ |
H A D | process_ftoption_h.py | 55 common_options = set(args.enable) & set(args.disable) 66 options_seen = set() 98 cmdline_options = set(args.enable) | set(args.disable)
|
/third_party/rust/crates/regex/tests/ |
H A D | set.rs | 46 let set = regex_set!(&["ab", "b"]); in regression_subsequent_matches() 48 assert!(set.matches(text).matched(1)); in regression_subsequent_matches() 49 assert!(set.matches(text).matched(1)); in regression_subsequent_matches() 54 let set = regex_set!(&["a", "b"]); in get_set_patterns() 55 assert_eq!(vec!["a", "b"], set.patterns()); in get_set_patterns()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | pm.h | 40 .set push 41 .set noreorder 60 .set pop 109 .set push 110 .set noreorder 115 .set pop
|
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/ |
H A D | snappercl15.c | 46 u16 set; in snappercl15_nand_cmd_ctrl() local 49 set = SNAPPERCL15_NAND_CEN | SNAPPERCL15_NAND_WPN; in snappercl15_nand_cmd_ctrl() 52 set &= ~SNAPPERCL15_NAND_CEN; in snappercl15_nand_cmd_ctrl() 54 set |= SNAPPERCL15_NAND_CLE; in snappercl15_nand_cmd_ctrl() 56 set |= SNAPPERCL15_NAND_ALE; in snappercl15_nand_cmd_ctrl() 61 nand_state |= set; in snappercl15_nand_cmd_ctrl()
|
/kernel/linux/linux-5.10/drivers/clk/sprd/ |
H A D | gate.c | 17 bool set = sg->flags & CLK_GATE_SET_TO_DISABLE ? true : false; in clk_gate_toggle() local 19 set ^= en; in clk_gate_toggle() 23 if (set) in clk_gate_toggle() 34 bool set = sg->flags & CLK_GATE_SET_TO_DISABLE ? 1 : 0; in clk_sc_gate_toggle() local 37 set ^= en; in clk_sc_gate_toggle() 40 * Each set/clear gate clock has three registers: in clk_sc_gate_toggle() 42 * common->reg + offset - set register in clk_sc_gate_toggle() 45 offset = set ? sg->sc_offset : sg->sc_offset * 2; in clk_sc_gate_toggle()
|
/kernel/linux/linux-6.6/arch/mips/include/asm/mach-loongson64/ |
H A D | kernel-entry-init.h | 20 .set push 21 .set mips64 44 .set pop 51 .set push 52 .set mips64 75 .set pop
|
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | pm.h | 40 .set push 41 .set noreorder 60 .set pop 109 .set push 110 .set noreorder 115 .set pop
|