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'],
DSS => ['DSS', 'Digital Speech Standard'],
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'],
WOFF => ['Font', 'Web Open Font Format'],
WOFF2=> ['Font', 'Web Open Font Format 2'],
WPG => ['WPG', 'WordPerfect Graphics'],
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
view release on metacpan or search on metacpan
include/types.h view on Meta::CPAN
// This explicitly marks library functions and allows for changing the
// signature for e.g., Windows DLL builds.
#define WEBP_EXTERN(type) extern type
#endif /* WEBP_EXTERN */
// Macro to check ABI compatibility (same major revision number)
#define WEBP_ABI_IS_INCOMPATIBLE(a, b) (((a) >> 8) != ((b) >> 8))
#endif /* WEBP_WEBP_TYPES_H_ */
view all matches for this distribution
view release on metacpan or search on metacpan
vendor/qrencode-3.4.2/Doxyfile 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
#define ST_STACK_NOTE(dadl, dadr, left, right, y, dir)
#endif
/* Macro to create a link and push on to the list */
#define ST_PUSH(left,right,dadl,dadr,y,dir) do { \
struct stack_element *s = crdata(left,right,dadl,dadr,y,dir); \
ST_PUSH_NOTE(left, right, dadl, dadr, y, dir); \
llist_push(st,&s); \
view all matches for this distribution
view release on metacpan or search on metacpan
mylib/bcdefs.h view on Meta::CPAN
typedef struct file_node {
char *name;
struct file_node *next;
} file_node;
/* Macro Definitions */
#if defined(LIBEDIT)
#define HISTORY_SIZE(n) history(hist, &histev, H_SETSIZE, n)
#define UNLIMIT_HISTORY history(hist, &histev, H_SETSIZE, INT_MAX)
#endif
view all matches for this distribution
view release on metacpan or search on metacpan
perlmodule.h view on Meta::CPAN
#define PKG_EQ(obj,pkg) (strcmp(PyBytes_AsString((obj)->full), (pkg))==0)
#else
#define PKG_EQ(obj,pkg) (strcmp(PyString_AsString((obj)->full), (pkg))==0)
#endif
/* Macro for returning Py_NotImplemented from a function */
#ifndef Py_RETURN_NOTIMPLEMENTED /* Python 3.1 does not define this*/
#define Py_RETURN_NOTIMPLEMENTED \
return Py_INCREF(Py_NotImplemented), Py_NotImplemented
#endif
view all matches for this distribution
view release on metacpan or search on metacpan
tests/lib/Test/Builder.js view on Meta::CPAN
} else {
this.warnOutput(function (msg) { top.alert(msg); });
}
} else if (Test.PLATFORM == 'director') {
// Macromedia-Adobe:Director MX 2004 Support
// XXX Is _player a definitive enough object?
// There may be an even more explicitly Director object.
/*global trace */
this.output(trace);
this.failureOutput(trace);
view all matches for this distribution
view release on metacpan or search on metacpan
tests/lib/Test/Builder.js view on Meta::CPAN
} else {
this.warnOutput(function (msg) { top.alert(msg); });
}
} else if (Test.PLATFORM == 'director') {
// Macromedia-Adobe:Director MX 2004 Support
// XXX Is _player a definitive enough object?
// There may be an even more explicitly Director object.
/*global trace */
this.output(trace);
this.failureOutput(trace);
view all matches for this distribution
view release on metacpan or search on metacpan
tests/lib/Test/Builder.js view on Meta::CPAN
} else {
this.warnOutput(function (msg) { top.alert(msg); });
}
} else if (Test.PLATFORM == 'director') {
// Macromedia-Adobe:Director MX 2004 Support
// XXX Is _player a definitive enough object?
// There may be an even more explicitly Director object.
/*global trace */
this.output(trace);
this.failureOutput(trace);
view all matches for this distribution
view release on metacpan or search on metacpan
tests/lib/Test/Builder.js view on Meta::CPAN
} else {
this.warnOutput(function (msg) { top.alert(msg); });
}
} else if (Test.PLATFORM == 'director') {
// Macromedia-Adobe:Director MX 2004 Support
// XXX Is _player a definitive enough object?
// There may be an even more explicitly Director object.
/*global trace */
this.output(trace);
this.failureOutput(trace);
view all matches for this distribution
view release on metacpan or search on metacpan
0.10 2005-06-24T04:30:24
- Changed the signature of functions passed to output() and friends to
accept a single argument rather than a list of arguments. This allows
custom functions to be much simpler.
- Added support for Macromedia Director. Patch from Gordon McCreight.
- Backwards Incompatibility change: moved all "modules" into Test
"namespace" by using an object for the Test namespace and assigning
the Build() constructor to it. See http://xrl.us/fy4h for a
description of this approach.
- Fixed the typeOf() class method in Test.Builder to just return the
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/therecord.json view on Meta::CPAN
{
"title": "Seattle Before the iPhone #2 - John Nack",
"date_published": "2014-01-17T10:00:00-08:00",
"id": "http://therecord.co/2014/01/17/john_nack",
"url": "http://therecord.co/2014/01/17/john_nack",
"content_html": "<p>This episode was recorded 22 May 2013 live and in person at <a href=\"http://www.adobe.com/\">Adobeâs</a> offices in Fremont in Seattle.</p>\n\n<p>You can <a href=\"http://therecord.co/downloads/TheRecord-s1e2-JohnNack.m4a...
"attachments": [
{
"url": "http://therecord.co/downloads/TheRecord-s1e2-JohnNack.m4a",
"mime_type": "audio/x-m4a",
"size_in_bytes": 60301043
view all matches for this distribution
view release on metacpan or search on metacpan
external/rapidjson/error/error.h view on Meta::CPAN
#endif
///////////////////////////////////////////////////////////////////////////////
// RAPIDJSON_ERROR_STRING
//! Macro for converting string literial to \ref RAPIDJSON_ERROR_CHARTYPE[].
/*! \ingroup RAPIDJSON_ERRORS
By default this conversion macro does nothing.
On Windows, user can define this macro as \c _T(x) for supporting both
unicode/non-unicode settings.
*/
view all matches for this distribution
view release on metacpan or search on metacpan
srcutil/method_dispatch.pl view on Meta::CPAN
#endif /* PLTUBA_METHGV_STRUCT */
EOC
print <<"EOC";
/** X-Macro for method names */
#ifdef PLTUBA_DEFINE_XMETHGV
#define PLTUBA_XMETHGV \\
EOC
foreach (@mode_types) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Java/Javap/Generator/Perl6.pm view on Meta::CPAN
IO
Routine
Sub
Method
Submethod
!Macro
Regex
Match
!Stash
!SoftRoutine
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Java/Wrapper.xs view on Meta::CPAN
#include <string.h>
#ifdef __cplusplus
}
#endif
/* Macro to call an XS function */
#ifdef PERL_OBJECT
# define SWIG_CALLXS(_name) _name(cv,pPerl)
#else
# ifndef MULTIPLICITY
lib/Java/Wrapper.xs view on Meta::CPAN
va_start(args, fmt);
sv_vsetpvfn(perl_get_sv("@", TRUE), fmt, strlen(fmt), &args, Null(SV**), 0, Null(bool*));
va_end(args);
}
/* Macros for low-level exception handling */
#define SWIG_fail goto fail
#define SWIG_croak(x) { SWIG_SetError(x); goto fail; }
#define SWIG_croakSV(x) { SWIG_SetErrorSV(x); goto fail; }
/* most preprocessors do not support vararg macros :-( */
/* #define SWIG_croakf(x...) { SWIG_SetErrorf(x); goto fail; } */
view all matches for this distribution
view release on metacpan or search on metacpan
lib/JavaScript/Duktape/C/lib/duk_config.h view on Meta::CPAN
/* GCC and Clang provide endianness defines as built-in predefines, with
* leading and trailing double underscores (e.g. __BYTE_ORDER__). See
* output of "make gccpredefs" and "make clangpredefs". Clang doesn't
* seem to provide __FLOAT_WORD_ORDER__; assume not mixed endian for clang.
* http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
*/
#if !defined(DUK_USE_BYTEORDER) && defined(__BYTE_ORDER__)
#if defined(__ORDER_LITTLE_ENDIAN__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
#if defined(__FLOAT_WORD_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__) && (__FLOAT_WORD_ORDER__ == __ORDER_LITTLE_ENDIAN__)
#define DUK_USE_BYTEORDER 1
lib/JavaScript/Duktape/C/lib/duk_config.h view on Meta::CPAN
#define DUK_VA_COPY(dest,src) do { (dest) = (src); } while (0)
#endif
#endif
#if !defined(DUK_MACRO_STRINGIFY)
/* Macro hackery to convert e.g. __LINE__ to a string without formatting,
* see: http://stackoverflow.com/questions/240353/convert-a-preprocessor-token-to-a-string
*/
#define DUK_MACRO_STRINGIFY_HELPER(x) #x
#define DUK_MACRO_STRINGIFY(x) DUK_MACRO_STRINGIFY_HELPER(x)
#endif
lib/JavaScript/Duktape/C/lib/duk_config.h view on Meta::CPAN
*/
#define DUK_CAUSE_SEGFAULT() do { *((volatile duk_uint32_t *) NULL) = (duk_uint32_t) 0xdeadbeefUL; } while (0)
#endif
#if !defined(DUK_UNREF)
/* Macro for suppressing warnings for potentially unreferenced variables.
* The variables can be actually unreferenced or unreferenced in some
* specific cases only; for instance, if a variable is only debug printed,
* it is unreferenced when debug printing is disabled. May cause warnings
* for volatile arguments.
*/
view all matches for this distribution