Lines Matching refs:tmpBuffer
184 char tmpBuffer[TMP_BUF_SIZE]; in PathForResourceWithPathA() local
188 snprintf(tmpBuffer, MAX_PATH, "%s.Resources\\%s", path, nm); in PathForResourceWithPathA()
190 if (!PathFileExistsA(tmpBuffer)) { in PathForResourceWithPathA()
197 snprintf(tmpBuffer, TMP_BUF_SIZE, in PathForResourceWithPathA()
200 if (PathFileExistsA(tmpBuffer)) { in PathForResourceWithPathA()
201 snprintf(tmpBuffer, TMP_BUF_SIZE, "%s\\%s", tmpBuffer, nm); in PathForResourceWithPathA()
203 if (!PathFileExistsA(tmpBuffer)) return 0; in PathForResourceWithPathA()
205 strncpy(locFile, tmpBuffer, locFileLen); in PathForResourceWithPathA()
210 snprintf(tmpBuffer, TMP_BUF_SIZE, "%s.Resources\\%s.lproj\\%s", in PathForResourceWithPathA()
214 if (!PathFileExistsA(tmpBuffer)) return 0; in PathForResourceWithPathA()
217 strncpy(locFile, tmpBuffer, locFileLen); in PathForResourceWithPathA()
226 wchar_t tmpBuffer[TMP_BUF_SIZE]; in PathForResourceWithPathW() local
230 swprintf(tmpBuffer, TMP_BUF_SIZE, L"%ls.Resources\\%ls", path, nm); in PathForResourceWithPathW()
232 if (!PathFileExistsW(tmpBuffer)) { in PathForResourceWithPathW()
238 swprintf(tmpBuffer, TMP_BUF_SIZE, in PathForResourceWithPathW()
241 if (PathFileExistsW(tmpBuffer)) { in PathForResourceWithPathW()
242 swprintf(tmpBuffer, TMP_BUF_SIZE, L"%ls\\%ls", tmpBuffer, nm); in PathForResourceWithPathW()
244 if (!PathFileExistsW(tmpBuffer)) return 0; in PathForResourceWithPathW()
246 wcsncpy(locFile, tmpBuffer, locFileLen); in PathForResourceWithPathW()
251 swprintf(tmpBuffer, TMP_BUF_SIZE, L"%ls.Resources\\%S.lproj\\%ls", in PathForResourceWithPathW()
255 if (!PathFileExistsW(tmpBuffer)) return 0; in PathForResourceWithPathW()
258 wcsncpy(locFile, tmpBuffer, locFileLen); in PathForResourceWithPathW()