Home
last modified time | relevance | path

Searched refs:mp_obj_is_small_int (Results 1 – 20 of 20) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dobj.c58 if (mp_obj_is_small_int(o_in)) { in mp_obj_get_type()
76 if (mp_obj_is_small_int(o_in)) { in mp_obj_get_type()
158 } else if (mp_obj_is_small_int(arg)) { in mp_obj_is_true()
212 … (mp_obj_is_small_int(o1) || !(mp_obj_get_type(o1)->flags & MP_TYPE_FLAG_EQ_NOT_REFLEXIVE))) { in mp_obj_equal_not_equal()
238 if (mp_obj_is_small_int(o1)) { in mp_obj_equal_not_equal()
239 if (mp_obj_is_small_int(o2)) { in mp_obj_equal_not_equal()
298 } else if (mp_obj_is_small_int(arg)) { in mp_obj_get_int()
324 } else if (mp_obj_is_small_int(arg)) { in mp_obj_get_int_maybe()
342 } else if (mp_obj_is_small_int(arg)) { in mp_obj_get_float_maybe()
381 } else if (mp_obj_is_small_int(arg)) { in mp_obj_get_complex_maybe()
[all …]
A Dobjint_mpz.c123 if (mp_obj_is_small_int(self_in)) { in mp_obj_int_sign()
181 if (mp_obj_is_small_int(lhs_in)) { in mp_obj_int_binary_op()
190 if (mp_obj_is_small_int(rhs_in)) { in mp_obj_int_binary_op()
336 if (mp_obj_is_small_int(arg)) { in mp_mpz_for_int()
409 if (mp_obj_is_small_int(self_in)) { in mp_obj_int_get_truncated()
419 if (mp_obj_is_small_int(self_in)) { in mp_obj_int_get_checked()
434 if (mp_obj_is_small_int(self_in)) { in mp_obj_int_get_uint_checked()
A Dobjint_longlong.c80 if (mp_obj_is_small_int(self_in)) { in mp_obj_int_sign()
131 if (mp_obj_is_small_int(lhs_in)) { in mp_obj_int_binary_op()
138 if (mp_obj_is_small_int(rhs_in)) { in mp_obj_int_binary_op()
275 if (mp_obj_is_small_int(self_in)) { in mp_obj_int_get_truncated()
A Dobj.h86 static inline bool mp_obj_is_small_int(mp_const_obj_t o) { in mp_obj_is_small_int() function
121 static inline bool mp_obj_is_small_int(mp_const_obj_t o) { in mp_obj_is_small_int() function
156 static inline bool mp_obj_is_small_int(mp_const_obj_t o) { in mp_obj_is_small_int() function
203 static inline bool mp_obj_is_small_int(mp_const_obj_t o) { in mp_obj_is_small_int() function
715 #define mp_obj_is_int(o) (mp_obj_is_small_int(o) || mp_obj_is_type(o, &mp_type_int))
1023 #define MP_OBJ_IS_SMALL_INT mp_obj_is_small_int
A Dobjint.c231 if (mp_obj_is_small_int(self_in)) { in mp_obj_int_formatted()
439 if (!mp_obj_is_small_int(args[0])) { in int_to_bytes()
A Dobjstrunicode.c129 if (mp_obj_is_small_int(index)) { in str_index_to_ptr()
A Dparse.c488 if (mp_obj_is_small_int(elem->value)) { in push_result_token()
502 if (mp_obj_is_small_int(o)) { in push_result_token()
787 if (mp_obj_is_small_int(arg0)) { in fold_constants()
A Dvm.c120 if (mp_obj_is_small_int(sp[-1])) { \
675 } else if (mp_obj_is_small_int(TOP())) { in mp_execute_bytecode()
776 } else if (mp_obj_is_small_int(TOP())) { in mp_execute_bytecode()
A Druntime.c241 } else if (mp_obj_is_small_int(arg)) { in mp_unary_op()
362 if (mp_obj_is_small_int(lhs)) { in mp_binary_op()
364 if (mp_obj_is_small_int(rhs)) { in mp_binary_op()
A Dobjexcept.c179 …ype == &mp_type_OSError && o->args->len > 0 && o->args->len < 3 && mp_obj_is_small_int(o->args->it… in mp_obj_exception_print()
A Dobjfun.c455 if (mp_obj_is_small_int(obj)) { in convert_obj_for_inline_asm()
A Dobjstr.c231 if (mp_obj_is_small_int(args[0])) { in bytes_make_new()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmoductypes.c189 } else if (mp_obj_is_small_int(desc_in)) { in uctypes_struct_size()
205 if (mp_obj_is_small_int(v)) { in uctypes_struct_size()
391 if (mp_obj_is_small_int(deref)) { in uctypes_struct_attr_op()
567 if (mp_obj_is_small_int(t->items[1])) { in uctypes_struct_subscr()
A Dvfs_posix_file.c100 if (mp_obj_is_small_int(fid)) { in mp_vfs_posix_file_open()
A Dmoduasyncio.c113 assert(mp_obj_is_small_int(args[2])); in task_queue_push_sorted()
A Dvfs_posix.c136 if (!mp_obj_is_small_int(path_in)) { in vfs_posix_open()
A Dvfs.c312 if (mp_obj_is_small_int(args[ARG_file].u_obj)) { in mp_vfs_open()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodsocket.c220 if (mp_obj_is_small_int(port)) { in _socket_getaddrinfo2()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodsocket.c228 if (mp_obj_is_small_int(port)) { in _socket_getaddrinfo2()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodsocket.c215 if (mp_obj_is_small_int(port)) { in _socket_getaddrinfo2()

Completed in 58 milliseconds