Lines Matching defs:tmpPath
103 char tmpPath[BUFFER_SIZE] = {0};
104 int num = sprintf_s(tmpPath, BUFFER_SIZE, "%s/non_existing_dir", OPEN_API_TEST_FILE);
108 int ret = lremovexattr(tmpPath, name);
123 char tmpPath[BUFFER_SIZE] = {0};
124 int num = sprintf_s(tmpPath, BUFFER_SIZE, "%s/existing_file.txt", OPEN_API_TEST_FILE);
127 int fd = open(tmpPath, O_WRONLY | O_CREAT, 0644);
134 int result = setxattr(tmpPath, name, setValue, size, 0);
137 int ret = lremovexattr(tmpPath, name);
140 remove(tmpPath);
155 char tmpPath[BUFFER_SIZE] = {0};
156 int num = sprintf_s(tmpPath, BUFFER_SIZE, "%s/existing_file.txt", OPEN_API_TEST_FILE);
159 int fd = open(tmpPath, O_WRONLY | O_CREAT, 0644);
164 int ret = lremovexattr(tmpPath, name);
167 remove(tmpPath);
181 char tmpPath[BUFFER_SIZE] = {0};
182 int num = sprintf_s(tmpPath, BUFFER_SIZE, "%s/non_existing_file.txt", OPEN_API_TEST_FILE);
186 int ret = lremovexattr(tmpPath, name);