Searched defs:tok (Results 51 - 75 of 169) sorted by relevance

1234567

/external/mesa3d/src/gallium/drivers/nv30/
H A Dnvfx_vertprog.c896 const union tgsi_full_token *tok = &p.FullToken; local
899 switch(tok->Token.Type) {
H A Dnvfx_fragprog.c1027 const union tgsi_full_token *tok = &p.FullToken; local
1030 switch(tok->Token.Type) {
/external/clang/lib/ARCMigrate/
H A DTransforms.cpp160 Token tok; local
161 lexer.LexFromRawLexer(tok);
162 if (tok.isNot(tok::semi)) {
167 return findSemiAfterLocation(tok.getLocation(), Ctx, /*IsDecl*/true);
170 return tok.getLocation();
407 Token tok; local
408 lexer.LexFromRawLexer(tok);
409 if (tok.isNot(tok
488 Token tok; local
[all...]
/external/clang/lib/Parse/
H A DRAIIObjectsForParser.h367 tok::TokenKind Kind, Close, FinalToken;
373 case tok::l_brace: return P.BraceCount;
374 case tok::l_square: return P.BracketCount;
375 case tok::l_paren: return P.ParenCount;
386 BalancedDelimiterTracker(Parser& p, tok::TokenKind k, argument
387 tok::TokenKind FinalToken = tok::semi)
393 case tok::l_brace:
394 Close = tok::r_brace;
397 case tok
[all...]
H A DParser.cpp78 Tok.setKind(tok::eof);
123 static bool IsCommonTypo(tok::TokenKind ExpectedTok, const Token &Tok) {
125 case tok::semi:
126 return Tok.is(tok::colon) || Tok.is(tok::comma); // : or , for ;
131 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID,
133 if (Tok.is(ExpectedTok) || Tok.is(tok::code_completion)) {
144 SourceRange(Loc), tok::getPunctuatorSpelling(ExpectedTok));
161 Spelling = tok::getPunctuatorSpelling(ExpectedTok);
178 if (TryConsumeToken(tok
1382 takeTemplateIdAnnotation(const Token &tok) argument
[all...]
/external/expat/lib/
H A Dxmlrole.c102 int tok,
125 static int FASTCALL common(PROLOG_STATE *state, int tok);
129 int tok,
134 switch (tok) {
161 return common(state, tok);
166 int tok,
171 switch (tok) {
192 return common(state, tok);
197 int tok,
202 switch (tok) {
128 prolog0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
165 prolog1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
196 prolog2(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
217 doctype0(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
235 doctype1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
265 doctype2(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
282 doctype3(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
299 doctype4(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
319 doctype5(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
336 internalSubset(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
393 externalSubset0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
406 externalSubset1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
438 entity0(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
458 entity1(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
475 entity2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
503 entity3(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
520 entity4(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
537 entity5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
560 entity6(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
578 entity7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
606 entity8(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
623 entity9(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
640 entity10(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
657 notation0(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
674 notation1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
698 notation2(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
715 notation3(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
733 notation4(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
754 attlist0(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
772 attlist1(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
793 attlist2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
834 attlist3(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
853 attlist4(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
873 attlist5(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
890 attlist6(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
907 attlist7(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
928 attlist8(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
968 attlist9(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
985 element0(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1003 element1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1033 element2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1073 element3(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1098 element4(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1116 element5(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1137 element6(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1167 element7(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1217 condSect0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1241 condSect1(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1259 condSect2(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1278 declClose(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1305 common(PROLOG_STATE *state, int tok) argument
[all...]
/external/nist-sip/java/gov/nist/core/
H A DLexerCore.java174 Token tok = new Token();
177 tok.tokenValue = id;
181 tok.tokenType = type.intValue();
183 tok.tokenType = ID;
186 tok.tokenValue = String.valueOf(nextChar);
188 tok.tokenType = ALPHA;
190 tok.tokenType = DIGIT;
192 tok.tokenType = (int) nextChar;
194 retval[i] = tok;
204 public Token match(int tok) throw argument
[all...]
/external/tcpdump/
H A Dnetdissect.h74 struct tok { struct
80 extern const char *tok2strbuf(const struct tok *, const char *, u_int,
84 extern const char *tok2str(const struct tok *, const char *, u_int);
85 extern char *bittok2str(const struct tok *, const char *, u_int);
86 extern char *bittok2str_nosep(const struct tok *, const char *, u_int);
/external/toybox/toys/pending/
H A Ddiff.c197 static int read_tok(FILE *fp, off_t *off, int tok) argument
201 tok |= empty;
202 while (!(tok & eol)) {
207 tok |= (t & (eof + eol)); //set tok eof+eol when t is eof
209 if (t == '\n') tok |= eol;
216 if (tok & space) {
218 tok &= ~space;
221 tok &= ~(empty + 0xff); //remove empty and char too.
222 tok |
256 int tok, i, j, size = 100, k; local
[all...]
H A Dmodprobe.c335 char *tok; local
337 while ((tok = strsep(&tmp, " \t"))) {
338 if (!*tok) continue;
339 llist_add_tail(&mod->dep, xstrdup(tok));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/34/1/.cp/ant_tasks/
H A Dpde-ant.jar ... lang.String) String features java.util.StringTokenizer tok org.eclipse.pde.internal.core. ...
/external/icu/icu4c/source/i18n/
H A Dplurrule.cpp907 static UnicodeString tokenString(tokenType tok) { argument
909 switch (tok) {
/external/iptables/extensions/
H A Dlibxt_hashlimit.c405 char *tok; local
411 for (tok = strtok(arg, ",|");
412 tok;
413 tok = strtok(NULL, ",|")) {
414 if (!strcmp(tok, "dstip"))
416 else if (!strcmp(tok, "srcip"))
418 else if (!strcmp(tok, "srcport"))
420 else if (!strcmp(tok, "dstport"))
/external/mdnsresponder/mDNSWindows/mdnsNSP/
H A DmdnsNSP.c2070 char * tok; local
2126 if (( tok = strpbrk(line, "#\n")) != NULL )
2128 *tok = '\0';
2133 if (( tok = strpbrk(line, " \t")) == NULL )
2138 // Create two strings, where p == the IP Address and tok is the name list
2140 *tok++ = '\0';
2142 while ( *tok == ' ' || *tok == '\t')
2144 tok++;
2149 (*hInfo)->m_host.h_name = (char*) malloc( strlen( tok )
[all...]
/external/mksh/src/
H A Dexpr.c79 enum token tok; member in struct:expr_state
132 curstate.tok = BAD;
151 if (es->tok == END) {
152 es->tok = LIT;
157 if (es->tok != END)
182 switch (es->tok) {
198 s = opname[(int)es->tok];
268 switch ((int)(op = es->tok)) {
294 if (es->tok != CLOSE_PAREN)
317 if (es->tok
[all...]
H A Dsyn.c898 nesting_push(struct nesting_state *save, int tok) argument
901 nesting.start_token = tok;
/external/openssh/
H A Dssh-keyscan.c181 char *tok; local
184 tok = xstrsep(stringp, delim);
185 } while (tok && *tok == '\0');
186 return (tok);
/external/vixl/src/aarch64/
H A Ddebugger-aarch64.cc101 static RegisterToken* Cast(Token* tok) { argument
102 VIXL_ASSERT(tok->IsRegister());
103 return reinterpret_cast<RegisterToken*>(tok);
123 static FPRegisterToken* Cast(Token* tok) { argument
124 VIXL_ASSERT(tok->IsFPRegister());
125 return reinterpret_cast<FPRegisterToken*>(tok);
149 static IdentifierToken* Cast(Token* tok) { argument
150 VIXL_ASSERT(tok->IsIdentifier());
151 return reinterpret_cast<IdentifierToken*>(tok);
167 static AddressToken* Cast(Token* tok) { argument
184 Cast(Token* tok) argument
217 Cast(Token* tok) argument
1382 Token* tok = target(); local
[all...]
/external/clang/include/clang/Basic/
H A DDiagnostic.h39 namespace tok { namespace in namespace:clang
1059 tok::TokenKind I) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant-netrexx.jar ... f StringBuffer target String source java.util.StringTokenizer tok
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DNumberFormatTest.java2197 private static int keywordIndex(String tok) { argument
2199 if (tok.equals(KEYWORDS[i])) {
2236 String tok = tokens.next();
2237 if (tok == null) {
2241 int cmd = keywordIndex(tok);
2260 tok = tokens.next();
2261 if (!tok.equals("-")) {
2262 pat = tok;
2353 tok = tokens.next();
2354 if (!tok
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTest.java2196 private static int keywordIndex(String tok) { argument
2198 if (tok.equals(KEYWORDS[i])) {
2235 String tok = tokens.next();
2236 if (tok == null) {
2240 int cmd = keywordIndex(tok);
2259 tok = tokens.next();
2260 if (!tok.equals("-")) {
2261 pat = tok;
2352 tok = tokens.next();
2353 if (!tok
[all...]
/external/kmod/libkmod/
H A Dlibkmod-module.c1835 char *saveptr, *endptr, *tok = strtok_r(line, " \t", &saveptr); local
1839 if (tok == NULL || !streq(tok, mod->name))
1842 tok = strtok_r(NULL, " \t", &saveptr);
1843 if (tok == NULL) {
1849 value = strtol(tok, &endptr, 10);
1850 if (endptr == tok || *endptr != '\0') {
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_bitstream.c372 vpx_writer *w, TOKENEXTRA **tok, const TOKENEXTRA *const tok_end,
393 assert(*tok < tok_end);
394 pack_mb_tokens(w, tok, tok_end, cm->bit_depth);
421 vpx_writer *w, TOKENEXTRA **tok, const TOKENEXTRA *const tok_end,
440 write_modes_b(cpi, xd, tile, w, tok, tok_end, mi_row, mi_col,
445 write_modes_b(cpi, xd, tile, w, tok, tok_end, mi_row, mi_col,
449 write_modes_b(cpi, xd, tile, w, tok, tok_end, mi_row, mi_col,
452 write_modes_b(cpi, xd, tile, w, tok, tok_end, mi_row + bs, mi_col,
456 write_modes_b(cpi, xd, tile, w, tok, tok_end, mi_row, mi_col,
459 write_modes_b(cpi, xd, tile, w, tok, tok_en
370 write_modes_b( VP9_COMP *cpi, MACROBLOCKD *const xd, const TileInfo *const tile, vpx_writer *w, TOKENEXTRA **tok, const TOKENEXTRA *const tok_end, int mi_row, int mi_col, unsigned int *const max_mv_magnitude, int interp_filter_selected[MAX_REF_FRAMES][SWITCHABLE]) argument
419 write_modes_sb( VP9_COMP *cpi, MACROBLOCKD *const xd, const TileInfo *const tile, vpx_writer *w, TOKENEXTRA **tok, const TOKENEXTRA *const tok_end, int mi_row, int mi_col, BLOCK_SIZE bsize, unsigned int *const max_mv_magnitude, int interp_filter_selected[MAX_REF_FRAMES][SWITCHABLE]) argument
489 TOKENEXTRA *tok = NULL; local
[all...]
/external/selinux/libsemanage/src/
H A Dgenhomedircon.c145 char *tok; local
148 tok = strtok(ignoredirs, ";");
149 while(tok) {
153 ptr->dir = strdup(tok);
160 tok = strtok(NULL, ";");

Completed in 1109 milliseconds

1234567