Home
last modified time | relevance | path

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

12345678910>>...119

/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-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/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/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/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/u-boot/fs/btrfs/
Ddir-item.c10 static int verify_dir_item(struct btrfs_dir_item *item, u32 start, u32 total) in verify_dir_item() argument
15 if (item->type >= BTRFS_FT_MAX) { in verify_dir_item()
16 printf("%s: invalid dir item type: %i\n", __func__, item->type); in verify_dir_item()
20 if (item->type == BTRFS_FT_XATTR) in verify_dir_item()
23 end = start + sizeof(*item) + item->name_len; in verify_dir_item()
24 if (item->name_len > max_len || end > total) { in verify_dir_item()
26 item->name_len); in verify_dir_item()
37 struct btrfs_dir_item *item; in btrfs_match_dir_item_name() local
41 item = btrfs_path_item_ptr(path, struct btrfs_dir_item); in btrfs_match_dir_item_name()
46 btrfs_dir_item_to_cpu(item); in btrfs_match_dir_item_name()
[all …]
/external/iperf3/src/
Dcjson.c181 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item) in cJSON_Delete() argument
184 while (item != NULL) in cJSON_Delete()
186 next = item->next; in cJSON_Delete()
187 if (!(item->type & cJSON_IsReference) && (item->child != NULL)) in cJSON_Delete()
189 cJSON_Delete(item->child); in cJSON_Delete()
191 if (!(item->type & cJSON_IsReference) && (item->valuestring != NULL)) in cJSON_Delete()
193 global_hooks.deallocate(item->valuestring); in cJSON_Delete()
195 if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) in cJSON_Delete()
197 global_hooks.deallocate(item->string); in cJSON_Delete()
199 global_hooks.deallocate(item); in cJSON_Delete()
[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/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/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine_test.cc71 GrapplerItem item; in TEST_F() local
72 CHECK(fake_input.NextItem(&item)); in TEST_F()
74 TF_CHECK_OK(cluster_->Initialize(item)); in TEST_F()
78 TF_CHECK_OK(cluster_->Run(item.graph, item.feed, item.fetch, &metadata)); in TEST_F()
109 GrapplerItem item; in TEST_F() local
110 CHECK(fake_input.NextItem(&item)); in TEST_F()
112 TF_CHECK_OK(cluster_->Initialize(item)); in TEST_F()
114 TF_CHECK_OK(cluster_->Run(item.graph, item.feed, item.fetch, &metadata)); in TEST_F()
122 GrapplerItem item; in TEST_F() local
123 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/libxkbcommon/xkbcommon/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)); \
107 memcpy((arr).item, items, __count * sizeof(*(arr).item)); \
111 darray_from_items((arr_to), (arr_from).item, (arr_from).size)
129 memcpy((arr).item + __oldSize, items, __count * sizeof(*(arr).item)); \
[all …]
/external/icu/icu4c/source/test/depstest/
Ddependencies.py77 def _ReadFiles(deps_file, item, library_name): argument
79 item_files = item.get("files")
84 if item_files == None: item_files = item["files"] = set()
92 file_to_item[file_name] = item["name"]
94 def _IsLibrary(item): return item and item["type"] == "library" argument
96 def _IsLibraryGroup(item): return item and "library" in item argument
98 def _ReadDeps(deps_file, item, library_name): argument
100 item_deps = item.get("deps")
105 if item_deps == None: item_deps = item["deps"] = set()
109 if item["type"] == "system_symbols" and (_IsLibraryGroup(dep_item) or _IsLibrary(dep_item)):
[all …]
/external/u-boot/common/
Dmenu.c59 struct menu_item *item; in menu_items_iter() local
63 item = list_entry(pos, struct menu_item, list); in menu_items_iter()
65 ret = callback(m, item, extra); in menu_items_iter()
80 struct menu_item *item, in menu_item_print() argument
84 puts(item->key); in menu_item_print()
87 m->item_data_print(item->data); in menu_item_print()
98 struct menu_item *item, in menu_item_destroy() argument
101 if (item->key) in menu_item_destroy()
102 free(item->key); in menu_item_destroy()
104 free(item); in menu_item_destroy()
[all …]
/external/libdrm/
Dutil_double_list.h47 static inline void list_inithead(struct list_head *item) in list_inithead() argument
49 item->prev = item; in list_inithead()
50 item->next = item; in list_inithead()
53 static inline void list_add(struct list_head *item, struct list_head *list) in list_add() argument
55 item->prev = list; in list_add()
56 item->next = list->next; in list_add()
57 list->next->prev = item; in list_add()
58 list->next = item; in list_add()
61 static inline void list_addtail(struct list_head *item, struct list_head *list) in list_addtail() argument
63 item->next = list; in list_addtail()
[all …]

12345678910>>...119