Home
last modified time | relevance | path

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

123456

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_CmdQueue.cpp81 void MessageQueue::enqueue(Message *item) in enqueue() argument
85 Tail = item; in enqueue()
86 Head = item; in enqueue()
93 Head->setnext(item); in enqueue()
97 Tail->setnext(item); in enqueue()
99 Tail = item; in enqueue()
124 Message *item = NULL; in Process() local
151 item = MsgQueueInternal->dequeue(); in Process()
152 if(item == NULL) in Process()
154 item = MsgQueueExternal->dequeue(); in Process()
[all …]
DIPACM_EvtDispatcher.cpp58 Message *item = NULL; in PostEvt() local
77 item = new Message(); in PostEvt()
78 if(item == NULL) in PostEvt()
84 item->evt.callback_ptr = IPACM_EvtDispatcher::ProcessEvt; in PostEvt()
85 memcpy(&item->evt.data, data, sizeof(ipacm_cmd_q_data)); in PostEvt()
94 MsgQueue->enqueue(item); in PostEvt()
95 IPACMDBG("Enqueued item %p\n", item); in PostEvt()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_CmdQueue.cpp81 void MessageQueue::enqueue(Message *item) in enqueue() argument
85 Tail = item; in enqueue()
86 Head = item; in enqueue()
93 Head->setnext(item); in enqueue()
97 Tail->setnext(item); in enqueue()
99 Tail = item; in enqueue()
124 Message *item = NULL; in Process() local
152 item = MsgQueueInternal->dequeue(); in Process()
153 if(item == NULL) in Process()
155 item = MsgQueueExternal->dequeue(); in Process()
[all …]
DIPACM_EvtDispatcher.cpp58 Message *item = NULL; in PostEvt() local
77 item = new Message(); in PostEvt()
78 if(item == NULL) in PostEvt()
84 item->evt.callback_ptr = IPACM_EvtDispatcher::ProcessEvt; in PostEvt()
85 memcpy(&item->evt.data, data, sizeof(ipacm_cmd_q_data)); in PostEvt()
94 MsgQueue->enqueue(item); in PostEvt()
95 IPACMDBG("Enqueued item %pK\n", item); in PostEvt()
/hardware/nxp/keymint/KM200/
DCborConverter.h47 bool getUint64(const std::unique_ptr<Item>& item, const uint32_t pos, T& value);
49 template <typename T> bool getUint64(const std::unique_ptr<Item>& item, T& value);
51 bool getSharedSecretParameters(const std::unique_ptr<Item>& item, const uint32_t pos,
53 bool getBinaryArray(const std::unique_ptr<Item>& item, const uint32_t pos, string& value);
55 bool getBinaryArray(const std::unique_ptr<Item>& item, const uint32_t pos,
58 bool getHardwareAuthToken(const std::unique_ptr<Item>& item, const uint32_t pos,
61 bool getKeyParameters(const std::unique_ptr<Item>& item, const uint32_t pos,
72 bool getTimeStampToken(const std::unique_ptr<Item>& item, const uint32_t pos,
75 bool getKeyCharacteristics(const std::unique_ptr<Item>& item, const uint32_t pos,
78 bool getCertificateChain(const std::unique_ptr<Item>& item, const uint32_t pos,
[all …]
DJavacardKeyMintDevice.cpp70 auto [item, err] = card_->sendRequest(Instruction::INS_GET_HW_INFO_CMD); in getHardwareInfo()
73 if (err != KM_ERROR_OK || !cbor_.getUint64<uint32_t>(item, 1, version) || in getHardwareInfo()
74 !cbor_.getUint64<uint32_t>(item, 2, secLevel) || in getHardwareInfo()
75 !cbor_.getBinaryArray(item, 3, info->keyMintName) || in getHardwareInfo()
76 !cbor_.getBinaryArray(item, 4, info->keyMintAuthorName) || in getHardwareInfo()
77 !cbor_.getUint64<uint64_t>(item, 5, tsRequired)) { in getHardwareInfo()
98 auto [item, err] = card_->sendRequest(Instruction::INS_GENERATE_KEY_CMD, array); in generateKey()
103 if (!cbor_.getBinaryArray(item, 1, creationResult->keyBlob) || in generateKey()
104 !cbor_.getKeyCharacteristics(item, 2, creationResult->keyCharacteristics) || in generateKey()
105 !cbor_.getCertificateChain(item, 3, creationResult->certificateChain)) { in generateKey()
[all …]
DCborConverter.cpp110 bool CborConverter::getKeyCharacteristics(const unique_ptr<Item>& item, const uint32_t pos, in getKeyCharacteristics() argument
113 getItemAtPos(item, pos, arrayItem); in getKeyCharacteristics()
186 std::unique_ptr<Item> item = std::move((*array)[i]); in getKeyParameter() local
187 if (!getUint64(item, value)) { in getKeyParameter()
201 std::unique_ptr<Item> item = std::move((*array)[i]); in getKeyParameter() local
202 if (!getUint64(item, keyParam.long_integer)) { in getKeyParameter()
245 bool CborConverter::getCertificateChain(const std::unique_ptr<Item>& item, const uint32_t pos, in getCertificateChain() argument
248 getItemAtPos(item, pos, arrayItem); in getCertificateChain()
260 bool CborConverter::getMultiBinaryArray(const unique_ptr<Item>& item, const uint32_t pos, in getMultiBinaryArray() argument
265 getItemAtPos(item, pos, arrayItem); in getMultiBinaryArray()
[all …]
DJavacardRemotelyProvisionedComponentDevice.cpp107 auto [item, err] = card_->sendRequest(Instruction::INS_GET_RKP_HARDWARE_INFO); in getHardwareInfo()
111 !cbor_.getUint64<uint32_t>(item, 1, versionNumber) || in getHardwareInfo()
112 !cbor_.getBinaryArray(item, 2, info->rpcAuthorName ) || in getHardwareInfo()
113 !cbor_.getUint64<uint32_t>(item, 3, supportedEekCurve)) { in getHardwareInfo()
122 if (!cbor_.getBinaryArray(item, 4, uniqueId)) { in getHardwareInfo()
140 auto [item, err] = card_->sendRequest(Instruction::INS_GENERATE_RKP_KEY_CMD, array); in generateEcdsaP256KeyPair()
145 if (!cbor_.getBinaryArray(item, 1, macedPublicKey->macedKey) || in generateEcdsaP256KeyPair()
146 !cbor_.getBinaryArray(item, 2, *privateKeyHandle)) { in generateEcdsaP256KeyPair()
217 auto [item, err] = card_->sendRequest(Instruction::INS_FINISH_SEND_DATA_CMD); in finishSendData()
222 if (!cbor_.getBinaryArray(item, 1, decodedKeysToSignMac) || in finishSendData()
[all …]
/hardware/google/aemu/base/include/aemu/base/containers/
DEntityManager.h56 using IteratorFunc = std::function<void(bool live, EntityHandle h, Item& item)>;
57 using ConstIteratorFunc = std::function<void(bool live, EntityHandle h, const Item& item)>;
115 Item item; member
128 EntityHandle add(const Item& item, size_t type) { in add() argument
163 mEntries[newIndex].item = item; in add()
175 EntityHandle addFixed(EntityHandle fixedHandle, const Item& item, size_t type) { in addFixed() argument
231 mEntries[newIndex].item = item; in addFixed()
314 return &entry.item; in get()
324 return &entry->item; in get_const()
340 auto& item = entry.item; in forEachEntry() local
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/containers/
DEntityManager.h78 using IteratorFunc = std::function<void(bool live, EntityHandle h, Item& item)>;
79 using ConstIteratorFunc = std::function<void(bool live, EntityHandle h, const Item& item)>;
130 Item item;
143 EntityHandle add(const Item& item, size_t type) {
178 mEntries[newIndex].item = item;
190 EntityHandle addFixed(EntityHandle fixedHandle, const Item& item, size_t type) {
246 mEntries[newIndex].item = item;
326 return &entry.item;
336 return &entry->item;
352 auto& item = entry.item;
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dcam_list.h54 static inline void cam_list_add_tail_node(struct cam_list *item, in cam_list_add_tail_node() argument
59 head->prev = item; in cam_list_add_tail_node()
60 item->next = head; in cam_list_add_tail_node()
61 item->prev = prev; in cam_list_add_tail_node()
62 prev->next = item; in cam_list_add_tail_node()
65 static inline void cam_list_insert_before_node(struct cam_list *item, in cam_list_insert_before_node() argument
68 item->next = node; in cam_list_insert_before_node()
69 item->prev = node->prev; in cam_list_insert_before_node()
70 item->prev->next = item; in cam_list_insert_before_node()
71 node->prev = item; in cam_list_insert_before_node()
/hardware/google/gfxstream/host/vulkan/
DVkReconstruction.cpp73 const HandleWithStateReconstruction& item) { in save() argument
75 const auto& parents = item.states[state].parentHandles; in save()
91 const auto& item = mHandleReconstructions.get(handle.first)->states[handle.second]; in save() local
92 for (const auto& childHandle : item.childHandles) { in save()
105 auto item = mHandleReconstructions.get(handle.first)->states[handle.second]; in save() local
106 for (uint64_t apiRef : item.apiRefs) { in save()
124 auto item = mApiTrace.get(apiHandle); in save() local
127 totalApiTraceSize += item->traceBytes; // the actual trace in save()
137 auto item = mApiTrace.get(apiHandle); in save() local
138 for (auto createdHandle : item->createdHandles) { in save()
[all …]
/hardware/nxp/keymint/KM300/
DCborConverter.h64 std::optional<uint64_t> getUint64(const unique_ptr<Item>& item);
66 std::optional<uint64_t> getUint64(const unique_ptr<Item>& item, const uint32_t pos);
69 getSharedSecretParameters(const std::unique_ptr<Item>& item, const uint32_t pos);
71 std::optional<string> getByteArrayStr(const unique_ptr<Item>& item, const uint32_t pos);
73 std::optional<string> getTextStr(const unique_ptr<Item>& item, const uint32_t pos);
75 std::optional<std::vector<uint8_t>> getByteArrayVec(const unique_ptr<Item>& item,
78 std::optional<vector<KeyParameter>> getKeyParameters(const unique_ptr<Item>& item,
89 std::optional<TimeStampToken> getTimeStampToken(const std::unique_ptr<Item>& item,
93 getKeyCharacteristics(const std::unique_ptr<Item>& item, const uint32_t pos);
95 std::optional<vector<Certificate>> getCertificateChain(const std::unique_ptr<Item>& item,
[all …]
DJavacardRemotelyProvisionedComponentDevice.cpp113 auto [item, err] = card_->sendRequest(Instruction::INS_GET_RKP_HARDWARE_INFO); in getHardwareInfo()
119 if (err != KM_ERROR_OK || !(optVersionNumber = cbor_.getUint64(item, 1)) || in getHardwareInfo()
120 !(optRpcAuthorName = cbor_.getByteArrayStr(item, 2)) || in getHardwareInfo()
121 !(optSupportedEekCurve = cbor_.getUint64(item, 3)) || in getHardwareInfo()
122 !(optUniqueId = cbor_.getByteArrayStr(item, 4)) || in getHardwareInfo()
123 !(optMinSupportedKeysInCsr = cbor_.getUint64(item, 5))) { in getHardwareInfo()
141 auto [item, err] = card_->sendRequest(Instruction::INS_GENERATE_RKP_KEY_CMD); in generateEcdsaP256KeyPair()
148 if (!(optMacedKey = cbor_.getByteArrayVec(item, 1)) || in generateEcdsaP256KeyPair()
149 !(optPKeyHandle = cbor_.getByteArrayVec(item, 2))) { in generateEcdsaP256KeyPair()
166 auto [item, err] = card_->sendRequest(Instruction::INS_BEGIN_SEND_DATA_CMD, array); in beginSendData()
[all …]
DJavacardKeyMintDevice.cpp79 auto [item, err] = card_->sendRequest(Instruction::INS_GET_HW_INFO_CMD); in getHardwareInfo()
85 if (err != KM_ERROR_OK || !(optVersion = cbor_.getUint64(item, 1)) || in getHardwareInfo()
86 !(optSecLevel = cbor_.getUint64(item, 2)) || in getHardwareInfo()
87 !(optKeyMintName = cbor_.getByteArrayStr(item, 3)) || in getHardwareInfo()
88 !(optKeyMintAuthorName = cbor_.getByteArrayStr(item, 4)) || in getHardwareInfo()
89 !(optTsRequired = cbor_.getUint64(item, 5))) { in getHardwareInfo()
112 auto [item, err] = card_->sendRequest(Instruction::INS_GENERATE_KEY_CMD, array); in generateKey()
117 auto optKeyBlob = cbor_.getByteArrayVec(item, 1); in generateKey()
118 auto optKeyChars = cbor_.getKeyCharacteristics(item, 2); in generateKey()
119 auto optCertChain = cbor_.getCertificateChain(item, 3); in generateKey()
[all …]
DCborConverter.cpp171 CborConverter::getKeyCharacteristics(const unique_ptr<Item>& item, const uint32_t pos) { in getKeyCharacteristics() argument
173 auto arrayItem = getItemAtPos(item, pos); in getKeyCharacteristics()
264 const std::unique_ptr<Item>& item = array->get(i); in getKeyParameter() local
265 if (!(optValue = getUint64(item))) { in getKeyParameter()
280 const std::unique_ptr<Item>& item = array->get(i); in getKeyParameter() local
281 if (!(optValue = getUint64(item))) { in getKeyParameter()
330 CborConverter::getCertificateChain(const std::unique_ptr<Item>& item, const uint32_t pos) { in getCertificateChain() argument
332 auto arrayItem = getItemAtPos(item, pos); in getCertificateChain()
346 std::optional<string> CborConverter::getTextStr(const unique_ptr<Item>& item, const uint32_t pos) { in getTextStr() argument
347 auto textStrItem = getItemAtPos(item, pos); in getTextStr()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Dlist.h53 static inline void list_inithead(struct list_head *item) in list_inithead() argument
55 item->prev = item; in list_inithead()
56 item->next = item; in list_inithead()
65 static inline void list_add(struct list_head *item, struct list_head *list) in list_add() argument
67 item->prev = list; in list_add()
68 item->next = list->next; in list_add()
69 list->next->prev = item; in list_add()
70 list->next = item; in list_add()
79 static inline void list_addtail(struct list_head *item, struct list_head *list) in list_addtail() argument
81 item->next = list; in list_addtail()
[all …]
/hardware/google/aemu/host-common/
Dfeature_control.cpp39 #define FEATURE_CONTROL_ITEM(item, idx) { kFeature_##item, false }, argument
86 #define FEATURE_CONTROL_ITEM(item, idx) { kFeature_##item, #item }, in feature_name() argument
109 #define FEATURE_CONTROL_ITEM(item, idx) { #item, kFeature_##item }, in feature_from_name() argument
/hardware/google/aemu/host-common/include/host-common/
DFeatures.h21 #define FEATURE_CONTROL_ITEM(item, idx) item = idx, argument
30 #define FEATURE_CONTROL_ITEM(item, idx) item, argument
/hardware/google/aemu/base/include/aemu/base/threads/
DWorkerThread.h106 std::future<void> enqueue(Item&& item) { in enqueue() argument
107 return enqueueImpl(Command(std::move(item))); in enqueue()
149 for (Command& item : todo) { in worker()
150 if (!shouldStop && item.mWorkItem) { in worker()
152 shouldStop = mProcessor(std::move(item.mWorkItem.value())) == Result::Stop; in worker()
154 item.mCompletedPromise.set_value(); in worker()
170 for (Command& item : mQueue) { in setFinishedAndDrainTasks()
171 item.mCompletedPromise.set_value(); in setFinishedAndDrainTasks()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DSamplerData.cpp44 const std::pair<const GLenum, GLuint>& item) { in onSave() argument
45 stream->putBe32(item.first); in onSave()
46 stream->putBe32(item.second); in onSave()
50 const std::pair<const GLenum, GLfloat>& item) { in onSave() argument
51 stream->putBe32(item.first); in onSave()
52 stream->putFloat(item.second); in onSave()
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/
DDisplayStateResidencyProvider.cpp83 for (const auto& item : mUpdatedStatistics) { in mapStatistics() local
85 item.first.toString().c_str(), item.second.toString().c_str()); in mapStatistics()
89 for (const auto& item : mUpdatedStatistics) { in mapStatistics() local
90 mStatistics[item.first] = item.second; in mapStatistics()
93 for (const auto& item : mStatistics) { in mapStatistics() local
94 const auto& displayPresentProfile = item.first; in mapStatistics()
99 mRemappedStatistics[powerStatsPresentProfile] += item.second; in mapStatistics()
114 mRemappedStatistics[powerStatsPresentProfile] += item.second; in mapStatistics()
119 const auto& value = item.second; in mapStatistics()
230 [&](const std::pair<std::string, PowerStatsPresentProfile>& item) { in generatePowerStatsStates() argument
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/
Dvuid-expander.rb15 sidebar.find_by(context: :list_item) do |item|
17 original_text = item.instance_variable_get(:@text)
19 item.text = original_text.gsub(/(\[\[(VUID-[^\]]*)\]\])/, "\\1 [vuid]#\\2# +\n")
/hardware/google/graphics/common/libmemtrack/
Ddmabuf.cpp76 auto elem = find_if(begin(buffers), end(buffers), [id, len] (auto &item) { in complete_dmabuf_footprint() argument
77 return (item.id == id) && (item.size == len); in complete_dmabuf_footprint()
118 for (auto item: buffers) { in dmabuf_memtrack_get_memory() local
120 if (item.type == available_flags[i]) { in dmabuf_memtrack_get_memory()
121 records[i].size_in_bytes += item.pss; in dmabuf_memtrack_get_memory()
/hardware/google/aemu/base/include/aemu/base/testing/
DTestNetworkInterfaceNameResolver.h40 for (const auto& item : mEntries) { in queryInterfaceName() local
41 if (item.first == str) { in queryInterfaceName()
42 return item.second; in queryInterfaceName()

123456