Home
last modified time | relevance | path

Searched refs:copy_string (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/sys/security/mac_do/
H A Dmac_do.c178 char *copy_string, *new_string; in sysctl_rules() local
199 copy_string = strdup(new_string, M_DO); in sysctl_rules()
201 error = parse_rules(copy_string, &head); in sysctl_rules()
202 free(copy_string, M_DO); in sysctl_rules()
275 char *rules_string, *copy_string; in mac_do_prison_set() local
296 copy_string = strdup(rules_string, M_DO); in mac_do_prison_set()
298 error = parse_rules(copy_string, &head); in mac_do_prison_set()
299 free(copy_string, M_DO); in mac_do_prison_set()
/freebsd-14.2/sys/security/mac_portacl/
H A Dmac_portacl.c332 char *string, *copy_string, *new_string; in sysctl_rules() local
352 copy_string = strdup(string, M_PORTACL); in sysctl_rules()
354 error = parse_rules(copy_string, &head); in sysctl_rules()
355 free(copy_string, M_PORTACL); in sysctl_rules()
/freebsd-14.2/sys/security/mac_ipacl/
H A Dmac_ipacl.c274 char *string, *copy_string, *new_string; in sysctl_rules() local
294 copy_string = strdup(string, M_IPACL); in sysctl_rules()
296 error = parse_rules(copy_string, &head); in sysctl_rules()
297 free(copy_string, M_IPACL); in sysctl_rules()
/freebsd-14.2/contrib/byacc/
H A Dreader.c596 copy_string(int quote) in copy_string() function
837 char *s = copy_string(c); in copy_text()
942 char *s = copy_string(c); in copy_union()
3022 char *s = copy_string(c); in copy_action()
3141 char *s = copy_string(c); in get_code()
H A DCHANGES3454 Tom Shield's changes split-out copy_string() and copy_comment() functions
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c3028 static int copy_string(struct archive_read* a, int len, int dist) { in copy_string() function
3222 if(ARCHIVE_OK != copy_string(a, len, dist)) in do_uncompress_block()
3235 if(ARCHIVE_OK != copy_string(a, in do_uncompress_block()
3264 if(ARCHIVE_OK != copy_string(a, len, dist)) in do_uncompress_block()
/freebsd-14.2/contrib/libcxxrt/
H A Dlibelftc_dem_gnu3.c305 copy_string(char *dst, const char *src, size_t dsize) in copy_string() function
333 copy_string(v->container[v->size], str, len + 1); in vector_str_push()
/freebsd-14.2/contrib/flex/
H A DChangeLog1429 …to.do/unicode/misc.c: Replace copy_unsigned_string() with xstrdup(). Like copy_string(), copy_uns…
1473 …to.do/unicode/scan.l: Made string copying more standard. copy_string() was a clone of the stdlib'…