Home
last modified time | relevance | path

Searched refs:TRUNC (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dutils.cpp28 flagsABI |= ((flags & USR_TRUNC) == USR_TRUNC) ? TRUNC : 0; in ConvertCjFlags()
H A Dutils.h33 constexpr int TRUNC = UV_FS_O_TRUNC; variable
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/
H A Dcommon_func.h29 constexpr int TRUNC = 01000; variable
H A Dcommon_func.cpp43 DECLARE_NAPI_STATIC_PROPERTY("TRUNC", NVal::CreateInt32(env, TRUNC).val_), in InitOpenMode()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/
H A Dcommon_func.h34 constexpr int TRUNC = UV_FS_O_TRUNC; variable
H A Dcommon_func.cpp165 flagsABI |= ((flags & USR_TRUNC) == USR_TRUNC) ? TRUNC : 0; in ConvertJsFlags()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-photoEditorExtensionContext.md77 | fileIo.OpenMode.CREATE | fileIo.OpenMode.TRUNC);
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-photoEditorExtensionContext.md77 | fileIo.OpenMode.CREATE | fileIo.OpenMode.TRUNC);
/ohos5.0/foundation/filemanagement/file_api/
H A DREADME_zh.md133 | TRUNC | number | 0o1000 | 如果文件存在且以只写或读写的方式打开文件,则将其长度裁剪为零。 |
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/
H A Djs-apis-file-fs.md1457 …额外选项:<br/>-&nbsp;OpenMode.CREATE(0o100):若文件不存在,则创建文件。<br/>-&nbsp;OpenMode.TRUNC(0o1000):如果文件存在且文件具…
1500 …额外选项:<br/>-&nbsp;OpenMode.CREATE(0o100):若文件不存在,则创建文件。<br/>-&nbsp;OpenMode.TRUNC(0o1000):如果文件存在且文件具…
1573 …额外选项:<br/>-&nbsp;OpenMode.CREATE(0o100):若文件不存在,则创建文件。<br/>-&nbsp;OpenMode.TRUNC(0o1000):如果文件存在且文件具…
3624 …额外选项:<br/>-&nbsp;OpenMode.CREATE(0o100):若文件不存在,则创建文件。<br/>-&nbsp;OpenMode.TRUNC(0o1000):如果RandomAc…
3700 …额外选项:<br/>-&nbsp;OpenMode.CREATE(0o100):若文件不存在,则创建文件。<br/>-&nbsp;OpenMode.TRUNC(0o1000):如果RandomAc…
3736 …额外选项:<br/>-&nbsp;OpenMode.CREATE(0o100):若文件不存在,则创建文件。<br/>-&nbsp;OpenMode.TRUNC(0o1000):如果RandomAc…
3776 …额外选项:<br/>-&nbsp;OpenMode.CREATE(0o100):若文件不存在,则创建文件。<br/>-&nbsp;OpenMode.TRUNC(0o1000):如果RandomAc…
3811 …额外选项:<br/>-&nbsp;OpenMode.CREATE(0o100):若文件不存在,则创建文件。<br/>-&nbsp;OpenMode.TRUNC(0o1000):如果RandomAc…
5618 | TRUNC | number | 0o1000 | 如果文件存在且以只写或读写的方式打开文件,则将其长度裁剪为零。<br>**原子化服务API:** 从API version 11开始,该…
5928 …额外选项:<br/>-&nbsp;OpenMode.CREATE(0o100):若文件不存在,则创建文件。<br/>-&nbsp;OpenMode.TRUNC(0o1000):如果文件存在且文件具…
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202211/
H A Djs-apidiff-file-management.md9 |新增|NA|模块名: ohos.file.fs<br>类名: OpenMode<br>方法名 or 属性名: TRUNC|@ohos.file.fs.d.ts|
/ohos5.0/docs/en/release-notes/api-diff/monthly-202211/
H A Djs-apidiff-file-management.md9 |Added|NA|Module name: ohos.file.fs<br>Class name: OpenMode<br>Method or attribute name: TRUNC|@oho…
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/
H A Djs-apis-file-fs.md1461 … create it. (This value is invalid if **path** is a URI.)<br>- **OpenMode.TRUNC(0o1000)**: If the …
1504 … create it. (This value is invalid if **path** is a URI.)<br>- **OpenMode.TRUNC(0o1000)**: If the …
1577 … create it. (This value is invalid if **path** is a URI.)<br>- **OpenMode.TRUNC(0o1000)**: If the …
3628 …e.CREATE(0o100)**: If the file does not exist, create it.<br>- **OpenMode.TRUNC(0o1000)**: If the …
3704 …e.CREATE(0o100)**: If the file does not exist, create it.<br>- **OpenMode.TRUNC(0o1000)**: If the …
3740 …e.CREATE(0o100)**: If the file does not exist, create it.<br>- **OpenMode.TRUNC(0o1000)**: If the …
3780 …e.CREATE(0o100)**: If the file does not exist, create it.<br>- **OpenMode.TRUNC(0o1000)**: If the …
3815 …e.CREATE(0o100)**: If the file does not exist, create it.<br>- **OpenMode.TRUNC(0o1000)**: If the …
5622 | TRUNC | number | 0o1000 | If the file exists and is opened in write-only or read/write mode, t…
5932 …e.CREATE(0o100)**: If the file does not exist, create it.<br>- **OpenMode.TRUNC(0o1000)**: If the …
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta4/
H A Djs-apidiff-file-management.md9 |新增|NA|模块名: ohos.file.fs<br>类名: OpenMode<br>方法名 or 属性名: TRUNC|@ohos.file.fs.d.ts|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta4/
H A Djs-apidiff-file-management.md9 |Added|NA|Module name: ohos.file.fs<br>Class name: OpenMode<br>Method or attribute name: TRUNC|@oho…