Home
last modified time | relevance | path

Searched refs:start_bits (Results 1 – 13 of 13) sorted by relevance

/third_party/glib/glib/pcre/
Dpcre_study.c49 #define SET_BIT(c) start_bits[c/8] |= (1 << (c&7))
545 set_table_bit(pcre_uint8 *start_bits, const pcre_uchar *p, BOOL caseless, in set_table_bit() argument
629 set_type_bits(pcre_uint8 *start_bits, int cbit_type, int table_limit, in set_type_bits() argument
633 for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type]; in set_type_bits()
671 set_nottype_bits(pcre_uint8 *start_bits, int cbit_type, int table_limit, in set_nottype_bits() argument
675 for (c = 0; c < table_limit; c++) start_bits[c] |= ~cd->cbits[c+cbit_type]; in set_nottype_bits()
677 if (table_limit != 32) for (c = 24; c < 32; c++) start_bits[c] = 0xff; in set_nottype_bits()
708 set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL utf, in set_start_bits() argument
856 rc = set_start_bits(tcode, start_bits, utf, cd); in set_start_bits()
903 rc = set_start_bits(++tcode, start_bits, utf, cd); in set_start_bits()
[all …]
Dpcre_fullinfo.c143 ((const pcre_study_data *)extra_data->study_data)->start_bits : NULL; in pcre_fullinfo()
Dpcre_dfa_exec.c3151 const pcre_uint8 *start_bits = NULL; in pcre_dfa_exec() local
3347 start_bits = study->start_bits; in pcre_dfa_exec()
3461 else if (start_bits != NULL) in pcre_dfa_exec()
3469 if ((start_bits[c/8] & (1 << (c&7))) == 0) in pcre_dfa_exec()
Dpcre_exec.c6362 const pcre_uint8 *start_bits = NULL; in pcre_exec() local
6687 start_bits = study->start_bits; in pcre_exec()
6798 else if (start_bits != NULL) in pcre_exec()
6806 if ((start_bits[c/8] & (1 << (c&7))) == 0) in pcre_exec()
Dpcre_internal.h2001 pcre_uint8 start_bits[32]; /* Starting char bits */ member
Dpcre_jit_compile.c2279 static SLJIT_INLINE void fast_forward_start_bits(compiler_common *common, sljit_uw start_bits, BOOL… in fast_forward_start_bits() argument
2309 OP1(SLJIT_MOV_UB, TMP1, 0, SLJIT_MEM1(TMP1), start_bits); in fast_forward_start_bits()
7020 … fast_forward_start_bits(common, (sljit_uw)study->start_bits, (re->options & PCRE_FIRSTLINE) != 0); in PRIV()
/third_party/mbedtls/library/
Dssl_msg.c2571 unsigned int start_bits, end_bits; in ssl_bitmask_set() local
2573 start_bits = 8 - ( offset % 8 ); in ssl_bitmask_set()
2574 if( start_bits != 8 ) in ssl_bitmask_set()
2579 if( len <= start_bits ) in ssl_bitmask_set()
2582 mask[first_byte_idx] |= 1 << ( start_bits - len ); in ssl_bitmask_set()
2588 offset += start_bits; /* Now offset % 8 == 0 */ in ssl_bitmask_set()
2589 len -= start_bits; in ssl_bitmask_set()
2591 for( ; start_bits != 0; start_bits-- ) in ssl_bitmask_set()
2592 mask[first_byte_idx] |= 1 << ( start_bits - 1 ); in ssl_bitmask_set()
/third_party/pcre2/pcre2/src/
Dpcre2_dfa_match.c3268 const uint8_t *start_bits = NULL; in pcre2_dfa_match() local
3543 start_bits = re->start_bitmap; in pcre2_dfa_match()
3632 if (has_first_cu || start_bits != NULL) in pcre2_dfa_match()
3639 if (!ok && start_bits != NULL) in pcre2_dfa_match()
3644 ok = (start_bits[c/8] & (1u << (c&7))) != 0; in pcre2_dfa_match()
3787 else if (start_bits != NULL) in pcre2_dfa_match()
3795 if ((start_bits[c/8] & (1u << (c&7))) != 0) break; in pcre2_dfa_match()
Dpcre2_match.c6110 const uint8_t *start_bits = NULL; in pcre2_match() local
6680 start_bits = re->start_bitmap; in pcre2_match()
6762 if (has_first_cu || start_bits != NULL) in pcre2_match()
6769 if (!ok && start_bits != NULL) in pcre2_match()
6774 ok = (start_bits[c/8] & (1u << (c&7))) != 0; in pcre2_match()
6924 else if (start_bits != NULL) in pcre2_match()
6932 if ((start_bits[c/8] & (1u << (c&7))) != 0) break; in pcre2_match()
Dpcre2test.c4427 uint8_t *start_bits; in show_pattern_info() local
4488 pattern_info(PCRE2_INFO_FIRSTBITMAP, &start_bits, FALSE) + in show_pattern_info()
4691 else if (start_bits != NULL) in show_pattern_info()
4698 if ((start_bits[i/8] & (1u << (i&7))) != 0) in show_pattern_info()
Dpcre2_jit_compile.c6414 const sljit_u8 *start_bits = common->re->start_bitmap; in fast_forward_start_bits() local
6440 if (!optimize_class(common, start_bits, (start_bits[31] & 0x80) != 0, FALSE, &matches)) in fast_forward_start_bits()
6443 if ((start_bits[31] & 0x80) != 0) in fast_forward_start_bits()
6448 if (common->utf && is_char7_bitset(start_bits, FALSE)) in fast_forward_start_bits()
6453 OP1(SLJIT_MOV_U8, TMP1, 0, SLJIT_MEM1(TMP1), (sljit_sw)start_bits); in fast_forward_start_bits()
/third_party/ffmpeg/libavcodec/
Dbink.c503 int start_bits, int has_sign) in read_dcs() argument
510 if (get_bits_left(gb) < start_bits - has_sign) in read_dcs()
512 v = get_bits(gb, start_bits - has_sign); in read_dcs()
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_av1.c2222 unsigned start_bits = vl_vlc_valid_bits(vlc); in dec_av1_Decode() local
2223 unsigned start_bytes = start_bits / 8; in dec_av1_Decode()
2238 vl_vlc_peekbits(vlc, start_bits) >> ((start_bytes - i - 1) * 8); in dec_av1_Decode()