Lines Matching defs:ok
787 bool ok = uname(&uts) != -1;
788 if ( ok )
795 bool ok = gethostname(cbuf, sz) != -1;
796 if ( ok )
804 bool ok = false;
807 if ( !ok )
812 return ok;
817 bool ok = wxGetHostNameInternal(buf, sz);
819 if ( ok )
831 return ok;
836 bool ok = wxGetHostNameInternal(buf, sz);
838 if ( ok )
847 ok = false;
858 return ok;
1124 bool ok = true;
1137 ok &= sigaction(SIGFPE, &act, &s_handlerFPE) == 0;
1138 ok &= sigaction(SIGILL, &act, &s_handlerILL) == 0;
1139 ok &= sigaction(SIGBUS, &act, &s_handlerBUS) == 0;
1140 ok &= sigaction(SIGSEGV, &act, &s_handlerSEGV) == 0;
1141 if ( !ok )
1151 ok &= sigaction(SIGFPE, &s_handlerFPE, NULL) == 0;
1152 ok &= sigaction(SIGILL, &s_handlerILL, NULL) == 0;
1153 ok &= sigaction(SIGBUS, &s_handlerBUS, NULL) == 0;
1154 ok &= sigaction(SIGSEGV, &s_handlerSEGV, NULL) == 0;
1155 if ( !ok )
1164 return ok;