Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 3644) sorted by relevance

12345678910>>...146

/external/rust/crates/tokio/src/macros/
Dcfg.rs6 $($item:item)*
11 $item
18 ($($item:item)*) => {
26 $item
33 ($($item:item)*) => {
43 $item
49 ($($item:item)*) => {
53 $item
59 ($($item:item)*) => {
60 $( #[cfg(any(feature = "io-std", feature = "fs"))] $item )*
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DRoboMenuItemTest.java18 private MenuItem item; field in RoboMenuItemTest
23 item = new RoboMenuItem(ApplicationProvider.getApplicationContext()); in setUp()
25 item.setOnActionExpandListener(listener); in setUp()
30 assertThat(item.isChecked()).isFalse(); in shouldCheckTheMenuItem()
31 item.setChecked(true); in shouldCheckTheMenuItem()
32 assertThat(item.isChecked()).isTrue(); in shouldCheckTheMenuItem()
37 assertThat(item.isCheckable()).isFalse(); in shouldAllowSettingCheckable()
38 item.setCheckable(true); in shouldAllowSettingCheckable()
39 assertThat(item.isCheckable()).isTrue(); in shouldAllowSettingCheckable()
44 assertThat(item.isVisible()).isTrue(); in shouldAllowSettingVisible()
[all …]
/external/igt-gpu-tools/tests/i915/
Di915_query.c72 struct drm_i915_query_item item; in test_query_garbage() local
91 memset(&item, 0, sizeof(item)); in test_query_garbage()
92 i915_query_items_err(fd, &item, 1, EINVAL); in test_query_garbage()
201 struct drm_i915_query_item item; in test_query_topology_kernel_writes() local
206 memset(&item, 0, sizeof(item)); in test_query_topology_kernel_writes()
207 item.query_id = DRM_I915_QUERY_TOPOLOGY_INFO; in test_query_topology_kernel_writes()
208 i915_query_items(fd, &item, 1); in test_query_topology_kernel_writes()
209 igt_assert_lte(MIN_TOPOLOGY_ITEM_SIZE, item.length); in test_query_topology_kernel_writes()
211 total_size = item.length + 2 * sizeof(*_topo_info); in test_query_topology_kernel_writes()
215 memset(topo_info, 0, item.length); in test_query_topology_kernel_writes()
[all …]
/external/python/cpython2/PC/VS7.1/
DUninstal.wse2 item: Global
24 item: Remark
27 item: Remark
30 item: Remark
32 item: Remark
35 item: Remark
37 item: Set Variable
42 item: Set Variable
46 item: Compiler Variable If
50 item: Install File
[all …]
Dpython20.wse2 item: Global
77 item: Set Variable
81 item: Remark
83 item: Remark
86 item: Remark
89 item: Remark
92 item: Remark
95 item: Remark
98 item: Remark
101 item: Remark
[all …]
/external/selinux/libsepol/cil/src/
Dcil_list.c62 struct cil_list_item *item = (*list)->head; in cil_list_destroy() local
64 while (item != NULL) in cil_list_destroy()
66 next = item->next; in cil_list_destroy()
67 if (item->flavor == CIL_LIST) { in cil_list_destroy()
68 cil_list_destroy((struct cil_list**)&(item->data), destroy_data); in cil_list_destroy()
69 free(item); in cil_list_destroy()
71 cil_list_item_destroy(&item, destroy_data); in cil_list_destroy()
73 item = next; in cil_list_destroy()
79 void cil_list_item_init(struct cil_list_item **item) in cil_list_item_init() argument
86 *item = new_item; in cil_list_item_init()
[all …]
/external/python/cpython2/Lib/plat-irix5/
Dpanel.py30 for item in list:
31 res.insert(0, item)
39 for item in list:
40 if item and is_list(item) and item[0] == name:
41 return item[1:]
48 for item in list:
49 if item and is_list(item) and item[0] == 'prop':
50 if len(item) > 1 and item[1] == name:
51 return item[2:]
66 for item in a:
[all …]
/external/python/cpython2/Lib/plat-irix6/
Dpanel.py30 for item in list:
31 res.insert(0, item)
39 for item in list:
40 if item and is_list(item) and item[0] == name:
41 return item[1:]
48 for item in list:
49 if item and is_list(item) and item[0] == 'prop':
50 if len(item) > 1 and item[1] == name:
51 return item[2:]
66 for item in a:
[all …]
/external/wpa_supplicant_8/src/utils/
Dlist.h28 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) in dl_list_add() argument
30 item->next = list->next; in dl_list_add()
31 item->prev = list; in dl_list_add()
32 list->next->prev = item; in dl_list_add()
33 list->next = item; in dl_list_add()
36 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) in dl_list_add_tail() argument
38 dl_list_add(list->prev, item); in dl_list_add_tail()
41 static inline void dl_list_del(struct dl_list *item) in dl_list_del() argument
43 item->next->prev = item->prev; in dl_list_del()
44 item->prev->next = item->next; in dl_list_del()
[all …]
/external/autotest/frontend/client/src/autotest/common/ui/
DMultiListSelectPresenter.java69 Item item = new Item(name, value); in createGeneratedItem() local
70 item.isGeneratedItem = true; in createGeneratedItem()
71 return item; in createGeneratedItem()
74 public int compareTo(Item item) { in compareTo() argument
75 return name.compareTo(item.name); in compareTo()
211 for (Item item : items) {
212 if (item.isSelected() && !selectedItems.contains(item)) {
214 + item.toString());
220 public void addItem(Item item) {
221 if (item.isGeneratedItem && isItemPresent(item)) {
[all …]
/external/OpenCL-CTS/test_conformance/multiple_device_context/
Dtest_multiple_contexts.cpp73 static void DestroyTestItem( TestItem *item );
82 TestItem *item = (TestItem *) malloc( sizeof(TestItem ) ); in CreateTestItem() local
83 if( NULL == item ) in CreateTestItem()
93 memset( item, 0, sizeof( *item ) ); in CreateTestItem()
95 item->d = init_genrand( gRandomSeed ); in CreateTestItem()
96 if( NULL == item->d ) in CreateTestItem()
103 DestroyTestItem( item ); in CreateTestItem()
109 item->c = clCreateContext(NULL, 1, &deviceID, notify_callback, NULL, &error ); in CreateTestItem()
110 if( item->c == NULL || error != CL_SUCCESS) in CreateTestItem()
116 DestroyTestItem( item ); in CreateTestItem()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.ui16 <item row="1" column="3" >
22 </item>
23 <item row="0" column="0" colspan="4" >
32 <item row="0" column="0" >
38 </item>
39 <item row="0" column="1" >
48 </item>
49 <item row="1" column="0" >
55 </item>
56 <item row="1" column="1" >
[all …]
Dwpagui.ui21 <item row="0" column="0" >
27 </item>
28 <item row="0" column="1" >
30 </item>
31 <item row="1" column="0" >
37 </item>
38 <item row="1" column="1" >
40 </item>
41 <item row="2" column="0" colspan="2" >
51 <item row="0" column="0" colspan="5" >
[all …]
/external/erofs-utils/lib/
Dxattr.c35 struct xattr_item *item; member
86 static unsigned int put_xattritem(struct xattr_item *item) in put_xattritem() argument
88 if (item->count > 1) in put_xattritem()
89 return --item->count; in put_xattritem()
90 free(item); in put_xattritem()
97 struct xattr_item *item; in get_xattritem() local
102 hash_for_each_possible(ea_hashtable, item, node, hkey) { in get_xattritem()
103 if (prefix == item->prefix && in get_xattritem()
104 item->len[0] == len[0] && item->len[1] == len[1] && in get_xattritem()
105 item->hash[0] == hash[0] && item->hash[1] == hash[1] && in get_xattritem()
[all …]
/external/python/cpython3/Tools/peg_generator/pegen/
Dfirst_sets.py50 def visit_Alt(self, item: Alt) -> Set[str]:
53 for other in item.items:
55 if isinstance(other.item, NegativeLookahead):
69 if not isinstance(other.item, (Opt, NegativeLookahead, Repeat0)):
77 def visit_Cut(self, item: Cut) -> Set[str]:
80 def visit_Group(self, item: Group) -> Set[str]:
81 return self.visit(item.rhs)
83 def visit_PositiveLookahead(self, item: Lookahead) -> Set[str]:
84 return self.visit(item.node)
86 def visit_NegativeLookahead(self, item: NegativeLookahead) -> Set[str]:
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dcompute_memory_pool.c56 struct compute_memory_item *item, struct pipe_context *pipe,
61 struct compute_memory_item *item, uint64_t new_start_in_dw,
218 struct compute_memory_item *item, *next; in compute_memory_finalize_pending() local
228 LIST_FOR_EACH_ENTRY(item, pool->item_list, link) { in compute_memory_finalize_pending()
230 "(%"PRIi64" bytes)\n", item->start_in_dw, item->id, in compute_memory_finalize_pending()
231 item->size_in_dw, item->size_in_dw * 4); in compute_memory_finalize_pending()
235 LIST_FOR_EACH_ENTRY(item, pool->item_list, link) { in compute_memory_finalize_pending()
236 allocated += align(item->size_in_dw, ITEM_ALIGNMENT); in compute_memory_finalize_pending()
241 LIST_FOR_EACH_ENTRY(item, pool->unallocated_list, link) { in compute_memory_finalize_pending()
242 if (item->status & ITEM_FOR_PROMOTING) in compute_memory_finalize_pending()
[all …]
/external/virglrenderer/src/gallium/auxiliary/util/
Du_hash_table.c110 struct util_hash_table_item *item; in util_hash_table_find_iter() local
114 item = (struct util_hash_table_item *)cso_hash_iter_data(iter); in util_hash_table_find_iter()
115 if (!ht->compare(item->key, key)) in util_hash_table_find_iter()
130 struct util_hash_table_item *item; in util_hash_table_find_item() local
134 item = (struct util_hash_table_item *)cso_hash_iter_data(iter); in util_hash_table_find_item()
135 if (!ht->compare(item->key, key)) in util_hash_table_find_item()
136 return item; in util_hash_table_find_item()
150 struct util_hash_table_item *item; in util_hash_table_set() local
159 item = util_hash_table_find_item(ht, key, key_hash); in util_hash_table_set()
160 if(item) { in util_hash_table_set()
[all …]
Du_double_list.h51 static inline void list_inithead(struct list_head *item) in list_inithead() argument
53 item->prev = item; in list_inithead()
54 item->next = item; in list_inithead()
57 static inline void list_add(struct list_head *item, struct list_head *list) in list_add() argument
59 item->prev = list; in list_add()
60 item->next = list->next; in list_add()
61 list->next->prev = item; in list_add()
62 list->next = item; in list_add()
65 static inline void list_addtail(struct list_head *item, struct list_head *list) in list_addtail() argument
67 item->next = list; in list_addtail()
[all …]
/external/libxkbcommon/src/
Ddarray.h34 #define darray(type) struct { type *item; unsigned size; unsigned alloc; }
39 (arr).item = 0; (arr).size = 0; (arr).alloc = 0; \
43 free((arr).item); \
48 *(to) = (arr).item; \
85 #define darray_item(arr, i) ((arr).item[i])
93 (arr).item[(arr).size - 1] = (__VA_ARGS__); \
101 memcpy((arr).item + __oldSize, items, __count * sizeof(*(arr).item)); \
108 memcpy((arr).item, items, __count * sizeof(*(arr).item)); \
112 darray_from_items((arr_to), (arr_from).item, (arr_from).size)
115 darray_append_items((arr_to), (arr_from).item, (arr_from).size)
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DVisitor.java18 public void doAt(Object item) { in doAt() argument
19 if (item instanceof Collection) { in doAt()
20 doAt((Collection) item); in doAt()
21 } else if (item instanceof Map) { in doAt()
22 doAt((Map) item); in doAt()
23 } else if (item instanceof Object[]) { in doAt()
24 doAt((Object[]) item); in doAt()
25 } else if (item instanceof UnicodeSet) { in doAt()
26 doAt((UnicodeSet) item); in doAt()
28 doSimpleAt(item); in doAt()
[all …]
/external/lzma/CPP/Windows/Control/
DListView.cpp25 LVITEM item; in GetItemParam() local
26 item.iItem = index; in GetItemParam()
27 item.iSubItem = 0; in GetItemParam()
28 item.mask = LVIF_PARAM; in GetItemParam()
29 bool aResult = GetItem(&item); in GetItemParam()
30 param = item.lParam; in GetItemParam()
46 LVITEM item; in InsertItem() local
47 item.mask = LVIF_TEXT | LVIF_PARAM; in InsertItem()
48 item.iItem = index; in InsertItem()
49 item.lParam = index; in InsertItem()
[all …]
/external/iperf3/src/
Dcjson.c106 CJSON_PUBLIC(char *) cJSON_GetStringValue(cJSON *item) in cJSON_GetStringValue() argument
108 if (!cJSON_IsString(item)) in cJSON_GetStringValue()
113 return item->valuestring; in cJSON_GetStringValue()
116 CJSON_PUBLIC(double) cJSON_GetNumberValue(cJSON *item) in cJSON_GetNumberValue() argument
118 if (!cJSON_IsNumber(item)) in cJSON_GetNumberValue()
123 return item->valuedouble; in cJSON_GetNumberValue()
260 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item) in cJSON_Delete() argument
263 while (item != NULL) in cJSON_Delete()
265 next = item->next; in cJSON_Delete()
266 if (!(item->type & cJSON_IsReference) && (item->child != NULL)) in cJSON_Delete()
[all …]
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine_test.cc76 GrapplerItem item; in TEST_F() local
77 CHECK(fake_input.NextItem(&item)); in TEST_F()
79 TF_CHECK_OK(cluster_->Initialize(item)); in TEST_F()
83 TF_CHECK_OK(cluster_->Run(item.graph, item.feed, item.fetch, &metadata)); in TEST_F()
114 GrapplerItem item; in TEST_F() local
115 CHECK(fake_input.NextItem(&item)); in TEST_F()
117 TF_CHECK_OK(cluster_->Initialize(item)); in TEST_F()
119 TF_CHECK_OK(cluster_->Run(item.graph, item.feed, item.fetch, &metadata)); in TEST_F()
127 GrapplerItem item; in TEST_F() local
128 CHECK(fake_input.NextItem(&item)); in TEST_F()
[all …]
/external/ipsec-tools/src/racoon/
Disakmp_frag.c183 struct isakmp_frag_item *item; local
213 if ((item = racoon_malloc(sizeof(*item))) == NULL) {
222 item->frag_num = frag->index;
223 item->frag_last = (frag->flags & ISAKMP_FRAG_LAST);
224 item->frag_next = NULL;
225 item->frag_packet = buf;
228 if (item->frag_last)
229 last_frag = item->frag_num;
232 iph1->frag_chain = item;
239 last_frag = item->frag_num;
[all …]
/external/libcppbor/tests/
Dcppbor_test.cpp717 unique_ptr<Item> item = details::makeItem(10); in TEST() local
719 EXPECT_EQ(UINT, item->type()); in TEST()
720 EXPECT_NE(nullptr, item->asInt()); in TEST()
721 EXPECT_NE(nullptr, item->asUint()); in TEST()
722 EXPECT_EQ(nullptr, item->asNint()); in TEST()
723 EXPECT_EQ(nullptr, item->asTstr()); in TEST()
724 EXPECT_EQ(nullptr, item->asBstr()); in TEST()
725 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
726 EXPECT_EQ(nullptr, item->asMap()); in TEST()
727 EXPECT_EQ(nullptr, item->asArray()); in TEST()
[all …]

12345678910>>...146