/base/hiviewdfx/hiview/base/running_status_logger/test/unittest/common/ |
H A D | running_status_logger_test.cpp | 60 std::string GenerateInvalidFileName(int index) in GenerateInvalidFileName() argument 62 return GetLogDir() + "runningstatus_2024_0" + std::to_string(index); in GenerateInvalidFileName() 113 for (int index = 0; index < SIZE_512; index++) { in HWTEST_F() 116 for (int index = 0; index < SIZE_512; index++) { in HWTEST_F() 141 for (int index = 0; index < SIZE_51 in HWTEST_F() [all...] |
/drivers/peripheral/clearplay/hdi_service/common/ |
H A D | base64_utils.cpp | 77 for (size_t index = 0; index < CHAR_ARRAY_LENGTH_FOUR; ++index) { in MakeCharFour() 78 charArrayFour[index] = table[index]; in MakeCharFour() 93 for (size_t index = 0; index < CHAR_ARRAY_LENGTH_THREE; ++index) { in MakeCharTree() 94 charArrayThree[index] = table[index]; in MakeCharTree() 105 size_t index = 0; Encode() local 149 size_t index = 0; Decode() local [all...] |
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
H A D | hks_generate_key_test.c | 86 uint32_t index = 0; in LITE_TEST_CASE() local 90 g_testGenKeyParams[index].keyAliasParams.blobExist, in LITE_TEST_CASE() 91 g_testGenKeyParams[index].keyAliasParams.blobSize, in LITE_TEST_CASE() 92 g_testGenKeyParams[index].keyAliasParams.blobDataExist, in LITE_TEST_CASE() 93 g_testGenKeyParams[index].keyAliasParams.blobDataSize); in LITE_TEST_CASE() 98 g_testGenKeyParams[index].paramSetParams.paramSetExist, in LITE_TEST_CASE() 99 g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in LITE_TEST_CASE() 100 g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index] in LITE_TEST_CASE() [all...] |
H A D | hks_mac_test.c | 132 static int32_t BaseTestMac(uint32_t index) in BaseTestMac() argument 138 if (g_testMacParams[index].macType == HKS_TEST_MAC_TYPE_REE) { in BaseTestMac() 140 g_testMacParams[index].keyParams.blobExist, in BaseTestMac() 141 g_testMacParams[index].keyParams.blobSize, in BaseTestMac() 142 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac() 143 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac() 145 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac() 146 ret = GenerateKey(&key, &(g_testMacParams[index].keyAliasParams), in BaseTestMac() 147 &g_testMacParams[index].genKeyParamSetParams, NULL); in BaseTestMac() 150 g_testMacParams[index] in BaseTestMac() [all...] |
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
H A D | hks_generate_key_test.cpp | 82 uint32_t index = 0; in HWTEST_F() local 86 g_testGenKeyParams[index].keyAliasParams.blobExist, in HWTEST_F() 87 g_testGenKeyParams[index].keyAliasParams.blobSize, in HWTEST_F() 88 g_testGenKeyParams[index].keyAliasParams.blobDataExist, in HWTEST_F() 89 g_testGenKeyParams[index].keyAliasParams.blobDataSize); in HWTEST_F() 94 g_testGenKeyParams[index].paramSetParams.paramSetExist, in HWTEST_F() 95 g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in HWTEST_F() 96 g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index] in HWTEST_F() [all...] |
H A D | hks_derive_test.cpp | 84 static int32_t BaseTestDerive(uint32_t index) in BaseTestDerive() argument 89 if (g_testDeriveParams[index].genKeyParamSetParams.setKeyStorageFlag && in BaseTestDerive() 90 (g_testDeriveParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP)) { in BaseTestDerive() 91 ret = GenerateLocalRandomKey(&keyAliasTest, &g_testDeriveParams[index].localKeyParams); in BaseTestDerive() 93 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive() 94 ret = GenerateKey(&keyAliasTest, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive() 95 &g_testDeriveParams[index].genKeyParamSetParams, NULL); in BaseTestDerive() 98 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive() 99 g_testDeriveParams[index].masterKeyParams.blobSize, in BaseTestDerive() 100 g_testDeriveParams[index] in BaseTestDerive() [all...] |
H A D | hks_safe_compare_key_test.cpp | 84 uint32_t index = 0; in SafeTestGenerateKey() local 89 g_testGenKeyParams[index].paramSetParams.paramSetExist, g_testGenKeyParams[index].paramSetParams.setAlg, in SafeTestGenerateKey() 90 g_testGenKeyParams[index].paramSetParams.alg, g_testGenKeyParams[index].paramSetParams.setKeySize, in SafeTestGenerateKey() 91 g_testGenKeyParams[index].paramSetParams.keySize, in SafeTestGenerateKey() 92 g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purpose, in SafeTestGenerateKey() 93 g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index] in SafeTestGenerateKey() [all...] |
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/ |
H A D | hks_generate_key_test.cpp | 83 uint32_t index = 0; in HWTEST_F() local 88 g_testGenKeyParams[index].keyAliasParams.blobExist, in HWTEST_F() 89 g_testGenKeyParams[index].keyAliasParams.blobSize, in HWTEST_F() 90 g_testGenKeyParams[index].keyAliasParams.blobDataExist, in HWTEST_F() 91 g_testGenKeyParams[index].keyAliasParams.blobDataSize); in HWTEST_F() 96 g_testGenKeyParams[index].paramSetParams.paramSetExist, in HWTEST_F() 97 g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in HWTEST_F() 98 g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index] in HWTEST_F() [all...] |
/test/xts/acts/security_lite/huks/liteos_a_adapter/ |
H A D | hks_generate_key_test.cpp | 82 uint32_t index = 0; in HWTEST_F() local 86 g_testGenKeyParams[index].keyAliasParams.blobExist, in HWTEST_F() 87 g_testGenKeyParams[index].keyAliasParams.blobSize, in HWTEST_F() 88 g_testGenKeyParams[index].keyAliasParams.blobDataExist, in HWTEST_F() 89 g_testGenKeyParams[index].keyAliasParams.blobDataSize); in HWTEST_F() 94 g_testGenKeyParams[index].paramSetParams.paramSetExist, in HWTEST_F() 95 g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in HWTEST_F() 96 g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index] in HWTEST_F() [all...] |
/drivers/hdf_core/framework/test/unittest/pm/ |
H A D | hdf_pm_driver_test.c | 33 #define CHECK_VALUE(index, cnt) \ 34 (g_pmTestType[(index)].resumeCnt == (cnt) && g_pmTestType[(index)].suspendCnt == (cnt)) 238 uint32_t index; in HdfPmClearTestCnt() local 240 for (index = 0; index <= PM_TEST_DRIVER; index++) { in HdfPmClearTestCnt() 241 g_pmTestType[index].resumeCnt = 0; in HdfPmClearTestCnt() 242 g_pmTestType[index].suspendCnt = 0; in HdfPmClearTestCnt() 246 static void HdfPmRegisterTestListener(int32_t index) in HdfPmRegisterTestListener() argument 274 HdfPmBakListener(int32_t index) HdfPmBakListener() argument 283 HdfPmTestAcquire(uint32_t index) HdfPmTestAcquire() argument 288 HdfPmTestRelease(uint32_t index) HdfPmTestRelease() argument 293 HdfPmTestAcquireSync(uint32_t index) HdfPmTestAcquireSync() argument 298 HdfPmTestReleaseSync(uint32_t index) HdfPmTestReleaseSync() argument 305 uint32_t index; HdfPmTestBegin() local 319 uint32_t index; HdfPmTestEnd() local 334 uint32_t index; HdfPmTestOneDriver() local 358 uint32_t index; HdfPmTestTwoDriver() local 385 uint32_t index; HdfPmTestThreeDriver() local 431 uint32_t index; HdfPmTestThreeDriverSeqHundred() local 572 uint32_t index; HdfPmDriverDispatch() local [all...] |
/drivers/hdf_core/framework/model/audio/core/src/ |
H A D | audio_parse.c | 125 uint32_t index; in GetAudioRegGroupNameIndex() local 131 for (index = 0; index < AUDIO_GROUP_MAX; ++index) { in GetAudioRegGroupNameIndex() 132 if ((g_audioRegGroupName[index] != NULL) && (strcmp(name, g_audioRegGroupName[index]) == 0)) { in GetAudioRegGroupNameIndex() 137 return index; in GetAudioRegGroupNameIndex() 144 int32_t index; in GetRegArray() local 152 index = group->groupIndex; in GetRegArray() 153 if (index > in GetRegArray() 185 int32_t index; ParseAudioRegItem() local 228 int32_t index; ParseAudioEnumRegItem() local 272 int32_t index; ParseAudioSapmItem() local 314 int32_t index; ParseAudioCtrlItem() local 351 int32_t index; ParseAudioAddrItem() local 381 ParseAudioRegGroup(const struct DeviceResourceIface *parser, const struct DeviceResourceNode *regCfgNode, struct AudioRegCfgGroupNode **groupNode, uint32_t index) ParseAudioRegGroup() argument 437 int32_t index; ReleaseAudioAllRegConfig() local 577 uint16_t index; AudioGetRegConfig() local [all...] |
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hisysevent_wrapper/src/ |
H A D | hks_report_wrapper.c | 44 static int32_t AppendParamToExtra(const struct HksParam *paramIn, char *extraOut, uint32_t *index) in AppendParamToExtra() argument 48 int32_t num = snprintf_s(extraOut + *index, EXTRA_DATA_SIZE - *index, EXTRA_DATA_SIZE - *index - 1, "%u", in AppendParamToExtra() 54 *index = *index + num; in AppendParamToExtra() 74 uint32_t *index) in AppendToExtra() 76 if (ISExceedTheLimitSize(*index)) { in AppendToExtra() 79 if (memcpy_s(extraOut + *index, EXTRA_DATA_SIZE - *index, ta in AppendToExtra() 73 AppendToExtra(const struct HksBlob *tag, const struct HksParam *paramIn, char *extraOut, uint32_t *index) AppendToExtra() argument 113 AppendIfExist(uint32_t tag, const struct HksParamSet *paramSetIn, const struct HksBlob *tagString, char *extraOut, uint32_t *index) AppendIfExist() argument 139 uint32_t index = 0; PackExtra() local [all...] |
/test/xts/acts/security_lite/huks/liteos_m_adapter/ |
H A D | hks_generate_key_test.c | 107 uint32_t index = 0; in ExecHksGenerateKeyTest001() local 111 g_testGenKeyParams[index].keyAliasParams.blobExist, in ExecHksGenerateKeyTest001() 112 g_testGenKeyParams[index].keyAliasParams.blobSize, in ExecHksGenerateKeyTest001() 113 g_testGenKeyParams[index].keyAliasParams.blobDataExist, in ExecHksGenerateKeyTest001() 114 g_testGenKeyParams[index].keyAliasParams.blobDataSize); in ExecHksGenerateKeyTest001() 119 g_testGenKeyParams[index].paramSetParams.paramSetExist, in ExecHksGenerateKeyTest001() 120 g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in ExecHksGenerateKeyTest001() 121 g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index] in ExecHksGenerateKeyTest001() [all...] |
/test/xts/acts/multimedia/camera/camera_ndk_xts/OHCameraNdk/entry/src/main/cpp/ |
H A D | mian.cpp | 52 int32_t index; in InitCamera() local 53 napi_get_value_int32(env, args[1], &index); in InitCamera() 55 ndkCamera = new NDKCamera(surfaceId, index); in InitCamera() 68 int32_t index; in CameraGetCameraManager() local 69 napi_get_value_int32(env, args[0], &index); in CameraGetCameraManager() 74 if (index == PARAMETER_OK) { in CameraGetCameraManager() 97 int32_t index; in OHCameraManagerRegisterCallback() local 98 napi_get_value_int32(env, args[0], &index); in OHCameraManagerRegisterCallback() 100 Camera_ErrorCode code = ndkCamera->CameraManagerRegisterCallback(index); in OHCameraManagerRegisterCallback() 114 int32_t index; in CameraDeleteCameraManager() local 129 int32_t index; CameraManagerGetSupportedCameras() local 164 int32_t index; CameraManagerDeleteSupportedCameras() local 180 int32_t index; GetSupportedCameraOutputCapability() local 196 int32_t index; OHCameraManagerCreatePreviewOutput() local 212 int32_t index; OHCameraManagerCreateCameraInput() local 260 int32_t index; OHCreateCameraInputWithPositionAndType() local 277 int32_t index; OHCameraManagerCreateCaptureSession() local 293 int32_t index; CameraManagerDeleteSupportedCameraOutputCapability() local 309 int32_t index; PreviewOutputRegisterCallback() local 332 int32_t index; OHCameraManagerCreatePhotoOutput() local 347 int32_t index; OHCameraManagerCreateMetadataOutput() local 363 int32_t index; OHCameraInputOpen() local 379 int32_t index; OHCameraInputClose() local 395 int32_t index; OHCameraInputRelease() local 411 int32_t index; OHCameraInputRegisterCallback() local 427 int32_t index; OHCameraInputUnregisterCallback() local 443 int32_t index; OHCaptureSessionBeginConfig() local 459 int32_t index; OHCaptureSessionCommitConfig() local 475 int32_t index; OHCaptureSessionStart() local 491 int32_t index; OHCaptureSessionStop() local 507 int32_t index; OHCaptureSessionRelease() local 523 int32_t index; OHCaptureSessionRegisterCallback() local 539 int32_t index; OHCaptureSessionUnregisterCallback() local 555 int32_t index; OHCaptureSessionGetExposureBias() local 571 int32_t index; OHCaptureSessionAddInput() local 587 int32_t index; OHCaptureSessionRemoveInput() local 603 int32_t index; OHCaptureSessionAddPreviewOutput() local 619 int32_t index; OHCaptureSessionAddPhotoOutput() local 635 int32_t index; OHCaptureSessionGetExposureBiasRange() local 651 int32_t index; OHCameraManagerIsCameraMuted() local 667 int32_t index; OHCaptureSessionGetExposureMode() local 686 int32_t index; OHCaptureSessionIsExposureModeSupported() local 704 int32_t index; OHCaptureSessionSetExposureMode() local 722 int32_t index; OHCaptureSessionSetExposureBias() local 740 int32_t index; OHCaptureSessionIsFlashModeSupported() local 755 int32_t index; OHCaptureSessionHasFlash() local 774 int32_t index; OHCaptureSessionSetFlashMode() local 789 int32_t index; OHCaptureSessionGetFlashMode() local 808 int32_t index; OHCaptureSessionIsFocusModeSupported() local 823 int32_t index; OHCaptureSessionGetFocusMode() local 839 int32_t index; OHCaptureSessionGetFocusPoint() local 864 int32_t index; OHCaptureSessionSetFocusPoint() local 879 int32_t index; OHCaptureSessionGetMeteringPoint() local 895 int32_t index; OHCaptureSessionGetZoomRatio() local 911 int32_t index; OHCaptureSessionGetZoomRatioRange() local 930 int32_t index; OHCaptureSessionSetZoomRatio() local 955 int32_t index; OHCaptureSessionSetMeteringPoint() local 973 int32_t index; OHCaptureSessionIsVideoStabilizationModeSupported() local 988 int32_t index; OHCaptureSessionGetVideoStabilizationMode() local 1007 int32_t index; OHCaptureSessionSetVideoStabilizationMode() local 1022 int32_t index; OHCaptureSessionRemovePreviewOutput() local 1038 int32_t index; OHCaptureSessionRemovePhotoOutput() local 1054 int32_t index; OHCaptureSessionAddVideoOutput() local 1076 int32_t index; OHCameraManagerCreateVideoOutput() local 1091 int32_t index; OHVideoOutputRegisterCallback() local 1107 int32_t index; OHVideoOutputUnregisterCallback() local 1123 int32_t index; OHVideoOutputStart() local 1139 int32_t index; OHVideoOutputStop() local 1155 int32_t index; OHCaptureSessionRemoveVideoOutput() local 1171 int32_t index; OHVideoOutputRelease() local 1187 int32_t index; OHCameraManagerUnregisterCallback() local 1203 int32_t index; OHPreviewOutputStart() local 1219 int32_t index; OHPreviewOutputStop() local 1235 int32_t index; OHPreviewOutputRelease() local 1251 int32_t index; OHPhotoOutputRegisterCallback() local 1267 int32_t index; OHPhotoOutputUnregisterCallback() local 1283 int32_t index; OHPhotoOutputIsMirrorSupported() local 1299 int32_t index; OHPhotoOutputCapture() local 1364 int32_t index; OHPhotoOutputCaptureWithCaptureSetting() local 1379 int32_t index; OHPhotoOutputRelease() local [all...] |
/test/xts/acts/useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/ohosTest/js/test/ |
H A D | Execute.test.js | 129 for (let index = 0; index < authParams.length; index++) { 130 console.info("Security_IAM_getUserAuthInstance_Func_0043 authParams: " + JSON.stringify(authParams[index])); 131 await userAuthPromise(authParams[index], widgetParamDefault, 176 for (let index = 0; index < widgetParams.length; index++) { 177 console.info("Security_IAM_getUserAuthInstance_Func_0043 widgetParams: " + JSON.stringify(widgetParams[index])); 181 }, widgetParams[index], [all...] |
/test/xts/acts/telephony/networkmanager/ndk/networkndk/entry/src/main/cpp/ |
H A D | net_connection_ndk_test.cpp | 65 int32_t index;
in OHNetConnFreeDnsResult() local 66 napi_get_value_int32(env, args[PARAM_INDEX_0], &index);
in OHNetConnFreeDnsResult() 69 if (index == CASE_INDEX_1) {
in OHNetConnFreeDnsResult() 72 } else if (index == CASE_INDEX_2) {
in OHNetConnFreeDnsResult() 75 } else if (index == CASE_INDEX_3) {
in OHNetConnFreeDnsResult() 89 int32_t index;
in OHNetConnGetAllNets() local 90 napi_get_value_int32(env, args[PARAM_INDEX_0], &index);
in OHNetConnGetAllNets() 93 if (index == CASE_INDEX_1) {
in OHNetConnGetAllNets() 96 } else if (index == CASE_INDEX_2) {
in OHNetConnGetAllNets() 110 int32_t index;
in OHNetConnHasDefaultNet() local 131 int32_t index; OHNetConnIsDefaultNetMetered() local 152 int32_t index; OHNetConnGetDefaultNet() local 173 int32_t index; OHNetConnGetConnectionProperties() local 203 int32_t index; OHNetConnGetNetCapabilities() local 233 int32_t index; OHNetConnGetDefaultHttpProxy() local 260 int32_t index; OHOSNetConnRegisterDnsResolver() local 281 int32_t index; OHOSNetConnUnregisterDnsResolver() local 305 int32_t index; OHNetConnBindSocket() local 336 int32_t index; OHNetConnRegisterNetConnCallback() local 381 int32_t index; OHNetConnRegisterNetConnCallbackTimeout() local 425 int32_t index; OHNetConnRegisterDefaultNetConnCallback() local 453 int32_t index; OHNetConnUnregisterNetConnCallback() local 508 int32_t index; OHNetConnSetAppHttpProxy() local 541 int32_t index; OHOSNetConnRegisterAppHttpProxyCallback() local 577 int32_t index; OHOSNetConnUnregisterAppHttpProxyCallback() local [all...] |
/device/qemu/riscv32_virt/liteos_m/board/fs/ |
H A D | ff_gen_drv.c | 41 so we must assign index=1 when use -drive if=pflash in qemu_run.sh
43 int SetupVolToPartTable(int index, PARTITION vptable, DiskioDrvTypeDef *dskDrv)
in SetupVolToPartTable() argument 45 if (index < 0 || index >= FF_VOLUMES) {
in SetupVolToPartTable() 46 PRINT_ERR("[%s]the volum index is out of range\n", __func__);
in SetupVolToPartTable() 49 VolToPart[index].di = vptable.di; /* Physics disk id */
in SetupVolToPartTable() 50 VolToPart[index].pd = vptable.pd; /* Physical drive number */
in SetupVolToPartTable() 51 VolToPart[index].pt = vptable.pt; /* Partition: 0:Auto detect, 1-4:Forced partition) */
in SetupVolToPartTable() 52 VolToPart[index].ps = vptable.ps; /* Partition start sector */
in SetupVolToPartTable() 53 VolToPart[index] in SetupVolToPartTable() [all...] |
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/cpp/napi/ |
H A D | main.cpp | 31 int32_t index; in TestMediaAssetGetUri() local 32 napi_get_value_int32(env, args[0], &index); in TestMediaAssetGetUri() 34 MediaLibrary_ErrorCode code = ndkMediaLibrary->MediaAssetGetUri(index); in TestMediaAssetGetUri() 48 int32_t index; in TestMediaAssetGetDisplayName() local 49 napi_get_value_int32(env, args[0], &index); in TestMediaAssetGetDisplayName() 51 MediaLibrary_ErrorCode code = ndkMediaLibrary->MediaAssetGetDisplayName(index); in TestMediaAssetGetDisplayName() 65 int32_t index; in TestMediaAssetGetSize() local 66 napi_get_value_int32(env, args[0], &index); in TestMediaAssetGetSize() 68 MediaLibrary_ErrorCode code = ndkMediaLibrary->MediaAssetGetSize(index); in TestMediaAssetGetSize() 82 int32_t index; in TestMediaAssetGetDateModifiedMs() local 99 int32_t index; TestMediaAssetGetWidth() local 116 int32_t index; TestMediaAssetGetHeight() local 133 int32_t index; TestMediaAssetGetOrientation() local 150 int32_t index; TestMediaAssetGetMediaType() local 167 int32_t index; TestMediaAssetGetMediaSubType() local 184 int32_t index; TestMediaAssetGetDateAdded() local 201 int32_t index; TestMediaAssetGetDateModified() local 218 int32_t index; TestMediaAssetGetDateTaken() local 235 int32_t index; TestMediaAssetGetDateAddedMs() local 252 int32_t index; TestMediaAssetGetDuration() local 269 int32_t index; TestMediaAssetIsFavorite() local 286 int32_t index; TestMediaAssetGetTitle() local 303 int32_t index; TestMediaAssetRelease() local 320 int32_t index; TestChangeRequestAddResourceWithUri() local 337 int32_t index; TestChangeRequestGetWriteCacheHandler() local 354 int32_t index; TestChangeRequestAddResourceWithBuffer() local 371 int32_t index; TestChangeRequestSaveCameraPhoto() local 388 int32_t index; TestChangeRequestDiscardCameraPhoto() local 405 int32_t index; TestChangeRequestRelease() local 422 int32_t index; TestManagerRequestImage() local 439 int32_t index; TestManagerRequestMovingPhoto() local 456 int32_t index; TestMediaAccessHelperApplyChanges() local 473 int32_t index; TestManagerRelease() local 490 int32_t index; TestMovingPhotoGetUri() local 507 int32_t index; TestMovingPhotoRequestContentWithUris() local 524 int32_t index; TestMovingPhotoRequestContentWithUri() local 541 int32_t index; TestMovingPhotoRequestContentWithBuffer() local 558 int32_t index; TestMovingPhotoRelease() local [all...] |
/base/request/request/frameworks/js/napi/src/ |
H A D | utf8_utils.cpp | 50 bool GetNextByte(const std::vector<uint8_t> &v, size_t &index, uint8_t &next) in GetNextByte() argument 52 index += 1; in GetNextByte() 53 if (index >= v.size()) { in GetNextByte() 56 next = v[index]; in GetNextByte() 63 bool Check2Bytes(const std::vector<uint8_t> &v, size_t &index) in Check2Bytes() argument 66 return GetNextByte(v, index, next) && (next >= 0x80 && next <= 0xBF); in Check2Bytes() 72 bool Check3Bytes(const std::vector<uint8_t> &v, const size_t &first, size_t &index) in Check3Bytes() argument 75 if (!GetNextByte(v, index, next)) { in Check3Bytes() 87 return Check2Bytes(v, index); in Check3Bytes() 93 bool Check4Bytes(const std::vector<uint8_t> &v, const size_t &first, size_t &index) in Check4Bytes() argument 112 size_t index = 0; RunUtf8Validation() local [all...] |
/drivers/hdf_core/framework/model/audio/common/src/ |
H A D | audio_codec_base.c | 201 const struct AudioSapmCtrlConfig *sapmCompItem, uint16_t index) in SapmCtrlToSapmComp() 208 sapmComponents[index].componentName = in SapmCtrlToSapmComp() 209 g_audioSapmCompNameList[sapmCompItem[index].compNameIndex]; in SapmCtrlToSapmComp() 210 sapmComponents[index].reg = sapmCompItem[index].reg; in SapmCtrlToSapmComp() 211 sapmComponents[index].sapmType = sapmCompItem[index].sapmType; in SapmCtrlToSapmComp() 212 sapmComponents[index].mask = sapmCompItem[index].mask; in SapmCtrlToSapmComp() 213 sapmComponents[index] in SapmCtrlToSapmComp() 200 SapmCtrlToSapmComp(struct AudioSapmComponent *sapmComponents, const struct AudioSapmCtrlConfig *sapmCompItem, uint16_t index) SapmCtrlToSapmComp() argument 223 uint16_t index; CodecSetSapmKcontrolInfo() local 275 uint16_t index; CodecSetSapmConfigInfo() local 326 uint16_t index = 0; CodecSetKcontrolInfo() local 428 uint32_t index; CodecSetCtlFunc() local 736 uint32_t index; CodecDeviceInitRegConfig() local 772 uint16_t index; CodecDaiDeviceStartupRegConfig() local [all...] |
/base/telephony/core_service/utils/codec/src/ |
H A D | reset_response.cpp | 57 bool ResetResponse::AnalysisInterfaceData(const std::vector<uint8_t> &atrData, uint32_t atrDataLen, uint32_t &index) in AnalysisInterfaceData() argument 65 if (index >= atrDataLen) { in AnalysisInterfaceData() 68 index++; in AnalysisInterfaceData() 71 if (index >= atrDataLen) { in AnalysisInterfaceData() 74 charB = atrData[index]; in AnalysisInterfaceData() 75 index++; in AnalysisInterfaceData() 81 if (index >= atrDataLen) { in AnalysisInterfaceData() 84 index++; in AnalysisInterfaceData() 87 if (index >= atrDataLen) { in AnalysisInterfaceData() 90 charD = atrData[index]; in AnalysisInterfaceData() 130 uint32_t index = 0; AnalysisAtrData() local [all...] |
/base/telephony/cellular_call/services/common/src/ |
H A D | cellular_call_rdb_helper.cpp | 66 for (int32_t index = 0; index < rowCnt; index++) { in QueryEccList() 68 result->GoToRow(index); in QueryEccList() 69 result->GetColumnIndex(EccData::ID, index); in QueryEccList() 70 result->GetInt(index, bean.id); in QueryEccList() 71 result->GetColumnIndex(EccData::NAME, index); in QueryEccList() 72 result->GetString(index, bean.name); in QueryEccList() 73 result->GetColumnIndex(EccData::MCC, index); in QueryEccList() 74 result->GetString(index, bea in QueryEccList() [all...] |
H A D | supplement_request_ims.cpp | 26 int32_t SupplementRequestIms::SetClipRequest(int32_t slotId, int32_t action, int32_t index) in SetClipRequest() argument 34 return imsCallClient->SetClip(slotId, action, index); in SetClipRequest() 37 int32_t SupplementRequestIms::GetClipRequest(int32_t slotId, int32_t index) in GetClipRequest() argument 45 return imsCallClient->GetClip(slotId, index); in GetClipRequest() 48 int32_t SupplementRequestIms::SetClirRequest(int32_t slotId, int32_t action, int32_t index) in SetClirRequest() argument 56 return imsCallClient->SetClir(slotId, action, index); in SetClirRequest() 59 int32_t SupplementRequestIms::GetClirRequest(int32_t slotId, int32_t index) in GetClirRequest() argument 67 return imsCallClient->GetClir(slotId, index); in GetClirRequest() 70 int32_t SupplementRequestIms::GetCallTransferRequest(int32_t slotId, int32_t reason, int32_t index) in GetCallTransferRequest() argument 78 return imsCallClient->GetCallTransfer(slotId, reason, index); in GetCallTransferRequest() 81 SetCallTransferRequest( int32_t slotId, const CallTransferInfo &cfInfo, int32_t classType, int32_t index) SetCallTransferRequest() argument 104 GetCallRestrictionRequest(int32_t slotId, const std::string &fac, int32_t index) GetCallRestrictionRequest() argument 115 SetCallRestrictionRequest( int32_t slotId, std::string &fac, int32_t mode, std::string &pw, int32_t index) SetCallRestrictionRequest() argument 127 SetCallWaitingRequest(int32_t slotId, bool activate, int32_t classType, int32_t index) SetCallWaitingRequest() argument 138 GetCallWaitingRequest(int32_t slotId, int32_t index) GetCallWaitingRequest() argument 149 SetColrRequest(int32_t slotId, int32_t presentation, int32_t index) SetColrRequest() argument 160 GetColrRequest(int32_t slotId, int32_t index) GetColrRequest() argument 171 SetColpRequest(int32_t slotId, int32_t action, int32_t index) SetColpRequest() argument 182 GetColpRequest(int32_t slotId, int32_t index) GetColpRequest() argument [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_debugfs_helper.c | 52 size_t index, err = 0; in set_attr_from_string() local 55 for (index = 0; index < nelems && *ptr; ++index) { in set_attr_from_string() 85 set_attr_fn(array, index, new_size); in set_attr_from_string() 93 size_t index; in kbase_debugfs_string_validator() local 97 for (index = 0; *ptr; ++index) { in kbase_debugfs_string_validator() 174 size_t index; in kbase_debugfs_helper_get_attr_to_string() local 176 for (index in kbase_debugfs_helper_get_attr_to_string() 235 size_t index; kbase_debugfs_helper_seq_read() local [all...] |
/test/xts/acts/multimedia/av_codec/demuxer/src/ |
H A D | func_test.cpp | 243 for (int32_t index = 0; index < g_trackCount; index++) { in HWTEST_F() 244 ASSERT_EQ(AV_ERR_OK, OH_AVDemuxer_SelectTrackByID(demuxer, index)); in HWTEST_F() 248 for (int32_t index = 0; index < g_trackCount; index++) { in HWTEST_F() 250 trackFormat = OH_AVSource_GetTrackFormat(source, index); in HWTEST_F() 257 ASSERT_EQ(AV_ERR_OK, OH_AVDemuxer_ReadSample(demuxer, index, memory, &attr)); in HWTEST_F() 292 for (int32_t index in HWTEST_F() [all...] |