view release on metacpan or search on metacpan
lib/Hades/Macro/YAML.pm view on Meta::CPAN
package Hades::Macro::YAML;
use strict;
use warnings;
use base qw/Hades::Macro/;
our $VERSION = 0.04;
our ( $YAML_CLASS, $CLASS_LOADED );
BEGIN {
$YAML_CLASS = eval {
lib/Hades/Macro/YAML.pm view on Meta::CPAN
__END__
=head1 NAME
Hades::Macro::YAML - Hades macro helpers for YAML
=head1 VERSION
Version 0.04
lib/Hades/Macro/YAML.pm view on Meta::CPAN
=head1 SUBROUTINES/METHODS
=head2 new
Instantiate a new Hades::Macro::YAML object.
Hades::Macro::YAML->new
=head2 yaml_load_string
call yaml_load_string method. Expects param $mg to be a Object, param $str to be a Str, param $param to be a Optional[Str], param $list to be a Optional[Bool].
lib/Hades/Macro/YAML.pm view on Meta::CPAN
LNATION, C<< <email at lnation.org> >>
=head1 BUGS
Please report any bugs or feature requests to C<bug-hades::macro::yaml at rt.cpan.org>, or through
the web interface at L<https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Hades-Macro-YAML>. I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Hades::Macro::YAML
You can also look for information at:
=over 4
=item * RT: CPAN's request tracker (report bugs here)
L<https://rt.cpan.org/NoAuth/Bugs.html?Dist=Hades-Macro-YAML>
=item * AnnoCPAN: Annotated CPAN documentation
L<http://annocpan.org/dist/Hades-Macro-YAML>
=item * CPAN Ratings
L<https://cpanratings.perl.org/d/Hades-Macro-YAML>
=item * Search CPAN
L<https://metacpan.org/release/Hades-Macro-YAML>
=back
=head1 ACKNOWLEDGEMENTS
view all matches for this distribution
view release on metacpan or search on metacpan
t/06-macro.t view on Meta::CPAN
}
ArrayRef2Str :a(ar2s) {
return qq|$params[0] = $params[0]\->[0];|;
}
}
KosmosMacro {
[penthos curae] :t(Int) :d(2) :p :pr :c :r :i
geras $nosoi :t(Int) :d(5) :i { if (£penthos == $nosoi) { return £curae; } }
eros $eros :t(Str) :d(t/test.txt) :i {
â¬s2ar('$eros');
â¬ar2s('$eros');
t/06-macro.t view on Meta::CPAN
lib => 't/lib'
});
use lib 't/lib';
}
use KosmosMacro qw/penthos has_curae geras eros psyche/;
eval { penthos };
like( $@, qr/^cannot call private/);
is(has_curae, 1);
is(geras(2), 2);
is(eros(), 't/test.txt');
view all matches for this distribution
view release on metacpan or search on metacpan
t/06-macro.t view on Meta::CPAN
}
ArrayRef2Str :a(ar2s) {
return qq|$params[0] = $params[0]\->[0];|;
}
}
KosmosMacro {
[penthos curae] :t(Int) :d(2) :p :pr :c :r :i
geras $nosoi :t(Int) :d(5) :i { if (£penthos == $nosoi) { return £curae; } }
eros $eros :t(Str) :d(t/test.txt) :i {
â¬s2ar('$eros');
â¬ar2s('$eros');
t/06-macro.t view on Meta::CPAN
lib => 't/lib'
});
use lib 't/lib';
}
use KosmosMacro qw/penthos has_curae geras eros psyche/;
eval { penthos };
like( $@, qr/^cannot call private/);
is(has_curae, 1);
is(geras(2), 2);
is(eros(), 't/test.txt');
view all matches for this distribution
view release on metacpan or search on metacpan
t/06-macro.t view on Meta::CPAN
}
ArrayRef2Str :a(ar2s) {
return qq|$params[0] = $params[0]\->[0];|;
}
}
KosmosMacro {
[penthos curae] :t(Int) :d(2) :p :pr :c :r
geras $nosoi :t(Int) :d(5) { if (£penthos == $nosoi) { return £curae; } }
eros $eros :t(Str) :d(t/test.txt) {
â¬s2ar('$eros');
â¬ar2s('$eros');
t/06-macro.t view on Meta::CPAN
`,
lib => 't/lib'
});
use lib 't/lib';
}
use KosmosMacro;
my $okay = KosmosMacro->new({
curae => 5
});
eval { $okay->penthos };
like( $@, qr/^cannot call private attribute penthos/);
is($okay->has_curae, 1);
view all matches for this distribution
view release on metacpan or search on metacpan
t/06-macro.t view on Meta::CPAN
}
ArrayRef2Str :a(ar2s) {
return qq|$params[0] = $params[0]\->[0];|;
}
}
KosmosMacro {
[penthos curae] :t(Int) :d(2) :p :pr :c :r
geras $nosoi :t(Int) :d(5) { if (£penthos == $nosoi) { return £curae; } }
eros $eros :t(Str) :d(t/test.txt) {
â¬s2ar('$eros');
â¬ar2s('$eros');
t/06-macro.t view on Meta::CPAN
`,
lib => 't/lib'
});
use lib 't/lib';
}
use KosmosMacro;
my $okay = KosmosMacro->new({
curae => 5
});
eval { $okay->penthos };
like( $@, qr/private/);
is($okay->geras(2), 5);
view all matches for this distribution
view release on metacpan or search on metacpan
t/06-macro.t view on Meta::CPAN
}
ArrayRef2Str :a(ar2s) {
return qq|$params[0] = $params[0]\->[0];|;
}
}
KosmosMacro {
[penthos curae] :t(Int) :d(2) :p :pr :c :r
geras $nosoi :t(Int) :d(5) { if (£penthos == $nosoi) { return £curae; } }
eros $eros :t(Str) :d(t/test.txt) {
â¬s2ar('$eros');
â¬ar2s('$eros');
t/06-macro.t view on Meta::CPAN
`,
lib => 't/lib'
});
use lib 't/lib';
}
use KosmosMacro;
my $okay = KosmosMacro->new({
curae => 5
});
is($okay->has_curae, 1);
is($okay->geras(2), 5);
is($okay->eros(), 't/test.txt');
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Hades.pm view on Meta::CPAN
my ($self, $mg, $class) = @_;
my $meta = $self->{macros};
for my $macro (@{$class}) {
$self->debug_step(debug_step_6, $macro);
if ($macro->[-1] !~ m/^{/) {
my $include = sprintf "Hades::Macro::%s", shift @{$macro};
$self->debug_step(sprintf(debug_step_7, $include), $macro);
eval qq|require $include|;
die $@ if $@;
my $include_meta = $include->new($macro->[0] ? do {
$macro->[0] =~ s/^\[|\]$//g;
lib/Hades.pm view on Meta::CPAN
dokimi :t(Optional[Str])
=cut
=head2 Macros
Hades has a concept of macros that allow you to write re-usable code. see L<https://metacpan.org/source/LNATION/Hades-0.27/macro-fh.hades> for an example of how to extend via macros.
macro {
FH [ macro => [qw/read_file write_file/], alias => { read_file => [qw/rf/], write_file => [qw/wf/] } ]
lib/Hades.pm view on Meta::CPAN
}
ArrayRef2Str :a(ar2s) {
return qq|$params[0] = $params[0]\->[0];|;
}
}
MacroKosmos {
eros $eros :t(Str) :d(t/test.txt) {
â¬s2ar('$eros');
â¬ar2s('$eros');
â¬wf('$eros', q|'this is a test'|);
return $eros;
lib/Hades.pm view on Meta::CPAN
}
}
... generates ...
package MacroKosmos;
use strict;
use warnings;
our $VERSION = 0.01;
sub new {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Hardware/Vhdl/Automake/PreProcessor/Cish.pm view on Meta::CPAN
sub macro_define {
my ($self, $macname, $macdef) = @_;
my $perm = $self->[0];
$macdef = '' if !defined $macdef;
if (exists $perm->{macros}{$macname}) {
carp "Macro '$macname', defined at $perm->{macros}{$macname}{defined_in} line $perm->{macros}{$macname}{linenum}, was redefined";
}
$perm->{macros}{$macname} = { search => $macname, replace => $macdef, defined_in => $self->[-1]{source}, defined_line => $self->[-1]{linenum} };
$self->update_macro_re;
}
view all matches for this distribution
view release on metacpan or search on metacpan
BCM2835/src/doc/Doxyfile.in view on Meta::CPAN
ENABLE_PREPROCESSING = YES
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
# names in the source code. If set to NO (the default) only conditional
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.
MACRO_EXPANSION = NO
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
view all matches for this distribution
view release on metacpan or search on metacpan
etc/honeyclient.xml view on Meta::CPAN
</directories_to_check>
<exclude_list description="List of regular expressions that match files/directories to exclude from analysis. These entries match files/directories that change normally during the course of driving the target application. As such, t...
<regex>C:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader.*</regex>
<regex>C:/Documents and Settings/Administrator/Application Data/Mozilla/Firefox/Profiles.*</regex>
<regex>C:/Documents and Settings/Administrator/Cookies.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Macromedia/Flash Player.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Microsoft/Windows Media.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Mozilla/Firefox/Profiles.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/History/History.IE5.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Temporary Internet Files/Content.IE5.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Temp</regex>
etc/honeyclient.xml view on Meta::CPAN
<regex>C:/WINDOWS/SYSTEM32/config/SecEvent.evt</regex>
<regex>C:/WINDOWS/SYSTEM32/config/SysEvent.evt</regex>
<regex>C:/WINDOWS/SYSTEM32/config/software</regex>
<regex>C:/WINDOWS/SYSTEM32/config/software.log</regex>
<regex>C:/WINDOWS/SYSTEM32/config/system.LOG</regex>
<regex>C:/WINDOWS/SYSTEM32/Macromed/Flash.*</regex>
<regex>C:/WINDOWS/SYSTEM32/perfc009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfd009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfh009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfi009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/PerfStringBackup.INI</regex>
etc/honeyclient.xml view on Meta::CPAN
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\DUIBags\\ShellFolders\\.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\BagMRU.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\MUICache.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows Media\\WMSDK\\General.*$</regex>
<regex>^HKEY_CURRENT_USER\\Volatile Environment$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Macromedia$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Macromedia\\FlashPlayer$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography\\RNG$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Dfrg\\BootOptimizeFunction$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Direct3D\\MostRecentApplication$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\PCHealth\\PchSvc$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\SystemCertificates\\.*$</regex>
view all matches for this distribution
view release on metacpan or search on metacpan
etc/honeyclient.xml view on Meta::CPAN
</directories_to_check>
<exclude_list description="List of regular expressions that match files/directories to exclude from analysis. These entries match files/directories that change normally during the course of driving the target application. As such, t...
<regex>C:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader.*</regex>
<regex>C:/Documents and Settings/Administrator/Application Data/Mozilla/Firefox/Profiles.*</regex>
<regex>C:/Documents and Settings/Administrator/Cookies.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Macromedia/Flash Player.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Microsoft/Windows Media.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Mozilla/Firefox/Profiles.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/History/History.IE5.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Temporary Internet Files/Content.IE5.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Temp</regex>
etc/honeyclient.xml view on Meta::CPAN
<regex>C:/WINDOWS/SYSTEM32/config/SecEvent.evt</regex>
<regex>C:/WINDOWS/SYSTEM32/config/SysEvent.evt</regex>
<regex>C:/WINDOWS/SYSTEM32/config/software</regex>
<regex>C:/WINDOWS/SYSTEM32/config/software.log</regex>
<regex>C:/WINDOWS/SYSTEM32/config/system.LOG</regex>
<regex>C:/WINDOWS/SYSTEM32/Macromed/Flash.*</regex>
<regex>C:/WINDOWS/SYSTEM32/perfc009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfd009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfh009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfi009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/PerfStringBackup.INI</regex>
etc/honeyclient.xml view on Meta::CPAN
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\DUIBags\\ShellFolders\\.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\BagMRU.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\MUICache.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows Media\\WMSDK\\General.*$</regex>
<regex>^HKEY_CURRENT_USER\\Volatile Environment$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Macromedia$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Macromedia\\FlashPlayer$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography\\RNG$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Dfrg\\BootOptimizeFunction$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Direct3D\\MostRecentApplication$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\PCHealth\\PchSvc$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\SystemCertificates\\.*$</regex>
view all matches for this distribution
view release on metacpan or search on metacpan
etc/honeyclient.xml view on Meta::CPAN
</directories_to_check>
<exclude_list description="List of regular expressions that match files/directories to exclude from analysis. These entries match files/directories that change normally during the course of driving the target application. As such, t...
<regex>C:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader.*</regex>
<regex>C:/Documents and Settings/Administrator/Application Data/Mozilla/Firefox/Profiles.*</regex>
<regex>C:/Documents and Settings/Administrator/Cookies.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Macromedia/Flash Player.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Microsoft/Windows Media.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Mozilla/Firefox/Profiles.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/History/History.IE5.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Temporary Internet Files/Content.IE5.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Temp</regex>
etc/honeyclient.xml view on Meta::CPAN
<regex>C:/WINDOWS/SYSTEM32/config/SecEvent.evt</regex>
<regex>C:/WINDOWS/SYSTEM32/config/SysEvent.evt</regex>
<regex>C:/WINDOWS/SYSTEM32/config/software</regex>
<regex>C:/WINDOWS/SYSTEM32/config/software.log</regex>
<regex>C:/WINDOWS/SYSTEM32/config/system.LOG</regex>
<regex>C:/WINDOWS/SYSTEM32/Macromed/Flash.*</regex>
<regex>C:/WINDOWS/SYSTEM32/perfc009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfd009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfh009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfi009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/PerfStringBackup.INI</regex>
etc/honeyclient.xml view on Meta::CPAN
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\DUIBags\\ShellFolders\\.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\BagMRU.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\MUICache.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows Media\\WMSDK\\General.*$</regex>
<regex>^HKEY_CURRENT_USER\\Volatile Environment$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Macromedia$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Macromedia\\FlashPlayer$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography\\RNG$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Dfrg\\BootOptimizeFunction$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Direct3D\\MostRecentApplication$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\PCHealth\\PchSvc$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\SystemCertificates\\.*$</regex>
view all matches for this distribution
view release on metacpan or search on metacpan
etc/honeyclient.xml view on Meta::CPAN
</directories_to_check>
<exclude_list description="List of regular expressions that match files/directories to exclude from analysis. These entries match files/directories that change normally during the course of driving the target application. As such, t...
<regex>C:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader.*</regex>
<regex>C:/Documents and Settings/Administrator/Application Data/Mozilla/Firefox/Profiles.*</regex>
<regex>C:/Documents and Settings/Administrator/Cookies.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Macromedia/Flash Player.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Microsoft/Windows Media.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Application Data/Mozilla/Firefox/Profiles.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/History/History.IE5.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Temporary Internet Files/Content.IE5.*</regex>
<regex>C:/Documents and Settings/Administrator/Local Settings/Temp</regex>
etc/honeyclient.xml view on Meta::CPAN
<regex>C:/WINDOWS/SYSTEM32/config/SecEvent.evt</regex>
<regex>C:/WINDOWS/SYSTEM32/config/SysEvent.evt</regex>
<regex>C:/WINDOWS/SYSTEM32/config/software</regex>
<regex>C:/WINDOWS/SYSTEM32/config/software.log</regex>
<regex>C:/WINDOWS/SYSTEM32/config/system.LOG</regex>
<regex>C:/WINDOWS/SYSTEM32/Macromed/Flash.*</regex>
<regex>C:/WINDOWS/SYSTEM32/perfc009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfd009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfh009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/perfi009.dat</regex>
<regex>C:/WINDOWS/SYSTEM32/PerfStringBackup.INI</regex>
etc/honeyclient.xml view on Meta::CPAN
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\DUIBags\\ShellFolders\\.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\BagMRU.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\ShellNoRoam\\MUICache.*$</regex>
<regex>^HKEY_CURRENT_USER\\Software\\Microsoft\\Windows Media\\WMSDK\\General.*$</regex>
<regex>^HKEY_CURRENT_USER\\Volatile Environment$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Macromedia$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Macromedia\\FlashPlayer$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography\\RNG$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Dfrg\\BootOptimizeFunction$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Direct3D\\MostRecentApplication$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\PCHealth\\PchSvc$</regex>
<regex>^HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\SystemCertificates\\.*$</regex>
view all matches for this distribution
view release on metacpan or search on metacpan
* Custom ops - bypass XS subroutine dispatch overhead (5.14+)
* ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
#if PERL_VERSION >= 14
/* ââ Macro: ppaddr swap (for variable-arity functions) âââââââââââ
* Quick approach that leaves entersub intact - use for optional args */
#define HORUS_CK(name) \
static OP *horus_ck_##name(pTHX_ OP *o, GV *namegv, SV *protosv) { \
PERL_UNUSED_ARG(namegv); PERL_UNUSED_ARG(protosv); \
o->op_ppaddr = pp_horus_##name; return o; \
}
/* ââ Macro: proper call checker for zero-arg functions âââââââââââ */
#define HORUS_CK_NOARG(name) \
static OP *horus_ck_##name(pTHX_ OP *entersubop, GV *namegv, SV *protosv) { \
OP *pushop, *nextop, *newop; \
PERL_UNUSED_ARG(namegv); PERL_UNUSED_ARG(protosv); \
newop->op_ppaddr = pp_horus_##name; \
op_free(entersubop); \
return newop; \
}
/* ââ Macro: proper call checker for unary functions ââââââââââââââ */
#define HORUS_CK_UNARY(name) \
static OP *horus_ck_##name(pTHX_ OP *entersubop, GV *namegv, SV *protosv) { \
OP *pushop, *argop, *nextop, *newop; \
PERL_UNUSED_ARG(namegv); PERL_UNUSED_ARG(protosv); \
newop->op_ppaddr = pp_horus_##name; \
op_free(entersubop); \
return newop; \
}
/* ââ Macro: proper call checker for binary functions ââââââââââââ */
#define HORUS_CK_BINARY(name) \
static OP *horus_ck_##name(pTHX_ OP *entersubop, GV *namegv, SV *protosv) { \
OP *pushop, *arg1, *arg2, *nextop, *newop; \
PERL_UNUSED_ARG(namegv); PERL_UNUSED_ARG(protosv); \
PP_CONST_PV(ns_oid, "6ba7b812-9dad-11d1-80b4-00c04fd430c8", 36)
PP_CONST_PV(ns_x500, "6ba7b814-9dad-11d1-80b4-00c04fd430c8", 36)
/* ââ pp_* : Generator ops (proper restructuring) âââââââââââââââ */
/* Macro for 0-or-1 arg generator call checker */
#define HORUS_CK_GEN01(name) \
static OP *horus_ck_##name(pTHX_ OP *entersubop, GV *namegv, SV *protosv) { \
OP *pushop, *argop, *nextop, *newop; \
int argc = 0; \
PERL_UNUSED_ARG(namegv); PERL_UNUSED_ARG(protosv); \
}
HORUS_CK(uuid_v5)
/* uuid_v8(custom_data, fmt?) - 1 or 2 args */
/* Macro for 1-or-2 arg call checker */
#define HORUS_CK_GEN12(name, pp1, pp2) \
static OP *horus_ck_##name(pTHX_ OP *entersubop, GV *namegv, SV *protosv) { \
OP *pushop, *arg1, *arg2, *nextop, *newop; \
int argc = 0; \
PERL_UNUSED_ARG(namegv); PERL_UNUSED_ARG(protosv); \
SETs(sv_2mortal(newSViv(result)));
RETURN;
}
HORUS_CK_UNARY(uuid_is_max)
/* ââ Macro: XOP + call checker registration ââââââââââââââââââââ */
#define HORUS_REG_XOP(c_name, desc) \
XopENTRY_set(&horus_xop_##c_name, xop_name, "horus_" #c_name); \
XopENTRY_set(&horus_xop_##c_name, xop_desc, desc); \
Perl_custom_op_register(aTHX_ pp_horus_##c_name, &horus_xop_##c_name);
view all matches for this distribution
view release on metacpan or search on metacpan
brotli/c/common/platform.h view on Meta::CPAN
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/* Macros for compiler / platform specific features and build options. */
#ifndef BROTLI_COMMON_PLATFORM_H_
#define BROTLI_COMMON_PLATFORM_H_
#include <string.h> /* memcpy */
brotli/c/common/platform.h view on Meta::CPAN
#if defined(BROTLI_ENABLE_LOG) || defined(BROTLI_DEBUG)
#include <assert.h>
#include <stdio.h>
#endif
/* Macros for compiler / platform specific features and build options.
Build options are:
* BROTLI_BUILD_32_BIT disables 64-bit optimizations
* BROTLI_BUILD_64_BIT forces to use 64-bit optimizations
* BROTLI_BUILD_BIG_ENDIAN forces to use big-endian optimizations
view all matches for this distribution
view release on metacpan or search on metacpan
lib/IO/ReadPreProcess.pm view on Meta::CPAN
__END__
=head1 NAME
IO::ReadPreProcess - Macro processing built into IO::File replacement
=head1 SYNOPSIS
use IO::ReadPreProcess;
view all matches for this distribution
view release on metacpan or search on metacpan
isa-l_crypto/aes/gcm_avx_gen2.asm view on Meta::CPAN
%endif
%define VARIABLE_OFFSET LOCAL_STORAGE + XMM_STORAGE
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Utility Macros
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; GHASH_MUL MACRO to implement: Data*HashKey mod (128,127,126,121,0)
; Input: A and B (128-bits each, bit-reflected)
isa-l_crypto/aes/gcm_avx_gen2.asm view on Meta::CPAN
%define %%DATA_OFFSET %6
%define %%AAD_HASH %7
%define %%ENC_DEC %8
mov r13, [%%GDATA_CTX + PBlockLen]
cmp r13, 0
je %%_partial_block_done ;Leave Macro if no partial blocks
cmp %%PLAIN_CYPH_LEN, 16 ;Read in input data without over reading
jl %%_fewer_than_16_bytes
VXLDR xmm1, [%%PLAIN_CYPH_IN] ;If more than 16 bytes of data, just fill the xmm register
jmp %%_data_read
isa-l_crypto/aes/gcm_avx_gen2.asm view on Meta::CPAN
%define %%PLAIN_CYPH_IN %4
%define %%PLAIN_CYPH_LEN %5
%define %%ENC_DEC %6
%define %%DATA_OFFSET r11
; Macro flow:
; calculate the number of 16byte blocks in the message
; process (number of 16byte blocks) mod 8 '%%_initial_num_blocks_is_# .. %%_initial_blocks_encrypted'
; process 8 16 byte blocks at a time until all are done '%%_encrypt_by_8_new .. %%_eight_cipher_left'
; if there is a block of less tahn 16 bytes process it '%%_zero_cipher_left .. %%_multiple_of_16_bytes'
cmp %%PLAIN_CYPH_LEN, 0
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ISO/639/3.pm view on Meta::CPAN
=cut
our %TwoToThree = ();
our %ThreeToTwo = ();
our %ThreeToThree = ();
our %ThreeToMacro = ();
our %NameToTwo = ();
our %NameToThree = ();
our %TwoToName = ();
our %ThreeToName = ();
lib/ISO/639/3.pm view on Meta::CPAN
return $ThreeToTwo{$_[0]} if (exists $ThreeToTwo{$_[0]});
return $NameToTwo{lc($_[0])} if (exists $NameToTwo{lc($_[0])});
return $_[0] if (exists $TwoToThree{$_[0]});
## TODO: is it OK to fallback to macro language in this conversion?
## (should we add some regional code?)
if (exists $ThreeToMacro{$_[0]}){
return $ThreeToTwo{$ThreeToMacro{$_[0]}}
if (exists $ThreeToTwo{$ThreeToMacro{$_[0]}});
}
## try without regional extension
my $code = $_[0];
return &get_iso639_1($code) if ($code=~s/[\-\_].*$//);
return &get_iso639_1(lc($code)) if ($code ne lc($code));
lib/ISO/639/3.pm view on Meta::CPAN
=cut
sub get_macro_language{
my $code = get_iso639_3($_[0],$_[1]);
return $ThreeToMacro{$code} if (exists $ThreeToMacro{$code});
return $code;
}
=head2 $language = get_language_name( $id )
lib/ISO/639/3.pm view on Meta::CPAN
chomp;
last unless ($_);
my @f = split(/\t/);
next unless ($f[0]);
$ThreeToThree{$f[1]} = $f[1];
$ThreeToMacro{$f[1]} = $f[0];
}
}
sub _read_collective_language_table{
## collective languages from ISO639-2
lib/ISO/639/3.pm view on Meta::CPAN
unless (exists $ThreeToThree{$f[0]}){
$ThreeToThree{$f[0]} = $f[1] ? $f[1] : $f[0];
if ($f[2]){
$ThreeToTwo{$f[0]} = $f[2];
}
$ThreeToMacro{$f[0]} = $f[3] if ($f[3]);
if ($f[4]){
$ThreeToName{$f[0]} = $f[4];
}
}
if ($f[4]){
view all matches for this distribution
view release on metacpan or search on metacpan
lib/IUP/Canvas.pod view on Meta::CPAN
$alpha = $canvas->cdAlpha($color);
#or
$alpha = IUP::Canvas->cdAlpha($color);
Macro that returns the alpha component of a color in the CD library.
Can be used without an active canvas.
=head3 cdRed()
$red = $canvas->cdRed($color);
#or
$red = IUP::Canvas->cdRed($color);
Macro that returns the red component of a color in the CD library. Can
be used without an active canvas.
=head3 cdGreen()
$green = $canvas->cdGreen($color);
#or
$green = IUP::Canvas->cdGreen($color);
Macro that returns the green component of a color in the CD library.
Can be used without an active canvas.
=head3 cdBlue()
$blue = $canvas->cdBlue($color);
#or
$blue = IUP::Canvas->cdBlue($color);
Macro that returns the blue component of a color in the CD library. Can
be used without an active canvas.
=head3 cdGetColorPlanes()
$bpp = $canvas->cdGetColorPlanes();
view all matches for this distribution
view release on metacpan or search on metacpan
examples/plugin-info.html view on Meta::CPAN
<TR>
<TD>aml</TD>
<TD></TD>
<TD>AML (ARC/INFO Arc Macro Language)</TD>
</TR>
<TR>
<TD>ampl</TD>
examples/plugin-info.html view on Meta::CPAN
<TR>
<TD>masm</TD>
<TD></TD>
<TD>Microsoft Macro Assembler (80x86)</TD>
</TR>
<TR>
<TD>mason</TD>
examples/plugin-info.html view on Meta::CPAN
<TR>
<TD>vmasm</TD>
<TD></TD>
<TD>(VAX) Macro Assembly</TD>
</TR>
<TR>
<TD>voscm</TD>
examples/plugin-info.html view on Meta::CPAN
<TR>
<TD>webmacro</TD>
<TD></TD>
<TD>WebMacro</TD>
</TR>
<TR>
<TD>wget</TD>
view all matches for this distribution
view release on metacpan or search on metacpan
ccv-src/.doxygen.conf view on Meta::CPAN
ENABLE_PREPROCESSING = YES
# If the MACRO_EXPANSION tag is set to YES doxygen will expand all macro names
# in the source code. If set to NO only conditional compilation will be
# performed. Macro expansion can be done in a controlled way by setting
# EXPAND_ONLY_PREDEF to YES.
# The default value is: NO.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
MACRO_EXPANSION = YES
view all matches for this distribution
view release on metacpan or search on metacpan
utils/ref-man-8.5.html view on Meta::CPAN
$xpaget ds9 iconify<br>
<br>
$xpaset -p ds9 iconify<br>
$xpaset -p ds9 iconify yes<br></tt>
<p><b><a name="iexam" id="iexam"></a>iexam</b></p>
<p>Interactive examine function. A blinking cursor will indicate to the user to click on a point on an image. The specified information will be returned at that time. The default event is <tt>button</tt>. In the last form, the following macros will b...
<tt>Syntax:<br>
iexam []<br>
[[]|button|key|any] coordinate <coordsys> [<skyframe>] [<skyformat>]<br>
[[]|button|key|any] data [width][height]<br>
[[]|button|key|any] <macro string>]<br>
view all matches for this distribution
view release on metacpan or search on metacpan
/* Focus mode. */
static struct descrip asahi_focus[] = {
{ 0, "Normal" },
{ 1, "Macro" },
{ 2, "Macro" },
{ 3, "Infinity" },
{ -1, "Unknown" },
};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Image/ExifTool.pm view on Meta::CPAN
DJV => 'DJVU',
DJVU => ['AIFF', 'DjVu image'],
DLL => ['EXE', 'Windows Dynamic Link Library'],
DNG => ['TIFF', 'Digital Negative'],
DOC => ['FPX', 'Microsoft Word Document'],
DOCM => [['ZIP','FPX'], 'Office Open XML Document Macro-enabled'],
# Note: I have seen a password-protected DOCX file which was FPX-like, so I assume
# that any other MS Office file could be like this too. The only difference is
# that the ZIP and FPX formats are checked first, so if this is wrong, no biggie.
DOCX => [['ZIP','FPX'], 'Office Open XML Document'],
DOT => ['FPX', 'Microsoft Word Template'],
DOTM => [['ZIP','FPX'], 'Office Open XML Document Template Macro-enabled'],
DOTX => [['ZIP','FPX'], 'Office Open XML Document Template'],
DPX => ['DPX', 'Digital Picture Exchange' ],
DR4 => ['DR4', 'Canon VRD version 4 Recipe'],
DS2 => ['DSS', 'Digital Speech Standard 2'],
DSF => ['DSF', 'DSF Stream File'],
lib/Image/ExifTool.pm view on Meta::CPAN
F4V => ['MOV', 'Adobe Flash Player 9+ Video'],
FFF => [['TIFF','FLIR'], 'Hasselblad Flexible File Format'],
FIT => 'FITS',
FITS => ['FITS', 'Flexible Image Transport System'],
FLAC => ['FLAC', 'Free Lossless Audio Codec'],
FLA => ['FPX', 'Macromedia/Adobe Flash project'],
FLIF => ['FLIF', 'Free Lossless Image Format'],
FLIR => ['FLIR', 'FLIR File Format'], # (not an actual extension)
FLV => ['FLV', 'Flash Video'],
FPF => ['FPF', 'FLIR Public image Format'],
FPX => ['FPX', 'FlashPix'],
lib/Image/ExifTool.pm view on Meta::CPAN
PICT => ['PICT', 'Apple PICTure'],
PLIST=> ['PLIST','Apple Property List'],
PMP => ['PMP', 'Sony DSC-F1 Cyber-Shot PMP'], # should stand for Proprietery Metadata Package ;)
PNG => ['PNG', 'Portable Network Graphics'],
POT => ['FPX', 'Microsoft PowerPoint Template'],
POTM => [['ZIP','FPX'], 'Office Open XML Presentation Template Macro-enabled'],
POTX => [['ZIP','FPX'], 'Office Open XML Presentation Template'],
PPAM => [['ZIP','FPX'], 'Office Open XML Presentation Addin Macro-enabled'],
PPAX => [['ZIP','FPX'], 'Office Open XML Presentation Addin'],
PPM => ['PPM', 'Portable Pixel Map'],
PPS => ['FPX', 'Microsoft PowerPoint Slideshow'],
PPSM => [['ZIP','FPX'], 'Office Open XML Presentation Slideshow Macro-enabled'],
PPSX => [['ZIP','FPX'], 'Office Open XML Presentation Slideshow'],
PPT => ['FPX', 'Microsoft PowerPoint Presentation'],
PPTM => [['ZIP','FPX'], 'Office Open XML Presentation Macro-enabled'],
PPTX => [['ZIP','FPX'], 'Office Open XML Presentation'],
PRC => ['PDB', 'Palm Database'],
PS => ['PS', 'PostScript'],
PS2 => 'PS',
PS3 => 'PS',
lib/Image/ExifTool.pm view on Meta::CPAN
X3F => ['X3F', 'Sigma RAW format'],
XCF => ['XCF', 'GIMP native image format'],
XHTML=> ['HTML', 'Extensible HyperText Markup Language'],
XISF => ['XISF', 'Extensible Image Serialization Format'],
XLA => ['FPX', 'Microsoft Excel Add-in'],
XLAM => [['ZIP','FPX'], 'Office Open XML Spreadsheet Add-in Macro-enabled'],
XLS => ['FPX', 'Microsoft Excel Spreadsheet'],
XLSB => [['ZIP','FPX'], 'Office Open XML Spreadsheet Binary'],
XLSM => [['ZIP','FPX'], 'Office Open XML Spreadsheet Macro-enabled'],
XLSX => [['ZIP','FPX'], 'Office Open XML Spreadsheet'],
XLT => ['FPX', 'Microsoft Excel Template'],
XLTM => [['ZIP','FPX'], 'Office Open XML Spreadsheet Template Macro-enabled'],
XLTX => [['ZIP','FPX'], 'Office Open XML Spreadsheet Template'],
XMP => ['XMP', 'Extensible Metadata Platform'],
VSDX => ['ZIP', 'Visio Diagram Document'],
WOFF => ['Font', 'Web Open Font Format'],
WOFF2=> ['Font', 'Web Open Font Format 2'],
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Image/TIFF.pm view on Meta::CPAN
);
my %olympus_tags = (
0x0200 => "SpecialMode",
0x0201 => { __TAG__ => "JpegQual", 0 => "SQ", 1 => "HQ", 2 => "SHQ" },
0x0202 => { __TAG__ => "Macro", 0 => "Normal", 1 => "Macro" },
0x0204 => "DigiZoom",
0x0207 => "SoftwareRelease",
0x0208 => "PictInfo",
0x0209 => "CameraID",
0x0f00 => "DataDump",
lib/Image/TIFF.pm view on Meta::CPAN
},
0x1003 => { __TAG__ => "Color", 0 => "Normal", 256 => "High", 512 => "Low" },
0x1004 => { __TAG__ => "Tone" , 0 => "Normal", 256 => "High", 512 => "Low" },
0x1010 => { __TAG__ => "FlashMode", 0 => "Auto", 1 => "On", 2 => "Off", 3 => "Red-eye reduction" },
0x1011 => "FlashStrength",
0x1020 => { __TAG__ => "Macro", 0 => "Off", 1 => "On"},
0x1021 => { __TAG__ => "FocusMode", 0 => "Auto", 1 => "Manual" },
0x1030 => { __TAG__ => "SlowSync", 0 => "Off", 1 => "On"},
0x1031 => { __TAG__ => "PictureMode",
0 => "Auto",
1 => "Portrait",
lib/Image/TIFF.pm view on Meta::CPAN
4 => "Portrait",
5 => "Landscape",
},
0x0002 => { __TAG__ => "Quality", 1 => "Economy", 2 => "Normal", 3 => "Fine" },
0x0003 => { __TAG__ => "FocusingMode",
2 => "Macro",
3 => "Auto",
4 => "Manual",
5 => "Infinity",
},
0x0004 => { __TAG__ => "FlashMode", 1 => "Auto", 2 => "On", 3 => "Off", 4 => "Red-eye reduction" },
lib/Image/TIFF.pm view on Meta::CPAN
100 => "High",
},
);
my %canon_0x0001_tags = (
0 => { __TAG__ => "MacroMode", 1 => "Macro", 2 => "Normal" },
1 => "SelfTimer",
2 => { __TAG__ => "Quality", 2 => "Normal", 3 => "Fine", 5 => "SuperFine" },
3 => 'Tag-0x0001-03',
4 => { __TAG__ => 'FlashMode',
0 => 'Flash Not Fired',
lib/Image/TIFF.pm view on Meta::CPAN
5 => 'Night',
6 => 'B&W',
7 => 'Sepia',
8 => 'Portrait',
9 => 'Sports',
10 => 'Macro/Close-Up',
11 => 'Pan Focus'
},
12 => { __TAG__ => 'DigitalZoom', 0 => 'None', 1 => '2x', 2 => '4x' },
13 => { __TAG__ => 'Contrast', 0xFFFF => 'Low', 0 => 'Normal', 1 => 'High' },
14 => { __TAG__ => 'Saturation', 0xFFFF => 'Low', 0 => 'Normal', 1 => 'High' },
lib/Image/TIFF.pm view on Meta::CPAN
},
17 => { __TAG__ => 'MeteringMode', 3 => 'Evaluative', 4 => 'Partial', 5 => 'Center-Weighted' },
18 => { __TAG__ => 'FocusType',
0 => 'Manual',
1 => 'Auto',
3 => 'Close-Up (Macro)',
8 => 'Locked (Pan Mode)'
},
19 => { __TAG__ => 'AFPointSelected',
0x3000 => 'None { __TAG__ => MF)',
0x3001 => 'Auto-Selected',
lib/Image/TIFF.pm view on Meta::CPAN
0x001a => { __TAG__ => "ImageStabilizer",
2 => 'On, Mode 1',
3 => 'Off',
4 => 'On, Mode 2',
},
0x001c => { __TAG__ => "MacroMode",
1 => 'On',
2 => 'Off',
},
0x001f => { __TAG__ => "ShootingMode",
1 => 'Normal',
lib/Image/TIFF.pm view on Meta::CPAN
4 => 'Sports',
5 => 'Night Portrait',
6 => 'Program',
7 => 'Aperture Priority',
8 => 'Shutter Priority',
9 => 'Macro',
11 => 'Manual',
13 => 'Panning',
18 => 'Fireworks',
19 => 'Party',
20 => 'Snow',
lib/Image/TIFF.pm view on Meta::CPAN
2 => "Hard"
},
0xA40B => "DeviceSettingDescription",
0xA40C => {__TAG__ => "SubjectDistanceRange",
0 => "Unknown",
1 => "Macro",
2 => "Close view",
3 => "Distant view"
},
0xA420 => "ImageUniqueID",
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Image/Leptonica/Func/list.pm view on Meta::CPAN
Consequently, a generic list utility that handles lists
of arbitrary objects and doesn't force the programmer to
touch the "next" and "prev" pointers, is quite useful.
Such functions are provided here. However, the usual
situation requires traversing a list and applying some
function to one or more of the list elements. Macros
for traversing the list are, in general, necessary, to
achieve the goal of invisibly handling all "next" and "prev"
pointers in generic lists. We provide macros for
traversing a list in both forward and reverse directions.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Image/MetaData/JPEG/data/Makernotes.pl view on Meta::CPAN
0x1002 => ['WhiteBalance', $SHORT, 1, '(0|256|512|76[89]|770)'], #
0x1003 => ['ColorSaturation', $SHORT, 1, '(0|256|512)' ], #
0x1004 => ['ToneContrast', $SHORT, 1, '(0|256|512)' ], #
0x1010 => ['FlashMode', $SHORT, 1, '[0-3]' ], #
0x1011 => ['FlashStrength', $SRATIONAL, 1, $IFD_signed ], #
0x1020 => ['MacroMode', $SHORT, 1, '[01]' ], #
0x1021 => ['FocusMode', $SHORT, 1, '[01]' ], #
0x1030 => ['SlowSync', $SHORT, 1, '[01]' ], #
0x1031 => ['PictureMode', $SHORT, 1, '([0-24-6]|256|512|768)'], #
0x1032 => [ undef, $SHORT, 1, undef ], #
0x1100 => ['ContTake/Bracket', $SHORT, 1, '[01]' ], #
lib/Image/MetaData/JPEG/data/Makernotes.pl view on Meta::CPAN
#----------------------------------------------------------------------------#
$$HASH_MAKERNOTES{'Kodak'}{'tags'} = #
{ 0x0001 => ['---0x0001', $BYTE, 1, undef ], #
0x0002 => ['Compression', $BYTE, 1, '[12]' ], #
0x0003 => ['BurstMode', $BYTE, 1, '[01]' ], #
0x0004 => ['MacroMode', $BYTE, 1, '[01]' ], #
0x0005 => ['PixelXDimension', $SHORT, 1, '(2160|1800|1536|1080)' ], #
0x0007 => ['PixelYDimension', $SHORT, 1, '(1440|1200|1024|720)' ], #
0x0009 => ['Year', $SHORT, 1, $re_year ], #
0x000a => ['Month', $BYTE, 1, $re_month ], #
0x000b => ['Day', $BYTE, 1, $re_day ], #
lib/Image/MetaData/JPEG/data/Makernotes.pl view on Meta::CPAN
#----------------------------------------------------------------------------#
$$HASH_MAKERNOTES{'Minolta_1'}{'tags'} = #
{ 0x0000 => ['MakerNoteVersion', $UNDEF, 4, 'MLT0' ], #
0x0200 => ['SpecialMode', $LONG, 3, $IFD_integer ], #
0x0201 => ['Quality', $SHORT, 3, undef ], #
0x0202 => ['MacroMode', $SHORT, 1, '[012]' ], #
0x0203 => [ undef, $SHORT, 1, undef ], #
0x0204 => ['DigitalZoom', $RATIONAL, 1, $IFD_integer ], #
0x020e => [ undef, $SHORT, 1, undef ], #
0x020f => [ undef, $SHORT, 1, undef ], #
0x0210 => [ undef, $SHORT, 1, undef ], #
lib/Image/MetaData/JPEG/data/Makernotes.pl view on Meta::CPAN
#----------------------------------------------------------------------------#
$$HASH_MAKERNOTES{'Olympus'}{'tags'} = #
{ 0x0100 => ['JPEGThumbnail', $UNDEF, undef, '\377\330\377.*' ], #
0x0200 => ['SpecialMode', $LONG, 3, $IFD_integer ], #
0x0201 => ['JpegQuality', $SHORT, 1, '[123]' ], #
0x0202 => ['Macro', $SHORT, 1, '[012]' ], #
0x0203 => [ undef, $SHORT, 1, undef ], #
0x0204 => ['DigitalZoom', $RATIONAL, 1, $IFD_integer ], #
0x0205 => [ undef, $RATIONAL, 1, undef ], #
0x0206 => [ undef, $SSHORT, 6, undef ], #
0x0207 => ['SoftwareRelease', $ASCII, 5, '[A-Z0-9]*' ], #
lib/Image/MetaData/JPEG/data/Makernotes.pl view on Meta::CPAN
0x1009 => [ undef, $SHORT, 1, undef ], #
0x100a => [ undef, $SHORT, 1, undef ], #
0x100b => ['FocusMode', $SHORT, 1, undef ], #
0x100c => ['FocusDistance', $RATIONAL, 1, undef ], #
0x100d => ['Zoom', $SHORT, 1, undef ], #
0x100e => ['MacroFocus', $SHORT, 1, undef ], #
0x100f => ['Sharpness', $SHORT, 1, undef ], #
0x1010 => [ undef, $SHORT, 1, undef ], #
0x1011 => ['ColourMatrix', $SHORT, 9, undef ], #
0x1012 => ['BlackLevel', $SHORT, 4, undef ], #
0x1013 => [ undef, $SHORT, 1, undef ], #
lib/Image/MetaData/JPEG/data/Makernotes.pl view on Meta::CPAN
0x0002 => ['FirmwareVersion', $UNDEF, 4, '010\d' ], #
0x0003 => ['WhiteBalance', $SHORT, 1, '[1-58]' ], #
0x0007 => ['FocusMode', $SHORT, 1, '[12]' ], #
0x000f => ['SpotMode', $BYTE, 2, undef ], #
0x001a => ['ImageStabilizer', $SHORT, 1, '[2-4]' ], #
0x001c => ['MacroMode', $SHORT, 1, '[129]' ], #
0x001f => ['ShootingMode', $SHORT, 1, '([2-9]|1[1389]|2[01])' ], #
0x0020 => ['Audio', $SHORT, 1, '[12]' ], #
0x0021 => [ undef, $UNDEF, undef, undef ], #
0x0022 => [ undef, $SHORT, 1, undef ], #
0x0023 => ['WhiteBalanceAdjust', $SHORT, 1, $IFD_integer ], #
lib/Image/MetaData/JPEG/data/Makernotes.pl view on Meta::CPAN
#----------------------------------------------------------------------------#
$$HASH_MAKERNOTES{'Sanyo'}{'tags'} = #
{ 0x0100 => ['JPEGThumbnail', $UNDEF, undef, '\377\330\377.*' ], #
0x0200 => ['SpecialMode', $LONG, 3, $IFD_integer ], #
0x0201 => ['JPEGQuality', $SHORT, 1, '[\000-\007][\000-\002]'], #
0x0202 => ['Macro', $SHORT, 1, '[0-3]' ], #
0x0203 => [ undef, $SHORT, 1, '[0]' ], #
0x0204 => ['DigitalZoom', $RATIONAL, 1, $IFD_integer ], #
0x0207 => ['SoftwareRelease', $ASCII, undef, $IFD_Cstring ], #
0x0208 => ['PictInfo', $ASCII, undef, '[\040-\176]*' ], #
0x0209 => ['CameraID', $UNDEF, 32, '.*' ], #
view all matches for this distribution
view release on metacpan or search on metacpan
libpng-1.6.17/contrib/libtests/pngvalid.c view on Meta::CPAN
{
fprintf(stderr, "PNG_PASS_COL_SHIFT(%d) = %u != %x\n", pass, m, f);
exit(99);
}
/* Macros that depend on the image or sub-image height too:
*
* PNG_PASS_ROWS(height, pass)
* PNG_PASS_COLS(width, pass)
* PNG_ROW_FROM_PASS_ROW(yIn, pass)
* PNG_COL_FROM_PASS_COL(xIn, pass)
view all matches for this distribution
view release on metacpan or search on metacpan
include/pinttypes.h view on Meta::CPAN
typedef struct {
intmax_t quot;
intmax_t rem;
} imaxdiv_t;
// 7.8.1 Macros for format specifiers
#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) // [ See footnote 185 at page 198
// The fprintf macros for signed integers are:
#define PRId8 "d"
view all matches for this distribution