Lines Matching defs:path
51 char path[pathLen] = {0};
63 if (sprintf_s(path, sizeof(path), "%spicture_%ld.jpeg", prefix, start.tv_usec) < 0) {
68 imgFD = open(path, O_RDWR | O_CREAT, 00766); // 00766:file operate permission
74 CAMERA_LOGD("demo test:StoreImage %{public}s size == %{public}d", path, size);
98 char path[pathLen] = {0};
105 if (sprintf_s(path, sizeof(path), "%svideo%ld.h264", prefix, seconds) < 0) {
109 videoFd_ = open(path, O_RDWR | O_CREAT, 00766); // 00766:file operate permission
111 CAMERA_LOGE("demo test: StartVideo open %s %{public}s failed", path, strerror(errno));
177 char path[PATH_MAX] = {0};
178 ret = sprintf_s(path, sizeof(path) / sizeof(path[0]), "/mnt/yuv/%s_%lld.yuv", type, GetCurrentLocalTimeStamp());
183 CAMERA_LOGI("%s, save yuv to file %s", __FUNCTION__, path);
185 int imgFd = open(path, O_RDWR | O_CREAT, 00766); // 00766: file permissions