Lines Matching refs:nth_array
1072 kmp_nested_nthreads_t *nth_array) { in __kmp_parse_nested_num_threads() argument
1123 if (!nth_array->nth) { in __kmp_parse_nested_num_threads()
1125 nth_array->nth = (int *)KMP_INTERNAL_MALLOC(sizeof(int) * total * 2); in __kmp_parse_nested_num_threads()
1126 if (nth_array->nth == NULL) { in __kmp_parse_nested_num_threads()
1129 nth_array->size = total * 2; in __kmp_parse_nested_num_threads()
1131 if (nth_array->size < total) { in __kmp_parse_nested_num_threads()
1134 nth_array->size *= 2; in __kmp_parse_nested_num_threads()
1135 } while (nth_array->size < total); in __kmp_parse_nested_num_threads()
1137 nth_array->nth = (int *)KMP_INTERNAL_REALLOC( in __kmp_parse_nested_num_threads()
1138 nth_array->nth, sizeof(int) * nth_array->size); in __kmp_parse_nested_num_threads()
1139 if (nth_array->nth == NULL) { in __kmp_parse_nested_num_threads()
1144 nth_array->used = total; in __kmp_parse_nested_num_threads()
1162 nth_array->nth[i++] = 0; in __kmp_parse_nested_num_threads()
1166 nth_array->nth[i] = nth_array->nth[i - 1]; in __kmp_parse_nested_num_threads()
1196 nth_array->nth[i++] = num; in __kmp_parse_nested_num_threads()