/aosp_15_r20/external/pytorch/aten/src/ATen/core/ |
H A D | List_test.cpp | 1 #include <ATen/core/List.h> 8 List<string> list; in TEST() local 9 EXPECT_TRUE(list.empty()); in TEST() 13 List<string> list({"3"}); in TEST() local 14 EXPECT_FALSE(list.empty()); in TEST() 18 List<string> list; in TEST() local 19 EXPECT_EQ(0, list.size()); in TEST() 23 List<string> list({"3", "4"}); in TEST() local 24 EXPECT_EQ(2, list.size()); in TEST() 28 List<string> list({"3", "4"}); in TEST() local [all …]
|
/aosp_15_r20/external/pigweed/pw_containers/ |
H A D | intrusive_list_test.cc | 58 using List = IntrusiveList<Item>; typedef 60 // Test that a list of items derived from a different Item class can be created. 72 List list({}); in TEST() local 73 EXPECT_TRUE(list.empty()); in TEST() 78 List list({&one}); in TEST() local 80 EXPECT_EQ(&one, &list.front()); in TEST() 81 list.clear(); in TEST() 89 List list({&one, &two, &thr}); in TEST() local 90 auto it = list.begin(); in TEST() 94 EXPECT_EQ(list.end(), it); in TEST() [all …]
|
H A D | intrusive_forward_list_test.cc | 59 using List = IntrusiveForwardList<Item>; typedef 61 // Test that a list of items derived from a different Item class can be created. 73 List list({}); in TEST() local 74 EXPECT_TRUE(list.empty()); in TEST() 79 List list({&one}); in TEST() local 81 EXPECT_EQ(&one, &list.front()); in TEST() 82 list.clear(); in TEST() 90 List list({&one, &two, &thr}); in TEST() local 91 auto it = list.begin(); in TEST() 95 EXPECT_EQ(list.end(), it); in TEST() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/lib/cmake/llvm/ |
D | LLVMExports-release.cmake | 15 list(APPEND _IMPORT_CHECK_TARGETS tf_xla_runtime ) 16 list(APPEND _IMPORT_CHECK_FILES_FOR_tf_xla_runtime "${_IMPORT_PREFIX}/lib/libtf_xla_runtime.a" ) 25 list(APPEND _IMPORT_CHECK_TARGETS LLVMDemangle ) 26 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMDemangle "${_IMPORT_PREFIX}/lib/libLLVMDemangle.a" ) 35 list(APPEND _IMPORT_CHECK_TARGETS LLVMSupport ) 36 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMSupport "${_IMPORT_PREFIX}/lib/libLLVMSupport.a" ) 45 list(APPEND _IMPORT_CHECK_TARGETS LLVMTableGen ) 46 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMTableGen "${_IMPORT_PREFIX}/lib/libLLVMTableGen.a" ) 55 list(APPEND _IMPORT_CHECK_TARGETS LLVMTableGenGlobalISel ) 56 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMTableGenGlobalISel "${_IMPORT_PREFIX}/lib/libLLVMTableGenGl… [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/lib/cmake/llvm/ |
D | LLVMExports-release.cmake | 15 list(APPEND _IMPORT_CHECK_TARGETS tf_xla_runtime ) 16 list(APPEND _IMPORT_CHECK_FILES_FOR_tf_xla_runtime "${_IMPORT_PREFIX}/lib/libtf_xla_runtime.a" ) 25 list(APPEND _IMPORT_CHECK_TARGETS LLVMDemangle ) 26 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMDemangle "${_IMPORT_PREFIX}/lib/libLLVMDemangle.a" ) 35 list(APPEND _IMPORT_CHECK_TARGETS LLVMSupport ) 36 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMSupport "${_IMPORT_PREFIX}/lib/libLLVMSupport.a" ) 45 list(APPEND _IMPORT_CHECK_TARGETS LLVMTableGen ) 46 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMTableGen "${_IMPORT_PREFIX}/lib/libLLVMTableGen.a" ) 55 list(APPEND _IMPORT_CHECK_TARGETS LLVMTableGenBasic ) 56 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMTableGenBasic "${_IMPORT_PREFIX}/lib/libLLVMTableGenBasic.a… [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/lib/cmake/llvm/ |
D | LLVMExports-release.cmake | 15 list(APPEND _IMPORT_CHECK_TARGETS tf_xla_runtime ) 16 list(APPEND _IMPORT_CHECK_FILES_FOR_tf_xla_runtime "${_IMPORT_PREFIX}/lib/libtf_xla_runtime.a" ) 25 list(APPEND _IMPORT_CHECK_TARGETS LLVMDemangle ) 26 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMDemangle "${_IMPORT_PREFIX}/lib/libLLVMDemangle.a" ) 35 list(APPEND _IMPORT_CHECK_TARGETS LLVMSupport ) 36 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMSupport "${_IMPORT_PREFIX}/lib/libLLVMSupport.a" ) 45 list(APPEND _IMPORT_CHECK_TARGETS LLVMTableGen ) 46 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMTableGen "${_IMPORT_PREFIX}/lib/libLLVMTableGen.a" ) 55 list(APPEND _IMPORT_CHECK_TARGETS LLVMTableGenGlobalISel ) 56 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMTableGenGlobalISel "${_IMPORT_PREFIX}/lib/libLLVMTableGenGl… [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/lib/cmake/llvm/ |
D | LLVMExports-release.cmake | 15 list(APPEND _IMPORT_CHECK_TARGETS tf_xla_runtime ) 16 list(APPEND _IMPORT_CHECK_FILES_FOR_tf_xla_runtime "${_IMPORT_PREFIX}/lib/libtf_xla_runtime.a" ) 25 list(APPEND _IMPORT_CHECK_TARGETS LLVMDemangle ) 26 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMDemangle "${_IMPORT_PREFIX}/lib/libLLVMDemangle.a" ) 35 list(APPEND _IMPORT_CHECK_TARGETS LLVMSupport ) 36 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMSupport "${_IMPORT_PREFIX}/lib/libLLVMSupport.a" ) 45 list(APPEND _IMPORT_CHECK_TARGETS LLVMTableGen ) 46 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMTableGen "${_IMPORT_PREFIX}/lib/libLLVMTableGen.a" ) 55 list(APPEND _IMPORT_CHECK_TARGETS LLVMTableGenGlobalISel ) 56 list(APPEND _IMPORT_CHECK_FILES_FOR_LLVMTableGenGlobalISel "${_IMPORT_PREFIX}/lib/libLLVMTableGenGl… [all …]
|
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/collect/ |
H A D | ListsTest.java | 46 import java.util.List; 86 private static final List<Integer> SOME_LIST = Lists.newArrayList(1, 2, 3, 4); 88 private static final List<Integer> SOME_SEQUENTIAL_LIST = Lists.newLinkedList(asList(1, 2, 3, 4)); 90 private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4"); 113 protected List<String> create(String[] elements) { in suite() 131 protected List<String> create(String[] elements) { in suite() 150 protected List<String> create(String[] elements) { in suite() 151 List<String> fromList = Lists.newArrayList(); in suite() 170 protected List<String> create(String[] elements) { in suite() 171 List<String> fromList = Lists.newLinkedList(); in suite() [all …]
|
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ListsTest.java | 46 import java.util.List; 86 private static final List<Integer> SOME_LIST = Lists.newArrayList(1, 2, 3, 4); 88 private static final List<Integer> SOME_SEQUENTIAL_LIST = Lists.newLinkedList(asList(1, 2, 3, 4)); 90 private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4"); 113 protected List<String> create(String[] elements) { in suite() 131 protected List<String> create(String[] elements) { in suite() 150 protected List<String> create(String[] elements) { in suite() 151 List<String> fromList = Lists.newArrayList(); in suite() 170 protected List<String> create(String[] elements) { in suite() 171 List<String> fromList = Lists.newLinkedList(); in suite() [all …]
|
/aosp_15_r20/external/openthread/tests/unit/ |
H A D | test_linked_list.cpp | 8 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer in the 87 // This function verifies the content of the linked list matches a given list of entries. 101 VerifyOrQuit(argEntry != nullptr, "List contains more entries than expected"); in VerifyLinkedListContent() 102 VerifyOrQuit(argEntry == &entry, "List does not contain the same entry"); in VerifyLinkedListContent() 108 VerifyOrQuit(prev == argPrev, "List::Find() returned prev entry is incorrect"); in VerifyLinkedListContent() 111 VerifyOrQuit(prev == argPrev, "List::FindMatching() returned prev entry is incorrect"); in VerifyLinkedListContent() 114 VerifyOrQuit(prev == argPrev, "List::FindMatching() returned prev entry is incorrect"); in VerifyLinkedListContent() 122 VerifyOrQuit(argEntry == nullptr, "List contains less entries than expected"); in VerifyLinkedListContent() 138 LinkedList<Entry> list; in TestLinkedList() local [all …]
|
/aosp_15_r20/external/icu/libicu/ndk_headers/unicode/ |
H A D | uchar.h | 43 * \xrefitem stable "Stable" "Stable List" ICU 2.4 62 * \xrefitem stable "Stable" "Stable List" ICU 2.0 78 * Most of them are simple boolean flags, or constants from a small enumerated list. 159 … code point value. Code points are non-negative. \xrefitem stable "Stable" "Stable List" ICU 2.0 */ 168 * \xrefitem stable "Stable" "Stable List" ICU 2.0 174 * \xrefitem stable "Stable" "Stable List" ICU 2.1 196 * \xrefitem stable "Stable" "Stable List" ICU 2.1 211 Lu+Ll+Lt+Lm+Lo+Nl+Other_Alphabetic \xrefitem stable "Stable" "Stable List" ICU 2.1 */ 213 …/** First constant for binary Unicode properties. \xrefitem stable "Stable" "Stable List" ICU 2.1 … 215 …/** Binary property ASCII_Hex_Digit. 0-9 A-F a-f \xrefitem stable "Stable" "Stable List" ICU 2.1 */ [all …]
|
H A D | uscript.h | 54 * \xrefitem stable "Stable" "Stable List" ICU 2.2 64 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 66 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 68 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 70 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 72 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 74 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 76 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 78 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 80 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ [all …]
|
/aosp_15_r20/out/soong/ndk/sysroot/usr/include/unicode/ |
D | uchar.h | 43 * \xrefitem stable "Stable" "Stable List" ICU 2.4 62 * \xrefitem stable "Stable" "Stable List" ICU 2.0 78 * Most of them are simple boolean flags, or constants from a small enumerated list. 159 … code point value. Code points are non-negative. \xrefitem stable "Stable" "Stable List" ICU 2.0 */ 168 * \xrefitem stable "Stable" "Stable List" ICU 2.0 174 * \xrefitem stable "Stable" "Stable List" ICU 2.1 196 * \xrefitem stable "Stable" "Stable List" ICU 2.1 211 Lu+Ll+Lt+Lm+Lo+Nl+Other_Alphabetic \xrefitem stable "Stable" "Stable List" ICU 2.1 */ 213 …/** First constant for binary Unicode properties. \xrefitem stable "Stable" "Stable List" ICU 2.1 … 215 …/** Binary property ASCII_Hex_Digit. 0-9 A-F a-f \xrefitem stable "Stable" "Stable List" ICU 2.1 */ [all …]
|
D | uscript.h | 54 * \xrefitem stable "Stable" "Stable List" ICU 2.2 64 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 66 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 68 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 70 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 72 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 74 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 76 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 78 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ 80 /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */ [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/lib/cmake/clang/ |
D | ClangTargets-release.cmake | 14 list(APPEND _IMPORT_CHECK_TARGETS clang-tblgen ) 15 list(APPEND _IMPORT_CHECK_FILES_FOR_clang-tblgen "${_IMPORT_PREFIX}/bin/clang-tblgen" ) 24 list(APPEND _IMPORT_CHECK_TARGETS clangBasic ) 25 list(APPEND _IMPORT_CHECK_FILES_FOR_clangBasic "${_IMPORT_PREFIX}/lib/libclangBasic.a" ) 34 list(APPEND _IMPORT_CHECK_TARGETS clangAPINotes ) 35 list(APPEND _IMPORT_CHECK_FILES_FOR_clangAPINotes "${_IMPORT_PREFIX}/lib/libclangAPINotes.a" ) 44 list(APPEND _IMPORT_CHECK_TARGETS clangLex ) 45 list(APPEND _IMPORT_CHECK_FILES_FOR_clangLex "${_IMPORT_PREFIX}/lib/libclangLex.a" ) 54 list(APPEND _IMPORT_CHECK_TARGETS clangParse ) 55 list(APPEND _IMPORT_CHECK_FILES_FOR_clangParse "${_IMPORT_PREFIX}/lib/libclangParse.a" ) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/lib/cmake/clang/ |
D | ClangTargets-release.cmake | 14 list(APPEND _IMPORT_CHECK_TARGETS clang-tblgen ) 15 list(APPEND _IMPORT_CHECK_FILES_FOR_clang-tblgen "${_IMPORT_PREFIX}/bin/clang-tblgen" ) 24 list(APPEND _IMPORT_CHECK_TARGETS clangBasic ) 25 list(APPEND _IMPORT_CHECK_FILES_FOR_clangBasic "${_IMPORT_PREFIX}/lib/libclangBasic.a" ) 34 list(APPEND _IMPORT_CHECK_TARGETS clangAPINotes ) 35 list(APPEND _IMPORT_CHECK_FILES_FOR_clangAPINotes "${_IMPORT_PREFIX}/lib/libclangAPINotes.a" ) 44 list(APPEND _IMPORT_CHECK_TARGETS clangLex ) 45 list(APPEND _IMPORT_CHECK_FILES_FOR_clangLex "${_IMPORT_PREFIX}/lib/libclangLex.a" ) 54 list(APPEND _IMPORT_CHECK_TARGETS clangParse ) 55 list(APPEND _IMPORT_CHECK_FILES_FOR_clangParse "${_IMPORT_PREFIX}/lib/libclangParse.a" ) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/lib/cmake/clang/ |
D | ClangTargets-release.cmake | 14 list(APPEND _IMPORT_CHECK_TARGETS clang-tblgen ) 15 list(APPEND _IMPORT_CHECK_FILES_FOR_clang-tblgen "${_IMPORT_PREFIX}/bin/clang-tblgen" ) 24 list(APPEND _IMPORT_CHECK_TARGETS clangBasic ) 25 list(APPEND _IMPORT_CHECK_FILES_FOR_clangBasic "${_IMPORT_PREFIX}/lib/libclangBasic.a" ) 34 list(APPEND _IMPORT_CHECK_TARGETS clangAPINotes ) 35 list(APPEND _IMPORT_CHECK_FILES_FOR_clangAPINotes "${_IMPORT_PREFIX}/lib/libclangAPINotes.a" ) 44 list(APPEND _IMPORT_CHECK_TARGETS clangLex ) 45 list(APPEND _IMPORT_CHECK_FILES_FOR_clangLex "${_IMPORT_PREFIX}/lib/libclangLex.a" ) 54 list(APPEND _IMPORT_CHECK_TARGETS clangParse ) 55 list(APPEND _IMPORT_CHECK_FILES_FOR_clangParse "${_IMPORT_PREFIX}/lib/libclangParse.a" ) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/lib/cmake/clang/ |
D | ClangTargets-release.cmake | 14 list(APPEND _IMPORT_CHECK_TARGETS clang-tblgen ) 15 list(APPEND _IMPORT_CHECK_FILES_FOR_clang-tblgen "${_IMPORT_PREFIX}/bin/clang-tblgen" ) 24 list(APPEND _IMPORT_CHECK_TARGETS clangBasic ) 25 list(APPEND _IMPORT_CHECK_FILES_FOR_clangBasic "${_IMPORT_PREFIX}/lib/libclangBasic.a" ) 34 list(APPEND _IMPORT_CHECK_TARGETS clangAPINotes ) 35 list(APPEND _IMPORT_CHECK_FILES_FOR_clangAPINotes "${_IMPORT_PREFIX}/lib/libclangAPINotes.a" ) 44 list(APPEND _IMPORT_CHECK_TARGETS clangLex ) 45 list(APPEND _IMPORT_CHECK_FILES_FOR_clangLex "${_IMPORT_PREFIX}/lib/libclangLex.a" ) 54 list(APPEND _IMPORT_CHECK_TARGETS clangParse ) 55 list(APPEND _IMPORT_CHECK_FILES_FOR_clangParse "${_IMPORT_PREFIX}/lib/libclangParse.a" ) [all …]
|
/aosp_15_r20/prebuilts/cmake/linux-x86/share/cmake-3.22/Help/command/ |
D | list.rst | 1 list title 4 List operations. 12 list(`LENGTH`_ <list> <out-var>) 13 list(`GET`_ <list> <element index> [<index> ...] <out-var>) 14 list(`JOIN`_ <list> <glue> <out-var>) 15 list(`SUBLIST`_ <list> <begin> <length> <out-var>) 18 list(`FIND`_ <list> <value> <out-var>) 21 list(`APPEND`_ <list> [<element>...]) 22 list(`FILTER`_ <list> {INCLUDE | EXCLUDE} REGEX <regex>) 23 list(`INSERT`_ <list> <index> [<element>...]) [all …]
|
/aosp_15_r20/external/wmediumd/wmediumd/ |
H A D | list.h | 19 * Simple doubly linked list implementation. 39 * @list: list_head structure to be initialized. 41 * Initializes the list_head to point to itself. If it is a list header, 42 * the result is an empty list. 44 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() argument 46 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD() 47 list->prev = list; in INIT_LIST_HEAD() 64 * This is only for internal list manipulation where we know 83 * @head: list head to add it after 97 * @head: list head to add it before [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/util/ |
D | List.java | 33 * list each element is inserted. The user can access elements by their integer 34 * index (position in the list), and search for elements in the list.<p> 40 * that someone might wish to implement a list that prohibits duplicates, by 44 * The {@code List} interface places additional stipulations, beyond those 50 * The {@code List} interface provides four methods for positional (indexed) 51 * access to list elements. Lists (like Java arrays) are zero based. Note 54 * example). Thus, iterating over the elements in a list is typically 58 * The {@code List} interface provides a special iterator, called a 62 * list iterator that starts at a specified position in the list.<p> 64 * The {@code List} interface provides two methods to search for a specified [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/23/libcore/ojluni/src/main/java/java/util/ |
D | List.java | 33 * list each element is inserted. The user can access elements by their integer 34 * index (position in the list), and search for elements in the list.<p> 40 * that someone might wish to implement a list that prohibits duplicates, by 44 * The {@code List} interface places additional stipulations, beyond those 50 * The {@code List} interface provides four methods for positional (indexed) 51 * access to list elements. Lists (like Java arrays) are zero based. Note 54 * example). Thus, iterating over the elements in a list is typically 58 * The {@code List} interface provides a special iterator, called a 62 * list iterator that starts at a specified position in the list.<p> 64 * The {@code List} interface provides two methods to search for a specified [all …]
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/util/ |
H A D | List.java | 33 * list each element is inserted. The user can access elements by their integer 34 * index (position in the list), and search for elements in the list.<p> 40 * that someone might wish to implement a list that prohibits duplicates, by 44 * The {@code List} interface places additional stipulations, beyond those 50 * The {@code List} interface provides four methods for positional (indexed) 51 * access to list elements. Lists (like Java arrays) are zero based. Note 54 * example). Thus, iterating over the elements in a list is typically 58 * The {@code List} interface provides a special iterator, called a 62 * list iterator that starts at a specified position in the list.<p> 64 * The {@code List} interface provides two methods to search for a specified [all …]
|
/aosp_15_r20/external/trusty/lk/hosttests/listtest/ |
D | list_test.cpp | 24 #include <lk/list.h> 29 * CheckListArray - check that a list contains specific items. 30 * @list: The list to check. 33 * @list. 35 * Check that @list contains the all the entries in @items, in the same order, 39 static void CheckListArray(struct list_node *list, struct list_node *items[], in CheckListArray() argument 45 EXPECT_EQ(list_peek_head(list), head_item) << "List has wrong head"; in CheckListArray() 48 EXPECT_EQ(list_peek_tail(list), tail_item) << "List has wrong tail"; in CheckListArray() 50 list_for_every(list, node) { in CheckListArray() 51 ASSERT_GT(count, i) << "List has more items than expected"; in CheckListArray() [all …]
|
/aosp_15_r20/external/crosvm/swap/src/ |
H A D | present_list.rs | 11 /// TODO(b/262379173): Use bit vector to represent the list instead of boolean vector. 14 list: Vec<bool>, field 21 /// Allocates the list of state. 28 list: vec![false; num_of_pages], in new() 37 /// * `idx` - the index in the list. 39 self.list.get(idx) in get() 77 if let Some(list) = self.list.get_mut(idx_range) { in update() 78 for v in list { in update() 87 /// Returns the first range of indices of consecutive pages present in the list. 101 self.min_possible_idx = self.list.len(); in first_data_range() [all …]
|