Home
last modified time | relevance | path

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

/scripts/gcc-plugins/
Drandomize_layout_plugin.c322 unsigned long num_fields = (unsigned long)list_length(TYPE_FIELDS(type)); in relayout_struct() local
323 unsigned long shuffle_length = num_fields; in relayout_struct()
325 tree newtree[num_fields]; in relayout_struct()
336 if (num_fields < 2) in relayout_struct()
341 gcc_assert(num_fields < INT_MAX); in relayout_struct()
368 if (is_flexible_array(newtree[num_fields - 1])) { in relayout_struct()
391 for (i = 0; i < num_fields - 1; i++) in relayout_struct()
393 TREE_CHAIN(newtree[num_fields - 1]) = NULL_TREE; in relayout_struct()