Searched refs:mp_obj_is_str_or_bytes (Results 1 – 8 of 8) sorted by relevance
453 mp_check_self(mp_obj_is_str_or_bytes(self_in)); in str_join()699 mp_check_self(mp_obj_is_str_or_bytes(args[0])); in str_finder()797 mp_check_self(mp_obj_is_str_or_bytes(args[0])); in str_uni_strip()1401 mp_check_self(mp_obj_is_str_or_bytes(args[0])); in mp_obj_str_format()1412 mp_check_self(mp_obj_is_str_or_bytes(pattern)); in str_modulo_format()1618 mp_check_self(mp_obj_is_str_or_bytes(args[0])); in str_replace()1726 mp_check_self(mp_obj_is_str_or_bytes(args[0])); in str_count()1768 mp_check_self(mp_obj_is_str_or_bytes(self_in)); in str_partitioner()2160 if (mp_obj_is_str_or_bytes(self_in)) { in mp_obj_str_get_str()2170 if (mp_obj_is_str_or_bytes(self_in)) { in mp_obj_str_get_data()
55 } else if (mp_obj_is_str_or_bytes(args[0])) { in mp_obj_int_make_new()382 …if (mp_obj_is_str_or_bytes(rhs_in) || mp_obj_is_type(rhs_in, &mp_type_tuple) || mp_obj_is_type(rhs… in mp_obj_int_binary_op_extra_cases()
202 if (mp_obj_is_str_or_bytes(args[0])) { in stringio_make_new()
717 #define mp_obj_is_str_or_bytes(o) (mp_obj_is_qstr(o) || (mp_obj_is_obj(o) && ((mp_obj_base_t *)MP_O… macro1029 #define MP_OBJ_IS_STR_OR_BYTES mp_obj_is_str_or_bytes
93 … bool add_quote = MICROPY_PY_UJSON && kind == PRINT_JSON && !mp_obj_is_str_or_bytes(next->key); in dict_print()
630 if (mp_obj_is_str_or_bytes(o)) { in save_obj()
271 } else if (op == MP_UNARY_OP_HASH && mp_obj_is_str_or_bytes(arg)) { in mp_unary_op()
785 mp_check_self(mp_obj_is_str_or_bytes(args[ARG_s].u_obj)); in framebuf_text_helper()
Completed in 23 milliseconds