Lines Matching refs:expected_length
1858 int expected_length;
1862 expected_length = rule->arg_lens[i] & ~BUS_MATCH_ARG_FLAGS;
1885 if (actual_length < expected_length &&
1889 if (expected_length < actual_length &&
1890 expected_arg[expected_length - 1] != '/')
1894 MIN (actual_length, expected_length)) != 0)
1899 if (expected_length > actual_length)
1905 if (memcmp (expected_arg, actual_arg, expected_length) != 0)
1908 if (expected_length < actual_length)
1918 if (actual_arg[expected_length] != '.')
1925 if (expected_length != actual_length ||
1926 memcmp (expected_arg, actual_arg, expected_length) != 0)