/external/harfbuzz_ng/src/ |
H A D | hb-buffer-deserialize-text.hh | 337 const char *eof = pe, *tok = NULL; local 375 tok = p; 382 tok, p - tok, 389 { if (!parse_uint (tok, p, &info.cluster )) return false; } 393 { if (!parse_int (tok, p, &pos.x_offset )) return false; } 397 { if (!parse_int (tok, p, &pos.y_offset )) return false; } 401 { if (!parse_int (tok, p, &pos.x_advance)) return false; } 411 tok = p; 418 tok, [all...] |
H A D | hb-buffer-deserialize-json.hh | 460 const char *tok = NULL; local 515 tok = p; 522 tok, p - tok, 529 { if (!parse_uint (tok, p, &info.codepoint)) return false; } 533 { if (!parse_uint (tok, p, &info.cluster )) return false; } 537 { if (!parse_int (tok, p, &pos.x_offset )) return false; } 541 { if (!parse_int (tok, p, &pos.y_offset )) return false; } 545 { if (!parse_int (tok, p, &pos.x_advance)) return false; } 549 { if (!parse_int (tok, [all...] |
/external/skia/third_party/harfbuzz/ |
H A D | hb-buffer-deserialize-text.hh | 337 const char *eof = pe, *tok = NULL; local 375 tok = p; 382 tok, p - tok, 389 { if (!parse_uint (tok, p, &info.cluster )) return false; } 393 { if (!parse_int (tok, p, &pos.x_offset )) return false; } 397 { if (!parse_int (tok, p, &pos.y_offset )) return false; } 401 { if (!parse_int (tok, p, &pos.x_advance)) return false; } 411 tok = p; 418 tok, [all...] |
H A D | hb-buffer-deserialize-json.hh | 460 const char *tok = NULL; local 515 tok = p; 522 tok, p - tok, 529 { if (!parse_uint (tok, p, &info.codepoint)) return false; } 533 { if (!parse_uint (tok, p, &info.cluster )) return false; } 537 { if (!parse_int (tok, p, &pos.x_offset )) return false; } 541 { if (!parse_int (tok, p, &pos.y_offset )) return false; } 545 { if (!parse_int (tok, p, &pos.x_advance)) return false; } 549 { if (!parse_int (tok, [all...] |
/external/clang/lib/AST/ |
H A D | CommentParser.cpp | 30 /// Re-lexes a sequence of tok::text tokens. 100 if (P.Tok.is(tok::newline)) { 104 if (P.Tok.isNot(tok::text)) { 110 if (P.Tok.isNot(tok::text)) { 137 Result.setKind(tok::text); 312 assert(Tok.is(tok::backslash_command) || Tok.is(tok::at_command)); 319 Tok.is(tok::backslash_command) ? CMK_Backslash : CMK_At; 374 else if (Tok.is(tok::newline)) { 404 assert(Tok.is(tok [all...] |
H A D | CommentBriefParser.cpp | 71 while (Tok.isNot(tok::eof)) { 72 if (Tok.is(tok::text)) { 81 if (Tok.is(tok::backslash_command) || Tok.is(tok::at_command)) { 106 if (Tok.is(tok::newline)) { 118 if (Tok.is(tok::text)) { 123 if (Tok.is(tok::newline)) {
|
/external/ltp/lib/ |
H A D | self_exec.c | 74 char *p, *tok; local 95 tok = strtok(NULL, ","); 96 if (!tok || strlen(tok) == 0) { 104 i = strtol(tok, &endptr, 10); 113 i = strtol(tok, &endptr, 10); 126 if (!strncpy(s, tok, strlen(tok) + 1)) { 133 *sptr = strdup(tok);
|
/external/ltp/testcases/kernel/fs/acls/ |
H A D | acl_file_test.c | 13 char *tok; local 42 tok = strtok(list, "\0"); 43 s = fgetxattr(fd, tok, (void *)value, 1024); 48 s = fsetxattr(fd, tok, (void *)value, s, 0); 57 //s = syscall(237, fd,tok); //fremovexattr 59 s = syscall(__NR_fremovexattr, fd, tok); //fremovexattr
|
/external/clang/lib/Format/ |
H A D | FormatToken.h | 193 tok::TokenKind ParentBracket = tok::unknown; 282 bool is(tok::TokenKind Kind) const { return Tok.is(Kind); } 287 bool is(tok::PPKeywordKind Kind) const { 314 bool isStringLiteral() const { return tok::isStringLiteral(Tok.getKind()); } 316 bool isObjCAtKeyword(tok::ObjCKeywordKind Kind) const { 321 return isOneOf(tok::kw_public, tok::kw_protected, tok::kw_private) && 322 (!ColonRequired || (Next && Next->is(tok [all...] |
H A D | UnwrappedLineFormatter.cpp | 24 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && 25 NextNext && NextNext->is(tok::l_brace); 77 if ((!Line.First->is(tok::comment) || IndentForLevel[Line.Level] == -1) && 94 RootToken.Next && RootToken.Next->is(tok::colon))) 193 I[1]->First->is(tok::r_brace)) || 201 if (TheLine->Last->is(tok::l_brace)) { 226 if (TheLine->First->is(tok::kw_if)) { 231 if (TheLine->First->isOneOf(tok::kw_for, tok::kw_while)) { 236 if (TheLine->First->isOneOf(tok [all...] |
H A D | ContinuationIndenter.cpp | 60 return Previous.is(tok::comma) && !Current.isTrailingComment() && 108 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && 111 Previous.Previous->isOneOf(tok::l_brace, tok::l_paren, tok::comma)) 118 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && 127 if (Previous.is(tok::l_brace) && State.Stack.size() > 1 && 150 if (Previous.is(tok::semi) && State.LineContainsContinuedForLoopSection) 152 if ((startsNextParameter(Current, Style) || Previous.is(tok::semi) || 161 Previous.isNot(tok [all...] |
/external/toybox/toys/pending/ |
H A D | expr.c | 60 char **tok; // current token, not on the stack since recursive calls mutate it 135 char *tok; member in struct:op_def 214 if (!*TT.tok) error_exit("Unexpected end of input"); 217 if (!strcmp(*TT.tok, "(")) { // parenthesized expression 218 TT.tok++; // consume ( 222 if (!*TT.tok) error_exit("Expected )"); 223 if (strcmp(*TT.tok, ")")) error_exit("Expected ) but got %s", *TT.tok); 224 } else ret->s = *TT.tok; // simple literal, all values start as strings 225 TT.tok [all...] |
/external/clang/include/clang/Basic/ |
H A D | OperatorPrecedence.h | 47 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
|
/external/selinux/libsepol/cil/src/ |
H A D | cil_lexer.h | 53 int cil_lexer_next(struct token *tok);
|
/external/tcpdump/ |
H A D | nlpid.c | 25 const struct tok nlpid_values[] = {
|
H A D | nlpid.h | 16 extern const struct tok nlpid_values[];
|
H A D | openflow.h | 43 extern const struct tok onf_exp_str[];
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ANY/ |
H A D | ISDN.py | 43 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 44 address = tok.get_string() 45 t = tok.get() 47 tok.unget(t) 48 subaddress = tok.get_string() 50 tok.unget(t) 52 tok.get_eol()
|
H A D | SSHFP.py | 47 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 48 algorithm = tok.get_uint8() 49 fp_type = tok.get_uint8() 50 fingerprint = tok.get_string() 52 tok.get_eol()
|
/external/clang/lib/Frontend/Rewrite/ |
H A D | RewriteMacros.cpp | 53 if (!ReturnComment && RawTokens[CurTok].is(tok::comment)) 81 if (RawTok.is(tok::raw_identifier)) 85 } while (RawTok.isNot(tok::eof)); 114 while (RawTok.isNot(tok::eof) || PPTok.isNot(tok::eof)) { 127 if (RawTok.is(tok::hash) && RawTok.isAtStartOfLine()) { 130 if (RawTokens[CurRawTok].is(tok::identifier)) { 136 RawTokens[CurRawTok+1].is(tok::identifier) && 147 while (!RawTok.isAtStartOfLine() && RawTok.isNot(tok::eof)) 179 if (RawTok.is(tok [all...] |
/external/selinux/libselinux/src/ |
H A D | context.c | 29 const char *p, *tok; local 63 for (i = 0, tok = str; *tok; i++) { 65 for (p = tok; *p && *p != ':'; p++) { /* empty */ 68 for (p = tok; *p; p++) { /* empty */ 71 n->component[i] = (char *)malloc(p - tok + 1); 74 strncpy(n->component[i], tok, p - tok); 75 n->component[i][p - tok] = '\0'; 76 tok [all...] |
/external/libvpx/libvpx/vp8/common/ |
H A D | treecoder.c | 43 vp8_token tok[/* n */], vp8_tree tree, 58 int L = tok[t].Len; 59 const int enc = tok[t].value; 78 vp8_token tok[/* n */], vp8_tree tree, 86 branch_counts(n, tok, tree, branch_ct, num_events);
|
/external/clang/lib/Lex/ |
H A D | MacroArgs.cpp | 105 for (; ArgPtr->isNot(tok::eof); ++ArgPtr) 121 if (Result->is(tok::eof)) 135 for (; ArgTok->isNot(tok::eof); ++ArgTok) 175 } while (Result.back().isNot(tok::eof)); 200 Tok.setKind(Charify ? tok::char_constant : tok::string_literal); 209 for (; ArgToks->isNot(tok::eof); ++ArgToks) { 217 if (tok::isStringLiteral(Tok.getKind()) || // "foo", u8R"x(foo)x"_bar, etc. 218 Tok.is(tok::char_constant) || // 'x' 219 Tok.is(tok [all...] |
/external/v8/src/parsing/ |
H A D | token.h | 192 static const char* Name(Value tok) { argument 193 DCHECK(tok < NUM_TOKENS); // tok is unsigned 194 return name_[tok]; 198 static bool IsKeyword(Value tok) { 199 return token_type[tok] == 'K'; 202 static bool IsIdentifier(Value tok, LanguageMode language_mode, 204 switch (tok) { 224 static bool IsAssignmentOp(Value tok) { 225 return INIT <= tok [all...] |
/external/clang/lib/Parse/ |
H A D | ParseStmtAsm.cpp | 194 const tok::TokenKind EndOfStream = tok::semi; 219 if (Tok.is(tok::kw_this)) { 235 while (Result.isUsable() && Tok.is(tok::period)) { 237 if (IdTok.isNot(tok::identifier)) 296 if (!isNewStatement && (Tok.is(tok::kw_asm) || Tok.isAtStartOfLine())) { 310 if (Tok.is(tok::kw_asm)) { 344 case tok::kw_const: 345 case tok::kw_volatile: 346 case tok [all...] |