/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_stepper.cpp | 68 auto indexValue = stepperValue->ToNumber<int32_t>(); in Create() local 69 index = indexValue <= 0 ? 0 : static_cast<uint32_t>(indexValue); in Create() 74 auto indexValue = stepperValueProperty->ToNumber<int32_t>(); in Create() local 75 index = indexValue <= 0 ? 0 : static_cast<uint32_t>(indexValue); in Create()
|
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetfilesplitduration_fuzzer/ |
H A D | recordersetfilesplitduration_fuzzer.cpp | 72 int32_t indexValue = *reinterpret_cast<int32_t *>(data) % (fileSplitTypeList); in FuzzRecorderSetFileSplitDuration() local 74 TestRecorder::SetFileSplitDuration(fileSplitType[indexValue], in FuzzRecorderSetFileSplitDuration()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/swiper/ |
H A D | swiper_declaration.cpp | 248 std::unique_ptr<JsonValue> indexValue = argsValue->GetArrayItem(0)->GetValue("index"); in CallSpecializedMethod() local 249 if (!indexValue || !indexValue->IsNumber()) { in CallSpecializedMethod() 253 int32_t index = indexValue->GetInt(); in CallSpecializedMethod()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontcollection_napi/ |
H A D | js_fontcollection.cpp | 195 napi_value indexValue = nullptr;
in GetResourcePartData() local 196 napi_get_element(env, paramsNApi, i, &indexValue);
in GetResourcePartData() 197 napi_typeof(env, indexValue, &valueType);
in GetResourcePartData() 199 size_t strLen = GetParamLen(env, indexValue) + 1;
in GetResourcePartData() 201 napi_get_value_string_utf8(env, indexValue, indexStr.get(), strLen, &ret);
in GetResourcePartData() 205 napi_get_value_int32(env, indexValue, &num);
in GetResourcePartData()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
H A D | js_swiper_function.cpp | 187 JSRef<JSVal> indexValue = JSRef<JSVal>::Make(ToJSValue(index)); in Execute() local 191 JSRef<JSVal> params[] = { selectedIndexValue, indexValue, positionValue, mainAxisLengthValue }; in Execute()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_particle_bridge.cpp | 124 int32_t indexValue = 0; in SetEmitter() local 125 ArkTSUtils::ParseJsInteger(vm, index, indexValue); in SetEmitter() 126 dataVector[i * EMITTER_SIZE + STEP_0].i32 = indexValue; in SetEmitter()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/utils/ |
H A D | napi_utils.cpp | 670 napi_value indexValue = nullptr; in ParseResourceParam() local 671 napi_get_element(env, paramsNApi, i, &indexValue); in ParseResourceParam() 672 napi_typeof(env, indexValue, &valueType); in ParseResourceParam() 674 size_t strLen = GetParamLen(env, indexValue) + 1; in ParseResourceParam() 676 napi_get_value_string_utf8(env, indexValue, indexStr.get(), strLen, &ret); in ParseResourceParam() 680 napi_get_value_int32(env, indexValue, &num); in ParseResourceParam()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_list.cpp | 640 std::unique_ptr<JsonValue> indexValue = argsValue->GetArrayItem(0)->GetValue("index"); in CallSpecializedMethod() local 641 if (!indexValue || !indexValue->IsNumber()) { in CallSpecializedMethod() 644 int32_t index = indexValue->GetInt(); in CallSpecializedMethod()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_pattern.cpp | 652 const auto& indexValue = arrayValue_.at(i).first; in GetFocusChildIndex() local 653 if (searchStr.length() > indexValue.length()) { in GetFocusChildIndex() 656 if (strcasecmp(indexValue.substr(0, searchStr.length()).c_str(), searchStr.c_str()) == 0) { in GetFocusChildIndex() 665 const auto& indexValue = arrayValue_.at(i).first; in GetFocusChildIndex() local 666 if (searchStr.length() > indexValue.length()) { in GetFocusChildIndex() 669 if (strcasecmp(indexValue.substr(0, searchStr.length()).c_str(), searchStr.c_str()) == 0) { in GetFocusChildIndex()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/router/ |
H A D | js_router.cpp | 626 napi_value indexValue = nullptr; in JSGetStateByUrl() local 630 napi_create_int32(env, routeIndex, &indexValue); in JSGetStateByUrl() 639 napi_set_named_property(env, pageObj, "index", indexValue); in JSGetStateByUrl()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/ |
H A D | free_install.cpp | 387 size_t indexValue = 0; in ConvertFormsInfo() local 392 NAPI_CALL_RETURN_VOID(env, napi_set_element(env, supportDimensions, indexValue, value)); in ConvertFormsInfo() 393 indexValue++; in ConvertFormsInfo()
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | native_node_test.cpp | 3047 ArkUI_NumberValue indexValue[] = {{.i32 = 0}, {.i32 = 0}, {.i32 = ARKUI_SCROLL_ALIGNMENT_START}}; in HWTEST_F() local 3048 ArkUI_AttributeItem indexItem = {indexValue, sizeof(indexValue) / sizeof(ArkUI_NumberValue)}; in HWTEST_F() 3078 indexValue[2].i32 = ARKUI_SCROLL_ALIGNMENT_NONE; in HWTEST_F() 3080 indexValue[2].i32 = -1; in HWTEST_F() 3081 indexValue[1].i32 = -1; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 30592 let indexValue = 0; 30594 indexValue = data.index; 30596 dataArray.push(indexValue);
|