Home
last modified time | relevance | path

Searched refs:LoadFile (Results 1 – 25 of 3351) sorted by relevance

12345678910>>...135

/dports/security/yapet/yapet-2.3/src/libs/glue/
H A Dloadfile.cc41 void LoadFile::apoptosis_handler(YACURS::Event& e) { in apoptosis_handler()
58 YACURS::EventEx<LoadFile*>(YAPET::EVT_APOPTOSIS, this)); in apoptosis_handler()
67 void LoadFile::window_close_handler(YACURS::Event& e) { in window_close_handler()
81 YACURS::EventEx<LoadFile*>(YAPET::EVT_APOPTOSIS, this)); in window_close_handler()
120 LoadFile::LoadFile(MainWindow& mw) in LoadFile() function in LoadFile
129 YACURS::EVT_WINDOW_CLOSE, this, &LoadFile::window_close_handler));
132 YAPET::EVT_APOPTOSIS, this, &LoadFile::apoptosis_handler));
135 LoadFile::~LoadFile() { in ~LoadFile()
141 YACURS::EventConnectorMethod1<LoadFile>( in ~LoadFile()
145 YACURS::EventConnectorMethod1<LoadFile>(YAPET::EVT_APOPTOSIS, this, in ~LoadFile()
[all …]
H A Dloadfile.h53 class LoadFile {
68 LoadFile(MainWindow& mw);
69 LoadFile(const LoadFile& l) = delete;
70 LoadFile& operator=(const LoadFile&) = delete;
72 ~LoadFile();
/dports/textproc/p5-YAML-Syck/YAML-Syck-1.34/t/
H A Djson-loadfile.t17 *::LoadFile = *JSON::Syck::LoadFile;
24 is( LoadFile(*DATA), "a simple scalar", 'LoadFile(*DATA) works' );
30 is( LoadFile( \*DATA ), "a simple scalar", 'LoadFile(\*DATA) works' );
50 is( LoadFile('loadfile.json'), "a simple scalar", 'LoadFile works with file names' );
56 is( LoadFile($h), "a simple scalar", 'LoadFile works with IO::File' );
65 is( LoadFile($h), "a simple scalar", 'LoadFile works with indirect filehandles' );
73 is( LoadFile(*H), "a simple scalar", 'LoadFile works with ordinary filehandles' );
81 is( LoadFile( \*H ), "a simple scalar", 'LoadFile works with glob refs' );
90 is( LoadFile($h), "a simple scalar", 'LoadFile works with in-memory files' );
95 my $json = eval { LoadFile('emptyfile.json') };
[all …]
H A D11-loadfile.t16 *::LoadFile = *YAML::Syck::LoadFile;
23 is( LoadFile(*DATA), "a simple scalar", 'LoadFile(*DATA) works' );
29 is( LoadFile( \*DATA ), "a simple scalar", 'LoadFile(\*DATA) works' );
49 is( LoadFile('loadfile.yml'), "a simple scalar", 'LoadFile works with file names' );
55 is( LoadFile($h), "a simple scalar", 'LoadFile works with IO::File' );
64 is( LoadFile($h), "a simple scalar", 'LoadFile works with indirect filehandles' );
72 is( LoadFile(*H), "a simple scalar", 'LoadFile works with ordinary filehandles' );
80 is( LoadFile( \*H ), "a simple scalar", 'LoadFile works with glob refs' );
90 is( LoadFile($h), "a simple scalar", 'LoadFile works with in-memory files' );
95 my $yml = eval { LoadFile('emptyfile.yml') };
[all …]
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/main/
H A Dgamemine.cpp484 ? PHYSFSX_readShort(LoadFile) in load_mine_data_compiled()
485 : PHYSFSX_readInt(LoadFile); in load_mine_data_compiled()
499 PHYSFSX_readVector(LoadFile, i); in load_mine_data_compiled()
511 bit_mask = PHYSFSX_readByte(LoadFile); in load_mine_data_compiled()
516 read_special(segp,bit_mask,LoadFile); in load_mine_data_compiled()
517 read_verts(segp,LoadFile); in load_mine_data_compiled()
518 read_children(segp,bit_mask,LoadFile); in load_mine_data_compiled()
520 read_children(segp,bit_mask,LoadFile); in load_mine_data_compiled()
521 read_verts(segp,LoadFile); in load_mine_data_compiled()
523 read_special(segp,bit_mask,LoadFile); in load_mine_data_compiled()
[all …]
H A Dgamesave.cpp1025 v19_wall_read(LoadFile, w); in load_game_data()
1044 v16_wall_read(LoadFile, w); in load_game_data()
1073 v26_trigger_read(LoadFile, i); in load_game_data()
1085 trigger_read(&i, LoadFile); in load_game_data()
1128 dl_index_read(&i, LoadFile); in load_game_data()
1337 if (!LoadFile) in load_level()
1350 LoadFile = std::move(fp); in load_level()
1366 PHYSFSX_readInt(LoadFile); in load_level()
1367 PHYSFSX_readShort(LoadFile); in load_level()
1368 PHYSFSX_readByte(LoadFile); in load_level()
[all …]
/dports/textproc/p5-YAML-LibYAML/YAML-LibYAML-0.83/t/
H A Dapi.t12 use YAML::XS('DumpFile', 'LoadFile');
18 use YAML::XS('Dump', 'LoadFile');
25 ok not(defined(&A::LoadFile)), 'LoadFile is not exported by default';
30 ok not(defined(&B::LoadFile)), 'LoadFile is not exported for ()';
32 ok not(defined(&C::Dump)), 'Dump is not exported for qw(LoadFile DumpFile)';
33 ok not(defined(&C::Load)), 'Load is not exported for qw(LoadFile DumpFile)';
35 ok defined(&C::LoadFile), 'LoadFile is exportable';
40 ok defined(&D::LoadFile), 'LoadFile is exported for :all';
42 ok defined(&E::Dump), 'Dump is exported for qw(LoadFile Dump)';
43 ok not(defined(&E::Load)), 'Load is not exported for qw(LoadFile Dump)';
[all …]
H A Dio-handle.t11 use YAML::XS qw/DumpFile LoadFile/;;
22 my $recv_data = LoadFile($pipe);
23 is length($recv_data), length($testdata), 'LoadFile from IO::Pipe read data';
24 is $recv_data, $testdata, 'LoadFile from IO::Pipe contents is correct';
45 is decode_utf8($yaml), "--- $testdata\n", 'LoadFile from IO::File contents is correct';
48 my $read_data = LoadFile($fh) or die $!;
51 is length($read_data), length($testdata), 'LoadFile from IO::File read data';
52 is $read_data, $testdata, 'LoadFile from IO::File read data';
/dports/games/openclonk/openclonk-release-8.1-src/src/graphics/
H A DC4GraphicsResource.cpp210 if (!LoadFile(sfcCaption, "GUICaption", Files, idSfcCaption, 0)) return false; in Init()
212 if (!LoadFile(sfcButton, "GUIButton", Files, idSfcButton, 0)) return false; in Init()
214 if (!LoadFile(sfcButtonD, "GUIButtonDown", Files, idSfcButtonD, 0)) return false; in Init()
218 if (!LoadFile(fctIcons, "GUIIcons", Files, C4FCT_Full, C4FCT_Full, false, 0)) return false; in Init()
220 if (!LoadFile(fctIconsEx, "GUIIcons2", Files, C4FCT_Full, C4FCT_Full, false, 0)) return false; in Init()
224 if (!LoadFile(sfcScroll, "GUIScroll", Files, idSfcScroll, 0)) return false; in Init()
226 if (!LoadFile(sfcContext, "GUIContext", Files, idSfcContext, 0)) return false; in Init()
228 if (!LoadFile(fctSubmenu, "GUISubmenu", Files, C4FCT_Full, C4FCT_Full, false, 0)) return false; in Init()
235 if (!LoadFile(sfcControl, "Control", Files, idSfcControl, 0)) return false; in Init()
243 if (!LoadFile(sfcClonkSkins, "ClonkSkins", Files, idSfcClonkSkins, 0)) return false; in Init()
[all …]
/dports/games/d2x/d2x-0.2.5/main/
H A Dgamemine.c584 int load_mine_data(CFILE *LoadFile) in load_mine_data() argument
590 int mine_start = cftell(LoadFile); in load_mine_data()
1038 void read_verts(int segnum,CFILE *LoadFile) in read_verts() argument
1094 Num_vertices = cfile_read_int(LoadFile); in load_mine_data_compiled()
1100 Num_segments = cfile_read_int(LoadFile); in load_mine_data_compiled()
1114 bit_mask = cfile_read_byte(LoadFile); in load_mine_data_compiled()
1119 read_special(segnum,bit_mask,LoadFile); in load_mine_data_compiled()
1120 read_verts(segnum,LoadFile); in load_mine_data_compiled()
1124 read_verts(segnum,LoadFile); in load_mine_data_compiled()
1145 bit_mask = cfile_read_byte(LoadFile); in load_mine_data_compiled()
[all …]
H A Dgamesave.c826 start_offset = cftell(LoadFile); in load_game_data()
987 v19_wall_read(&w, LoadFile); in load_game_data()
1004 v16_wall_read(&w, LoadFile); in load_game_data()
1398 CFILE * LoadFile; in load_level() local
1445 if (!LoadFile) { in load_level()
1470 cfile_read_int(LoadFile); in load_level()
1471 cfile_read_short(LoadFile); in load_level()
1472 cfile_read_byte(LoadFile); in load_level()
1545 cfclose(LoadFile); in load_level()
1553 cfclose(LoadFile); in load_level()
[all …]
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/tests/misc/
H A Dgarbage.cpp126 ASSERT_FUNC_FAILS(img.LoadFile, fullname); in DoLoadFile()
127 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, img.LoadFile, fullname); in DoLoadFile()
131 ASSERT_FUNC_FAILS(bmp.LoadFile, fullname); in DoLoadFile()
132 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, bmp.LoadFile, fullname); in DoLoadFile()
136 ASSERT_FUNC_FAILS(icon.LoadFile, fullname); in DoLoadFile()
137 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, icon.LoadFile, fullname); in DoLoadFile()
142 ASSERT_FUNC_FAILS(anim.LoadFile, fullname); in DoLoadFile()
143 wxFOR_ALL_VALID_ANIMATION_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, anim.LoadFile, fullname); in DoLoadFile()
175 ASSERT_FUNC_FAILS(img.LoadFile, stream); in DoLoadStream()
176 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, img.LoadFile, stream); in DoLoadStream()
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/tests/misc/
H A Dgarbage.cpp128 ASSERT_FUNC_FAILS(img.LoadFile, fullname); in DoLoadFile()
129 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, img.LoadFile, fullname); in DoLoadFile()
133 ASSERT_FUNC_FAILS(bmp.LoadFile, fullname); in DoLoadFile()
134 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, bmp.LoadFile, fullname); in DoLoadFile()
138 ASSERT_FUNC_FAILS(icon.LoadFile, fullname); in DoLoadFile()
139 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, icon.LoadFile, fullname); in DoLoadFile()
143 ASSERT_FUNC_FAILS(anim.LoadFile, fullname); in DoLoadFile()
144 wxFOR_ALL_VALID_ANIMATION_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, anim.LoadFile, fullname); in DoLoadFile()
174 ASSERT_FUNC_FAILS(img.LoadFile, stream); in DoLoadStream()
175 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, img.LoadFile, stream); in DoLoadStream()
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/tests/misc/
H A Dgarbage.cpp128 ASSERT_FUNC_FAILS(img.LoadFile, fullname); in DoLoadFile()
129 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, img.LoadFile, fullname); in DoLoadFile()
133 ASSERT_FUNC_FAILS(bmp.LoadFile, fullname); in DoLoadFile()
134 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, bmp.LoadFile, fullname); in DoLoadFile()
138 ASSERT_FUNC_FAILS(icon.LoadFile, fullname); in DoLoadFile()
139 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, icon.LoadFile, fullname); in DoLoadFile()
143 ASSERT_FUNC_FAILS(anim.LoadFile, fullname); in DoLoadFile()
144 wxFOR_ALL_VALID_ANIMATION_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, anim.LoadFile, fullname); in DoLoadFile()
174 ASSERT_FUNC_FAILS(img.LoadFile, stream); in DoLoadStream()
175 wxFOR_ALL_VALID_BITMAP_TYPES(ASSERT_FUNC_FAILS_FOR_TYPE, img.LoadFile, stream); in DoLoadStream()
/dports/games/openclonk/openclonk-release-8.1-src/src/gui/
H A DC4Startup.cpp44 if (!LoadFile(fctDlgPaper, "StartupDlgPaper")) return false; in Init()
45 if (!LoadFile(fctPlrPropBG, "StartupPlrPropBG")) return false; in Init()
46 if (!LoadFile(fctAboutTitles, "StartupAboutTitles")) return false; in Init()
48 if (!LoadFile(fctStartupLogo, "StartupLogo")) return false; in Init()
51 if (!LoadFile(fctMainButtons, "StartupBigButton")) return false; in Init()
55 if (!LoadFile(fctBookScroll, "StartupBookScroll")) return false; in Init()
60 if (!LoadFile(fctContext, "StartupContext")) return false; in Init()
62 if (!LoadFile(fctScenSelIcons, "StartupScenSelIcons")) return false; in Init()
65 if (!LoadFile(fctOptionsIcons, "StartupOptionIcons")) return false; in Init()
67 if (!LoadFile(fctOptionsTabClip, "StartupTabClip")) return false; in Init()
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/internal/senddata/contentprocessor/
H A Dcontentprocessor_test.go68 body: testhelper.LoadFile(t, "testdata/image.png"),
74 body: testhelper.LoadFile(t, "testdata/image.svg"),
86 body: testhelper.LoadFile(t, "testdata/file.pdf"),
92 body: testhelper.LoadFile(t, "testdata/file.pdf"),
98 body: testhelper.LoadFile(t, "testdata/file.swf"),
104 body: testhelper.LoadFile(t, "testdata/video.mp4"),
110 body: testhelper.LoadFile(t, "testdata/audio.mp3"),
128 body: testhelper.LoadFile(t, "testdata/file.bmpr"),
134 body: testhelper.LoadFile(t, "testdata/file.stl"),
211 testCaseBody := testhelper.LoadFile(t, "testdata/file.pdf")
[all …]
/dports/sysutils/edk2/edk2-platforms-89f6170d/Platform/Comcast/Library/RdkBootManagerLib/
H A DHttpBoot.c11 STATIC EFI_LOAD_FILE_PROTOCOL *LoadFile = NULL; variable
17 IN EFI_LOAD_FILE_PROTOCOL *LoadFile, in HttpPrivateFromLoadFile() argument
23 UINTN Offset = (UINTN)&Ip4Nic->LoadFile; in HttpPrivateFromLoadFile()
25 Ip4Nic = (VOID *)((CHAR8 *)LoadFile - Offset); in HttpPrivateFromLoadFile()
33 OUT EFI_LOAD_FILE_PROTOCOL **LoadFile in HttpGetLoadFileHandle() argument
91 (VOID **) LoadFile, in HttpGetLoadFileHandle()
206 if (LoadFile == NULL) { in HttpGetImage()
207 HttpGetLoadFileHandle (&LoadFile); in HttpGetImage()
208 HttpPrivateFromLoadFile (LoadFile, &Private); in HttpGetImage()
218 Status = LoadFile->LoadFile (LoadFile, NewDevicePath, \ in HttpGetImage()
[all …]
/dports/textproc/p5-YAML/YAML-1.30/t/
H A Dio-handle.t15 use YAML qw/DumpFile LoadFile/;;
26 my $recv_data = LoadFile($pipe);
27 is length($recv_data), length($testdata), 'LoadFile from IO::Pipe read data';
28 is $recv_data, $testdata, 'LoadFile from IO::Pipe contents is correct';
49 is $yaml, "--- $testdata\n", 'LoadFile from IO::File contents is correct';
52 my $read_data = LoadFile($fh) or die $!;
55 is length($read_data), length($testdata), 'LoadFile from IO::File read data';
56 is $read_data, $testdata, 'LoadFile from IO::File read data';
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/include/wx/motif/
H A Dicon.h31 LoadFile(name, type, desiredWidth, desiredHeight);
36 LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ANY); in wxIcon()
41 bool LoadFile(const wxString& name, wxBitmapType type,
45 virtual bool LoadFile(const wxString& name,
47 { return LoadFile(name, flags); }
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/include/wx/motif/
H A Dicon.h34 LoadFile(name, type, desiredWidth, desiredHeight);
39 LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ANY); in wxIcon()
44 bool LoadFile(const wxString& name, wxBitmapType type,
48 virtual bool LoadFile(const wxString& name,
50 { return LoadFile(name, flags); }
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/include/wx/motif/
H A Dicon.h34 LoadFile(name, type, desiredWidth, desiredHeight);
39 LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ANY); in wxIcon()
44 bool LoadFile(const wxString& name, wxBitmapType type,
48 virtual bool LoadFile(const wxString& name,
50 { return LoadFile(name, flags); }
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/tests/benchmarks/
H A Dimage.cpp17 return image.LoadFile("horse.bmp"); in BENCHMARK_FUNC()
30 return image.LoadFile("horse.jpg"); in BENCHMARK_FUNC()
43 return image.LoadFile("horse.png"); in BENCHMARK_FUNC()
57 return image.LoadFile("horse.tif"); in BENCHMARK_FUNC()
68 s_image.LoadFile("horse.bmp"); in GetTestImage()
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/tests/benchmarks/
H A Dimage.cpp17 return image.LoadFile("horse.bmp"); in BENCHMARK_FUNC()
30 return image.LoadFile("horse.jpg"); in BENCHMARK_FUNC()
43 return image.LoadFile("horse.png"); in BENCHMARK_FUNC()
56 return image.LoadFile("horse.tif"); in BENCHMARK_FUNC()
66 s_image.LoadFile("horse.bmp"); in GetTestImage()
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/tests/benchmarks/
H A Dimage.cpp17 return image.LoadFile("horse.bmp"); in BENCHMARK_FUNC()
30 return image.LoadFile("horse.jpg"); in BENCHMARK_FUNC()
43 return image.LoadFile("horse.png"); in BENCHMARK_FUNC()
56 return image.LoadFile("horse.tif"); in BENCHMARK_FUNC()
66 s_image.LoadFile("horse.bmp"); in GetTestImage()
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/samples/image/
H A Dcanvas.cpp88 if ( image.LoadFile( dir + "test.png" ) ) in wxBEGIN_EVENT_TABLE()
93 if ( !image.LoadFile( dir + "horse.png") ) in wxBEGIN_EVENT_TABLE()
102 if ( !image.LoadFile( dir + "toucan.png") ) in wxBEGIN_EVENT_TABLE()
125 if ( !image.LoadFile( dir + "horse.jpg") ) in wxBEGIN_EVENT_TABLE()
140 if ( !image.LoadFile( dir + "cmyk.jpg") ) in wxBEGIN_EVENT_TABLE()
153 if ( !image.LoadFile( dir + "horse.gif" ) ) in wxBEGIN_EVENT_TABLE()
166 if ( !image.LoadFile( dir + "horse.pcx", wxBITMAP_TYPE_PCX ) ) in wxBEGIN_EVENT_TABLE()
178 if ( !image.LoadFile( dir + "horse.bmp", wxBITMAP_TYPE_BMP ) ) in wxBEGIN_EVENT_TABLE()
190 if ( !image.LoadFile( dir + "horse.xpm", wxBITMAP_TYPE_XPM ) ) in wxBEGIN_EVENT_TABLE()
300 if ( !image.LoadFile( dir + "horse.ico" ) ) in wxBEGIN_EVENT_TABLE()
[all …]

12345678910>>...135