Lines Matching refs:mp_sys
783 static void mp_expand (char *in_buf, size_t in_len, cs_t *mp_sys, cs_t *mp_usr, int mp_usr_offset, … in mp_expand() argument
801 case 'l': mp_add_cs_buf (mp_sys[0].cs_buf, mp_sys[0].cs_len, mp_usr + mp_usr_offset); in mp_expand()
803 case 'u': mp_add_cs_buf (mp_sys[1].cs_buf, mp_sys[1].cs_len, mp_usr + mp_usr_offset); in mp_expand()
805 case 'd': mp_add_cs_buf (mp_sys[2].cs_buf, mp_sys[2].cs_len, mp_usr + mp_usr_offset); in mp_expand()
807 case 's': mp_add_cs_buf (mp_sys[3].cs_buf, mp_sys[3].cs_len, mp_usr + mp_usr_offset); in mp_expand()
809 case 'a': mp_add_cs_buf (mp_sys[4].cs_buf, mp_sys[4].cs_len, mp_usr + mp_usr_offset); in mp_expand()
811 case 'b': mp_add_cs_buf (mp_sys[5].cs_buf, mp_sys[5].cs_len, mp_usr + mp_usr_offset); in mp_expand()
872 static cs_t *mp_gen_css (char *mask_buf, size_t mask_len, cs_t *mp_sys, cs_t *mp_usr, uint32_t *css… in mp_gen_css() argument
893 case 'l': mp_add_cs_buf (mp_sys[0].cs_buf, mp_sys[0].cs_len, css + css_pos); in mp_gen_css()
895 case 'u': mp_add_cs_buf (mp_sys[1].cs_buf, mp_sys[1].cs_len, css + css_pos); in mp_gen_css()
897 case 'd': mp_add_cs_buf (mp_sys[2].cs_buf, mp_sys[2].cs_len, css + css_pos); in mp_gen_css()
899 case 's': mp_add_cs_buf (mp_sys[3].cs_buf, mp_sys[3].cs_len, css + css_pos); in mp_gen_css()
901 case 'a': mp_add_cs_buf (mp_sys[4].cs_buf, mp_sys[4].cs_len, css + css_pos); in mp_gen_css()
903 case 'b': mp_add_cs_buf (mp_sys[5].cs_buf, mp_sys[5].cs_len, css + css_pos); in mp_gen_css()
16164 cs_t mp_sys[6]; in main() local
16166 memset (mp_sys, 0, sizeof (mp_sys)); in main()
16176 mp_sys[0].cs_buf[pos++] = chr; in main()
16177 mp_sys[0].cs_len = pos; } in main()
16180 mp_sys[1].cs_buf[pos++] = chr; in main()
16181 mp_sys[1].cs_len = pos; } in main()
16184 mp_sys[2].cs_buf[pos++] = chr; in main()
16185 mp_sys[2].cs_len = pos; } in main()
16188 mp_sys[3].cs_buf[pos++] = chr; in main()
16189 mp_sys[3].cs_len = pos; } in main()
16192 mp_sys[4].cs_buf[pos++] = chr; in main()
16193 mp_sys[4].cs_len = pos; } in main()
16196 mp_sys[5].cs_buf[pos++] = chr; in main()
16197 mp_sys[5].cs_len = pos; } in main()
16219 mp_expand (mp_file, len, mp_sys, mp_usr, 0, 0); in main()
16223 mp_expand (custom_charset_1, strlen (custom_charset_1), mp_sys, mp_usr, 0, 1); in main()
16237 mp_expand (mp_file, len, mp_sys, mp_usr, 1, 0); in main()
16241 mp_expand (custom_charset_2, strlen (custom_charset_2), mp_sys, mp_usr, 1, 1); in main()
16255 mp_expand (mp_file, len, mp_sys, mp_usr, 2, 0); in main()
16259 mp_expand (custom_charset_3, strlen (custom_charset_3), mp_sys, mp_usr, 2, 1); in main()
16273 mp_expand (mp_file, len, mp_sys, mp_usr, 3, 0); in main()
16277 mp_expand (custom_charset_4, strlen (custom_charset_4), mp_sys, mp_usr, 3, 1); in main()
16331 mp_expand (custom_charset_1, strlen (custom_charset_1), mp_sys, mp_usr, 0, 1); in main()
16336 mp_expand (custom_charset_2, strlen (custom_charset_2), mp_sys, mp_usr, 1, 1); in main()
16341 mp_expand (custom_charset_3, strlen (custom_charset_3), mp_sys, mp_usr, 2, 1); in main()
16346 mp_expand (custom_charset_4, strlen (custom_charset_4), mp_sys, mp_usr, 3, 1); in main()
16364 cs_t *css_buf = mp_gen_css (mask, strlen (mask), mp_sys, mp_usr, &css_cnt); in main()