Home
last modified time | relevance | path

Searched refs:mp_obj_new_int_from_uint (Results 1 – 25 of 28) sorted by relevance

12

/AliOS-Things-master/components/py_engine/modules/modbus/
A Dmodbus.c112 mp_obj_new_int_from_uint(resp_addr), in mp_writeHoldingRegister()
113 mp_obj_new_int_from_uint(resp_data), in mp_writeHoldingRegister()
114 mp_obj_new_int_from_uint(exception_code), in mp_writeHoldingRegister()
160 mp_obj_new_int_from_uint(resp_addr), in mp_writeMultipleHoldingRegisters()
161 mp_obj_new_int_from_uint(resp_quantity), in mp_writeMultipleHoldingRegisters()
162 mp_obj_new_int_from_uint(exception_code), in mp_writeMultipleHoldingRegisters()
198 mp_obj_new_int_from_uint(resp_addr), in mp_writeCoil()
199 mp_obj_new_int_from_uint(resp_value), in mp_writeCoil()
240 mp_obj_new_int_from_uint(resp_addr), in mp_writeMultipleCoils()
241 mp_obj_new_int_from_uint(resp_quantity), in mp_writeMultipleCoils()
[all …]
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dvfs_posix.c298 t->items[1] = mp_obj_new_int_from_uint(sb.st_ino); in vfs_posix_stat()
299 t->items[2] = mp_obj_new_int_from_uint(sb.st_dev); in vfs_posix_stat()
300 t->items[3] = mp_obj_new_int_from_uint(sb.st_nlink); in vfs_posix_stat()
301 t->items[4] = mp_obj_new_int_from_uint(sb.st_uid); in vfs_posix_stat()
302 t->items[5] = mp_obj_new_int_from_uint(sb.st_gid); in vfs_posix_stat()
303 t->items[6] = mp_obj_new_int_from_uint(sb.st_size); in vfs_posix_stat()
304 t->items[7] = mp_obj_new_int_from_uint(sb.st_atime); in vfs_posix_stat()
305 t->items[8] = mp_obj_new_int_from_uint(sb.st_mtime); in vfs_posix_stat()
306 t->items[9] = mp_obj_new_int_from_uint(sb.st_ctime); in vfs_posix_stat()
A Dvfs_fat.c155 t->items[3] = mp_obj_new_int_from_uint(fno.fsize); in mp_vfs_fat_ilistdir_it_iternext()
327 t->items[6] = mp_obj_new_int_from_uint(fno.fsize); // st_size in fat_vfs_stat()
328 t->items[7] = mp_obj_new_int_from_uint(seconds); // st_atime in fat_vfs_stat()
329 t->items[8] = mp_obj_new_int_from_uint(seconds); // st_mtime in fat_vfs_stat()
330 t->items[9] = mp_obj_new_int_from_uint(seconds); // st_ctime in fat_vfs_stat()
A Dvfs_lfsx.c380 t->items[6] = mp_obj_new_int_from_uint(info.size); // st_size in MP_VFS_LFSx()
381 t->items[7] = mp_obj_new_int_from_uint(mtime); // st_atime in MP_VFS_LFSx()
382 t->items[8] = mp_obj_new_int_from_uint(mtime); // st_mtime in MP_VFS_LFSx()
383 t->items[9] = mp_obj_new_int_from_uint(mtime); // st_ctime in MP_VFS_LFSx()
A Dmodubinascii.c228 return mp_obj_new_int_from_uint(crc ^ 0xffffffff); in mod_binascii_crc32()
A Dmodurandom.c99 return mp_obj_new_int_from_uint(yasmarang() & mask); in mod_urandom_getrandbits()
A Dmodlwip.c1158 return mp_obj_new_int_from_uint(ret); in lwip_socket_send()
1226 return mp_obj_new_int_from_uint(ret); in lwip_socket_sendto()
A Dmoductypes.c319 return mp_obj_new_int_from_uint(((uint32_t *)p)[index]); in get_aligned()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmoduos.c238 t->items[1] = mp_obj_new_int_from_uint(sb.st_ino); in mod_os_stat()
239 t->items[2] = mp_obj_new_int_from_uint(sb.st_dev); in mod_os_stat()
240 t->items[3] = mp_obj_new_int_from_uint(sb.st_nlink); in mod_os_stat()
241 t->items[4] = mp_obj_new_int_from_uint(sb.st_uid); in mod_os_stat()
242 t->items[5] = mp_obj_new_int_from_uint(sb.st_gid); in mod_os_stat()
243 t->items[6] = mp_obj_new_int_from_uint(sb.st_size); in mod_os_stat()
244 t->items[7] = mp_obj_new_int_from_uint(sb.st_atime); in mod_os_stat()
245 t->items[8] = mp_obj_new_int_from_uint(sb.st_mtime); in mod_os_stat()
246 t->items[9] = mp_obj_new_int_from_uint(sb.st_ctime); in mod_os_stat()
A Dmodutime.c83 return mp_obj_new_int_from_uint( in time_mktime()
A Dmodsocket.c652 return mp_obj_new_int_from_uint(ret); in socket_sendto()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmoduos.c234 t->items[1] = mp_obj_new_int_from_uint(sb.st_ino); in mod_os_stat()
235 t->items[2] = mp_obj_new_int_from_uint(sb.st_dev); in mod_os_stat()
236 t->items[3] = mp_obj_new_int_from_uint(sb.st_nlink); in mod_os_stat()
237 t->items[4] = mp_obj_new_int_from_uint(sb.st_uid); in mod_os_stat()
238 t->items[5] = mp_obj_new_int_from_uint(sb.st_gid); in mod_os_stat()
239 t->items[6] = mp_obj_new_int_from_uint(sb.st_size); in mod_os_stat()
240 t->items[7] = mp_obj_new_int_from_uint(sb.st_atime); in mod_os_stat()
241 t->items[8] = mp_obj_new_int_from_uint(sb.st_mtime); in mod_os_stat()
242 t->items[9] = mp_obj_new_int_from_uint(sb.st_ctime); in mod_os_stat()
A Dmodutime.c77 return mp_obj_new_int_from_uint(timeutils_mktime(mp_obj_get_int(elem[0]), in time_mktime()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmoduos.c234 t->items[1] = mp_obj_new_int_from_uint(sb.st_ino); in mod_os_stat()
235 t->items[2] = mp_obj_new_int_from_uint(sb.st_dev); in mod_os_stat()
236 t->items[3] = mp_obj_new_int_from_uint(sb.st_nlink); in mod_os_stat()
237 t->items[4] = mp_obj_new_int_from_uint(sb.st_uid); in mod_os_stat()
238 t->items[5] = mp_obj_new_int_from_uint(sb.st_gid); in mod_os_stat()
239 t->items[6] = mp_obj_new_int_from_uint(sb.st_size); in mod_os_stat()
240 t->items[7] = mp_obj_new_int_from_uint(sb.st_atime); in mod_os_stat()
241 t->items[8] = mp_obj_new_int_from_uint(sb.st_mtime); in mod_os_stat()
242 t->items[9] = mp_obj_new_int_from_uint(sb.st_ctime); in mod_os_stat()
A Dmodutime.c77 return mp_obj_new_int_from_uint(timeutils_mktime(mp_obj_get_int(elem[0]), in time_mktime()
/AliOS-Things-master/components/py_engine/engine/py/
A Dbinary.c166 return mp_obj_new_int_from_uint(((unsigned int *)p)[index]); in mp_binary_get_val_array()
170 return mp_obj_new_int_from_uint(((unsigned long *)p)[index]); in mp_binary_get_val_array()
262 return mp_obj_new_int_from_uint((mp_uint_t)val); in mp_binary_get_val()
A Dnativeglue.c106 return mp_obj_new_int_from_uint(val); in mp_native_to_obj()
109 return mp_obj_new_int_from_uint(val); in mp_native_to_obj()
A Dmodthread.c132 return mp_obj_new_int_from_uint((uintptr_t)mp_thread_get_state()); in mod_thread_get_ident()
137 mp_obj_t ret = mp_obj_new_int_from_uint(thread_stack_size); in mod_thread_stack_size()
A Dmodio.c86 dest[2] = mp_obj_new_int_from_uint(request); in iobase_ioctl()
87 dest[3] = mp_obj_new_int_from_uint(arg); in iobase_ioctl()
A Dobjint.c344 mp_obj_t mp_obj_new_int_from_uint(mp_uint_t value) { in mp_obj_new_int_from_uint() function
417 return mp_obj_new_int_from_uint(value); in int_from_bytes()
A Dobjint_longlong.c236 mp_obj_t mp_obj_new_int_from_uint(mp_uint_t value) { in mp_obj_new_int_from_uint() function
A Ddynruntime.h106 #define mp_obj_new_int_from_uint(i) (mp_fun_table.native_to_obj(i, MP_NATIVE_TYPE_UINT)) macro
A Dobjint_mpz.c392 mp_obj_t mp_obj_new_int_from_uint(mp_uint_t value) { in mp_obj_new_int_from_uint() function
A Dobj.c495 return mp_obj_new_int_from_uint((mp_uint_t)id); in mp_obj_id()
A Dstream.c452 return mp_obj_new_int_from_uint(seek_s.offset); in stream_seek()

Completed in 43 milliseconds

12