/base/security/device_auth/frameworks/src/standard/ |
H A D | ipc_adapt.cpp | 1393 int32_t DecodeIpcData(uintptr_t data, int32_t *type, uint8_t **val, int32_t *valSz) in DecodeIpcData() argument 1412 LOGE("Insufficient data available in IPC container. [Data]: val"); in DecodeIpcData() 1415 *val = const_cast<uint8_t *>(dataPtr->ReadUnpadBuffer(*valSz)); in DecodeIpcData() 1439 &(replyCache[i].type), &(replyCache[i].val), &(replyCache[i].valSz)); in DecodeCallReply() 1494 *(reinterpret_cast<uint8_t **>(paramCache)) = ipcParams[i].val; in GetIpcRequestParamByType() 1501 if ((ipcParams[i].val == nullptr) || (ipcParams[i].valSz <= 0)) { in GetIpcRequestParamByType() 1505 eno = memcpy_s(paramCache, *cacheLen, ipcParams[i].val, ipcParams[i].valSz); in GetIpcRequestParamByType()
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | deviceauth_standard_auth_test.cpp | 237 KeyParams keyParams = { { keyAlias->val, keyAlias->length, true }, false, DEFAULT_OS_ACCOUNT }; in GenerateTempKeyPair() 258 .val = keyAliasValue, in GetAsyCredentialJson() 266 .val = serverPkVal, in GetAsyCredentialJson() 270 KeyParams keyAliasParams = { { keyAlias.val, keyAlias.length, true }, false, DEFAULT_OS_ACCOUNT }; in GetAsyCredentialJson() 279 .val = reinterpret_cast<uint8_t *>(const_cast<char *>(registerInfo.c_str())), in GetAsyCredentialJson() 284 .val = signatureValue, in GetAsyCredentialJson()
|
H A D | deviceauth_standard_test.cpp | 164 KeyParams keyParams = { { keyAlias->val, keyAlias->length, true }, false, DEFAULT_OS_ACCOUNT }; in GenerateTempKeyPair() 185 .val = keyAliasValue, in GetAsyCredentialJson() 193 .val = serverPkVal, in GetAsyCredentialJson() 197 KeyParams keyAliasParams = { { keyAlias.val, keyAlias.length, true }, false, DEFAULT_OS_ACCOUNT }; in GetAsyCredentialJson() 206 .val = reinterpret_cast<uint8_t *>(const_cast<char *>(registerInfo.c_str())), in GetAsyCredentialJson() 211 .val = signatureValue, in GetAsyCredentialJson()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/ |
H A D | list_swipe_test_ng.cpp | 1042 auto onOffsetChange = [&offset](int val) { offset = Dimension(val, DimensionUnit::VP); }; in HWTEST_F() 1094 auto onOffsetChange = [&offset](int val) { offset = Dimension(val, DimensionUnit::VP); }; in HWTEST_F() 1423 auto onOffsetChange = [&offset](int val) { offset = Dimension(val, DimensionUnit::VP); }; in HWTEST_F()
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | key_event.cpp | 1262 KeyItem val = {}; in ReadFromParcel() local 1263 if (!val.ReadFromParcel(in)) { in ReadFromParcel() 1266 keys_.push_back(val); in ReadFromParcel() 1299 uint32_t val = 0; in ReadEnhanceDataFromParcel() local 1300 READUINT32(in, val); in ReadEnhanceDataFromParcel() 1301 enhanceData_.emplace_back(val); in ReadEnhanceDataFromParcel()
|
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_util.cpp | 37 uint64_t htonll(uint64_t val) in htonll() argument 39 return (((uint64_t) htonl(val)) << BIT_MOVE) + htonl(val >> BIT_MOVE); in htonll() 42 uint64_t ntohll(uint64_t val) in ntohll() argument 44 return (((uint64_t) ntohl(val)) << BIT_MOVE) + ntohl(val >> BIT_MOVE); in ntohll()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_import_and_export_test.cpp | 1194 Value val; in HWTEST_F() local 1195 g_kvNbDelegatePtr->Get(KEY_1, val); in HWTEST_F() 1196 EXPECT_EQ(val, VALUE_1); in HWTEST_F() 1250 Value val; in HWTEST_F() local 1251 EXPECT_EQ(g_kvNbDelegatePtr->Get(KEY_1, val), NOT_FOUND); in HWTEST_F() 1254 EXPECT_EQ(g_kvNbDelegatePtr->Get(KEY_2, val), OK); in HWTEST_F()
|
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeCanvasTestPart4.cpp | 933 float val = OH_Drawing_MatrixGetValue(matrix, 0); in HWTEST_F() local 934 EXPECT_EQ(val, 1); in HWTEST_F() 982 float val = OH_Drawing_MatrixGetValue(matrix, 0); in HWTEST_F() local 983 EXPECT_EQ(val, 1); in HWTEST_F() 1058 float val = OH_Drawing_MatrixGetValue(matrix, 0); in HWTEST_F() local 1059 EXPECT_EQ(val, 1); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/ |
H A D | huffyuvenc.c | 165 int val = len[i]; in store_table() local 168 for (; i < n && len[i] == val && repeat < 255; i++) in store_table() 171 av_assert0(val < 32 && val >0 && repeat < 256 && repeat>0); in store_table() 173 buf[index++] = val; in store_table() 176 buf[index++] = val | (repeat << 5); in store_table()
|
/third_party/glslang/gtests/ |
H A D | HexFloat.cpp | 605 uint32_t val= 0; in bits_set() local 607 val |= top_bit >> i; in bits_set() 609 return val; in bits_set() 616 uint32_t val= 0; in half_bits_set() local 618 val |= top_bit >> i; in half_bits_set() 620 return static_cast<uint16_t>(val); in half_bits_set()
|
/third_party/gn/src/base/ |
H A D | values.cc | 86 Value Value::FromUniquePtrValue(std::unique_ptr<Value> val) { in FromUniquePtrValue() argument 87 return std::move(*val); in FromUniquePtrValue() 91 std::unique_ptr<Value> Value::ToUniquePtrValue(Value val) { in ToUniquePtrValue() argument 92 return std::make_unique<Value>(std::move(val)); in ToUniquePtrValue() 166 for (const auto& val : in_list) in Value() 167 list_.emplace_back(val.Clone()); in Value()
|
/third_party/alsa-lib/src/alisp/ |
H A D | alisp.c | 64 int val = 0; in get_string_hash() local 66 return val; in get_string_hash() 68 val += *s++; in get_string_hash() 69 return val & ALISP_OBJ_PAIR_HASH_MASK; in get_string_hash() 3464 int alsa_lisp_seq_integer(struct alisp_seq_iterator *seq, long *val) in alsa_lisp_seq_integer() argument 3469 *val = seq->value.i; in alsa_lisp_seq_integer()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 340 int val = Integer.parseInt(valString); in getTargetStrings() 341 while (list.size() <= val) { in getTargetStrings() 344 if (list.get(val) != null) { in getTargetStrings() 345 fail("test data error, key: " + list.get(val) + " already set for: " + val); in getTargetStrings() 347 list.set(val, key); in getTargetStrings()
|
/third_party/libunwind/libunwind/doc/ |
H A D | libunwind-dynamic.tex | 294 \item[\Type{unw\_word\_t} \Var{val}] The value to be applied by the 334 register \Var{reg} to register \Var{val}. 339 \Var{val}. See the architecture-specific sections for a description 345 \Var{val}. See the architecture-specific sections for a description 349 the constant value \Var{val} to register \Var{reg}. To add subtract 351 \Var{val}. The set of registers that can be specified for this tag
|
/third_party/json/include/nlohmann/detail/input/ |
H A D | binary_reader.hpp | 856 const double val = [&half] in parse_cbor_internal() local 875 ? static_cast<number_float_t>(-val) in parse_cbor_internal() 876 : static_cast<number_float_t>(val), ""); in parse_cbor_internal() 2403 const double val = [&half] in get_ubjson_value() local 2422 ? static_cast<number_float_t>(-val) in get_ubjson_value() 2423 : static_cast<number_float_t>(val), ""); in get_ubjson_value()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_builder.h | 899 nir_ssa_def *val = nir_u2u(b, nir_channel(b, src, i), dest_bit_size); in nir_pack_bits() local 900 val = nir_ishl(b, val, nir_imm_int(b, i * src->bit_size)); in nir_pack_bits() 901 dest = nir_ior(b, dest, val); in nir_pack_bits() 935 nir_ssa_def *val = nir_ushr_imm(b, src, i * dest_bit_size); in nir_unpack_bits() local 936 dest_comps[i] = nir_u2u(b, val, dest_bit_size); in nir_unpack_bits()
|
/third_party/littlefs/runners/ |
H A D | test_runner.c | 2068 if (long_opts[i].val >= '0' && long_opts[i].val < 'z') { in main() 2070 long_opts[i].val, in main() 2077 if (long_opts[i].val >= '0' && long_opts[i].val < 'z') { in main() 2079 long_opts[i].val, in main()
|
H A D | bench_runner.c | 1502 if (long_opts[i].val >= '0' && long_opts[i].val < 'z') { in main() 1504 long_opts[i].val, in main() 1511 if (long_opts[i].val >= '0' && long_opts[i].val < 'z') { in main() 1513 long_opts[i].val, in main()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_shader_llvm.c | 694 LLVMValueRef val = LLVMBuildExtractValue(builder, ret, i, ""); in si_build_wrapper_function() local 697 out[num_out++] = val; in si_build_wrapper_function() 699 if (LLVMTypeOf(val) == ctx->ac.i32) { in si_build_wrapper_function() 754 LLVMValueRef val[4]; in si_llvm_load_intrinsic() local 757 val[i] = si_buffer_load_const(ctx, buf, LLVMConstInt(ctx->ac.i32, (offset + i) * 4, 0)); in si_llvm_load_intrinsic() 758 return ac_build_gather_values(&ctx->ac, val, 4); in si_llvm_load_intrinsic()
|
/third_party/node/src/crypto/ |
H A D | crypto_context.cc | 948 int64_t val = args[0]->IntegerValue(env->context()).FromMaybe(0); in SetOptions() local 951 static_cast<long>(val)); // NOLINT(runtime/int) in SetOptions() 1208 Local<Value> val; in TicketKeyCallback() local 1209 if (!arr->Get(env->context(), kTicketKeyReturnIndex).ToLocal(&val) || in TicketKeyCallback() 1210 !val->IsInt32()) { in TicketKeyCallback() 1214 int r = val.As<Int32>()->Value(); in TicketKeyCallback()
|
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | instruction.h | 1590 void set_code_target_alignment(bool val) { code_target_alignment_ = val; } in set_code_target_alignment() argument 1591 void set_loop_header_alignment(bool val) { loop_header_alignment_ = val; } in set_loop_header_alignment() argument 1593 void set_switch_target(bool val) { switch_target_ = val; } in set_switch_target() argument
|
/third_party/node/deps/openssl/openssl/crypto/sha/ |
H A D | keccak1600.c | 54 static uint64_t ROL64(uint64_t val, int offset) in ROL64() argument 57 return val; in ROL64() 59 return (val << offset) | (val >> (64-offset)); in ROL64() 61 uint32_t hi = (uint32_t)(val >> 32), lo = (uint32_t)val; in ROL64() 1237 * final "output val" from official example to another file, and in main()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | pmeth_lib.c | 1136 int op, int ctrl, uint64_t val) in evp_pkey_ctx_set_uint64() 1148 return EVP_PKEY_CTX_ctrl_uint64(ctx, -1, op, ctrl, val); in evp_pkey_ctx_set_uint64() 1151 *p++ = OSSL_PARAM_construct_uint64(param, &val); in evp_pkey_ctx_set_uint64() 1545 const void *val = ctx->cached_parameters.dist_id; in evp_pkey_ctx_use_cached_data() local 1549 ret = evp_pkey_ctx_ctrl_str_int(ctx, name, val); in evp_pkey_ctx_use_cached_data() 1553 (int)len, (void *)val); in evp_pkey_ctx_use_cached_data() 1135 evp_pkey_ctx_set_uint64(EVP_PKEY_CTX *ctx, const char *param, int op, int ctrl, uint64_t val) evp_pkey_ctx_set_uint64() argument
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | cmp.c | 1781 ASN1_TYPE *val; in handle_opt_geninfo() local 1814 val = ASN1_TYPE_new(); in handle_opt_geninfo() 1815 if (!ASN1_INTEGER_set(aint, value) || val == NULL) { in handle_opt_geninfo() 1819 ASN1_TYPE_set(val, V_ASN1_INTEGER, aint); in handle_opt_geninfo() 1820 itav = OSSL_CMP_ITAV_create(type, val); in handle_opt_geninfo() 1822 ASN1_TYPE_free(val); in handle_opt_geninfo() 2156 /* get long val for name from a comma-separated hierarchy of config sections */
|
/third_party/openssl/crypto/evp/ |
H A D | pmeth_lib.c | 1135 int op, int ctrl, uint64_t val) in evp_pkey_ctx_set_uint64() 1147 return EVP_PKEY_CTX_ctrl_uint64(ctx, -1, op, ctrl, val); in evp_pkey_ctx_set_uint64() 1150 *p++ = OSSL_PARAM_construct_uint64(param, &val); in evp_pkey_ctx_set_uint64() 1544 const void *val = ctx->cached_parameters.dist_id; in evp_pkey_ctx_use_cached_data() local 1548 ret = evp_pkey_ctx_ctrl_str_int(ctx, name, val); in evp_pkey_ctx_use_cached_data() 1552 (int)len, (void *)val); in evp_pkey_ctx_use_cached_data() 1134 evp_pkey_ctx_set_uint64(EVP_PKEY_CTX *ctx, const char *param, int op, int ctrl, uint64_t val) evp_pkey_ctx_set_uint64() argument
|