Searched defs:tok (Results 1 - 25 of 147) sorted by relevance

123456

/external/fio/lib/
H A Dstrsep.c5 char *s, *tok; local
13 tok = s;
25 return tok;
/external/tcpdump/missing/
H A Dstrsep.c64 char *tok; local
68 for (tok = s;;) {
78 return (tok);
/external/chromium_org/net/http/
H A Dhttp_auth_handler_ntlm.cc24 bool HttpAuthHandlerNTLM::Init(HttpAuthChallengeTokenizer* tok) { argument
29 return ParseChallenge(tok, true) == HttpAuth::AUTHORIZATION_RESULT_ACCEPT;
104 HttpAuthChallengeTokenizer* tok, bool initial_challenge) {
107 return auth_sspi_.ParseChallenge(tok);
117 if (!LowerCaseEqualsASCII(tok->scheme(), "ntlm"))
120 std::string base64_param = tok->base64_param();
103 ParseChallenge( HttpAuthChallengeTokenizer* tok, bool initial_challenge) argument
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/tgsi/
H A Dcompiler.cpp41 std::string name, tok; local
51 while (ts >> tok) {
52 if (tok == "scalar")
54 else if (tok == "global")
56 else if (tok == "local")
58 else if (tok == "constant")
60 else if (tok == "image2d_rd")
62 else if (tok == "image2d_wr")
64 else if (tok == "image3d_rd")
66 else if (tok
[all...]
/external/chromium_org/v8/src/
H A Dtoken.h180 static const char* Name(Value tok) { argument
181 DCHECK(tok < NUM_TOKENS); // tok is unsigned
182 return name_[tok];
186 static bool IsKeyword(Value tok) {
187 return token_type[tok] == 'K';
190 static bool IsAssignmentOp(Value tok) {
191 return INIT_VAR <= tok && tok <= ASSIGN_MOD;
276 static const char* String(Value tok) {
[all...]
/external/iproute2/tc/
H A Dq_mqprio.c62 char *tmp, *tok; local
71 tok = strtok(tmp, "@");
72 if (get_u16(&opt.count[idx], tok, 10)) {
77 tok = strtok(NULL, "@");
78 if (get_u16(&opt.offset[idx], tok, 10)) {
/external/mesa3d/src/gallium/state_trackers/clover/tgsi/
H A Dcompiler.cpp41 std::string name, tok; local
51 while (ts >> tok) {
52 if (tok == "scalar")
54 else if (tok == "global")
56 else if (tok == "local")
58 else if (tok == "constant")
60 else if (tok == "image2d_rd")
62 else if (tok == "image2d_wr")
64 else if (tok == "image3d_rd")
66 else if (tok
[all...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DHeaderParser.java52 String tok = lexer.ttoken();
53 String id = tok.toLowerCase();
184 protected void headerName(int tok) throws ParseException { argument
185 this.lexer.match(tok);
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dscanner.h9 unsigned char *bot, *tok, *ptr, *cur, *pos, *lim, *top, *eof; member in struct:Scanner
26 SubStr_init_u(&r, s->tok, s->cur - s->tok);
H A Dparser.c196 int tok = peektok; local
199 return tok;
/external/clang/unittests/Lex/
H A DPPConditionalDirectiveRecordTest.cpp111 Token tok; local
112 PP.Lex(tok);
113 if (tok.is(tok::eof))
115 toks.push_back(tok);
/external/jsmn/
H A Djsmn.c10 jsmntok_t *tok; local
14 tok = &tokens[parser->toknext++];
15 tok->start = tok->end = -1;
16 tok->size = 0;
18 tok->parent = -1;
20 return tok;
/external/nist-sip/java/gov/nist/javax/sip/header/ims/
H A DPVisitedNetworkID.java74 public PVisitedNetworkID(Token tok) { argument
77 setVisitedNetworkID(tok.getTokenValue());
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-buffer-deserialize-json.hh460 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...]
H A Dhb-buffer-deserialize-text.hh337 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...]
/external/clang/include/clang/Basic/
H A DTokenKinds.h22 namespace tok { namespace in namespace:clang
74 return (K == tok::identifier) || (K == tok::raw_identifier);
80 return K == tok::string_literal || K == tok::wide_string_literal ||
81 K == tok::utf8_string_literal || K == tok::utf16_string_literal ||
82 K == tok::utf32_string_literal;
88 return K == tok::numeric_constant || K == tok
[all...]
/external/harfbuzz_ng/src/
H A Dhb-buffer-deserialize-json.hh460 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...]
H A Dhb-buffer-deserialize-text.hh337 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...]
/external/libselinux/src/
H A Dcontext.c29 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/llvm/tools/llvm-c-test/
H A Dcalc.c50 char tok = tokens[i][0]; local
51 switch (tok) {
64 stack[depth - 2] = LLVMBuildBinOp(builder, op_to_opcode(tok),
/external/qemu/distrib/libselinux/src/
H A Dcontext.c29 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/bison/src/
H A Dgraphviz.c145 print_token (struct obstack *out, bool first, char const *tok) argument
147 char const *q = escape (tok);
/external/chromium_org/net/tools/flip_server/
H A Doutput_ordering.cc69 const EpollServer::AlarmRegToken& tok,
72 pmp_->alarm_token = tok;
68 OnRegistration( const EpollServer::AlarmRegToken& tok, EpollServer* eps) argument
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dfile.h40 unsigned char *tok; /**< Start of token */ member in struct:yasm_scanner
/external/iproute2/misc/
H A Dlnstat_util.c122 char *tok; local
125 tok = strtok(buf, " \t\n");
128 strncpy(lf->fields[i].name, tok, LNSTAT_MAX_FIELD_NAME_LEN);
131 tok = strtok(NULL, " \t\n");
132 if (!tok) {

Completed in 789 milliseconds

123456