Home
last modified time | relevance | path

Searched refs:sfh (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/dports/audio/libxmp/libxmp-4.5.0/src/loaders/
H A Dstm_load.c151 struct stm_file_header sfh; in stm_load() local
164 version = (100 * sfh.vermaj) + sfh.vermin; in stm_load()
182 mod->spd = (version < 221) ? LSN(sfh.sub.v2.tempo / 10) : MSN(sfh.sub.v2.tempo); in stm_load()
212 mod->pat = sfh.sub.v1.patnum; in stm_load()
213 mod->spd = (version != 100) ? LSN(sfh.sub.v1.tempo / 10) : LSN(sfh.sub.v1.tempo); in stm_load()
214 mod->ins = sfh.sub.v1.insnum; in stm_load()
215 mod->len = sfh.sub.v1.ordnum; in stm_load()
243 …if (!sfh.magic[0] || !strncmp((char *)sfh.magic, "PCSTV", 5) || !strncmp((char *)sfh.magic, "!Scre… in stm_load()
244 libxmp_set_type(m, "Scream Tracker %d.%02d", sfh.vermaj, sfh.vermin); in stm_load()
246 libxmp_set_type(m, "SoundWave Pro %d.%02d", sfh.vermaj, sfh.vermin); in stm_load()
[all …]
H A Ds3m_load.c241 if (sfh.ffi != 1 && sfh.ffi != 2) { in s3m_load()
244 if (sfh.ordnum > 255 || sfh.insnum > 255 || sfh.patnum > 255) { in s3m_load()
282 mod->spd = sfh.is; in s3m_load()
283 mod->bpm = sfh.it; in s3m_load()
332 mod->ins = sfh.insnum; in s3m_load()
345 for (i = 0, sfh.dp -= 0xfc; !sfh.dp /* && n */ && (i < 32); i++) { in s3m_load()
365 (sfh.version & 0x0f00) >> 8, sfh.version & 0xff); in s3m_load()
370 (sfh.version & 0x0f00) >> 8, sfh.version & 0xff); in s3m_load()
385 (sfh.version & 0x0f00) >> 8, sfh.version & 0xff); in s3m_load()
391 (sfh.version & 0x0fff), sfh.rsvd2[0] | (sfh.rsvd2[1] << 8)); in s3m_load()
[all …]
H A Dstx_load.c137 struct stx_file_header sfh; in stx_load() local
149 sfh.psize = hio_read16l(f); in stx_load()
151 sfh.pp_pat = hio_read16l(f); in stx_load()
156 sfh.gvol = hio_read8(f); in stx_load()
157 sfh.tempo = hio_read8(f); in stx_load()
169 if (sfh.patnum > 254 || sfh.insnum > MAX_INSTRUMENTS || sfh.ordnum > 256) in stx_load()
182 mod->ins = sfh.insnum; in stx_load()
183 mod->pat = sfh.patnum; in stx_load()
185 mod->len = sfh.ordnum; in stx_load()
186 mod->spd = MSN(sfh.tempo); in stx_load()
[all …]
H A D669_load.c98 struct c669_file_header sfh; in c669_load() local
110 if (sfh.nos > 64 || sfh.nop > 128) in c669_load()
113 sfh.loop = hio_read8(f); /* Loop order number */ in c669_load()
122 mod->ins = sfh.nos; in c669_load()
123 mod->pat = sfh.nop; in c669_load()
126 if (sfh.order[i] > sfh.nop) in c669_load()
130 memcpy (mod->xxo, sfh.order, mod->len); in c669_load()
138 libxmp_copy_adjust(mod->name, sfh.message, 36); in c669_load()
145 memcpy(m->comment, sfh.message, 108); in c669_load()
206 event->f2p = sfh.speed[i]; in c669_load()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/libxmp-lite/src/
H A Ds3m_load.c261 if (sfh.ffi != 1 && sfh.ffi != 2) { in s3m_load()
264 if (sfh.ordnum > 255 || sfh.insnum > 255 || sfh.patnum > 255) { in s3m_load()
285 if (sfh.version == 0x1301 && sfh.name[27] == 0x87) in s3m_load()
289 fix87(sfh.name); in s3m_load()
291 fix87(sfh.flags); in s3m_load()
314 mod->spd = sfh.is; in s3m_load()
315 mod->bpm = sfh.it; in s3m_load()
397 (sfh.version & 0x0f00) >> 8, sfh.version & 0xff); in s3m_load()
402 (sfh.version & 0x0f00) >> 8, sfh.version & 0xff); in s3m_load()
417 (sfh.version & 0x0f00) >> 8, sfh.version & 0xff); in s3m_load()
[all …]
/dports/www/py-mechanize/mechanize-0.4.7/test/
H A Dtest_response.py81 sfh.read(10)
87 sfh.seek(0)
99 sfh.seek(0)
102 sfh.seek(0)
114 sfh.seek(0)
125 sfh.read(5)
126 sfh.seek(0)
129 sfh.seek(0)
131 sfh.seek(0)
134 sfh.seek(0)
[all …]
/dports/editors/abiword/abiword-3.0.5/src/text/ptbl/xp/
H A Dpt_PT_Listener.cpp63 fl_ContainerLayout* sfh = 0; in _tellAndMaybeAddListener() local
82 if(sfh != NULL) in _tellAndMaybeAddListener()
119 sfh = 0; in _tellAndMaybeAddListener()
134 if (bAdd && sfh) in _tellAndMaybeAddListener()
146 sfh = NULL; in _tellAndMaybeAddListener()
161 if(sfh != NULL) in _tellAndMaybeAddListener()
209 if(sfh != NULL) in _tellAndMaybeAddListener()
314 fl_ContainerLayout* sfh = 0; in _tellListenerSubsetWalkRange() local
367 sfh = 0; in _tellListenerSubsetWalkRange()
590 sfh = 0; in tellListenerSubset()
[all …]
H A Dpl_ListenerCoupleCloser.cpp275 PL_ListenerCoupleCloser::populateAfter( fl_ContainerLayout* sfh, in populateAfter() argument
299 return m_delegate->populate( sfh, pcr ); in populateAfter()
311 return m_delegate->populate( sfh, pcr ); in populateAfter()
327 bool PL_ListenerCoupleCloser::AfterContentListener::populate( fl_ContainerLayout* sfh, in populate() argument
330 return m_self->populateAfter( sfh, pcr ); in populate()
379 PL_ListenerCoupleCloser::populateBefore( fl_ContainerLayout* sfh, in populateBefore() argument
402 return m_delegate->populate( sfh, pcr ); in populateBefore()
412 return m_delegate->populate( sfh, pcr ); in populateBefore()
437 bool PL_ListenerCoupleCloser::BeforeContentListener::populate( fl_ContainerLayout* sfh, in populate() argument
440 return m_self->populateBefore( sfh, pcr ); in populate()
H A Dpl_ListenerCoupleCloser.h149 virtual bool populate( fl_ContainerLayout* sfh,
165 virtual bool populate( fl_ContainerLayout* sfh,
207 virtual bool populate( fl_ContainerLayout* sfh,
236 virtual bool populateAfter( fl_ContainerLayout* sfh,
243 virtual bool populateBefore( fl_ContainerLayout* sfh,
/dports/multimedia/libv4l/linux-5.13-rc2/fs/ceph/
H A Dexport.c72 sfh->parent_ino = sfh->ino; in ceph_encode_snapfh()
73 sfh->hash = 0; in ceph_encode_snapfh()
75 sfh->ino = ceph_ino(inode); in ceph_encode_snapfh()
76 sfh->snapid = snapid; in ceph_encode_snapfh()
213 else if (sfh->ino == sfh->parent_ino) in __snapfh_to_dentry()
216 vino.snap = sfh->snapid; in __snapfh_to_dentry()
218 vino.ino = sfh->ino; in __snapfh_to_dentry()
219 vino.snap = sfh->snapid; in __snapfh_to_dentry()
240 if (!want_parent && sfh->ino != sfh->parent_ino) { in __snapfh_to_dentry()
244 cpu_to_le32(sfh->hash); in __snapfh_to_dentry()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/ceph/
H A Dexport.c72 sfh->parent_ino = sfh->ino; in ceph_encode_snapfh()
73 sfh->hash = 0; in ceph_encode_snapfh()
75 sfh->ino = ceph_ino(inode); in ceph_encode_snapfh()
76 sfh->snapid = snapid; in ceph_encode_snapfh()
213 else if (sfh->ino == sfh->parent_ino) in __snapfh_to_dentry()
216 vino.snap = sfh->snapid; in __snapfh_to_dentry()
218 vino.ino = sfh->ino; in __snapfh_to_dentry()
219 vino.snap = sfh->snapid; in __snapfh_to_dentry()
240 if (!want_parent && sfh->ino != sfh->parent_ino) { in __snapfh_to_dentry()
244 cpu_to_le32(sfh->hash); in __snapfh_to_dentry()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/ceph/
H A Dexport.c72 sfh->parent_ino = sfh->ino; in ceph_encode_snapfh()
73 sfh->hash = 0; in ceph_encode_snapfh()
75 sfh->ino = ceph_ino(inode); in ceph_encode_snapfh()
76 sfh->snapid = snapid; in ceph_encode_snapfh()
213 else if (sfh->ino == sfh->parent_ino) in __snapfh_to_dentry()
216 vino.snap = sfh->snapid; in __snapfh_to_dentry()
218 vino.ino = sfh->ino; in __snapfh_to_dentry()
219 vino.snap = sfh->snapid; in __snapfh_to_dentry()
240 if (!want_parent && sfh->ino != sfh->parent_ino) { in __snapfh_to_dentry()
244 cpu_to_le32(sfh->hash); in __snapfh_to_dentry()
[all …]
/dports/multimedia/zoneminder/zoneminder-1.36.5/scripts/ZoneMinder/lib/ZoneMinder/Trigger/Channel/
H A DInet.pm63 local *sfh;
64 if ( ! socket( *sfh, PF_INET, SOCK_STREAM, getprotobyname('tcp') ) ) {
68 setsockopt( *sfh, SOL_SOCKET, SO_REUSEADDR, 1 );
71 if ( ! bind( *sfh, $saddr ) ) {
75 if ( ! listen( *sfh, SOMAXCONN ) ) {
80 $self->{handle} = *sfh;
H A DUnix.pm63 local *sfh;
66 if ( ! socket( *sfh, PF_UNIX, SOCK_STREAM, 0 ) ) {
70 if ( ! bind( *sfh, $saddr ) ) {
74 if ( ! listen( *sfh, SOMAXCONN ) ) {
78 $self->{handle} = *sfh;
H A DFile.pm62 local *sfh;
65 if ( ! open( *sfh, "+<", $self->{path} ) ) {
70 $self->{handle} = *sfh;
/dports/irc/sirc/sirc-2.211/
H A Ddsirc373 close($sfh);
375 delete $dgrfh{$sfh};
1015 close $sfh;
1032 $fh=$dswait{$sfh} || $dsrfh{$sfh} || next;
1038 close($sfh);
1080 local($fh, $sfh);
1086 $dgrfh{$sfh}=$fh;
1087 $dnick{$sfh}=$n;
2011 print $sfh pack("N", $dtransferred{$sfh});
2019 if (vec($rout, fileno($sfh), 1) || !$dtransferred{$sfh}) {
[all …]
H A Ddsirc.prepatch339 close($sfh);
341 delete $dgrfh{$sfh};
981 close $sfh;
998 $fh=$dswait{$sfh} || $dsrfh{$sfh} || next;
1004 close($sfh);
1046 local($fh, $sfh);
1052 $dgrfh{$sfh}=$fh;
1053 $dnick{$sfh}=$n;
1977 print $sfh pack("N", $dtransferred{$sfh});
1985 if (vec($rout, fileno($sfh), 1) || !$dtransferred{$sfh}) {
[all …]
/dports/lang/perl5.34/perl-5.34.0/ext/VMS-Stdio/t/
H A Dvms_stdio.t42 $sfh = VMS::Stdio::vmssysopen($name, O_RDONLY, 0,
44 print +($sfh ? '' : 'not ($!) '), "ok 11\n";
47 sysread($sfh,$line,24);
50 undef $sfh;
70 $sfh = VMS::Stdio::vmsopen(">$name.tmp");
72 print $sfh qq[\$ here = F\$Environment("Default")\n];
73 print $sfh "$setuperl\nsetdef();\n\$ Show Default\n\$ Set Default 'here'\n";
74 print $sfh "$setuperl\nsetdef('..');\n\$ Show Default\n";
75 close $sfh;
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/ext/VMS-Stdio/t/
H A Dvms_stdio.t42 $sfh = VMS::Stdio::vmssysopen($name, O_RDONLY, 0,
44 print +($sfh ? '' : 'not ($!) '), "ok 11\n";
47 sysread($sfh,$line,24);
50 undef $sfh;
70 $sfh = VMS::Stdio::vmsopen(">$name.tmp");
72 print $sfh qq[\$ here = F\$Environment("Default")\n];
73 print $sfh "$setuperl\nsetdef();\n\$ Show Default\n\$ Set Default 'here'\n";
74 print $sfh "$setuperl\nsetdef('..');\n\$ Show Default\n";
75 close $sfh;
/dports/lang/perl5.30/perl-5.30.3/ext/VMS-Stdio/t/
H A Dvms_stdio.t42 $sfh = VMS::Stdio::vmssysopen($name, O_RDONLY, 0,
44 print +($sfh ? '' : 'not ($!) '), "ok 11\n";
47 sysread($sfh,$line,24);
50 undef $sfh;
70 $sfh = VMS::Stdio::vmsopen(">$name.tmp");
72 print $sfh qq[\$ here = F\$Environment("Default")\n];
73 print $sfh "$setuperl\nsetdef();\n\$ Show Default\n\$ Set Default 'here'\n";
74 print $sfh "$setuperl\nsetdef('..');\n\$ Show Default\n";
75 close $sfh;
/dports/lang/perl5.32/perl-5.32.1/ext/VMS-Stdio/t/
H A Dvms_stdio.t42 $sfh = VMS::Stdio::vmssysopen($name, O_RDONLY, 0,
44 print +($sfh ? '' : 'not ($!) '), "ok 11\n";
47 sysread($sfh,$line,24);
50 undef $sfh;
70 $sfh = VMS::Stdio::vmsopen(">$name.tmp");
72 print $sfh qq[\$ here = F\$Environment("Default")\n];
73 print $sfh "$setuperl\nsetdef();\n\$ Show Default\n\$ Set Default 'here'\n";
74 print $sfh "$setuperl\nsetdef('..');\n\$ Show Default\n";
75 close $sfh;
/dports/games/wizznic/Wizznic-1.1/src/
H A Dstats.c51 statsFileHeader_t sfh; in statsLoad() local
115 size_t elementsRead = fread( (void*)(&sfh), sizeof(statsFileHeader_t), 1, f); in statsLoad()
121 st.progress = sfh.progress; in statsLoad()
124 for(i=0; i < sfh.numLevelEntries; i++) in statsLoad()
148 for(i=0; i < sfh.numHsEntries; i++) in statsLoad()
189 statsFileHeader_t sfh; in statsSave() local
190 sfh.hsFileVersion = STATS_FILE_FORMAT_VERSION; in statsSave()
191 sfh.progress = st.progress; in statsSave()
192 sfh.numLevelEntries = st.levelStats->count; in statsSave()
193 sfh.numHsEntries = st.packHsTable->count; in statsSave()
[all …]
/dports/math/py-yt/yt-4.0.1/yt/
H A Dloaders.py297 sfh.update(new_data)
300 sfh.update({0: data})
324 sfh,
507 sfh[i] = data
561 sfh,
741 sfh,
887 sfh,
1013 sfh.update({0: data})
1038 sfh,
1246 sfh[i] = _data
[all …]
/dports/editors/abiword/abiword-3.0.5/src/text/fmt/xp/
H A Dfl_DocListener.cpp135 fl_Layout * pL = (fl_Layout *)sfh; in populate()
178 fl_Layout * pL = (fl_Layout *)sfh; in populate()
227 fl_Layout * pL = (fl_Layout *)sfh; in populate()
982 fl_Layout * pL = (fl_Layout *)sfh; in change()
1006 fl_Layout * pL = (fl_Layout *)sfh; in change()
1025 fl_Layout * pL = (fl_Layout *)sfh; in change()
1043 fl_Layout * pL = (fl_Layout *)sfh; in change()
1062 if(!sfh) in change()
1070 fl_Layout * pL = (fl_Layout *)sfh; in change()
1088 fl_Layout * pL = (fl_Layout *)sfh; in change()
[all …]
/dports/security/clusterssh/clusterssh-4.16/bin_PL/
H A D_build_docs30 open(my $sfh, '<', $source) || die "Could not open $source for reading: $!";
32 print $dfh $_ while(<$sfh>);
33 close($sfh);

12345678910>>...13