Searched refs:it (Results 1 - 25 of 77) sorted by relevance

1234

/frameworks/base/media/libstagefright/foundation/
H A DAAtomizer.cpp43 List<AString>::iterator it = entry.begin(); local
44 while (it != entry.end()) {
45 if ((*it) == name) {
46 return (*it).c_str();
48 ++it;
H A DALooper.cpp156 List<Event>::iterator it = mEventQueue.begin(); local
157 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) {
158 ++it;
165 if (it == mEventQueue.begin()) {
169 mEventQueue.insert(it, event);
/frameworks/base/tools/localize/
H A DValuesFile_test.cpp18 for (set<StringResource>::const_iterator it=strings.begin();
19 it!=strings.end(); it++) {
20 const StringResource& str = *it;
H A Dlocalize_test.cpp73 for (set<StringResource>::iterator it=strings.begin(); it!=strings.end(); it++) {
74 const StringResource& str = *it;
106 for (set<StringResource>::iterator it=strings.begin(); it!=strings.end(); it++) {
107 const StringResource& str = *it;
123 map<string,Settings>::iterator it; local
131 for (it
[all...]
H A Dxmb.cpp94 // the contents are in xliff/html, convert it to xliff
99 for (vector<XMLNode*>::const_iterator it=value->Children().begin();
100 it!=value->Children().end(); it++) {
101 err |= convert_html_to_xliff(*it, tag, msg, &phID);
109 for (vector<XMLNode*>::iterator it=msg->EditChildren().begin();
110 it!=msg->EditChildren().end(); it++) {
111 err |= convert_xliff_to_ph(*it, &phID);
154 for (set<StringResource>::iterator it
[all...]
H A Dres_check.cpp40 for (set<StringResource>::iterator it=strings.begin(); it!=strings.end(); it++) {
41 XMLNode* value = it->value;
43 err |= check_value(it->pos, value);
H A Dmerge_res_and_xliff.cpp11 for (set<StringResource>::const_iterator it = s.begin(); it != s.end(); it++) {
12 if (it->id == id && it->index == index) {
13 return it;
23 for (set<StringResource>::const_iterator it = s.begin(); it != s.end(); it++) {
24 if (it
34 printit(const set<StringResource>& s, const set<StringResource>::const_iterator& it) argument
[all...]
H A DValuesFile.cpp202 for (map<string,set<StringResource> >::const_iterator it = m_arrays.begin();
203 it != m_arrays.end(); it++) {
204 result.insert(it->second.begin(), it->second.end());
223 for (map<string,set<StringResource> >::const_iterator it = m_arrays.begin();
224 it != m_arrays.end(); it++) {
226 arrayAttrs.push_back(XMLAttribute("", "name", it->first));
227 const set<StringResource>& items = it
[all...]
H A DXLIFFFile_test.cpp18 for (set<StringResource>::iterator it=strings.begin(); it!=strings.end(); it++) {
19 const StringResource& str = *it;
H A Dlocalize.cpp119 for (set<StringResource>::const_iterator it=strings.begin(); it!=strings.end(); it++) {
120 StringResource res = *it;
142 * If it's been rejected, then we keep whatever info we have.
149 * 0 0 1 0 (it was there, never translated, and removed)
150 * 0 1 0 0 (somehow it got translated, but it was removed)
151 * 0 1 1 0 (it was removed after having been translated)
153 * 1 0 0 1 (it wa
[all...]
/frameworks/base/media/libstagefright/
H A DTimedEventQueue.cpp113 List<QueueItem>::iterator it = mQueue.begin(); local
114 while (it != mQueue.end() && realtime_us >= (*it).realtime_us) {
115 ++it;
122 if (it == mQueue.begin()) {
126 mQueue.insert(it, item);
154 // if MatchesEventID found a match, it will have set id to 0
166 List<QueueItem>::iterator it = mQueue.begin(); local
167 while (it != mQueue.end()) {
168 if (!(*predicate)(cookie, (*it)
250 List<QueueItem>::iterator it = mQueue.begin(); local
[all...]
H A DDataSource.cpp67 for (List<SnifferFunc>::iterator it = gSniffers.begin();
68 it != gSniffers.end(); ++it) {
72 if ((*it)(this, &newMimeType, &newConfidence, &newMeta)) {
88 for (List<SnifferFunc>::iterator it = gSniffers.begin();
89 it != gSniffers.end(); ++it) {
90 if (*it == func) {
122 // Assume it's a filename.
H A DNuCachedSource2.cpp73 List<Page *>::iterator it = list->begin(); local
74 while (it != list->end()) {
75 Page *page = *it;
81 ++it;
87 List<Page *>::iterator it = mFreePages.begin(); local
88 Page *page = *it;
89 mFreePages.erase(it);
115 List<Page *>::iterator it = mActivePages.begin(); local
117 Page *page = *it;
123 mActivePages.erase(it);
141 List<Page *>::iterator it = mActivePages.begin(); local
[all...]
H A DMPEG4Writer.cpp94 // since it is O(n). Ideally, the fix should be in List class.
198 // If it is an audio track, try to use the sampling rate as
248 List<Track *>::iterator it = mTracks.begin(); local
249 delete *it;
250 (*it) = NULL;
251 mTracks.erase(it);
266 for (List<Track *>::iterator it = mTracks.begin();
267 it != mTracks.end(); ++it) {
268 (*it)
[all...]
/frameworks/base/media/libstagefright/rtsp/
H A DAH263Assembler.cpp58 List<sp<ABuffer> >::iterator it = queue->begin(); local
59 while (it != queue->end()) {
60 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
64 it = queue->erase(it);
132 List<sp<ABuffer> >::iterator it = mPackets.begin(); local
133 while (it != mPackets.end()) {
134 const sp<ABuffer> &unit = *it;
137 ++it;
142 it
[all...]
H A DAAVCAssembler.cpp55 List<sp<ABuffer> >::iterator it = queue->begin(); local
56 while (it != queue->end()) {
57 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
61 it = queue->erase(it);
219 List<sp<ABuffer> >::iterator it = ++queue->begin(); local
220 while (it != queue->end()) {
223 const sp<ABuffer> &buffer = *it;
243 it = queue->begin();
245 it
286 List<sp<ABuffer> >::iterator it = queue->begin(); local
[all...]
H A DARTPConnection.cpp222 List<StreamInfo>::iterator it = mStreams.begin(); local
223 while (it != mStreams.end()
224 && (it->mRTPSocket != rtpSocket || it->mRTCPSocket != rtcpSocket)) {
225 ++it;
228 if (it == mStreams.end()) {
232 mStreams.erase(it);
261 for (List<StreamInfo>::iterator it = mStreams.begin();
262 it != mStreams.end(); ++it) {
637 List<StreamInfo>::iterator it = mStreams.begin(); local
662 List<StreamInfo>::iterator it = mStreams.begin(); local
[all...]
H A DAMPEG4ElementaryAssembler.cpp186 List<sp<ABuffer> >::iterator it = queue->begin(); local
187 while (it != queue->end()) {
188 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
192 it = queue->erase(it);
312 for (List<AUHeader>::iterator it = headers.begin();
313 it != headers.end(); ++it) {
314 const AUHeader &header = *it;
342 for (List<sp<ABuffer> >::iterator it
[all...]
H A DARTPSource.cpp105 for (List<sp<ABuffer> >::iterator it = mQueue.begin();
106 it != mQueue.end(); ++it) {
107 sp<AMessage> meta = (*it)->meta();
168 List<sp<ABuffer> >::iterator it = mQueue.begin(); local
169 while (it != mQueue.end() && (uint32_t)(*it)->int32Data() < seqNum) {
170 ++it;
173 if (it != mQueue.end() && (uint32_t)(*it)
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
H A DSipCallBase.java48 for (Iterator<Connection> it = connections.iterator(); it.hasNext(); ) {
49 Connection c = it.next();
50 if (c.getState() == State.DISCONNECTED) it.remove();
/frameworks/base/tools/aidl/
H A Dsearch_path.cpp33 for (vector<string>::iterator it=paths.begin(); it!=paths.end(); it++) {
34 string f = *it;
/frameworks/base/services/java/com/android/server/am/
H A DUriPermissionOwner.java96 Iterator<UriPermission> it = readUriPermissions.iterator();
97 while (it.hasNext()) {
98 UriPermission perm = it.next();
106 it.remove();
115 Iterator<UriPermission> it = writeUriPermissions.iterator();
116 while (it.hasNext()) {
117 UriPermission perm = it.next();
125 it.remove();
H A DAppBindRecord.java43 Iterator<ConnectionRecord> it = connections.iterator();
44 while (it.hasNext()) {
45 ConnectionRecord c = it.next();
/frameworks/base/services/surfaceflinger/
H A DLayerDim.cpp63 Region::const_iterator it = clip.begin(); local
65 if (s.alpha>0 && (it != end)) {
91 while (it != end) {
92 const Rect& r = *it++;
/frameworks/base/media/libstagefright/id3/
H A Dtestid3.cpp81 ID3::Iterator it(tag, NULL);
82 while (!it.done()) {
84 it.getID(&id);
89 it.getString(&text);
96 it.next();

Completed in 252 milliseconds

1234