/base/tee/tee_client/frameworks/include/ |
H A D | tee_client_inner.h | 27 #define IS_TEMP_MEM(paramType) \ 28 (((paramType) == TEEC_MEMREF_TEMP_INPUT) || ((paramType) == TEEC_MEMREF_TEMP_OUTPUT) || \ 29 ((paramType) == TEEC_MEMREF_TEMP_INOUT)) 31 #define IS_PARTIAL_MEM(paramType) \ 32 (((paramType) == TEEC_MEMREF_WHOLE) || ((paramType) == TEEC_MEMREF_PARTIAL_INPUT) || \ 33 ((paramType) == TEEC_MEMREF_PARTIAL_OUTPUT) || ((paramType) == TEEC_MEMREF_PARTIAL_INOUT)) 35 #define IS_VALUE_MEM(paramType) \ [all...] |
/base/tee/tee_client/interfaces/kits/c/src/ |
H A D | tee_client.cpp | 130 static TEEC_Result TEEC_CheckMemRef(TEEC_RegisteredMemoryReference memref, uint32_t paramType) in TEEC_CheckMemRef() argument 137 if (paramType == TEEC_MEMREF_PARTIAL_INPUT) { in TEEC_CheckMemRef() 141 } else if (paramType == TEEC_MEMREF_PARTIAL_OUTPUT) { in TEEC_CheckMemRef() 145 } else if (paramType == TEEC_MEMREF_PARTIAL_INOUT) { in TEEC_CheckMemRef() 156 if ((paramType == TEEC_MEMREF_PARTIAL_INPUT) || in TEEC_CheckMemRef() 157 (paramType == TEEC_MEMREF_PARTIAL_OUTPUT) || in TEEC_CheckMemRef() 158 (paramType == TEEC_MEMREF_PARTIAL_INOUT)) { in TEEC_CheckMemRef() 185 uint32_t paramType = TEEC_PARAM_TYPE_GET(operation->paramTypes, i); in TEEC_CheckOperation() local 186 if (IS_TEMP_MEM(paramType)) { in TEEC_CheckOperation() 188 } else if (IS_PARTIAL_MEM(paramType)) { in TEEC_CheckOperation() 572 TeecOptDecodePartialMem(TEEC_Parameter *param, uint32_t paramType, TEEC_Parameter *inParam, const uint8_t **data, size_t *dataSize) TeecOptDecodePartialMem() argument 639 uint32_t paramType[TEEC_PARAM_NUM] = { 0 }; TeecOptDecode() local 671 TeecOptDecodeTempMem(TEEC_Parameter *param, uint32_t paramType, const TEEC_Parameter *inParam, const uint8_t **data, size_t *dataSize) TeecOptDecodeTempMem() argument 850 TeecOptEncodePartialMem(const TEEC_Parameter *param, uint32_t paramType, sptr<Ashmem> &optMem, size_t *dataSize) TeecOptEncodePartialMem() argument 902 uint32_t paramType[TEEC_PARAM_NUM] = { 0 }; TeecOptEncode() local 959 uint32_t paramType[TEEC_PARAM_NUM] = { 0 }; GetPartialMemSize() local 992 uint32_t paramType[TEEC_PARAM_NUM] = { 0 }; GetOptMemSize() local [all...] |
H A D | tee_client.h | 128 TEEC_Result TeecOptDecodeTempMem(TEEC_Parameter *param, uint32_t paramType, const TEEC_Parameter *inParam,
130 TEEC_Result TeecOptDecodePartialMem(TEEC_Parameter *param, uint32_t paramType,
133 uint32_t paramType, sptr<Ashmem> &optMem, size_t *dataSize);
|
/base/tee/tee_client/frameworks/libteec_vendor/ |
H A D | tee_client_api.c | 493 uint32_t paramType; in TranslateParamType() local 497 paramType = TEEC_MEMREF_PARTIAL_INPUT; in TranslateParamType() 500 paramType = TEEC_MEMREF_PARTIAL_OUTPUT; in TranslateParamType() 503 paramType = TEEC_MEMREF_PARTIAL_INOUT; in TranslateParamType() 506 paramType = TEEC_MEMREF_PARTIAL_INOUT; in TranslateParamType() 510 return paramType; in TranslateParamType() 521 static void TEEC_EncodePartialParam(uint32_t paramType, const TEEC_RegisteredMemoryReference *memRef, in TEEC_EncodePartialParam() argument 525 if (paramType == TEEC_MEMREF_WHOLE) { in TEEC_EncodePartialParam() 564 uint32_t paramType[TEEC_PARAM_NUM]; in TEEC_EncodeParam() local 571 paramType[paramCn in TEEC_EncodeParam() 1565 TEEC_CheckMemRef(TEEC_ContextInner *context, TEEC_RegisteredMemoryReference memref, uint32_t paramType) TEEC_CheckMemRef() argument 1623 uint32_t paramType[TEEC_PARAM_NUM]; TEEC_CheckOperation() local [all...] |
/base/hiviewdfx/hiview/interfaces/js/napi/src/ |
H A D | hiview_napi_util.cpp | 92 napi_valuetype paramType;
in IsMatchType() local 93 napi_typeof(env, value, ¶mType);
in IsMatchType() 94 return paramType == type;
in IsMatchType() 172 void HiviewNapiUtil::ThrowParamTypeError(napi_env env, const std::string& paramName, const std::string& paramType)
in ThrowParamTypeError() argument 175 "Parameter error. The type of " + paramName + " must be " + paramType + ".");
in ThrowParamTypeError()
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/ |
H A D | napi_util.cpp | 62 napi_valuetype paramType; in IsMatchType() local 63 napi_typeof(env, value, ¶mType); in IsMatchType() 64 if (paramType == type) { in IsMatchType()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
H A D | hiappevent_c.cpp | 154 unsigned int paramType = value->type; in AddParamValue() local 155 if (paramType < (sizeof(PARAM_ADDERS) / sizeof(PARAM_ADDERS[0]))) { in AddParamValue() 156 PARAM_ADDERS[paramType](appEventPack, name, value); in AddParamValue()
|
/base/sensors/medical_sensor/interfaces/plugin/src/ |
H A D | medical_napi_utils.cpp | 31 napi_valuetype paramType;
in IsMatchType() local 32 napi_typeof(env, value, ¶mType);
in IsMatchType() 33 if (paramType != type) {
in IsMatchType()
|
/base/inputmethod/imf/frameworks/js/napi/keyboardpanelmanager/ |
H A D | js_keyboard_panel_manager.cpp | 129 auto paramType = JsUtil::GetType(env, argv[1]); in UnSubscribe() local 130 if (paramType != napi_function && paramType != napi_null && paramType != napi_undefined) { in UnSubscribe() 134 argv[1] = paramType == napi_function ? argv[1] : nullptr; in UnSubscribe()
|
/base/hiviewdfx/hiview/interfaces/js/napi/include/ |
H A D | hiview_napi_util.h | 35 static void ThrowParamTypeError(napi_env env, const std::string& paramName, const std::string& paramType);
|
/base/hiviewdfx/hisysevent/frameworks/native/c_wrapper/include/ |
H A D | hisysevent_c_wrapper.h | 36 int paramType; member
|
/base/telephony/core_service/utils/vcard/include/ |
H A D | vcard_constructor.h | 63 void AddParamType(const std::string ¶mType); 65 void AddParamType(std::stringstream &result, const std::string ¶mType);
|
/base/tee/tee_client/services/cadaemon/src/ca_daemon/ |
H A D | cadaemon_stub.cpp | 213 uint32_t paramType[TEEC_PARAM_NUM] = { 0 }; in GetOperationFromData() local 235 paramType[paramCnt] = TEEC_PARAM_TYPE_GET(operation->paramTypes, paramCnt); in GetOperationFromData() 236 if (IS_TEMP_MEM(paramType[paramCnt])) { in GetOperationFromData() 238 } else if (IS_PARTIAL_MEM(paramType[paramCnt])) { in GetOperationFromData()
|
H A D | cadaemon_service.cpp | 695 uint32_t paramType[TEEC_PARAM_NUM] = { 0 }; in GetTeecOptMem() local 707 paramType[paramCnt] = TEEC_PARAM_TYPE_GET(operation->paramTypes, paramCnt); in GetTeecOptMem() 708 if (IS_TEMP_MEM(paramType[paramCnt])) { in GetTeecOptMem() 718 } else if (IS_PARTIAL_MEM(paramType[paramCnt])) { in GetTeecOptMem() 720 tmpInputPara.paraType = paramType[paramCnt]; in GetTeecOptMem() 730 } else if (IS_VALUE_MEM(paramType[paramCnt])) { in GetTeecOptMem()
|
/base/startup/init/services/param/include/ |
H A D | param_security.h | 81 uint8_t paramType;
member
|
H A D | param_manager.h | 138 INIT_LOCAL_API int CheckParamValue(const ParamTrieNode *node, const char *name, const char *value, uint8_t paramType);
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
H A D | string_utils.cpp | 234 ResourceManager::NapiValueType paramType = std::get<0>(jsParam); in GetReplaceStr() local 239 if (paramType != ResourceManager::NapiValueType::NAPI_STRING) { in GetReplaceStr() 248 if (paramType != ResourceManager::NapiValueType::NAPI_NUMBER) { in GetReplaceStr()
|
/base/sensors/sensor/vibration_convert/interfaces/js/src/ |
H A D | vibrator_convert_napi_utils.cpp | 69 napi_valuetype paramType = napi_undefined; in IsMatchNapiType() local 70 napi_status ret = napi_typeof(env, value, ¶mType); in IsMatchNapiType() 71 if ((ret != napi_ok) || (paramType != type)) { in IsMatchNapiType()
|
/base/sensors/miscdevice/frameworks/js/napi/vibrator/src/ |
H A D | vibrator_napi_utils.cpp | 70 napi_valuetype paramType = napi_undefined; in IsMatchType() local 71 napi_status ret = napi_typeof(env, value, ¶mType); in IsMatchType() 72 if ((ret != napi_ok) || (paramType != type)) { in IsMatchType()
|
/base/hiviewdfx/hisysevent/frameworks/native/test/unittest/common/ |
H A D | hisysevent_c_wrapper_test.cpp | 128 wrapper.paramType = HISYSEVENT_STRING; in HWTEST_F() 130 wrapper.paramType = HISYSEVENT_UINT64; in HWTEST_F()
|
/base/startup/init/services/param/adapter/ |
H A D | param_dac.c | 96 dacData->paramType = PARAM_TYPE_STRING;
in GetParamDacData() 103 dacData->paramType = paramTypes[i].value;
in GetParamDacData()
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
H A D | js_keyboard_delegate_setting.cpp | 263 auto paramType = JsUtil::GetType(env, argv[1]); in UnSubscribe() local 264 if (paramType != napi_function && paramType != napi_null && paramType != napi_undefined) { in UnSubscribe() 268 argv[1] = paramType == napi_function ? argv[1] : nullptr; in UnSubscribe()
|
H A D | js_panel.cpp | 392 auto paramType = JsUtil::GetType(env, argv[1]); in UnSubscribe() local 393 PARAM_CHECK_RETURN(env, (paramType == napi_function || paramType == napi_null || paramType == napi_undefined), in UnSubscribe() 396 argv[1] = paramType == napi_function ? argv[1] : nullptr; in UnSubscribe()
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/ |
H A D | napi_hisysevent_util.h | 66 static void ThrowParamTypeError(napi_env env, const std::string paramName, std::string paramType);
|
/base/startup/init/services/param/manager/ |
H A D | param_manager.c | 563 static int CheckParamValueType(const char *name, const char *value, uint8_t paramType)
in CheckParamValueType() argument 566 if (paramType == PARAM_TYPE_INT) {
in CheckParamValueType() 577 } else if (paramType == PARAM_TYPE_BOOL) {
in CheckParamValueType() 595 INIT_LOCAL_API int CheckParamValue(const ParamTrieNode *node, const char *name, const char *value, uint8_t paramType)
in CheckParamValue() argument 605 PARAM_CHECK(strlen(value) < GetParamMaxLen(paramType),
in CheckParamValue() 608 return CheckParamValueType(name, value, paramType);
in CheckParamValue()
|