Lines Matching refs:source
32 $source = $cdef->new($type);
33 $source->cdata = $value;
35 $struct->field = $source;
49 $source = $cdef->new($enum_definition);
50 $source->cdata = 2;
52 $struct->field = $source;
54 var_dump($struct->field === $source->cdata);
72 $source = $cdef->new("struct my_struct");
73 $source->foo = 123;
74 $source->bar = 456;
75 $source->inner->data[0] = 789;
77 $struct->field = $source;
102 $source = $ffi->new('uint32_t');
103 $source->cdata = 123;
105 $target->cdata = $source;
113 $source = $ffi->new('uint32_t');
114 $source->cdata = 123;
116 $target[0] = $source;