Home
last modified time | relevance | path

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

/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/
H A Dfstab.c65 int flagCount = 0; in ConvertFlags() local
68 char **vector = SplitStringExt(flagBuffer, ",", &flagCount, maxCount); in ConvertFlags()
69 BEGET_CHECK_RETURN_VALUE(vector != NULL && flagCount != 0, 0); in ConvertFlags()
71 for (int j = 0; j < flagCount; j++) { in ConvertFlags()
77 FreeStringVector(vector, flagCount); in ConvertFlags()
444 int flagCount = 0; in GetMountFlags() local
452 char **flagsVector = SplitStringExt(mountFlag, ",", &flagCount, maxCount); in GetMountFlags()
454 if (flagsVector == NULL || flagCount == 0) { in GetMountFlags()
459 for (int i = 0; i < flagCount; i++) { in GetMountFlags()
473 if (i == flagCount - 1) { // last flags, do not need to append ',' in GetMountFlags()
[all …]