Searched refs:fd1 (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/littlefs/example/ |
A D | littlefs_example.c | 23 int fd1, fd2; in read_write() local 26 fd1 = aos_open(TEST_FILE, O_CREAT | O_RDWR | O_APPEND); in read_write() 27 if(fd1 > 0){ in read_write() 28 printf("aos_open fd1=%d\n", fd1); in read_write() 30 printf("littlefs comp test fail! aos_open ret:%d\r\n", fd1); in read_write() 34 ret = aos_write(fd1, "haas100 littlefs demo\n", 22); in read_write() 38 printf("littlefs comp test fail! aos_write ret:%d\r\n", fd1); in read_write() 42 ret = aos_sync(fd1); in read_write() 72 if(fd1>0) in read_write() 74 aos_close(fd1); in read_write()
|
/AliOS-Things-master/components/fatfs/example/ |
A D | fatfs_example.c | 21 int fd1 = aos_open("/sdcard/test5.txt", O_CREAT | O_RDWR | O_APPEND); in fatfs_comp_example() local 22 if(fd1 > 0){ in fatfs_comp_example() 23 printf("aos_open /sdcard/test5.txt fd1=%d\n", fd1); in fatfs_comp_example() 25 printf("fatfs comp test fail! aos_open ret:%d\r\n", fd1); in fatfs_comp_example() 29 ret = aos_write(fd1, "hello world1\n", 13); in fatfs_comp_example() 33 printf("fatfs comp test fail! aos_write ret:%d\r\n", fd1); in fatfs_comp_example() 37 ret = aos_sync(fd1); in fatfs_comp_example() 66 aos_close(fd1); in fatfs_comp_example()
|
/AliOS-Things-master/components/littlefs/ |
A D | README.md | 121 aos_open fd1=xxx
|
/AliOS-Things-master/components/fatfs/ |
A D | README.md | 138 aos_open fd1=xxx
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | quickjs.c | 28372 JSFunctionDef* fd1; in js_free_function_def() local 28373 fd1 = list_entry(el, JSFunctionDef, link); in js_free_function_def() 28374 js_free_function_def(ctx, fd1); in js_free_function_def() 31951 JSFunctionDef* fd1; in js_create_function() local 31954 fd1 = list_entry(el, JSFunctionDef, link); in js_create_function() 31955 cpool_idx = fd1->parent_cpool_idx; in js_create_function() 31956 func_obj = js_create_function(ctx, fd1); in js_create_function()
|
Completed in 111 milliseconds