| 1200 | |
| 1201 | |
| 1202 | static int path_exact(const json_path_with_flags *paths_list, int n_paths, |
| 1203 | const json_path_t *p, json_value_types vt, |
| 1204 | MEM_ROOT_DYNAMIC_ARRAY *array_size_counter) |
| 1205 | { |
| 1206 | int count_path= 0; |
| 1207 | for (; n_paths > 0; n_paths--, paths_list++) |
| 1208 | { |
| 1209 | if (json_path_compare(&paths_list->p, p, vt, array_size_counter) == 0) |
| 1210 | count_path++; |
| 1211 | } |
| 1212 | return count_path; |
| 1213 | } |
| 1214 | |
| 1215 | |
| 1216 | static bool path_ok(const json_path_with_flags *paths_list, int n_paths, |
no test coverage detected