Home
last modified time | relevance | path

Searched refs:set (Results 1951 - 1975 of 10745) sorted by relevance

1...<<71727374757677787980>>...430

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
H A DAbstractBreakIteratorTests.java26 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 Dmap-prototype-foreach.js20 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 Dsigaction.c13 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 Dmalloc-overflow-check.c69 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 Dmalloc-double-free-check.c58 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 Dsigaction.c37 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 Dsigaction.c37 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 Drt_sigprocmask01.c25 /* 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 Dsigprocmask01.c31 * 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 D9-1.c43 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 D2-1.c11 * - 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 D3-3.c34 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 D4-1.c16 * - 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 D7-1.c85 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 D2-3.c50 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 D1-1.c46 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 Druntest.c47 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 Dunique_vector.h54 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 Dprocess_ftoption_h.py55 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 Dset.rs46 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()
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/
H A Dtrigger_db_helper.h36 bool GetVendorUuid(std::shared_ptr<OHOS::NativeRdb::AbsSharedResultSet> &set, int32_t &vendorUuid) const;
37 bool GetBlob(std::shared_ptr<OHOS::NativeRdb::AbsSharedResultSet> &set, std::vector<uint8_t> &data) const;
38 bool GetModelVersion(std::shared_ptr<OHOS::NativeRdb::AbsSharedResultSet> &set, int32_t &version) const;
39 bool GetModelType(std::shared_ptr<OHOS::NativeRdb::AbsSharedResultSet> &set, int32_t &type) const;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/
H A D1-2.c47 sigset_t set; in main() local
49 if (sigemptyset(&set) == -1) { in main()
54 if (sigaddset(&set, SIGTOTEST) == -1) { in main()
68 if (0 != sigwait(&set, &sig)) { in main()
/third_party/typescript/tests/baselines/reference/
H A DsuperPropertyAccess_ES6.js22 set property(value: string) { this._property = value }
26 set property(value: string) {
47 set property(value) { this._property = value; }
50 set property(value) {
H A DclassPropertyAsPrivate.js5 private set y(x) { }
10 private static set b(x) { }
32 set: function (x) { },
39 set: function (x) { },
H A DclassPropertyAsProtected.js5 protected set y(x) { }
10 protected static set b(x) { }
32 set: function (x) { },
39 set: function (x) { },

Completed in 9 milliseconds

1...<<71727374757677787980>>...430