Lines Matching +full:eoc +full:- +full:level
37 .Bl -tag -width ".Dv message"
42 .Bl -bullet -compact
44 The first direct offset of the magic entry (at continuation level 0),
50 A continuation offset relative to the end of the last up-level field
56 .Bl -tag -width ".Dv lestring16"
58 A one-byte value.
60 A two-byte value in this machine's native byte order.
62 A four-byte value in this machine's native byte order.
64 An eight-byte value in this machine's native byte order.
66 A 32-bit single precision IEEE floating point number in this machine's native byte order.
68 A 64-bit double precision IEEE floating point number in this machine's native byte order.
76 .Bl -tag -width B -compact -offset XXXX
112 A Pascal-style string where the first byte/short/int is interpreted as the
116 .Bl -tag -width B -compact -offset XXXX
138 A four-byte value interpreted as a UNIX date.
140 An eight-byte value interpreted as a UNIX date.
142 A four-byte value interpreted as a UNIX-style date, but interpreted as
145 An eight-byte value interpreted as a UNIX-style date, but interpreted as
148 An eight-byte value interpreted as a Windows-style date.
150 A 32-bit ID3 length in big-endian byte order.
152 A two-byte value in big-endian byte order.
154 A four-byte value in big-endian byte order.
156 An eight-byte value in big-endian byte order.
158 A 32-bit single precision IEEE floating point number in big-endian byte order.
160 A 64-bit double precision IEEE floating point number in big-endian byte order.
162 A four-byte value in big-endian byte order,
165 An eight-byte value in big-endian byte order,
168 A four-byte value in big-endian byte order,
169 interpreted as a UNIX-style date, but interpreted as local time rather
172 An eight-byte value in big-endian byte order,
173 interpreted as a UNIX-style date, but interpreted as local time rather
176 An eight-byte value in big-endian byte order,
177 interpreted as a Windows-style date.
179 A two-byte unicode (UCS16) string in big-endian byte order.
181 A 32-bit ID3 length in little-endian byte order.
183 A two-byte value in little-endian byte order.
185 A four-byte value in little-endian byte order.
187 An eight-byte value in little-endian byte order.
189 A 32-bit single precision IEEE floating point number in little-endian byte order.
191 A 64-bit double precision IEEE floating point number in little-endian byte order.
193 A four-byte value in little-endian byte order,
196 An eight-byte value in little-endian byte order,
199 A four-byte value in little-endian byte order,
200 interpreted as a UNIX-style date, but interpreted as local time rather
203 An eight-byte value in little-endian byte order,
204 interpreted as a UNIX-style date, but interpreted as local time rather
207 An eight-byte value in little-endian byte order,
208 interpreted as a Windows-style date.
210 A two-byte unicode (UCS16) string in little-endian byte order.
212 A four-byte value in middle-endian (PDP-11) byte order.
214 A four-byte value in middle-endian (PDP-11) byte order,
217 A four-byte value in middle-endian (PDP-11) byte order,
218 interpreted as a UNIX-style date, but interpreted as local time rather
295 It matches when no other test at that continuation level has matched before.
296 Clearing that matched tests for a continuation level, can be done using the
300 This test is always true and clears the match flag for that continuation level.
308 .Dv eoc ,
343 .Dv oid-iri ,
344 .Dv rel-oid-iri .
349 XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.
355 .Bd -literal -offset indent
356 -0 offset x this file is %lld bytes
357 -0 offset <=100 must be more than 100 \e
426 Each top-level magic pattern (see below for an explanation of levels)
432 are classified as text tests, unless non-printable characters are used
435 A top-level
456 with the usual escapes permitted (e.g. \en for new-line).
516 This means that a line can match any non-empty string (usually used to
519 (because all non-empty strings are greater than the empty string).
541 .Bd -literal -offset indent
545 A slash-separated list of commonly found filename extensions can be specified
547 .Bd -literal -offset indent
553 followed by a slash-separated list of commonly found extensions; for example
555 .Bd -literal -offset indent
560 non-blank or comment line after the magic line that identifies the
562 .Bd -literal -offset indent
572 .Bd -literal -offset indent
580 .Dv - ,
598 on the line indicates the level of the test; a line with no
600 at the beginning is considered to be at level 0.
601 Tests are arranged in a tree-like hierarchy:
602 if the test on a line at level
604 succeeds, all following tests at level
607 with level
612 .Bd -literal -offset indent
614 \*[Gt]0x18 leshort \*[Lt]0x40 MS-DOS executable
630 .Em (( x [[.,][bBcCeEfFgGhHiIlmsSqQ]][+\-][ y ]) .
647 type interprets the number as a middle endian (PDP-11) value.
653 .Bl -column -offset indent "Type" "Half/Short" "Little" "Size"
669 .Bd -literal -offset indent
670 # MS Windows executables are also valid MS-DOS executables
672 \*[Gt]0x18 leshort \*[Lt]0x40 MZ executable (MS-DOS)
675 \*[Gt]\*[Gt](0x3c.l) string PE\e0\e0 PE executable (MS-Windows)
685 .Em [+-*/%\*[Am]|^]number
688 .Bd -literal -offset indent
689 # MS Windows executables are also valid MS-DOS executables
694 \*[Gt]\*[Gt](4.s*512) leshort 0x014c COFF executable (MS-DOS, DJGPP)
695 \*[Gt]\*[Gt](4.s*512) leshort !0x014c MZ executable (MS-DOS)
700 You can specify an offset relative to the end of the last up-level
704 .Bd -literal -offset indent
707 \*[Gt]\*[Gt](0x3c.l) string PE\e0\e0 PE executable (MS-Windows)
714 .Bd -literal -offset indent
717 \*[Gt]\*[Gt](4.s*512) leshort !0x014c MZ executable (MS-DOS)
721 \*[Gt]\*[Gt]\*[Gt]\*[Am](2.s-514) string LE LE executable (MS Windows VxD driver)
725 .Bd -literal -offset indent
728 \*[Gt]\*[Gt](0x3c.l) string LE\e0\e0 LE executable (MS-Windows)
729 # at offset 0x80 (-4, since relative offsets start at the end
730 # of the up-level match) inside the LE header, we find the absolute
736 .Bd -literal -offset indent
739 \*[Gt]\*[Gt](0x3c.l) string LE\e0\e0 LE executable (MS-Windows)
742 \*[Gt]\*[Gt]\*[Gt]\*[Am](\*[Am]0x54.l-3) string UNACE \eb, ACE self-extracting archive
750 .Bd -literal -offset indent
753 \*[Gt]\*[Gt](0x3c.l) string PE\e0\e0 PE executable (MS-Windows)
758 \*[Gt]\*[Gt]\*[Gt]\*[Gt](\*[Am]0xe.l+(-4)) string PK\e3\e4 \eb, ZIP self-extracting archive
761 If you have a list of known values at a particular continuation level,
762 and you want to provide a switch-like default case:
763 .Bd -literal -offset indent
764 # clear that continuation level match
774 \- the command that reads this file.
797 built for a 64-bit environment in which
816 and specified-byte-order variants of them,
822 .\" Message-ID: <2752@sun.uucp>