Lines Matching defs:filePath
69 char filePath[PATH_MAX + 1];
250 if (realpath(sample->filePath, resolvedPath) == nullptr) {
297 FILE* pFile = fopen(sample->filePath, "rb");
302 printf("[%s,%d] file:%s\n", __func__, __LINE__, sample->filePath);
339 FILE *fileTmp = fopen(sample.filePath, "rb");
422 std::string uri(sample.filePath);
428 if (lstat(sample.filePath, &stFileState) != 0) {
429 printf("lstat %s failed, please check the file exist, errno:%d\n", sample.filePath, errno);
852 if ((sourceType == 0 || sourceType == 0x2) && (realpath(argv[1], sample.filePath) == nullptr)) {
856 if (memcpy_s(sample.filePath, PATH_MAX, argv[1], strlen(argv[1]) + 1) != 0) {
864 printf("[%s,%d] sourceType:%d, path:%s, pauseAfterPlay:%d\n", __func__, __LINE__, sourceType, sample.filePath,