/third_party/libuv/src/unix/ |
D | signal.c | 37 int signum; member 46 int signum, 51 static void uv__signal_unregister_handler(int signum); 165 static uv_signal_t* uv__signal_first_handle(int signum) { in uv__signal_first_handle() argument 170 lookup.signum = signum; in uv__signal_first_handle() 176 if (handle != NULL && handle->signum == signum) in uv__signal_first_handle() 183 static void uv__signal_handler(int signum) { in uv__signal_handler() argument 196 for (handle = uv__signal_first_handle(signum); in uv__signal_handler() 197 handle != NULL && handle->signum == signum; in uv__signal_handler() 201 msg.signum = signum; in uv__signal_handler() [all …]
|
/third_party/libuv/src/win/ |
D | signal.c | 39 int signum, 57 if (w1->signum < w2->signum) return -1; in uv__signal_compare() 58 if (w1->signum > w2->signum) return 1; in uv__signal_compare() 80 int uv__signal_dispatch(int signum) { in RB_GENERATE_STATIC() 89 lookup.signum = signum; in RB_GENERATE_STATIC() 93 handle != NULL && handle->signum == signum; in RB_GENERATE_STATIC() 96 (volatile LONG*) &handle->pending_signum, signum); in RB_GENERATE_STATIC() 150 handle->signum = 0; in uv_signal_init() 164 if (handle->signum == 0) in uv_signal_stop() 174 handle->signum = 0; in uv_signal_stop() [all …]
|
/third_party/python/Modules/ |
D | faulthandler.c | 44 int signum; member 105 static void faulthandler_user(int signum); 303 (void)sigaction(handler->signum, &handler->previous, NULL); in faulthandler_disable_fatal_handler() 305 (void)signal(handler->signum, handler->previous); in faulthandler_disable_fatal_handler() 324 faulthandler_fatal_error(int signum) in faulthandler_fatal_error() argument 336 if (handler->signum == signum) in faulthandler_fatal_error() 358 if (signum == SIGSEGV) { in faulthandler_fatal_error() 366 raise(signum); in faulthandler_fatal_error() 420 if (handler->signum == SIGSEGV) { in faulthandler_exc_handler() 500 err = sigaction(handler->signum, &action, &handler->previous); in faulthandler_enable() [all …]
|
D | signalmodule.c | 941 PyObject *signum, *result; local 957 signum = PyLong_FromLong(sig); 958 if (signum == NULL) { 962 if (PySet_Add(result, signum) == -1) { 963 Py_DECREF(signum); 967 Py_DECREF(signum); 1054 int err, signum; local 1057 err = sigwait(&sigset, &signum); 1064 return PyLong_FromLong(signum); 1585 for (int signum = 1; signum < NSIG; signum++) { local [all …]
|
/third_party/node/src/ |
D | signal_wrap.cc | 40 void DecreaseSignalHandlerCount(int signum); 90 DecreaseSignalHandlerCount(handle_.signum); in Close() 100 int signum; in Start() local 101 if (!args[0]->Int32Value(env->context()).To(&signum)) return; in Start() 103 if (signum == SIGPROF) { in Start() 114 [](uv_signal_t* handle, int signum) { in Start() argument 119 Local<Value> arg = Integer::New(env->isolate(), signum); in Start() 122 signum); in Start() 128 handled_signals[signum]++; in Start() 140 DecreaseSignalHandlerCount(wrap->handle_.signum); in Stop() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/ptrace/ |
D | ptrace05.c | 58 int signum; in main() local 73 for (signum = start_signum; signum <= end_signum; signum++) { in main() 75 if (signum >= __SIGRTMIN && signum < SIGRTMIN) in main() 85 signum); in main() 86 if (kill(getpid(), signum) < 0) { in main() 89 signum); in main() 104 exit((signum == 0 ? 0 : 2)); in main() 111 switch (signum) { in main()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | AdoptingModifierStore.java | 52 public void setModifier(Signum signum, StandardPlural plural, Modifier mod) { in setModifier() argument 54 mods[getModIndex(signum, plural)] = mod; in setModifier() 61 public Modifier getModifierWithoutPlural(Signum signum) { in getModifierWithoutPlural() argument 64 assert signum != null; in getModifierWithoutPlural() 65 switch (signum) { in getModifierWithoutPlural() 80 public Modifier getModifier(Signum signum, StandardPlural plural) { in getModifier() argument 83 return mods[getModIndex(signum, plural)]; in getModifier() 86 private static int getModIndex(Signum signum, StandardPlural plural) { in getModIndex() argument 87 assert signum != null; in getModIndex() 89 return plural.ordinal() * Signum.COUNT + signum.ordinal(); in getModIndex()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | AdoptingModifierStore.java | 54 public void setModifier(Signum signum, StandardPlural plural, Modifier mod) { in setModifier() argument 56 mods[getModIndex(signum, plural)] = mod; in setModifier() 63 public Modifier getModifierWithoutPlural(Signum signum) { in getModifierWithoutPlural() argument 66 assert signum != null; in getModifierWithoutPlural() 67 switch (signum) { in getModifierWithoutPlural() 82 public Modifier getModifier(Signum signum, StandardPlural plural) { in getModifier() argument 85 return mods[getModIndex(signum, plural)]; in getModifier() 88 private static int getModIndex(Signum signum, StandardPlural plural) { in getModIndex() argument 89 assert signum != null; in getModIndex() 91 return plural.ordinal() * Signum.COUNT + signum.ordinal(); in getModIndex()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | kill.c | 59 int signum; local 66 int signum = sig_to_num(*args); local 69 if (signum>=0) s = num_to_sig(signum&127); 71 else printf("%d\n", signum); 85 if (!arg || -1 == (signum = sig_to_num(arg))) 87 } else signum = SIGTERM; 128 kill(procpid, signum); 145 if (*tmp || kill(pid, signum) < 0) error_msg("unknown pid '%s'", arg);
|
/third_party/toybox/toys/posix/ |
D | kill.c | 60 int signum; local 67 int signum = sig_to_num(*args); local 70 if (signum>=0) s = num_to_sig(signum&127); 72 else printf("%d\n", signum); 88 if (!arg || -1 == (signum = sig_to_num(arg))) 90 } else signum = SIGTERM; 134 kill(procpid, signum); 149 if (*tmp || kill(pid, signum) < 0) error_msg("unknown pid '%s'", arg);
|
/third_party/libuv/test/ |
D | test-signal.c | 47 static void signum_test_cb(uv_signal_t* handle, int signum) { in signum_test_cb() argument 89 int signum; member 96 int signum; member 101 static void signal_cb(uv_signal_t* handle, int signum) { in signal_cb() argument 103 ASSERT(signum == ctx->signum); in signal_cb() 114 static void signal_cb_one_shot(uv_signal_t* handle, int signum) { in signal_cb_one_shot() argument 116 ASSERT(signum == ctx->signum); in signal_cb_one_shot() 126 raise(ctx->signum); in timer_cb() 134 int signum, in start_watcher() argument 138 ctx->signum = signum; in start_watcher() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | number_modifiers.h | 292 void adoptModifier(Signum signum, StandardPlural::Form plural, const Modifier *mod) { in adoptModifier() argument 293 U_ASSERT(mods[getModIndex(signum, plural)] == nullptr); in adoptModifier() 294 mods[getModIndex(signum, plural)] = mod; in adoptModifier() 301 void adoptModifierWithoutPlural(Signum signum, const Modifier *mod) { in adoptModifierWithoutPlural() argument 302 U_ASSERT(mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] == nullptr); in adoptModifierWithoutPlural() 303 mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] = mod; in adoptModifierWithoutPlural() 307 const Modifier *getModifier(Signum signum, StandardPlural::Form plural) const U_OVERRIDE { in getModifier() argument 308 const Modifier* modifier = mods[getModIndex(signum, plural)]; in getModifier() 310 modifier = mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifier() 316 const Modifier *getModifierWithoutPlural(Signum signum) const { in getModifierWithoutPlural() argument [all …]
|
D | units_converter.cpp | 148 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement() argument 173 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement() 181 Signum signum = Signum::POSITIVE; in extractFactorConversions() local 186 addFactorElement(result, factorElement, signum, status); in extractFactorConversions() 191 addFactorElement(result, stringFactor.substr(start, i + 1), signum, status); in extractFactorConversions() 195 signum = Signum::NEGATIVE; // Change the signum because we reached the Denominator. in extractFactorConversions() 364 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum signum, in addSingleFactorConstant() argument 367 factor.constantExponents[CONSTANT_FT2M] += power * signum; in addSingleFactorConstant() 369 factor.constantExponents[CONSTANT_FT2M] += 2 * power * signum; in addSingleFactorConstant() 371 factor.constantExponents[CONSTANT_FT2M] += 3 * power * signum; in addSingleFactorConstant() [all …]
|
D | number_patternmodifier.cpp | 48 void MutablePatternModifier::setNumberProperties(Signum signum, StandardPlural::Form plural) { in setNumberProperties() argument 49 fSignum = signum; in setNumberProperties() 139 micros.modMiddle = pm->getModifierWithoutPlural(quantity.signum()); in applyToMicros() 142 micros.modMiddle = pm->getModifier(quantity.signum(), pluralForm); in applyToMicros() 146 const Modifier* ImmutablePatternModifier::getModifier(Signum signum, StandardPlural::Form plural) c… in getModifier() argument 148 return pm->getModifierWithoutPlural(signum); in getModifier() 150 return pm->getModifier(signum, plural); in getModifier() 177 nonConstThis->setNumberProperties(fq.signum(), pluralForm); in processQuantity() 179 nonConstThis->setNumberProperties(fq.signum(), StandardPlural::Form::COUNT); in processQuantity()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | number_modifiers.h | 292 void adoptModifier(Signum signum, StandardPlural::Form plural, const Modifier *mod) { in adoptModifier() argument 293 U_ASSERT(mods[getModIndex(signum, plural)] == nullptr); in adoptModifier() 294 mods[getModIndex(signum, plural)] = mod; in adoptModifier() 301 void adoptModifierWithoutPlural(Signum signum, const Modifier *mod) { in adoptModifierWithoutPlural() argument 302 U_ASSERT(mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] == nullptr); in adoptModifierWithoutPlural() 303 mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] = mod; in adoptModifierWithoutPlural() 307 const Modifier *getModifier(Signum signum, StandardPlural::Form plural) const U_OVERRIDE { in getModifier() argument 308 const Modifier* modifier = mods[getModIndex(signum, plural)]; in getModifier() 310 modifier = mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifier() 316 const Modifier *getModifierWithoutPlural(Signum signum) const { in getModifierWithoutPlural() argument [all …]
|
D | units_converter.cpp | 148 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement() argument 173 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement() 181 Signum signum = Signum::POSITIVE; in extractFactorConversions() local 186 addFactorElement(result, factorElement, signum, status); in extractFactorConversions() 191 addFactorElement(result, stringFactor.substr(start, i + 1), signum, status); in extractFactorConversions() 195 signum = Signum::NEGATIVE; // Change the signum because we reached the Denominator. in extractFactorConversions() 364 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum signum, in addSingleFactorConstant() argument 367 factor.constantExponents[CONSTANT_FT2M] += power * signum; in addSingleFactorConstant() 369 factor.constantExponents[CONSTANT_FT2M] += 2 * power * signum; in addSingleFactorConstant() 371 factor.constantExponents[CONSTANT_FT2M] += 3 * power * signum; in addSingleFactorConstant() [all …]
|
D | number_patternmodifier.cpp | 48 void MutablePatternModifier::setNumberProperties(Signum signum, StandardPlural::Form plural) { in setNumberProperties() argument 49 fSignum = signum; in setNumberProperties() 139 micros.modMiddle = pm->getModifierWithoutPlural(quantity.signum()); in applyToMicros() 142 micros.modMiddle = pm->getModifier(quantity.signum(), pluralForm); in applyToMicros() 146 const Modifier* ImmutablePatternModifier::getModifier(Signum signum, StandardPlural::Form plural) c… in getModifier() argument 148 return pm->getModifierWithoutPlural(signum); in getModifier() 150 return pm->getModifier(signum, plural); in getModifier() 177 nonConstThis->setNumberProperties(fq.signum(), pluralForm); in processQuantity() 179 nonConstThis->setNumberProperties(fq.signum(), StandardPlural::Form::COUNT); in processQuantity()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | number_modifiers.h | 292 void adoptModifier(Signum signum, StandardPlural::Form plural, const Modifier *mod) { in adoptModifier() argument 293 U_ASSERT(mods[getModIndex(signum, plural)] == nullptr); in adoptModifier() 294 mods[getModIndex(signum, plural)] = mod; in adoptModifier() 301 void adoptModifierWithoutPlural(Signum signum, const Modifier *mod) { in adoptModifierWithoutPlural() argument 302 U_ASSERT(mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] == nullptr); in adoptModifierWithoutPlural() 303 mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] = mod; in adoptModifierWithoutPlural() 307 const Modifier *getModifier(Signum signum, StandardPlural::Form plural) const U_OVERRIDE { in getModifier() argument 308 const Modifier* modifier = mods[getModIndex(signum, plural)]; in getModifier() 310 modifier = mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifier() 316 const Modifier *getModifierWithoutPlural(Signum signum) const { in getModifierWithoutPlural() argument [all …]
|
D | units_converter.cpp | 148 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement() argument 173 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement() 181 Signum signum = Signum::POSITIVE; in extractFactorConversions() local 186 addFactorElement(result, factorElement, signum, status); in extractFactorConversions() 191 addFactorElement(result, stringFactor.substr(start, i + 1), signum, status); in extractFactorConversions() 195 signum = Signum::NEGATIVE; // Change the signum because we reached the Denominator. in extractFactorConversions() 364 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum signum, in addSingleFactorConstant() argument 367 factor.constantExponents[CONSTANT_FT2M] += power * signum; in addSingleFactorConstant() 369 factor.constantExponents[CONSTANT_FT2M] += 2 * power * signum; in addSingleFactorConstant() 371 factor.constantExponents[CONSTANT_FT2M] += 3 * power * signum; in addSingleFactorConstant() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | number_modifiers.h | 292 void adoptModifier(int8_t signum, StandardPlural::Form plural, const Modifier *mod) { in adoptModifier() argument 293 U_ASSERT(mods[getModIndex(signum, plural)] == nullptr); in adoptModifier() 294 mods[getModIndex(signum, plural)] = mod; in adoptModifier() 301 void adoptModifierWithoutPlural(int8_t signum, const Modifier *mod) { in adoptModifierWithoutPlural() argument 302 U_ASSERT(mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] == nullptr); in adoptModifierWithoutPlural() 303 mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] = mod; in adoptModifierWithoutPlural() 307 const Modifier *getModifier(int8_t signum, StandardPlural::Form plural) const U_OVERRIDE { in getModifier() argument 308 const Modifier* modifier = mods[getModIndex(signum, plural)]; in getModifier() 310 modifier = mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifier() 316 const Modifier *getModifierWithoutPlural(int8_t signum) const { in getModifierWithoutPlural() argument [all …]
|
D | number_patternmodifier.cpp | 45 void MutablePatternModifier::setNumberProperties(int8_t signum, StandardPlural::Form plural) { in setNumberProperties() argument 46 fSignum = signum; in setNumberProperties() 134 micros.modMiddle = pm->getModifierWithoutPlural(quantity.signum()); in applyToMicros() 140 micros.modMiddle = pm->getModifier(quantity.signum(), plural); in applyToMicros() 144 const Modifier* ImmutablePatternModifier::getModifier(int8_t signum, StandardPlural::Form plural) c… in getModifier() argument 146 return pm->getModifierWithoutPlural(signum); in getModifier() 148 return pm->getModifier(signum, plural); in getModifier() 169 nonConstThis->setNumberProperties(fq.signum(), utils::getStandardPlural(fRules, copy)); in processQuantity() 171 nonConstThis->setNumberProperties(fq.signum(), StandardPlural::Form::COUNT); in processQuantity()
|
/third_party/rust/crates/num-traits/src/ |
D | sign.rs | 35 fn signum(&self) -> Self; in signum() method 58 fn signum(&self) -> $t { 95 fn signum(&self) -> Self { in signum() function 96 Wrapping(self.0.signum()) in signum() 137 fn signum(&self) -> $t { 138 FloatCore::signum(*self) 192 pub fn signum<T: Signed>(value: T) -> T { in signum() function 193 value.signum() in signum()
|
/third_party/musl/src/string/ |
D | strsignal.c | 116 char *strsignal(int signum) in strsignal() argument 120 signum = sigmap(signum); in strsignal() 121 if (signum - 1U >= _NSIG-1) signum = 0; in strsignal() 123 for (; signum--; s++) for (; *s; s++); in strsignal()
|
/third_party/ltp/include/lapi/ |
D | safe_rt_signal.h | 12 int signum, const struct sigaction *act, in safe_rt_sigaction() argument 17 ret = ltp_rt_sigaction(signum, act, oact, sigsetsize); in safe_rt_sigaction() 22 signum, act, oact, sigsetsize); in safe_rt_sigaction() 26 signum, act, oact, sigsetsize, ret); in safe_rt_sigaction() 32 #define SAFE_RT_SIGACTION(signum, act, oldact, sigsetsize) \ argument 33 safe_rt_sigaction(__FILE__, __LINE__, signum, act, oldact, sigsetsize)
|
/third_party/toybox/toys/lsb/ |
D | killall.c | 31 int signum; 50 kill(pid, TT.signum); 66 printf("Killed %s(%d) with signal %d\n", name, pid, TT.signum); 76 TT.signum = SIGTERM; in killall_main() 84 if (0 > (TT.signum = sig_to_num(TT.s ? TT.s : (*TT.names)+1))) { in killall_main()
|