/hardware/samsung/nfc/halimpl/osi/ |
D | osi_main.cc | 31 int32_t index; in OSI_init() local 39 for (index = 0; index < OSI_MAX_TASK; index++) { in OSI_init() 40 osi_info.task[index].state = OSI_FREE; in OSI_init() 45 for (index = 0; index < OSI_MAX_MEM_POOL; index++) { in OSI_init() 47 osi_info.mem[index] = (tOSI_MEM_HANDLER)malloc(OSI_MEM_POOL_SIZE); in OSI_init() 48 if (osi_info.mem[index] == NULL) { in OSI_init() 50 index, OSI_MAX_MEM_POOL); in OSI_init() 51 osi_info.mem_max_cnt = index; in OSI_init() 54 osi_info.mem[index]->state = OSI_FREE; in OSI_init() 56 osi_info.mem[index].state = OSI_FREE; in OSI_init() [all …]
|
D | osi_timer.cc | 38 int index; in OSI_timer_allocate() local 41 for (index = 0; index < OSI_MAX_TIMER; index++) { in OSI_timer_allocate() 42 if (osi_info.timer[index].state == OSI_FREE) { in OSI_timer_allocate() 44 free_timer = (tOSI_TIMER_HANDLER)&osi_info.timer[index]; in OSI_timer_allocate() 46 if ((char const*)osi_info.timer[index].name == NULL) continue; in OSI_timer_allocate() 48 if (strcmp((char const*)osi_info.timer[index].name, in OSI_timer_allocate() 51 timer_name, index); in OSI_timer_allocate() 165 int index; in OSI_timer_get_handler() local 170 for (index = 0; index < OSI_MAX_TIMER; index++) { in OSI_timer_get_handler() 171 if ((char const*)osi_info.timer[index].name == NULL) continue; in OSI_timer_get_handler() [all …]
|
D | osi_memory.cc | 36 int index, err_cnt = 3; in OSI_mem_get() local 48 for (index = 0; index < osi_info.mem_max_cnt; index++) { in OSI_mem_get() 50 if (osi_info.mem[index]->state == OSI_FREE) in OSI_mem_get() 51 free_mem = (tOSI_MEM_HANDLER)osi_info.mem[index]; in OSI_mem_get() 53 if (osi_info.mem[index].state == OSI_FREE) in OSI_mem_get() 54 free_mem = (tOSI_MEM_HANDLER)&osi_info.mem[index]; in OSI_mem_get() 64 free_mem = osi_info.mem[index] = in OSI_mem_get() 66 if (osi_info.mem[index] != NULL) { in OSI_mem_get() 67 osi_info.mem[index]->state = OSI_FREE; in OSI_mem_get() 99 int index; in OSI_queue_allocate() local [all …]
|
D | osi_task.cc | 48 int index; in OSI_task_allocate() local 52 for (index = 0; index < OSI_MAX_TASK; index++) { in OSI_task_allocate() 53 if (osi_info.task[index].state == OSI_FREE) { in OSI_task_allocate() 55 free_task = (tOSI_TASK_HANDLER)&osi_info.task[index]; in OSI_task_allocate() 57 if (osi_info.task[index].name == NULL) continue; in OSI_task_allocate() 60 if (strcmp((char const*)osi_info.task[index].name, in OSI_task_allocate() 63 index); in OSI_task_allocate() 169 int index; in OSI_task_get_handler() local 174 for (index = 0; index < OSI_MAX_TASK; index++) { in OSI_task_get_handler() 175 if ((char const*)osi_info.task[index].name == NULL) continue; in OSI_task_get_handler() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 106 int QCamera3Memory::cacheOpsInternal(uint32_t index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument 115 if (MM_CAMERA_MAX_NUM_FRAMES <= index) { in cacheOpsInternal() 117 index, MM_CAMERA_MAX_NUM_FRAMES); in cacheOpsInternal() 121 if (0 == mMemInfo[index].handle) { in cacheOpsInternal() 122 LOGE("Buffer at %d not registered", index); in cacheOpsInternal() 129 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal() 130 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal() 131 cache_inv_data.length = (unsigned int)mMemInfo[index].size; in cacheOpsInternal() 156 int QCamera3Memory::getFd(uint32_t index) in getFd() argument 160 if (MM_CAMERA_MAX_NUM_FRAMES <= index) { in getFd() [all …]
|
D | QCamera3Mem.h | 52 int cleanCache(uint32_t index) in cleanCache() argument 54 return cacheOps(index, ION_IOC_CLEAN_CACHES); in cleanCache() 56 int invalidateCache(uint32_t index) in invalidateCache() argument 58 return cacheOps(index, ION_IOC_INV_CACHES); in invalidateCache() 60 int cleanInvalidateCache(uint32_t index) in cleanInvalidateCache() argument 62 return cacheOps(index, ION_IOC_CLEAN_INV_CACHES); in cleanInvalidateCache() 64 int getFd(uint32_t index); 65 ssize_t getSize(uint32_t index); 68 virtual int cacheOps(uint32_t index, unsigned int cmd) = 0; 70 virtual void *getPtr(uint32_t index) = 0; [all …]
|
D | QCamera3StreamMem.cpp | 123 int QCamera3StreamMem::getFd(uint32_t index) in getFd() argument 127 if (index < mMaxHeapBuffers) in getFd() 128 return mHeapMem.getFd(index); in getFd() 130 return mGrallocMem.getFd(index); in getFd() 143 ssize_t QCamera3StreamMem::getSize(uint32_t index) in getSize() argument 147 if (index < mMaxHeapBuffers) in getSize() 148 return mHeapMem.getSize(index); in getSize() 150 return mGrallocMem.getSize(index); in getSize() 165 int QCamera3StreamMem::invalidateCache(uint32_t index) in invalidateCache() argument 169 if (index < mMaxHeapBuffers) in invalidateCache() [all …]
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlay.h | 92 void validate(int index); 111 static void setUse(int index); 112 static void resetUse(int index); 113 static bool isUsed(int index); 114 static bool isNotUsed(int index); 117 static void setAllocation(int index); 118 static void resetAllocation(int index); 119 static bool isAllocated(int index); 120 static bool isNotAllocated(int index); 153 inline void Overlay::validate(int index) { in validate() argument [all …]
|
D | overlay.cpp | 103 int index = (int)dest; in nextPipe() local 106 mPipeBook[index].mDisplay = dpy; in nextPipe() 107 if(not mPipeBook[index].valid()) { in nextPipe() 108 mPipeBook[index].mPipe = new GenericPipe(dpy); in nextPipe() 124 int index = (int)dest; in commit() local 125 validate(index); in commit() 127 if(mPipeBook[index].mPipe->commit()) { in commit() 132 int dpy = mPipeBook[index].mDisplay; in commit() 142 int index = (int)dest; in queueBuffer() local 144 validate(index); in queueBuffer() [all …]
|
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/ |
D | phNxpEse_Apdu_Api.cpp | 138 uint32_t index = 0; in phNxpEse_7816_FrameCmd() local 203 index = 0; in phNxpEse_7816_FrameCmd() 205 *(pbuff + index) = pCmd->cla; in phNxpEse_7816_FrameCmd() 206 index++; in phNxpEse_7816_FrameCmd() 208 *(pbuff + index) = pCmd->ins; in phNxpEse_7816_FrameCmd() 209 index++; in phNxpEse_7816_FrameCmd() 211 *(pbuff + index) = pCmd->p1; in phNxpEse_7816_FrameCmd() 212 index++; in phNxpEse_7816_FrameCmd() 214 *(pbuff + index) = pCmd->p2; in phNxpEse_7816_FrameCmd() 215 index++; in phNxpEse_7816_FrameCmd() [all …]
|
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/ |
D | matrix_access.inl | 10 length_t index, argument 14 assert(index >= 0 && index < m[0].length()); 18 Result[i][index] = x[i]; 26 length_t index argument 29 assert(index >= 0 && index < m[0].length()); 33 Result[i] = m[i][index]; 41 length_t index, argument 45 assert(index >= 0 && index < m.length()); 48 Result[index] = x; 56 length_t index argument [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
D | IPACM_Config.h | 153 inline void increaseFltRuleCount(int index, ipa_ip_type iptype, int increment) in increaseFltRuleCount() argument 155 if((index >= IPA_CLIENT_CONS - IPA_CLIENT_PROD) || (index < 0)) in increaseFltRuleCount() 157 IPACMERR("Index is out of range: %d.\n", index); in increaseFltRuleCount() 162 flt_rule_count_v4[index] += increment; in increaseFltRuleCount() 163 IPACMDBG_H("Now num of v4 flt rules on client %d is %d.\n", index, flt_rule_count_v4[index]); in increaseFltRuleCount() 167 flt_rule_count_v6[index] += increment; in increaseFltRuleCount() 168 IPACMDBG_H("Now num of v6 flt rules on client %d is %d.\n", index, flt_rule_count_v6[index]); in increaseFltRuleCount() 173 inline void decreaseFltRuleCount(int index, ipa_ip_type iptype, int decrement) in decreaseFltRuleCount() argument 175 if((index >= IPA_CLIENT_CONS - IPA_CLIENT_PROD) || (index < 0)) in decreaseFltRuleCount() 177 IPACMERR("Index is out of range: %d.\n", index); in decreaseFltRuleCount() [all …]
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsa_ucm.c | 110 int verb_index, list_size, index = 0; in snd_use_case_get_list() local 126 while(strncmp(uc_mgr->card_ctxt_ptr->verb_list[index], in snd_use_case_get_list() 128 ALOGV("Index:%d Verb:%s", index, in snd_use_case_get_list() 129 uc_mgr->card_ctxt_ptr->verb_list[index]); in snd_use_case_get_list() 130 index++; in snd_use_case_get_list() 134 return index; in snd_use_case_get_list() 144 verb_list[index].use_case_name, in snd_use_case_get_list() 145 (strlen(verb_list[index].use_case_name)+1))) { in snd_use_case_get_list() 146 index++; in snd_use_case_get_list() 148 verb_index = index; in snd_use_case_get_list() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Config.h | 160 inline void increaseFltRuleCount(int index, ipa_ip_type iptype, int increment) in increaseFltRuleCount() argument 162 if((index >= IPA_CLIENT_MAX) || (index < 0)) in increaseFltRuleCount() 164 IPACMERR("Index is out of range: %d.\n", index); in increaseFltRuleCount() 169 flt_rule_count_v4[index] += increment; in increaseFltRuleCount() 170 IPACMDBG_H("Now num of v4 flt rules on client %d is %d.\n", index, flt_rule_count_v4[index]); in increaseFltRuleCount() 174 flt_rule_count_v6[index] += increment; in increaseFltRuleCount() 175 IPACMDBG_H("Now num of v6 flt rules on client %d is %d.\n", index, flt_rule_count_v6[index]); in increaseFltRuleCount() 180 inline void decreaseFltRuleCount(int index, ipa_ip_type iptype, int decrement) in decreaseFltRuleCount() argument 182 if((index >= IPA_CLIENT_MAX) || (index < 0)) in decreaseFltRuleCount() 184 IPACMERR("Index is out of range: %d.\n", index); in decreaseFltRuleCount() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_worklist.h | 85 #define u_worklist_push_tail(w, block, index) \ argument 86 u_worklist_push_tail_index(w, &((block)->index)) 88 #define u_worklist_push_head(w, block, index) \ argument 89 u_worklist_push_head_index(w, &((block)->index)) 91 #define u_worklist_pop_head(w, entry_t, index) \ argument 92 container_of(u_worklist_pop_head_index(w), entry_t, index) 94 #define u_worklist_pop_tail(w, entry_t, index) \ argument 95 container_of(u_worklist_pop_tail_index(w), entry_t, index) 97 #define u_worklist_peek_head(w, entry_t, index) \ argument 98 container_of(u_worklist_peek_head_index(w), entry_t, index) [all …]
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vk_enum_string_helper.h | 1538 int index = 0; in string_VkAccessFlags() local 1542 ret.append(string_VkAccessFlagBits(static_cast<VkAccessFlagBits>(1U << index))); in string_VkAccessFlags() 1544 ++index; in string_VkAccessFlags() 1660 int index = 0; in string_VkImageAspectFlags() local 1664 … ret.append(string_VkImageAspectFlagBits(static_cast<VkImageAspectFlagBits>(1U << index))); in string_VkImageAspectFlags() 1666 ++index; in string_VkImageAspectFlags() 2425 int index = 0; in string_VkFormatFeatureFlags() local 2429 … ret.append(string_VkFormatFeatureFlagBits(static_cast<VkFormatFeatureFlagBits>(1U << index))); in string_VkFormatFeatureFlags() 2431 ++index; in string_VkFormatFeatureFlags() 2480 int index = 0; in string_VkImageCreateFlags() local [all …]
|
/hardware/google/aemu/base/include/aemu/base/containers/ |
D | HybridComponentManager.h | 35 void add(IndexType index, const Data& data) { in add() argument 36 uint64_t index_u64 = (uint64_t)index; in add() 41 mMap[index] = data; in add() 51 void remove(IndexType index) { in remove() argument 52 uint64_t index_u64 = (uint64_t)index; in remove() 57 mMap.erase(index); in remove() 61 Data* get(IndexType index) { in get() argument 62 uint64_t index_u64 = (uint64_t)index; in get() 67 return android::base::find(mMap, index); in get() 71 const Data* get_const(IndexType index) const { in get_const() argument [all …]
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/containers/ |
D | HybridComponentManager.h | 35 void add(IndexType index, const Data& data) { in add() argument 36 uint64_t index_u64 = (uint64_t)index; in add() 41 mMap[index] = data; in add() 51 void remove(IndexType index) { in remove() argument 52 uint64_t index_u64 = (uint64_t)index; in remove() 57 mMap.erase(index); in remove() 61 Data* get(IndexType index) { in get() argument 62 uint64_t index_u64 = (uint64_t)index; in get() 67 return gfxstream::guest::find(mMap, index); in get() 71 const Data* get_const(IndexType index) const { in get_const() argument [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/src/ |
D | Obd2SensorStore.cpp | 47 Result<void> Obd2SensorStore::BitmaskInVector::set(size_t index, bool value) { in set() argument 48 const size_t byteIndex = index / 8; in set() 49 const size_t bitIndex = index % 8; in set() 50 if (index >= mNumBits) { in set() 59 Result<bool> Obd2SensorStore::BitmaskInVector::get(size_t index) const { in get() 60 const size_t byteIndex = index / 8; in get() 61 const size_t bitIndex = index % 8; in get() 62 if (index >= mNumBits) { in get() 83 StatusCode Obd2SensorStore::setIntegerSensor(DiagnosticIntegerSensorIndex index, int32_t value) { in setIntegerSensor() argument 84 return setIntegerSensor(toInt(index), value); in setIntegerSensor() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | Obd2SensorStore.cpp | 36 void Obd2SensorStore::BitmaskInVector::set(size_t index, bool value) { in set() argument 37 const size_t byteIndex = index / 8; in set() 38 const size_t bitIndex = index % 8; in set() 44 bool Obd2SensorStore::BitmaskInVector::get(size_t index) const { in get() 45 const size_t byteIndex = index / 8; in get() 46 const size_t bitIndex = index % 8; in get() 65 StatusCode Obd2SensorStore::setIntegerSensor(DiagnosticIntegerSensorIndex index, int32_t value) { in setIntegerSensor() argument 66 return setIntegerSensor(toInt(index), value); in setIntegerSensor() 68 StatusCode Obd2SensorStore::setFloatSensor(DiagnosticFloatSensorIndex index, float value) { in setFloatSensor() argument 69 return setFloatSensor(toInt(index), value); in setFloatSensor() [all …]
|
/hardware/qcom/sm8150/display/gralloc/ |
D | QtiMapper4.h | 127 size_t index = 0; in Encode() local 129 std::memcpy(&out[index], &magic_version, sizeof(magic_version)); in Encode() 130 index += sizeof(magic_version); in Encode() 132 std::memcpy(&out[index], &name_size, sizeof(name_size)); in Encode() 133 index += sizeof(name_size); in Encode() 135 std::memcpy(&out[index], bd_info.name.c_str(), bd_info.name.size()); in Encode() 136 index += name_size; in Encode() 138 std::memcpy(&out[index], &bd_info.width, sizeof(bd_info.width)); in Encode() 139 index += sizeof(bd_info.width); in Encode() 141 std::memcpy(&out[index], &bd_info.height, sizeof(bd_info.height)); in Encode() [all …]
|
/hardware/qcom/sm7250/display/gralloc/ |
D | QtiMapper4.h | 126 int index = 0; in Encode() local 128 std::memcpy(&out[index], &magic_version, sizeof(magic_version)); in Encode() 129 index += sizeof(magic_version); in Encode() 131 std::memcpy(&out[index], &name_size, sizeof(name_size)); in Encode() 132 index += sizeof(name_size); in Encode() 134 std::memcpy(&out[index], bd_info.name.c_str(), bd_info.name.size()); in Encode() 135 index += name_size; in Encode() 137 std::memcpy(&out[index], &bd_info.width, sizeof(bd_info.width)); in Encode() 138 index += sizeof(bd_info.width); in Encode() 140 std::memcpy(&out[index], &bd_info.height, sizeof(bd_info.height)); in Encode() [all …]
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlay.h | 155 void validate(int index); 193 static void setUse(int index); 194 static void resetUse(int index); 195 static bool isUsed(int index); 196 static bool isNotUsed(int index); 199 static void setAllocation(int index); 200 static void resetAllocation(int index); 201 static bool isAllocated(int index); 202 static bool isNotAllocated(int index); 247 inline void Overlay::validate(int index) { in validate() argument [all …]
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlay.h | 160 void validate(int index); 201 static void setUse(int index); 202 static void resetUse(int index); 203 static bool isUsed(int index); 204 static bool isNotUsed(int index); 207 static void setAllocation(int index); 208 static void resetAllocation(int index); 209 static bool isAllocated(int index); 210 static bool isNotAllocated(int index); 255 inline void Overlay::validate(int index) { in validate() argument [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.h | 91 int cleanCache(uint32_t index) in cleanCache() argument 93 return cacheOps(index, ION_IOC_CLEAN_CACHES); in cleanCache() 95 int invalidateCache(uint32_t index) in invalidateCache() argument 97 return cacheOps(index, ION_IOC_INV_CACHES); in invalidateCache() 99 int cleanInvalidateCache(uint32_t index) in cleanInvalidateCache() argument 101 return cacheOps(index, ION_IOC_CLEAN_INV_CACHES); in cleanInvalidateCache() 103 int getFd(uint32_t index) const; 104 ssize_t getSize(uint32_t index) const; 112 virtual int cacheOps(uint32_t index, unsigned int cmd) = 0; 114 virtual camera_memory_t *getMemory(uint32_t index, [all …]
|