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

1234567

/external/fio/lib/
H A Dstrsep.c5 char *s, *tok; local
13 tok = s;
25 return tok;
/external/ltp/testcases/kernel/fs/acls/
H A Dacl_file_test.c13 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
H A Dacl_link_test.c12 char *tok; local
31 tok = strtok(list, "\0");
32 s = getxattr(argv[1], tok, (void *)value, 1024);
38 s = lsetxattr(argv[1], tok, (void *)value, s, 0);
47 s = lremovexattr(argv[1], tok);
/external/openssh/openbsd-compat/
H A Dstrsep.c58 char *tok; local
62 for (tok = s;;) {
72 return (tok);
/external/tcpdump/missing/
H A Dstrsep.c61 char *tok; local
65 for (tok = s;;) {
75 return (tok);
/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/v8/src/parsing/
H A Dtoken.h192 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/unittests/Lex/
H A DPPConditionalDirectiveRecordTest.cpp110 Token tok; local
111 PP.Lex(tok);
112 if (tok.is(tok::eof))
114 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/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/curl/lib/
H A Dnetrc.c116 char *tok; local
123 tok=strtok_r(netrcbuffer, " \t\n", &tok_buf);
124 while(!done && tok) {
133 if(Curl_raw_equal("machine", tok)) {
134 /* the next tok is the machine name, this is in itself the
140 else if(Curl_raw_equal("default", tok)) {
146 if(Curl_raw_equal(host, tok)) {
159 state_our_login = Curl_raw_equal(*loginp, tok);
163 *loginp = strdup(tok);
174 *passwordp = strdup(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/llvm/tools/llvm-c-test/
H A Dcalc.c49 char tok = tokens[i][0]; local
50 switch (tok) {
63 stack[depth - 2] = LLVMBuildBinOp(builder, op_to_opcode(tok),
/external/ltp/lib/
H A Dself_exec.c74 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/selinux/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/skia/third_party/harfbuzz/
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...]
/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/dhcpcd-6.8.2/dbus/
H A Ddbus-dict.c218 char *ns, *p, *tok; local
248 while ((tok = strsep(&p, " ")) != NULL) {
249 if (*tok == '\0')
253 ok = append_sanitized_string(&array, tok);
256 if (strchr(tok, '.') != NULL &&
257 inet_aton(tok, &in) == 1)
260 u32 = strtoul(tok, NULL, 0);
/external/iproute2/misc/
H A Dlnstat_util.c118 char *tok; local
121 tok = strtok(buf, " \t\n");
124 strncpy(lf->fields[i].name, tok, LNSTAT_MAX_FIELD_NAME_LEN);
127 tok = strtok(NULL, " \t\n");
128 if (!tok) {
/external/libedit/examples/
H A Dtc1.c132 Tokenizer *tok; local
150 tok = tok_init(NULL); /* Initialize the tokenizer */
206 ncontinuation = tok_line(tok, li, &ac, &av, &cc, &co);
301 tok_reset(tok);
305 tok_end(tok);
/external/selinux/libsemanage/tests/
H A Dtest_utilities.c296 char *tok; local
300 tok = semanage_findval(fname, "one", NULL);
301 CU_ASSERT_STRING_EQUAL(tok, "");
302 free(tok);
304 tok = semanage_findval(fname, "one", "");
305 CU_ASSERT_STRING_EQUAL(tok, "");
306 free(tok);
308 tok = semanage_findval(fname, "sigma", "=");
309 CU_ASSERT_STRING_EQUAL(tok, "foo");
310 free(tok);
[all...]

Completed in 801 milliseconds

1234567