/base/update/updater/services/script/script_interpreter/ |
D | script_context.cpp | 91 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 …]
|
D | script_statement.cpp | 32 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()
|
D | script_interpreter.cpp | 197 if (result == nullptr || result->GetValueType() == UScriptValue::VALUE_TYPE_ERROR) { in ExecuteNativeFunc() 202 if (result->GetValueType() != UScriptValue::VALUE_TYPE_LIST) { in ExecuteNativeFunc()
|
D | script_function.cpp | 59 if (var == nullptr || var->GetValueType() == UScriptValue::VALUE_TYPE_ERROR) { in Execute()
|
D | script_expression.cpp | 101 if (result->GetValueType() == UScriptValue::VALUE_TYPE_ERROR) { in Execute()
|
D | script_context.h | 47 UScriptValueType GetValueType() const in GetValueType() function
|
/base/print/print_fwk/frameworks/helper/src/ |
D | napi_print_utils.cpp | 26 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/ |
D | basic_instruction_unittest.cpp | 84 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/ |
D | js_task.cpp | 295 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()
|
D | napi_utils.cpp | 392 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()
|
D | js_initialize.cpp | 221 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/ |
D | napi_print_utils.h | 43 static napi_valuetype GetValueType(napi_env env, napi_value value);
|
/base/request/request/frameworks/js/napi/include/ |
D | napi_utils.h | 77 napi_valuetype GetValueType(napi_env env, napi_value value);
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | napi_hisysevent_util.cpp | 71 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/ |
D | request_manager.cpp | 165 if (NapiUtils::GetValueType(env, header) != napi_object) { in ParseHeader()
|
/base/request/request/frameworks/js/napi/src/upload/ |
D | js_util.cpp | 214 if (NapiUtils::GetValueType(env, jsHeader) != napi_object) { in ParseHeader()
|