Home
last modified time | relevance | path

Searched refs:mp_const_true (Results 1 – 25 of 26) sorted by relevance

12

/AliOS-Things-master/components/py_engine/engine/py/
A Dobj.c154 } else if (arg == mp_const_true) { in mp_obj_is_true()
169 return result == mp_const_true; in mp_obj_is_true()
206 mp_obj_t local_true = (op == MP_BINARY_OP_NOT_EQUAL) ? mp_const_false : mp_const_true; in mp_obj_equal_not_equal()
207 mp_obj_t local_false = (op == MP_BINARY_OP_NOT_EQUAL) ? mp_const_true : mp_const_false; in mp_obj_equal_not_equal()
296 } else if (arg == mp_const_true) { in mp_obj_get_int()
322 } else if (arg == mp_const_true) { in mp_obj_get_int_maybe()
340 } else if (arg == mp_const_true) { in mp_obj_get_float_maybe()
378 } else if (arg == mp_const_true) { in mp_obj_get_complex_maybe()
A Dmodbuiltins.c105 return mp_const_true; in mp_builtin_all()
115 return mp_const_true; in mp_builtin_any()
130 return mp_const_true; in mp_builtin_callable()
279 if (best_obj == MP_OBJ_NULL || (mp_binary_op(op, key, best_key) == mp_const_true)) { in mp_builtin_min_max()
299 if (best_obj == MP_OBJ_NULL || (mp_binary_op(op, key, best_key) == mp_const_true)) { in mp_builtin_min_max()
A Ddynruntime.h45 #undef mp_const_true
101 #define mp_const_true ((mp_obj_t)mp_fun_table.const_true) macro
A Dobj.h298 #define MP_ROM_TRUE mp_const_true
676 #define mp_const_true MP_OBJ_NEW_IMMEDIATE_OBJ(3) macro
680 #define mp_const_true (MP_OBJ_FROM_PTR(&mp_const_true_obj)) macro
711 #define mp_obj_is_bool(o) ((o) == mp_const_false || (o) == mp_const_true)
723 return x ? mp_const_true : mp_const_false; in mp_obj_new_bool()
A Dsequence.c166 return mp_binary_op(op, items1[i], items2[i]) == mp_const_true; in mp_seq_cmp_objs()
A Druntime.c291 return mp_const_true; in mp_unary_op()
342 return mp_const_true; in mp_binary_op()
354 return mp_const_true; in mp_binary_op()
609 return mp_const_true; in mp_binary_op()
1443 return mp_import_name(dot_name_q, mp_const_true, MP_OBJ_NEW_SMALL_INT(0)); in mp_import_from()
A Dmodmath.c223 return mp_const_true; in MATH_FUN_2()
232 return mp_const_true; in MATH_FUN_2()
A Dnativeglue.c258 mp_const_true,
A Dmodthread.c78 return mp_const_true; in thread_lock_acquire()
A Dmodio.c217 …mp_obj_t pkg = mp_import_name(mp_obj_str_get_qstr(package_in), mp_const_true, MP_OBJ_NEW_SMALL_INT… in resource_stream()
A Dobjset.c285 return mp_const_true; in set_isdisjoint()
307 mp_obj_t out = mp_const_true; in set_issubset_internal()
A Dobjdict.c165 return e1 == NULL && e2 == NULL ? mp_const_true : mp_const_false; in dict_binary_op()
183 return mp_const_true; in dict_binary_op()
A Dobjint.c378 } else if (rhs_in == mp_const_true) { in mp_obj_int_binary_op_extra_cases()
A Dobjfun.c461 } else if (obj == mp_const_true) { in convert_obj_for_inline_asm()
A Dobjlist.c345 args.reverse.u_bool ? mp_const_false : mp_const_true); in mp_obj_list_sort()
A Dvm.c311 PUSH(mp_const_true); in mp_execute_bytecode()
A Dobjtype.c1385 return mp_const_true; in mp_obj_is_subclass()
A Dobjstr.c1872 return mp_const_true; in str_uni_istype()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmachine_pinbase.c68 dest[2] = (arg == 0 ? mp_const_false : mp_const_true); in pinbase_ioctl()
A Dmoduwebsocket.c71 if (n_args > 1 && args[1] == mp_const_true) { in websocket_make_new()
237 dest[2] = mp_const_true; in websocket_write()
A Dmoduasyncio.c37 #define TASK_STATE_RUNNING_NOT_WAITED_ON (mp_const_true)
224 return mp_const_true; in task_cancel()
A Dmoduheapq.c46 if (mp_binary_op(MP_BINARY_OP_LESS, item, parent) == mp_const_true) { in uheapq_heap_siftdown()
A Dmodujson.c196 next = mp_const_true; in mod_ujson_load()
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodlinkkit.c534 return mp_const_true; in linkkit_init()
540 return mp_const_true; in register_dyn_dev()
/AliOS-Things-master/components/py_engine/modules/network/
A Dmodnetwork.c288 return (mode & bit) ? mp_const_true : mp_const_false; in haas_wlan_active()

Completed in 43 milliseconds

12