Home
last modified time | relevance | path

Searched refs:vd (Results 1 – 25 of 63) sorted by relevance

123

/ohos5.0/base/startup/hvb/libhvb/src/auth/
H A Dhvb.c31 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 Dhvb_cmdline.c30 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 Dmodule_dm.cpp38 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 Dhvb_footer.c114 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 Dhvb_cert.c102 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 Dhvb_rvt.c20 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 Dlog_display.cpp153 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 Dscreen_capture_native_mock.h61 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 Dfs_hvb.c210 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 Dtransform_util.cpp23 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 Dhvb_cmdline.h35 enum hvb_errno hvb_creat_cmdline(struct hvb_ops *ops, struct hvb_verified_data *vd);
H A Dhvb_footer.h43 struct hvb_buf *out_pubk, struct hvb_verified_data *vd);
H A Dhvb_rvt.h65 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 Drender_backend_gles.cpp2264 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 Drender_backend_gles.h141 void SetViewport(const RenderPassDesc::RenderArea& ra, const ViewportDesc& vd);
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_shadow_render_slot.cpp303 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 Drender_command_list.cpp195 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 Drender_backend_vk.cpp2444 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 Dvideo_7208.ts562 …�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)E�i���,��~��Ń.�����.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 Dvideo_7200.ts5820 a�S�AƵO@w���F�vd,}'Gm��',�OY��C>�f�A��ht?��be����[xt�b}c�0h x��$^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 Dvideo_4.ts202 …���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:��!+�G�Rm�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 Dvideo_108011.ts2192 …���؂��}6v�ڭ;�K�K �_S��������>g+�)�j�D ��,��������&�Yu2d���Q�צ�H���a���t���C���Ͼ���G�vd
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 Dvideo_10808.ts626 …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 Dvideo_10809.ts3147 �ЍI}8�V��|[��/�8��d�vd
5667 ���g?��%9b����[6� {�G�G�@����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��܈4G�M�� 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��G�Zu��`�� "�K,�R�r�%����(�;*.����⨢!L�JRѱ��I�֬�ǵ$�#�…
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/demuxer_res/
H A Dhevc_aac_3840x2160_30frames.ts4490 …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��]f I���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���;G�V��Z�Y��#_1���������:y���7�����t.}�����U�NjH��W"�)Y���<�{����uL�s:�y�

123