Home
last modified time | relevance | path

Searched refs:uint (Results 1 – 25 of 62) sorted by relevance

123

/AliOS-Things-master/components/py_engine/engine/py/
A Dasmarm.c65 STATIC uint asm_arm_op_mov_reg(uint rd, uint rn) { in asm_arm_op_mov_reg()
70 STATIC uint asm_arm_op_mov_imm(uint rd, uint imm) { in asm_arm_op_mov_imm()
75 STATIC uint asm_arm_op_mvn_imm(uint rd, uint imm) { in asm_arm_op_mvn_imm()
80 STATIC uint asm_arm_op_add_imm(uint rd, uint rn, uint imm) { in asm_arm_op_add_imm()
85 STATIC uint asm_arm_op_add_reg(uint rd, uint rn, uint rm) { in asm_arm_op_add_reg()
90 STATIC uint asm_arm_op_sub_imm(uint rd, uint rn, uint imm) { in asm_arm_op_sub_imm()
95 STATIC uint asm_arm_op_sub_reg(uint rd, uint rn, uint rm) { in asm_arm_op_sub_reg()
100 STATIC uint asm_arm_op_mul_reg(uint rd, uint rm, uint rs) { in asm_arm_op_mul_reg()
106 STATIC uint asm_arm_op_and_reg(uint rd, uint rn, uint rm) { in asm_arm_op_and_reg()
111 STATIC uint asm_arm_op_eor_reg(uint rd, uint rn, uint rm) { in asm_arm_op_eor_reg()
[all …]
A Dasmarm.h97 void asm_arm_add_reg_reg_reg(asm_arm_t *as, uint rd, uint rn, uint rm);
98 void asm_arm_sub_reg_reg_reg(asm_arm_t *as, uint rd, uint rn, uint rm);
99 void asm_arm_mul_reg_reg_reg(asm_arm_t *as, uint rd, uint rn, uint rm);
100 void asm_arm_and_reg_reg_reg(asm_arm_t *as, uint rd, uint rn, uint rm);
101 void asm_arm_eor_reg_reg_reg(asm_arm_t *as, uint rd, uint rn, uint rm);
102 void asm_arm_orr_reg_reg_reg(asm_arm_t *as, uint rd, uint rn, uint rm);
110 void asm_arm_ldr_reg_reg(asm_arm_t *as, uint rd, uint rn, uint byte_offset);
113 void asm_arm_str_reg_reg(asm_arm_t *as, uint rd, uint rm, uint byte_offset);
117 void asm_arm_str_reg_reg_reg(asm_arm_t *as, uint rd, uint rm, uint rn);
118 void asm_arm_strh_reg_reg_reg(asm_arm_t *as, uint rd, uint rm, uint rn);
[all …]
A Dasmthumb.h105 void asm_thumb_op32(asm_thumb_t *as, uint op1, uint op2);
120 static inline void asm_thumb_format_1(asm_thumb_t *as, uint op, uint rlo_dest, uint rlo_src, uint o… in asm_thumb_format_1()
136 static inline void asm_thumb_format_2(asm_thumb_t *as, uint op, uint rlo_dest, uint rlo_src, int sr… in asm_thumb_format_2()
142 static inline void asm_thumb_add_rlo_rlo_rlo(asm_thumb_t *as, uint rlo_dest, uint rlo_src_a, uint r… in asm_thumb_add_rlo_rlo_rlo()
148 static inline void asm_thumb_sub_rlo_rlo_rlo(asm_thumb_t *as, uint rlo_dest, uint rlo_src_a, uint r… in asm_thumb_sub_rlo_rlo_rlo()
206 void asm_thumb_format_4(asm_thumb_t *as, uint op, uint rlo_dest, uint rlo_src);
227 static inline void asm_thumb_format_5(asm_thumb_t *as, uint op, uint r_dest, uint r_src) { in asm_thumb_format_5()
256 …tic inline void asm_thumb_format_9_10(asm_thumb_t *as, uint op, uint rlo_dest, uint rlo_base, uint in asm_thumb_format_9_10()
278 static inline void asm_thumb_lsl_rlo_rlo_i5(asm_thumb_t *as, uint rlo_dest, uint rlo_src, uint shif… in asm_thumb_lsl_rlo_rlo_i5()
281 static inline void asm_thumb_asr_rlo_rlo_i5(asm_thumb_t *as, uint rlo_dest, uint rlo_src, uint shif… in asm_thumb_asr_rlo_rlo_i5()
[all …]
A Dasmxtensa.h138 static inline void asm_xtensa_op_add_n(asm_xtensa_t *as, uint reg_dest, uint reg_src_a, uint reg_sr… in asm_xtensa_op_add_n()
146 static inline void asm_xtensa_op_and(asm_xtensa_t *as, uint reg_dest, uint reg_src_a, uint reg_src_… in asm_xtensa_op_and()
178 static inline void asm_xtensa_op_l8ui(asm_xtensa_t *as, uint reg_dest, uint reg_base, uint byte_off… in asm_xtensa_op_l8ui()
210 static inline void asm_xtensa_op_mull(asm_xtensa_t *as, uint reg_dest, uint reg_src_a, uint reg_src… in asm_xtensa_op_mull()
214 static inline void asm_xtensa_op_or(asm_xtensa_t *as, uint reg_dest, uint reg_src_a, uint reg_src_b… in asm_xtensa_op_or()
226 static inline void asm_xtensa_op_s8i(asm_xtensa_t *as, uint reg_src, uint reg_base, uint byte_offse… in asm_xtensa_op_s8i()
262 static inline void asm_xtensa_op_sub(asm_xtensa_t *as, uint reg_dest, uint reg_src_a, uint reg_src_… in asm_xtensa_op_sub()
266 static inline void asm_xtensa_op_xor(asm_xtensa_t *as, uint reg_dest, uint reg_src_a, uint reg_src_… in asm_xtensa_op_xor()
272 void asm_xtensa_bccz_reg_label(asm_xtensa_t *as, uint cond, uint reg, uint label);
273 void asm_xtensa_bcc_reg_reg_label(asm_xtensa_t *as, uint cond, uint reg1, uint reg2, uint label);
[all …]
A Dasmxtensa.c120 STATIC uint32_t get_label_dest(asm_xtensa_t *as, uint label) { in get_label_dest()
142 void asm_xtensa_j_label(asm_xtensa_t *as, uint label) { in asm_xtensa_j_label()
149 void asm_xtensa_bccz_reg_label(asm_xtensa_t *as, uint cond, uint reg, uint label) { in asm_xtensa_bccz_reg_label()
158 void asm_xtensa_bcc_reg_reg_label(asm_xtensa_t *as, uint cond, uint reg1, uint reg2, uint label) { in asm_xtensa_bcc_reg_reg_label()
168 void asm_xtensa_setcc_reg_reg_reg(asm_xtensa_t *as, uint cond, uint reg_dest, uint reg_src1, uint r… in asm_xtensa_setcc_reg_reg_reg()
174 size_t asm_xtensa_mov_reg_i32(asm_xtensa_t *as, uint reg_dest, uint32_t i32) { in asm_xtensa_mov_reg_i32()
195 void asm_xtensa_mov_local_reg(asm_xtensa_t *as, int local_num, uint reg_src) { in asm_xtensa_mov_local_reg()
204 uint off = local_num * WORD_SIZE; in asm_xtensa_mov_reg_local_addr()
213 void asm_xtensa_mov_reg_pcrel(asm_xtensa_t *as, uint reg_dest, uint label) { in asm_xtensa_mov_reg_pcrel()
235 void asm_xtensa_call_ind(asm_xtensa_t *as, uint idx) { in asm_xtensa_call_ind()
[all …]
A Dasmthumb.c130 uint reglist; in asm_thumb_entry()
131 uint stack_adjust; in asm_thumb_entry()
216 void asm_thumb_op32(asm_thumb_t *as, uint op1, uint op2) { in asm_thumb_op32()
229 void asm_thumb_format_4(asm_thumb_t *as, uint op, uint rlo_dest, uint rlo_src) { in asm_thumb_format_4()
235 void asm_thumb_mov_reg_reg(asm_thumb_t *as, uint reg_dest, uint reg_src) { in asm_thumb_mov_reg_reg()
236 uint op_lo; in asm_thumb_mov_reg_reg()
254 size_t asm_thumb_mov_reg_i16(asm_thumb_t *as, uint mov_op, uint reg_dest, int i16_src) { in asm_thumb_mov_reg_i16()
428 void asm_thumb_mov_reg_pcrel(asm_thumb_t *as, uint rlo_dest, uint label) { in asm_thumb_mov_reg_pcrel()
446 static inline void asm_thumb_ldr_reg_reg_i12(asm_thumb_t *as, uint reg_dest, uint reg_base, uint wo… in asm_thumb_ldr_reg_reg_i12()
451 void asm_thumb_ldr_reg_reg_i12_optimised(asm_thumb_t *as, uint reg_dest, uint reg_base, uint word_o… in asm_thumb_ldr_reg_reg_i12_optimised()
[all …]
A Dbc.h179 uint n_state;
180 uint n_exc_stack;
181 uint scope_flags;
182 uint n_pos_args;
183 uint n_kwonly_args;
184 uint n_def_pos_args;
245 uint mp_opcode_format(const byte *ip, size_t *opcode_size, bool count_var_uint);
A Demitinlinextensa.c107 for (uint i = 0; i < emit->max_num_labels; i++) { in emit_inline_xtensa_label()
188 for (uint i = 0; i < emit->max_num_labels; i++) { in get_arg_label()
258 uint r0 = get_arg_reg(emit, op_str, pn_args[0]); in emit_inline_xtensa_op()
264 uint r0 = get_arg_reg(emit, op_str, pn_args[0]); in emit_inline_xtensa_op()
271 uint r0 = get_arg_reg(emit, op_str, pn_args[0]); in emit_inline_xtensa_op()
280 uint r1 = get_arg_reg(emit, op_str, pn_args[1]); in emit_inline_xtensa_op()
292 for (uint i = 0; i < MP_ARRAY_SIZE(opcode_table_3arg); i++) { in emit_inline_xtensa_op()
295 uint r0 = get_arg_reg(emit, op_str, pn_args[0]); in emit_inline_xtensa_op()
296 uint r1 = get_arg_reg(emit, op_str, pn_args[1]); in emit_inline_xtensa_op()
298 uint r2 = get_arg_reg(emit, op_str, pn_args[2]); in emit_inline_xtensa_op()
A Dcompile.c169 uint next_label;
460 uint have_star_index = -1; in c_assign_tuple()
1168 uint import_level = 0; in compile_import_from()
1488 uint end_label = 0; in compile_for_stmt_optimised_range()
1600 uint l1 = comp_next_label(comp); in compile_try_except()
1613 uint l2 = comp_next_label(comp); in compile_try_except()
1665 uint l3 = 0; in compile_try_except()
2182 uint l_fail = 0; in compile_comparison()
2384 uint n_keyword = 0; in compile_trailer_paren_helper()
2385 uint star_flags = 0; in compile_trailer_paren_helper()
[all …]
A Demit.h102 emit_t *(*emit_new)(mp_obj_t * error_slot, uint *label_slot, mp_uint_t max_num_labels);
184 emit_t *emit_native_x64_new(mp_obj_t *error_slot, uint *label_slot, mp_uint_t max_num_labels);
185 emit_t *emit_native_x86_new(mp_obj_t *error_slot, uint *label_slot, mp_uint_t max_num_labels);
186 emit_t *emit_native_thumb_new(mp_obj_t *error_slot, uint *label_slot, mp_uint_t max_num_labels);
187 emit_t *emit_native_arm_new(mp_obj_t *error_slot, uint *label_slot, mp_uint_t max_num_labels);
188 emit_t *emit_native_xtensa_new(mp_obj_t *error_slot, uint *label_slot, mp_uint_t max_num_labels);
189 emit_t *emit_native_xtensawin_new(mp_obj_t *error_slot, uint *label_slot, mp_uint_t max_num_labels);
A Dgc.c804 (uint)info.total, (uint)info.used, (uint)info.free); in gc_dump_info()
806 (uint)info.num_1block, (uint)info.num_2block, (uint)info.max_block, (uint)info.max_free); in gc_dump_info()
828 … mp_printf(&mp_plat_print, "\n (%u lines all free)", (uint)(bl2 - bl) / DUMP_BYTES_PER_LINE); in gc_dump_alloc_table()
839 … mp_printf(&mp_plat_print, "\n%05x: ", (uint)((bl * BYTES_PER_BLOCK) & (uint32_t)0xfffff)); in gc_dump_alloc_table()
A Dpystack.h53 mp_printf(&mp_plat_print, "mp_pystack_free() failed: %u != %u\n", (uint)n_bytes_to_free, in mp_pystack_free()
54 (uint)*(size_t *)(MP_STATE_THREAD(pystack_cur) - MICROPY_PYSTACK_ALIGN)); in mp_pystack_free()
/AliOS-Things-master/components/py_engine/tests/micropython/
A Dviper_binop_bitwise_uint.py5 def shl(x: uint, y: uint) -> uint: argument
16 def shr(x: uint, y: uint) -> uint: argument
27 def and_(x: uint, y: uint): argument
39 def or_(x: uint, y: uint): argument
50 def xor(x: uint, y: uint): argument
A Dviper_binop_arith_uint.py5 def add(x: uint, y: uint): argument
15 def sub(x: uint, y: uint): argument
25 def mul(x: uint, y: uint): argument
A Dviper_misc_intbig.py5 def viper_uint() -> uint:
6 return uint(-1)
A Dviper_binop_comp_uint.py5 def f(x: uint, y: uint): argument
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_events.c118 #define uint unsigned int in SDL_LogEvent() macro
134 plusstr, (uint) event->user.timestamp, (uint) event->user.windowID, in SDL_LogEvent()
189 (uint) event->key.timestamp, (uint) event->key.windowID, \ in SDL_LogEvent()
201 (uint) event->edit.timestamp, (uint) event->edit.windowID, in SDL_LogEvent()
212 (uint) event->motion.timestamp, (uint) event->motion.windowID, in SDL_LogEvent()
213 (uint) event->motion.which, (uint) event->motion.state, in SDL_LogEvent()
220 (uint) event->button.timestamp, (uint) event->button.windowID, \ in SDL_LogEvent()
221 (uint) event->button.which, (uint) event->button.button, \ in SDL_LogEvent()
231 (uint) event->wheel.timestamp, (uint) event->wheel.windowID, in SDL_LogEvent()
251 (uint) event->jhat.hat, (uint) event->jhat.value); in SDL_LogEvent()
[all …]
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/nimble/
A Dnimble_npl_os.c119 DEBUG_MALLOC_printf("NIMBLE malloc(%u)\n", (uint)size); in nimble_malloc()
144 DEBUG_MALLOC_printf("NIMBLE realloc(%p, %u)\n", ptr, (uint)new_size); in nimble_realloc()
306 … DEBUG_MUTEX_printf("ble_npl_mutex_pend(%p, %u) locked=%u\n", mu, (uint)timeout, (uint)mu->locked); in ble_npl_mutex_pend()
329 DEBUG_SEM_printf("ble_npl_sem_init(%p, %u)\n", sem, (uint)tokens); in ble_npl_sem_init()
335 DEBUG_SEM_printf("ble_npl_sem_pend(%p, %u) count=%u\n", sem, (uint)timeout, (uint)sem->count); in ble_npl_sem_pend()
389 …DEBUG_CALLOUT_printf("callout_run(%p) tnow=%u ticks=%u evq=%p\n", c, (uint)tnow, (uint)c->ticks, c… in mp_bluetooth_nimble_os_callout_process()
429 …DEBUG_CALLOUT_printf("ble_npl_callout_reset(%p, %u) tnow=%u\n", c, (uint)ticks, (uint)mp_hal_ticks… in ble_npl_callout_reset()
476 DEBUG_TIME_printf("ble_npl_time_get -> %u\n", (uint)mp_hal_ticks_ms()); in ble_npl_time_get()
481 DEBUG_TIME_printf("ble_npl_time_ms_to_ticks(%u)\n", (uint)ms); in ble_npl_time_ms_to_ticks()
487 DEBUG_TIME_printf("ble_npl_time_ms_to_ticks32(%u)\n", (uint)ms); in ble_npl_time_ms_to_ticks32()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_if_enhanced/inc/
A Dsdp_api.h211 #define SDP_UINT_8BIT(uint) \ argument
213 (U8)(uint)
215 #define SDP_UINT_16BIT(uint) \ argument
217 (U8)(((uint) & 0xff00) >> 8), \
218 (U8)((uint) & 0x00ff)
220 #define SDP_UINT_32BIT(uint) \ argument
222 (U8)(((uint) & 0xff000000) >> 24), \
223 (U8)(((uint) & 0x00ff0000) >> 16), \
225 (U8)((uint) & 0x000000ff)
229 uint
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/swlib/string/
A Dprintf.c37 static char *longlong_to_string(char *buf, unsigned long long n, size_t len, uint flag, char *signc… in longlong_to_string()
71 static char *longlong_to_octalstring(char *buf, unsigned long long u, size_t len, uint flag) in longlong_to_octalstring()
89 static char *longlong_to_hexstring(char *buf, unsigned long long u, size_t len, uint flag) in longlong_to_hexstring()
125 uint i = pos; in exponent_to_string()
127 uint digit = (uint32_t)exponent % 10; in exponent_to_string()
138 static char *double_to_string(char *buf, size_t len, double d, uint flag) in double_to_string()
226 uint i = decimal_spot + 6 + 1; in double_to_string()
228 uint digit = frac % 10; in double_to_string()
250 static char *double_to_hexstring(char *buf, size_t len, double d, uint flag) in double_to_hexstring()
306 uint digit = (fraction >> i) & 0xf; in double_to_hexstring()
[all …]
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmachine_mem.h43 uintptr_t MICROPY_MACHINE_MEM_GET_READ_ADDR(mp_obj_t addr_o, uint align);
46 uintptr_t MICROPY_MACHINE_MEM_GET_WRITE_ADDR(mp_obj_t addr_o, uint align);
A Dmoductypes.c118 uint agg_type = GET_TYPE(offset, AGG_TYPE_BITS); in uctypes_struct_print()
162 uint val_type = GET_TYPE(arr_sz, VAL_TYPE_BITS); in uctypes_struct_agg_size()
268 static inline mp_obj_t get_unaligned(uint val_type, byte *p, int big_endian) { in get_unaligned()
280 static inline mp_uint_t get_aligned_basic(uint val_type, void *p) { in get_aligned_basic()
293 static inline void set_aligned_basic(uint val_type, void *p, mp_uint_t v) { in set_aligned_basic()
308 STATIC mp_obj_t get_aligned(uint val_type, void *p, mp_int_t index) { in get_aligned()
413 uint bit_offset = (offset >> OFFSET_BITS) & 31; in uctypes_struct_attr_op()
414 uint bit_len = (offset >> LEN_BITS) & 31; in uctypes_struct_attr_op()
522 uint agg_type = GET_TYPE(offset, AGG_TYPE_BITS); in uctypes_struct_subscr()
528 uint val_type = GET_TYPE(arr_sz, VAL_TYPE_BITS); in uctypes_struct_subscr()
[all …]
/AliOS-Things-master/components/py_engine/engine/shared/runtime/
A Dgchelper_m3.s37 @ uint gc_helper_get_regs_and_sp(r0=uint regs[10])
A Dgchelper_m0.s37 @ uint gc_helper_get_regs_and_sp(r0=uint regs[10])
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/examples/
A Dgzlog.c242 typedef unsigned int uint; typedef
278 #define PULL2(p) ((p)[0]+((uint)((p)[1])<<8))
296 uint stored; /* bytes currently in last stored block */
503 uint put; in log_append()
519 put = (uint)len; in log_append()
611 uint got, max; in log_compress()
638 deflateSetDictionary(&strm, buf, (uint)dict); in log_compress()
654 max = (((uint)0 - 1) >> 1) + 1; /* in case int smaller than size_t */ in log_compress()
656 strm.avail_in = len > max ? max : (uint)len; in log_compress()
683 while ((*buf & ((uint)1 << (8 - log->back++))) == 0) in log_compress()
[all …]

Completed in 72 milliseconds

123