Home
last modified time | relevance | path

Searched refs:typeIndex (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/arkui/napi/sample/native_module_systemtest/
H A Djs_test_object_napi.cpp34 uint32_t typeIndex = 0; in ObjectTypeTaggedInstance() local
38 NAPI_CALL(env, napi_get_value_uint32(env, whichType, &typeIndex)); in ObjectTypeTaggedInstance()
40 NAPI_CALL(env, napi_type_tag_object(env, instance, &typeTags[typeIndex])); in ObjectTypeTaggedInstance()
42 HILOG_INFO("%{public}s,called typeIndex=%{public}d", __func__, typeIndex); in ObjectTypeTaggedInstance()
52 uint32_t typeIndex = 0; in ObjectCheckTypeTag() local
55 NAPI_CALL(env, napi_get_value_uint32(env, argv[0], &typeIndex)); in ObjectCheckTypeTag()
56 NAPI_CALL(env, napi_check_object_type_tag(env, argv[1], &typeTags[typeIndex], &result)); in ObjectCheckTypeTag()
59 HILOG_INFO("%{public}s,called typeIndex=%{public}d, result=%{public}s", __func__, typeIndex, in ObjectCheckTypeTag()
/ohos5.0/docs/zh-cn/third-party-cases/
H A Dinteract-lists.md23 @State typeIndex: number = 0
99 if (this.typeIndex == index) {
114 this.typeIndex = index
131 this.typeIndex = currentClassIndex
143 @State typeIndex: number = 0
176 if (this.typeIndex == index) {
186 this.typeIndex = index
223 this.typeIndex = currentClassIndex
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/InnerAPI/
H A DInnerAVMuxerFuzzTest.cpp124 int typeIndex = rand() % 4; variable
136 cout << "OH_AV_KEY_MIME is: " << mimeType[typeIndex] << endl;
143 mediaParams->Set<Tag::MIME_TYPE>(mimeType[typeIndex].c_str());
224 int typeIndex = rand() % 4; in HwTest_AddTrack() local
236 cout << "OH_AV_KEY_MIME is: " << mimeType[typeIndex] << endl; in HwTest_AddTrack()
244 mediaParams->Set<Tag::MIME_TYPE>(mimeType[typeIndex].c_str()); in HwTest_AddTrack()
/ohos5.0/base/hiviewdfx/hiview/base/event_report/event/
H A Dlogger_event.cpp93 size_t typeIndex = param.second.GetType(); in ToJsonString() local
94 if (typeIndex < (sizeof(ADDER_FUNCS) / sizeof(ADDER_FUNCS[0]))) { in ToJsonString()
95 ADDER_FUNCS[typeIndex](root, param.first, param.second); in ToJsonString()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/
H A DNativeAVMuxerFuzzTest.cpp135 int typeIndex = rand() % 4; variable
143 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, mimeType[typeIndex].c_str());
265 int typeIndex = rand() % 4; variable
273 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, mimeType[typeIndex].c_str());
/ohos5.0/base/global/i18n_lite/frameworks/i18n/include/
H A Dmeasure_format_impl.h46 void FillFormattedUnits(int unitIndex, int typeIndex, std::string *items, int itemStartIndex);
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/
H A Dmeasure_format_impl.cpp278 void MeasureFormatImpl::FillFormattedUnits(int unitIndex, int typeIndex, std::string *items, int it… in FillFormattedUnits() argument
281 int index = unitIndex * MEASURE_FORMAT_TYPE_NUM + typeIndex; in FillFormattedUnits()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/
H A DInnerStablityTest.cpp69 int typeIndex = rand() % 4; variable
70 decoderDemo->InnerCreateByMime(mimeType[typeIndex].c_str());
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/InnerAPI/
H A DInnerStablityTest.cpp69 int typeIndex = rand() % 4; variable
70 encoderDemo->InnerCreateByMime(mimeType[typeIndex].c_str());
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/
H A Dfree_install.cpp327 size_t typeIndex = 0; in ConvertDeviceType() local
331 NAPI_CALL_RETURN_VOID(env, napi_set_element(env, nDeviceTypes, typeIndex, typeValue)); in ConvertDeviceType()
332 typeIndex++; in ConvertDeviceType()
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-napi-about-array.md551 napi_value typeIndex;
557 napi_create_int32(env, i, &typeIndex);
558 napi_set_named_property(env, typedArrayTypes, typeKeys[i].c_str(), typeIndex);
/ohos5.0/docs/en/application-dev/napi/
H A Duse-napi-about-array.md550 napi_value typeIndex;
556 napi_create_int32(env, i, &typeIndex);
557 napi_set_named_property(env, typedArrayTypes, typeKeys[i].c_str(), typeIndex);
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_napi.cpp487 uint32_t typeIndex = 0; variable
492 napi_type_tag_object(env, instance, &typeTags[typeIndex]);
493 napi_check_object_type_tag(env, instance, &typeTags[typeIndex + 1], &result);