Lines Matching refs:path
27 bool sk_exists(const char *path, SkFILE_Flags flags) {
36 // if the default path fails, check the bundle (but only if read-only)
37 if (0 == access(path, mode)) {
40 return (kRead_SkFILE_Flag == flags && ios_get_path_in_bundle(path, nullptr));
43 return (0 == access(path, mode));
135 SkOSFile::Iter::Iter(const char path[], const char suffix[]) {
137 this->reset(path, suffix);
148 void SkOSFile::Iter::reset(const char path[], const char suffix[]) {
154 self.fPath.set(path);
156 if (path) {
157 self.fDIR = ::opendir(path);
160 if (!self.fDIR && ios_get_path_in_bundle(path, &self.fPath)) {