Home
last modified time | relevance | path

Searched refs:SUB_OVERFLOW (Results 1 – 14 of 14) sorted by relevance

/optee_os/core/pta/tests/
A Dmisc.c91 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 Dunwind_arm32.c66 if (SUB_OVERFLOW((vaddr_t)__exidx_end, (vaddr_t)__exidx_start, in unw_get_kernel_stack()
/optee_os/ldelf/
A Dftrace.c37 if (SUB_OVERFLOW(finfo->buf_end.ptr64, finfo->buf_start.ptr64, in ftrace_init()
/optee_os/out/arm/export-ta_arm32/host_include/
A Dutil.h151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
/optee_os/out/arm/export-ta_arm64/include/
A Dutil.h151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
/optee_os/out/arm/export-ta_arm64/host_include/
A Dutil.h151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
/optee_os/lib/libutils/ext/include/
A Dutil.h151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
/optee_os/out/arm/export-ta_arm32/include/
A Dutil.h151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) macro
/optee_os/ta/trusted_keys/
A Dentry.c131 if (SUB_OVERFLOW(in_sz, sizeof(*hdr), &enc_key_len)) in huk_ae_decrypt()
/optee_os/core/arch/arm/mm/
A Dcore_mmu.c205 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 Dstm32_i2c.c438 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 Dscmi_server.c617 if (SUB_OVERFLOW(full_count, start_index, &out_count)) in pmic_describe_levels()
/optee_os/lib/libutee/
A Dtee_api_arith_mpi.c205 if (SUB_OVERFLOW(0, TEE_U32_FROM_BIG_ENDIAN(v), dest)) in TEE_BigIntConvertToS32()
/optee_os/core/tee/
A Dtee_rpmb_fs.c1133 SUB_OVERFLOW(nblocks, 1, &rpmb_ctx->max_blk_idx)) { in tee_rpmb_init()

Completed in 36 milliseconds