Home
last modified time | relevance | path

Searched refs:GetValueType (Results 1 – 16 of 16) sorted by relevance

/base/update/updater/services/script/script_interpreter/
Dscript_context.cpp91 if (innerParam_[index].get()->GetValueType() != v.GetValueType()) { in GetParam()
107 UScriptValue::UScriptValueType type = innerParam_[index]->GetValueType(); in GetParamType()
144 if (value->GetValueType() != UScriptValue::VALUE_TYPE_LIST) { in UpdateVariables()
189 if (rightValue->GetValueType() == UScriptValue::VALUE_TYPE_INTEGER) { \
191 } else if ((rightValue)->GetValueType() == UScriptValue::VALUE_TYPE_FLOAT) { \
206 if (rightValue->GetValueType() == UScriptValue::VALUE_TYPE_INTEGER) { \
208 } else if ((rightValue)->GetValueType() == UScriptValue::VALUE_TYPE_FLOAT) { \
232 if (rightValue->GetValueType() == UScriptValue::VALUE_TYPE_INTEGER) { \
234 } else if ((rightValue)->GetValueType() == UScriptValue::VALUE_TYPE_FLOAT) { \
309 if (rightValue->GetValueType() == UScriptValue::VALUE_TYPE_INTEGER) { \
[all …]
Dscript_statement.cpp32 switch (value->GetValueType()) { in UpdateStatementResult()
44 if (value->GetValueType() == UScriptValue::VALUE_TYPE_ERROR) { in UpdateStatementResult()
195 if (v == nullptr || v->GetValueType() == UScriptValue::VALUE_TYPE_ERROR) { in Execute()
232 if (v == nullptr || v->GetValueType() == UScriptValue::VALUE_TYPE_ERROR) { in Execute()
264 if (v == nullptr || v->GetValueType() == UScriptValue::VALUE_TYPE_ERROR) { in Execute()
372 if (var->GetValueType() == UScriptValue::VALUE_TYPE_LIST) { in Execute()
Dscript_interpreter.cpp197 if (result == nullptr || result->GetValueType() == UScriptValue::VALUE_TYPE_ERROR) { in ExecuteNativeFunc()
202 if (result->GetValueType() != UScriptValue::VALUE_TYPE_LIST) { in ExecuteNativeFunc()
Dscript_function.cpp59 if (var == nullptr || var->GetValueType() == UScriptValue::VALUE_TYPE_ERROR) { in Execute()
Dscript_expression.cpp101 if (result->GetValueType() == UScriptValue::VALUE_TYPE_ERROR) { in Execute()
Dscript_context.h47 UScriptValueType GetValueType() const in GetValueType() function
/base/print/print_fwk/frameworks/helper/src/
Dnapi_print_utils.cpp26 napi_valuetype NapiPrintUtils::GetValueType(napi_env env, napi_value value) in GetValueType() function in OHOS::Print::NapiPrintUtils
74 if (GetValueType(env, name) != napi_string) { in GetPropertyNames()
111 if (GetValueType(env, jsValue) != napi_number) { in SetUint32Property()
147 if (GetValueType(env, jsValue) != napi_number) { in SetInt32Property()
189 if (GetValueType(env, jsValue) != napi_string) { in SetStringPropertyUtf8()
283 if (GetValueType(env, jsValue) != napi_boolean) { in SetBooleanProperty()
/base/update/updater/test/unittest/script/script_instruction/
Dbasic_instruction_unittest.cpp84 EXPECT_EQ(output[0]->GetValueType(), UScriptValue::VALUE_TYPE_INTEGER); in TestBasicInstructionIsSubString01()
95 EXPECT_EQ(output[0]->GetValueType(), UScriptValue::VALUE_TYPE_INTEGER); in TestBasicInstructionIsSubString01()
169 EXPECT_EQ(output[0]->GetValueType(), UScriptValue::VALUE_TYPE_STRING); in TestBasicInstructionConcat()
188 EXPECT_EQ(output[0]->GetValueType(), UScriptValue::VALUE_TYPE_STRING); in TestBasicInstructionConcat()
/base/request/request/frameworks/js/napi/src/
Djs_task.cpp295 if (NapiUtils::GetValueType(env, argv[0]) != napi_string) { in ParseTid()
362 …if (NapiUtils::GetValueType(env, argv[0]) != napi_string || NapiUtils::GetValueType(env, argv[1]) … in ParseTouch()
401 napi_valuetype valueType = NapiUtils::GetValueType(env, argv[0]); in ParseSearch()
428 if (NapiUtils::GetValueType(env, value1) != napi_string) { in ParseBundle()
440 if (NapiUtils::GetValueType(env, value1) != napi_number) { in ParseState()
452 if (NapiUtils::GetValueType(env, value1) != napi_number) { in ParseAction()
464 if (NapiUtils::GetValueType(env, value1) != napi_number) { in ParseMode()
478 if (NapiUtils::GetValueType(env, value1) != napi_number) { in ParseBefore()
493 if (NapiUtils::GetValueType(env, value1) != napi_number) { in ParseAfter()
Dnapi_utils.cpp392 if (GetValueType(env, value) != napi_boolean) { in Convert2Boolean()
413 if (GetValueType(env, value) != napi_number) { in Convert2Uint32()
432 if (GetValueType(env, value) != napi_number) { in Convert2Int64()
456 if (GetValueType(env, value) != napi_string) { in Convert2String()
513 napi_valuetype GetValueType(napi_env env, napi_value value) in GetValueType() function
555 if (GetValueType(env, name) != napi_string) { in GetPropertyNames()
567 if (GetValueType(env, jsValue) != napi_number) { in SetUint32Property()
577 if (GetValueType(env, jsValue) != napi_number) { in SetInt64Property()
587 if (GetValueType(env, jsValue) != napi_string) { in SetStringPropertyUtf8()
Djs_initialize.cpp221 if (NapiUtils::GetValueType(env, jsConfig) != napi_object) { in ParseConfig()
294 if (NapiUtils::GetValueType(env, value) != napi_string) { in ParseToken()
338 if (NapiUtils::GetValueType(env, value) != napi_number) { in ParseAction()
457 napi_valuetype valueType = NapiUtils::GetValueType(env, value); in ParseData()
472 if (NapiUtils::GetValueType(env, value) != napi_string) { in ParseName()
497 napi_valuetype valueType = NapiUtils::GetValueType(env, value); in GetFormItems()
/base/print/print_fwk/frameworks/helper/include/
Dnapi_print_utils.h43 static napi_valuetype GetValueType(napi_env env, napi_value value);
/base/request/request/frameworks/js/napi/include/
Dnapi_utils.h77 napi_valuetype GetValueType(napi_env env, napi_value value);
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_util.cpp71 napi_valuetype GetValueType(const napi_env env, const napi_value& value) in GetValueType() function
84 napi_valuetype valueType = GetValueType(env, jsObj); in IsValueTypeValid()
357 napi_valuetype type = GetValueType(env, value); in AddParamToEventInfo()
/base/request/request/frameworks/js/napi/src/legacy/
Drequest_manager.cpp165 if (NapiUtils::GetValueType(env, header) != napi_object) { in ParseHeader()
/base/request/request/frameworks/js/napi/src/upload/
Djs_util.cpp214 if (NapiUtils::GetValueType(env, jsHeader) != napi_object) { in ParseHeader()