Home
last modified time | relevance | path

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

/openthread-3.6.0/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.txt152 add_executable(ot-test-array
156 target_include_directories(ot-test-array
161 target_compile_options(ot-test-array
166 target_link_libraries(ot-test-array
447 add_executable(ot-test-heap-array
451 target_include_directories(ot-test-heap-array
456 target_compile_options(ot-test-heap-array
461 target_link_libraries(ot-test-heap-array
466 add_test(NAME ot-test-heap-array COMMAND ot-test-heap-array)
/openthread-3.6.0/third_party/mbedtls/repo/tests/include/test/
Dmacros.h307 #define ARRAY_LENGTH_UNSAFE( array ) \
308 ( sizeof( array ) / sizeof( *( array ) ) )
327 #define ARRAY_LENGTH( array ) \
328 ( STATIC_ASSERT_THEN_RETURN( IS_ARRAY_NOT_POINTER( array ), \
329 ARRAY_LENGTH_UNSAFE( array ) ) )
334 #define ARRAY_LENGTH( array ) ARRAY_LENGTH_UNSAFE( array )
/openthread-3.6.0/third_party/mbedtls/repo/library/
Dpsa_crypto_slot_management.c44 #define ARRAY_LENGTH( array ) ( sizeof( array ) / sizeof( *( array ) ) ) argument
Dpsa_crypto.c93 #define ARRAY_LENGTH( array ) ( sizeof( array ) / sizeof( *( array ) ) ) argument
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/
Dmain_test.function139 * parameter array and do not perform any error detection.
141 * \param param_array The array of parameters. Each element is a `void *`
209 * \param params The array of parameters to pass to the test function.
Dhost_test.function156 * \param params_len Out params array len
235 * \param cnt Parameter array count.
236 * \param params Out array of found parameters.
426 * \param unmet_dependencies The array of unmet dependencies.
499 * \param argv Argument array.
/openthread-3.6.0/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-3.6.0/third_party/mbedtls/repo/docs/architecture/testing/
Dpsa-storage-format-testing.md43 …s a mapping from file identifer (a 64-bit number) to file content (a byte array). These files incl…
/openthread-3.6.0/src/core/
DBUILD.gn386 "common/array.hpp",
/openthread-3.6.0/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md73 * `"headers"` (optional, array of strings). A list of header files. These header files must define …
74 * `"capabilities"` (mandatory, array of [capabilities](#driver-description-capability)).
775 …half of an opaque driver. This persistent state consists of a single byte array whose size is give…
892 …ero and it's plausible that the core would want to statically allocate an array of the given size,…
/openthread-3.6.0/third_party/mbedtls/repo/
DChangeLog512 NULL algorithm parameters entry would look identical to an array of REAL