Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_rs_pragma_handler.cpp95 if (PragmaToken.isNot(clang::tok::l_paren)) in HandlePragma()
98 while (PragmaToken.isNot(clang::tok::eod)) { in HandlePragma()
108 if (PragmaToken.is(clang::tok::eod) || PragmaToken.is(clang::tok::eof)) { in HandlePragma()
113 if (NextTok.is(clang::tok::r_paren)) { in HandlePragma()
119 } while (PragmaToken.isNot(clang::tok::eod)); in HandlePragma()
160 while (PragmaToken.is(clang::tok::identifier)) { in HandlePragma()
166 if (PragmaToken.isNot(clang::tok::eod)) { in HandlePragma()
277 if (PragmaToken.isNot(clang::tok::identifier) || in ProcessKeywordAndValue()
304 if (PragmaToken.isNot(clang::tok::l_paren)) { in ProcessKeywordAndValue()
315 if (PragmaToken.isNot(clang::tok::identifier)) { in ProcessKeywordAndValue()
[all …]
Dslang.cpp393 } while (Tok.isNot(clang::tok::eof)); in generateDepFile()
/frameworks/native/opengl/tools/glgen/src/
DCFunc.java141 String tok = tokens[i++]; in parseCFunc() local
143 if (tok.equals("(")) { in parseCFunc()
144 tok = tokens[i++]; in parseCFunc()
145 if (tok.equals("void")) { in parseCFunc()
149 if (tok.equals(")")) { in parseCFunc()
155 String argTypeName = tok; in parseCFunc()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java869 DisableRecord tok = null; in manageDisableListLocked() local
874 tok = t; in manageDisableListLocked()
879 if (tok != null) { in manageDisableListLocked()
881 tok.token.unlinkToDeath(tok, 0); in manageDisableListLocked()
884 if (tok == null) { in manageDisableListLocked()
885 tok = new DisableRecord(); in manageDisableListLocked()
886 tok.userId = userId; in manageDisableListLocked()
888 token.linkToDeath(tok, 0); in manageDisableListLocked()
893 mDisableRecords.add(tok); in manageDisableListLocked()
896 tok.what1 = what; in manageDisableListLocked()
[all …]
/frameworks/compile/mclinker/lib/Object/
DSectionMap.cpp347 for (RpnExpr::iterator tok = (*dot).getRpnExpr().begin(), in fixupDotSymbols() local
349 tok != tokEnd; in fixupDotSymbols()
350 ++tok) { in fixupDotSymbols()
351 if ((*tok)->kind() == ExprToken::OPERAND && in fixupDotSymbols()
352 llvm::cast<Operand>(*tok)->isDot()) in fixupDotSymbols()
353 *tok = &((*ref).symbol()); in fixupDotSymbols()
368 for (RpnExpr::iterator tok = (*it)->prolog().vma().begin(), in fixupDotSymbols() local
370 tok != tokEnd; in fixupDotSymbols()
371 ++tok) { in fixupDotSymbols()
372 if ((*tok)->kind() == ExprToken::OPERAND && in fixupDotSymbols()
[all …]
/frameworks/base/tools/aapt2/util/
DUtil.h241 iterator(BasicStringPiece<Char> s, Char sep, BasicStringPiece<Char> tok, bool end);
306 BasicStringPiece<Char> tok, bool end) : in iterator() argument
307 mStr(s), mSeparator(sep), mToken(tok), mEnd(end) { in iterator()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1951 final StringTokenizer tok = new StringTokenizer(event.getMessage()); in getNetworkStatsTethering() local
1953 final String ifaceIn = tok.nextToken(); in getNetworkStatsTethering()
1954 final String ifaceOut = tok.nextToken(); in getNetworkStatsTethering()
1961 entry.rxBytes = Long.parseLong(tok.nextToken()); in getNetworkStatsTethering()
1962 entry.rxPackets = Long.parseLong(tok.nextToken()); in getNetworkStatsTethering()
1963 entry.txBytes = Long.parseLong(tok.nextToken()); in getNetworkStatsTethering()
1964 entry.txPackets = Long.parseLong(tok.nextToken()); in getNetworkStatsTethering()
DMountService.java2093 String[] tok = r[i].split(" "); in getStorageUsers() local
2095 data[i] = Integer.parseInt(tok[0]); in getStorageUsers()
2097 Slog.e(TAG, String.format("Error parsing pid %s", tok[0])); in getStorageUsers()
/frameworks/native/cmds/installd/
Dcommands.cpp680 char *tok; in split() local
683 while((tok = strtok_r(pBuf, " ", &ctx)) != NULL) { in split()
684 argv[count++] = tok; in split()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java8517 AppWindowToken tok = tokens.get(tokenNdx); in handleMessage() local
8518 if (tok.mAppAnimator.freezingScreen) { in handleMessage()
8519 Slog.w(TAG_WM, "Force clearing freeze: " + tok); in handleMessage()
8520 unsetAppFreezingScreenLocked(tok, true, true); in handleMessage()