/AliOS-Things-master/components/py_engine/modules/modbus/ |
A D | modbus.c | 112 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 D | vfs_posix.c | 298 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 D | vfs_fat.c | 155 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 D | vfs_lfsx.c | 380 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 D | modubinascii.c | 228 return mp_obj_new_int_from_uint(crc ^ 0xffffffff); in mod_binascii_crc32()
|
A D | modurandom.c | 99 return mp_obj_new_int_from_uint(yasmarang() & mask); in mod_urandom_getrandbits()
|
A D | modlwip.c | 1158 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 D | moductypes.c | 319 return mp_obj_new_int_from_uint(((uint32_t *)p)[index]); in get_aligned()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | moduos.c | 238 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 D | modutime.c | 83 return mp_obj_new_int_from_uint( in time_mktime()
|
A D | modsocket.c | 652 return mp_obj_new_int_from_uint(ret); in socket_sendto()
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | moduos.c | 234 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 D | modutime.c | 77 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 D | moduos.c | 234 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 D | modutime.c | 77 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 D | binary.c | 166 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 D | nativeglue.c | 106 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 D | modthread.c | 132 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 D | modio.c | 86 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 D | objint.c | 344 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 D | objint_longlong.c | 236 mp_obj_t mp_obj_new_int_from_uint(mp_uint_t value) { in mp_obj_new_int_from_uint() function
|
A D | dynruntime.h | 106 #define mp_obj_new_int_from_uint(i) (mp_fun_table.native_to_obj(i, MP_NATIVE_TYPE_UINT)) macro
|
A D | objint_mpz.c | 392 mp_obj_t mp_obj_new_int_from_uint(mp_uint_t value) { in mp_obj_new_int_from_uint() function
|
A D | obj.c | 495 return mp_obj_new_int_from_uint((mp_uint_t)id); in mp_obj_id()
|
A D | stream.c | 452 return mp_obj_new_int_from_uint(seek_s.offset); in stream_seek()
|