Home
last modified time | relevance | path

Searched refs:VAL (Results 1 – 25 of 27) sorted by relevance

12

/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_pla/include/
Dplatform_lib_log_util.h127 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
132 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
135 ID, WHAT, __LINE__, VAL); \
145 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
146 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
147 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
150 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
151 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
152 if (VAL != 0) { \
153 LOG_E(EXIT_ERROR_TAG, __FUNCTION__, SPEC, VAL); \
[all …]
/hardware/qcom/gps/msm8996/utils/
Dlog_util.h128 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
133 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
136 ID, WHAT, __LINE__, VAL); \
146 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
147 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
148 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
151 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
152 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
153 if (VAL != 0) { \
154 LOG_E(EXIT_ERROR_TAG, __FUNCTION__, SPEC, VAL); \
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/platform_lib_abstractions/loc_pla/include/
Dplatform_lib_log_util.h127 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
132 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
135 ID, WHAT, __LINE__, VAL); \
145 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
146 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
147 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
150 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
151 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
152 if (VAL != 0) { \
153 LOG_E(EXIT_ERROR_TAG, __FUNCTION__, SPEC, VAL); \
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/
Dlog_util.h128 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
133 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
136 ID, WHAT, __LINE__, VAL); \
146 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
147 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
148 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
151 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
152 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
153 if (VAL != 0) { \
154 LOG_E(EXIT_ERROR_TAG, __FUNCTION__, SPEC, VAL); \
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
Dlog_util.h128 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
133 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
136 ID, WHAT, __LINE__, VAL); \
146 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
147 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
148 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
151 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
152 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
153 if (VAL != 0) { \
154 LOG_E(EXIT_ERROR_TAG, __FUNCTION__, SPEC, VAL); \
[all …]
/hardware/qcom/gps/msm8998/utils/
Dlog_util.h128 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
133 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
136 ID, WHAT, __LINE__, VAL); \
146 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
147 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
148 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
151 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
152 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
153 if (VAL != 0) { \
154 LOG_E(EXIT_ERROR_TAG, __FUNCTION__, SPEC, VAL); \
[all …]
/hardware/qcom/sdm845/gps/msm8996/utils/
Dlog_util.h128 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
133 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
136 ID, WHAT, __LINE__, VAL); \
146 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
147 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
148 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
151 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
152 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
153 if (VAL != 0) { \
154 LOG_E(EXIT_ERROR_TAG, __FUNCTION__, SPEC, VAL); \
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
Dlog_util.h129 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
134 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
137 ID, WHAT, __LINE__, VAL); \
147 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
148 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
149 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
152 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
153 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
154 if (VAL != 0) { \
155 LOG_E(EXIT_ERROR_TAG, __FUNCTION__, SPEC, VAL); \
[all …]
/hardware/qcom/sdm845/gps/msm8909/utils/
Dlog_util.h150 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
155 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
158 ID, WHAT, __LINE__, VAL); \
168 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
169 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
170 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
173 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __func__, SPEC, VAL) argument
174 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
175 if (VAL != 0) { \
176 LOG_E(EXIT_ERROR_TAG, __func__, SPEC, VAL); \
[all …]
/hardware/qcom/gps/msm8909/utils/
Dlog_util.h150 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
155 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
158 ID, WHAT, __LINE__, VAL); \
168 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
169 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
170 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
173 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __func__, SPEC, VAL) argument
174 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
175 if (VAL != 0) { \
176 LOG_E(EXIT_ERROR_TAG, __func__, SPEC, VAL); \
[all …]
/hardware/qcom/sdm845/gps/utils/
Dlog_util.h126 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
131 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
134 ID, WHAT, __LINE__, VAL); \
139 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
140 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
143 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __func__, SPEC, VAL) argument
148 #define EXIT_LOG_CALLFLOW(SPEC, VAL) LOG_I(TO_MODEM, __FUNCTION__, SPEC, VAL) argument
150 #define MODEM_LOG_CALLFLOW(SPEC, VAL) LOG_I(FROM_MODEM, __FUNCTION__, SPEC, VAL) argument
152 #define CALLBACK_LOG_CALLFLOW(CB, SPEC, VAL) LOG_I(TO_AFW, CB, SPEC, VAL) argument
/hardware/qcom/sdm845/gps/msm8994/utils/
Dlog_util.h126 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
131 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
134 ID, WHAT, __LINE__, VAL); \
139 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
140 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
143 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
149 #define EXIT_LOG_CALLFLOW(SPEC, VAL) LOG_I(TO_MODEM, __FUNCTION__, SPEC, VAL) argument
151 #define MODEM_LOG_CALLFLOW(SPEC, VAL) LOG_I(FROM_MODEM, __FUNCTION__, SPEC, VAL) argument
153 #define CALLBACK_LOG_CALLFLOW(CB, SPEC, VAL) LOG_I(TO_AFW, CB, SPEC, VAL) argument
/hardware/qcom/gps/msm8994/utils/
Dlog_util.h126 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
131 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
134 ID, WHAT, __LINE__, VAL); \
139 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
140 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
143 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
149 #define EXIT_LOG_CALLFLOW(SPEC, VAL) LOG_I(TO_MODEM, __FUNCTION__, SPEC, VAL) argument
151 #define MODEM_LOG_CALLFLOW(SPEC, VAL) LOG_I(FROM_MODEM, __FUNCTION__, SPEC, VAL) argument
153 #define CALLBACK_LOG_CALLFLOW(CB, SPEC, VAL) LOG_I(TO_AFW, CB, SPEC, VAL) argument
/hardware/qcom/gps/utils/
Dlog_util.h126 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
131 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
134 ID, WHAT, __LINE__, VAL); \
139 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
140 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
143 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __func__, SPEC, VAL) argument
148 #define EXIT_LOG_CALLFLOW(SPEC, VAL) LOG_I(TO_MODEM, __FUNCTION__, SPEC, VAL) argument
150 #define MODEM_LOG_CALLFLOW(SPEC, VAL) LOG_I(FROM_MODEM, __FUNCTION__, SPEC, VAL) argument
152 #define CALLBACK_LOG_CALLFLOW(CB, SPEC, VAL) LOG_I(TO_AFW, CB, SPEC, VAL) argument
/hardware/qcom/sdm845/gps/msm8084/utils/
Dlog_util.h148 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
153 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
156 ID, WHAT, __LINE__, VAL); \
161 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
162 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
165 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __func__, SPEC, VAL) argument
171 #define EXIT_LOG_CALLFLOW(SPEC, VAL) LOG_I(TO_MODEM, __func__, SPEC, VAL) argument
173 #define MODEM_LOG_CALLFLOW(SPEC, VAL) LOG_I(FROM_MODEM, __func__, SPEC, VAL) argument
175 #define CALLBACK_LOG_CALLFLOW(CB, SPEC, VAL) LOG_I(TO_AFW, CB, SPEC, VAL) argument
/hardware/qcom/gps/msm8960/utils/
Dlog_util.h138 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
143 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
146 ID, WHAT, __LINE__, VAL); \
151 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
152 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
155 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __func__, SPEC, VAL) argument
161 #define EXIT_LOG_CALLFLOW(SPEC, VAL) LOG_I(TO_MODEM, __func__, SPEC, VAL) argument
163 #define MODEM_LOG_CALLFLOW(SPEC, VAL) LOG_I(FROM_MODEM, __func__, SPEC, VAL) argument
165 #define CALLBACK_LOG_CALLFLOW(CB, SPEC, VAL) LOG_I(TO_AFW, CB, SPEC, VAL) argument
/hardware/qcom/sdm845/gps/msm8960/utils/
Dlog_util.h138 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
143 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
146 ID, WHAT, __LINE__, VAL); \
151 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
152 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
155 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __func__, SPEC, VAL) argument
161 #define EXIT_LOG_CALLFLOW(SPEC, VAL) LOG_I(TO_MODEM, __func__, SPEC, VAL) argument
163 #define MODEM_LOG_CALLFLOW(SPEC, VAL) LOG_I(FROM_MODEM, __func__, SPEC, VAL) argument
165 #define CALLBACK_LOG_CALLFLOW(CB, SPEC, VAL) LOG_I(TO_AFW, CB, SPEC, VAL) argument
/hardware/qcom/gps/msm8084/utils/
Dlog_util.h148 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
153 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
156 ID, WHAT, __LINE__, VAL); \
161 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
162 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
165 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __func__, SPEC, VAL) argument
171 #define EXIT_LOG_CALLFLOW(SPEC, VAL) LOG_I(TO_MODEM, __func__, SPEC, VAL) argument
173 #define MODEM_LOG_CALLFLOW(SPEC, VAL) LOG_I(FROM_MODEM, __func__, SPEC, VAL) argument
175 #define CALLBACK_LOG_CALLFLOW(CB, SPEC, VAL) LOG_I(TO_AFW, CB, SPEC, VAL) argument
/hardware/qcom/sm8150p/gps/utils/
Dlog_util.h157 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
162 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
165 ID, WHAT, __LINE__, VAL); \
176 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
177 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
178 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
181 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
182 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
183 if (VAL != 0) { \
184 LOG_E(EXIT_ERROR_TAG, __FUNCTION__, SPEC, VAL); \
[all …]
DLocUnorderedSetMap.h72 template <typename KEY, typename VAL>
74 unordered_map<KEY, unordered_set<VAL>> mMap;
80 bool trimOrRemove(typename unordered_map<KEY, unordered_set<VAL>>::iterator iter, in trimOrRemove()
81 const unordered_set<VAL>& rVals, unordered_set<VAL>* goneVals) { in trimOrRemove()
82 trimSet<VAL>(iter->second, rVals, goneVals); in trimOrRemove()
98 inline unordered_set<VAL>* getValSetPtr(const KEY& key) { in getValSetPtr()
105 inline unordered_set<VAL> getValSet(const KEY& key) { in getValSet()
107 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>(0); in getValSet()
127 inline void trimOrRemove(unordered_set<KEY>&& keys, const unordered_set<VAL>& rVals, in trimOrRemove()
128 unordered_set<KEY>* goneKeys, unordered_set<VAL>* goneVals) { in trimOrRemove()
[all …]
/hardware/qcom/sm7150/gps/utils/
Dlog_util.h205 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
210 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
213 ID, WHAT, __LINE__, VAL); \
224 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
225 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
226 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
227 #define LOG_D(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGD, ID, WHAT, SPEC, VAL) argument
230 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
231 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
232 if (VAL != 0) { \
[all …]
/hardware/qcom/sm7250/gps/utils/
Dlog_util.h242 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
247 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
250 ID, WHAT, __LINE__, VAL); \
261 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
262 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
263 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
264 #define LOG_D(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGD, ID, WHAT, SPEC, VAL) argument
267 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
268 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
269 if (VAL != 0) { \
[all …]
DLocUnorderedSetMap.h79 template <typename KEY, typename VAL>
81 unordered_map<KEY, unordered_set<VAL>> mMap;
86 bool trimOrRemove(typename unordered_map<KEY, unordered_set<VAL>>::iterator iter, in trimOrRemove()
87 const unordered_set<VAL>& rVals, unordered_set<VAL>* goneVals) { in trimOrRemove()
88 trimSet<VAL>(iter->second, rVals, goneVals); in trimOrRemove()
106 inline unordered_set<VAL>* getValSetPtr(const KEY& key) { in getValSetPtr()
113 inline unordered_set<VAL> getValSet(const KEY& key) { in getValSet()
115 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>{}; in getValSet()
135 inline void trimOrRemove(unordered_set<KEY>&& keys, const unordered_set<VAL>& rVals, in trimOrRemove()
136 unordered_set<KEY>* goneKeys, unordered_set<VAL>* goneVals) { in trimOrRemove()
[all …]
/hardware/qcom/sm8150/gps/utils/
Dlog_util.h242 #define LOG_(LOC_LOG, ID, WHAT, SPEC, VAL) \ argument
247 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
250 ID, WHAT, __LINE__, VAL); \
261 #define LOG_I(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGI, ID, WHAT, SPEC, VAL) argument
262 #define LOG_V(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGV, ID, WHAT, SPEC, VAL) argument
263 #define LOG_E(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGE, ID, WHAT, SPEC, VAL) argument
264 #define LOG_D(ID, WHAT, SPEC, VAL) LOG_(LOC_LOGD, ID, WHAT, SPEC, VAL) argument
267 #define EXIT_LOG(SPEC, VAL) LOG_V(EXIT_TAG, __FUNCTION__, SPEC, VAL) argument
268 #define EXIT_LOG_WITH_ERROR(SPEC, VAL) \ argument
269 if (VAL != 0) { \
[all …]
DLocUnorderedSetMap.h79 template <typename KEY, typename VAL>
81 unordered_map<KEY, unordered_set<VAL>> mMap;
86 bool trimOrRemove(typename unordered_map<KEY, unordered_set<VAL>>::iterator iter, in trimOrRemove()
87 const unordered_set<VAL>& rVals, unordered_set<VAL>* goneVals) { in trimOrRemove()
88 trimSet<VAL>(iter->second, rVals, goneVals); in trimOrRemove()
106 inline unordered_set<VAL>* getValSetPtr(const KEY& key) { in getValSetPtr()
113 inline unordered_set<VAL> getValSet(const KEY& key) { in getValSet()
115 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>{}; in getValSet()
135 inline void trimOrRemove(unordered_set<KEY>&& keys, const unordered_set<VAL>& rVals, in trimOrRemove()
136 unordered_set<KEY>* goneKeys, unordered_set<VAL>* goneVals) { in trimOrRemove()
[all …]

12