Home
last modified time | relevance | path

Searched refs:endp (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/
H A Dutil.c174 char *ptr, *endp = NULL; in rbac_bv2constraint() local
193 endp = ptr; in rbac_bv2constraint()
194 while ( *endp != DELIMITER ) { in rbac_bv2constraint()
195 endp++; in rbac_bv2constraint()
210 ptr = endp; in rbac_bv2constraint()
211 endp++; in rbac_bv2constraint()
212 if ( isdigit( *endp ) ) { in rbac_bv2constraint()
214 while ( isdigit( *endp ) ) { in rbac_bv2constraint()
215 secs = secs * 10 + *endp - '0'; in rbac_bv2constraint()
216 endp++; in rbac_bv2constraint()
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/global/
H A Dscache_multi.c138 static void scache_multi_drop_endp(SCACHE_MULTI_ENDP *endp, int direction) in scache_multi_drop_endp() argument
145 endp->endp_prop, endp->fd); in scache_multi_drop_endp()
150 event_cancel_timer(scache_multi_expire_endp, (void *) endp); in scache_multi_drop_endp()
157 ring_detach(endp->ring); in scache_multi_drop_endp()
158 head = endp->head; in scache_multi_drop_endp()
166 if (endp->fd >= 0 && close(endp->fd) != 0) in scache_multi_drop_endp()
167 msg_warn("%s: close(%d): %m", myname, endp->fd); in scache_multi_drop_endp()
168 myfree(endp->endp_prop); in scache_multi_drop_endp()
170 myfree((void *) endp); in scache_multi_drop_endp()
177 SCACHE_MULTI_ENDP *endp = (SCACHE_MULTI_ENDP *) context; in scache_multi_expire_endp() local
[all …]
H A Dscache_single.c81 SCACHE_SINGLE_ENDP endp; /* one cached session */ member
88 #define SCACHE_SINGLE_ENDP_BUSY(sp) (VSTRING_LEN(sp->endp.endp_label) > 0)
100 msg_info("%s: %s", myname, STR(sp->endp.endp_label)); in scache_single_free_endp()
103 if (sp->endp.fd >= 0 && close(sp->endp.fd) < 0) in scache_single_free_endp()
104 msg_warn("close session endpoint %s: %m", STR(sp->endp.endp_label)); in scache_single_free_endp()
105 VSTRING_RESET(sp->endp.endp_label); in scache_single_free_endp()
106 VSTRING_TERMINATE(sp->endp.endp_label); in scache_single_free_endp()
107 VSTRING_RESET(sp->endp.endp_prop); in scache_single_free_endp()
108 VSTRING_TERMINATE(sp->endp.endp_prop); in scache_single_free_endp()
109 sp->endp.fd = -1; in scache_single_free_endp()
[all …]
/netbsd-src/lib/libc/gen/
H A Ddirname.c50 const char *endp; in __weak_alias() local
64 endp = path + strlen(path) - 1; in __weak_alias()
65 while (endp != path && *endp == '/') in __weak_alias()
66 endp--; in __weak_alias()
69 while (endp > path && *endp != '/') in __weak_alias()
70 endp--; in __weak_alias()
72 if (endp == path) { in __weak_alias()
73 path = *endp == '/' ? "/" : "."; in __weak_alias()
79 endp--; in __weak_alias()
80 while (endp > path && *endp == '/'); in __weak_alias()
[all …]
H A Dbasename.c51 const char *startp, *endp; in __weak_alias() local
65 endp = path + strlen(path) - 1; in __weak_alias()
66 while (endp != path && *endp == '/') in __weak_alias()
67 endp--; in __weak_alias()
70 if (endp == path && *endp == '/') { in __weak_alias()
77 for (startp = endp; startp > path && *(startp - 1) != '/'; startp--) in __weak_alias()
81 len = (endp - startp) + 1 /* last char */; in __weak_alias()
/netbsd-src/external/bsd/libbind/dist/resolv/
H A Dres_mkupdate.c86 u_char *cp, *sp2, *startp, *endp; in res_nmkupdate() local
209 endp = startp + rrecp->r_size - 1; in res_nmkupdate()
213 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
228 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
241 endp)) in res_nmkupdate()
261 soanum = getnum_str(&startp, endp); in res_nmkupdate()
277 n = getnum_str(&startp, endp); in res_nmkupdate()
282 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
291 n = getnum_str(&startp, endp); in res_nmkupdate()
297 n = getnum_str(&startp, endp); in res_nmkupdate()
[all …]
/netbsd-src/lib/libresolv/
H A Dres_mkupdate.c87 u_char *cp, *sp2, *startp, *endp; in res_nmkupdate() local
210 endp = startp + rrecp->r_size - 1; in res_nmkupdate()
214 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
229 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
242 endp)) in res_nmkupdate()
262 soanum = getnum_str(&startp, endp); in res_nmkupdate()
278 n = getnum_str(&startp, endp); in res_nmkupdate()
283 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
292 n = getnum_str(&startp, endp); in res_nmkupdate()
298 n = getnum_str(&startp, endp); in res_nmkupdate()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dfile-find.cc174 const char *startp, *endp; in prefix_from_string() local
180 startp = endp = p; in prefix_from_string()
183 if (*endp == PATH_SEPARATOR || *endp == 0) in prefix_from_string()
185 strncpy (nstore, startp, endp-startp); in prefix_from_string()
186 if (endp == startp) in prefix_from_string()
190 else if (! IS_DIR_SEPARATOR (endp[-1])) in prefix_from_string()
192 nstore[endp-startp] = DIR_SEPARATOR; in prefix_from_string()
193 nstore[endp-startp+1] = 0; in prefix_from_string()
196 nstore[endp-startp] = 0; in prefix_from_string()
202 if (*endp == 0) in prefix_from_string()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dfile-find.c174 const char *startp, *endp; in prefix_from_string() local
180 startp = endp = p; in prefix_from_string()
183 if (*endp == PATH_SEPARATOR || *endp == 0) in prefix_from_string()
185 strncpy (nstore, startp, endp-startp); in prefix_from_string()
186 if (endp == startp) in prefix_from_string()
190 else if (! IS_DIR_SEPARATOR (endp[-1])) in prefix_from_string()
192 nstore[endp-startp] = DIR_SEPARATOR; in prefix_from_string()
193 nstore[endp-startp+1] = 0; in prefix_from_string()
196 nstore[endp-startp] = 0; in prefix_from_string()
202 if (*endp == 0) in prefix_from_string()
[all …]
/netbsd-src/sys/arch/sparc/stand/ofwboot/
H A Dbootinfo.c49 uint64_t *endp; in bi_init() local
51 endp = (uint64_t *)ALIGN(addr); in bi_init()
56 sparc64_memset(endp, 0, BOOTINFO_SIZE); in bi_init()
62 endp[0] = (uint64_t)(u_long)((char *)endp + BOOTINFO_SIZE); in bi_init()
63 bootinfo = (char *)ALIGN(&endp[2]); in bi_init()
64 endp[1] = (uint64_t)(u_long)bootinfo; in bi_init()
72 return (u_long) endp; in bi_init()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dmake-relative-prefix.c252 char *startp, *endp, *nstore; in make_relative_prefix_1() local
267 startp = endp = temp; in make_relative_prefix_1()
270 if (*endp == PATH_SEPARATOR || *endp == 0) in make_relative_prefix_1()
272 if (endp == startp) in make_relative_prefix_1()
280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
281 if (! IS_DIR_SEPARATOR (endp[-1])) in make_relative_prefix_1()
283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
287 nstore[endp - startp] = 0; in make_relative_prefix_1()
306 if (*endp == 0) in make_relative_prefix_1()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dmake-relative-prefix.c252 char *startp, *endp, *nstore; in make_relative_prefix_1() local
267 startp = endp = temp; in make_relative_prefix_1()
270 if (*endp == PATH_SEPARATOR || *endp == 0) in make_relative_prefix_1()
272 if (endp == startp) in make_relative_prefix_1()
280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
281 if (! IS_DIR_SEPARATOR (endp[-1])) in make_relative_prefix_1()
283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
287 nstore[endp - startp] = 0; in make_relative_prefix_1()
306 if (*endp == 0) in make_relative_prefix_1()
[all …]
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dmake-relative-prefix.c252 char *startp, *endp, *nstore; in make_relative_prefix_1() local
267 startp = endp = temp; in make_relative_prefix_1()
270 if (*endp == PATH_SEPARATOR || *endp == 0) in make_relative_prefix_1()
272 if (endp == startp) in make_relative_prefix_1()
280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
281 if (! IS_DIR_SEPARATOR (endp[-1])) in make_relative_prefix_1()
283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
287 nstore[endp - startp] = 0; in make_relative_prefix_1()
306 if (*endp == 0) in make_relative_prefix_1()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dmake-relative-prefix.c252 char *startp, *endp, *nstore; in make_relative_prefix_1() local
267 startp = endp = temp; in make_relative_prefix_1()
270 if (*endp == PATH_SEPARATOR || *endp == 0) in make_relative_prefix_1()
272 if (endp == startp) in make_relative_prefix_1()
280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
281 if (! IS_DIR_SEPARATOR (endp[-1])) in make_relative_prefix_1()
283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
287 nstore[endp - startp] = 0; in make_relative_prefix_1()
306 if (*endp == 0) in make_relative_prefix_1()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl/
H A Dplural-exp.c113 char *endp; in EXTRACT_PLURAL_EXPRESSION() local
124 n = strtoul (nplurals, &endp, 10); in EXTRACT_PLURAL_EXPRESSION()
126 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) in EXTRACT_PLURAL_EXPRESSION()
127 n = n * 10 + (*endp - '0'); in EXTRACT_PLURAL_EXPRESSION()
129 if (nplurals == endp) in EXTRACT_PLURAL_EXPRESSION()
/netbsd-src/external/gpl2/texinfo/dist/intl/
H A Dplural-exp.c115 char *endp; in EXTRACT_PLURAL_EXPRESSION() local
126 n = strtoul (nplurals, &endp, 10); in EXTRACT_PLURAL_EXPRESSION()
128 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) in EXTRACT_PLURAL_EXPRESSION()
129 n = n * 10 + (*endp - '0'); in EXTRACT_PLURAL_EXPRESSION()
131 if (nplurals == endp) in EXTRACT_PLURAL_EXPRESSION()
/netbsd-src/external/gpl3/gcc/dist/intl/
H A Dplural-exp.c115 char *endp; local
126 n = strtoul (nplurals, &endp, 10);
128 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++)
129 n = n * 10 + (*endp - '0');
131 if (nplurals == endp)
/netbsd-src/external/gpl3/gcc.old/dist/intl/
H A Dplural-exp.c115 char *endp; local
126 n = strtoul (nplurals, &endp, 10);
128 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++)
129 n = n * 10 + (*endp - '0');
131 if (nplurals == endp)
/netbsd-src/external/gpl2/grep/dist/intl/
H A Dplural-exp.c117 char *endp; local
128 n = strtoul (nplurals, &endp, 10);
130 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++)
131 n = n * 10 + (*endp - '0');
133 if (nplurals == endp)
/netbsd-src/external/gpl3/gdb.old/dist/intl/
H A Dplural-exp.c115 char *endp; local
126 n = strtoul (nplurals, &endp, 10);
128 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++)
129 n = n * 10 + (*endp - '0');
131 if (nplurals == endp)
/netbsd-src/external/gpl3/binutils.old/dist/intl/
H A Dplural-exp.c115 char *endp; local
126 n = strtoul (nplurals, &endp, 10);
128 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++)
129 n = n * 10 + (*endp - '0');
131 if (nplurals == endp)
/netbsd-src/sys/arch/sparc/stand/boot/
H A Dbootinfo.c48 u_long *endp; in bi_init() local
50 endp = (u_long *)ALIGN(addr); in bi_init()
55 endp[0] = (u_long)((char *)endp + BOOTINFO_SIZE); in bi_init()
56 bootinfo = (char *)ALIGN(&endp[2]); in bi_init()
57 endp[1] = (u_long)bootinfo; in bi_init()
65 return (u_long) endp; in bi_init()
/netbsd-src/external/bsd/libbind/dist/inet/
H A Dinet_pton.c144 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
150 endp = tp + NS_IN6ADDRSZ;
181 if (tp + NS_INT16SZ > endp)
189 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
198 if (tp + NS_INT16SZ > endp)
211 if (tp == endp)
214 endp[- i] = colonp[n - i];
217 tp = endp;
219 if (tp != endp)
/netbsd-src/sbin/mount_tmpfs/
H A Dmount_tmpfs.c98 char *endp; in ram_fract() local
101 f = strtof(arg, &endp); in ram_fract()
102 if (endp && *endp != 0) in ram_fract()
104 " at %s", arg, endp); in ram_fract()
118 char *endp; in ram_percent() local
121 f = strtof(arg, &endp); in ram_percent()
122 if (endp && *endp != 0) in ram_percent()
124 " at %s", arg, endp); in ram_percent()
/netbsd-src/lib/libc/inet/
H A Dinet_pton.c227 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
236 endp = tp + NS_IN6ADDRSZ; in inet_pton6()
266 if (tp + NS_INT16SZ > endp) in inet_pton6()
274 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_pton6()
283 if (tp + NS_INT16SZ > endp) in inet_pton6()
296 if (tp == endp) in inet_pton6()
299 endp[- i] = colonp[n - i]; in inet_pton6()
302 tp = endp; in inet_pton6()
304 if (tp != endp) in inet_pton6()

12345678910>>...14