Searched refs:mp_const_true (Results 1 – 25 of 26) sorted by relevance
12
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | obj.c | 154 } 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 D | modbuiltins.c | 105 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 D | dynruntime.h | 45 #undef mp_const_true 101 #define mp_const_true ((mp_obj_t)mp_fun_table.const_true) macro
|
A D | obj.h | 298 #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 D | sequence.c | 166 return mp_binary_op(op, items1[i], items2[i]) == mp_const_true; in mp_seq_cmp_objs()
|
A D | runtime.c | 291 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 D | modmath.c | 223 return mp_const_true; in MATH_FUN_2() 232 return mp_const_true; in MATH_FUN_2()
|
A D | nativeglue.c | 258 mp_const_true,
|
A D | modthread.c | 78 return mp_const_true; in thread_lock_acquire()
|
A D | modio.c | 217 …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 D | objset.c | 285 return mp_const_true; in set_isdisjoint() 307 mp_obj_t out = mp_const_true; in set_issubset_internal()
|
A D | objdict.c | 165 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 D | objint.c | 378 } else if (rhs_in == mp_const_true) { in mp_obj_int_binary_op_extra_cases()
|
A D | objfun.c | 461 } else if (obj == mp_const_true) { in convert_obj_for_inline_asm()
|
A D | objlist.c | 345 args.reverse.u_bool ? mp_const_false : mp_const_true); in mp_obj_list_sort()
|
A D | vm.c | 311 PUSH(mp_const_true); in mp_execute_bytecode()
|
A D | objtype.c | 1385 return mp_const_true; in mp_obj_is_subclass()
|
A D | objstr.c | 1872 return mp_const_true; in str_uni_istype()
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | machine_pinbase.c | 68 dest[2] = (arg == 0 ? mp_const_false : mp_const_true); in pinbase_ioctl()
|
A D | moduwebsocket.c | 71 if (n_args > 1 && args[1] == mp_const_true) { in websocket_make_new() 237 dest[2] = mp_const_true; in websocket_write()
|
A D | moduasyncio.c | 37 #define TASK_STATE_RUNNING_NOT_WAITED_ON (mp_const_true) 224 return mp_const_true; in task_cancel()
|
A D | moduheapq.c | 46 if (mp_binary_op(MP_BINARY_OP_LESS, item, parent) == mp_const_true) { in uheapq_heap_siftdown()
|
A D | modujson.c | 196 next = mp_const_true; in mod_ujson_load()
|
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/ |
A D | modlinkkit.c | 534 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 D | modnetwork.c | 288 return (mode & bit) ? mp_const_true : mp_const_false; in haas_wlan_active()
|
Completed in 43 milliseconds
12