Home
last modified time | relevance | path

Searched refs:canonicalPath (Results 1 - 1 of 1) sorted by relevance

/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dfile.c159 char *canonicalPath = (char *)malloc(pathLen); in open() local
160 if (!canonicalPath) { in open()
164 if (GetCanonicalPath(NULL, file, canonicalPath, pathLen) == 0) { in open()
165 FREE_AND_SET_NULL(canonicalPath); in open()
169 if (strcmp(canonicalPath, RANDOM_DEV_PATH) == 0) { in open()
170 FREE_AND_SET_NULL(canonicalPath); in open()
181 if (strcmp(canonicalPath, "/") == 0 || strcmp(canonicalPath, "/dev") == 0) { in open()
182 FREE_AND_SET_NULL(canonicalPath); in open()
190 FREE_AND_SET_NULL(canonicalPath); in open()
[all...]

Completed in 1 milliseconds