| 386 | }; |
| 387 | |
| 388 | static int userdiff_find_by_namelen_cb(struct userdiff_driver *driver, |
| 389 | enum userdiff_driver_type type UNUSED, |
| 390 | void *priv) |
| 391 | { |
| 392 | struct find_by_namelen_data *cb_data = priv; |
| 393 | |
| 394 | if (!xstrncmpz(driver->name, cb_data->name, cb_data->len)) { |
| 395 | cb_data->driver = driver; |
| 396 | return 1; /* tell the caller to stop iterating */ |
| 397 | } |
| 398 | return 0; |
| 399 | } |
| 400 | |
| 401 | static int regexec_supports_multi_byte_chars(void) |
| 402 | { |
nothing calls this directly
no test coverage detected