php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Go to the source code of this file.
Data Structures | |
struct | accept_range |
Macros | |
#define | DPRINTF(a) |
#define | F 0 /* character never appears in text */ |
#define | T 1 /* character appears in plain ASCII text */ |
#define | I 2 /* character appears in ISO-8859 text */ |
#define | X 3 /* character appears in non-ISO extended ASCII (Mac, IBM PC) */ |
#define | LOOKS(NAME, COND) |
#define | XX 0xF1 |
#define | AS 0xF0 |
#define | S1 0x02 |
#define | S2 0x13 |
#define | S3 0x03 |
#define | S4 0x23 |
#define | S5 0x34 |
#define | S6 0x04 |
#define | S7 0x44 |
#define | LOCB 0x80 |
#define | HICB 0xBF |
#define | UCS16_NOCHAR(c) |
#define | UCS16_HISURR(c) |
#define | UCS16_LOSURR(c) |
Functions | |
file_private int | looks_ascii (const unsigned char *, size_t, file_unichar_t *, size_t *) |
file_private int | looks_utf8_with_BOM (const unsigned char *, size_t, file_unichar_t *, size_t *) |
file_private int | looks_utf7 (const unsigned char *, size_t, file_unichar_t *, size_t *) |
file_private int | looks_ucs16 (const unsigned char *, size_t, file_unichar_t *, size_t *) |
file_private int | looks_ucs32 (const unsigned char *, size_t, file_unichar_t *, size_t *) |
file_private int | looks_latin1 (const unsigned char *, size_t, file_unichar_t *, size_t *) |
file_private int | looks_extended (const unsigned char *, size_t, file_unichar_t *, size_t *) |
file_private void | from_ebcdic (const unsigned char *, size_t, unsigned char *) |
file_protected int | file_encoding (struct magic_set *ms, const struct buffer *b, file_unichar_t **ubuf, size_t *ulen, const char **code, const char **code_mime, const char **type) |
file_protected int | file_looks_utf8 (const unsigned char *buf, size_t nbytes, file_unichar_t *ubuf, size_t *ulen) |
Variables | |
file_private char | text_chars [256] |
struct accept_range | accept_ranges [16] |
file_private unsigned char | ebcdic_to_ascii [] |
#define AS 0xF0 |
Definition at line 301 of file encoding.c.
Definition at line 65 of file encoding.c.
Definition at line 235 of file encoding.c.
#define HICB 0xBF |
Definition at line 311 of file encoding.c.
Definition at line 237 of file encoding.c.
#define LOCB 0x80 |
Definition at line 310 of file encoding.c.
#define LOOKS | ( | NAME, | |
COND ) |
Definition at line 262 of file encoding.c.
#define S1 0x02 |
Definition at line 302 of file encoding.c.
#define S2 0x13 |
Definition at line 303 of file encoding.c.
#define S3 0x03 |
Definition at line 304 of file encoding.c.
#define S4 0x23 |
Definition at line 305 of file encoding.c.
#define S5 0x34 |
Definition at line 306 of file encoding.c.
#define S6 0x04 |
Definition at line 307 of file encoding.c.
#define S7 0x44 |
Definition at line 308 of file encoding.c.
Definition at line 236 of file encoding.c.
#define UCS16_HISURR | ( | c | ) |
Definition at line 461 of file encoding.c.
#define UCS16_LOSURR | ( | c | ) |
Definition at line 462 of file encoding.c.
#define UCS16_NOCHAR | ( | c | ) |
Definition at line 460 of file encoding.c.
Definition at line 238 of file encoding.c.
#define XX 0xF1 |
Definition at line 300 of file encoding.c.
file_protected int file_encoding | ( | struct magic_set * | ms, |
const struct buffer * | b, | ||
file_unichar_t ** | ubuf, | ||
size_t * | ulen, | ||
const char ** | code, | ||
const char ** | code_mime, | ||
const char ** | type ) |
Definition at line 75 of file encoding.c.
file_protected int file_looks_utf8 | ( | const unsigned char * | buf, |
size_t | nbytes, | ||
file_unichar_t * | ubuf, | ||
size_t * | ulen ) |
Definition at line 350 of file encoding.c.
file_private void from_ebcdic | ( | const unsigned char * | buf, |
size_t | nbytes, | ||
unsigned char * | out ) |
Definition at line 651 of file encoding.c.
file_private int looks_ascii | ( | const unsigned char * | , |
size_t | , | ||
file_unichar_t * | , | ||
size_t * | ) |
file_private int looks_extended | ( | const unsigned char * | , |
size_t | , | ||
file_unichar_t * | , | ||
size_t * | ) |
file_private int looks_latin1 | ( | const unsigned char * | , |
size_t | , | ||
file_unichar_t * | , | ||
size_t * | ) |
file_private int looks_ucs16 | ( | const unsigned char * | bf, |
size_t | nbytes, | ||
file_unichar_t * | ubf, | ||
size_t * | ulen ) |
Definition at line 465 of file encoding.c.
file_private int looks_ucs32 | ( | const unsigned char * | bf, |
size_t | nbytes, | ||
file_unichar_t * | ubf, | ||
size_t * | ulen ) |
Definition at line 525 of file encoding.c.
file_private int looks_utf7 | ( | const unsigned char * | buf, |
size_t | nbytes, | ||
file_unichar_t * | ubuf, | ||
size_t * | ulen ) |
Definition at line 441 of file encoding.c.
file_private int looks_utf8_with_BOM | ( | const unsigned char * | buf, |
size_t | nbytes, | ||
file_unichar_t * | ubuf, | ||
size_t * | ulen ) |
Definition at line 431 of file encoding.c.
struct accept_range accept_ranges[16] |
file_private unsigned char ebcdic_to_ascii[] |
Definition at line 593 of file encoding.c.
file_private char text_chars[256] |
Definition at line 240 of file encoding.c.