/third_party/boost/boost/polygon/detail/ |
D | polygon_set_view.hpp | 60 template <typename ltype, typename rtype, int op_type> 63 template <typename ltype, typename rtype, int op_type> 64 struct polygon_set_traits<polygon_set_view<ltype, rtype, op_type> > { 65 typedef typename polygon_set_view<ltype, rtype, op_type>::coordinate_type coordinate_type; 66 typedef typename polygon_set_view<ltype, rtype, op_type>::iterator_type iterator_type; 67 typedef typename polygon_set_view<ltype, rtype, op_type>::operator_arg_type operator_arg_type; 69 static inline iterator_type begin(const polygon_set_view<ltype, rtype, op_type>& polygon_set); 70 static inline iterator_type end(const polygon_set_view<ltype, rtype, op_type>& polygon_set); 72 static inline bool clean(const polygon_set_view<ltype, rtype, op_type>& polygon_set); 74 static inline bool sort(const polygon_set_view<ltype, rtype, op_type>& polygon_set); [all …]
|
D | polygon_90_set_view.hpp | 17 template <typename ltype, typename rtype, typename op_type> 20 template <typename ltype, typename rtype, typename op_type> 21 struct polygon_90_set_traits<polygon_90_set_view<ltype, rtype, op_type> > { 22 typedef typename polygon_90_set_view<ltype, rtype, op_type>::coordinate_type coordinate_type; 23 typedef typename polygon_90_set_view<ltype, rtype, op_type>::iterator_type iterator_type; 24 … typedef typename polygon_90_set_view<ltype, rtype, op_type>::operator_arg_type operator_arg_type; 26 … static inline iterator_type begin(const polygon_90_set_view<ltype, rtype, op_type>& polygon_set); 27 static inline iterator_type end(const polygon_90_set_view<ltype, rtype, op_type>& polygon_set); 29 …static inline orientation_2d orient(const polygon_90_set_view<ltype, rtype, op_type>& polygon_set); 31 static inline bool clean(const polygon_90_set_view<ltype, rtype, op_type>& polygon_set); [all …]
|
D | polygon_45_set_view.hpp | 12 template <typename ltype, typename rtype, int op_type> 15 template <typename ltype, typename rtype, int op_type> 16 struct polygon_45_set_traits<polygon_45_set_view<ltype, rtype, op_type> > { 17 typedef typename polygon_45_set_view<ltype, rtype, op_type>::coordinate_type coordinate_type; 18 typedef typename polygon_45_set_view<ltype, rtype, op_type>::iterator_type iterator_type; 19 … typedef typename polygon_45_set_view<ltype, rtype, op_type>::operator_arg_type operator_arg_type; 21 …static inline iterator_type begin(const polygon_45_set_view<ltype, rtype, op_type>& polygon_45_set… 22 … static inline iterator_type end(const polygon_45_set_view<ltype, rtype, op_type>& polygon_45_set); 25 static inline void set(polygon_45_set_view<ltype, rtype, op_type>& polygon_45_set, 28 static inline bool clean(const polygon_45_set_view<ltype, rtype, op_type>& polygon_45_set); [all …]
|
/third_party/python/Lib/multiprocessing/ |
D | resource_tracker.py | 153 def register(self, name, rtype): argument 155 self._send('REGISTER', name, rtype) 157 def unregister(self, name, rtype): argument 159 self._send('UNREGISTER', name, rtype) 161 def _send(self, cmd, name, rtype): argument 163 msg = '{0}:{1}:{2}\n'.format(cmd, name, rtype).encode('ascii') 193 cache = {rtype: set() for rtype in _CLEANUP_FUNCS.keys()} 199 cmd, name, rtype = line.strip().decode('ascii').split(':') 200 cleanup_func = _CLEANUP_FUNCS.get(rtype, None) 207 cache[rtype].add(name) [all …]
|
/third_party/libffi/src/ |
D | prep_cif.c | 113 ffi_type *rtype, ffi_type **atypes) in ffi_prep_cif_core() argument 129 cif->rtype = rtype; in ffi_prep_cif_core() 140 if ((cif->rtype->size == 0) in ffi_prep_cif_core() 141 && (initialize_aggregate(cif->rtype, NULL) != FFI_OK)) in ffi_prep_cif_core() 145 if (rtype->type == FFI_TYPE_COMPLEX) in ffi_prep_cif_core() 149 FFI_ASSERT_VALID_TYPE(cif->rtype); in ffi_prep_cif_core() 154 if (cif->rtype->type == FFI_TYPE_STRUCT in ffi_prep_cif_core() 156 && (cif->rtype->size > 10 * FFI_SIZEOF_ARG) in ffi_prep_cif_core() 159 && (cif->rtype->size > 16) in ffi_prep_cif_core() 162 && (cif->rtype->size > 8) in ffi_prep_cif_core() [all …]
|
/third_party/libxml2/ |
D | gentest.py | 408 def generate_param_type(name, rtype): argument 418 if rtype[0:6] == 'const ': 419 crtype = rtype[6:] 421 crtype = rtype 434 """ % (name, crtype, name, name, rtype)) 689 rtype = arg.xpathEval("string(@type)") 690 if rtype == 'void': 694 type = type_convert(rtype, nam, info, module, name, n) 699 rtype[0:6] == 'const ': 700 crtype = rtype[6:] [all …]
|
/third_party/libffi/src/m32r/ |
D | ffi.c | 47 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT && ecif->cif->rtype->size > 8) in ffi_prep_args() 143 switch (cif->rtype->type) in ffi_prep_cif_machdep() 146 cif->flags = (unsigned) cif->rtype->type; in ffi_prep_cif_machdep() 150 if (cif->rtype->size <= 4) in ffi_prep_cif_machdep() 153 else if (cif->rtype->size <= 8) in ffi_prep_cif_machdep() 157 cif->flags = (unsigned) cif->rtype->type; in ffi_prep_cif_machdep() 188 (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_call() 190 ecif.rvalue = alloca (cif->rtype->size); in ffi_call() 200 if (cif->rtype->type == FFI_TYPE_STRUCT) in ffi_call() 202 int size = cif->rtype->size; in ffi_call() [all …]
|
/third_party/libffi/src/vax/ |
D | ffi.c | 61 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT in ffi_prep_args() 125 switch (cif->rtype->type) in ffi_prep_cif_machdep() 132 if (cif->rtype->elements[0]->type == FFI_TYPE_STRUCT && in ffi_prep_cif_machdep() 133 cif->rtype->elements[1]) in ffi_prep_cif_machdep() 139 if (cif->rtype->size == sizeof (char)) in ffi_prep_cif_machdep() 141 else if (cif->rtype->size == sizeof (short)) in ffi_prep_cif_machdep() 143 else if (cif->rtype->size == sizeof (int)) in ffi_prep_cif_machdep() 145 else if (cif->rtype->size == 2 * sizeof (int)) in ffi_prep_cif_machdep() 152 if (cif->rtype->size <= sizeof (int)) in ffi_prep_cif_machdep() 174 && cif->rtype->type == FFI_TYPE_STRUCT in ffi_call() [all …]
|
/third_party/libffi/src/microblaze/ |
D | ffi.c | 55 if ((ecif->cif->rtype != NULL) && in ffi_prep_args() 56 (ecif->cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_prep_args() 159 if ((rvalue == NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) { in ffi_call() 160 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 169 ecif.rvalue, fn, cif->rtype->type, cif->rtype->size); in ffi_call() 179 unsigned int* rtype, unsigned int* rsize) in ffi_closure_call_SYSV() argument 210 if ((cif->rtype != NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) { in ffi_closure_call_SYSV() 266 *rsize = cif->rtype->size; in ffi_closure_call_SYSV() 267 *rtype = cif->rtype->type; in ffi_closure_call_SYSV()
|
/third_party/libffi/src/m68k/ |
D | ffi.c | 49 (ecif->cif->rtype->type == FFI_TYPE_LONGDOUBLE) || in ffi_prep_args() 51 (((ecif->cif->rtype->type == FFI_TYPE_STRUCT) in ffi_prep_args() 134 switch (cif->rtype->type) in ffi_prep_cif_machdep() 141 if (cif->rtype->elements[0]->type == FFI_TYPE_STRUCT && in ffi_prep_cif_machdep() 142 cif->rtype->elements[1]) in ffi_prep_cif_machdep() 148 switch (cif->rtype->size) in ffi_prep_cif_machdep() 233 && cif->rtype->type == FFI_TYPE_STRUCT in ffi_call() 234 && cif->rtype->size > 8) in ffi_call() 235 ecif.rvalue = alloca (cif->rtype->size); in ffi_call() 270 cif->rtype->type == FFI_TYPE_STRUCT && in ffi_prep_incoming_args_SYSV() [all …]
|
/third_party/libffi/testsuite/libffi.call/ |
D | struct10.c | 30 ffi_type rtype; in main() local 38 rtype.size = 0; in main() 39 rtype.alignment = 0, in main() 40 rtype.type = FFI_TYPE_STRUCT, in main() 41 rtype.elements = s_fields, in main() 50 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 0, &rtype, NULL) == FFI_OK); in main()
|
/third_party/python/Modules/_ctypes/libffi_osx/ |
D | ffi.c | 136 /*@dependent@*/ /*@out@*/ /*@partial@*/ ffi_type* rtype, in ffi_prep_cif() argument 152 cif->rtype = rtype; in ffi_prep_cif() 157 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK)) in ffi_prep_cif() 162 FFI_ASSERT_VALID_TYPE(cif->rtype); in ffi_prep_cif() 167 if (cif->rtype->type == FFI_TYPE_STRUCT in ffi_prep_cif() 169 && (cif->abi != FFI_V9 || cif->rtype->size > 32) in ffi_prep_cif() 172 && (struct_on_stack(cif->rtype->size)) in ffi_prep_cif()
|
/third_party/libffi/src/xtensa/ |
D | ffi.c | 57 switch(cif->rtype->type) { in ffi_prep_cif_machdep() 62 cif->flags = cif->rtype->type; in ffi_prep_cif_machdep() 76 if (cif->rtype->size > 4 * 4) { in ffi_prep_cif_machdep() 123 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT && ecif->cif->rtype->size > 16) in ffi_prep_args() 193 unsigned long rsize = cif->rtype->size; in ffi_call() 264 int rtype = cif->rtype->type; in ffi_closure_SYSV_inner() local 265 if (rtype == FFI_TYPE_STRUCT && cif->rtype->size > 4 * 4) in ffi_closure_SYSV_inner() 297 return rtype; in ffi_closure_SYSV_inner()
|
/third_party/libffi/src/sh64/ |
D | ffi.c | 69 if (return_type (ecif->cif->rtype) == FFI_TYPE_STRUCT) in ffi_prep_args() 165 greg = (return_type (cif->rtype) == FFI_TYPE_STRUCT ? 1 : 0); in ffi_prep_cif_machdep() 219 switch (cif->rtype->type) in ffi_prep_cif_machdep() 222 cif->flags = return_type (cif->rtype); in ffi_prep_cif_machdep() 230 cif->flags = cif->rtype->type; in ffi_prep_cif_machdep() 265 if (cif->rtype->type == FFI_TYPE_STRUCT in ffi_call() 266 && return_type (cif->rtype) != FFI_TYPE_STRUCT) in ffi_call() 269 (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_call() 271 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 288 && cif->rtype->type == FFI_TYPE_STRUCT in ffi_call() [all …]
|
/third_party/libffi/src/nios2/ |
D | ffi.c | 88 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT in ffi_prep_args() 89 && ecif->cif->rtype->size > 8) in ffi_prep_args() 159 int bigret = (cif->rtype->type == FFI_TYPE_STRUCT in ffi_call() 160 && cif->rtype->size > 8); in ffi_call() 168 ecif.rvalue = alloca (cif->rtype->size); in ffi_call() 178 switch (cif->rtype->size) in ffi_call() 193 memcpy (rvalue, (void *)&result, cif->rtype->size); in ffi_call() 216 if (cif->rtype->type == FFI_TYPE_STRUCT in ffi_closure_helper() 217 && cif->rtype->size > 8) in ffi_closure_helper()
|
/third_party/boost/boost/vmd/detail/ |
D | sequence_type.hpp | 95 #define BOOST_VMD_DETAIL_SEQUENCE_TYPE_TUPLE_MODS(dtuple,rtype) \ argument 100 BOOST_PP_EQUAL(rtype,BOOST_VMD_DETAIL_MODS_RETURN_ARRAY), \ 104 BOOST_PP_EQUAL(rtype,BOOST_VMD_DETAIL_MODS_RETURN_LIST), \ 108 BOOST_PP_EQUAL(rtype,BOOST_VMD_DETAIL_MODS_RETURN_TUPLE), \ 118 #define BOOST_VMD_DETAIL_SEQUENCE_TYPE_TUPLE_MODS_D(d,dtuple,rtype) \ argument 123 BOOST_PP_EQUAL_D(d,rtype,BOOST_VMD_DETAIL_MODS_RETURN_ARRAY), \ 127 BOOST_PP_EQUAL_D(d,rtype,BOOST_VMD_DETAIL_MODS_RETURN_LIST), \ 131 BOOST_PP_EQUAL_D(d,rtype,BOOST_VMD_DETAIL_MODS_RETURN_TUPLE), \
|
/third_party/libffi/src/moxie/ |
D | ffi.c | 46 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT) in ffi_prep_args() 109 if (cif->rtype->type == FFI_TYPE_STRUCT) in ffi_prep_cif_machdep() 112 cif->flags = cif->rtype->size; in ffi_prep_cif_machdep() 139 (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_call() 141 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 189 if ((cif->rtype != NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) { in ffi_closure_eabi() 244 if (cif->rtype && (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_closure_eabi()
|
/third_party/libffi/src/cris/ |
D | ffi.c | 160 ffi_type * rtype, ffi_type ** atypes) in ffi_prep_cif_core() argument 174 cif->rtype = rtype; in ffi_prep_cif_core() 178 if ((cif->rtype->size == 0) in ffi_prep_cif_core() 179 && (initialize_aggregate_packed_struct (cif->rtype) != FFI_OK)) in ffi_prep_cif_core() 182 FFI_ASSERT_VALID_TYPE (cif->rtype); in ffi_prep_cif_core() 221 switch (cif->rtype->type) in ffi_prep_cif_machdep() 229 cif->flags = (unsigned) cif->rtype->type; in ffi_prep_cif_machdep() 253 if ((rvalue == NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_call() 255 ecif.rvalue = alloca (cif->rtype->size); in ffi_call() 348 cif->rtype->type == FFI_TYPE_STRUCT in ffi_prep_closure_inner()
|
/third_party/libffi/src/sh/ |
D | ffi.c | 127 if (return_type (ecif->cif->rtype) == FFI_TYPE_STRUCT) in ffi_prep_args() 334 greg = ((return_type (cif->rtype) == FFI_TYPE_STRUCT) && in ffi_prep_cif_machdep() 387 switch (cif->rtype->type) in ffi_prep_cif_machdep() 390 cif->flags += (unsigned) (return_type (cif->rtype)) << 24; in ffi_prep_cif_machdep() 398 cif->flags += (unsigned) cif->rtype->type << 24; in ffi_prep_cif_machdep() 423 if (cif->rtype->type == FFI_TYPE_STRUCT in ffi_call() 424 && return_type (cif->rtype) != FFI_TYPE_STRUCT) in ffi_call() 427 (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_call() 429 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 446 && cif->rtype->type == FFI_TYPE_STRUCT in ffi_call() [all …]
|
/third_party/libffi/src/or1k/ |
D | ffi.c | 45 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT) in ffi_prep_args() 142 if (cif->rtype->type == FFI_TYPE_STRUCT) in ffi_call() 189 if ((cif->rtype != NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_closure_SYSV() 251 if (cif->rtype && (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_closure_SYSV() 258 if (cif->rtype) in ffi_closure_SYSV() 308 if (cif->rtype->type == FFI_TYPE_STRUCT) in ffi_prep_cif_machdep() 311 if (cif->rtype->size > 4) in ffi_prep_cif_machdep()
|
/third_party/libffi/src/metag/ |
D | ffi.c | 124 if (cif->rtype->type == FFI_TYPE_STRUCT) { in ffi_prep_cif_machdep() 134 switch (cif->rtype->type) { in ffi_prep_cif_machdep() 138 cif->flags = (unsigned) cif->rtype->type; in ffi_prep_cif_machdep() 146 if (cif->rtype->size <= 4) in ffi_prep_cif_machdep() 149 else if ((cif->rtype->size > 4) && (cif->rtype->size <= 8)) in ffi_prep_cif_machdep() 177 …(cif->flags == FFI_TYPE_INT) || (cif->flags == FFI_TYPE_DOUBLE)) && (cif->rtype->type == FFI_TYPE_… in ffi_call() 189 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 205 memcpy (rvalue, &temp, cif->rtype->size); in ffi_call()
|
/third_party/libffi/src/m88k/ |
D | ffi.c | 86 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT in ffi_prep_args() 203 switch (cif->rtype->type) in ffi_prep_cif_machdep() 210 if (cif->rtype->size == sizeof (int) && in ffi_prep_cif_machdep() 211 cif->rtype->alignment == sizeof (int)) in ffi_prep_cif_machdep() 243 && cif->rtype->type == FFI_TYPE_STRUCT in ffi_call() 244 && (cif->rtype->size != sizeof (int) in ffi_call() 245 || cif->rtype->alignment != sizeof (int))) in ffi_call() 246 ecif.rvalue = alloca (cif->rtype->size); in ffi_call() 377 if (cif->rtype->type == FFI_TYPE_STRUCT && !cif->flags) in ffi_prep_closure_loc()
|
/third_party/libffi/src/avr32/ |
D | ffi.c | 188 switch(cif->rtype->type) in ffi_prep_cif_machdep() 211 if(!pass_struct_on_stack(cif->rtype)) in ffi_prep_cif_machdep() 213 if(cif->rtype->size <= 1) in ffi_prep_cif_machdep() 215 else if(cif->rtype->size <= 2) in ffi_prep_cif_machdep() 217 else if(cif->rtype->size <= 4) in ffi_prep_cif_machdep() 219 else if(cif->rtype->size <= 8) in ffi_prep_cif_machdep() 222 cif->flags = (unsigned)cif->rtype->type; in ffi_prep_cif_machdep() 225 cif->flags = (unsigned)cif->rtype->type; in ffi_prep_cif_machdep() 228 cif->flags = (unsigned)cif->rtype->type; in ffi_prep_cif_machdep() 253 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
|
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/ |
D | check_str.c | 41 exact_msg = (tr->rtype == CK_ERROR) ? "(after this point) " : ""; in tr_str() 56 exact_msg = (tr->rtype == CK_ERROR) ? "(after this point) " : ""; in tr_short_str() 114 if (tr->rtype == CK_PASS) in tr_type_str() 116 else if (tr->rtype == CK_FAILURE) in tr_type_str() 118 else if (tr->rtype == CK_ERROR) in tr_type_str()
|
/third_party/python/Modules/_ctypes/libffi_osx/x86/ |
D | x86-ffi_darwin.c | 120 switch (cif->rtype->type) in ffi_prep_cif_machdep() 135 cif->flags = (unsigned) cif->rtype->type; in ffi_prep_cif_machdep() 144 if (cif->rtype->size == 1) in ffi_prep_cif_machdep() 148 else if (cif->rtype->size == 2) in ffi_prep_cif_machdep() 152 else if (cif->rtype->size == 4) in ffi_prep_cif_machdep() 156 else if (cif->rtype->size == 8) in ffi_prep_cif_machdep() 201 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 411 (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_raw_call() 413 ecif.rvalue = alloca(cif->rtype->size); in ffi_raw_call()
|