Home
last modified time | relevance | path

Searched refs:tok_len (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/lib/
Dtst_kconfig.c256 for (i = 0; i < var->tok_len; i++) in print_err()
271 if (var->tok_len < 7 || strncmp(var->tok, "CONFIG_", 7)) { in validate_var()
279 if (i >= var->tok_len) in validate_var()
303 if (i >= var->tok_len) { in validate_var()
316 } while (i < var->tok_len && var->tok[i] != '"'); in validate_var()
318 if (i < var->tok_len - 1) { in validate_var()
333 } while (i < var->tok_len && isalnum(var->tok[i])); in validate_var()
335 if (i < var->tok_len) { in validate_var()
410 vars[cnt].id_len = get_len(j->tok, j->tok_len); in populate_vars()
439 const char *val = strnchr(expr->tok, '=', expr->tok_len); in map()
[all …]
Dtst_bool_expr.c47 static int new_tok(struct tst_expr_tok **last, const char *tok, size_t tok_len) in new_tok() argument
49 if (!tok_len) in new_tok()
56 (*last)->tok_len = tok_len; in new_tok()
108 for (j = 0; j < i->tok_len; j++) in tst_bool_expr_print()
/third_party/ltp/lib/newlib_tests/
Dtst_bool_expr.c19 if (!strncmp(var->tok, "A", var->tok_len)) in map()
22 if (!strncmp(var->tok, "B", var->tok_len)) in map()
25 if (!strncmp(var->tok, "C", var->tok_len)) in map()
28 if (!strncmp(var->tok, "True", var->tok_len)) in map()
31 if (!strncmp(var->tok, "False", var->tok_len)) in map()
/third_party/ltp/include/
Dtst_bool_expr.h22 size_t tok_len; member