Home
last modified time | relevance | path

Searched refs:pathDir (Results 1 – 25 of 39) sorted by relevance

12

/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/
H A Djs-apis-fileio.md28 let pathDir = context.filesDir;
64 let filePath = pathDir + "test.txt";
130 let stat = fileio.statSync(pathDir);
163 let dirPath = pathDir + "/testDir";
564 let dirPath = pathDir + '/testDir';
597 let dirPath = pathDir + '/testDir';
2176 let dstFile = pathDir + '/test';
2210 let dstFile = pathDir + '/test';
2240 let dstFile = pathDir + '/test';
2374 fileio.mkdtemp(pathDir + "/XXXXXX").then((pathDir: string) => {
[all …]
H A Djs-apis-file-fs.md26 let pathDir = context.filesDir;
63 let filePath = pathDir + "/test.txt";
134 let stat = fs.statSync(pathDir);
174 let filePath = pathDir + "/test.txt";
221 let filePath = pathDir + "/test.txt";
820 let srcPath = pathDir + "/srcDir/";
2904 let dstFile = pathDir + "/test";
2937 let dstFile = pathDir + "/test";
2970 let dstFile = pathDir + "/test";
3319 let srcPath = pathDir + "/srcDir/";
[all …]
H A Djs-apis-file-securityLabel.md27 let pathDir = context.filesDir;
82 let filePath = pathDir + '/test.txt';
125 let filePath = pathDir + '/test.txt';
168 let filePath = pathDir + '/test.txt';
211 let filePath = pathDir + '/test.txt';
253 let filePath = pathDir + '/test.txt';
301 let filePath = pathDir + '/test.txt';
H A Djs-apis-file-fileuri.md24 let pathDir = context.filesDir;
67 let path = pathDir + '/test';
90 let path = pathDir + '/test';
128 let path = pathDir + '/test.txt';
203 let filePath = pathDir + "/test";
H A Djs-apis-file-hash.md26 let pathDir = context.filesDir;
69 let filePath = pathDir + "/test.txt";
108 let filePath = pathDir + "/test.txt";
148 const filePath = pathDir + "/test.txt";
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path.cpp83 path_.arcTo(rx, ry, angle, arcLarge, pathDir, endX, endY); in ArcTo()
127 path_.arcTo(rx, ry, angle, arcLarge, pathDir, dx, dy); in RArcTo()
151 SkPathDirection pathDir = static_cast<SkPathDirection>(dir); in AddRect() local
158 SkPathDirection pathDir = static_cast<SkPathDirection>(dir); in AddRect() local
165 SkPathDirection pathDir = static_cast<SkPathDirection>(dir); in AddOval() local
172 SkPathDirection pathDir = static_cast<SkPathDirection>(dir); in AddOval() local
195 SkPathDirection pathDir = static_cast<SkPathDirection>(dir); in AddCircle() local
196 path_.addCircle(x, y, radius, pathDir); in AddCircle()
203 SkPathDirection pathDir = static_cast<SkPathDirection>(dir); in AddRoundRect() local
210 SkPathDirection pathDir = static_cast<SkPathDirection>(dir); in AddRoundRect() local
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-zlib.md505 let pathDir = '';
514 zlib.compressFiles([inFile, pathDir, pathDir], outFile, options).then((data: void) => {
4161 gzopenDemo(pathDir);
4225 gzeofDemo(pathDir);
4546 gzgetcDemo(pathDir);
5101 gztellDemo(pathDir);
5242 gzseekDemo(pathDir);
5384 gzreadDemo(pathDir);
5453 gzputsDemo(pathDir);
5522 gzputcDemo(pathDir);
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/
H A Djs-apis-fileio.md28 let pathDir = context.filesDir;
64 let filePath = pathDir + "test.txt";
130 let stat = fileio.statSync(pathDir);
163 let dirPath = pathDir + "/testDir";
564 let dirPath = pathDir + '/testDir';
597 let dirPath = pathDir + '/testDir';
2176 let dstFile = pathDir + '/test';
2210 let dstFile = pathDir + '/test';
2240 let dstFile = pathDir + '/test';
2374 fileio.mkdtemp(pathDir + "/XXXXXX").then((pathDir: string) => {
[all …]
H A Djs-apis-file-fs.md26 let pathDir = context.filesDir;
67 let filePath = pathDir + "/test.txt";
138 let stat = fs.statSync(pathDir);
178 let filePath = pathDir + "/test.txt";
225 let filePath = pathDir + "/test.txt";
824 let srcPath = pathDir + "/srcDir/";
2908 let dstFile = pathDir + "/test";
2941 let dstFile = pathDir + "/test";
2974 let dstFile = pathDir + "/test";
3323 let srcPath = pathDir + "/srcDir/";
[all …]
H A Djs-apis-file-fileuri.md24 let pathDir = context.filesDir;
67 let path = pathDir + '/test';
90 let path = pathDir + '/test';
128 let path = pathDir + '/test.txt';
203 let filePath = pathDir + "/test";
H A Djs-apis-file-securityLabel.md27 let pathDir = context.filesDir;
82 let filePath = pathDir + '/test.txt';
125 let filePath = pathDir + '/test.txt';
168 let filePath = pathDir + '/test.txt';
211 let filePath = pathDir + '/test.txt';
253 let filePath = pathDir + '/test.txt';
301 let filePath = pathDir + '/test.txt';
/ohos5.0/docs/zh-cn/application-dev/media/camera/
H A Dcamera-picker.md36 let pathDir = getContext().filesDir;
38 let filePath = pathDir + `/${fileName}.tmp`
75 let pathDir = getContext().filesDir;
77 let filePath = pathDir + `/${fileName}.tmp`
/ohos5.0/docs/zh-cn/application-dev/file-management/
H A Dfile-copy-across-devices.md21 let pathDir: string = context.filesDir;
24 let filePath: string = pathDir + '/src.txt';
64 let pathDir: string = context.filesDir;
67 let filePath: string = pathDir + '/dest.txt';
H A Dfile-access-across-devices.md21 let pathDir: string = context.distributedFilesDir;
23 let filePath: string = pathDir + '/test.txt';
67 let pathDir: string = context.distributedFilesDir;
69 let filePath: string = pathDir + '/test.txt';
H A Dset-security-label.md35 let pathDir = context.filesDir;
36 let filePath = pathDir + '/test.txt';
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-zlib.md505 let pathDir = '';
514 zlib.compressFiles([inFile, pathDir, pathDir], outFile, options).then((data: void) => {
4130 gzopenDemo(pathDir);
4194 gzeofDemo(pathDir);
4515 gzgetcDemo(pathDir);
5070 gztellDemo(pathDir);
5211 gzseekDemo(pathDir);
5353 gzreadDemo(pathDir);
5422 gzputsDemo(pathDir);
5491 gzputcDemo(pathDir);
[all …]
/ohos5.0/docs/zh-cn/application-dev/media/media/
H A Dusing-avplayer-for-playback.md165 let pathDir = context.filesDir;
166 let path = pathDir + '/01.mp3';
214 let pathDir = context.filesDir;
215 let path = pathDir + '/01.mp3';
248 let pathDir = context.filesDir;
249 let path = pathDir + '/01.mp3';
H A Dvideo-playback.md172 let pathDir = context.filesDir;
173 let path = pathDir + '/H264_AAC.mp4';
221 let pathDir = context.filesDir;
222 let path = pathDir + '/H264_AAC.mp4';
255 let pathDir = context.filesDir;
256 let path = pathDir + '/H264_AAC.mp4';
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/entryability/
H A DEntryAbility.ets46 let pathDir = context.filesDir;
47 AppStorage.setOrCreate("pathDir" , pathDir)
/ohos5.0/docs/en/application-dev/media/camera/
H A Dcamera-picker.md34 let pathDir = getContext().filesDir;
36 let filePath = pathDir + `/${fileName}.tmp`
73 let pathDir = getContext().filesDir;
75 let filePath = pathDir + `/${fileName}.tmp`
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-bundle-BundleInstaller-sys.md207 let pathDir = context.filesDir;
208 console.info('sandbox path is ' + pathDir);
219 let pathDir = data;
220 console.info('sandbox path is ' + pathDir);
/ohos5.0/docs/en/application-dev/file-management/
H A Dfile-copy-across-devices.md21 let pathDir: string = context.filesDir;
24 let filePath: string = pathDir + '/src.txt';
64 let pathDir: string = context.filesDir;
67 let filePath: string = pathDir + '/dest.txt';
H A Dfile-access-across-devices.md21 let pathDir: string = context.distributedFilesDir;
23 let filePath: string = pathDir + '/test.txt';
67 let pathDir: string = context.distributedFilesDir;
69 let filePath: string = pathDir + '/test.txt';
/ohos5.0/foundation/filemanagement/file_api/interfaces/test/unittest/napi_test/
H A DFsCopyTest.js23 let pathDir = '/data/storage/el2/base/haps/entry/files';
24 let srcDirPathLocal = pathDir + "/src";
26 let dstDirPathLocal = pathDir + "/dest";
101 await fs.copy(pathDir, "bbb", (err) => {
990 let srcPath = pathDir+"/./pppppp";
991 let destPath =pathDir+ "/ttt/pppppp";
1021 let srcPath = pathDir+"/.////ssssss///";
1022 let destPath =pathDir+ "/ttt/ssssss//////";
1052 let srcPath = pathDir+"/test1/";
1053 let destPath =pathDir+ "/test1/testttt2";
/ohos5.0/foundation/multimedia/ringtone_library/test/unittest/ringtone_utils_test/src/
H A Dringtone_file_utils_test.cpp200 const string pathDir = "/data/ringtone/ringtoneFileUtils_RemoveDirectory_Test_001"; variable
201 ret = RingtoneFileUtils::IsDirectory(pathDir, errCodePtr);
204 ret = RingtoneFileUtils::IsDirectory(pathDir, errCode);

12