/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/ |
D | RoboMenuItemTest.java | 18 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/python/cpython2/PC/VS7.1/ |
D | Uninstal.wse | 2 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 …]
|
D | python20.wse | 2 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/ |
D | cil_list.c | 62 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/ |
D | panel.py | 30 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/ |
D | panel.py | 30 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/ |
D | list.h | 28 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/ |
D | MultiListSelectPresenter.java | 69 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/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | networkconfig.ui | 16 <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 …]
|
D | wpagui.ui | 21 <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/ |
D | compute_memory_pool.c | 117 struct compute_memory_item *item; in compute_memory_prealloc_chunk() local 126 LIST_FOR_EACH_ENTRY(item, pool->item_list, link) { in compute_memory_prealloc_chunk() 127 if (last_end + size_in_dw <= item->start_in_dw) { in compute_memory_prealloc_chunk() 131 last_end = item->start_in_dw + align(item->size_in_dw, ITEM_ALIGNMENT); in compute_memory_prealloc_chunk() 150 struct compute_memory_item *item; in compute_memory_postalloc_chunk() local 158 item = LIST_ENTRY(struct compute_memory_item, pool->item_list->next, link); in compute_memory_postalloc_chunk() 159 if (LIST_IS_EMPTY(pool->item_list) || item->start_in_dw > start_in_dw) { in compute_memory_postalloc_chunk() 163 LIST_FOR_EACH_ENTRY(item, pool->item_list, link) { in compute_memory_postalloc_chunk() 164 next_link = item->link.next; in compute_memory_postalloc_chunk() 167 next = container_of(next_link, item, link); in compute_memory_postalloc_chunk() [all …]
|
/external/iperf3/src/ |
D | cjson.c | 181 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/u-boot/fs/btrfs/ |
D | dir-item.c | 10 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/protobuf/src/google/protobuf/util/ |
D | message_differencer_unittest.cc | 1034 protobuf_unittest::TestDiffMessage::Item* item = msg1.add_item(); in TEST() local 1035 item->add_ra(1); item->add_ra(2); item->add_ra(3); in TEST() 1036 item = msg1.add_item(); in TEST() 1037 item->add_ra(5); item->add_ra(6); in TEST() 1038 item = msg1.add_item(); in TEST() 1039 item->add_ra(1); item->add_ra(3); in TEST() 1040 item = msg1.add_item(); in TEST() 1041 item->add_ra(6); item->add_ra(7); item->add_ra(8); in TEST() 1043 item = msg2.add_item(); in TEST() 1044 item->add_ra(6); item->add_ra(5); in TEST() [all …]
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_hash_table.c | 110 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 …]
|
D | u_double_list.h | 51 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/tensorflow/tensorflow/core/grappler/clusters/ |
D | single_machine_test.cc | 70 GrapplerItem item; in TEST_F() local 71 CHECK(fake_input.NextItem(&item)); in TEST_F() 73 TF_CHECK_OK(cluster_->Initialize(item)); in TEST_F() 77 TF_CHECK_OK(cluster_->Run(item.graph, item.feed, item.fetch, &metadata)); in TEST_F() 103 GrapplerItem item; in TEST_F() local 104 CHECK(fake_input.NextItem(&item)); in TEST_F() 106 TF_CHECK_OK(cluster_->Initialize(item)); in TEST_F() 108 TF_CHECK_OK(cluster_->Run(item.graph, item.feed, item.fetch, &metadata)); in TEST_F() 116 GrapplerItem item; in TEST_F() local 117 CHECK(fake_input.NextItem(&item)); in TEST_F() [all …]
|
/external/libdrm/amdgpu/ |
D | util_hash_table.c | 98 struct util_hash_table_item *item; in util_hash_table_find_iter() local 102 item = (struct util_hash_table_item *)util_hash_iter_data(iter); in util_hash_table_find_iter() 103 if (!ht->compare(item->key, key)) in util_hash_table_find_iter() 116 struct util_hash_table_item *item; in util_hash_table_find_item() local 120 item = (struct util_hash_table_item *)util_hash_iter_data(iter); in util_hash_table_find_item() 121 if (!ht->compare(item->key, key)) in util_hash_table_find_item() 122 return item; in util_hash_table_find_item() 133 struct util_hash_table_item *item; in util_hash_table_set() local 142 item = util_hash_table_find_item(ht, key, key_hash); in util_hash_table_set() 143 if(item) { in util_hash_table_set() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_hash_table.c | 107 struct util_hash_table_item *item; in util_hash_table_find_iter() local 111 item = (struct util_hash_table_item *)cso_hash_iter_data(iter); in util_hash_table_find_iter() 112 if (!ht->compare(item->key, key)) in util_hash_table_find_iter() 127 struct util_hash_table_item *item; in util_hash_table_find_item() local 131 item = (struct util_hash_table_item *)cso_hash_iter_data(iter); in util_hash_table_find_item() 132 if (!ht->compare(item->key, key)) in util_hash_table_find_item() 133 return item; in util_hash_table_find_item() 147 struct util_hash_table_item *item; in util_hash_table_set() local 156 item = util_hash_table_find_item(ht, key, key_hash); in util_hash_table_set() 157 if (item) { in util_hash_table_set() [all …]
|
/external/lzma/CPP/Windows/Control/ |
D | ListView.cpp | 25 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/cldr/tools/java/org/unicode/cldr/util/ |
D | Visitor.java | 18 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/ipsec-tools/src/racoon/ |
D | isakmp_frag.c | 183 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/ |
D | darray.h | 34 #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/ |
D | dependencies.py | 77 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/ |
D | menu.c | 57 struct menu_item *item; in menu_items_iter() local 61 item = list_entry(pos, struct menu_item, list); in menu_items_iter() 63 ret = callback(m, item, extra); in menu_items_iter() 78 struct menu_item *item, in menu_item_print() argument 82 puts(item->key); in menu_item_print() 85 m->item_data_print(item->data); in menu_item_print() 96 struct menu_item *item, in menu_item_destroy() argument 99 if (item->key) in menu_item_destroy() 100 free(item->key); in menu_item_destroy() 102 free(item); in menu_item_destroy() [all …]
|