|
Blender V4.3
|
Go to the source code of this file.
Macros | |
| #define | SIZE 1024 |
| #define | STACK_CHUNK_SIZE 8 |
| #define | BLI_stack_new(esize, descr) BLI_stack_new_ex(esize, descr, esize *STACK_CHUNK_SIZE) |
Functions | |
| TEST (stack, Empty) | |
| TEST (stack, One) | |
| TEST (stack, Range) | |
| TEST (stack, String) | |
| TEST (stack, Peek) | |
| TEST (stack, Clear) | |
| TEST (stack, Reuse) | |
| #define BLI_stack_new | ( | esize, | |
| descr ) BLI_stack_new_ex(esize, descr, esize *STACK_CHUNK_SIZE) |
Definition at line 17 of file BLI_stack_test.cc.
Referenced by BLI_bvhtree_intersect_plane(), BLI_bvhtree_overlap_ex(), bm_elemxelem_bvhtree_overlap(), bm_face_split(), BM_mesh_edgeloops_find(), BM_mesh_edgeloops_find_path(), bmo_collapse_exec(), bmo_collapsecon_do_layer(), bmo_subdivide_edges_exec(), build_edge_mats(), blender::deg::deg_graph_flush_visibility_flags(), edbm_face_split_by_edges_exec(), filelist_readjob_recursive_dir_add_items(), knifetool_init(), paint_2d_bucket_fill(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and view3d_preselect_mesh_edgering_update_edges_from_edge().
| #define SIZE 1024 |
| #define STACK_CHUNK_SIZE 8 |
Definition at line 14 of file BLI_stack_test.cc.
| TEST | ( | stack | , |
| Clear | ) |
Definition at line 120 of file BLI_stack_test.cc.
References BLI_stack_clear(), BLI_stack_free(), BLI_stack_is_empty(), BLI_stack_new, BLI_stack_pop(), BLI_stack_push(), EXPECT_EQ(), and SIZE.
| TEST | ( | stack | , |
| Empty | ) |
Definition at line 19 of file BLI_stack_test.cc.
References BLI_stack_count(), BLI_stack_free(), BLI_stack_is_empty(), BLI_stack_new, and EXPECT_EQ().
| TEST | ( | stack | , |
| One | ) |
Definition at line 29 of file BLI_stack_test.cc.
References BLI_stack_count(), BLI_stack_free(), BLI_stack_is_empty(), BLI_stack_new, BLI_stack_pop(), BLI_stack_push(), and EXPECT_EQ().
| TEST | ( | stack | , |
| Peek | ) |
Definition at line 95 of file BLI_stack_test.cc.
References ARRAY_SIZE, BLI_stack_discard(), BLI_stack_free(), BLI_stack_is_empty(), BLI_stack_new, BLI_stack_peek(), BLI_stack_push(), EXPECT_EQ(), ret, and SIZE.
| TEST | ( | stack | , |
| Range | ) |
Definition at line 46 of file BLI_stack_test.cc.
References BLI_stack_free(), BLI_stack_is_empty(), BLI_stack_new, BLI_stack_pop(), BLI_stack_push(), EXPECT_EQ(), and SIZE.
| TEST | ( | stack | , |
| Reuse | ) |
Definition at line 161 of file BLI_stack_test.cc.
References ARRAY_SIZE, BLI_stack_count(), BLI_stack_free(), BLI_stack_is_empty(), BLI_stack_new, BLI_stack_pop(), BLI_stack_pop_n(), BLI_stack_push(), EXPECT_EQ(), and sum().
| TEST | ( | stack | , |
| String | ) |
Definition at line 68 of file BLI_stack_test.cc.
References BLI_stack_free(), BLI_stack_is_empty(), BLI_stack_new, BLI_stack_pop(), BLI_stack_push(), and SIZE.