/optee_os/lib/libmbedtls/mbedtls/library/ |
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/ |
A D | pem_to_pub_c.py | 23 import array 58 for x in array.array("B", nbuf):
|
A D | bin_to_c.py | 8 import array
|
A D | ts_bin_to_c.py | 9 import array
|
/optee_os/core/kernel/ |
A D | dt.c | 327 uint32_t *array, size_t count) in fdt_read_uint32_array() argument 341 *array = fdt32_to_cpu(*cuint); in fdt_read_uint32_array() 342 array++; in fdt_read_uint32_array() 517 struct cached_node *array; member 541 cell = dt_node_cache->array + n; in find_cached_parent_node() 597 if (dt_node_cache->array[n].phandle == phandle) in fdt_find_cached_node_phandle() 598 cell = dt_node_cache->array + n; in fdt_find_cached_node_phandle() 619 new = realloc(dt_node_cache->array, in realloc_cached_node_array() 620 sizeof(*dt_node_cache->array) * new_count); in realloc_cached_node_array() 624 dt_node_cache->array = new; in realloc_cached_node_array() [all …]
|
/optee_os/core/lib/qcbor/inc/qcbor/ |
A D | qcbor_private.h | 403 #define C_ARRAY_COUNT(array, type) (sizeof(array)/sizeof(type)) argument
|
/optee_os/ta/pkcs11/src/ |
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()
|
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() 487 out->memref.size = count * sizeof(*array); in entry_ck_token_mecha_ids() [all …]
|
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()
|
A D | pkcs11_token.h | 265 TEE_UUID *array, size_t *size);
|
/optee_os/lib/libutils/ext/ |
A D | sub.mk | 13 srcs-y += array.c
|
/optee_os/core/include/kernel/ |
A D | dt.h | 211 uint32_t *array, size_t count); 388 uint32_t *array __unused, in fdt_read_uint32_array()
|
/optee_os/core/drivers/ |
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/ |
A D | scmi_server.c | 500 unsigned long *array, size_t *nb_elts) in plat_scmi_clock_rates_array() argument 514 if (!array) in plat_scmi_clock_rates_array() 517 *array = clk_get_rate(clock->clk); in plat_scmi_clock_rates_array()
|
/optee_os/core/lib/qcbor/src/ |
A D | qcbor_encode.c | 439 #error additional info for opening array not the same as for closing in QCBOREncode_EncodeHead()
|
A D | qcbor_decode.c | 99 #define SIZEOF_C_ARRAY(array,type) (sizeof(array)/sizeof(type)) argument
|
/optee_os/core/lib/qcbor/ |
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/ |
A D | bget.doc | 65 that memory is allocated is a linear array which can be addressed as a
|
/optee_os/lib/libmbedtls/mbedtls/ |
A D | ChangeLog | 20 support flexible array members (a C99 feature not adopted by C++). 42 data is passed in a separate parameter instead of a flexible array 1700 rather than array type. This removes spurious warnings in some compilers 2302 NULL algorithm parameters entry would look identical to an array of REAL
|