Home
last modified time | relevance | path

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

123

/device/linaro/dragonboard/shared/utils/tqftpserv/
Dlist.h61 static inline void list_add(struct list_head *list, struct list_head *item) in list_add() argument
65 item->next = list; in list_add()
66 item->prev = prev; in list_add()
68 prev->next = list->prev = item; in list_add()
71 static inline void list_del(struct list_head *item) in list_del() argument
73 item->prev->next = item->next; in list_del()
74 item->next->prev = item->prev; in list_del()
77 #define list_for_each(item, list) \ argument
78 for (item = (list)->next; item != list; item = item->next)
80 #define list_for_each_safe(item, next, list) \ argument
[all …]
/device/linaro/dragonboard/shared/utils/qrtr/src/
Dlist.h39 static inline void list_append(struct list *list, struct list_item *item) in list_append() argument
41 item->next = 0; in list_append()
42 item->prev = list->tail; in list_append()
44 list->tail->next = item; in list_append()
46 list->head = item; in list_append()
47 list->tail = item; in list_append()
50 static inline void list_prepend(struct list *list, struct list_item *item) in list_prepend() argument
52 item->prev = 0; in list_prepend()
53 item->next = list->head; in list_prepend()
55 list->tail = item; in list_prepend()
[all …]
Dmap.c31 struct map_item *item; member
47 if (!map->data[i].item) in map_clear()
49 if (map->data[i].item != &deleted) in map_clear()
50 (* release)(map->data[i].item); in map_clear()
51 map->data[i].item = NULL; in map_clear()
76 if (!e->item || e->item == &deleted) { in map_hash()
80 if (e->item->key == key) in map_hash()
102 if (map->data[rc].item == &deleted) in map_reput()
105 *old = map->data[rc].item; in map_reput()
107 map->data[rc].item = value; in map_reput()
[all …]
/device/linaro/dragonboard/shared/utils/rmtfs/
Dqmi_tlv.c94 struct qmi_tlv_item *item; in qmi_tlv_get_item() local
103 item = pkt_data + offset; in qmi_tlv_get_item()
104 if (item->key == id) in qmi_tlv_get_item()
107 offset += sizeof(struct qmi_tlv_item) + item->len; in qmi_tlv_get_item()
114 struct qmi_tlv_item *item; in qmi_tlv_get() local
116 item = qmi_tlv_get_item(tlv, id); in qmi_tlv_get()
117 if (!item) in qmi_tlv_get()
120 *len = item->len; in qmi_tlv_get()
121 return item->data; in qmi_tlv_get()
126 struct qmi_tlv_item *item; in qmi_tlv_get_array() local
[all …]
/device/google/contexthub/firmware/os/inc/
Dlist.h41 static inline void list_add_tail(struct link_t *list, struct link_t *item) in list_add_tail() argument
46 item->prev = list->prev; in list_add_tail()
47 item->next = list; in list_add_tail()
48 list->prev->next = item; in list_add_tail()
49 list->prev = item; in list_add_tail()
52 static inline void list_delete(struct link_t *item) in list_delete() argument
54 item->prev->next = item->next; in list_delete()
55 item->next->prev = item->prev; in list_delete()
56 item->next = item->prev = item; in list_delete()
/device/google/contexthub/firmware/os/core/
DeventQ.c39 struct EvtList item; member
90 struct EvtRecord * rec = container_of(pos, struct EvtRecord, item); in evtQueueFree()
105 struct EvtList *item = NULL, *a, *b; in evtQueueEnqueue() local
117 rec = container_of(pos, struct EvtRecord, item); in evtQueueEnqueue()
122 item = pos; in evtQueueEnqueue()
126 item = &rec->item; in evtQueueEnqueue()
129 if (!item) in evtQueueEnqueue()
132 item->prev = item->next = NULL; in evtQueueEnqueue()
148 a->next = item; in evtQueueEnqueue()
149 item->prev = a; in evtQueueEnqueue()
[all …]
/device/google/atv/TvSampleLeanbackLauncher/src/androidTest/java/com/example/sampleleanbacklauncher/apps/
DLaunchItemTest.java59 final LaunchItem item = in testGetIntent() local
62 assertNotNull(item.getIntent()); in testGetIntent()
63 assertNotNull(item.getIntent().getComponent()); in testGetIntent()
64 assertEquals("com.example.testPackage", item.getIntent().getComponent().getPackageName()); in testGetIntent()
65 assertEquals("com.example.testName", item.getIntent().getComponent().getClassName()); in testGetIntent()
70 final LaunchItem item = createTestLaunchItem("", "", null, null, "A label", 0); in testCompareTo() local
74 assertTrue("priorityItem should sort before item", item.compareTo(priorityItem) > 0); in testCompareTo()
75 assertTrue("alphaItem should sort after item", item.compareTo(alphaItem) < 0); in testCompareTo()
76 assertTrue("item should sort equal to item", item.compareTo(item) == 0); in testCompareTo()
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/apps/
DLaunchItemsManager.java353 for (final LaunchItem item : mAppItems) { in invalidateListsForPackage()
354 if (TextUtils.equals(item.getIntent().getComponent().getPackageName(), packageName)) { in invalidateListsForPackage()
361 for (final LaunchItem item : mGameItems) { in invalidateListsForPackage()
362 if (TextUtils.equals(item.getIntent().getComponent().getPackageName(), in invalidateListsForPackage()
369 for (final LaunchItem item : mSettingsItems) { in invalidateListsForPackage()
370 if (TextUtils.equals(item.getIntent().getPackage(), packageName)) { in invalidateListsForPackage()
414 public void notifyItemLaunched(LaunchItem item) { in notifyItemLaunched() argument
416 final ComponentName component = item.getIntent().getComponent(); in notifyItemLaunched()
428 if (mAppItems.contains(item)) { in notifyItemLaunched()
430 } else if (mGameItems.contains(item)) { in notifyItemLaunched()
[all …]
DAppFragment.java186 final LaunchItem item = items.get(i); in updateList() local
187 if (newItems.contains(item)) { in updateList()
190 items.remove(item); in updateList()
206 final LaunchItem item = launchItems.get(adapterPosition); in onItemClicked() local
208 startActivity(item.getIntent()); in onItemClicked()
210 mLaunchItemsManager.notifyItemLaunched(item); in onItemClicked()
213 Log.e(TAG, "Exception launching intent " + item.getIntent(), e); in onItemClicked()
/device/amlogic/yukawa/bootloader/scripts/
Dcollect-khadas_binaries-git-refboard.sh76 for item in $BIN_LIST
78 BIN=$(echo $item)
79 DIR1=$TMP_GIT/u-boot/$(basename --suffix=.bin $item)/bin/
80 DIR2=$TMP_GIT/u-boot/$(basename --suffix=.img $item)_1.3/bin/
81 DIR21=$TMP_GIT/u-boot/$(basename --suffix=.bin $item)_1.3/bin/
82 DIR22=$TMP_GIT/u-boot/$(basename --suffix=.img $item)_1.3/bin/
/device/google/cuttlefish/guest/hals/identity/common/
DIdentityCredential.cpp48 auto [item, _, message] = cppbor::parse(credentialData_); in initialize()
49 if (item == nullptr) { in initialize()
54 const cppbor::Array* arrayItem = item->asArray(); in initialize()
236 auto [item, _, message] = cppbor::parse(sessionTranscript); in startRetrieval()
237 if (item == nullptr) { in startRetrieval()
242 sessionTranscriptItem = std::move(item); in startRetrieval()
450 auto [item, _, message] = cppbor::parse(itemsRequest); in startRetrieval()
451 if (item == nullptr) { in startRetrieval()
458 const cppbor::Map* map = item->asMap(); in startRetrieval()
679 for (const RequestDataItem& item : itemsToInclude) { in calcDeviceNameSpacesSize() local
[all …]
DWritableIdentityCredential.cpp328 auto [item, _, message] = cppbor::parse(entryBytes_); in addEntryValue()
329 if (item == nullptr) { in addEntryValue()
336 entryMap.add("value", std::move(item)); in addEntryValue()
/device/generic/goldfish/dhcp/common/include/
Dmessage.h116 for (const T& item : items) { in addOption() local
117 memcpy(opts, &item, sizeof(item)); in addOption()
118 opts += sizeof(item); in addOption()
/device/google/cuttlefish/common/libs/net/
Dnetlink_request_test.cpp40 for (size_t item = 0; item < length;) { in Dump() local
45 *result_listener << std::hex << +data[item] << " "; in Dump()
46 ++item; in Dump()
47 } while (item & 0xf); in Dump()
/device/google/cuttlefish/host/frontend/webrtc/
Dcvd_video_frame_buffer.cpp49 void BackToPool(std::vector<uint8_t> item) { in BackToPool() argument
51 pool.insert({item.size(), std::move(item)}); in BackToPool()
/device/google/cuttlefish/host/commands/modem_simulator/
Dnetwork_service.cpp218 XMLElement *item = stringArray->FirstChildElement("item"); in InitializeSimOperator() local
219 while (item) { in InitializeSimOperator()
220 const XMLAttribute *attr_numeric = item->FindAttribute("numeric"); in InitializeSimOperator()
225 item = item->NextSiblingElement("item"); in InitializeSimOperator()
227 if (item) { in InitializeSimOperator()
228 std::string names = item->GetText(); in InitializeSimOperator()
/device/google/contexthub/contexthubhal/test/
Dmain.cpp113 auto item = &mHubArray[i]; in CHub() local
114 mHubs[item->hub_id] = std::unique_ptr<Client>(new Client(item, this)); in CHub()
/device/google/trout/hal/sensors/2.1/tests/
DIioUtilsTest.cpp79 for (const auto& item : content) { in writeFile() local
81 ss << item; in writeFile()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/
DTransportManager.java145 for (Pair<Packet, CompletableFuture<Transport.Result>> item : mQueue) { in shutdownImpl()
146 item.second.complete(RESULT_FAILURE_TIMED_OUT); in shutdownImpl()
/device/google/redbull-kernel/sm7250/kernel-headers/sound/
Dasound.h732 unsigned int item; member
758 unsigned int item[128]; member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dasound.h736 unsigned int item; member
762 unsigned int item[128]; member
/device/google/sunfish-kernel/sm7150/kernel-headers/sound/
Dasound.h736 unsigned int item; member
762 unsigned int item[128]; member
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dasound.h915 unsigned int item; /* W: item number */ member
942 unsigned int item[128]; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/sound/
Dasound.h924 unsigned int item; /* W: item number */ member
951 unsigned int item[128]; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/sound/
Dasound.h915 unsigned int item; /* W: item number */ member
942 unsigned int item[128]; member

123