Searched refs:subobj (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/ |
A D | module_aiot_gateway.c | 504 JSValue subobj = JS_GetPropertyUint32(ctx, argv[0], i); in native_aiot_addTopo() local 505 JSValue pk = JS_GetPropertyStr(ctx, subobj, "productKey"); in native_aiot_addTopo() 508 JSValue dn = JS_GetPropertyStr(ctx, subobj, "deviceName"); in native_aiot_addTopo() 576 JSValue subobj = JS_GetPropertyUint32(ctx, argv[0], i); in native_aiot_removeTopo() local 577 JSValue pk = JS_GetPropertyStr(ctx, subobj, "productKey"); in native_aiot_removeTopo() 586 JS_FreeValue(ctx, subobj); in native_aiot_removeTopo() 632 JSValue subobj = JS_GetPropertyUint32(ctx, argv[0], i); in native_aiot_registerSubDevice() local 684 JSValue subobj = JS_GetPropertyUint32(ctx, argv[0], i); in native_aiot_login() local 695 JS_FreeValue(ctx, subobj); in native_aiot_login() 728 JSValue subobj = JS_GetPropertyUint32(ctx, argv[0], i); in native_aiot_logout() local [all …]
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | objtype.c | 109 o->subobj[0] = MP_OBJ_FROM_PTR(&native_base_init_wrapper_obj); in mp_obj_new_instance() 170 obj_obj = obj->subobj[0]; in mp_obj_class_lookup() 257 if (mp_obj_is_native_exception_instance(self->subobj[0])) { in instance_print() 263 mp_obj_print_helper(print, self->subobj[0], kind); in instance_print() 418 return mp_unary_op(op, self->subobj[0]); in instance_unary_op() 548 res = mp_binary_op(op, lhs->subobj[0], rhs_in); in instance_binary_op() 827 return mp_obj_subscr(self->subobj[0], index, value); in instance_subscr() 893 const mp_obj_type_t *type = mp_obj_get_type(self->subobj[0]); in mp_obj_instance_getiter() 897 return type->getiter(self->subobj[0], iter_buf); in mp_obj_instance_getiter() 915 const mp_obj_type_t *type = mp_obj_get_type(self->subobj[0]); in instance_get_buffer() [all …]
|
A D | objtype.h | 36 mp_obj_t subobj[]; member
|
A D | dynruntime.h | 147 return self->subobj[0]; in mp_obj_cast_to_native_base_dyn()
|
A D | objexcept.c | 119 return MP_OBJ_TO_PTR(((mp_obj_instance_t *)MP_OBJ_TO_PTR(self_in))->subobj[0]); in get_native_exception()
|
Completed in 11 milliseconds