Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 259) sorted by relevance

1234567891011

/packages/experimental/procstatlog/
Dprocstatreport.py179 next = state.get("/proc/stat:cpu", "").split()
180 if last and next:
181 stime = sum([int(next[x]) - int(last[x]) for x in [2, 5, 6]])
182 utime = sum([int(next[x]) - int(last[x]) for x in [0, 1]])
183 idle = sum([int(next[x]) - int(last[x]) for x in [3, 4]])
228 next = int(state.get(key, -1))
229 if last != -1 and next != -1:
231 total_time += next - last
232 total_cycles += (next - last) * speed
264 next = int(state.get("/proc/stat:ctxt", -1))
[all …]
Dprocstatlog.c286 struct data *next = stats; in read_stats() local
290 read_data(next++, filename); in read_stats()
292 read_data(next++, filename); in read_stats()
296 next += read_proc_yaffs(next, stats + stats_count - next); in read_stats()
297 next += read_lines("/proc/net/dev", ':', NULL, 0, next, end - next); in read_stats()
298 next += read_lines("/proc/stat", ' ', NULL, 0, next, end - next); in read_stats()
299 next += read_lines("/proc/binder/stats", ':', "\nproc ", 0, next, end - next); in read_stats()
300 next += read_lines("/proc/diskstats", ' ', NULL, 2, next, end - next); in read_stats()
301 next += read_lines( in read_stats()
303 ' ', NULL, 0, next, end - next); in read_stats()
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
DImapResponseParser.java115 final int next = mIn.peek(); in peek() local
116 if (next == -1) { in peek()
119 return next; in peek()
129 int next = mIn.read(); in readByte() local
130 if (next == -1) { in readByte()
133 mDiscourseLogger.addReceivedByte(next); in readByte()
134 return next; in readByte()
213 final int next = readByte(); in expect() local
214 if (expected != next) { in expect()
216 (int) expected, expected, next, (char) next)); in expect()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.java793 if ((oldToken = token).next != null) token = token.next; in jj_consume_token()
794 else token = token.next = token_source.getNextToken(); in jj_consume_token()
804 c = c.next; in jj_consume_token()
820 if (jj_scanpos.next == null) { in jj_scan_token()
821 jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken(); in jj_scan_token()
823 jj_lastpos = jj_scanpos = jj_scanpos.next; in jj_scan_token()
826 jj_scanpos = jj_scanpos.next; in jj_scan_token()
830 while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; } in jj_scan_token()
839 if (token.next != null) token = token.next; in getNextToken()
840 else token = token.next = token_source.getNextToken(); in getNextToken()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java143 App entry = i.next(); in remove()
160 App entry = i.next(); in remove()
189 Connection connection = i.next(); in removeConnection()
204 App entry = i.next(); in getById()
217 App entry = i.next(); in getByUuid()
231 Connection connection = i.next(); in getConnectedDevices()
243 Connection connection = ii.next(); in getByConnId()
260 Connection connection = i.next(); in connIdByAddress()
273 Connection connection = i.next(); in addressByConnId()
283 Connection connection = i.next(); in getConnectionByApp()
[all …]
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DSplineMath.java39 double[] next = null; in calculatetCurve() local
48 next = points[pivot + 1]; in calculatetCurve()
49 if (x <= next[0]) { in calculatetCurve()
51 double x2 = next[0]; in calculatetCurve()
53 double y2 = next[1]; in calculatetCurve()
70 curve[i][0] = (float) (next[0]); in calculatetCurve()
71 curve[i][1] = (float) (next[1]); in calculatetCurve()
79 double[] next = null; in getValue() local
90 next = mPoints[pivot + 1]; in getValue()
92 double x2 = next[0]; in getValue()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
DContentTypeParser.java189 if ((oldToken = token).next != null) token = token.next; in jj_consume_token()
190 else token = token.next = token_source.getNextToken(); in jj_consume_token()
202 if (token.next != null) token = token.next; in getNextToken()
203 else token = token.next = token_source.getNextToken(); in getNextToken()
212 if (t.next != null) t = t.next; in getToken()
213 else t = t.next = token_source.getNextToken(); in getToken()
219 if ((jj_nt=token.next) == null) in jj_ntk()
220 return (jj_ntk = (token.next=token_source.getNextToken()).kind); in jj_ntk()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DDateTimeParser.java488 if ((oldToken = token).next != null) token = token.next; in jj_consume_token()
489 else token = token.next = token_source.getNextToken(); in jj_consume_token()
501 if (token.next != null) token = token.next; in getNextToken()
502 else token = token.next = token_source.getNextToken(); in getNextToken()
511 if (t.next != null) t = t.next; in getToken()
512 else t = t.next = token_source.getNextToken(); in getToken()
518 if ((jj_nt=token.next) == null) in jj_ntk()
519 return (jj_ntk = (token.next=token_source.getNextToken()).kind); in jj_ntk()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java558 PhoneAccount phoneAccount = it.next(); in clearAccounts()
914 parser.next();
1082 parser.next();
1085 parser.next();
1089 parser.next();
1092 parser.next();
1095 parser.next();
1098 parser.next();
1101 parser.next();
1104 parser.next();
[all …]
/packages/apps/Browser/src/com/android/browser/
DTabScrollView.java248 int next = -1; in getChildDrawingOrder() local
250 next = mSelected; in getChildDrawingOrder()
252 next = count - i - 1; in getChildDrawingOrder()
253 if (next <= mSelected && next > 0) { in getChildDrawingOrder()
254 next--; in getChildDrawingOrder()
257 return next; in getChildDrawingOrder()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupDatabaseHelper.java174 parser.next(); in initDatabase()
219 parser.next(); in loadTable()
239 parser.next(); in getTableMccIddRow()
274 parser.next(); in getTableMccLookupTableRow()
295 parser.next(); in getTableMccSidConflictRow()
318 parser.next(); in getTableMccSidRangeRow()
337 parser.next(); in getTableNanpAreaCodeRow()
358 parser.next(); in getTableArbitraryMccSidMatch()
/packages/apps/Calendar/src/com/android/calendar/
DDayFragment.java198 DayView next = (DayView) mViewSwitcher.getNextView(); in goTo() local
200 next.setFirstVisibleHour(currentView.getFirstVisibleHour()); in goTo()
203 next.setSelected(goToTime, ignoreTime, animateToday); in goTo()
204 next.reloadEvents(); in goTo()
206 next.requestFocus(); in goTo()
207 next.updateTitle(); in goTo()
208 next.restartCurrentTimeUpdates(); in goTo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DEvent.java111 final Event next) { in Event() argument
120 mNextEvent = next; in Event()
143 final Event next, final boolean isKeyRepeat) { in createHardwareKeypressEvent() argument
146 null /* suggestedWordInfo */, isKeyRepeat ? FLAG_REPEAT : FLAG_NONE, next); in createHardwareKeypressEvent()
150 public static Event createDeadEvent(final int codePoint, final int keyCode, final Event next) { in createDeadEvent() argument
154 null /* suggestedWordInfo */, FLAG_DEAD, next); in createDeadEvent()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java67 if (slot.next()) mQueue.add(slot); in ImageListUber()
136 if (slot.next()) mQueue.add(slot); in getImageAt()
139 if (slot.next()) mQueue.add(slot); in getImageAt()
234 if (slot.next()) mQueue.add(slot); in getImageIndex()
237 if (slot.next()) mQueue.add(slot); in getImageIndex()
282 public boolean next() { in next() method in ImageListUber.MergeSlot
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndapi.c189 NJ_INT32 i, next, first; in get_word_and_search_next_word() local
199 next = -1; in get_word_and_search_next_word()
292 (next == -1)) { in get_word_and_search_next_word()
298 next = i; in get_word_and_search_next_word()
318 if ((next == -1) || (nj_strcmp(result_stroke, tmp_stroke) > 0)) { in get_word_and_search_next_word()
324 next = i; in get_word_and_search_next_word()
331 if (next == -1) { in get_word_and_search_next_word()
335 loctset = &(cursor->loctset[next]); in get_word_and_search_next_word()
338 (cursor->cond.ds->dic[next].srhCache == NULL))) { in get_word_and_search_next_word()
Dndbdic.c216 NJ_INT16 next; in get_stem_word() local
335 next = get_stem_next(hdl, stem_data); in get_stem_word()
336 stem_data += next; in get_stem_word()
577 NJ_UINT32 current,hindo_max_data, bottom, next; in search_node() local
950 next = get_stem_next(loctset->loct.handle, stem_data); in search_node()
951 stem_data += next; in search_node()
1397 NJ_INT16 next; in njd_b_get_candidate() local
1436 next = get_stem_next(loc->handle, data); in njd_b_get_candidate()
1437 data += next; in njd_b_get_candidate()
1488 NJ_INT16 next; in njd_b_get_stroke() local
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationViewAdapter.java778 final View next = item.getFocusableView(); in getNextOverlayView() local
780 next != null && next.isFocusable()) { in getNextOverlayView()
781 return next; in getNextOverlayView()
787 final View next = item.getFocusableView(); in getNextOverlayView() local
789 next != null && next.isFocusable()) { in getNextOverlayView()
790 return next; in getNextOverlayView()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary_utils.cpp33 std::vector<DicNode> next; in getMaxProbabilityOfExactMatches() local
47 next.emplace_back(dicNode); in getMaxProbabilityOfExactMatches()
48 next.back().advanceDigraphIndex(); in getMaxProbabilityOfExactMatches()
51 processChildDicNodes(dictionaryStructurePolicy, codePoint, &dicNode, &next); in getMaxProbabilityOfExactMatches()
54 current.swap(next); in getMaxProbabilityOfExactMatches()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPathMatcher.java46 Node next = current.getChild(segments[i]); in match() local
47 if (next == null) { in match()
48 next = current.getChild("*"); in match()
49 if (next != null) { in match()
55 current = next; in match()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java134 mNextButton = (RepeatingImageButton) findViewById(R.id.next); in onCreate()
441 mService.next();
487 long next = refreshNow(); in onStart() local
488 queueNextRefresh(next); in onStart()
785 mService.next(); in onKeyUp()
935 mService.next(); in scanForward()
1055 long next = refreshNow(); in startPlayback() local
1056 queueNextRefresh(next); in startPlayback()
1218 long next = refreshNow();
1219 queueNextRefresh(next);
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasAutoDiscover.java247 final int type = parser.next(); in parseServer()
277 final int type = parser.next(); in parseSettings()
299 final int type = parser.next(); in parseAction()
325 int type = parser.next(); in parseUser()
351 final int type = parser.next(); in parseResponse()
378 if (parser.next() != XmlPullParser.START_TAG) { in parseAutodiscover()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnClauseConverterJAJP.java264 WnnWord stem = stemsi.next(); in singleClauseConvert()
294 WnnWord stem = stemsi.next(); in singleClauseConvert()
298 WnnWord fzk = fzksi.next(); in singleClauseConvert()
360 WnnClause clausei = (WnnClause)clauseListi.next(); in addClause()
442 WnnWord follow = followFzksi.next(); in getAncillaryPattern()
497 WnnWord w = (WnnWord)list.next(); in getIndependentWords()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DComposingText.java86 StrSegment ss = it.next(); in debugout()
224 int next = uplayer_mod_from + 1; in modifyUpper() local
225 for (int i = next; i <= uplayer_org_to; i++) { in modifyUpper()
226 ss = strUplayer.get(next); in modifyUpper()
230 strUplayer.remove(next); in modifyUpper()
236 for (int i = next; i < strUplayer.size(); i++) { in modifyUpper()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java172 ControlPoint next = null; in getAppliedCurve() local
181 next = points[pivot + 1]; in getAppliedCurve()
182 if (x <= next.x) { in getAppliedCurve()
184 double x2 = next.x; in getAppliedCurve()
186 double y2 = next.y; in getAppliedCurve()
207 curve[i] = 1.0f - next.y; in getAppliedCurve()

1234567891011