Home
last modified time | relevance | path

Searched refs:fd2 (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/littlefs/example/
A Dlittlefs_example.c23 int fd1, fd2; in read_write() local
48 fd2 = aos_open(TEST_FILE, O_RDWR); in read_write()
49 if(fd2 > 0){ in read_write()
50 printf("aos_open fd2=%d\n", fd2); in read_write()
52 printf("littlefs comp test fail! aos_open ret:%d\r\n", fd2); in read_write()
55 ret = aos_lseek(fd2, 21, 0); in read_write()
63 ret = aos_read(fd2, buff, 128); in read_write()
76 if(fd2>0) in read_write()
78 aos_close(fd2); in read_write()
/AliOS-Things-master/components/fatfs/example/
A Dfatfs_example.c43 int fd2 = aos_open("/sdcard/test5.txt", O_RDWR); in fatfs_comp_example() local
44 if(fd2 > 0){ in fatfs_comp_example()
45 printf("aos_open /sdcard/test5.txt fd2=%d\n", fd2); in fatfs_comp_example()
47 printf("fatfs comp test fail! aos_open ret:%d\r\n", fd2); in fatfs_comp_example()
50 ret = aos_lseek(fd2, 12, 0); in fatfs_comp_example()
58 ret = aos_read(fd2, buff, sizeof(buff) - 1); in fatfs_comp_example()
67 aos_close(fd2); in fatfs_comp_example()
/AliOS-Things-master/components/littlefs/
A DREADME.md123 aos_open fd2=xxx
/AliOS-Things-master/components/fatfs/
A DREADME.md140 aos_open fd2=xxx
/AliOS-Things-master/components/freetype/src/cff/
A Dcffload.c741 FT_Byte fd2; in cff_fd_select_get() local
751 fd2 = *p++; in cff_fd_select_get()
756 fd = fd2; in cff_fd_select_get()
761 fdselect->cache_fd = fd2; in cff_fd_select_get()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/libc/
A Dquickjs_libc.c3330 int fd, fd2, ret; in js_os_dup2() local
3335 if (JS_ToInt32(ctx, &fd2, argv[1])) { in js_os_dup2()
3338 ret = js_get_errno(dup2(fd, fd2)); in js_os_dup2()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dquickjs-libc.c3008 int fd, fd2, ret; in js_os_dup2() local
3012 if (JS_ToInt32(ctx, &fd2, argv[1])) in js_os_dup2()
3014 ret = js_get_errno(dup2(fd, fd2)); in js_os_dup2()

Completed in 23 milliseconds