Home
last modified time | relevance | path

Searched refs:rtype (Results 1 – 25 of 38) sorted by relevance

12

/third_party/python/Lib/multiprocessing/
Dresource_tracker.py153 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/python/Modules/_ctypes/libffi_osx/
Dffi.c136 /*@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/python/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi_darwin.c120 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()
Dx86-ffi64.c361 int flags = cif->rtype->type; in ffi_prep_cif_machdep()
368 n = examine_argument (cif->rtype, classes, 1, &ngpr, &nsse); in ffi_prep_cif_machdep()
393 flags |= cif->rtype->size << 12; in ffi_prep_cif_machdep()
452 ret_in_memory = (cif->rtype->type == FFI_TYPE_STRUCT in ffi_call()
456 rvalue = alloca (cif->rtype->size); in ffi_call()
637 ret = cif->rtype->type; in ffi_closure_unix64_inner()
642 int n = examine_argument (cif->rtype, classes, 1, &ngpr, &nsse); in ffi_closure_unix64_inner()
/third_party/libffi/patch/
Driscv-extend-return-types-smaller-than-ffi_arg-680.patch19 - unmarshal(&cb, cif->rtype, 0, rvalue);
21 + if (IS_INT(cif->rtype->type)
22 + && cif->rtype->size < sizeof (ffi_arg))
25 + switch (cif->rtype->type)
44 + unmarshal(&cb, cif->rtype, 0, rvalue);
Dlibffi-Add-sw64-architecture.patch297 + ffi_type *rtype, *itype;
345 + rtype = cif->rtype;
346 + switch (rtype->type)
385 + itype = rtype->elements[0];
395 + if (rtype->size <= 8)
466 + rvalue = alloca(cif->rtype->size);
Dbackport-Fix-signed-vs-unsigned-comparison.patch41 rc = ffi_prep_cif_core(cif, abi, 1, nfixedargs, ntotalargs, rtype, atypes);
/third_party/node/deps/cares/src/lib/
Dares__parse_into_addrinfo.c84 ares_dns_rec_type_t rtype; in ares__parse_into_addrinfo() local
92 rtype = ares_dns_rr_get_type(rr); in ares__parse_into_addrinfo()
106 if (rtype == ARES_REC_TYPE_CNAME) { in ares__parse_into_addrinfo()
130 } else if (rtype == ARES_REC_TYPE_A) { in ares__parse_into_addrinfo()
138 } else if (rtype == ARES_REC_TYPE_AAAA) { in ares__parse_into_addrinfo()
/third_party/ltp/tools/sparse/sparse-src/
Devaluate.c468 struct symbol *rtype) in restricted_binop_type() argument
473 if (ltype == rtype) { in restricted_binop_type()
476 if (unfoul(ltype) == rtype) in restricted_binop_type()
479 if (unfoul(rtype) == ltype) in restricted_binop_type()
480 ctype = rtype; in restricted_binop_type()
486 } else if (!restricted_value(left, rtype)) in restricted_binop_type()
487 ctype = rtype; in restricted_binop_type()
525 struct symbol *rtype) in usual_conversions() argument
537 return bigger_int_type(ltype, rtype); in usual_conversions()
539 return rtype; in usual_conversions()
[all …]
/third_party/ltp/testcases/kernel/fs/linktest/
Dlinktest.sh44 local rtype="TFAIL"
57 [ $lerrors -eq 0 ] && rtype="TPASS"
59 tst_res $rtype "errors: $lerrors"
/third_party/skia/src/core/
DSkDraw.cpp566 RectType rtype; in ComputeRectType() local
577 rtype = kPath_RectType; in ComputeRectType()
579 rtype = kFill_RectType; in ComputeRectType()
581 rtype = kHair_RectType; in ComputeRectType()
583 rtype = kStroke_RectType; in ComputeRectType()
585 rtype = kPath_RectType; in ComputeRectType()
587 return rtype; in ComputeRectType()
628 RectType rtype = ComputeRectType(prePaintRect, paint, ctm, &strokeSize); in drawRect() local
630 if (kPath_RectType == rtype) { in drawRect()
649 const SkPoint& ssize = (kStroke_RectType == rtype) in drawRect()
[all …]
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/
Dppc-ffi_darwin.c359 switch (cif->rtype->type) in ffi_prep_cif_machdep()
387 if (ffi64_stret_needs_ptr(cif->rtype, NULL, NULL)) in ffi_prep_cif_machdep()
397 if (ffi64_struct_contains_fp(cif->rtype)) in ffi_prep_cif_machdep()
595 (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_call()
598 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
840 if (cif->rtype->type == FFI_TYPE_STRUCT && in ffi_closure_helper_DARWIN()
841 ffi64_stret_needs_ptr(cif->rtype, NULL, NULL)) in ffi_closure_helper_DARWIN()
843 if (cif->rtype->type == FFI_TYPE_STRUCT) in ffi_closure_helper_DARWIN()
1019 return cif->rtype->type; in ffi_closure_helper_DARWIN()
/third_party/lwip/src/netif/ppp/
Deap.c2136 int code, id, len, rtype, vallen; in eap_printpkt() local
2161 GETCHAR(rtype, inp); in eap_printpkt()
2163 if (rtype >= 1 && rtype <= (int)LWIP_ARRAYSIZE(eap_typenames)) in eap_printpkt()
2164 printer(arg, " %s", eap_typenames[rtype-1]); in eap_printpkt()
2166 printer(arg, " type=0x%x", rtype); in eap_printpkt()
2167 switch (rtype) { in eap_printpkt()
2299 GETCHAR(rtype, inp); in eap_printpkt()
2301 if (rtype >= 1 && rtype <= (int)LWIP_ARRAYSIZE(eap_typenames)) in eap_printpkt()
2302 printer(arg, " %s", eap_typenames[rtype-1]); in eap_printpkt()
2304 printer(arg, " type=0x%x", rtype); in eap_printpkt()
[all …]
/third_party/elfio/elfio/
Delfio_relocation.hpp299 unsigned rtype = 0; in swap_symbols() local
302 get_entry( i, offset, symbol, rtype, addend ); in swap_symbols()
304 set_entry( i, offset, (Elf_Word)second, rtype, addend ); in swap_symbols()
307 set_entry( i, offset, (Elf_Word)first, rtype, addend ); in swap_symbols()
/third_party/python/Modules/_ctypes/
Dcallproc.c1153 ffi_type *rtype; in _ctypes_callproc() local
1222 rtype = _ctypes_get_ffi_type(restype); in _ctypes_callproc()
1223 resbuf = alloca(max(rtype->size, sizeof(ffi_arg))); in _ctypes_callproc()
1229 __msan_unpoison(resbuf, max(rtype->size, sizeof(ffi_arg))); in _ctypes_callproc()
1260 rtype, resbuf, in _ctypes_callproc()
1276 if (rtype->type != FFI_TYPE_FLOAT in _ctypes_callproc()
1277 && rtype->type != FFI_TYPE_STRUCT in _ctypes_callproc()
1278 && rtype->size < sizeof(ffi_arg)) in _ctypes_callproc()
1280 resbuf = (char *)resbuf + sizeof(ffi_arg) - rtype->size; in _ctypes_callproc()
/third_party/python/Modules/_ctypes/libffi_osx/include/
Dffi.h174 /*@dependent@*/ ffi_type* rtype; member
309 /*@dependent@*/ /*@out@*/ /*@partial@*/ ffi_type* rtype,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64ELFObjectWriter.cpp50 #define R_CLS(rtype) \ argument
51 IsILP32 ? ELF::R_AARCH64_P32_##rtype : ELF::R_AARCH64_##rtype
/third_party/toybox/toys/pending/
Dip.c2429 static int tnl_ioctl(char *dev, int rtype, struct ip_tunnel_parm *ptnl) in tnl_ioctl() argument
2434 if ((rtype == SIOCCHGTUNNEL || rtype == SIOCDELTUNNEL) && *ptnl->name) in tnl_ioctl()
2438 if (rtype != SIOCGIFHWADDR) req.ifr_ifru.ifru_data = (void*)ptnl; in tnl_ioctl()
2441 if (rtype == SIOCGETTUNNEL) ret = ioctl(fd, rtype, &req); in tnl_ioctl()
2442 else if (rtype == SIOCGIFHWADDR) in tnl_ioctl()
2443 ret = (ioctl(fd, rtype, &req) < 0) ? -1 : req.ifr_addr.sa_family; in tnl_ioctl()
2444 else xioctl(fd, rtype, &req); in tnl_ioctl()
2739 int idx = 2, rtype = SIOCDELTUNNEL; in tunnelupdate() local
2743 rtype = SIOCADDTUNNEL; in tunnelupdate()
2746 rtype = SIOCCHGTUNNEL; in tunnelupdate()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_fs_out_to_vector.cpp51 auto rtype = glsl_get_base_type(vrhs->type); in operator ()() local
53 if (ltype != rtype) in operator ()()
54 return ltype < rtype; in operator ()()
/third_party/elfio/tests/
DELFIOTest1.cpp828 unsigned rtype; in TEST() local
831 rela.get_entry( i, offset, symbol, rtype, addend ); in TEST()
862 unsigned rtype; in TEST() local
865 rel.get_entry( i, offset, symbol, rtype, addend ); in TEST()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_new.h161 enum wpa_ctrl_req_type rtype,
305 enum wpa_ctrl_req_type rtype, const char *default_txt) in wpas_dbus_signal_network_request() argument
/third_party/node/deps/cares/src/tools/
Dadig.c626 ares_dns_rec_type_t rtype = ares_dns_rr_get_type(rr); in print_rr() local
627 const ares_dns_rr_key_t *keys = ares_dns_rr_get_keys(rtype, &keys_cnt); in print_rr()
643 ares_dns_rec_type_tostr(rtype)); in print_rr()
/third_party/elfutils/libdwfl/
Drelocate.c330 int rtype, in relocate() argument
336 if (unlikely (rtype == 0)) in relocate()
345 Elf_Type type = ebl_reloc_simple_type (mod->ebl, rtype, &addsub); in relocate()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_new.h166 enum wpa_ctrl_req_type rtype,
317 enum wpa_ctrl_req_type rtype, const char *default_txt) in wpas_dbus_signal_network_request() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp228 ffi_type *rtype = ffiTypeFor(RetTy); in ffiInvoke() local
230 if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, NumArgs, rtype, args.data()) == in ffiInvoke()

12