Searched refs:mp_sys_path (Results 1 – 7 of 7) sorted by relevance
/AliOS-Things-master/components/py_engine/adapter/ |
A D | main.c | 445 mp_obj_list_init(mp_sys_path, 0); in mpy_init() 446 mp_obj_list_append(mp_sys_path, in mpy_init() 450 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path, strlen(path))); in mpy_init() 453 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path, strlen(path))); in mpy_init() 456 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path, strlen(path))); in mpy_init() 459 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path, strlen(path))); in mpy_init() 533 mp_obj_list_get(mp_sys_path, &len, &path_items); in mpy_run()
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | main.c | 262 mp_obj_list_init(mp_sys_path, 0); in mpy_init() 263 …mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR_)); // current dir (or base dir of the scr… in mpy_init() 266 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path_root, strlen(path_root))); in mpy_init() 269 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path_sdcard, strlen(path_sdcard))); in mpy_init() 333 mp_obj_list_get(mp_sys_path, &len, &path_items); in mpy_run()
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | main.c | 262 mp_obj_list_init(mp_sys_path, 0); in mpy_init() 263 …mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR_)); // current dir (or base dir of the scr… in mpy_init() 266 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path_root, strlen(path_root))); in mpy_init() 269 mp_obj_list_append(mp_sys_path, mp_obj_new_str_via_qstr(path_sdcard, strlen(path_sdcard))); in mpy_init() 333 mp_obj_list_get(mp_sys_path, &len, &path_items); in mpy_run()
|
/AliOS-Things-master/components/py_engine/engine/shared/upytesthelper/ |
A D | upytesthelper.c | 96 mp_obj_list_init(mp_sys_path, 0); in upytest_execute_test()
|
/AliOS-Things-master/components/py_engine/engine/mpy-cross/ |
A D | main.c | 196 mp_obj_list_init(mp_sys_path, 0); in main_()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | runtime.h | 207 #define mp_sys_path (MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_sys_path_obj))) macro
|
A D | builtinimport.c | 103 mp_obj_list_get(mp_sys_path, &path_num, &path_items); in find_file()
|
Completed in 9 milliseconds