Home
last modified time | relevance | path

Searched refs:array (Results 1 – 19 of 19) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
A Dcommon.h83 #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 Dpem_to_pub_c.py23 import array
58 for x in array.array("B", nbuf):
A Dbin_to_c.py8 import array
A Dts_bin_to_c.py9 import array
/optee_os/core/kernel/
A Ddt.c327 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 Dqcbor_private.h403 #define C_ARRAY_COUNT(array, type) (sizeof(array)/sizeof(type)) argument
/optee_os/ta/pkcs11/src/
A Dtoken_capabilities.c310 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 Dpkcs11_token.c426 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 Dpersistent_token.c338 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 Dpkcs11_token.h265 TEE_UUID *array, size_t *size);
/optee_os/lib/libutils/ext/
A Dsub.mk13 srcs-y += array.c
/optee_os/core/include/kernel/
A Ddt.h211 uint32_t *array, size_t count);
388 uint32_t *array __unused, in fdt_read_uint32_array()
/optee_os/core/drivers/
A Dstm32_bsec.c594 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 Dscmi_server.c500 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 Dqcbor_encode.c439 #error additional info for opening array not the same as for closing in QCBOREncode_EncodeHead()
A Dqcbor_decode.c99 #define SIZEOF_C_ARRAY(array,type) (sizeof(array)/sizeof(type)) argument
/optee_os/core/lib/qcbor/
A DREADME.md46 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 Dbget.doc65 that memory is allocated is a linear array which can be addressed as a
/optee_os/lib/libmbedtls/mbedtls/
A DChangeLog20 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

Completed in 124 milliseconds