Lines Matching refs:path
68 FILE* sk_fopen(const char path[], SkFILE_Flags flags) {
82 file = fopen_win(path, perm);
84 file = fopen(path, perm);
87 // if not found in default path and read-only, try to open from bundle
90 if (ios_get_path_in_bundle(path, &bundlePath)) {
98 path, perm, errno, strerror(errno));
153 bool sk_isdir(const char *path) {
155 if (0 != stat(path, &status)) {
157 // check the bundle directory if not in default path
159 if (ios_get_path_in_bundle(path, &bundlePath)) {
171 bool sk_mkdir(const char* path) {
172 if (sk_isdir(path)) {
175 if (sk_exists(path)) {
177 "sk_mkdir: path '%s' already exists but is not a directory\n",
178 path);
184 retval = _mkdir(path);
186 retval = mkdir(path, 0777);