Lines Matching defs:spath
48 char *spath = NULL;
56 spath = LOS_MemAlloc(m_aucSysMem0, PATH_MAX + 1);
57 if (spath == NULL) {
62 ret = LOS_StrncpyFromUser(spath, path, PATH_MAX + 1);
64 LOS_MemFree(m_aucSysMem0, spath);
67 LOS_MemFree(m_aucSysMem0, spath);
71 spath[ret] = '\0';
74 LOS_MemFree(m_aucSysMem0, spath);
79 ret = utime(spath, ptimes ? &sptimes : NULL);
84 LOS_MemFree(m_aucSysMem0, spath);