Searched refs:cfunc (Results 1 - 24 of 24) sorted by relevance

/macosx-10.9.5/tcl-102/tcl_ext/incrtcl/incrTcl/itcl/generic/
H A Ditcl_linkage.c88 ItclCfunc *cfunc;
108 cfunc = (ItclCfunc*)Tcl_GetHashValue(entry);
109 if (cfunc->argCmdProc != NULL && cfunc->argCmdProc != proc) {
116 if (cfunc->deleteProc != NULL) {
117 (*cfunc->deleteProc)(cfunc->clientData);
121 cfunc = (ItclCfunc*)ckalloc(sizeof(ItclCfunc));
122 cfunc->objCmdProc = NULL;
125 cfunc
87 ItclCfunc *cfunc; local
172 ItclCfunc *cfunc; local
240 ItclCfunc *cfunc; local
312 ItclCfunc *cfunc; local
[all...]
H A DitclInt.h394 } cfunc; member in struct:ItclMemberCode
H A Ditcl_methods.c711 mcode->cfunc.objCmd = objCmdProc;
716 mcode->cfunc.argCmd = argCmdProc;
990 result = (*mcode->cfunc.objCmd)(mcode->clientData,
1000 result = (*mcode->cfunc.argCmd)(mcode->clientData,
/macosx-10.9.5/ruby-104/ruby/ext/dl/lib/dl/
H A Dfunc.rb51 def initialize cfunc, argtypes, abi = nil, &block
53 abi ||= CALL_TYPE_TO_ABI[(cfunc.calltype rescue nil)]
55 @cfunc = Class.new(FiddleClosureCFunc) {
57 }.new(cfunc.ctype, argtypes, abi, cfunc.name)
59 @cfunc = cfunc
63 super(@cfunc, @args.reject { |x| x == TYPE_VOID }, cfunc.ctype, abi)
65 @cfunc
[all...]
/macosx-10.9.5/ruby-104/ruby/test/dl/
H A Dtest_dl2.rb30 cfunc = CFunc.new(@libc['strcpy'], TYPE_VOIDP, 'strcpy')
31 cfunc.call([ptr_id,str].pack("l!p").unpack("l!*"))
53 cfunc = CFunc.new(@libc['strcpy'], TYPE_VOIDP, 'strcpy')
54 cfunc.call([ptr_id,str].pack("l!p").unpack("l!*"))
69 cfunc = CFunc.new(@libc['atoi'], TYPE_INT, 'atoi')
70 x = cfunc.call(["100"].pack("p").unpack("l!*"))
73 cfunc = CFunc.new(@libc['atoi'], TYPE_INT, 'atoi')
74 x = cfunc.call(["-100"].pack("p").unpack("l!*"))
79 cfunc = CFunc.new(@libc['atol'], TYPE_LONG, 'atol')
80 x = cfunc
[all...]
H A Dtest_func.rb78 cfunc = CFunc.new(@libc['strcpy'], TYPE_VOIDP, 'strcpy')
79 f = Function.new(cfunc, [TYPE_VOIDP, TYPE_VOIDP])
80 assert_equal cfunc.to_i, f.to_i
/macosx-10.9.5/ruby-104/ruby/ext/dl/
H A Dcfunc.c2 * $Id: cfunc.c 36281 2012-07-03 03:10:02Z usa $
79 "dl/cfunc",
186 struct cfunc_data *cfunc; local
188 TypedData_Get_Struct(self, struct cfunc_data, &dlcfunc_data_type, cfunc);
189 return cfunc->name ? rb_tainted_str_new2(cfunc->name) : Qnil;
194 * cfunc.ctype => num
202 struct cfunc_data *cfunc; local
204 TypedData_Get_Struct(self, struct cfunc_data, &dlcfunc_data_type, cfunc);
205 return INT2NUM(cfunc
217 struct cfunc_data *cfunc; local
233 struct cfunc_data *cfunc; local
248 struct cfunc_data *cfunc; local
264 struct cfunc_data *cfunc; local
279 struct cfunc_data *cfunc; local
297 struct cfunc_data *cfunc; local
342 struct cfunc_data *cfunc; local
615 struct cfunc_data *cfunc; local
[all...]
/macosx-10.9.5/file_cmds-230/dd/
H A Dextern.h59 extern void (*cfunc)(void);
H A Dargs.c154 cfunc = ddflags & C_BLOCK ? block : unblock;
159 cfunc = unblock;
162 cfunc = block;
167 cfunc = def;
H A Ddd.c84 void (*cfunc)(void); /* conversion function */ variable
358 (*cfunc)();
369 if (cfunc == def)
371 else if (cfunc == block)
373 else if (cfunc == unblock)
/macosx-10.9.5/ruby-104/ruby/
H A Dvm_backtrace.c63 } cfunc; member in union:rb_backtrace_location_struct::__anon12506
135 if (loc->body.cfunc.prev_loc) {
136 return location_lineno(loc->body.cfunc.prev_loc);
167 return rb_id2str(loc->body.cfunc.mid);
216 return rb_sym_to_s(ID2SYM(loc->body.cfunc.mid));
243 if (loc->body.cfunc.prev_loc) {
244 return location_path(loc->body.cfunc.prev_loc);
276 if (loc->body.cfunc.prev_loc) {
277 return location_absolute_path(loc->body.cfunc.prev_loc);
331 if (loc->body.cfunc
[all...]
H A Dvm_method.c396 setup_method_cfunc_struct(rb_method_cfunc_t *cfunc, VALUE (*func)(), int argc) argument
398 cfunc->func = func;
399 cfunc->argc = argc;
400 cfunc->invoker = call_cfunc_invoker_func(argc);
426 rb_method_cfunc_t *cfunc = (rb_method_cfunc_t *)opts; local
427 setup_method_cfunc_struct(&def->body.cfunc, cfunc->func, cfunc->argc);
445 setup_method_cfunc_struct(&def->body.cfunc, rb_f_notimplement, -1);
1136 d1->body.cfunc
[all...]
H A Dmethod.h81 rb_method_cfunc_t cfunc; member in union:rb_method_definition_struct::__anon12397
H A Dvm_eval.c63 const rb_method_cfunc_t *cfunc = &me->def->body.cfunc; local
64 int len = cfunc->argc;
71 val = (*cfunc->invoker)(cfunc->func, ci, argv);
98 const rb_method_cfunc_t *cfunc = &me->def->body.cfunc; local
99 int len = cfunc->argc;
117 val = (*cfunc->invoker)(cfunc
[all...]
H A Dvm_insnhelper.c868 me->def->body.cfunc.func == func) {
1471 const rb_method_cfunc_t *cfunc = &me->def->body.cfunc; local
1472 int len = cfunc->argc;
1490 val = (*cfunc->invoker)(cfunc->func, recv, argc, reg_cfp->sp + 1);
1511 const rb_method_cfunc_t *cfunc = &ci->me->def->body.cfunc; local
1517 val = (*cfunc->invoker)(cfunc
[all...]
H A Dinternal.h337 int rb_method_defined_by(VALUE obj, ID mid, VALUE (*cfunc)(ANYARGS));
H A Dnode.h246 VALUE (*cfunc)(ANYARGS); member in union:RNode::__anon12405
337 #define nd_cfnc u1.cfunc
H A Dproc.c1705 if (def->body.cfunc.argc < 0) {
1709 return *max = check_argc(def->body.cfunc.argc);
H A Dclass.c1562 me->def->body.cfunc.func == rb_any_to_s)
/macosx-10.9.5/ruby-104/ruby/ext/fiddle/
H A Dfunction.c125 VALUE cfunc, types, cPointer; local
128 cfunc = rb_iv_get(self, "@ptr");
169 ffi_call(cif, NUM2PTR(rb_Integer(cfunc)), &retval, values);
/macosx-10.9.5/ruby-104/ruby/ext/dl/win32/lib/win32/
H A Dregistry.rb224 cfunc = extern fn, :stdcall
225 const_set cfunc.name.intern, cfunc
/macosx-10.9.5/ruby-104/ruby/ext/fiddle/win32/lib/win32/
H A Dregistry.rb224 cfunc = extern fn, :stdcall
225 const_set cfunc.name.intern, cfunc
/macosx-10.9.5/bash-92/bash-3.2/lib/readline/
H A Dcomplete.c379 rl_completion_mode (cfunc)
380 rl_command_func_t *cfunc;
382 if (rl_last_func == cfunc && !completion_changed_buffer)
/macosx-10.9.5/emacs-92/emacs/lisp/calc/
H A Dcalc-prog.el2132 (cfunc (intern (concat "calcFunc-" name)))
2134 (cond ((fboundp cfunc)
2135 (cons cfunc args))
2142 (cons cfunc args)))))))))

Completed in 165 milliseconds