Lines Matching refs:rawfile

6 …of operating rawfile directories and rawfiles. You can use the APIs to traverse, open, search for,…
18 | [raw_dir.h](raw__dir_8h.md) | Provides functions related to the **rawfile** directory.|
20 …es file management functions for the **rawfile** directory. You can use the **ResourceManager** to…
27 …_descriptor.md) | Defines the file descriptor information of a file in the **rawfile** directory.|
28 …RawFileDescriptor64](_raw_file_descriptor64.md) | Defines the file descriptor of a large rawfile.|
35 | typedef struct [RawDir](#rawdir)[RawDir](#rawdir) | Provides access to the **rawfile** directory.…
36 | typedef struct [RawFile](#rawfile)[RawFile](#rawfile) | Provides access to rawfiles.|
45 …[RawDir](#rawdir) \*rawDir, int index) | Obtains the name of a file in **rawfile** based on the in…
48 …nst [RawFile](#rawfile) \*rawFile, void \*buf, size_t length) | Reads data of the specified length…
49 …awfile) (const [RawFile](#rawfile) \*rawFile, long offset, int whence) | Searches for the data rea…
50 …(#oh_resourcemanager_getrawfilesize) ([RawFile](#rawfile) \*rawFile) | Obtains the length of the r…
51 …etrawfileremaininglength) (const [RawFile](#rawfile) \*rawFile) | Obtains the remaining length of …
52 …File](#oh_resourcemanager_closerawfile) ([RawFile](#rawfile) \*rawFile) | Closes a [RawFile](#rawf…
53 …cemanager_getrawfileoffset) (const [RawFile](#rawfile) \*rawFile) | Obtains the current offset of …
54 …criptor) (const [RawFile](#rawfile) \*rawFile, [RawFileDescriptor](_raw_file_descriptor.md) &d…
56 …nt64_t length) | Reads data of the specified length from the current position in a large rawfile.|
57 …fset, int whence) | Searches for the data read/write position in a large rawfile based on the spec…
58 …esize64) ([RawFile64](#rawfile64) \*rawFile) | Obtains the length of a large rawfile, in int64_t.|
59 …[RawFile64](#rawfile64) \*rawFile) | Obtains the remaining length of a large rawfile, in int64_t.|
61 …4) (const [RawFile64](#rawfile64) \*rawFile) | Obtains the offset of a large rawfile, in int64_t.|
62 …leDescriptor64](_raw_file_descriptor64.md) \*descriptor) | Opens a large rawfile based on the spec…
64 …ive **ResourceManager** based on the JS **ResourceManager** to implement rawfile-specific function…
66 …resourcemanager) \*mgr, const char \*dirName) | Traverses all files in the **rawfile** directory.|
67rawfile) \* [OH_ResourceManager_OpenRawFile](#oh_resourcemanager_openrawfile) (const [NativeResour…
68 …r](#nativeresourcemanager) \*mgr, const char \*fileName) | Opens a large rawfile and reads the dat…
69 …\*mgr, const char \*path) | Checks whether a path is a subdirectory in the **rawfile** directory.|
98 Provides access to the **rawfile** directory.
163 Closes a [RawFile](#rawfile) and releases all associated resources.
171 | rawFile | Pointer to the [RawFile](#rawfile) to read.|
238 Opens a rawfile based on the specified offset (in long) and file length (in long) and obtains the f…
248 | rawFile | Pointer to the [RawFile](#rawfile) to read.|
249 | descriptor | File descriptor of the rawfile, start position of the rawfile in the HAP, and length…
264 Opens a large rawfile based on the specified offset (in int64_t) and file length (in int64_t) and o…
275 | File descriptor of the rawfile, start position of the rawfile in the HAP, and length of the rawfi…
290 Obtain the name of the rawfile file through the index. You can use this method to traverse the rawf…
303 File name obtained if the rawfile exists in the directory; returns **null** otherwise. The file nam…
318 Obtains the current offset of a rawfile, in long.
320 Current offset of the rawfile.
328 | rawFile | Pointer to the [RawFile](#rawfile) to read.|
332 Current offset of the rawfile. If the rawfile is empty, **0** is returned.
343 Obtains the offset of a large rawfile, in int64_t.
355 Returns the current offset of the rawfile. If the rawfile is empty, 0 is returned.
366 Obtains the remaining length of the rawfile, in long.
374 | rawFile | Pointer to the [RawFile](#rawfile) to read.|
378 Remaining length of the rawfile. If the rawfile is empty, **0** is returned.
389 Obtains the remaining length of a large rawfile, in int64_t.
401 Remaining length of the rawfile. If the rawfile is empty, **0** is returned.
412 Obtains the length of the rawfile, in long.
420 | rawFile | Pointer to the [RawFile](#rawfile) to read.|
424 Overall length of the rawfile. If the rawfile is empty, **0** is returned.
435 Obtains the length of a large rawfile, in int64_t.
447 Overall length of the rawfile. If the rawfile is empty, **0** is returned.
458 Obtains the native **ResourceManager** based on the JS **ResourceManager** to implement rawfile-spe…
482 Checks whether a path is a subdirectory in the **rawfile** directory.
491 | path | Path of a rawfile.|
495 **true** if the path is a subdirectory in the **rawfile** directory; **false** otherwise.
506 Traverses all files in the **rawfile** directory.
536 Opens a rawfile and reads the data in it.
545 | fileName | Pointer to the name of the file in the relative path of the **rawfile** root directory…
549 …to the [RawFile](#rawfile) opened. You can use [OH_ResourceManager_CloseRawFile](#oh_resourcemanag…
566 Opens a large rawfile and reads the data in it.
575 | fileName | Pointer to the name of the file in the relative path of the **rawfile** root directory…
596 Reads data of the specified length from the current position in a rawfile.
604 | rawFile | Pointer to the [RawFile](#rawfile) to read.|
610 Number of read bytes. If the read length exceeds the length of the file end or rawfile is empty, **…
621 Reads data of the specified length from the current position in a large rawfile.
635 Number of read bytes. If the read length exceeds the length of the file end or rawfile is empty, **…
665 Releases the file descriptor of a file in **rawfile**.
667 To prevent file descriptor leakage, you are advised to release a rawfile descriptor immediately aft…
675 | descriptor | File descriptor of the rawfile. It contains the file descriptor, start position in t…
690 Releases the file descriptor of a file in **rawfile**.
692 To prevent file descriptor leakage, you are advised to release a rawfile descriptor immediately aft…
700 | descriptor | File descriptor of the rawfile. It contains the file descriptor, start position in t…
715 Searches for the data read/write position in a rawfile based on the specified offset.
723 | rawFile | Pointer to the [RawFile](#rawfile) to read.|
740 Searches for the data read/write position in a large rawfile based on the specified offset.