Lines Matching refs:nth_array
1091 kmp_nested_nthreads_t *nth_array) { in __kmp_parse_nested_num_threads() argument
1142 if (!nth_array->nth) { in __kmp_parse_nested_num_threads()
1144 nth_array->nth = (int *)KMP_INTERNAL_MALLOC(sizeof(int) * total * 2); in __kmp_parse_nested_num_threads()
1145 if (nth_array->nth == NULL) { in __kmp_parse_nested_num_threads()
1148 nth_array->size = total * 2; in __kmp_parse_nested_num_threads()
1150 if (nth_array->size < total) { in __kmp_parse_nested_num_threads()
1153 nth_array->size *= 2; in __kmp_parse_nested_num_threads()
1154 } while (nth_array->size < total); in __kmp_parse_nested_num_threads()
1156 nth_array->nth = (int *)KMP_INTERNAL_REALLOC( in __kmp_parse_nested_num_threads()
1157 nth_array->nth, sizeof(int) * nth_array->size); in __kmp_parse_nested_num_threads()
1158 if (nth_array->nth == NULL) { in __kmp_parse_nested_num_threads()
1163 nth_array->used = total; in __kmp_parse_nested_num_threads()
1181 nth_array->nth[i++] = 0; in __kmp_parse_nested_num_threads()
1185 nth_array->nth[i] = nth_array->nth[i - 1]; in __kmp_parse_nested_num_threads()
1215 nth_array->nth[i++] = num; in __kmp_parse_nested_num_threads()