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

12345678

/macosx-10.9.5/ruby-104/ruby/ext/dl/lib/dl/
H A Dcparser.rb19 ty = tks[0..-2].join(" ")
22 case ty
25 ty.gsub!(/\s*\[\d+\]/,"")
26 ty = [ty, n]
28 ty.gsub!(/\s*\[\]/, "*")
33 ty = [ty, $1.to_i]
36 ty = ty
[all...]
H A Dstruct.rb153 ty = @ctypes[idx]
154 if( ty.is_a?(Array) )
155 r = super(@offset[idx], SIZE_MAP[ty[0]] * ty[1])
157 r = super(@offset[idx], SIZE_MAP[ty.abs])
159 packer = Packer.new([ty])
161 case ty
163 case ty[0]
172 if( ty.is_a?(Integer) && (ty <
[all...]
H A Dcallback.rb30 def set_callback_internal(proc_entry, addr_entry, argc, ty, abi = nil, &cbp)
38 closure = Fiddle::Closure::BlockCaller.new(ty, [TYPE_VOIDP] * argc, abi, &cbp)
43 ary = proc_entry[ty]
48 addr = addr_entry[ty][idx]
58 def set_cdecl_callback(ty, argc, &cbp)
59 set_callback_internal(CdeclCallbackProcs, CdeclCallbackAddrs, argc, ty, &cbp)
62 def set_stdcall_callback(ty, argc, &cbp)
64 set_callback_internal(StdcallCallbackProcs, StdcallCallbackAddrs, argc, ty, Fiddle::Function::STDCALL, &cbp)
66 set_callback_internal(StdcallCallbackProcs, StdcallCallbackAddrs, argc, ty, &cbp)
85 addr_entry.each{|ty,entr
[all...]
H A Dvalue.rb5 def unsigned_value(val, ty)
6 case ty.abs
22 def signed_value(val, ty)
23 case ty.abs
48 def wrap_arg(arg, ty, funcs = [], &block)
58 case ty
73 if( ty.is_a?(Array) )
88 if( ty.is_a?(Array) ) # used only by struct
89 case ty[0]
H A Dimport.rb81 def sizeof(ty)
83 case ty
85 ty = parse_ctype(ty, @type_alias).abs()
86 case ty
104 raise(DLError, "unknown type: #{ty}")
107 if( ty.instance_methods().include?(:to_ptr) )
108 return ty.size()
111 return CPtr[ty].size()
207 def create_value(ty, va
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/fiddle/lib/fiddle/
H A Dcparser.rb32 ty = tks[0..-2].join(" ")
35 case ty
38 ty.gsub!(/\s*\[\d+\]/,"")
39 ty = [ty, n]
41 ty.gsub!(/\s*\[\]/, "*")
46 ty = [ty, $1.to_i]
49 ty = ty
[all...]
H A Dstruct.rb156 ty = @ctypes[idx]
157 if( ty.is_a?(Array) )
158 r = super(@offset[idx], SIZE_MAP[ty[0]] * ty[1])
160 r = super(@offset[idx], SIZE_MAP[ty.abs])
162 packer = Packer.new([ty])
164 case ty
166 case ty[0]
175 if( ty.is_a?(Integer) && (ty <
[all...]
H A Dvalue.rb5 def unsigned_value(val, ty)
6 case ty.abs
22 def signed_value(val, ty)
23 case ty.abs
48 def wrap_arg(arg, ty, funcs = [], &block)
56 case ty
71 if( ty.is_a?(Array) )
86 if( ty.is_a?(Array) ) # used only by struct
87 case ty[0]
H A Dimport.rb99 # Returns the sizeof +ty+, using Fiddle::Importer.parse_ctype to determine
101 def sizeof(ty)
102 case ty
104 ty = parse_ctype(ty, @type_alias).abs()
105 case ty
123 raise(DLError, "unknown type: #{ty}")
126 if( ty.instance_methods().include?(:to_ptr) )
127 return ty.size()
130 return Pointer[ty]
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/hcrypto/libtommath/
H A Dbn_fast_s_mp_mul_digs.c53 int tx, ty; local
58 ty = MIN(b->used-1, ix);
59 tx = ix - ty;
63 tmpy = b->dp + ty;
66 while (tx++ < a->used && ty-- >= 0) { ... }
68 iy = MIN(a->used-tx, ty+1);
H A Dbn_fast_s_mp_mul_high_digs.c45 int tx, ty, iy; local
49 ty = MIN(b->used-1, ix);
50 tx = ix - ty;
54 tmpy = b->dp + ty;
57 while (tx++ < a->used && ty-- >= 0) { ... }
59 iy = MIN(a->used-tx, ty+1);
H A Dbn_fast_s_mp_sqr.c22 * (ty-tx) so that it never happens. You double all those
45 int tx, ty, iy; local
53 ty = MIN(a->used-1, ix);
54 tx = ix - ty;
58 tmpy = a->dp + ty;
61 while (tx++ < a->used && ty-- >= 0) { ... }
63 iy = MIN(a->used-tx, ty+1);
65 /* now for squaring tx can never equal ty
69 iy = MIN(iy, (ty-tx+1)>>1);
/macosx-10.9.5/tcl-102/tcl/tcl/libtommath/
H A Dbn_fast_s_mp_mul_digs.c53 int tx, ty; local
58 ty = MIN(b->used-1, ix);
59 tx = ix - ty;
63 tmpy = b->dp + ty;
66 while (tx++ < a->used && ty-- >= 0) { ... }
68 iy = MIN(a->used-tx, ty+1);
H A Dbn_fast_s_mp_sqr.c22 * (ty-tx) so that it never happens. You double all those
45 int tx, ty, iy; local
53 ty = MIN(a->used-1, ix);
54 tx = ix - ty;
58 tmpy = a->dp + ty;
61 while (tx++ < a->used && ty-- >= 0) { ... }
63 iy = MIN(a->used-tx, ty+1);
65 /* now for squaring tx can never equal ty
69 iy = MIN(iy, (ty-tx+1)>>1);
/macosx-10.9.5/swig-10/Lib/pike/
H A Dpikerun.swg48 SWIG_Pike_ConvertPtr(struct object *obj, void **ptr, swig_type_info *ty, int flags) {
53 if (ty) {
54 pr = (struct program *) ty->clientdata;
57 tc = SWIG_TypeCheckStruct(obj_wrapper->type, ty);
/macosx-10.9.5/ruby-104/ruby/ext/dl/callback/
H A Dmkcallback.rb91 def func_name(ty, argc, n, calltype)
92 "rb_dl_callback_#{DLTYPE[ty][:name]}_#{argc}_#{n}_#{calltype}"
123 def gencallback(ty, calltype, proc_entry, argc, n)
124 dltype = DLTYPE[ty]
129 FUNC_#{calltype.upcase}(#{func_name(ty,argc,n,calltype)})(#{(0...argc).collect{|i| "DLSTACK_TYPE stack#{i}"}.join(", ")})
137 cb = rb_ary_entry(rb_ary_entry(#{proc_entry}, #{ty}), #{(n * DLSTACK_SIZE) + argc});
147 def gen_push_proc_ary(ty, aryname)
155 def gen_push_addr_ary(ty, aryname, calltype)
160 "PTR2NUM(%s)" % func_name(ty,argc,i,calltype)
165 def gen_callback_file(ty)
[all...]
/macosx-10.9.5/swig-10/Lib/
H A Dswigrun.swg63 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
71 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
81 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
276 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
277 if (ty) {
278 swig_cast_info *iter = ty->cast;
281 if (iter == ty->cast)
287 iter->next = ty->cast;
289 if (ty->cast) ty
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/transforms/
H A DTranslateTransformOperation.h36 static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, OperationType type) argument
38 return adoptRef(new TranslateTransformOperation(tx, ty, Length(0, Fixed), type));
41 static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, const Length& tz, OperationType type) argument
43 return adoptRef(new TranslateTransformOperation(tx, ty, tz, type));
76 TranslateTransformOperation(const Length& tx, const Length& ty, const Length& tz, OperationType type) argument
78 , m_y(ty)
/macosx-10.9.5/lsof-52/lsof/lib/
H A Dlkud.c78 int ty = 0; local
85 ty = Lf->inp_ty;
107 if ((i == 0) || (ty != 1) || (inode == dp->inode)) {
153 int ty = 0; local
160 ty = Lf->inp_ty;
182 if ((i == 0) || (ty != 1) || (inode == dp->inode)) {
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cg/
H A DTransformationMatrixCG.cpp44 setF(t.ty);
59 setMatrix(t.a, t.b, t.c, t.d, t.tx, t.ty);
/macosx-10.9.5/swig-10/Lib/python/
H A Dpyrun.swg20 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
25 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
37 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
253 SWIG_Python_CheckImplicit(swig_type_info *ty)
255 SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
333 swig_type_info *ty;
385 const char *name = SWIG_TypePrettyName(v->ty);
[all...]
/macosx-10.9.5/swig-10/Lib/ruby/
H A Drubyrun.swg23 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)
35 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty)
55 #define SWIG_define_class(ty) SWIG_Ruby_define_class(ty)
56 #define SWIG_NewClassInstance(value, ty) SWIG_Ruby_NewClassInstance(value, ty)
58 #define SWIG_CheckConvert(value, ty) SWIG_Ruby_CheckConvert(value, ty)
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm-c/
H A DExecutionEngine.h146 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
147 inline ty *unwrap(ref P) { \
148 return reinterpret_cast<ty*>(P); \
151 inline ref wrap(const ty *P) { \
152 return reinterpret_cast<ref>(const_cast<ty*>(P)); \
/macosx-10.9.5/Heimdal-323.92.1/lib/asn1/
H A Dgen_decode.c61 Der_class *cl, Der_type *ty, unsigned *tag)
66 *ty = PRIM;
71 *ty = PRIM;
78 *ty = PRIM;
83 *ty = PRIM;
88 *ty = PRIM;
93 *ty = PRIM;
98 *ty = PRIM;
103 *ty = PRIM;
108 *ty
60 find_tag(const Type *t, Der_class *cl, Der_type *ty, unsigned *tag) argument
579 Der_type ty; local
[all...]
/macosx-10.9.5/cctools-845/otool/
H A Dm88k_disasm.c62 static char ty[] = { 's', 'd', 'x', '?' }; variable
389 printf("fmul.%c%c%c\tx%u,x%u,x%u\n", ty[TD(opcode)],
390 ty[T1(opcode)], ty[T2(opcode)], D(opcode),
393 printf("fmul.%c%c%c\tr%u,r%u,r%u\n", ty[TD(opcode)],
394 ty[T1(opcode)], ty[T2(opcode)], D(opcode),
399 printf("fcvt.%c%c\tx%u,x%u\n", ty[TD(opcode)],
400 ty[T2(opcode)], D(opcode), S2(opcode));
402 printf("fcvt.%c%c\tr%u,r%u\n", ty[T
[all...]

Completed in 178 milliseconds

12345678