Home
last modified time | relevance | path

Searched refs:IntegerValue (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/base/update/updater/services/script/script_interpreter/
H A Dscript_context.cpp31 UScriptValuePtr valuePtr = std::make_shared<IntegerValue>(value); in PushParam()
69 return GetParam<int32_t, IntegerValue>(index, value); in GetParam()
171 IntegerValue* value = static_cast<IntegerValue *>((rightValue).get()); \
214 IntegerValue* value = static_cast<IntegerValue *>((rightValue).get()); \
291 IntegerValue* value = static_cast<IntegerValue *>((rightValue).get()); \
334 IntegerValue* value = static_cast<IntegerValue *>((rightValue).get()); \
385 return make_shared<IntegerValue>(ComputerEqual(rightValue)); in Computer()
387 return make_shared<IntegerValue>(!ComputerEqual(rightValue)); in Computer()
403 IntegerValue* value = (IntegerValue*)(rightValue.get()); in ComputerEqual()
471 IntegerValue* integerValue = (IntegerValue*)(rightValue.get()); in Computer()
[all …]
H A Dscript_context.h69 class IntegerValue : public UScriptValue {
71 …explicit IntegerValue(int32_t value) : UScriptValue(UScriptValue::VALUE_TYPE_INTEGER), value_(valu… in IntegerValue() function
72 ~IntegerValue() override {} in ~IntegerValue()
H A Dscript_expression.cpp61 return std::make_shared<IntegerValue>(this->value_); in Execute()
137 return std::make_shared<IntegerValue>(1); in Execute()
/ohos5.0/base/update/updater/test/unittest/script/
H A Dscript_interpreter_unittest.cpp57 std::unique_ptr<IntegerValue> iv = std::make_unique<IntegerValue>(intValue); in TestScriptInterpreterScriptValue()
120 UScriptValuePtr rightValue = std::make_shared<IntegerValue>(0); in TestIntegerValueComputer()
121 UScriptValuePtr value = std::make_shared<IntegerValue>(intValue); in TestIntegerValueComputer()
143 UScriptValuePtr rightValue = std::make_shared<IntegerValue>(0); in TestFloatValueComputer()
163 UScriptValuePtr rightValue = std::make_shared<IntegerValue>(0); in TestStringValueComputer()
227 IntegerValue a1(0);
235 IntegerValue *a6 = new IntegerValue(1);
/ohos5.0/base/update/updater/test/unittest/updater_binary/
H A Dupdate_image_patch_unittest.cpp50 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestImgPatch02()
51 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestImgPatch02()
52 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestImgPatch02()
53 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestImgPatch02()
54 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestImgPatch02()
/ohos5.0/base/update/updater/test/unittest/script/script_instruction/
H A Dscript_updateprocesser_unittest.cpp80 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserSetProcess()
114 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserShowProcess()
123 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserShowProcess()
154 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserPrint()
182 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserSetProportion()
H A Dscript_registercmd_unittest.cpp59 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestRegisterCmd01()
73 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestRegisterCmd02()
H A Dscript_loadscript_unittest.cpp58 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestLoadScript01()
88 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestLoadScript03()
H A Dbasic_instruction_unittest.cpp76 return ctx.AddInputParam(std::make_shared<IntegerValue>(v)); in AddInputParamImpl()
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dstartup_cfg_gen.cpp306 std::string value = std::to_string(object->IntegerValue()); in GetConfigIntArray()
348 hostData.processPriority = static_cast<int32_t>(object->Child()->IntegerValue()); in GetProcessPriority()
352 hostData.threadPriority = static_cast<int32_t>(object->Child()->IntegerValue()); in GetProcessPriority()
392 preload = current->Child()->IntegerValue(); in GetHostLoadMode()
448 hostData.hostPriority = object->Child()->IntegerValue(); in GetHostInfo()
471 hostData.sandBox = object->Child()->IntegerValue(); in GetHostInfo()
H A Ddecompile_gen.cpp103 outStr << "0x" << std::uppercase << std::hex << astObj->IntegerValue(); in PrintBaseType()
111 refPath = GetNodeRefPath(astObj->IntegerValue()); in PrintBaseType()
H A Dmacro_gen.cpp135 ofs_ << node->IntegerValue(); in GenArray()
285 ofs_ << " " << current->IntegerValue() << std::endl; in SetTypeDataUinit64()
H A Dbytecode_gen.cpp203 auto value = current->IntegerValue(); in ByteCodeWriteWalk()
H A Dast.h117 uint64_t IntegerValue() const;
H A Dtext_gen.cpp526 ofs_ << "0x" << std::hex << object->IntegerValue(); in PrintBaseTypeValue()
H A Dast.cpp386 uint64_t AstObject::IntegerValue() const in IntegerValue() function in AstObject
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_render_node_bridge.h77 value = jsValueRef->IntegerValue(vm); in GetNumber()
H A Darkts_native_common_bridge.cpp7954 delayMillis = secondArg->IntegerValue(vm); in PostFrameCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_value_conversions.h51 return std::is_same<T, int64_t>::value ? val->IntegerValue(vm) : val->Int32Value(vm); in fromJsiValue()
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
H A Dast.js325 IntegerValue() { method in AstObject