Home
last modified time | relevance | path

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

/openthread-latest/tests/unit/
Dtest_heap_array.cpp183 Heap::Array<uint16_t, 2> array; in TestHeapArrayOfUint16() local
192 VerifyOrQuit(array.GetCapacity() == 0); in TestHeapArrayOfUint16()
193 VerifyArray(array); in TestHeapArrayOfUint16()
198 SuccessOrQuit(array.PushBack(1)); in TestHeapArrayOfUint16()
199 VerifyArray(array, 1); in TestHeapArrayOfUint16()
200 VerifyOrQuit(array.GetCapacity() == 2); in TestHeapArrayOfUint16()
202 SuccessOrQuit(array.PushBack(2)); in TestHeapArrayOfUint16()
203 VerifyArray(array, 1, 2); in TestHeapArrayOfUint16()
204 VerifyOrQuit(array.GetCapacity() == 2); in TestHeapArrayOfUint16()
206 SuccessOrQuit(array.PushBack(3)); in TestHeapArrayOfUint16()
[all …]
Dtest_array.cpp51 Array<uint16_t, kMaxSize> array; in TestArray() local
56 VerifyOrQuit(array.IsEmpty()); in TestArray()
57 VerifyOrQuit(!array.IsFull()); in TestArray()
58 VerifyOrQuit(array.GetLength() == 0); in TestArray()
59 VerifyOrQuit(array.GetMaxSize() == kMaxSize); in TestArray()
60 VerifyOrQuit(array.At(0) == nullptr); in TestArray()
61 VerifyOrQuit(array.Front() == nullptr); in TestArray()
62 VerifyOrQuit(array.Back() == nullptr); in TestArray()
63 VerifyOrQuit(array.PopBack() == nullptr); in TestArray()
77 SuccessOrQuit(array.PushBack(seed + len)); in TestArray()
[all …]
DCMakeLists.txt202 ot_unit_test(array)
/openthread-latest/third_party/mbedtls/repo/library/
Dcommon.h73 #define ARRAY_LENGTH_UNSAFE(array) \ argument
74 (sizeof(array) / sizeof(*(array)))
93 #define ARRAY_LENGTH(array) \ argument
94 (STATIC_ASSERT_THEN_RETURN(IS_ARRAY_NOT_POINTER(array), \
95 ARRAY_LENGTH_UNSAFE(array)))
100 #define ARRAY_LENGTH(array) ARRAY_LENGTH_UNSAFE(array) argument
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_alignment.function33 /* Define 64-bit aligned raw byte array */
79 /* Write sentinel to the part of the array we will test writing to */
84 * Write back to the array with mbedtls_put_unaligned_uint16 and validate
85 * that the array is unchanged as a result.
248 /* Define 64-bit aligned raw byte array */
Dmain_test.function125 * parameter array and do not perform any error detection.
127 * \param param_array The array of parameters. Each element is a `void *`
151 * \param params The array of parameters to pass to the test function.
Dhost_test.function130 * \param params_len Out params array len
198 * \param cnt Parameter array count.
199 * \param params Out array of found parameters.
370 * \param unmet_dependencies The array of unmet dependencies.
484 * \param argv Argument array.
/openthread-latest/src/cli/
DREADME_SRP_SERVER.md194 The TXT record is displayed as an array of entries. If an entry has a key, the key will be printed …
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dpsa-storage-resilience.md367 …, we pick the simplest possible layout for the transaction list: a simple array of key identifiers…
395 The transaction list is a simple array of key identifiers.
400 2. Append the key identifier to the array.
406 2. Remove the key identifier from the array. If it wasn't the last element in array, move array ele…
Dalternative-implementations.md45 …ations can define their context types to any C type except incomplete and array types (although th…
/openthread-latest/third_party/mbedtls/repo/docs/architecture/testing/
Dpsa-storage-format-testing.md43 … a mapping from file identifier (a 64-bit number) to file content (a byte array). These files incl…
/openthread-latest/src/core/
DBUILD.gn389 "common/array.hpp",
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-thread-safety/
Dpsa-thread-safety.md155 Keys are stored internally in a global array of key slots known as the "key store", defined in `lib…
213 As described above, persistent keys can be kicked out of the key slot array provided they are not c…
/openthread-latest/third_party/mbedtls/repo/3rdparty/p256-m/p256-m/
DREADME.md538 that type to be an array of `uint64_t` instead, and making the obvious
/openthread-latest/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md79 * `"headers"` (optional, array of strings). A list of header files. These header files must define …
80 * `"capabilities"` (mandatory, array of [capabilities](#driver-description-capability)).
1215 …half of an opaque driver. This persistent state consists of a single byte array whose size is give…
1332 …ero and it's plausible that the core would want to statically allocate an array of the given size,…
/openthread-latest/third_party/mbedtls/repo/docs/
D3.0-migration-guide.md264 …s_sha512_finish()`, `mbedtls_sha512()` now has a pointer type rather than array type. This makes n…
/openthread-latest/third_party/mbedtls/repo/
DChangeLog1505 rather than array type. This removes spurious warnings in some compilers
2107 NULL algorithm parameters entry would look identical to an array of REAL