| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | common.h | 83 #define ARRAY_LENGTH_UNSAFE(array) \ argument 84 (sizeof(array) / sizeof(*(array))) 103 #define ARRAY_LENGTH(array) \ argument 104 (STATIC_ASSERT_THEN_RETURN(IS_ARRAY_NOT_POINTER(array), \ 105 ARRAY_LENGTH_UNSAFE(array))) 110 #define ARRAY_LENGTH(array) ARRAY_LENGTH_UNSAFE(array) argument
|
| /optee_os/scripts/ |
| H A D | pem_to_pub_c.py | 23 import array 58 for x in array.array("B", nbuf):
|
| H A D | bin_to_c.py | 8 import array
|
| H A D | ts_bin_to_c.py | 9 import array
|
| /optee_os/core/kernel/ |
| H A D | dt.c | 343 uint32_t *array, size_t count) in fdt_read_uint32_array() argument 357 *array = fdt32_to_cpu(*cuint); in fdt_read_uint32_array() 358 array++; in fdt_read_uint32_array() 487 struct cached_node *array; member 510 if (dt_node_cache->array[n].node_offset == node_offset) in find_cached_parent_node() 511 cell = dt_node_cache->array + n; in find_cached_parent_node() 567 if (dt_node_cache->array[n].phandle == phandle) in fdt_find_cached_node_phandle() 568 cell = dt_node_cache->array + n; in fdt_find_cached_node_phandle() 589 new = realloc(dt_node_cache->array, in realloc_cached_node_array() 590 sizeof(*dt_node_cache->array) * new_count); in realloc_cached_node_array() [all …]
|
| /optee_os/ta/pkcs11/src/ |
| H A D | token_capabilities.c | 310 uint32_t *array = NULL; in tee_malloc_mechanism_list() local 317 array = TEE_Malloc(count * sizeof(*array), in tee_malloc_mechanism_list() 322 if (!array) in tee_malloc_mechanism_list() 328 array[count] = token_mechanism[n].id; in tee_malloc_mechanism_list() 333 return array; in tee_malloc_mechanism_list()
|
| H A D | pkcs11_token.c | 426 uint32_t *array __maybe_unused, in dmsg_print_supported_mechanism() 436 token_id, array[n], id2str_mechanism(array[n])); in dmsg_print_supported_mechanism() 452 uint32_t *array = NULL; in entry_ck_token_mecha_ids() local 470 count = out->memref.size / sizeof(*array); in entry_ck_token_mecha_ids() 471 array = tee_malloc_mechanism_list(&count); in entry_ck_token_mecha_ids() 473 if (out->memref.size < count * sizeof(*array)) { in entry_ck_token_mecha_ids() 474 assert(!array); in entry_ck_token_mecha_ids() 475 out->memref.size = count * sizeof(*array); in entry_ck_token_mecha_ids() 482 if (!array) in entry_ck_token_mecha_ids() 485 dmsg_print_supported_mechanism(token_id, array, count); in entry_ck_token_mecha_ids() [all …]
|
| H A D | persistent_token.c | 338 TEE_UUID *array, size_t *size) in get_persistent_objects_list() argument 347 if (array) in get_persistent_objects_list() 348 TEE_MemMove(array, token->db_objs->uuids, *size); in get_persistent_objects_list()
|
| H A D | pkcs11_token.h | 265 TEE_UUID *array, size_t *size);
|
| /optee_os/core/lib/qcbor/inc/qcbor/ |
| H A D | qcbor_private.h | 403 #define C_ARRAY_COUNT(array, type) (sizeof(array)/sizeof(type)) argument
|
| /optee_os/lib/libutils/ext/ |
| H A D | sub.mk | 13 srcs-y += array.c
|
| /optee_os/core/include/kernel/ |
| H A D | dt.h | 211 uint32_t *array, size_t count); 390 uint32_t *array __unused, in fdt_read_uint32_array()
|
| /optee_os/core/drivers/ |
| H A D | stm32_bsec.c | 594 uint32_t *array = bsec_dev.nsec_access; in nsec_access_granted() local 596 return array && in nsec_access_granted() 598 array[index / BSEC_BITS_PER_WORD] & in nsec_access_granted()
|
| /optee_os/core/arch/arm/plat-stm32mp1/ |
| H A D | scmi_server.c | 538 unsigned long *array, size_t *nb_elts) in plat_scmi_clock_rates_array() argument 552 if (!array) in plat_scmi_clock_rates_array() 555 *array = clk_get_rate(clock->clk); in plat_scmi_clock_rates_array()
|
| /optee_os/core/lib/qcbor/src/ |
| H A D | qcbor_encode.c | 439 #error additional info for opening array not the same as for closing in QCBOREncode_EncodeHead()
|
| H A D | qcbor_decode.c | 99 #define SIZEOF_C_ARRAY(array,type) (sizeof(array)/sizeof(type)) argument
|
| /optee_os/core/lib/qcbor/ |
| H A D | README.md | 46 both definite and indefinite-length map and array decoding. Decoding 75 Spiffy decode supports easier map and array decoding. A map can be 159 treats this similar to entering an array with one item. This is 456 know the length of a string, map or array when they start encoding 472 when an indefinite-length map or array arrives for decoding.
|
| /optee_os/lib/libutils/isoc/ |
| H A D | bget.doc | 65 that memory is allocated is a linear array which can be addressed as a
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | ChangeLog | 213 support flexible array members (a C99 feature not adopted by C++). 235 data is passed in a separate parameter instead of a flexible array 1893 rather than array type. This removes spurious warnings in some compilers 2495 NULL algorithm parameters entry would look identical to an array of REAL
|