Home
last modified time | relevance | path

Searched refs:str_flags (Results 1 – 5 of 5) sorted by relevance

/PHP-8.0/ext/fileinfo/libmagic/
H A Dprint.c78 if (m->str_flags) { in file_mdump()
85 if (m->str_flags & STRING_IGNORE_LOWERCASE) in file_mdump()
87 if (m->str_flags & STRING_IGNORE_UPPERCASE) in file_mdump()
89 if (m->str_flags & REGEX_OFFSET_START) in file_mdump()
91 if (m->str_flags & STRING_TEXTTEST) in file_mdump()
93 if (m->str_flags & STRING_BINTEST) in file_mdump()
95 if (m->str_flags & PSTRING_1_BE) in file_mdump()
97 if (m->str_flags & PSTRING_2_BE) in file_mdump()
99 if (m->str_flags & PSTRING_2_LE) in file_mdump()
101 if (m->str_flags & PSTRING_4_BE) in file_mdump()
[all …]
H A Dapprentice.c1533 if (m->str_flags != 0) { in string_modifier_check()
1681 m->str_flags |= INDIRECT_RELATIVE; in parse_indirect_modifier()
1745 m->str_flags |= REGEX_OFFSET_START; in parse_string_modifier()
1748 m->str_flags |= STRING_BINTEST; in parse_string_modifier()
1751 m->str_flags |= STRING_TEXTTEST; in parse_string_modifier()
1754 m->str_flags |= STRING_TRIM; in parse_string_modifier()
1757 #define SET_LENGTH(a) m->str_flags = (m->str_flags & ~PSTRING_LEN) | (a) in parse_string_modifier()
3354 m->str_flags = swap4(m->str_flags);
3365 switch (m->str_flags & PSTRING_LEN) {
3377 m->str_flags & PSTRING_LEN);
[all …]
H A Dsoftmagic.c681 if (m->str_flags & STRING_TRIM) { in mprint()
810 if ((m->str_flags & REGEX_OFFSET_START)) in mprint()
940 if ((m->str_flags & REGEX_OFFSET_START) != 0) in moffset()
948 if ((m->str_flags & REGEX_OFFSET_START) != 0) in moffset()
1355 if (m->str_flags & REGEX_LINE_COUNT) { in mcopy()
1812 if (m->str_flags & INDIRECT_RELATIVE) in mget()
2160 sizeof(p->s), m->str_flags); in magiccheck()
2167 sizeof(p->s), m->str_flags); in magiccheck()
2181 if (slen > 0 && m->str_flags == 0) { in magiccheck()
2202 ms->search.s_len - idx, m->str_flags); in magiccheck()
[all …]
H A Dfile.h326 #define str_flags _u._s._flags macro
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch543 m->str_flags = m->type == FILE_PSTRING ? PSTRING_1_LE : 0;
928 m->str_flags = swap4(m->str_flags);
3170 if (m->str_flags) {
3172 if (m->str_flags & STRING_COMPACT_WHITESPACE)
3386 ((text && (m->str_flags & FLT) == STRING_BINTEST) ||
3387 (!text && (m->str_flags & FLT) == STRING_TEXTTEST))) ||
3581 - ((m->str_flags & STRING_IGNORE_CASE) ? REG_ICASE : 0));
3585 + if (m->str_flags & STRING_IGNORE_CASE) {

Completed in 29 milliseconds