Lines Matching defs:nth
497 int nth = 32;
501 if (nth < (4 * req_nproc))
502 nth = (4 * req_nproc);
503 if (nth < (4 * __kmp_xproc))
504 nth = (4 * __kmp_xproc);
506 if (nth > __kmp_max_nth)
507 nth = __kmp_max_nth;
509 return nth;
514 int nth = 128;
520 if (nth < (4 * req_nproc))
521 nth = (4 * req_nproc);
522 if (nth < (4 * __kmp_xproc))
523 nth = (4 * __kmp_xproc);
525 if (nth > __kmp_max_nth)
526 nth = __kmp_max_nth;
528 return nth;
1067 if (!nth_array->nth) {
1069 nth_array->nth = (int *)KMP_INTERNAL_MALLOC(sizeof(int) * total * 2);
1070 if (nth_array->nth == NULL) {
1081 nth_array->nth = (int *)KMP_INTERNAL_REALLOC(
1082 nth_array->nth, sizeof(int) * nth_array->size);
1083 if (nth_array->nth == NULL) {
1106 nth_array->nth[i++] = 0;
1110 nth_array->nth[i] = nth_array->nth[i - 1];
1140 nth_array->nth[i++] = num;
1150 __kmp_nested_nth.nth = (int *)KMP_INTERNAL_MALLOC(sizeof(int));
1152 __kmp_nested_nth.nth[0] = __kmp_dflt_team_nth = __kmp_dflt_team_nth_ub =
1156 if (__kmp_nested_nth.nth) {
1157 __kmp_dflt_team_nth = __kmp_nested_nth.nth[0];
1177 __kmp_str_buf_print(&buf, "%d", __kmp_nested_nth.nth[i]);