Home
last modified time | relevance | path

Searched refs:dwgfile (Results 1 – 4 of 4) sorted by relevance

/dports/cad/libredwg/libredwg-0.12.4/programs/
H A Ddwgbmp.c101 get_bmp (char *dwgfile, char *bmpfile) in get_bmp() argument
120 error = dwg_read_file (dwgfile, &dwg); in get_bmp()
123 fprintf (stderr, "Unable to read file %s. ERROR 0x%x\n", dwgfile, error); in get_bmp()
132 fprintf (stderr, "No thumbnail bmp image in %s\n", dwgfile); in get_bmp()
138 fprintf (stderr, "Empty thumbnail data in %s\n", dwgfile); in get_bmp()
147 dwgfile, size, dwg.thumbnail.size); in get_bmp()
201 char *dwgfile, *bmpfile; in main() local
296 dwgfile = argv[i]; in main()
300 bmpfile = suffix (dwgfile, "bmp"); in main()
301 error = get_bmp (dwgfile, bmpfile); in main()
/dports/cad/libredwg/libredwg-0.12.4/test/unit-testing/
H A Ddxf_test.c783 const char *restrict dwgfile) in test_dxf() argument
813 strcpy (prev_dwgfile, dwgfile); in test_dxf()
895 free (dwgfile); in main()
910 free (dwgfile); in main()
919 free (dwgfile); in main()
924 free (dwgfile); in main()
931 free (dwgfile); in main()
939 if (len > 3 && dwgfile[0] == '.' && dwgfile[1] == '.' && dwgfile[2] == '/') in main()
940 memmove (dwgfile, &dwgfile[3], len - 2); // include the final \0 in main()
948 strcat (path, dwgfile); in main()
[all …]
H A Dadd_test.c97 char dwgfile[1024]; in test_add() local
98 strcpy (dwgfile, file); in test_add()
793 strcat (dwgfile, ".dxf"); in test_add()
795 strcat (dwgfile, ".dwg"); in test_add()
796 if (!stat (dwgfile, &attrib)) in test_add()
797 unlink (dwgfile); in test_add()
804 dat.fh = fopen (dwgfile, "wb"); in test_add()
816 ok ("write %s to %s", name, dwgfile); in test_add()
820 error = dxf_read_file (dwgfile, dwg); in test_add()
822 error = dwg_read_file (dwgfile, dwg); in test_add()
[all …]
/dports/cad/libredwg/libredwg-0.12.4/
H A DChangeLog7445 dxf_test: fix dwgfile leak