Home
last modified time | relevance | path

Searched refs:vstr_str (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dbuiltinimport.c88 DEBUG_printf("stat %s: %d\n", vstr_str(path), stat); in stat_dir_or_file()
370 DEBUG_printf("Previous path: =%.*s=\n", vstr_len(&path), vstr_str(&path)); in mp_builtin___import__()
383 DEBUG_printf("Current path: %.*s\n", vstr_len(&path), vstr_str(&path)); in mp_builtin___import__()
435 DEBUG_printf("%.*s is dir\n", vstr_len(&path), vstr_str(&path)); in mp_builtin___import__()
438 … mp_store_attr(module_obj, MP_QSTR___path__, mp_obj_new_str(vstr_str(&path), vstr_len(&path))); in mp_builtin___import__()
A Dmisc.h186 static inline char *vstr_str(vstr_t *vstr) { in vstr_str() function
/AliOS-Things-master/components/py_engine/engine/shared/runtime/
A Dpyexec.c308 … if (vstr_len(MP_STATE_VM(repl_line)) == 2 && vstr_str(MP_STATE_VM(repl_line))[0] == CHAR_CTRL_E) { in pyexec_raw_repl_process_char()
309 int ret = do_reader_stdin(vstr_str(MP_STATE_VM(repl_line))[1]); in pyexec_raw_repl_process_char()
500 if (vstr_len(&line) == 2 && vstr_str(&line)[0] == CHAR_CTRL_E) { in pyexec_raw_repl()
501 int ret = do_reader_stdin(vstr_str(&line)[1]); in pyexec_raw_repl()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dvfs_lfsx.c248 vstr_add_strn(&path_new, vstr_str(&self->cur_dir), vstr_len(&self->cur_dir)); in MP_VFS_LFSx()
286 if (path == vstr_str(&self->cur_dir)) { in MP_VFS_LFSx()
301 char *cwd = vstr_str(&self->cur_dir); in MP_VFS_LFSx()
/AliOS-Things-master/components/py_engine/engine/shared/readline/
A Dreadline.c104 const char *line_buf = vstr_str(rl.line); in cursor_count_word()

Completed in 10 milliseconds