Lines Matching defs:path
60 static int IsNotValidFname(const char *path)
62 if (path == NULL) {
68 if (strstr(path, "..") != NULL) {
76 static int GetFileSize(const char *path, int *realSize)
84 bool paramInvlid = ((path == NULL) || (IsNotValidFname(path) != 0) || (strlen(path) > PATH_MAX) ||
85 (realpath(path, realPath) == NULL));
124 static int GetFileInfo(int bufLen, uint8_t *buffer, const char *path)
130 bool paramInvlid = ((buffer == NULL) || (path == NULL) || (IsNotValidFname(path) != 0) ||
131 (strlen(path) > PATH_MAX) || (realpath(path, realPath) == NULL) ||