OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:ctoken
(Results
1 - 3
of
3
) sorted by null
/external/toybox/toys/posix/
cut.c
74
char *
ctoken
= strsep(&list, ","), *dtoken;
local
77
if (!
ctoken
) break;
78
if (!*
ctoken
) continue;
81
if (*(dtoken = strsep(&
ctoken
, "-"))) {
87
if (!
ctoken
) end = -1; //case e.g. 1,2,3
88
else if (*
ctoken
) {//case e.g. N-M
89
end = atolx_range(
ctoken
, 0, INT_MAX);
/external/toybox/toys/pending/
crontab.c
88
char *
ctoken
= strsep(&src, ","), *dtoken;
local
90
if (!
ctoken
) break;
91
if (!*
ctoken
) return 1;
94
dtoken = strsep(&
ctoken
, "-");
100
if (!
ctoken
) {
103
else if (*
ctoken
) {// e.g. N-M
104
if (isdigit(*
ctoken
)) {
105
if (getval(
ctoken
, min, (min ? max : max-1)) < 0) return 1;
106
} else if (getindex(
ctoken
, max) < 0) return 1;
crond.c
164
char *
ctoken
= strsep(&src, ","), *dtoken;
local
166
if (!
ctoken
) break;
167
if (!*
ctoken
) goto ERROR;
170
dtoken = strsep(&
ctoken
, "-");
177
if (!
ctoken
) end = -1; // e.g. N1,N2,N3
178
else if (*
ctoken
) {// e.g. N-M
179
if (isdigit(*
ctoken
)) {
180
if ((end = getval(
ctoken
, min, (min ? max : max-1))) < 0) goto ERROR;
182
} else if ((end = getindex(
ctoken
, max)) < 0) goto ERROR;
Completed in 121 milliseconds