/ohos5.0/base/startup/hvb/libhvb/src/auth/ |
H A D | hvb.c | 31 vd = hvb_calloc(sizeof(*vd)); in hvb_init_verified_data() 32 if (!vd) { in hvb_init_verified_data() 63 return vd; in hvb_init_verified_data() 67 hvb_free(vd); in hvb_init_verified_data() 68 vd = NULL; in hvb_init_verified_data() 69 return vd; in hvb_init_verified_data() 243 if (!vd) { in hvb_chain_verify() 278 *out_vd = vd; in hvb_chain_verify() 300 for (n = 0; n < vd->num_loaded_certs && vd->certs; n++) { in hvb_chain_verify_data_free() 313 for (n = 0; n < vd->num_loaded_images && vd->images; n++) { in hvb_chain_verify_data_free() [all …]
|
/ohos5.0/base/startup/hvb/libhvb/src/cmdline/ |
H A D | hvb_cmdline.c | 30 if (vd == NULL || vd->cmdline.buf == NULL) in cmdline_append_option() 33 cmdline = &vd->cmdline; in cmdline_append_option() 74 return cmdline_append_option(vd, key_value, combined); in hvb_append_version_cmdline() 83 return cmdline_append_option(vd, key, digits); in cmdline_append_uint64_base10() 96 ret = cmdline_append_option(vd, key, hex_data); in cmdline_append_hex() 109 if (!hvb_append_version_cmdline(vd, HVB_CMDLINE_VERSION, in hvb_creat_cmdline() 126 if (!cmdline_append_option(vd, HVB_CMDLINE_DEV_STATE, in hvb_creat_cmdline() 138 for (uint64_t n = 0; n < vd->num_loaded_certs; n++) { in hvb_creat_cmdline() 139 rvt_size += vd->certs[n].data.size; in hvb_creat_cmdline() 142 if (hvb_calculate_certs_digest(vd, rvt_digest) != HVB_OK) { in hvb_creat_cmdline() [all …]
|
/ohos5.0/base/update/sys_installer/services/module_update/src/ |
H A D | module_dm.cpp | 38 static bool CheckVerifiedData(const struct hvb_verified_data *vd) in CheckVerifiedData() argument 40 if (vd == nullptr) { in CheckVerifiedData() 44 if (vd->num_loaded_certs != 1) { in CheckVerifiedData() 45 LOG(ERROR) << "invalid cert num " << vd->num_loaded_certs; in CheckVerifiedData() 55 struct hvb_verified_data *vd = moduleFile.GetVerifiedData(); in CreateDmDevice() local 64 if (!CheckVerifiedData(vd)) { in CreateDmDevice() 67 hr = hvb_cert_parser(&cert, &(vd->certs[0].data)); in CreateDmDevice()
|
/ohos5.0/base/startup/hvb/libhvb/src/footer/ |
H A D | hvb_footer.c | 114 struct hvb_buf *out_pubk, struct hvb_verified_data *vd) in footer_init_desc() argument 119 hvb_return_hvb_err_if_null(vd); in footer_init_desc() 141 ret = cert_init_desc(ops, ptn, &cert_buf, hash_ptn_list, out_pubk, vd); in footer_init_desc() 145 if (vd->num_loaded_certs >= HVB_MAX_NUMBER_OF_LOADED_CERTS) { in footer_init_desc() 151 cert_info = &vd->certs[vd->num_loaded_certs++]; in footer_init_desc()
|
/ohos5.0/base/startup/hvb/libhvb/src/cert/ |
H A D | hvb_cert.c | 102 struct hvb_verified_data *vd) in hash_image_init_desc() argument 143 if (vd->num_loaded_images >= HVB_MAX_NUMBER_OF_LOADED_IMAGES) { in hash_image_init_desc() 149 image = &vd->images[vd->num_loaded_images++]; in hash_image_init_desc() 469 …rno _check_rollback_index(struct hvb_ops *ops, struct hvb_cert *cert, struct hvb_verified_data *vd) in _check_rollback_index() argument 492 vd->rollback_indexes[rollback_location] = cert_rollback_index; in _check_rollback_index() 499 struct hvb_verified_data *vd) in cert_init_desc() argument 505 hvb_return_hvb_err_if_null(vd); in cert_init_desc() 526 ret = _check_rollback_index(ops, &cert, vd); in cert_init_desc() 532 ret = hash_image_init_desc(ops, ptn, &cert, hash_ptn_list, vd); in cert_init_desc() 539 vd->key_len = out_pubk->size; in cert_init_desc()
|
/ohos5.0/base/startup/hvb/libhvb/src/rvt/ |
H A D | hvb_rvt.c | 20 enum hvb_errno hvb_calculate_certs_digest(struct hvb_verified_data *vd, uint8_t *out_digest) in hvb_calculate_certs_digest() argument 32 for (n = 0; n < vd->num_loaded_certs; n++) { in hvb_calculate_certs_digest() 33 ret = hash_calc_update(&ctx, vd->certs[n].data.addr, vd->certs[n].data.size); in hvb_calculate_certs_digest()
|
/ohos5.0/base/hiviewdfx/hilog/services/hilogtool/ |
H A D | log_display.cpp | 153 static void SortDomainList(vector<DomainStatsRsp>& vd, const DomainStatsRsp* domainList, int num) in SortDomainList() argument 155 SortByLens(vd, domainList, num); in SortDomainList() 181 vector<DomainStatsRsp> vd; // sort domain list in HilogShowDomainStatsInfo() local 182 SortDomainList(vd, ldStats.dStats, ldStats.domainNum); in HilogShowDomainStatsInfo() 184 DomainStatsRsp &dStats = vd[j]; in HilogShowDomainStatsInfo()
|
/ohos5.0/foundation/multimedia/player_framework/test/unittest/screen_capture_test/native/include/ |
H A D | screen_capture_native_mock.h | 61 std::weak_ptr<ScreenCapture> vd) : mockCb_(cb), screenCapture_(vd) {} in ScreenCaptureNativeCallbackMock() argument
|
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/ |
H A D | fs_hvb.c | 210 static int FsHvbGetCert(struct hvb_cert *cert, char *devName, struct hvb_verified_data *vd) in FsHvbGetCert() argument 214 struct hvb_cert_data *p = vd->certs; in FsHvbGetCert() 215 struct hvb_cert_data *end = p + vd->num_loaded_certs; in FsHvbGetCert() 480 …ic int FsHvbCreateVerityTarget(DmVerityTarget *target, char *devName, struct hvb_verified_data *vd) in FsHvbCreateVerityTarget() argument 485 rc = FsHvbGetCert(&cert, devName, vd); in FsHvbCreateVerityTarget()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | transform_util.cpp | 23 double vd[3] = { v[0], v[1], v[2] }; in Length3() local 24 return static_cast<float>(std::sqrt(vd[0] * vd[0] + vd[1] * vd[1] + vd[2] * vd[2])); in Length3()
|
/ohos5.0/base/startup/hvb/libhvb/include/ |
H A D | hvb_cmdline.h | 35 enum hvb_errno hvb_creat_cmdline(struct hvb_ops *ops, struct hvb_verified_data *vd);
|
H A D | hvb_footer.h | 43 struct hvb_buf *out_pubk, struct hvb_verified_data *vd);
|
H A D | hvb_rvt.h | 65 enum hvb_errno hvb_calculate_certs_digest(struct hvb_verified_data *vd, uint8_t *out_digest);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 2264 const ViewportDesc& vd = renderCmd.viewportDesc; in RenderCommandDynamicStateViewport() local 2265 SetViewport(renderArea_, vd); in RenderCommandDynamicStateViewport() 3033 if ((vd.x != viewport_.x) || (vd.y != viewport_.y) || (vd.width != viewport_.width) || in SetViewport() 3034 (vd.height != viewport_.height)) { in SetViewport() 3037 if ((vd.minDepth != viewport_.minDepth) || (vd.maxDepth != viewport_.maxDepth)) { in SetViewport() 3042 viewport_.x = vd.x; in SetViewport() 3043 viewport_.y = vd.y; in SetViewport() 3044 viewport_.width = vd.width; in SetViewport() 3045 viewport_.height = vd.height; in SetViewport() 3049 viewport_.minDepth = vd.minDepth; in SetViewport() [all …]
|
H A D | render_backend_gles.h | 141 void SetViewport(const RenderPassDesc::RenderArea& ra, const ViewportDesc& vd);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_shadow_render_slot.cpp | 303 ViewportDesc vd = currentScene_.viewportDesc; in RenderSubmeshes() local 304 vd.x = static_cast<float>(xOffset); in RenderSubmeshes() 307 cmdList.SetDynamicStateViewport(vd); in RenderSubmeshes()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_command_list.cpp | 195 void ValidateViewport(const string_view nodeName, const ViewportDesc& vd) in ValidateViewport() argument 197 if ((vd.width < 1.0f) || (vd.height < 1.0f)) { in ValidateViewport() 199 …ENDER_VALIDATION : viewport width (%f) and height (%f) must be one or larger (node: %s)", vd.width, in ValidateViewport() 200 vd.height, nodeName.data()); in ValidateViewport()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | render_backend_vk.cpp | 2444 const ViewportDesc& vd = renderCmd.viewportDesc; in RenderCommand() local 2447 vd.x, // x in RenderCommand() 2448 vd.y, // y in RenderCommand() 2449 vd.width, // width in RenderCommand() 2450 vd.height, // height in RenderCommand() 2451 vd.minDepth, // minDepth in RenderCommand() 2452 vd.maxDepth, // maxDepth in RenderCommand()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/video_res/test_cbr/720_2M/ |
H A D | video_7208.ts | 562 …�N�;��x|~-3xf��@�/�7SJ����{����AE���s���y�sXYj9��y���s�w��X�U��V�$��87L.����G���;=vd��* 926 ���;qaf_�棚،u��Gڴ���vd��`S�r���35��i֫+f+��ق��̽(�};.lϸ���m���� �7��֑u!5���3�w�+���)����… 1656 …��ڀ�^���q���Ԅ�WwLm�`m�?�u�p9JE)Ei���,��~��Ń.�����.D�E9�Aׄ���n�n��vd�'��ϫ4h�[>`�o?�%��{… 2293 r��0����յ�9?���v�{�a\zc�Tx̆]iK:vd�#�fJ��W�4�D���Φ��"FIc���Cʨ]JkL��+�p���t=��|0}/�j��?…
|
H A D | video_7200.ts | 5820 a�S�AƵO@w���F�vd,}'Gm��',�OY��C>�f�A��ht?��be����[xt�b}c�0hx��$^F-�)��:l������c�e<� m2��… 5988 …��Չ.�G������7عx�p2�c*��b���$������)���=�|��|�u%/\��� 0�.�x`����w\]��5vd�nSct�j�=�[I�V~� ِ… 8432 …n��/� ��KLV�?tr�h�����R��@�N���Oo>S����w�([�;�È��_I9Y�.g7 �91ː�'Kvd���B�u��r�&G^�A… 9719 …sn~��Al�D0�:ρ���BcL�#E�=���:�w�)�`��yY�-ҳf�M��K/�2�B�ǜ����o�����{��vd^j�/'��WFĂ�ç��{*g�?�…
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/video_res/test_cbr/720_1M/ |
H A D | video_4.ts | 202 …���Y���R��6s�G+ب���l ���V�L�j���d�tnm���)S �������������b�8��Y��vd�m�3Rџ�ǷU����6gjx… 2550 nF��0�NDf#���������G�ɦ7�(�DG�B���FG����$C������dlClO��[vd�o�CQ���9�G�GǺ,�X&�#�… 3692 …�H�G�%Mߩ���ul芘�{s:g:��!+�GRm�E�Z���M;2����tl?�������se�,n-7�Z�vd��[��)��ɶe���\�Q}��P�…
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/video_res/test_cbr/1080_3M/ |
H A D | video_108011.ts | 2192 …�����}6v�ڭ;�K�K�_S��������>g+�)�j�D��,��������&�Yu2d���Q�צ�H���a���t���C���Ͼ��Gvd 2430 �L)}z��[��E���Fa:���^a����,2 ��`�3�)�'�ݥ��"P�H��:�1������vd��#�"<�@�"|�l!�GA=(Ud~�… 2491 …�V���~P��O:E� ^�c*^<c��TϿ��{+B�C�p����#�]��������[�;��}�ĥS-���L�&��3vd�{��P��c1�n
|
H A D | video_10808.ts | 626 …Yvhm��yo_{�3���Oձ�e�Dޡ���3^�q>O���Ĭ��,/�Jk�mKs��7�F�gdP�oxG��(�rxxO�i��vd��s�O����2�<3[T�%… 5711 2�q�=ܠwbG2*�T}����d#vd���G��DdV��gO�iN�a*�y9�|�����e�ذWS���,9���?���{/^.���=9ҫ1����… 7466 ��.1�P��~��,vd����fb�&{8Xf�ȕ��G!3��Z}mЯ
|
H A D | video_10809.ts | 3147 �ЍI}8�V��|[��/�8��d�vd 5667 ���g?��%9b����[6�{�GG�@����L�1\�=zǜq�u�#� ��1���;C�h�b-���Ap6�x��/�p��p���vd�R1�b�… 5821 ��$�2�;5���� �B�ĖT�#�3��A��ȣMS=י�s+zT�;y��vd����R�9�����2�į�ѩ�l#�D�L�p�у�ٕQ+sGu/�+�A… 6240 …���vY�|%��ҿo%���<�ay��{��Q/c��G�W��א�^����Q̟�L?Vo�v}�����F�V����vd!��;�g_2���<�˰���… 11589 vd^��r���_�g��uk(�N�T���+�!Qq��(�^Գ6&�=����v����Z����o�:ae����?3��W%���{�/ٺIm6�"�}�:8… 20767 �8��,���КT�+I��vd�h6c{G������h��܈4GM�8S�@�C�ʗrb�����Pp�;$������A�Ho/=��o��\`6��Ј… 21790 …��1q�-F��8#����S^��ڙr�+���ݐSJAi\H���,��Lؐ\<x�p�1�qmp6v'\S�x �����'�$�vd����G�Q�Vw]���LW… 22766 �N��oX��%6ח�;���ϼ�D����vd}�e �_t3��GZu��`�� "�K,�R�r�%����(�;*.����⨢!L�JRѱ��I�֬�ǵ$�#�…
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/demuxer_res/ |
H A D | hevc_aac_3840x2160_30frames.ts | 4490 …z,��K�Q"�����K2|b�ߏG���Q��vǂ�����bEj1A�`��?݊J��L`ma�lR��y��9W�A`��vd>rM|3[�Ig!���{���… 7019 "G.���;^%G�Ի�*@�G&r'$�\����f�z*�F���ڍ����nt��]fI���H'���љ>Osr�2��N�0G�E}�vd���.���K�����… 8294 =�z��5�����#5�vdYe.a�1$9�Y���$�Tm���/0 �G���c�вB!��a�Ċ?�}�6��l���3@�i1Ϝ��V�m��l-u��ig��1�… 9861 ո^<vd�c|K��s���;GV��Z�Y��#_1�������:y���7�����t.}�����U�NjH��W"�)Y���<�{����uL�s:�y�
|