Home
last modified time | relevance | path

Searched refs:mp_obj_is_str (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/py_engine/modules/ble/
A Dmodble.c75 if (mp_obj_is_str(value)) { in ble_startAdv()
85 if (mp_obj_is_str(value)) { in ble_startAdv()
172 if (mp_obj_is_str(chara_items_eles[2])) { in ble_addService()
179 if (mp_obj_is_str(chara_items_eles[3])) { in ble_addService()
/AliOS-Things-master/components/py_engine/engine/py/
A Dobjobject.c71 if (!mp_obj_is_str(attr)) { in object___setattr__()
86 if (!mp_obj_is_str(attr)) { in object___delattr__()
A Dobj.c217 if (mp_obj_is_str(o1)) { in mp_obj_equal_not_equal()
218 if (mp_obj_is_str(o2)) { in mp_obj_equal_not_equal()
231 } else if (mp_obj_is_str(o2) && mp_obj_is_type(o1, &mp_type_bytes)) { in mp_obj_equal_not_equal()
519 mp_obj_is_str(o_in) || in mp_obj_len_maybe()
A Dobjnamedtuple.c175 if (mp_obj_is_str(fields_in)) { in new_namedtuple_type()
A Dobjcomplex.c82 if (mp_obj_is_str(args[0])) { in complex_make_new()
A Dobjfun.c465 } else if (mp_obj_is_str(obj)) { in convert_obj_for_inline_asm()
A Dobj.h716 #define mp_obj_is_str(o) (mp_obj_is_qstr(o) || mp_obj_is_type(o, &mp_type_str)) macro
1028 #define MP_OBJ_IS_STR mp_obj_is_str
A Dpersistentcode.c632 if (mp_obj_is_str(o)) { in save_obj()
A Dmodbuiltins.c361 if (mp_obj_is_str(o_in)) { in mp_builtin_ord()
A Dobjstr.c212 if (mp_obj_is_str(args[0])) { in bytes_make_new()
1528 if (mp_obj_is_str(arg)) { in str_modulo_format()
A Dcompile.c3053 && mp_obj_is_str(get_const_object((mp_parse_node_struct_t *)pns->nodes[0])))) { in check_for_doc_string()
/AliOS-Things-master/components/py_engine/modules/ai_agent/
A Daiagent.c140 mp_obj_is_str(args[1]) ? (char *)mp_obj_str_get_str(args[1]) : NULL; in aiagent_infer()
142 mp_obj_is_str(args[2]) ? (char *)mp_obj_str_get_str(args[2]) : NULL; in aiagent_infer()
/AliOS-Things-master/components/py_engine/modules/ucloud_ai/
A Dchatbot.c81 mp_obj_is_str(args[4]) ? (char *)mp_obj_str_get_str(args[4]) : NULL; in obj_input()
/AliOS-Things-master/components/py_engine/modules/audio/
A Duvoicerecorder.c91 const char *sink = mp_obj_is_str(args[7]) ? mp_obj_str_get_str(args[7]) : NULL; in uvoice_open()
137 char *sink = mp_obj_is_str(args[7]) ? (char *)mp_obj_str_get_str(args[7]) : NULL; in uvoice_set_sink()
/AliOS-Things-master/components/py_engine/modules/driver/
A Di2c.c80 if (mp_obj_is_str(args[1])) { in i2c_open()
A Dspi.c78 if (mp_obj_is_str(args[1])) { in spi_open()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dvfs.c269 if (mp_obj_is_str(mnt_in)) { in mp_vfs_umount()

Completed in 35 milliseconds