Lines Matching refs:mPath
47 static S32 OsVfsFindMpByPath(const char *mPath, const char *iPath)
52 while ((*mPath == '/') && (*(mPath + 1) != '/')) {
53 mPath++;
59 t = strchr(mPath, '/');
61 t = strchr(mPath, '\0');
63 if ((t == mPath) || (t == NULL)) {
66 if (strncmp(mPath, iPath, (size_t)(t - mPath)) != 0) {
70 iPath += (t - mPath);
75 matches += (t - mPath);
76 mPath += (t - mPath);
77 } while (*mPath != '\0');
98 while ((mp != NULL) && (mp->mPath != NULL)) {
99 matches = OsVfsFindMpByPath(mp->mPath, path);
135 if (mp->mPath != NULL) {
136 free((void *)mp->mPath);
191 mp->mPath = strdup(target);
192 if (mp->mPath == NULL) {
240 free((void *)mp->mPath);
294 free((void *)mp->mPath);