/ohos5.0/foundation/arkui/napi/sample/native_module_systemtest/ |
H A D | js_test_object_napi.cpp | 34 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 D | interact-lists.md | 23 @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 D | InnerAVMuxerFuzzTest.cpp | 124 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 D | logger_event.cpp | 93 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 D | NativeAVMuxerFuzzTest.cpp | 135 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 D | measure_format_impl.h | 46 void FillFormattedUnits(int unitIndex, int typeIndex, std::string *items, int itemStartIndex);
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | measure_format_impl.cpp | 278 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 D | InnerStablityTest.cpp | 69 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 D | InnerStablityTest.cpp | 69 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 D | free_install.cpp | 327 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 D | use-napi-about-array.md | 551 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 D | use-napi-about-array.md | 550 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 D | test_napi.cpp | 487 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);
|