/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()
|
/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/ |
H A D | editabletitlebar.js | 17 Reflect.set(ViewPU.prototype, 'finalizeConstruction', () => { }); 195 set editableTitleBarTheme(i10) { 196 this.__editableTitleBarTheme.set(i10); 201 set contentMargin(h10) { 202 this.__contentMargin.set(h10); 207 set titleBarMargin(g10) { 208 this.__titleBarMargin.set(g10); 213 set fontSize(e10) { 214 this.__fontSize.set(e10); 558 this.__fontSize.set( [all...] |
/third_party/curl/lib/ |
H A D | http.c | 203 for(head = (conn->bits.proxy && data->set.sep_headers) ? in Curl_checkProxyheaders() 204 data->set.proxyheaders : data->set.headers; in Curl_checkProxyheaders() 344 data->set.str[STRING_BEARER]); in http_output_bearer() 557 * which one (if any) to use. It will set 'newurl' if an auth method was 569 if(!data->set.str[STRING_BEARER]) in Curl_http_auth_act() 577 return data->set.http_fail_on_error?CURLE_HTTP_RETURNED_ERROR:CURLE_OK; in Curl_http_auth_act() 579 if((data->state.aptr.user || data->set.str[STRING_BEARER]) && in Curl_http_auth_act() 728 /* NOTE: this function should set 'done' TRUE, as the other auth in output_auth_headers() 736 if((!proxy && data->set in output_auth_headers() [all...] |
/foundation/multimedia/audio_framework/services/audio_service/server/src/config/ |
H A D | audio_param_parser.cpp | 38 std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioParameterKeys) in LoadConfiguration() 82 std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioParameterKeys) in ParseInternal() 103 std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioParameterKeys) in ParseMainKeys() 115 std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioParameterKeys) in ParseMainKey() 133 std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioParameterKeys) in ParseSubKeys() 135 std::unordered_map<std::string, std::set<std::string>> subKeyMap = {}; in ParseSubKeys() 136 std::set<std::string> supportedUsage; in ParseSubKeys()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | r2300_fpu.S | 36 .set mips1 55 .set noreorder 66 .set push 88 .set pop 100 .set push 122 .set pop 124 .set reorder
|
/kernel/linux/linux-6.6/arch/arm/mach-rpc/ |
H A D | irq.c | 168 unsigned int irq, clr, set; in rpc_init_irq() local 182 set = 0; in rpc_init_irq() 189 set |= IRQ_NOAUTOEN; in rpc_init_irq() 195 irq_modify_status(irq, clr, set); in rpc_init_irq() 203 irq_modify_status(irq, clr, set); in rpc_init_irq() 211 irq_modify_status(irq, clr, set); in rpc_init_irq() 218 irq_modify_status(irq, clr, set); in rpc_init_irq()
|
/third_party/icu/icu4c/source/samples/dtitvfmtsample/ |
H A D | dtitvfmtsample.cpp | 37 cal->set(2007,10,10,10,10,10); in dtitvfmtPreDefined() 39 cal->set(2008,10,10,10,10,10); in dtitvfmtPreDefined() 41 cal->set(2008,11,10,10,10,10); in dtitvfmtPreDefined() 43 cal->set(2008,11,10,15,10,10); in dtitvfmtPreDefined() 98 cal1->set(2007,9,10,10,10,10); in dtitvfmtCustomized() 100 cal2->set(2007,10,10,10,10,10); in dtitvfmtCustomized() 102 cal3->set(2007,10,10,22,10,10); in dtitvfmtCustomized()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | get_hash_generator.py | 45 gl_apis=set(["GL", "GL_CORE", "GLES", "GLES2", "GLES3", "GLES31", "GLES32"]) 148 if set(["apis", "params"]) != set(param_block): 150 (", ".join(set(["apis", "params"]) - set(param_block)), 153 valid_apis = set(param_block["apis"]) 217 enabled_apis = set(["GLES", "GLES2", "GLES3", "GLES31", "GLES32",
|