Home
last modified time | relevance | path

Searched refs:library (Results 1 – 25 of 558) sorted by relevance

12345678910>>...23

/ohos5.0/foundation/communication/dsoftbus/components/mbedtls/
H A DBUILD.gn17 library = "//third_party/mbedtls/library"
21 "$library/aes.c",
23 "$library/arc4.c",
24 "$library/aria.c",
31 "$library/ccm.c",
38 "$library/des.c",
39 "$library/dhm.c",
43 "$library/ecp.c",
48 "$library/gcm.c",
52 "$library/md.c",
[all …]
/ohos5.0/commonlibrary/memory_utils/
H A DREADME.md7 - [libdmabufheap system library](#section_libdmabufheap)
8 - [libmeminfo system library (planning)](#section_libmeminfo)
9 - [libmemleak system library (planning)](#section_libmemleak)
10 - [libpurgeable system library](#section_libpurgeable)
11 - [libspeculative system library (planning)](#section_libspeculative)
41 ├── libmeminfo # Memory footprint management library
42 ├── libmemleak # Memory leak detection library
43 ├── libpurgeable # Purgeable memory management library
44 └── libspeculative # Speculative memory management library
51 ### libdmabufheap system library<a name="section_libdmabufheap"></a>
[all …]
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dcpp.md4 …uses [libc++](https://libcxx.llvm.org/) of the open-source LLVM project as its C++ runtime library.
22 …OS_STL** variable specifies the mode, in which the native library links the C++ runtime library. T…
23 * **c++_shared**: The native library dynamically links **libc++_shared.so**.
24 * **c++_static**: The native library links the static library **libc++_static.a**.
28library and the application native library use libc++. However, the upgrade pace of the two librar…
30 * System library: uses **libc++.so**, which is released with the system image.
31 * Application native library: uses **libc++_shared.so**, which is released with the application.
35 …> **NOTE**<br>The system library cannot use the libc++ of the application native library, and vice…
39library toolchain to a major version does not ensure ABI compatibility. If an application package …
41library in your application project, you are advised to use **c++_static**, which simplifies the C…
H A Dzlib.md5 [zlib](https://zlib.net/) is a general data compression library implemented in C/C++.
9 The zlib library provides in-momery data compression and decompression. By employing the deflate al…
11 …RFC1950](https://www.rfc-editor.org/rfc/rfc1950)). In addition, the zlib library provides interfac…
13 The decoder within the zlib library checks the integrity of compressed data. Therefore, the library
23 Add the following dynamic link library to **CMakeLists.txt**:
/ohos5.0/docs/en/application-dev/napi/
H A Dbuild-with-ndk-prebuilts.md7 For example, the prebuilt library **libavcodec_ffmpeg.so** is located in the following directory du…
17 add_library(library SHARED hello.cpp)
24 target_link_libraries(library PUBLIC libace_napi.z.so avcodec_ffmpeg)
39 add_library(library SHARED IMPORTED)
40 set_target_properties(library
42 IMPORTED_LOCATION ${DEPENDENCY_PATH}/library/libs/${OHOS_ARCH}/liblibrary.so)
44 target_link_libraries(entry PUBLIC libace_napi.z.so library)
48 To use the prebuilt library integrated in a local HAR, write the reference script in the **CMakeLis…
52 set(LIBRARY_DIR "${NATIVERENDER_ROOT_PATH}/../../../../library/build/default/intermediates/libs/def…
53 add_library(library SHARED IMPORTED)
[all …]
H A Dc-cpp-overview.md7library and application native library use C++ standard library (see [libc++](../reference/native-…
9 - System library: uses **libc++.so**, which is released with the system image.
10 - Application native library: uses **libc++_shared.so**, which is released with the application.
16 > The system and applications must use their own C++ standard library. Currently, native APIs are C…
25library can load the native library in the system directories, such as **/system/lib64** or **/ven…
27 … whether it loads the shared library specified by **DT_NEEDED** in compilation or calls **dlopen**…
37 …m restricts the invocation between the application native library and the system native library, a…
45 …earch path of a shared library. This mechanism allows a runtime search path to be embedded in an e…
47 …g paths need to be created to facilitate management. However, the native library in the newly crea…
57 You can use **dlclose** to uninstall a dynamic library.
H A Dndk-development-overview.md3 …penHarmony, such as the C runtime libc, graphics library, window system, multimedia, compression l…
17 - Customize a library based on CPU features, for example, performing Neon acceleration.
63 …reads the default values in this file, such as the compiler architecture and C++ library link mode.
86 | C standard library| Provides C standard library interfaces based on musl.|
87 | C++ standard library| Provides libc++_shared, a C++ runtime library.|
90 | libuv | Provides a third-party asynchronous I/O library.|
94 | Drawing | Provides a 2D graphics library for drawing on the surface.|
/ohos5.0/docs/zh-cn/application-dev/media/medialibrary/
H A DphotoAccessHelper-resource-guidelines.md16 …eference/apis-media-library-kit/js-apis-photoAccessHelper.md#getassets-1)获取媒体资源,并传入[FetchOptions](…
75 2. 调用[PhotoAccessHelper.getAssets](../../reference/apis-media-library-kit/js-apis-photoAccessHelper…
76 3. 调用[FetchResult.getFirstObject](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.…
111library-kit/js-apis-photoAccessHelper.md#mediaassetchangerequest11)媒体资产变更对象并写入媒体资源内容,然后调用[PhotoAcc…
152library-kit/js-apis-photoAccessHelper.md#addresource11),[ArrayBuffer](../../reference/apis-media-l…
159 …e/apis-media-library-kit/js-apis-photoAccessHelper.md#settitle11)重命名后再通过[PhotoAccessHelper.applyCh…
161 在重命名文件之前,需要先获取文件对象,可以通过[FetchResult](../../reference/apis-media-library-kit/js-apis-photoAccessHelp…
173 2. 调用[PhotoAccessHelper.getAssets](../../reference/apis-media-library-kit/js-apis-photoAccessHelper…
175 4. 调用[MediaAssetChangeRequest.setTitle](../../reference/apis-media-library-kit/js-apis-photoAccessH…
207 通过[MediaAssetChangeRequest.deleteAssets](../../reference/apis-media-library-kit/js-apis-photoAccess…
[all …]
H A DphotoAccessHelper-userAlbum-guidelines.md16 …is-media-library-kit/js-apis-photoAccessHelper-sys.md#createalbumrequest11)和[PhotoAccessHelper.app…
59 通过[PhotoAccessHelper.getAlbums](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.md…
72 3. 调用[FetchResult.getFirstObject](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.…
104 …is-media-library-kit/js-apis-photoAccessHelper.md#setalbumname11)重命名用户相册后再通过[PhotoAccessHelper.app…
126 3. 调用[FetchResult.getFirstObject](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.…
177 4. 调用[FetchResult.getFirstObject](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.…
178 5. 调用[PhotoAccessHelper.getAssets](../../reference/apis-media-library-kit/js-apis-photoAccessHelper…
179 6. 调用[FetchResult.getFirstObject](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.…
241 6. 调用[FetchResult.getFirstObject](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.…
283 …ce/apis-media-library-kit/js-apis-photoAccessHelper.md#removeassets11)和[PhotoAccessHelper.applyCha…
[all …]
H A DphotoAccessHelper-systemAlbum-guidelines.md10 …是异步的。以下异步调用的API示例均采用Promise函数,更多方式可以查阅[API参考](../../reference/apis-media-library-kit/js-apis-photo…
19 通过[PhotoAccessHelper.getAlbums](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.md…
51 …e/apis-media-library-kit/js-apis-photoAccessHelper-sys.md#setfavorite11)和[PhotoAccessHelper.applyC…
96 先[获取收藏夹对象](#获取收藏夹对象)。然后调用[Album.getAssets](../../reference/apis-media-library-kit/js-apis-photoAcce…
110 4. 调用[FetchResult.getFirstObject](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.…
144 …e/apis-media-library-kit/js-apis-photoAccessHelper-sys.md#setfavorite11)和[PhotoAccessHelper.applyC…
201 通过[PhotoAccessHelper.getAlbums](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.md…
232 先[获取视频相册对象](#获取视频相册对象)。然后调用[Album.getAssets](../../reference/apis-media-library-kit/js-apis-photoAc…
246 4. 调用[FetchResult.getFirstObject](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.…
284 通过[PhotoAccessHelper.getAlbums](../../reference/apis-media-library-kit/js-apis-photoAccessHelper.md…
[all …]
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Dhar-to-hsp.md7 // MyApplication\library\src\main\module.json5
20 // MyApplication\library\src\main\resources\base\element\string.json
33 // MyApplication\library\src\main\resources\base\profile\main_pages.json
43 // MyApplication\library\src\main\ets\pages\PageIndex.ets
67 // MyApplication\library\hvigorfile.ts
78 // MyApplication\library\oh-package.json5
84 8. 修改项目根目录下的配置文件build-profile.json5,在modules标签下找到library的配置,新增targets标签。
90 "name": "library",
91 "srcPath": "./library",
H A Din-app-hsp.md28 ├── library
56 .id('library')
68 // library/index.ets
76 // library/src/main/ets/utils/test.ets
93 // library/index.ets
99 // library/src/main/ets/utils/nativeTest.ets
110 // library/index.ets
123 // library/src/main/ets/pages/Index.ets
143 // library/src/main/ets/ResManager.ets
156 // library/index.ets
[all …]
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Dbuild-with-ndk-prebuilts.md14 add_library(library SHARED hello.cpp)
21 target_link_libraries(library PUBLIC libace_napi.z.so avcodec_ffmpeg)
64 add_library(library SHARED IMPORTED)
65 set_target_properties(library
67 IMPORTED_LOCATION ${DEPENDENCY_PATH}/library/libs/${OHOS_ARCH}/liblibrary.so)
69 target_link_libraries(entry PUBLIC libace_napi.z.so library)
77 set(LIBRARY_DIR "${NATIVERENDER_ROOT_PATH}/../../../../library/build/default/intermediates/libs/def…
78 add_library(library SHARED IMPORTED)
79 set_target_properties(library
/ohos5.0/docs/en/application-dev/quick-start/
H A Dhar-to-hsp.md7 // MyApplication\library\src\main\module.json5
20 // MyApplication\library\src\main\resources\base\element\string.json
33 // MyApplication\library\src\main\resources\base\profile\main_pages.json
43 // MyApplication\library\src\main\ets\pages\PageIndex.ets
67 // MyApplication\library\hvigorfile.ts
78 // MyApplication\library\oh-package.json5
84 8. Add the **targets** tag to **build-profile.json5** > **modules** > **library** in the root direc…
90 "name": "library",
91 "srcPath": "./library",
H A Din-app-hsp.md28 ├── library
56 .id('library')
68 // library/index.ets
76 // library/src/main/ets/utils/test.ets
93 // library/index.ets
99 // library/src/main/ets/utils/nativeTest.ets
110 // library/index.ets
123 // library/src/main/ets/pages/Index.ets
143 // library/src/main/ets/ResManager.ets
156 // library/index.ets
[all …]
/ohos5.0/docs/zh-cn/third-party-components/
H A Dohpm-third-party-guide.md47 ohpm install ../library
52 "library": "file:../library"
71 <element name="comp" src="library/src/main/js/components/index/index.hml"></element>
73 其中,library为OpenHarmony HAR的包名,hml页面的路径为OpenHarmony HAR中的相对路径。
76 <element name="comp" src="library/src/main/js/components/index/index.hml"></element>
88 // library/src/main/ets/components/mainpage/MainPage.ets
109 import { MainPage } from "library"
130 // library/index.js
138 import {func} from "library"
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Dcustomize-bytecode-during-compilation.md7library file for operating the ARK bytecode file. In the build-profile.json5 configuration file of…
11library file can be correctly loaded, the compiler generates an ARK bytecode file to the default d…
13 The following development example is a dynamic library template. You need to implement the specific…
17 1. Create the source code for modifying the dynamic library.
31 2. Use the C language compilation tool (G++) to compile the link library file of the corresponding …
53 …The path configured in the option is the path of the link library file generated in step 2 in the …
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-build-rust-compilation.md25 | ohos_rust_shared_library | Rust dynamic library. | Rust dylib dynamic library, with the de…
26 | ohos_rust_static_library | Rust static library. | Rust rlib static library, with the defau…
27 | ohos_rust_proc_macro | Rust proc_macro library. | Rust proc_macro library, with the default f…
28 …ffi | Rust Foreign Function Interface (FFI) dynamic library. | Rust cdylib dynamic library,…
29 | ohos_rust_static_ffi | Rust FFI static library. | Rust staticlib library, which is called …
39 …uild a binary executable and a static rlib library, respectively. The executable depends on the st…
282 # Exists to test the case that a single crate has both a library and a binary
327 #### Linking a C/C++ library in Rust Source Code
328library of the OpenHarmony C/C++ module is in the **.z.so** format. However, when the Rust **-l** …
329 …dynamic library is directly linked in the Rust source code, the dynamic library must be in **.so**…
[all …]
/ohos5.0/docs/en/device-dev/porting/
H A Dporting-thirdparty-makefile.md3 The following shows how to port the yxml library.
33 …ation of MakeFile \(listed in Table 1) in the root directory of the yxml library with the followin…
66 …fter step 2 is complete, a static library file and test case are generated in the **out** director…
72 …| OpenHarmony/third_party/yxml/yxml/out/lib/ | Static library file. |
81library is similar to that for the double-conversion library. For details, see the procedure descr…
146library is almost the same as that for adding the double-conversion library, except that the imple…
148 - The implementation of the newly added **BUILD.gn** file in the yxml library is as follows:
171 - The configuration of the newly added **config.gni** file in the yxml library is as follows:
185 **Table 4** Directory structure of the ported library
189 …| OpenHarmony/third_party/yxml/BUILD.gn | GN file for adding the third-party library to …
[all …]
H A Dporting-thirdparty-cmake.md4 The following shows how to port the double-conversion library.
86 …After step 2 is complete, a static library file and test cases are generated in the **build** dire…
92 | double-conversion/build/libdouble-conversion.a | Static library file |
121library is not cross-compiled, you can execute the test cases by running the **make test** command…
175 1. Copy the double-conversion library to the OpenHarmony project.
179 **Table 3** Directory structure of the ported library
183 …rd_party/double-conversion/BUILD.gn | GN file for adding the third-party library to the OpenHarmon…
186 …rd_party/double-conversion/double-conversion/ | Directory of the third-party library to be ported |
275 …on item in the configuration file to control compiling of the library. By default, library compila…
285 3. Build the library.
[all …]
/ohos5.0/docs/en/application-dev/media/medialibrary/
H A DphotoAccessHelper-resource-guidelines.md75 2. Call [PhotoAccessHelper.getAssets](../../reference/apis-media-library-kit/js-apis-photoAccessHel…
111library-kit/js-apis-photoAccessHelper.md#mediaassetchangerequest11) to create a media asset change…
152library-kit/js-apis-photoAccessHelper.md#addresource11), [ArrayBuffer](../../reference/apis-media-
159library-kit/js-apis-photoAccessHelper.md#fetchresult) to obtain the file to rename, use [MediaAsse…
171 2. Call [PhotoAccessHelper.getAssets](../../reference/apis-media-library-kit/js-apis-photoAccessHel…
173 4. Call [MediaAssetChangeRequest.setTitle](../../reference/apis-media-library-kit/js-apis-photoAcce…
174 5. Call [PhotoAccessHelper.applyChanges](../../reference/apis-media-library-kit/js-apis-photoAccess…
205 You can use [MediaAssetChangeRequest.deleteAssets](../../reference/apis-media-library-kit/js-apis-p…
219 2. Call [PhotoAccessHelper.getAssets](../../reference/apis-media-library-kit/js-apis-photoAccessHel…
220 3. Call [FetchResult.getFirstObject](../../reference/apis-media-library-kit/js-apis-photoAccessHelp…
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/native_runtime_test/
H A Djs_runtime_lite_test.cpp131 …std::string pkgContentJsonString = R"({"library":{"packageName":"library","bundleName":"com.xxx.xx…
132 "library","version":"1.0.0","entryPath":"","isSO":false}})";
165 …std::string pkgContentJsonString = R"({"library":{"packageName":"library","bundleName":"com.xxx.xx…
166 "library","version":"1.0.0","entryPath":"","isSO":false}})";
169 …std::string libraryString = R"({"library":{"packageName":"library","bundleName":"com.xxx.xxxx","mo…
170 "library","version":"1.0.0","entryPath":"","isSO":false}})";
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-mini-extend-dynamic-loading.md8 … through the API required by the third-party algorithm library. The third-party algorithm library
10 …he Arm architecture. In addition, the signature and source of the shared library to be loaded must…
22 … needs to proactively expose the API required by the dynamic library when the shared library calls…
75 …ched, based on the symbol name that needs to be relocated, in the shared library and the exported …
87 …n compiling a shared library, you can add **-fPIC** (a compilation option) to compile location-ind…
94 - **-nostdlib**: Do not use the lib library in the compiler when linking.
100 …tions in the binary file to **4**. This setting saves memory and can be used for a dynamic library.
109 - The shared library to be loaded cannot depend on the libc library or other shared libraries in th…
/ohos5.0/docs/en/application-dev/tools/
H A Dmediatool.md21library for storage. The original file names are used. If **\<path-to-local-media-file>** indicat…
23 …erated in synchronous mode when a media file is being saved to the media library, and the source f…
45 Displays the information of a resource file specified by **\<resource-uri>** in the media library i…
46 For example, if the URI of image A in the media library is **file://media/Photo/3/IMG_1721381297_00…
54 …ri>** to **all**, which displays the information about all the resource files in the media library.
78 Exports the source file specified by **\<resource-uri>** in the media library to the device path sp…
88 … <!--DelEnd-->[mediatool query](#mediatool-query) command to obtain the media library resource URI.
90 If **\<resource-uri>** is set to **all**, all resource files in the media library are exported. In …
108 Deletes a resource file specified by **\<resource-uri>** from the media library. Since the deleted …
112 …s set to **all**, all resource files in the media library are deleted and all data in the media li…
[all …]
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_spatial_channel_converter.cpp79 Library library = cfg.library; in Init() local
83 if (externalLoader_.AddAlgoHandle(library)) { in Init()
230 bool LibLoader::AddAlgoHandle(Library library) in AddAlgoHandle() argument
232 AudioEffectDescriptor descriptor = {.libraryName = library.name, .effectName = library.name}; in AddAlgoHandle()
234 libEntry_->libraryName = library.name; in AddAlgoHandle()
235 bool loadLibrarySuccess = LoadLibrary(library.path); in AddAlgoHandle()
249 CHECK_AND_RETURN_RET_LOG(ret == 0, false, "%{public}s create fail", library.name.c_str()); in AddAlgoHandle()

12345678910>>...23