Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 115) sorted by relevance

12345

/device/google/cuttlefish/host/commands/modem_simulator/
Dcall_service.cpp93 for (auto& iter : active_calls_) { in SimulatePendingCallsAnswered() local
94 if (iter.second.isCallDialing()) { in SimulatePendingCallsAnswered()
95 iter.second.SetCallActive(); in SimulatePendingCallsAnswered()
103 auto iter = active_calls_.find(call_token.first); in TimerWaitingRemoteCallResponse() local
104 if (iter != active_calls_.end() && iter->second.number == call_token.second) { in TimerWaitingRemoteCallResponse()
105 if (iter->second.remote_client != std::nullopt) { in TimerWaitingRemoteCallResponse()
106 CloseRemoteConnection(*(iter->second.remote_client)); in TimerWaitingRemoteCallResponse()
108 active_calls_.erase(iter); // match in TimerWaitingRemoteCallResponse()
268 for (auto& iter : active_calls_) { in HandleAcceptCall() local
269 if (iter.second.isCallIncoming()) { in HandleAcceptCall()
[all …]
Ddata_service.cpp110 for (auto iter = pdp_context_.begin(); iter != pdp_context_.end(); ++iter) { in HandleQueryDataCallList() local
111 if (iter->state == PDPContext::ACTIVE) { in HandleQueryDataCallList()
113 ss << "+CGACT: " << iter->cid << "," << iter->state; in HandleQueryDataCallList()
171 auto iter = pdp_context_.begin(); in HandlePDPContext() local
172 for (; iter != pdp_context_.end(); ++iter) { in HandlePDPContext()
173 if (pdp_context.cid == iter->cid) { in HandlePDPContext()
174 *iter = pdp_context; in HandlePDPContext()
179 if (iter == pdp_context_.end()) { in HandlePDPContext()
231 auto iter = pdp_context_.begin(); in HandleEnterDataState() local
232 for (; iter != pdp_context_.end(); ++iter) { in HandleEnterDataState()
[all …]
Dnetwork_service.cpp163 for (auto& iter : operator_list_) { in InitializeNetworkOperator() local
164 if (iter.numeric == current_operator_numeric_) { in InitializeNetworkOperator()
165 iter.operator_state = NetworkOperator::OPER_STATE_CURRENT; in InitializeNetworkOperator()
185 for (auto iter = operator_list_.begin(); iter != operator_list_.end(); in InitializeSimOperator() local
186 ++iter) { in InitializeSimOperator()
187 if (iter->numeric == sim_operator_numeric) { in InitializeSimOperator()
188 std::swap(*iter, *(operator_list_.begin())); in InitializeSimOperator()
520 auto iter = operator_list_.begin(); in HandleQueryNetworkSelectionMode() local
521 for (; iter != operator_list_.end(); ++iter) { in HandleQueryNetworkSelectionMode()
522 if (iter->numeric == current_operator_numeric_) { in HandleQueryNetworkSelectionMode()
[all …]
Dchannel_monitor.cpp151 auto iter = std::find_if( in ReadCommand() local
154 if (iter != clients.end()) { in ReadCommand()
155 clients.erase(iter); in ReadCommand()
195 auto iter = clients_.begin(); in SendUnsolicitedCommand() local
196 if (iter != clients_.end()) { in SendUnsolicitedCommand()
197 iter->get()->SendCommandResponse(response); in SendUnsolicitedCommand()
204 auto iter = remote_clients_.begin(); in SendRemoteCommand() local
205 for (; iter != remote_clients_.end(); ++iter) { in SendRemoteCommand()
206 if (iter->get()->Id() == client) { in SendRemoteCommand()
207 iter->get()->SendCommandResponse(response); in SendRemoteCommand()
[all …]
Dsim_service.cpp516 for (auto iter = facility_lock_.begin(); iter != facility_lock_.end(); ++iter) { in InitializeFacilityLock() local
517 auto lock_status = facility_lock->FirstChildElement(iter->first.c_str()); in InitializeFacilityLock()
521 iter->second.lock_status = FacilityLock::LockStatus::ENABLE; in InitializeFacilityLock()
545 auto iter = facility_lock_.find("SC"); in SavePinStateToIccProfile() local
546 if (iter != facility_lock_.end()) { in SavePinStateToIccProfile()
547 if (iter->second.lock_status == FacilityLock::ENABLE) { in SavePinStateToIccProfile()
658 for (auto iter = facility_lock_.begin(); iter != facility_lock_.end(); ++iter) { in SaveFacilityLockToIccProfile() local
659 if (iter->second.lock_status == FacilityLock::LockStatus::ENABLE) { in SaveFacilityLockToIccProfile()
664 auto element = facility_lock->FirstChildElement(iter->first.c_str()); in SaveFacilityLockToIccProfile()
667 iter->first.c_str(), text); in SaveFacilityLockToIccProfile()
[all …]
Dthread_looper.cpp59 for (auto iter = queue_.begin(); iter != queue_.end(); ++iter) { in CancelSerial() local
60 if (iter->serial == serial) { in CancelSerial()
61 queue_.erase(iter); in CancelSerial()
75 auto iter = queue_.begin(); in Insert() local
76 while (iter != queue_.end() && *iter <= event) { in Insert()
77 ++iter; in Insert()
80 queue_.insert(iter, event); in Insert()
Dsup_service.cpp211 auto iter = call_forward_infos_.begin(); in HandleCallForward() local
212 for (; iter != call_forward_infos_.end(); ++iter) { in HandleCallForward()
214 ss << "+CCFCU: " << iter->status << "," << classx << "," << number_type in HandleCallForward()
215 << "," << ton << ",\"" << iter->number << "\""; in HandleCallForward()
216 if (iter->reason == CallForwardInfo::Reason::CFNR) { in HandleCallForward()
217 ss << ",,," << iter->timeSeconds; in HandleCallForward()
Dstk_service.cpp204 auto iter = current_select_item_menu_ids_.begin(); in GetCurrentSelectItem() local
205 for (; iter != current_select_item_menu_ids_.end(); ++iter) { in GetCurrentSelectItem()
209 if (menu_id_attr && menu_id_attr->Value() == *iter) { in GetCurrentSelectItem()
211 if (menu_id_str == *iter) { in GetCurrentSelectItem()
/device/google/sunfish/json-c/
Djson_object_iterator.c69 struct json_object_iterator iter; in json_object_iter_begin() local
79 iter.opaque_ = pTable->head; in json_object_iter_begin()
80 return iter; in json_object_iter_begin()
89 struct json_object_iterator iter; in json_object_iter_end() local
94 iter.opaque_ = kObjectEndIterValue; in json_object_iter_end()
96 return iter; in json_object_iter_end()
103 json_object_iter_next(struct json_object_iterator* iter) in json_object_iter_next() argument
105 JASSERT(NULL != iter); in json_object_iter_next()
106 JASSERT(kObjectEndIterValue != iter->opaque_); in json_object_iter_next()
108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next; in json_object_iter_next()
[all …]
Djson_object.h378 #define json_object_object_foreachC(obj,iter) \ argument
379iter.entry = json_object_get_object(obj)->head; (iter.entry ? (iter.key = (char*)iter.entry->k, it…
Djson_object_iterator.h158 json_object_iter_next(struct json_object_iterator* iter);
177 json_object_iter_peek_name(const struct json_object_iterator* iter);
200 json_object_iter_peek_value(const struct json_object_iterator* iter);
/device/google/coral/json-c/
Djson_object_iterator.c69 struct json_object_iterator iter; in json_object_iter_begin() local
79 iter.opaque_ = pTable->head; in json_object_iter_begin()
80 return iter; in json_object_iter_begin()
89 struct json_object_iterator iter; in json_object_iter_end() local
94 iter.opaque_ = kObjectEndIterValue; in json_object_iter_end()
96 return iter; in json_object_iter_end()
103 json_object_iter_next(struct json_object_iterator* iter) in json_object_iter_next() argument
105 JASSERT(NULL != iter); in json_object_iter_next()
106 JASSERT(kObjectEndIterValue != iter->opaque_); in json_object_iter_next()
108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next; in json_object_iter_next()
[all …]
Djson_object.h378 #define json_object_object_foreachC(obj,iter) \ argument
379iter.entry = json_object_get_object(obj)->head; (iter.entry ? (iter.key = (char*)iter.entry->k, it…
/device/google/redbull/json-c/
Djson_object_iterator.c69 struct json_object_iterator iter; in json_object_iter_begin() local
79 iter.opaque_ = pTable->head; in json_object_iter_begin()
80 return iter; in json_object_iter_begin()
89 struct json_object_iterator iter; in json_object_iter_end() local
94 iter.opaque_ = kObjectEndIterValue; in json_object_iter_end()
96 return iter; in json_object_iter_end()
103 json_object_iter_next(struct json_object_iterator* iter) in json_object_iter_next() argument
105 JASSERT(NULL != iter); in json_object_iter_next()
106 JASSERT(kObjectEndIterValue != iter->opaque_); in json_object_iter_next()
108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next; in json_object_iter_next()
[all …]
Djson_object.h378 #define json_object_object_foreachC(obj,iter) \ argument
379iter.entry = json_object_get_object(obj)->head; (iter.entry ? (iter.key = (char*)iter.entry->k, it…
Djson_object_iterator.h158 json_object_iter_next(struct json_object_iterator* iter);
177 json_object_iter_peek_name(const struct json_object_iterator* iter);
200 json_object_iter_peek_value(const struct json_object_iterator* iter);
/device/linaro/dragonboard/shared/utils/qrtr/src/
Dmap.h29 struct map_entry *map_iter_next(const struct map *map, struct map_entry *iter);
30 struct map_item *map_iter_item(struct map_entry *iter);
32 #define map_for_each(map, iter) \ argument
33 for (iter = map_iter_first(map); iter; iter = map_iter_next(map, iter))
35 #define map_iter_data(iter, type, member) \ argument
36 container_of(map_iter_item(iter), type, member)
Dmap.c216 struct map_entry *map_iter_next(const struct map *map, struct map_entry *iter) in map_iter_next() argument
218 if (iter == NULL) in map_iter_next()
221 return map_iter_from(map, (iter - map->data) + 1); in map_iter_next()
230 struct map_item *map_iter_item(struct map_entry *iter) in map_iter_item() argument
232 return iter->item; in map_iter_item()
/device/google/cuttlefish/host/commands/modem_simulator/unittest/
Dservice_test.cpp161 auto iter = kFinalResponseSuccess.begin(); in IsFinalResponseSuccess() local
162 for (; iter != kFinalResponseSuccess.end(); ++iter) { in IsFinalResponseSuccess()
163 if (*iter == response) { in IsFinalResponseSuccess()
172 auto iter = kFinalResponseError.begin(); in IsFinalResponseError() local
173 for (; iter != kFinalResponseError.end(); ++iter) { in IsFinalResponseError()
174 if (response.compare(0, iter->size(), *iter) == 0) { in IsFinalResponseError()
254 for (auto iter = commands.begin(); iter != commands.end(); ++iter, ++expects_iter) { in TEST_F() local
255 SendCommand(*iter); in TEST_F()
272 for (auto iter = commands.begin(); iter != commands.end(); ++iter, ++expects_iter) { in TEST_F() local
273 SendCommand(*iter); in TEST_F()
[all …]
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/
DC2GoldfishHevcDec.cpp783 auto iter = mOldPts2Index.find(pts); in getWorkIndex() local
784 if (iter != mOldPts2Index.end()) { in getWorkIndex()
785 auto index = iter->second; in getWorkIndex()
790 auto iter = mPts2Index.find(pts); in getWorkIndex() local
791 if (iter != mPts2Index.end()) { in getWorkIndex()
792 auto index = iter->second; in getWorkIndex()
801 auto iter = mPts2Index.find(pts); in insertPts() local
802 if (iter != mPts2Index.end()) { in insertPts()
806 DDD("inserted to old pts %" PRIu64 " with index %d", pts, (int)iter->second); in insertPts()
807 mOldPts2Index[iter->first] = iter->second; in insertPts()
[all …]
/device/linaro/dragonboard/shared/utils/pd-mapper/
Dassoc.h46 const char *assoc_next(struct assoc *assoc, void **value, unsigned long *iter);
49 #define assoc_foreach(key, value, assoc, iter) \ argument
50 for ((iter) = 0, (key) = assoc_next((assoc), (value), &(iter)); \
52 (key) = assoc_next((assoc), (value), &(iter)))
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/
DC2GoldfishAvcDec.cpp836 auto iter = mOldPts2Index.find(pts); in getWorkIndex() local
837 if (iter != mOldPts2Index.end()) { in getWorkIndex()
838 auto index = iter->second; in getWorkIndex()
843 auto iter = mPts2Index.find(pts); in getWorkIndex() local
844 if (iter != mPts2Index.end()) { in getWorkIndex()
845 auto index = iter->second; in getWorkIndex()
854 auto iter = mPts2Index.find(pts); in insertPts() local
855 if (iter != mPts2Index.end()) { in insertPts()
859 DDD("inserted to old pts %" PRIu64 " with index %d", pts, (int)iter->second); in insertPts()
860 mOldPts2Index[iter->first] = iter->second; in insertPts()
[all …]
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs670 .iter() in parse_libs_cflags()
706 let mut iter = val.split('='); in parse_libs_cflags() localVariable
708 iter.next().unwrap().to_owned(), in parse_libs_cflags()
709 iter.next().map(|s| s.to_owned()), in parse_libs_cflags()
717 let mut iter = words.iter().flat_map(|arg| { in parse_libs_cflags() localVariable
724 while let Some(part) = iter.next() { in parse_libs_cflags()
727 if let Some(lib) = iter.next() { in parse_libs_cflags()
734 if let Some(inc) = iter.next() { in parse_libs_cflags()
771 let mut linker_options = words.iter().filter(|arg| arg.starts_with("-Wl,")); in parse_libs_cflags()
813 dirs.iter().any(|dir| { in is_static_available()
[all …]
/device/google/cuttlefish/host/commands/cvd_send_sms/
Dpdu_format_builder.cc55 icu::UCharCharacterIterator iter(unicode_str.getTerminatedBuffer(), in Gsm7bitEncode() local
61 for (; iter.hasNext(); iter.next()) { in Gsm7bitEncode()
62 UChar uchar = iter.current(); in Gsm7bitEncode()
81 if (iter.hasPrevious()) { in Gsm7bitEncode()
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dversion.rs49 let mut iter = version.splitn(3, '.'); in from_rustc() localVariable
50 let major = try!(iter in from_rustc()
53 let minor = try!(iter in from_rustc()
56 let patch = try!(iter in from_rustc()

12345