Home
last modified time | relevance | path

Searched refs:ELEM_COUNT (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_buf_comparison.c157 int limit_type = ELEM_COUNT; in match_alloc_helper()
221 int limit_type = ELEM_COUNT; in match_calloc()
281 if (limit_type != ELEM_COUNT) in array_check()
384 if ((limit_type == ELEM_COUNT || limit_type == ELEM_LAST) && in buf_comparison_index_ok()
501 orig_type == ELEM_COUNT) { in match_size_binop()
510 *limit_type = ELEM_COUNT; in match_size_binop()
516 orig_type == ELEM_COUNT) { in match_size_binop()
524 *limit_type = ELEM_COUNT; in match_size_binop()
545 *limit_type = ELEM_COUNT; in buf_size_param_comparison()
H A Dsmatch_passes_array_size.c49 snprintf(elem_count, sizeof(elem_count), "%d", ELEM_COUNT); in match_call()
67 sql_insert_caller_info(expr, ELEM_COUNT, i, buf, elem_count); in match_call()
H A Dcheck_buffer_too_small_for_struct.c55 if (limit_type != ELEM_COUNT) in match_assign()
94 if (limit_type != ELEM_COUNT) in match_dereferences()
H A Dcheck_off_by_one_relative.c44 if (!size || limit_type != ELEM_COUNT) in array_check()
H A Dsmatch_constraints_required.c293 if (limit_type != ELEM_COUNT) in match_assign_has_buf_comparison()
H A Dsmatch.h891 ELEM_COUNT = 8051, enumerator