Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 66) sorted by relevance

123

/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/common/
H A Ddfx_define.h73 #define LIKELY(exp) (__builtin_expect(!!(exp), true)) argument
76 #define UNLIKELY(exp) (__builtin_expect(!!(exp), false)) argument
91 #define OHOS_TEMP_FAILURE_RETRY(exp) \ argument
95 _rc = (long int)(exp); \
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dspring_model.cpp105 return (c1_ + c2_ * time) * exp(r_ * time); in Position()
110 const double power = exp(r_ * time); in Velocity()
135 return c1_ * exp(r1_ * time) + c2_ * exp(r2_ * time); in Position()
140 return c1_ * r1_ * exp(r1_ * time) + c2_ * r2_ * exp(r2_ * time); in Velocity()
164 return exp(r_ * time) * (c1_ * cos(w_ * time) + c2_ * sin(w_ * time)); in Position()
169 double power = exp(r_ * time); in Velocity()
/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/
H A DToneMapJS.cpp99 NapiApi::Object exp(env, exports); in Init() local
112 exp.Set("ToneMappingType", eType); in Init()
226 float exp = 0.0; in GetExposure() local
228 ExecSyncTask([toneMap, &exp]() { in GetExposure()
229 exp = toneMap->Exposure()->GetValue(); in GetExposure()
235 napi_status status = napi_create_double(ctx, exp, &value); in GetExposure()
241 float exp = ctx.Arg<0>(); in SetExposure() local
243 ExecSyncTask([toneMap, exp]() { in SetExposure()
244 toneMap->Exposure()->SetValue(exp); in SetExposure()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/process_group/include/
H A Dprocess_group_macro.h21 #define TEMP_FAILURE_RETRY(exp) \ argument
24 decltype(exp) __result; \
26 __result = (exp); \
/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_api_internal.h107 #define LIKELY(exp) (__builtin_expect((exp) != 0, true)) // NOLINT(cppcoreguidelines-macro-usage) argument
111 #define UNLIKELY(exp) (__builtin_expect((exp) != 0, false)) // NOLINT(cppcoreguidelines-macro-usag… argument
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dpubdef.h61 #define TEMP_FAILURE_RETRY(exp) \ argument
63 decltype(exp) _rc; \
65 _rc = (exp); \
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Djson_exporter.cpp26 Exporter exp; in Export() local
27 auto tree = exp.Export(object); in Export()
H A Dexporter.h81 ExportContext(Exporter& exp, const IObject::ConstPtr& p) : exporter_(exp), object_(p) {} in META_BEGIN_NAMESPACE()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_timer.c44 uint64_t exp; in TimerReadHandle() local
61 if (read(task->taskfd, &exp, sizeof(exp)) != (ssize_t)(sizeof(uint64_t))) { in TimerReadHandle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_expression.cpp224 bool CalculateFourOperationsExp(const std::string& exp, const Dimension& num1, const Dimension& num… in CalculateFourOperationsExp() argument
227 if (exp == "+") { in CalculateFourOperationsExp()
233 } else if (exp == "-") { in CalculateFourOperationsExp()
239 } else if (exp == "*") { in CalculateFourOperationsExp()
244 } else if (exp == "/") { in CalculateFourOperationsExp()
H A Dstring_expression.h42 bool CalculateFourOperationsExp(const std::string& exp, const Dimension& num1, const Dimension& num…
/ohos5.0/base/startup/hvb/libhvb/src/crypto/
H A Dhvb_rsa.c305 struct long_int_num *p_rr, uint32_t exp) in montgomery_mod_exp() argument
311 if ((exp & 1UL) == 0) { in montgomery_mod_exp()
331 i = byte2bit(sizeof(exp)) - 1; in montgomery_mod_exp()
333 if (exp & (1UL << i)) { in montgomery_mod_exp()
342 if (exp & (1UL << i)) { in montgomery_mod_exp()
H A Dhvb_rsa.h42 uint32_t exp);
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/
H A D_n_n_rt_v10.md134 …/>按元素计算Sigmoid激活函数。Sigmoid函数定义为:<br/>$ \text{Sigmoid}(x_i) = \frac{1}{1 + \exp(-x_i)} $<br/>其中$ x_…
136 …LU(x_{i}) = \begin{cases} x_i, &amp;\text{if } x_i \geq 0; \cr \alpha \* (\exp(x_i) - 1), &amp;\te…
141 …组数值使用来确保转换后输出结果均为正值。Softplus函数定义如下:<br/>$ \text{Softplus}(x_i) = \log(1 + \exp(x_i)) $<br/>其中,$ x_…
142 …br/>Tanh函数定义如下:<br/>$ tanh(x) = \frac{\exp(x_i) - \exp(-x_i)}{\exp(x_i) + \exp(-x_i)} = \frac{\exp
143 …* \begin{cases} x_{i}, &amp;\text{if } x_{i} \geq 0; \cr \text{alpha} \* (\exp(x_i) - 1), &amp;\te…
H A D_n_n_rt_v20.md133 …数。按元素计算Sigmoid激活函数。Sigmoid函数定义为:<br/>$ \text{Sigmoid}(x_i) = \frac{1}{1 + \exp(-x_i)} $<br/>其中$ x_…
135 …LU(x_{i}) = \begin{cases} x_i, &amp;\text{if } x_i \geq 0; \cr \alpha \* (\exp(x_i) - 1), &amp;\te…
140 …组数值使用来确保转换后输出结果均为正值。Softplus函数定义如下:<br/>$ \text{Softplus}(x_i) = \log(1 + \exp(x_i)) $<br/>其中,$ x_…
141 …活函数。Tanh函数定义如下:<br/>$ tanh(x) = \frac{\exp(x_i) - \exp(-x_i)}{\exp(x_i) + \exp(-x_i)} = \frac{\exp
142 …* \begin{cases} x_{i}, &amp;\text{if } x_{i} \geq 0; \cr \text{alpha} \* (\exp(x_i) - 1), &amp;\te…
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_egl_image_manager.cpp36 #define RS_ASSERT(exp) (void)((exp)) argument
38 #define RS_ASSERT(exp) assert((exp))
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/texture_encode/
H A Dcommon.h111 int HWE_ReturnIfCheck(int32_t ret, int32_t exp, const char* msg) in HWE_ReturnIfCheck() argument
117 if (ret != exp) { in HWE_ReturnIfCheck()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_common_def.h67 #define LIKELY(exp) (__builtin_expect((exp) != 0, true)) argument
68 #define UNLIKELY(exp) (__builtin_expect((exp) != 0, false)) argument
/ohos5.0/foundation/resourceschedule/ffrt/src/tm/
H A Dcpu_task.cpp60 auto exp = ffrt::SkipStatus::SUBMITTED; in Execute() local
61 if (likely(__atomic_compare_exchange_n(&skipped, &exp, ffrt::SkipStatus::EXECUTED, 0, in Execute()
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
H A Dhuks_adapter_test.cpp791 struct var_buffer exp; variable
792 exp.length = 1;
793 exp.data[0] = 0;
815 struct var_buffer exp; variable
816 exp.length = 11;
817 exp.data[0] = 0;
821 int32_t result = cal_bignum_exp(&base, &exp, 0, &out_result);
823 result = cal_bignum_exp(&base, &exp, 1000, &out_result);
837 struct var_buffer exp; variable
838 exp.length = 1;
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/adapter/huks/src/
H A Dsoftbus_rsa_encrypt.c214 const BIGNUM *exp = RSA_get0_e(rsa); in EncryptByPublicKey() local
215 if ((BN_num_bits(modNum) > OPENSSL_RSA_MAX_MODULUS_BITS) || (BN_ucmp(modNum, exp) <= 0) || in EncryptByPublicKey()
216 …((BN_num_bits(modNum) > OPENSSL_RSA_SMALL_MODULUS_BITS) && (BN_num_bits(exp) > OPENSSL_RSA_MAX_PUB… in EncryptByPublicKey()
233 BN_mod_exp_mont(result, base, exp, modNum, ctx, NULL); in EncryptByPublicKey()
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_dl_common/
H A Dpake_protocol_dl_common.c138 Uint8Buff exp = { expVal, PAKE_DL_EXP_LEN }; in GenerateDlPakeParams() local
141 res = params->loader->bigNumExpMod(secret, &exp, params->largePrimeNumHex, &params->base); in GenerateDlPakeParams()
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/
H A Dpake_client.c224 struct exponent exp = {.length = 1}; in parse_start_response_data() local
226 exp.exp[0] = 2; /* square */ in parse_start_response_data()
229 …ret = cal_bignum_exp((struct var_buffer *)&secret, (struct var_buffer *)&exp, prime_len, (struct b… in parse_start_response_data()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_brdf_common.h55 return (sin4h + 4.0 * exp(-cos2h / (sin2h * r2))) / (CORE_BRDF_PI * (1.0 + 4.0 * r2) * sin4h); in dAshikhmin()
84 return 0.6558446 * c3 + 1.0 / (4.1652655 + exp(-7.9729136 * alpha + 6.3351689)); in EnvBRDFApproxSheen()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_spring_model.h80 double coeffDecay = exp(coeffDecay_ * time); in CalculateDisplacement()
91 double coeffDecayAlt = exp(coeffDecayAlt_ * time); in CalculateDisplacement()

123