Home
last modified time | relevance | path

Searched refs:rawfile (Results 1 – 25 of 225) sorted by relevance

123456789

/ohos5.0/docs/zh-cn/application-dev/reference/apis-localization-kit/
H A Draw__file_8h.md6 提供rawfile文件相关功能,功能包括搜索、读取和关闭。
14 **相关模块:**[Rawfile](rawfile.md)
32 | typedef struct [RawFile](rawfile.md#rawfile)[RawFile](rawfile.md#rawfile) | 提供对rawfile的访问功能。 |
33 | typedef struct [RawFile64](rawfile.md#rawfile64)[RawFile64](rawfile.md#rawfile64) | 提供对较大rawfile的…
40 …eadRawFile](rawfile.md#oh_resourcemanager_readrawfile) (const [RawFile](rawfile.md#rawfile) \*rawF…
41 …RawFile](rawfile.md#oh_resourcemanager_seekrawfile) (const [RawFile](rawfile.md#rawfile) \*rawFile…
42 …rceManager_GetRawFileSize](rawfile.md#oh_resourcemanager_getrawfilesize) ([RawFile](rawfile.md#raw…
43 …eRemainingLength](rawfile.md#oh_resourcemanager_getrawfileremaininglength) (const [RawFile](rawfil…
44 …_CloseRawFile](rawfile.md#oh_resourcemanager_closerawfile) ([RawFile](rawfile.md#rawfile) \*rawFil…
45 …ager_GetRawFileOffset](rawfile.md#oh_resourcemanager_getrawfileoffset) (const [RawFile](rawfile.md…
[all …]
H A Drawfile.md6 提供操作rawfile目录和rawfile文件的功能,包括遍历、打开、搜索、读取和关闭。rawfile是非线程安全的,close和open相关接口是线程安全的。
36 | typedef struct [RawFile](#rawfile)[RawFile](#rawfile) | 提供对rawfile的访问功能。 |
290 通过索引获取rawfile文件名称,可以使用此方法遍历rawfile目录。
332 返回rawfile当前的偏移量,如果rawfile为空时返回0。
355 返回rawfile当前的偏移量,如果rawfile为空时返回0。
378 返回rawfile的剩余长度,如果rawfile为空时返回0。
401 返回rawfile的剩余长度,如果rawfile为空时返回0。
424 返回rawfile的整体长度,如果rawfile为空时返回0。
447 返回rawfile的整体长度,如果rawfile为空时返回0。
495 返回true表示是rawfile下的目录,返回false表示不是rawfile下的目录。
[all …]
H A Draw__file__manager_8h.md6 提供资源管理rawfile相关功能,可以使用ResourceManager打开rawfile进行后续相关操作,像搜索和读取等。
14 **相关模块:**[Rawfile](rawfile.md)
24 | typedef struct [NativeResourceManager](rawfile.md#nativeresourcemanager)[NativeResourceManager](r…
31rawfile.md#nativeresourcemanager) \* [OH_ResourceManager_InitNativeResourceManager](rawfile.md#oh_…
32 …ReleaseNativeResourceManager](rawfile.md#oh_resourcemanager_releasenativeresourcemanager) ([Native…
33rawfile.md#rawdir) \* [OH_ResourceManager_OpenRawDir](rawfile.md#oh_resourcemanager_openrawdir) (c…
34rawfile.md#rawfile) \* [OH_ResourceManager_OpenRawFile](rawfile.md#oh_resourcemanager_openrawfile)…
35rawfile.md#rawfile64) \* [OH_ResourceManager_OpenRawFile64](rawfile.md#oh_resourcemanager_openrawf…
36 …r](rawfile.md#oh_resourcemanager_israwdir) (const [NativeResourceManager](rawfile.md#nativeresourc…
H A Draw__dir_8h.md6 提供rawfile目录相关功能,包括遍历和关闭rawfile目录。
14 **相关模块:**[Rawfile](rawfile.md)
24 | typedef struct [RawDir](rawfile.md#rawdir)[RawDir](rawfile.md#rawdir) | 提供对rawfile目录的访问。 |
31 …ager_GetRawFileName](rawfile.md#oh_resourcemanager_getrawfilename) ([RawDir](rawfile.md#rawdir) \*…
32 …awFileCount](rawfile.md#oh_resourcemanager_getrawfilecount) ([RawDir](rawfile.md#rawdir) \*rawDir)…
33 …ceManager_CloseRawDir](rawfile.md#oh_resourcemanager_closerawdir) ([RawDir](rawfile.md#rawdir) \*r…
H A D_raw_file_descriptor.md6 提供rawfile文件描述符信息。
8 …[OH_ResourceManager_GetRawFileDescriptor](rawfile.md#oh_resourcemanager_getrawfiledescriptor)的输出参数…
12 **相关模块:**[Rawfile](rawfile.md)
22 | int [fd](#fd) | rawfile文件描述符,单位为int |
23 | long [start](#start) | rawfile在HAP包中的起始位置,单位为long |
24 | long [length](#length) | rawfile在HAP包中的长度,单位为long |
36 rawfile文件描述符,单位为int
45 rawfile在HAP包中的长度,单位为long
54 rawfile在HAP包中的起始位置,单位为long
H A D_raw_file_descriptor64.md6 提供较大rawfile文件描述符信息。
8 …_ResourceManager_GetRawFileDescriptor64](rawfile.md#oh_resourcemanager_getrawfiledescriptor64)的输出参…
12 **相关模块:**[Rawfile](rawfile.md)
22 | int [fd](#fd) | rawfile文件描述符,单位为int |
23 | int64_t [start](#start) | rawfile在HAP包中的起始位置,单位为int64_t |
24 | int64_t [length](#length) | rawfile在HAP包中的长度,单位为int64_t |
36 rawfile文件描述符,单位为int
45 rawfile在HAP包中的长度,单位为int64_t
54 rawfile在HAP包中的起始位置,单位为int64_t
/ohos5.0/docs/en/application-dev/reference/apis-localization-kit/
H A Draw__file_8h.md14 **Related module**: [Rawfile](rawfile.md)
32 | typedef struct [RawFile](rawfile.md#rawfile)[RawFile](rawfile.md#rawfile) | Provides access to ra…
33 | typedef struct [RawFile64](rawfile.md#rawfile64)[RawFile64](rawfile.md#rawfile64) | Provides acce…
40rawfile.md#oh_resourcemanager_readrawfile) (const [RawFile](rawfile.md#rawfile) \*rawFile, void \*…
41rawfile.md#oh_resourcemanager_seekrawfile) (const [RawFile](rawfile.md#rawfile) \*rawFile, long of…
42 …etRawFileSize](rawfile.md#oh_resourcemanager_getrawfilesize) ([RawFile](rawfile.md#rawfile) \*rawF…
43 …(rawfile.md#oh_resourcemanager_getrawfileremaininglength) (const [RawFile](rawfile.md#rawfile) \*r…
44 …CloseRawFile](rawfile.md#oh_resourcemanager_closerawfile) ([RawFile](rawfile.md#rawfile) \*rawFile…
45 …Offset](rawfile.md#oh_resourcemanager_getrawfileoffset) (const [RawFile](rawfile.md#rawfile) \*raw…
50 …leSize64](rawfile.md#oh_resourcemanager_getrawfilesize64) ([RawFile64](rawfile.md#rawfile64) \*raw…
[all …]
H A Draw__file__manager_8h.md6 …es file management functions for the **rawfile** directory. You can use the **ResourceManager** to…
14 **Related module**: [Rawfile](rawfile.md)
24 | typedef struct [NativeResourceManager](rawfile.md#nativeresourcemanager)[NativeResourceManager](r…
31rawfile.md#nativeresourcemanager) \* [OH_ResourceManager_InitNativeResourceManager](rawfile.md#oh_…
32 …ReleaseNativeResourceManager](rawfile.md#oh_resourcemanager_releasenativeresourcemanager) ([Native…
33rawfile.md#rawdir) \* [OH_ResourceManager_OpenRawDir](rawfile.md#oh_resourcemanager_openrawdir) (c…
34rawfile.md#rawfile) \* [OH_ResourceManager_OpenRawFile](rawfile.md#oh_resourcemanager_openrawfile)…
35rawfile.md#rawfile64) \* [OH_ResourceManager_OpenRawFile64](rawfile.md#oh_resourcemanager_openrawf…
36rawfile.md#oh_resourcemanager_israwdir) (const [NativeResourceManager](rawfile.md#nativeresourcema…
H A Drawfile.md36 | typedef struct [RawFile](#rawfile)[RawFile](#rawfile) | Provides access to rawfiles.|
249 | descriptor | File descriptor of the rawfile, start position of the rawfile in the HAP, and length…
275 | File descriptor of the rawfile, start position of the rawfile in the HAP, and length of the rawfi…
320 Current offset of the rawfile.
332 Current offset of the rawfile. If the rawfile is empty, **0** is returned.
355 Returns the current offset of the rawfile. If the rawfile is empty, 0 is returned.
378 Remaining length of the rawfile. If the rawfile is empty, **0** is returned.
401 Remaining length of the rawfile. If the rawfile is empty, **0** is returned.
424 Overall length of the rawfile. If the rawfile is empty, **0** is returned.
447 Overall length of the rawfile. If the rawfile is empty, **0** is returned.
[all …]
H A Draw__dir_8h.md6 Provides APIs for operating the **rawfile** directory, including traversing and closing the **rawfi…
14 **Related module**: [Rawfile](rawfile.md)
24 | typedef struct [RawDir](rawfile.md#rawdir)[RawDir](rawfile.md#rawdir) | Provides access to the **
31 …leName](rawfile.md#oh_resourcemanager_getrawfilename) ([RawDir](rawfile.md#rawdir) \*rawDir, int i…
32 …Count](rawfile.md#oh_resourcemanager_getrawfilecount) ([RawDir](rawfile.md#rawdir) \*rawDir) | Obt…
33 …eManager_CloseRawDir](rawfile.md#oh_resourcemanager_closerawdir) ([RawDir](rawfile.md#rawdir) \*ra…
H A D_raw_file_descriptor.md6 Defines the file descriptor of a rawfile.
8 **RawFileDescriptor** is an output parameter of [OH_ResourceManager_GetRawFileDescriptor()](rawfile
12 **Related module**: [Rawfile](rawfile.md)
22 | int [fd](#fd) | File descriptor of the rawfile, in int. |
23 | long [start](#start) | Start position of the rawfile in the HAP, in long. |
24 | long [length](#length) | Length of the rawfile in the HAP, in long. |
36 File descriptor of the rawfile, in int.
45 Length of the rawfile in the HAP, in long.
54 Start position of the rawfile in the HAP, in long.
H A D_raw_file_descriptor64.md6 Defines the file descriptor of a large rawfile.
8 **RawFileDescriptor** is an output parameter of [OH_ResourceManager_GetRawFileDescriptor64](rawfile
12 **Related module**: [Rawfile](rawfile.md)
22 | int [fd](#fd) | File descriptor of the rawfile, in int. |
23 | int64_t [start](#start) | Start position of the rawfile in the HAP, in int64_t. |
24 | int64_t [length](#length) | Length of the rawfile in the HAP, in int64_t. |
36 File descriptor of the rawfile, in int.
45 Length of the rawfile in the HAP, in int64_t.
54 Start position of the rawfile in the HAP, in int64_t.
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Drawfile-guidelines.md14 | int OH_ResourceManager_GetRawFileCount(RawDir *rawDir) | 获取指定rawfile目录下的rawfile文件数量。 |
29 详细的接口说明请参考[rawfile函数说明](../reference/apis-localization-kit/rawfile.md#函数说明)。
33 以ArkTS侧获取rawfile文件列表、rawfile文件内容、rawfile描述符{fd, offset, length}三种调用方式为例。
89 3. 在hello.cpp文件中获取Js的资源对象,并转为Native的资源对象,即可调用资源的Native接口,获取rawfile列表、rawfile文件内容以及rawfile描述符{fd, of…
92 #include <rawfile/raw_file.h>
93 #include <rawfile/raw_dir.h>
179 // 获取rawfile指针对象
184 // 获取rawfile大小并申请内存
188 // 一次性读取rawfile全部内容
262 // 获取rawfile指针对象
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/
H A Dchangelogs-global.md3 ## cl.resourceManager.1 资源获取rawfile文件描述符接口含义变更
5 相较于之前的版本,在4.0.2.2 版本中,新增不解压特性,rawfile文件描述符接口返回值的含义发生了变化。接口用于返回获取的rawfile文件的descriptor:RawFileDescri…
9 fd: 访问rawfile文件的文件描述符;
11 offset: 访问rawfile文件的偏移量,此时为0;
13 length: 访问rawfile文件的大小。
17 fd: 访问rawfile文件所在hap的文件描述符;
19 offset: 访问rawfile文件相对于hap的偏移量;
21 length: 访问rawfile文件的大小。
25 之前只通过fd可以访问到rawfile文件,在4.0.2.2 及以上版本需要通过{fd, offset, length}三个参数才能访问到。
/ohos5.0/docs/zh-cn/release-notes/changelogs/v4.0-beta1/
H A Dchangelogs-global.md4 ## cl.resourceManager.1 资源获取rawfile文件描述符接口含义变更
6 相较于之前的版本,在4.0.2.2 版本中,新增不解压特性,rawfile文件描述符接口返回值的含义发生了变化。接口用于返回获取的rawfile文件的descriptor:RawFileDescri…
10 fd: 访问rawfile文件的文件描述符;
12 offset: 访问rawfile文件的偏移量,此时为0;
14 length: 访问rawfile文件的大小。
18 fd: 访问rawfile文件所在hap的文件描述符;
20 offset: 访问rawfile文件相对于hap的偏移量;
22 length: 访问rawfile文件的大小。
26 之前只通过fd可以访问到rawfile文件,在4.0.2.2 及以上版本需要通过{fd, offset, length}三个参数才能访问到。
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.2.2/
H A Dchangelogs-global.md3 …nager.1 Change in the Meaning of the Return Value for the API Used to Obtain the rawfile Descriptor
5 Changed the meaning of the return value for the API used to obtain the rawfile descriptor after the…
9 **fd**: file descriptor for accessing the rawfile.
11 **offset**: offset for accessing the rawfile. In this case, the value is **0**.
13 **length**: size of the rawfile to access.
17 **fd**: file descriptor for accessing the HAP where the rawfile is located.
19 **offset**: offset of the accessed rawfile relative to the HAP.
21 **length**: size of the rawfile to access.
25 …ersions earlier than 4.0.2.2, the rawfile can be accessed only through **fd**. In version 4.0.2.2 …
/ohos5.0/docs/zh-cn/application-dev/web/
H A Dweb-scheme-handler.md223 #include "rawfile/raw_file_manager.h"
442 #include "rawfile/raw_file.h"
583 if (!rawfile) {
667 main/resources/rawfile/test.html
687 main/resources/rawfile/cat.svg
707 main/resources/rawfile/csp_script.js
721 main/resources/rawfile/isolated.html
742 main/resources/rawfile/local.html
817 main/resources/rawfile/sw.js
831 main/resources/rawfile/video.html
[all …]
/ohos5.0/docs/en/release-notes/changelogs/v4.0-beta1/
H A Dchangelogs-global.md4 …nager.1 Change in the Meaning of the Return Value for the API Used to Obtain the rawfile Descriptor
6 Changed the meaning of the return value for the API used to obtain the rawfile descriptor after the…
10 **fd**: file descriptor for accessing the rawfile.
12 **offset**: offset for accessing the rawfile. In this case, the value is **0**.
14 **length**: size of the rawfile to access.
18 **fd**: file descriptor for accessing the HAP where the rawfile is located.
20 **offset**: offset of the accessed rawfile relative to the HAP.
22 **length**: size of the rawfile to access.
26 …ersions earlier than 4.0.2.2, the rawfile can be accessed only through **fd**. In version 4.0.2.2 …
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics3d/
H A Djs-apis-inner-scene.md28 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
34 uri: $rawfile("shaders/custom_shader/custom_material_sample.shader") };
58 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
98 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
135 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
171 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
249 uri: $rawfile("shaders/custom_shader/custom_material_sample.shader") };
368 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
397 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
425 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.33/
H A Dchangelogs-global.md62 #include <rawfile/raw_file_manager.h>
63 #include <rawfile/raw_file.h>
85 #include <rawfile/raw_file_manager.h>
86 #include <rawfile/raw_file.h>
122 #include <rawfile/raw_file_manager.h>
123 #include <rawfile/raw_file.h>
165 …scriptor(const RawFile \*rawFile, RawFileDescriptor &descriptor) | 使用接口获取rawfile文件描述符 | bool OH_Re…
166 …ileDescriptor(const RawFileDescriptor &descriptor) | 使用接口释放rawfile文件描述符 | bool OH_Re…
171 …_GetRawFileDescriptorData 获取rawfile文件描述符来读取rawfile文件内容,调用新接口 OH_ResourceManager_ReleaseRawFileDesc…
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Dresource-categories-and-access.md12 应用开发中使用的各类资源文件,需要放入特定子目录中存储管理。资源目录的示例如下所示,base目录、限定词目录、rawfile目录、resfile目录称为资源目录,element、media、prof…
35 |---rawfile // 其他类型文件,原始文件形式保存,不会被集成到resources.index文件中。文件名可自定义。
72 #### rawfile目录
279rawfile```访问资源。<br/>对于color、float、string、plural、media、profile等类型的资源,通过```$r('app.type.name')```形式访…
283 > rawfile的native的访问方式请参考[Rawfile开发指导](../napi/rawfile-guidelines.md)。
325 - 通过```"$r"```或```"$rawfile"```访问资源。具体操作如下:
336 Image($rawfile('[hsp].icon.png'))
348 rawfile: string = '[hsp].icon.png';
358 Image($rawfile(this.rawfile))
365 …> hsp包名必须写在[]内,rawfile下有多层目录,需要从rawfile下面第一个目录开始写,如```"$rawfile('[hsp].oneFile/twoFile/icon.png')"…
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.3.2/
H A Dchangelogs-default-focus.md102 ## cl.arkui.4 rawfile文件资源校验等级变更
106 所有$rawfile()的使用校验。
110 $rawfile()引用不存在的资源,报错等级由WARN变更成ERROR。
125 Image($rawfile('app_icon.png'))
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ets/
H A DREADME.md5 …2) Copy the rawfile file from the app sample project to the entry/src/main/resources/rawfile/ dire…
6 …_samples/tree/master/code/BasicFeature/Native/NdkRenderNodeDrawing/entry/src/main/resources/rawfile
7 …_1.jpg, test_2.jpg, test_3.jpg, test_4.jpg Or prepare local picturers to rawfile directory and ren…
/ohos5.0/docs/zh-cn/application-dev/graphics3d/
H A Darkgraphics3D-resource.md18 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
37 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
43 uri: $rawfile("shaders/custom_shader/custom_material_sample.shader") };
68 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
71 … let sceneImageParameter: SceneResourceParameters = { name: "image", uri: $rawfile("bricks.jpg") };
98 let scene: Promise<Scene> = Scene.load($rawfile("gltf/CubeWithFloor/glTF/AnimatedCube.gltf"));
101 …let sceneEnvironmentParameter: SceneResourceParameters = { name: "env", uri: $rawfile("bricks.ktx"…
/ohos5.0/docs/en/application-dev/web/
H A Dweb-scheme-handler.md223 #include "rawfile/raw_file_manager.h"
442 #include "rawfile/raw_file.h"
583 if (!rawfile) {
667 main/resources/rawfile/test.html
687 main/resources/rawfile/cat.svg
707 main/resources/rawfile/csp_script.js
721 main/resources/rawfile/isolated.html
742 main/resources/rawfile/local.html
817 main/resources/rawfile/sw.js
831 main/resources/rawfile/video.html
[all …]

123456789