Lines Matching refs:raw
5 …raw file directories and files in OpenHarmony. You can use the APIs to perform operations such as …
7 The APIs ended with **64** are new APIs. These APIs can be used to open raw files larger than 2 GB.…
14 …penRawDir(const NativeResourceManager *mgr, const char *dirName) | Opens a raw file directory. …
15 | int OH_ResourceManager_GetRawFileCount(RawDir *rawDir) | Obtains the number of raw files in…
16 …eManager_GetRawFileName(RawDir *rawDir, int index) | Obtains the name of a raw file. …
17 …nRawFile(const NativeResourceManager *mgr, const char *fileName) | Opens a raw file. …
18 | long OH_ResourceManager_GetRawFileSize(RawFile *rawFile) | Obtains the size of a raw file. …
19 …File *rawFile, long offset, int whence) | Seeks a read/write position in a raw file based on the s…
20 | long OH_ResourceManager_GetRawFileOffset(const RawFile *rawFile) | Obtains the offset of a raw fi…
21 …er_ReadRawFile(const RawFile *rawFile, void *buf, size_t length) | Reads a raw file. …
22 …emainingLength(const RawFile *rawFile) | Obtains the remaining length of a raw file. …
23 | void OH_ResourceManager_CloseRawFile(RawFile *rawFile) | Closes a raw file to release resou…
24 | void OH_ResourceManager_CloseRawDir(RawDir *rawDir) | Closes a raw file directory to rel…
25 …le, RawFileDescriptor &descriptor) | Obtains the file descriptor (FD) of a raw file. …
26 …FileDescriptor(const RawFileDescriptor &descriptor) | Releases the FD of a raw file. …
34 The following describes how to obtain the raw file list, raw file content, and raw file descriptor{…
90 …ource objects. Then, call the native APIs to obtain the raw file list, raw file content, and raw f…
97 // Example 1: Use GetFileList to obtain the raw file list.
110 // Obtain argv[1], which specifies the relative path of the raw file.
143 // Example 2: Use GetRawFileContent to obtain the content of the raw file.
180 // Obtain the raw file pointer object.
185 // Obtain the size of the raw file and apply for memory.
189 // Read all content of the raw file at a time.
192 // Read all content of the raw file by multiple times, with 100 bytes per time.
206 // Example 3: Use GetRawFileDescriptor to obtain the FD of the raw file.
263 // Obtain the raw file pointer object.
268 // Obtain the FD of the raw file, that is, RawFileDescriptor {fd, offset, length}.
309 // Obtain the raw file pointer object.
322 …d.ts**. When calling the API, pass in the JS resource object and the relative path of the raw file.
342 …FileList(this.resmgr, ""); // Pass in the JS resource object and the relative path of the raw file.