Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 8 of 8) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_pragma_handler.cpp90 if (PragmaToken.isNot(clang::tok::l_paren)) in HandlePragma()
93 while (PragmaToken.isNot(clang::tok::eod)) { in HandlePragma()
103 if (PragmaToken.is(clang::tok::eod) || PragmaToken.is(clang::tok::eof)) { in HandlePragma()
108 if (NextTok.is(clang::tok::r_paren)) { in HandlePragma()
114 } while (PragmaToken.isNot(clang::tok::eod)); in HandlePragma()
201 if (PragmaToken.isNot(clang::tok::l_paren)) in handleItemListPragma()
204 while (PragmaToken.isNot(clang::tok::eod)) { in handleItemListPragma()
207 if (PragmaToken.is(clang::tok::identifier)) in handleItemListPragma()
212 slangAssert(PragmaToken.isNot(clang::tok::eod)); in handleItemListPragma()
216 if (PragmaToken.isNot(clang::tok::comma)) in handleItemListPragma()
[all …]
Dslang_pragma_recorder.cpp32 else if (Token.is(clang::tok::identifier)) in GetPragmaNameFromToken()
43 if (Token.is(clang::tok::r_paren)) in GetPragmaValueFromToken()
67 if (NextToken->is(clang::tok::l_paren)) in HandlePragma()
84 if (!NextToken->is(clang::tok::r_paren)) { in HandlePragma()
86 if (NextToken->is(clang::tok::r_paren)) { in HandlePragma()
Dslang.cpp415 } while (Tok.isNot(clang::tok::eof)); in generateDepFile()
/frameworks/base/services/java/com/android/server/
DStatusBarManagerService.java545 DisableRecord tok = null; in manageDisableListLocked() local
550 tok = t; in manageDisableListLocked()
555 if (tok != null) { in manageDisableListLocked()
557 tok.token.unlinkToDeath(tok, 0); in manageDisableListLocked()
560 if (tok == null) { in manageDisableListLocked()
561 tok = new DisableRecord(); in manageDisableListLocked()
562 tok.userId = userId; in manageDisableListLocked()
564 token.linkToDeath(tok, 0); in manageDisableListLocked()
569 mDisableRecords.add(tok); in manageDisableListLocked()
571 tok.what = what; in manageDisableListLocked()
[all …]
DNetworkManagementService.java1316 final StringTokenizer tok = new StringTokenizer(event.getMessage()); in getNetworkStatsTethering() local
1317 tok.nextToken(); in getNetworkStatsTethering()
1318 tok.nextToken(); in getNetworkStatsTethering()
1326 entry.rxBytes = Long.parseLong(tok.nextToken()); in getNetworkStatsTethering()
1327 entry.rxPackets = Long.parseLong(tok.nextToken()); in getNetworkStatsTethering()
1328 entry.txBytes = Long.parseLong(tok.nextToken()); in getNetworkStatsTethering()
1329 entry.txPackets = Long.parseLong(tok.nextToken()); in getNetworkStatsTethering()
DMountService.java724 String[] tok = volstr.split(" "); in onDaemonConnected() local
726 String path = tok[1]; in onDaemonConnected()
734 int st = Integer.parseInt(tok[2]); in onDaemonConnected()
1595 String[] tok = r[i].split(" "); in getStorageUsers() local
1597 data[i] = Integer.parseInt(tok[0]); in getStorageUsers()
1599 Slog.e(TAG, String.format("Error parsing pid %s", tok[0])); in getStorageUsers()
/frameworks/native/opengl/tools/glgen/src/
DCFunc.java141 String tok = tokens[i++]; in parseCFunc() local
143 if (tok.equals("(")) { in parseCFunc()
146 if (tok.equals(")")) { in parseCFunc()
152 String argTypeName = tok; in parseCFunc()
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java7120 AppWindowToken tok = mAppTokens.get(i); in handleMessage() local
7121 if (tok.mAppAnimator.freezingScreen) { in handleMessage()
7122 Slog.w(TAG, "Force clearing freeze: " + tok); in handleMessage()
7123 unsetAppFreezingScreenLocked(tok, true, true); in handleMessage()