Searched refs:offset (Results 1 – 12 of 12) sorted by relevance
| /optee_test/host/xtest/ |
| A D | sdp_basic.c | 203 op.params[1].memref.offset = offset; in inject_sdp_data() 214 size_t offset, size_t len, void *shm_ref, int ind) in transform_sdp_data() argument 243 op.params[0].memref.offset = offset; in transform_sdp_data() 284 op.params[0].memref.offset = offset; in dump_sdp_data() 381 size_t offset = 0; in sdp_basic_test() local 427 offset = (unsigned int)*ref_buf; in sdp_basic_test() 464 size_t offset, size_t size, in invoke_out_of_bounds() argument 476 op.params[0].memref.offset = 0; in invoke_out_of_bounds() 480 op.params[1].memref.offset = offset; in invoke_out_of_bounds() 500 out->size, offset, size, in invoke_out_of_bounds() [all …]
|
| A D | benchmark_2000.c | 34 int offset = 0; /* Buffer offset wrt. alloc'ed address */ in xtest_tee_benchmark_2001() local 37 CRYPTO_DEF_LOOPS, CRYPTO_USE_RANDOM, offset, in xtest_tee_benchmark_2001() 48 int offset = 0; /* Buffer offset wrt. alloc'ed address */ in xtest_tee_benchmark_2002() local 51 CRYPTO_DEF_LOOPS, CRYPTO_USE_RANDOM, offset, in xtest_tee_benchmark_2002()
|
| A D | hash_perf.c | 170 static void alloc_shm(size_t sz, uint32_t algo, int offset) in alloc_shm() argument 175 in_shm.size = sz + offset; in alloc_shm() 309 unsigned int l, int random_in, int offset, in hash_perf_run_test() argument 330 alloc_shm(size, algo, offset); in hash_perf_run_test() 333 memset((uint8_t *)in_shm.buffer + offset, 0, size); in hash_perf_run_test() 339 op.params[0].memref.offset = 0; in hash_perf_run_test() 340 op.params[0].memref.size = size + offset; in hash_perf_run_test() 342 op.params[1].memref.offset = 0; in hash_perf_run_test() 345 op.params[2].value.b = offset; in hash_perf_run_test() 350 verbose("unaligned=%s, ", yesno(offset)); in hash_perf_run_test() [all …]
|
| A D | crypto_common.h | 45 unsigned int l, int random_in, int offset,
|
| A D | regression_1000.c | 1129 op.params[0].memref.offset = 0; in test_1013_thread() 1450 op.params[0].memref.offset = 0; in xtest_tee_test_1017() 1454 op.params[1].memref.offset = page_size; in xtest_tee_test_1017() 1458 op.params[2].memref.offset = 4 * page_size; in xtest_tee_test_1017() 1462 op.params[3].memref.offset = 6 * page_size; in xtest_tee_test_1017() 1487 op.params[0].memref.offset = shm->size - (shm->size / 2) + 1; in invoke_1byte_out_of_bounds() 1538 op.params[0].memref.offset = 0; in xtest_tee_test_1018() 1542 op.params[1].memref.offset = page_size; in xtest_tee_test_1018() 1546 op.params[2].memref.offset = 4 * page_size; in xtest_tee_test_1018() 1550 op.params[3].memref.offset = 6 * page_size; in xtest_tee_test_1018()
|
| A D | regression_6000.c | 209 static TEEC_Result fs_seek(TEEC_Session *sess, uint32_t obj, int32_t offset, in fs_seek() argument 216 op.params[0].value.b = *(uint32_t *)&offset; in fs_seek()
|
| /optee_test/host/xtest/gp/include/ |
| A D | xml_client_api.h | 269 #define TEEC_initialize_memory(shm, tmpMem, offset, _size, value_beginning, \ argument 274 init_mem(__shm->buffer, __shm->size, offset, _size, \ 282 init_mem((void *)(long)tmpMem, offset + _size, offset, \ 297 .parent = shm, .size = sz, .offset = offs, in TEEC_prepare_OperationEachParameter_memref()
|
| A D | xml_datastorage_api.h | 1926 ssize_t offset, int whence) in Invoke_SeekObjectData() argument 1931 if (offset >= 0) { in Invoke_SeekObjectData() 1932 offs = offset; in Invoke_SeekObjectData() 1935 offs = -offset; in Invoke_SeekObjectData()
|
| A D | xml_common_api.h | 48 op.params[parameterNumber].memref.offset = sharedMemoryOffset; \
|
| A D | xml_internal_api.h | 679 op.params[1].memref.offset = 0; in Invoke_OpenTASession()
|
| A D | xml_crypto_api.h | 3457 op.params[1].memref.offset = 0; in cipher_do_final()
|
| /optee_test/ta/crypto_perf/ |
| A D | ta_crypto_perf.c | 339 uint32_t offset = 0; in cmd_hash_process() local 348 offset = params[2].value.b; in cmd_hash_process() 349 in = (uint8_t *)params[0].memref.buffer + offset; in cmd_hash_process() 350 insz = params[0].memref.size - offset; in cmd_hash_process()
|
Completed in 54 milliseconds