Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 243) sorted by relevance

12345678910

/base/update/updater/test/unittest/test_data/src/
Dtestscript.us3 b = 5 + 6;
4 c = (a + b) * (a - b);
8 if (a == b) {
14 function computer(a, b, c) {
15 f = a + b;
16 return f, a, b;
20 f = a + b;
21 return f, a, b;
Dtest_script.us1 function Add(a, b, c)
3 Stdout("Test Add ", a, b, c);
4 a = a + b;
15 function Sub(a, b, c)
17 Stdout("Test Sub ", a, b, c);
18 a = a - b;
26 function Mul(a, b, c)
28 Stdout("Test Mul ", a, b, c);
29 a = a * b;
37 function Div(a, b, c)
[all …]
Dtest_native.us3 b = 5 + 6;
4 c = (a + b) * (a - b);
8 if (a == b) {
17 function computer(a, b, c) {
18 f = a + b;
19 return f, a, b;
23 f = a + b;
24 return f, a, b;
Dtest_if.us3 b = 5 + 6;
4 c = (a + b) * (a - b);
7 function computer(a, b, c) {
8 if (a == b) {
12 return b, c;
14 return a, b;
16 return c, b;
19 Stdout("a,b,c = ", computer(2,3,2), e);
Dtest_function.us3 function computer(a, b, c) {
4 f = a + b;
5 return f, a, b;
10 f = a + b;
11 return f, a, b;
Dtest_math.us4 b = 5 + 6;
5 c = (a + b) * (a - b);
7 f = (a + b) / (a - 3);
17 Stdout(a, b, c, f);
/base/update/updater/test/fuzztest/fuzz_src_data/
Dtestscript.us3 b = 5 + 6;
4 c = (a + b) * (a - b);
8 if (a == b) {
14 function computer(a, b, c) {
15 f = a + b;
16 return f, a, b;
20 f = a + b;
21 return f, a, b;
Dtest_script.us1 function Add(a, b, c)
3 Stdout("Test Add ", a, b, c);
4 a = a + b;
15 function Sub(a, b, c)
17 Stdout("Test Sub ", a, b, c);
18 a = a - b;
26 function Mul(a, b, c)
28 Stdout("Test Mul ", a, b, c);
29 a = a * b;
37 function Div(a, b, c)
[all …]
Dtest_native.us3 b = 5 + 6;
4 c = (a + b) * (a - b);
8 if (a == b) {
17 function computer(a, b, c) {
18 f = a + b;
19 return f, a, b;
23 f = a + b;
24 return f, a, b;
Dtest_if.us3 b = 5 + 6;
4 c = (a + b) * (a - b);
7 function computer(a, b, c) {
8 if (a == b) {
12 return b, c;
14 return a, b;
16 return c, b;
19 Stdout("a,b,c = ", computer(2,3,2), e);
Dtest_function.us3 function computer(a, b, c) {
4 f = a + b;
5 return f, a, b;
10 f = a + b;
11 return f, a, b;
Dtest_math.us4 b = 5 + 6;
5 c = (a + b) * (a - b);
7 f = (a + b) / (a - 3);
17 Stdout(a, b, c, f);
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dcrypto_hash_to_point.c112 const struct CurveConstPara *curvePara, BIGNUM *b, BN_CTX *ctx) in CurveHashToPointCalcB() argument
120 if (BN_mul(b, swap, swap, ctx) <= 0) { in CurveHashToPointCalcB()
123 if (BN_mod(b, b, curvePara->p, ctx) <= 0) { in CurveHashToPointCalcB()
126 if (BN_mul(swap, b, curvePara->u, ctx) <= 0) { in CurveHashToPointCalcB()
132 if (BN_add(b, swap, curvePara->one) <= 0) { in CurveHashToPointCalcB()
135 if (BN_mod(b, b, curvePara->p, ctx) <= 0) { in CurveHashToPointCalcB()
138 if (BN_mod_inverse(swap, b, curvePara->p, ctx) <= 0) { in CurveHashToPointCalcB()
141 if (BN_mul(b, swap, curvePara->minusA, ctx) <= 0) { in CurveHashToPointCalcB()
144 if (BN_mod(b, b, curvePara->p, ctx) <= 0) { in CurveHashToPointCalcB()
153 static int32_t CurveHashToPointCalcA(const BIGNUM *b, in CurveHashToPointCalcA() argument
[all …]
/base/hiviewdfx/hiview/test/resource/base/
Devent_logger_config2 event id="" name="UI_BLOCK_3S" action="s,b,pb:1" interval="20"
4 event id="" name="FWK_BLOCK" action="b,s=1,n=2,pb:0" interval="30"
5 event id="" name="XCOLLIE" action="b,s" interval="0"
7 event id="" name="RESUME01" action="b,s=123,n=cb2,pb:0" interval="40"
8 event id="" name="RESUME02 " action="b,s=1456,n=pdc,pb:0" interval="30"
9 event id="" name="RESUME03" action="b,s=332,m=sd:2.2.10;tr56,pb:0" interval="87"
10 event id="" name="RESUME04" action="b,s=42,n=a,pb:0" interval="a16"
11 event id="0x123" name="RESUME05" action="b,s=1456,n=pdc,pb:0"interval="31" qwead
/base/security/asset/services/db_operator/src/
Dstatement.rs50 pub(crate) struct Statement<'b> {
52 db: &'b Database,
56 impl<'b> Statement<'b> {
58 pub(crate) fn prepare(sql: &str, db: &'b Database) -> Result<Statement<'b>> { in prepare() argument
106 …Value::Bytes(b) => unsafe { SqliteBindBlob(self.handle as _, index, b.as_ptr(), b.len() as _, None… in bind_data()
108 Value::Bool(b) => unsafe { SqliteBindInt64(self.handle as _, index, *b as _) }, in bind_data()
179 impl<'b> Drop for Statement<'b> {
/base/security/security_component_manager/frameworks/common/src/
Dsec_comp_tool.cpp41 static inline double MaxValue(double a, double b, double c) in MaxValue() argument
43 return ((a > b) ? ((a > c) ? a : c) : ((b > c) ? b : c)); in MaxValue()
46 static inline double MinValue(double a, double b, double c) in MinValue() argument
48 return ((a < b) ? ((a < c) ? a : c) : ((b < c) ? b : c)); in MinValue()
57 static HsvColor RgbToHsv(uint8_t r, uint8_t g, uint8_t b) in RgbToHsv() argument
62 double blue = static_cast<double>(b) / MAX_RGB_VALUE; in RgbToHsv()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
Dcert_manager_status.h61 #define CM_BLOB(b) (struct CmBlob) { .size = (b)->size, .data = (uint8_t *) (b)->data } argument
63 #define HKS_BLOB(b) (struct HksBlob) { .size = (b)->size, .data = (uint8_t *) (b)->data } argument
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_ed25519tox25519.c174 if (var->b != NULL) { in FreeLocalBigVar()
175 BN_free(var->b); in FreeLocalBigVar()
176 var->b = NULL; in FreeLocalBigVar()
195 var->b = BN_new(); in Curve25519LocalVar()
196 if (var->b == NULL) { in Curve25519LocalVar()
223 if (BN_mod_add(var->b, var->b, tmpOne, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
226 if (BN_mod_exp(var->c, var->b, curve25519->negativeTwo, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
229 if (BN_mod_add(var->b, var->a, curve25519->negativeOne, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
232 if (BN_mod_mul(var->a, var->b, var->c, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
238 if (BN_mod_exp(var->b, var->a, curve25519->negativeOneDivideTwo, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
[all …]
/base/hiviewdfx/faultloggerd/common/cutil/
Dmusl_cutil.h101 char b; in GetRealPid() local
104 nRead = OHOS_TEMP_FAILURE_RETRY(read(fd, &b, sizeof(char))); in GetRealPid()
105 if (nRead <= 0 || b == '\0') { in GetRealPid()
109 if (b == '\n' || i == LINE_BUF_SIZE) { in GetRealPid()
118 buf[i] = b; in GetRealPid()
Ddfx_cutil.c102 char b; in GetRealPid() local
104 ssize_t nRead = OHOS_TEMP_FAILURE_RETRY(read(fd, &b, sizeof(char))); in GetRealPid()
105 if (nRead <= 0 || b == '\0') { in GetRealPid()
109 if (b == '\n' || i == LINE_BUF_SIZE) { in GetRealPid()
118 buf[i] = b; in GetRealPid()
/base/web/webview/ohos_nweb/include/
Dnweb_value.h32 bool b; member
39 data_union(bool value) : b(value) in data_union()
86 data_.b = value.data_.b; in NWebValue()
133 data_.b = value.data_.b;
167 std::swap(data_.b, value.data_.b);
202 return data_.b == oVal.data_.b;
283 return data_.b; in GetBoolean()
286 void SetBoolean(bool b) in SetBoolean() argument
289 data_.b = b; in SetBoolean()
/base/powermgr/powermgr_lite/frameworks/include/
Drunning_lock_entry.h52 …c inline BOOL IsSameRunningLockIdentity(const RunningLockIdentity *a, const RunningLockIdentity *b) in IsSameRunningLockIdentity() argument
54 return ((a->pid == b->pid) && (a->token == b->token)) ? TRUE : FALSE; in IsSameRunningLockIdentity()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
Ddfx_symbol.h74 inline bool Equal(const DfxSymbol &b) const in Equal()
76 return ((funcVaddr_ == b.funcVaddr_) && (demangle_ == b.demangle_)); in Equal()
79 inline bool operator==(const DfxSymbol &b) const
81 return Equal(b);
84 inline bool operator!=(const DfxSymbol &b) const
86 return !Equal(b);
/base/update/packaging_tools/test/
Dfake_data.py15 RSA_PRIVATE_KEY_DATA = b"""-----BEGIN RSA PRIVATE KEY-----
43 PARTITION_FILE_CONVERSION_FAILED = b"""<?xml version="1.0" encoding="GB2312" ?>
/base/security/crypto_framework/frameworks/key/
Dkey_utils.c112 …if (srcSpec == NULL || srcSpec->a.data == NULL || srcSpec->a.len == 0 || srcSpec->b.data == NULL || in CopyEccCommonSpec()
113 srcSpec->b.len == 0 || srcSpec->n.data == NULL || srcSpec->n.len == 0 || destSpec == NULL) { in CopyEccCommonSpec()
127 destSpec->b.data = (unsigned char *)HcfMalloc(srcSpec->b.len, 0); in CopyEccCommonSpec()
128 if (destSpec->b.data == NULL) { in CopyEccCommonSpec()
153 (void)memcpy_s(destSpec->b.data, srcSpec->b.len, srcSpec->b.data, srcSpec->b.len); in CopyEccCommonSpec()
156 destSpec->b.len = srcSpec->b.len; in CopyEccCommonSpec()

12345678910