Home
last modified time | relevance | path

Searched refs:rtn (Results 1 – 23 of 23) sorted by relevance

/freebsd-11-stable/contrib/elftoolchain/libelftc/
HDlibelftc_dem_gnu3.c211 char *rtn; in cpp_demangle_gnu3() local
218 if ((rtn = malloc(org_len + 19)) == NULL) in cpp_demangle_gnu3()
220 snprintf(rtn, org_len + 19, in cpp_demangle_gnu3()
222 return (rtn); in cpp_demangle_gnu3()
231 rtn = NULL; in cpp_demangle_gnu3()
313 rtn = vector_str_get_flat(&ddata.output, (size_t *) NULL); in cpp_demangle_gnu3()
321 return (rtn); in cpp_demangle_gnu3()
394 int rtn; in cpp_demangle_push_fp() local
408 rtn = 0; in cpp_demangle_push_fp()
410 rtn = cpp_demangle_push_str(ddata, f, len); in cpp_demangle_push_fp()
[all …]
HDlibelftc_vstr.c116 char *rtn; in vector_str_get_flat() local
124 if ((rtn = malloc(sizeof(char) * (rtn_size + 1))) == NULL) in vector_str_get_flat()
131 memcpy(rtn + elem_pos, v->container[i], elem_size); in vector_str_get_flat()
136 rtn[rtn_size] = '\0'; in vector_str_get_flat()
141 return (rtn); in vector_str_get_flat()
335 char *rtn; in vector_str_substr() local
344 if ((rtn = malloc(sizeof(char) * (len + 1))) == NULL) in vector_str_substr()
353 memcpy(rtn + cur, v->container[i], len); in vector_str_substr()
356 rtn[cur] = '\0'; in vector_str_substr()
358 return (rtn); in vector_str_substr()
HDlibelftc_dem_gnu2.c101 char *rtn, *arg; in cpp_demangle_gnu2() local
110 rtn = NULL; in cpp_demangle_gnu2()
243 rtn = vector_str_get_flat(&d.vec, NULL); in cpp_demangle_gnu2()
247 return (rtn); in cpp_demangle_gnu2()
259 bool rtn = false; in is_cpp_mangled_gnu2() local
272 rtn |= true; in is_cpp_mangled_gnu2()
318 rtn |= true; in is_cpp_mangled_gnu2()
328 rtn |= strstr(org, "_$_") != NULL; in is_cpp_mangled_gnu2()
329 rtn |= strstr(org, "_vt$") != NULL; in is_cpp_mangled_gnu2()
331 return (rtn); in is_cpp_mangled_gnu2()
[all …]
HDlibelftc_dem_arm.c103 char *rtn, *arg; in cpp_demangle_ARM() local
112 rtn = NULL; in cpp_demangle_ARM()
228 rtn = vector_str_get_flat(&d.vec, NULL); in cpp_demangle_ARM()
232 return (rtn); in cpp_demangle_ARM()
447 bool rtn; in read_func_name() local
453 rtn = false; in read_func_name()
496 rtn = true; in read_func_name()
518 rtn = true; in read_func_name()
526 return (rtn); in read_func_name()
662 bool rtn; in read_memptr() local
[all …]
/freebsd-11-stable/contrib/libcxxrt/
HDlibelftc_dem_gnu3.c205 char *rtn; in vector_str_get_flat() local
213 if ((rtn = malloc(sizeof(char) * (rtn_size + 1))) == NULL) in vector_str_get_flat()
220 memcpy(rtn + elem_pos, v->container[i], elem_size); in vector_str_get_flat()
225 rtn[rtn_size] = '\0'; in vector_str_get_flat()
230 return (rtn); in vector_str_get_flat()
424 char *rtn; in vector_str_substr() local
433 if ((rtn = malloc(sizeof(char) * (len + 1))) == NULL) in vector_str_substr()
442 memcpy(rtn + cur, v->container[i], len); in vector_str_substr()
445 rtn[cur] = '\0'; in vector_str_substr()
447 return (rtn); in vector_str_substr()
[all …]
/freebsd-11-stable/sys/net/
HDmppcd.c112 int rtn = MPPC_OK; in MPPC_Decompress() local
131 rtn &= ~MPPC_OK; in MPPC_Decompress()
132 return rtn; in MPPC_Decompress()
147 rtn &= ~MPPC_OK; in MPPC_Decompress()
148 return (rtn); in MPPC_Decompress()
170 rtn &= ~MPPC_OK; in MPPC_Decompress()
171 return (rtn); in MPPC_Decompress()
174 rtn &= ~MPPC_OK; in MPPC_Decompress()
175 return (rtn); in MPPC_Decompress()
236 rtn &= ~MPPC_OK; in MPPC_Decompress()
[all …]
HDmppcc.c151 int rtn = MPPC_OK; in MPPC_Compress() local
163 rtn &= ~MPPC_OK; in MPPC_Compress()
164 return (rtn); in MPPC_Compress()
169 rtn &= ~MPPC_OK; in MPPC_Compress()
170 return (rtn); in MPPC_Compress()
176 rtn |= MPPC_RESTART_HISTORY; in MPPC_Compress()
236 rtn &= ~MPPC_OK; in MPPC_Compress()
237 return (rtn); in MPPC_Compress()
266 rtn &= ~MPPC_OK; in MPPC_Compress()
267 return (rtn); in MPPC_Compress()
[all …]
/freebsd-11-stable/usr.sbin/ngctl/
HDmain.c146 int ch, rtn = 0; in main() local
182 rtn = ReadFile(fp); in main()
184 rtn = DoInteractive(); in main()
188 rtn = DoCommand(ac, av); in main()
192 switch (rtn) { in main()
195 rtn = 0; in main()
198 rtn = EX_USAGE; in main()
201 rtn = EX_OSERR; in main()
204 return (rtn); in main()
214 int num, rtn; in ReadFile() local
[all …]
HDlist.c72 int ch, rtn = CMDRTN_OK; in ListCmd() local
124 if ((rtn = (*show_cmd.func)(2, argv)) != CMDRTN_OK) in ListCmd()
144 return (rtn); in ListCmd()
HDtypes.c63 int rtn = CMDRTN_OK; in TypesCmd() local
99 return (rtn); in TypesCmd()
/freebsd-11-stable/lib/libnetgraph/
HDsock.c221 int rtn, errnosv; in NgRecvData() local
224 rtn = recvfrom(ds, buf, len, 0, (struct sockaddr *) from, &fromlen); in NgRecvData()
225 if (rtn < 0) { in NgRecvData()
240 rtn ? "PACKET" : "EOF", from->sg_data, rtn); in NgRecvData()
242 _NgDebugBytes(buf, rtn); in NgRecvData()
246 return (rtn); in NgRecvData()
HDmsg.c188 int rtn = 0; in NgDeliverMsg() local
199 rtn = -1; in NgDeliverMsg()
229 rtn = -1; in NgDeliverMsg()
246 rtn = -1; in NgDeliverMsg()
254 return (rtn); in NgDeliverMsg()
/freebsd-11-stable/sys/netgraph/
HDng_deflate.c447 int rtn; in ng_deflate_compress() local
487 rtn = deflate(&priv->cx, Z_PACKET_FLUSH); in ng_deflate_compress()
490 if (rtn != Z_OK) { in ng_deflate_compress()
493 rtn, priv->cx.msg); in ng_deflate_compress()
540 int rtn; in ng_deflate_decompress() local
605 rtn = inflate(&priv->cx, Z_PACKET_FLUSH); in ng_deflate_decompress()
608 if (rtn != Z_OK && rtn != Z_STREAM_END) { in ng_deflate_decompress()
613 __func__, rtn, priv->cx.msg); in ng_deflate_decompress()
615 switch (rtn) { in ng_deflate_decompress()
659 rtn = inflateIncomp(&priv->cx); in ng_deflate_decompress()
[all …]
HDng_mppc.c505 int rtn; in ng_mppc_compress() local
541 rtn = MPPC_Compress(&source, &dest, &sourceCnt, in ng_mppc_compress()
546 if ((rtn & MPPC_EXPANDED) == 0 in ng_mppc_compress()
547 && (rtn & MPPC_COMP_OK) == MPPC_COMP_OK) { in ng_mppc_compress()
550 if ((rtn & MPPC_RESTART_HISTORY) != 0) in ng_mppc_compress()
561 d->flushed = (rtn & MPPC_EXPANDED) != 0 in ng_mppc_compress()
766 int rtn; in ng_mppc_decompress() local
803 rtn = MPPC_Decompress(&source, &dest, in ng_mppc_decompress()
808 if ((rtn & MPPC_DEST_EXHAUSTED) != 0 in ng_mppc_decompress()
809 || (rtn & MPPC_DECOMP_OK) != MPPC_DECOMP_OK) { in ng_mppc_decompress()
[all …]
/freebsd-11-stable/contrib/elftoolchain/nm/
HDnm.c627 int rtn; in get_sym() local
636 rtn = 0; in get_sym()
676 rtn++; in get_sym()
682 return (rtn); in get_sym()
1163 int ret, rtn, e_err; in read_elf() local
1178 rtn = 0; in read_elf()
1193 rtn = 1; in read_elf()
1198 rtn = 1; in read_elf()
1203 rtn = 1; in read_elf()
1209 rtn = 1; in read_elf()
[all …]
/freebsd-11-stable/sys/dev/sound/pci/
HDenvy24ht.c1128 u_int32_t ptr, rtn; in envy24ht_gethwptr() local
1134 rtn = sc->psize / 4; in envy24ht_gethwptr()
1139 rtn = sc->rsize / 4; in envy24ht_gethwptr()
1145 rtn -= (ptr + 1); in envy24ht_gethwptr()
1146 rtn /= unit; in envy24ht_gethwptr()
1149 device_printf(sc->dev, "envy24ht_gethwptr(): return %d\n", rtn); in envy24ht_gethwptr()
1151 return rtn; in envy24ht_gethwptr()
1227 u_int32_t mask, stat, intr, rtn; in envy24ht_checkintr() local
1234 if ((rtn = intr & ENVY24HT_MT_INT_PSTAT) != 0) { in envy24ht_checkintr()
1243 if ((rtn = intr & ENVY24HT_MT_INT_RSTAT) != 0) { in envy24ht_checkintr()
[all …]
HDenvy24.c1174 u_int32_t ptr, rtn; in envy24_gethwptr() local
1180 rtn = sc->psize / 4; in envy24_gethwptr()
1185 rtn = sc->rsize / 4; in envy24_gethwptr()
1191 rtn -= (ptr + 1); in envy24_gethwptr()
1192 rtn /= unit; in envy24_gethwptr()
1195 device_printf(sc->dev, "envy24_gethwptr(): return %d\n", rtn); in envy24_gethwptr()
1197 return rtn; in envy24_gethwptr()
1273 u_int32_t mask, stat, intr, rtn; in envy24_checkintr() local
1280 if ((rtn = intr & ENVY24_MT_INT_PSTAT) != 0) { in envy24_checkintr()
1287 if ((rtn = intr & ENVY24_MT_INT_RSTAT) != 0) { in envy24_checkintr()
[all …]
/freebsd-11-stable/usr.sbin/arp/
HDarp.c124 int rtn = 0; in main() local
192 rtn = get(argv[0]); in main()
201 rtn = set(argc, argv) ? 1 : 0; in main()
211 rtn = delete(argv[0]); in main()
217 rtn = file(argv[0]); in main()
224 return (rtn); in main()
/freebsd-11-stable/sys/dev/mlx5/
HDdriver.h902 void *rtn; in mlx5_vzalloc() local
904 rtn = kzalloc(size, GFP_KERNEL | __GFP_NOWARN); in mlx5_vzalloc()
905 return rtn; in mlx5_vzalloc()
910 void *rtn; in mlx5_vmalloc() local
912 rtn = kmalloc(size, GFP_KERNEL | __GFP_NOWARN); in mlx5_vmalloc()
913 if (!rtn) in mlx5_vmalloc()
914 rtn = vmalloc(size); in mlx5_vmalloc()
915 return rtn; in mlx5_vmalloc()
/freebsd-11-stable/bin/sh/
HDnodes.c.pat162 char *rtn = state->string;
167 return rtn;
/freebsd-11-stable/sys/contrib/octeon-sdk/
HDcvmx-sriox-defs.h813 uint64_t rtn : 2; /**< Outgoing Response Return FIFO. */ member
837 uint64_t rtn : 2;
857 uint64_t rtn : 2; /**< Outgoing Response Return FIFO. */ member
882 uint64_t rtn : 2;
901 uint64_t rtn : 2; /**< Outgoing Response Return FIFO. */ member
923 uint64_t rtn : 2;
/freebsd-11-stable/contrib/ntp/ntpd/
HDntp_io.c4035 int rtn; local
4071 rtn = connect(s, &addr->sa, SOCKLEN(addr));
4072 if (SOCKET_ERROR == rtn) {
4078 rtn = getsockname(s, &saddr.sa, &sockaddrlen);
4080 if (SOCKET_ERROR == rtn)
/freebsd-11-stable/contrib/binutils/opcodes/
HDi386-dis.c572 op_rtn rtn; member
3881 if (dp->op[i].rtn) in print_insn()
3882 (*dp->op[i].rtn) (dp->op[i].bytemode, sizeflag); in print_insn()
4318 if (dp->op[0].rtn) in dofloat()
4319 (*dp->op[0].rtn) (dp->op[0].bytemode, sizeflag); in dofloat()
4323 if (dp->op[1].rtn) in dofloat()
4324 (*dp->op[1].rtn) (dp->op[1].bytemode, sizeflag); in dofloat()