Searched refs:errinfo (Results 1 - 25 of 25) sorted by relevance

/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/Scripts/
H A Dspeak.rb10 @errinfo = OCObject.new
11 @script.compileAndReturnError?(@errinfo)
12 @script = nil if handle_error(@errinfo, raise_err_p)
16 @errinfo = OCObject.new
17 result = @script.executeAndReturnError(@errinfo)
18 handle_error(@errinfo, raise_err_p)
27 return nil if @errinfo.ocnil?
28 return errmsg_of(@errinfo)
33 def handle_error (errinfo, raise_err_p)
34 return false if errinfo
[all...]
H A Ditunes_albums.rb9 @errinfo = OCObject.new
10 @script.compileAndReturnError?(@errinfo)
11 @script = nil if handle_error(@errinfo, raise_err_p)
15 @errinfo = OCObject.new
16 result = @script.executeAndReturnError(@errinfo)
17 handle_error(@errinfo, raise_err_p)
26 return nil if @errinfo.ocnil?
27 return (errmsg_of @errinfo)
32 def handle_error (errinfo, raise_err_p)
33 return false if errinfo
[all...]
/macosx-10.9.5/ruby-104/ruby/
H A Deval_jump.c104 volatile VALUE errinfo = th->errinfo; local
121 if (!NIL_P(th->errinfo)) errinfo = th->errinfo;
140 if (!NIL_P(th->errinfo)) errinfo = th->errinfo;
145 th->errinfo = errinfo;
[all...]
H A Deval_error.c83 VALUE errinfo = th->errinfo; local
89 if (NIL_P(errinfo))
95 errat = get_backtrace(errinfo);
125 eclass = CLASS_OF(errinfo);
127 e = rb_funcall(errinfo, rb_intern("message"), 0, 0);
278 VALUE errinfo = GET_THREAD()->errinfo; local
279 if (rb_obj_is_kind_of(errinfo, rb_eSystemExit)) {
280 status = sysexit_status(errinfo);
[all...]
H A Deval.c126 GET_THREAD()->errinfo = Qnil;
170 errs[1] = th->errinfo;
183 errs[0] = th->errinfo;
191 th->errinfo = errs[1];
217 /* th->errinfo contains a NODE while break'ing */
436 mesg = th->errinfo;
463 th->errinfo = mesg;
466 if (RTEST(ruby_debug) && !NIL_P(e = th->errinfo) &&
473 th->errinfo = Qnil;
475 th->errinfo
808 volatile VALUE errinfo; local
[all...]
H A Dvm_exec.c142 VALUE err = th->errinfo;
143 th->errinfo = Qnil;
H A Dvm_exec.h164 th->errinfo = (VALUE)(exc); \
H A Dload.c586 th->errinfo = Qnil; /* ensure */
623 if (!loaded && !FIXNUM_P(GET_THREAD()->errinfo)) {
625 rb_exc_raise(GET_THREAD()->errinfo);
631 if (!NIL_P(GET_THREAD()->errinfo)) {
633 rb_exc_raise(th->errinfo);
938 volatile VALUE errinfo = th->errinfo; local
1012 th->errinfo = errinfo;
H A Dvm_eval.c1060 VALUE err = th->errinfo;
1068 th->errinfo = Qnil;
1096 th->errinfo = Qnil;
1267 VALUE errinfo = th->errinfo; local
1273 errat = rb_get_backtrace(errinfo);
1274 mesg = rb_attr_get(errinfo, id_mesg);
1280 rb_ivar_set(errinfo, id_mesg, rb_str_append(m, mesg));
1290 rb_exc_raise(errinfo);
1747 th->errinfo
[all...]
H A Dvm.c531 /* rewrite ep in errinfo to point to heap */
535 VALUE errinfo = cfp->ep[-2]; /* #$! */ local
536 if (RB_TYPE_P(errinfo, T_NODE)) {
537 VALUE *escape_ep = GET_THROWOBJ_CATCH_POINT(errinfo);
543 SET_THROWOBJ_CATCH_POINT(errinfo, (VALUE)(epenv->env + epenv->local_size));
955 th->errinfo = (VALUE)NEW_THROW_OBJECT(val, (VALUE)ep, TAG_BREAK);
1216 err = th->errinfo;
1256 th->errinfo = Qnil;
1270 th->errinfo = Qnil;
1307 th->errinfo
[all...]
H A Dvm_trace.c289 const VALUE errinfo = th->errinfo; local
293 th->errinfo = Qnil;
313 th->errinfo = errinfo;
H A Dthread.c489 VALUE errinfo = Qnil; local
517 th->errinfo = Qnil;
530 errinfo = th->errinfo;
536 errinfo = Qnil;
538 else if (rb_obj_is_kind_of(errinfo, rb_eSystemExit)) {
546 errinfo = Qnil;
555 if (RB_TYPE_P(errinfo, T_OBJECT)) {
557 rb_threadptr_raise(main_th, 1, &errinfo);
820 if (target_th->errinfo !
[all...]
H A Dcont.c543 th->errinfo = sth->errinfo;
1186 th->errinfo = Qnil;
1197 rb_threadptr_pending_interrupt_enque(th, th->errinfo);
1200 VALUE err = rb_vm_make_jump_tag_but_local_jump(state, th->errinfo);
H A Dencoding.c585 VALUE errinfo; local
599 errinfo = rb_errinfo();
603 rb_set_errinfo(errinfo);
H A Derror.c95 VALUE err = th->errinfo;
110 th->errinfo = err;
115 th->errinfo = err;
H A Dinsns.def2108 VALUE err = th->errinfo;
2109 th->errinfo = Qnil;
H A Dvm_core.h541 /* temporary place of errinfo */
542 VALUE errinfo; member in struct:rb_thread_struct
549 /* async errinfo queue */
H A Dprocess.c3253 VALUE errinfo = rb_errinfo(); local
3255 rb_marshal_dump(errinfo, io);
3620 if (!NIL_P(GET_THREAD()->errinfo)) {
H A Dcompile.c278 VALUE tmp = GET_THREAD()->errinfo; \
280 GET_THREAD()->errinfo = iseq->compile_data->err_info; \
282 iseq->compile_data->err_info = GET_THREAD()->errinfo; \
283 GET_THREAD()->errinfo = tmp; \
H A Dvm.inc2948 VALUE err = th->errinfo;
2949 th->errinfo = Qnil;
H A Dgc.c1398 GET_THREAD()->errinfo = saved_errinfo;
3418 GET_THREAD()->errinfo = nomem_error;
H A Diseq.c612 rb_exc_raise(GET_THREAD()->errinfo); /* TODO: check err */
/macosx-10.9.5/dtrace-118.1/DTTk/Bin/
H A Derrinfo3 # errinfo - report on syscall failures and print errno error messages.
14 # USAGE: errinfo [-ch] [-p PID] [-n name]
20 # errinfo # default output - snoop event style
21 # errinfo -n ssh # examine "ssh" processes only
22 # errinfo -cn ssh # examine "ssh" using counts
169 print STDERR "USAGE: errinfo [-ch] [-p PID] [-n name]\n";
172 errinfo # default output - snoop event style
/macosx-10.9.5/dtrace-118.1/DTTk/
H A Derrinfo3 # errinfo - report on syscall failures and print errno error messages.
14 # USAGE: errinfo [-ch] [-p PID] [-n name]
20 # errinfo # default output - snoop event style
21 # errinfo -n ssh # examine "ssh" processes only
22 # errinfo -cn ssh # examine "ssh" using counts
169 print STDERR "USAGE: errinfo [-ch] [-p PID] [-n name]\n";
172 errinfo # default output - snoop event style
/macosx-10.9.5/ruby-104/ruby/ext/pathname/
H A Dpathname.c1092 unlink_rescue(VALUE str, VALUE errinfo) argument

Completed in 340 milliseconds