Flutter Engine
The Flutter Engine
|
#include "include/private/base/SkASAN.h"
#include "include/private/base/SkTArray.h"
#include "src/base/SkFixedArray.h"
#include "src/base/SkRandom.h"
#include "tests/Test.h"
#include <array>
#include <cstdint>
#include <initializer_list>
#include <utility>
Go to the source code of this file.
Classes | |
struct | EmplaceStruct |
Functions | |
template<typename ArrayType > | |
static void | TestTSet_basic (skiatest::Reporter *reporter) |
template<typename T > | |
static void | test_construction (skiatest::Reporter *reporter, bool hasMoveSemantics=true) |
template<typename T , typename U > | |
static void | test_starray_compatibility (skiatest::Reporter *reporter) |
template<typename T > | |
static void | test_swap (skiatest::Reporter *reporter, SkSpan< TArray< T > * > arrays, SkSpan< const int > sizes) |
DEF_TEST (TArray_Swap, reporter) | |
template<typename T > | |
static void | test_array_move (skiatest::Reporter *reporter, SkSpan< TArray< T > * > arrays, SkSpan< const int > sizes) |
DEF_TEST (TArray_Move, reporter) | |
DEF_TEST (TArray_NoUnnecessaryAllocs, reporter) | |
template<typename ArrayType > | |
static void | test_self_assignment (skiatest::Reporter *reporter) |
DEF_TEST (TArray_SelfAssignment, reporter) | |
DEF_TEST (FixedArray_SelfAssignment, reporter) | |
template<typename ArrayType > | |
static void | test_comparison (skiatest::Reporter *reporter) |
DEF_TEST (TArray_Comparison, reporter) | |
DEF_TEST (FixedArray_Comparison, reporter) | |
template<typename Array > | |
static void | test_array_reserve (skiatest::Reporter *reporter, Array *array, int reserveCount) |
template<typename Array > | |
static void | test_reserve (skiatest::Reporter *reporter) |
template<typename T > | |
static void | test_inner_push (skiatest::Reporter *reporter) |
template<typename T > | |
static void | test_inner_emplace (skiatest::Reporter *reporter) |
DEF_TEST (TArray_Basic, reporter) | |
DEF_TEST (FixedArray_Basic, reporter) | |
DEF_TEST (TArray_Reserve, reporter) | |
DEF_TEST (TArray_Construction, reporter) | |
DEF_TEST (FixedArray_Construction, reporter) | |
DEF_TEST (TArray_InnerPush, reporter) | |
DEF_TEST (FixedArray_InnerPush, reporter) | |
DEF_TEST (TArray_InnerEmplace, reporter) | |
DEF_TEST (TArray_STArrayCompatibility, reporter) | |
DEF_TEST (TArray_BoundsCheck, reporter) | |
DEF_TEST | ( | FixedArray_Basic | , |
reporter | |||
) |
Definition at line 552 of file TArrayTest.cpp.
DEF_TEST | ( | FixedArray_Comparison | , |
reporter | |||
) |
Definition at line 454 of file TArrayTest.cpp.
DEF_TEST | ( | FixedArray_Construction | , |
reporter | |||
) |
Definition at line 580 of file TArrayTest.cpp.
DEF_TEST | ( | FixedArray_InnerPush | , |
reporter | |||
) |
Definition at line 593 of file TArrayTest.cpp.
DEF_TEST | ( | FixedArray_SelfAssignment | , |
reporter | |||
) |
Definition at line 401 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_Basic | , |
reporter | |||
) |
Definition at line 543 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_BoundsCheck | , |
reporter | |||
) |
Definition at line 619 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_Comparison | , |
reporter | |||
) |
Definition at line 444 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_Construction | , |
reporter | |||
) |
Definition at line 570 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_InnerEmplace | , |
reporter | |||
) |
Definition at line 599 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_InnerPush | , |
reporter | |||
) |
DEF_TEST | ( | TArray_Move | , |
reporter | |||
) |
Definition at line 306 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_NoUnnecessaryAllocs | , |
reporter | |||
) |
Definition at line 324 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_Reserve | , |
reporter | |||
) |
Definition at line 558 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_SelfAssignment | , |
reporter | |||
) |
Definition at line 396 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_STArrayCompatibility | , |
reporter | |||
) |
Definition at line 606 of file TArrayTest.cpp.
DEF_TEST | ( | TArray_Swap | , |
reporter | |||
) |
Definition at line 247 of file TArrayTest.cpp.
|
static |
Definition at line 265 of file TArrayTest.cpp.
|
static |
Definition at line 460 of file TArrayTest.cpp.
|
static |
Definition at line 407 of file TArrayTest.cpp.
|
static |
Definition at line 93 of file TArrayTest.cpp.
|
static |
Definition at line 527 of file TArrayTest.cpp.
|
static |
Definition at line 507 of file TArrayTest.cpp.
|
static |
Definition at line 479 of file TArrayTest.cpp.
|
static |
Definition at line 383 of file TArrayTest.cpp.
|
static |
Definition at line 153 of file TArrayTest.cpp.
|
static |
Definition at line 214 of file TArrayTest.cpp.
|
static |
Definition at line 44 of file TArrayTest.cpp.