Home
last modified time | relevance | path

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

12

/netbsd-src/external/bsd/libc++/dist/libcxxrt/src/
H A Dlibelftc_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 …]
/netbsd-src/usr.bin/rump_dhcpclient/
H A Dconfigure.c290 struct rt *rtp, *rtl, *rtn; in add_router_host_route() local
297 for (rtn = rt; rtn != rtp; rtn = rtn->next) { in add_router_host_route()
299 if (rtn->dest.s_addr == rtp->gate.s_addr) in add_router_host_route()
303 cp2 = (const char *)&rtn->dest.s_addr; in add_router_host_route()
304 cp3 = (const char *)&rtn->net.s_addr; in add_router_host_route()
305 cplim = cp3 + sizeof(rtn->net.s_addr); in add_router_host_route()
313 if (rtn != rtp) in add_router_host_route()
324 rtn = xmalloc(sizeof(*rtn)); in add_router_host_route()
325 rtn->dest.s_addr = rtp->gate.s_addr; in add_router_host_route()
326 rtn->net.s_addr = INADDR_BROADCAST; in add_router_host_route()
[all …]
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dsecurity.c217 int rtn = 1; in within_range() local
233 rtn = avc_context_to_sid(sl, &slsid); in within_range()
234 if (rtn != 0) { in within_range()
240 rtn = avc_context_to_sid(range, &rangesid); in within_range()
241 if (rtn != 0) { in within_range()
254 rtn = avc_has_perm(slsid, rangesid, tclass, av, NULL, &avd); in within_range()
255 if (rtn != 0) { in within_range()
H A Disakmp_xauth.c879 int rtn = -1; local
1133 rtn = 0;
1153 return rtn;
1161 int rtn = -1; local
1285 rtn = 0;
1317 return rtn;
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dthr_posix.c158 int rtn; in ldap_pvt_thread_create() local
185 rtn = pthread_create( thread, attr, start_routine, arg ); in ldap_pvt_thread_create()
187 rtn = pthread_create( thread, &attr, start_routine, arg ); in ldap_pvt_thread_create()
200 if ( rtn < 0 ) rtn = errno; in ldap_pvt_thread_create()
202 return rtn; in ldap_pvt_thread_create()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/
H A Dkerberos.c49 int rtn; in chk_kerberos() local
71 rtn = LUTIL_PASSWD_ERR; in chk_kerberos()
178 rtn = ret ? LUTIL_PASSWD_ERR : LUTIL_PASSWD_OK; in chk_kerberos()
211 return rtn; in chk_kerberos()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dslapindex.c95 int rtn; in slapindex() local
101 rtn = be->be_entry_reindex( be, id, adv ); in slapindex()
103 if( rtn != LDAP_SUCCESS ) { in slapindex()
H A Dfilterentry.c879 int rtn = LDAP_COMPARE_TRUE; /* True if empty */ in test_filter_and() local
888 rtn = rc; in test_filter_and()
894 rtn = rc; in test_filter_and()
898 Debug( LDAP_DEBUG_FILTER, "<= test_filter_and %d\n", rtn ); in test_filter_and()
900 return rtn; in test_filter_and()
910 int rtn = LDAP_COMPARE_FALSE; /* False if empty */ in test_filter_or() local
919 rtn = rc; in test_filter_or()
925 rtn = rc; in test_filter_or()
929 Debug( LDAP_DEBUG_FILTER, "<= test_filter_or %d\n", rtn ); in test_filter_or()
930 return rtn; in test_filter_or()
H A Dad.c169 int rtn = LDAP_UNDEFINED_TYPE; in slap_bv2ad() local
187 return rtn; in slap_bv2ad()
193 return rtn; in slap_bv2ad()
211 return rtn; in slap_bv2ad()
216 return rtn; in slap_bv2ad()
234 return rtn; in slap_bv2ad()
242 return rtn; in slap_bv2ad()
248 return rtn; in slap_bv2ad()
264 return rtn; in slap_bv2ad()
307 return rtn; in slap_bv2ad()
[all …]
H A Dcomponent.c1200 int rtn = LDAP_COMPARE_TRUE; in test_comp_filter_and() local
1205 rtn = rc; in test_comp_filter_and()
1210 rtn = rc; in test_comp_filter_and()
1214 return rtn; in test_comp_filter_and()
1224 int rtn = LDAP_COMPARE_TRUE; in test_comp_filter_or() local
1229 rtn = rc; in test_comp_filter_or()
1234 rtn = rc; in test_comp_filter_or()
1238 return rtn; in test_comp_filter_or()
H A Dsasl.c976 int rtn; in chk_sasl() local
999 rtn = LUTIL_PASSWD_ERR; in chk_sasl()
1009 rtn = ( sc != SASL_OK ) ? LUTIL_PASSWD_ERR : LUTIL_PASSWD_OK; in chk_sasl()
1012 return rtn; in chk_sasl()
/netbsd-src/external/bsd/dhcpcd/dist/src/
H A Droute.c303 struct rt *rt, *rtn; in rt_headclear0() local
312 RB_TREE_FOREACH_SAFE(rt, rts, rtn) { in rt_headclear0()
458 struct rt *rt, *rtn; in rt_freeif() local
463 RB_TREE_FOREACH_SAFE(rt, &ctx->routes, rtn) { in rt_freeif()
708 struct rt *rt, *rtn; in rt_build() local
733 RB_TREE_FOREACH_SAFE(rt, &routes, rtn) { in rt_build()
768 RB_TREE_FOREACH_REVERSE_SAFE(rt, &ctx->routes, rtn) { in rt_build()
H A Dif-bsd.c960 struct rt rt, *rtn; in if_initrt() local
985 if ((rtn = rt_new(rt.rt_ifp)) == NULL) { in if_initrt()
989 memcpy(rtn, &rt, sizeof(*rtn)); in if_initrt()
990 if (rb_tree_insert_node(kroutes, rtn) != rtn) in if_initrt()
991 rt_free(rtn); in if_initrt()
/netbsd-src/external/gpl2/mkhybrid/dist/
H A Dmulti.c327 struct directory_entry **rtn; in FDECL2() local
367 rtn = (struct directory_entry **) e_malloc(*nent * sizeof(*rtn)); in FDECL2()
375 pnt = rtn; in FDECL2()
387 *pnt = (struct directory_entry *) e_malloc(sizeof(**rtn)); in FDECL2()
519 for(pnt = rtn, i = 0; i <*nent; i++, pnt++) in FDECL2()
562 return rtn; in FDECL2()
H A Djoliet.c177 int rtn; in FDECL1() local
179 rtn = strlen(string) << 1; in FDECL1()
187 if( rtn > 0x80) in FDECL1()
189 rtn = 0x80; in FDECL1()
191 return rtn; in FDECL1()
/netbsd-src/external/gpl2/lvm2/dist/daemons/cmirrord/
H A Dfunctions.c918 uint64_t *rtn = (uint64_t *)rq->data; in clog_get_region_size() local
924 *rtn = lc->region_size; in clog_get_region_size()
925 rq->data_size = sizeof(*rtn); in clog_get_region_size()
938 int64_t *rtn = (int64_t *)rq->data; in clog_is_clean() local
945 *rtn = log_test_bit(lc->clean_bits, region); in clog_is_clean()
946 rq->data_size = sizeof(*rtn); in clog_is_clean()
963 int64_t *rtn = (int64_t *)rq->data; in clog_in_sync() local
973 *rtn = log_test_bit(lc->sync_bits, region); in clog_in_sync()
974 if (*rtn) in clog_in_sync()
981 rq->data_size = sizeof(*rtn); in clog_in_sync()
H A Dcluster.c600 int rtn = 0; in import_checkpoint() local
697 rtn = -EIO; /* FIXME: better error */ in import_checkpoint()
723 rtn = -EIO; /* FIXME: better error */ in import_checkpoint()
732 rtn = -EIO; in import_checkpoint()
737 rtn = -EAGAIN; in import_checkpoint()
748 return rtn; in import_checkpoint()
/netbsd-src/external/lgpl3/gmp/dist/mpn/arm/
H A Dlogops_n.asm108 beq L(rtn)
137 L(rtn): pop { r8, r9, r10 }
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/bfin/
H A Dcec-non-operating-env.s30 rtn;
/netbsd-src/external/lgpl3/gmp/dist/mpn/sparc64/ultrasparct3/
H A Dcnd_aors_n.asm108 brgz n, L(rtn)
142 L(rtn): RETVAL
/netbsd-src/bin/sh/
H A Dnodes.c.pat169 char *rtn = st->string;
174 return rtn;
/netbsd-src/external/lgpl3/gmp/dist/mpn/x86/atom/sse2/
H A Dsqr_basecase.asm621 L(rtn): emms
/netbsd-src/sys/arch/sun3/sun3x/
H A Dpmap.c2616 int rtn; in pmap_dereference() local
2618 rtn = atomic_dec_uint_nv(&pmap->pm_refcount); in pmap_dereference()
2620 return rtn; in pmap_dereference()
3443 void *rtn; in pmap_bootstrap_alloc() local
3452 rtn = (void *) virtual_avail; in pmap_bootstrap_alloc()
3462 return rtn; in pmap_bootstrap_alloc()
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Di386-dis.c1700 op_rtn rtn; member
9603 if (dp->op[i].rtn) in print_insn()
9604 (*dp->op[i].rtn) (&ins, dp->op[i].bytemode, sizeflag); in print_insn()
9666 if ((dp->op[i].rtn == OP_J) in print_insn()
9667 || (dp->op[i].rtn == OP_indirE)) in print_insn()
9669 else if ((dp->op[i].rtn == BND_Fixup) in print_insn()
9670 || (!dp->op[i].rtn && !dp->op[i].bytemode)) in print_insn()
9828 if (ins.intel_syntax && dp && dp->op[2].rtn == OP_Rounding in print_insn()
9829 && dp->op[3].rtn == OP_E && dp->op[4].rtn == NULL) in print_insn()
9864 if (dp->op[2].rtn == OP_Rounding && !intel_swap_2_3) in print_insn()
[all …]
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Di386-dis.c1765 op_rtn rtn; member
9603 if (dp->op[i].rtn in print_insn()
9604 && !dp->op[i].rtn (&ins, dp->op[i].bytemode, sizeflag)) in print_insn()
9682 if ((dp->op[i].rtn == OP_J) in print_insn()
9683 || (dp->op[i].rtn == OP_indirE)) in print_insn()
9685 else if ((dp->op[i].rtn == BND_Fixup) in print_insn()
9686 || (!dp->op[i].rtn && !dp->op[i].bytemode)) in print_insn()
9881 if (ins.intel_syntax && dp && dp->op[2].rtn == OP_Rounding in print_insn()
9882 && dp->op[3].rtn == OP_E && dp->op[4].rtn == NULL) in print_insn()
9917 if (dp->op[2].rtn == OP_Rounding && !intel_swap_2_3) in print_insn()
[all …]

12