HomeSort by relevance Sort by last modified time
    Searched refs: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 89 char *ctoken = strsep(&src, ","), *dtoken; local
91 if (!ctoken) break;
92 if (!*ctoken) return 1;
95 dtoken = strsep(&ctoken, "-");
101 if (!ctoken) {
104 else if (*ctoken) {// e.g. N-M
105 if (isdigit(*ctoken)) {
106 if (getval(ctoken, min, (min ? max : max-1)) < 0) return 1;
107 } else if (getindex(ctoken, max) < 0) return 1;
crond.c 165 char *ctoken = strsep(&src, ","), *dtoken; local
167 if (!ctoken) break;
168 if (!*ctoken) goto ERROR;
171 dtoken = strsep(&ctoken, "-");
178 if (!ctoken) end = -1; // e.g. N1,N2,N3
179 else if (*ctoken) {// e.g. N-M
180 if (isdigit(*ctoken)) {
181 if ((end = getval(ctoken, min, (min ? max : max-1))) < 0) goto ERROR;
183 } else if ((end = getindex(ctoken, max)) < 0) goto ERROR;

Completed in 915 milliseconds