/macosx-10.9.5/tcl-102/tcl_ext/incrtcl/incrTcl/itcl/generic/ |
H A D | itcl_linkage.c | 88 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 D | itclInt.h | 394 } cfunc; member in struct:ItclMemberCode
|
H A D | itcl_methods.c | 711 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 D | func.rb | 51 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 D | test_dl2.rb | 30 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 D | test_func.rb | 78 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 D | cfunc.c | 2 * $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 D | extern.h | 59 extern void (*cfunc)(void);
|
H A D | args.c | 154 cfunc = ddflags & C_BLOCK ? block : unblock; 159 cfunc = unblock; 162 cfunc = block; 167 cfunc = def;
|
H A D | dd.c | 84 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 D | vm_backtrace.c | 63 } 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 D | vm_method.c | 396 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 D | method.h | 81 rb_method_cfunc_t cfunc; member in union:rb_method_definition_struct::__anon12397
|
H A D | vm_eval.c | 63 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 D | vm_insnhelper.c | 868 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 D | internal.h | 337 int rb_method_defined_by(VALUE obj, ID mid, VALUE (*cfunc)(ANYARGS));
|
H A D | node.h | 246 VALUE (*cfunc)(ANYARGS); member in union:RNode::__anon12405 337 #define nd_cfnc u1.cfunc
|
H A D | proc.c | 1705 if (def->body.cfunc.argc < 0) { 1709 return *max = check_argc(def->body.cfunc.argc);
|
H A D | class.c | 1562 me->def->body.cfunc.func == rb_any_to_s)
|
/macosx-10.9.5/ruby-104/ruby/ext/fiddle/ |
H A D | function.c | 125 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 D | registry.rb | 224 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 D | registry.rb | 224 cfunc = extern fn, :stdcall 225 const_set cfunc.name.intern, cfunc
|
/macosx-10.9.5/bash-92/bash-3.2/lib/readline/ |
H A D | complete.c | 379 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 D | calc-prog.el | 2132 (cfunc (intern (concat "calcFunc-" name))) 2134 (cond ((fboundp cfunc) 2135 (cons cfunc args)) 2142 (cons cfunc args)))))))))
|