/reactos/modules/rostests/winetests/imagehlp/ |
H A D | image.c | 247 static HANDLE create_temp_file(char *temp_file) in create_temp_file() argument 321 char temp_file[MAX_PATH]; in test_get_digest_stream() local 334 file = create_temp_file(temp_file); in test_get_digest_stream() 375 DeleteFileA(temp_file); in test_get_digest_stream() 382 char temp_file[MAX_PATH]; in test_bind_image_ex() local 400 file = create_temp_file(temp_file); in test_bind_image_ex() 429 DeleteFileA(temp_file); in test_bind_image_ex() 434 char temp_file[MAX_PATH]; in test_image_load() local 445 file = create_temp_file(temp_file); in test_image_load() 455 img = pImageLoad(temp_file, NULL); in test_image_load() [all …]
|
/reactos/dll/3rdparty/libjpeg/ |
H A D | jmemansi.c | 101 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store() 103 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store() 114 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store() 116 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store() 125 fclose(info->temp_file); in close_backing_store() 144 if ((info->temp_file = tmpfile()) == NULL) in jpeg_open_backing_store()
|
H A D | jmemname.c | 208 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store() 210 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store() 221 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store() 223 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store() 232 fclose(info->temp_file); /* close the file */ in close_backing_store() 251 if ((info->temp_file = fopen(info->temp_name, RW_BINARY)) == NULL) in jpeg_open_backing_store()
|
H A D | jmemmac.c | 161 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr ) in read_backing_store() 164 retVal = FSRead ( info->temp_file, &bytes, in read_backing_store() 179 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr ) in write_backing_store() 182 retVal = FSWrite ( info->temp_file, &bytes, in write_backing_store() 192 FSClose ( info->temp_file ); in close_backing_store() 253 osErr = FSpOpenDF ( &theSpec, fsRdWrPerm, &(info->temp_file) ); in jpeg_open_backing_store()
|
/reactos/sdk/include/reactos/libs/libjpeg/ |
H A D | jmemsys.h | 160 short temp_file; /* file reference number to temp file */ member 165 FILE * temp_file; /* stdio reference to temp file */ member
|
/reactos/modules/rostests/winetests/wintrust/ |
H A D | softpub.c | 286 static HANDLE create_temp_file(WCHAR *temp_file) in create_temp_file() argument 295 if (GetTempFileNameW(temp_path, img, 0, temp_file)) in create_temp_file() 296 file = CreateFileW(temp_file, GENERIC_READ | GENERIC_WRITE, 0, NULL, in create_temp_file() 745 WCHAR temp_file[MAX_PATH]; in test_sip_create_indirect_data() local 767 file = create_temp_file(temp_file); in test_sip_create_indirect_data() 822 DeleteFileW(temp_file); in test_sip_create_indirect_data()
|
/reactos/dll/win32/cabinet/ |
H A D | fci.c | 109 struct temp_file struct 120 struct temp_file data; argument 179 struct temp_file data; 233 static BOOL create_temp_file( FCI_Int *fci, struct temp_file *file ) in create_temp_file() 251 static BOOL close_temp_file( FCI_Int *fci, struct temp_file *file ) in close_temp_file() 486 struct temp_file *temp, PFNFCISTATUS status_callback ) in copy_data_blocks()
|
/reactos/modules/rostests/winetests/oleaut32/ |
H A D | olepicture.c | 958 char temp_file[MAX_PATH]; in test_OleLoadPicturePath() local 1014 GetTempFileNameA(temp_path, "bmp", 0, temp_file); in test_OleLoadPicturePath() 1015 file = CreateFileA(temp_file, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, in test_OleLoadPicturePath() 1020 MultiByteToWideChar(CP_ACP, 0, temp_file, -1, temp_fileW + 8, ARRAY_SIZE(temp_fileW) - 8); in test_OleLoadPicturePath() 1053 DeleteFileA(temp_file); in test_OleLoadPicturePath() 1082 file = CreateFileA(temp_file, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, in test_OleLoadPicturePath() 1110 DeleteFileA(temp_file); in test_OleLoadPicturePath()
|
/reactos/modules/rostests/winetests/winmm/ |
H A D | mmio.c | 672 static BOOL create_test_file(char *temp_file) in create_test_file() argument 683 ret = GetTempFileNameA(temp_path, "mmio", 0, temp_file); in create_test_file() 688 h = CreateFileA(temp_file, GENERIC_WRITE, 0, NULL, in create_test_file() 696 if (!ret) DeleteFileA(temp_file); in create_test_file()
|
H A D | wave.c | 1644 static void create_wav_file(char *temp_file) in create_wav_file() argument 1662 h = mmioOpenA(temp_file, NULL, MMIO_ALLOCBUF | MMIO_WRITE | MMIO_CREATE); in create_wav_file()
|
/reactos/modules/rostests/winetests/kernel32/ |
H A D | file.c | 1751 char temp_path[MAX_PATH], temp_file[MAX_PATH]; in test_DeleteFileA() local 1775 GetTempFileNameA(temp_path, "tst", 0, temp_file); in test_DeleteFileA() 1778 …hfile = CreateFileA(temp_file, GENERIC_READ, FILE_SHARE_DELETE | FILE_SHARE_READ, NULL, OPEN_EXIST… in test_DeleteFileA() 1782 ret = DeleteFileA(temp_file); in test_DeleteFileA() 1788 ret = DeleteFileA(temp_file); in test_DeleteFileA()
|