Lines Matching refs:val
134 p_cputime(value val, type tag),
314 Return_Unify_Pw(v1, t1, result.val, result.tag);
468 value val;
472 Cstring_To_Prolog(buf, val);
473 Return_Unify_String(v, t, val.ptr);
822 Return_Unify_Pw(vos, tos, pw.val, pw.tag);
834 Return_Unify_Pw(vecl, tecl, pw.val, pw.tag);
924 pw.val.ptr = DidString(d_hostid_);
932 pw.val.ptr = TG;
934 len = ec_gethostname(StringStart(pw.val), 257);
937 *StringStart(pw.val) = '?';
939 Trim_Buffer(pw.val.ptr, len+1);
944 pw.val.nint = getpid();
950 pw.val.nint = 0;
952 pw.val.nint = getppid();
958 pw.val.nint = ec_unix_time();
963 pw.val.nint = ((char *) SP_ORIG - (char *) B_ORIG) / 1024;
968 pw.val.nint = ((char *) TT_ORIG - (char *) TG_ORIG) / 1024;
974 pw.val.ptr = DidString(d_hostarch_);
982 pw.val.nint = ec_options.parallel_worker;
998 Return_Unify_Pw(vv, tv, pw.val, pw.tag);
1002 p_cputime(value val, type tag)
1005 Return_Unify_Float(val, tag, ((double) (user_time())) / clock_hz);
1397 value val;
1457 Cstring_To_Prolog(str, val);
1458 Return_Unify_String(vv, vt, val.ptr);
1463 Cstring_To_Prolog(str, val);
1464 Return_Unify_String(vv, vt, val.ptr);
1469 Cstring_To_Prolog(str, val);
1470 Return_Unify_String(vv, vt, val.ptr);
1481 Cstring_To_Prolog(pwd->pw_name, val);
1482 Return_Unify_String(vv, vt, val.ptr);
1493 Cstring_To_Prolog(grp->gr_name, val);
1494 Return_Unify_String(vv, vt, val.ptr);