Lines Matching defs:separator
140 int ParseFstabPerLine(char *str, Fstab *fstab, bool procMounts, const char *separator)
146 BEGET_ERROR_CHECK(separator != NULL && *separator != '\0', return -1, "Invalid separator for parsing fstab");
155 BEGET_ERROR_CHECK((p = strtok_r(str, separator, &rest)) != NULL, break, "Failed to parse block device.");
159 BEGET_ERROR_CHECK((p = strtok_r(NULL, separator, &rest)) != NULL, break, "Failed to parse mount point.");
163 BEGET_ERROR_CHECK((p = strtok_r(NULL, separator, &rest)) != NULL, break, "Failed to parse fs type.");
167 BEGET_ERROR_CHECK((p = strtok_r(NULL, separator, &rest)) != NULL, break, "Failed to parse mount options.");
171 if ((p = strtok_r(NULL, separator, &rest)) == NULL) {
521 * We separate them by spaces in fstab.required file, but the separator is '@' in CmdLine.