/optee_os/core/pta/tests/ |
A D | misc.c | 91 if (SUB_OVERFLOW(8U, 1U, &r_s32)) in self_test_sub_overflow() 95 if (SUB_OVERFLOW(32U, 30U, &r_u32)) in self_test_sub_overflow() 99 if (!SUB_OVERFLOW(30U, 31U, &r_u32)) in self_test_sub_overflow() 102 if (SUB_OVERFLOW(30, 31, &r_s32)) in self_test_sub_overflow() 106 if (SUB_OVERFLOW(-1, INT32_MAX, &r_s32)) in self_test_sub_overflow() 110 if (!SUB_OVERFLOW(-2, INT32_MAX, &r_s32)) in self_test_sub_overflow() 113 if (SUB_OVERFLOW((uint32_t)30, (int32_t)-31, &r_s32)) in self_test_sub_overflow() 117 if (SUB_OVERFLOW((int32_t)30, (int32_t)-31, &r_s32)) in self_test_sub_overflow() 121 if (SUB_OVERFLOW((int32_t)-31, (uint32_t)30, &r_s32)) in self_test_sub_overflow() 125 if (SUB_OVERFLOW((int32_t)-31, (int32_t)-30, &r_s32)) in self_test_sub_overflow() [all …]
|
/optee_os/core/arch/arm/kernel/ |
A D | unwind_arm32.c | 66 if (SUB_OVERFLOW((vaddr_t)__exidx_end, (vaddr_t)__exidx_start, in unw_get_kernel_stack()
|
/optee_os/ldelf/ |
A D | ftrace.c | 37 if (SUB_OVERFLOW(finfo->buf_end.ptr64, finfo->buf_start.ptr64, in ftrace_init()
|
/optee_os/out/arm/export-ta_arm32/host_include/ |
A D | util.h | 151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
|
/optee_os/out/arm/export-ta_arm64/include/ |
A D | util.h | 151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
|
/optee_os/out/arm/export-ta_arm64/host_include/ |
A D | util.h | 151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
|
/optee_os/lib/libutils/ext/include/ |
A D | util.h | 151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
|
/optee_os/out/arm/export-ta_arm32/include/ |
A D | util.h | 151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
|
/optee_os/ta/trusted_keys/ |
A D | entry.c | 131 if (SUB_OVERFLOW(in_sz, sizeof(*hdr), &enc_key_len)) in huk_ae_decrypt()
|
/optee_os/core/arch/arm/mm/ |
A D | core_mmu.c | 205 if (SUB_OVERFLOW(len, 1, &end_pa) || ADD_OVERFLOW(pa, end_pa, &end_pa)) in pa_is_in_map() 979 if (SUB_OVERFLOW(va, map->size, &va)) in assign_mem_va() 988 if (SUB_OVERFLOW(va, CORE_MMU_PGDIR_SIZE, &va)) in assign_mem_va() 2274 if (SUB_OVERFLOW(len, 1, &end_pa) || ADD_OVERFLOW(pa, end_pa, &end_pa)) in phys_to_virt_tee_ram()
|
/optee_os/core/drivers/ |
A D | stm32_i2c.c | 438 if (SUB_OVERFLOW(sdadel_min, delay, &sdadel_min)) in i2c_compute_timing() 443 if (SUB_OVERFLOW(sdadel_max, delay, &sdadel_max)) in i2c_compute_timing()
|
/optee_os/core/arch/arm/plat-stm32mp1/ |
A D | scmi_server.c | 617 if (SUB_OVERFLOW(full_count, start_index, &out_count)) in pmic_describe_levels()
|
/optee_os/lib/libutee/ |
A D | tee_api_arith_mpi.c | 205 if (SUB_OVERFLOW(0, TEE_U32_FROM_BIG_ENDIAN(v), dest)) in TEE_BigIntConvertToS32()
|
/optee_os/core/tee/ |
A D | tee_rpmb_fs.c | 1133 SUB_OVERFLOW(nblocks, 1, &rpmb_ctx->max_blk_idx)) { in tee_rpmb_init()
|