Searched refs:newopts (Results 1 – 5 of 5) sorted by relevance
/third_party/ntfs-3g/libfuse-lite/ |
D | fuse_opt.c | 101 char *newopts; in fuse_opt_add_opt() local 103 newopts = strdup(opt); in fuse_opt_add_opt() 106 newopts = realloc(*opts, oldlen + 1 + strlen(opt) + 1); in fuse_opt_add_opt() 107 if (newopts) { in fuse_opt_add_opt() 108 newopts[oldlen] = ','; in fuse_opt_add_opt() 109 strcpy(newopts + oldlen + 1, opt); in fuse_opt_add_opt() 112 if (!newopts) in fuse_opt_add_opt() 115 *opts = newopts; in fuse_opt_add_opt()
|
D | fusermount.c | 261 char *newopts; in add_option() local 263 newopts = strdup(opt); in add_option() 267 newopts = (char *) realloc(*optsp, newsize); in add_option() 268 if (newopts) in add_option() 269 sprintf(newopts + oldsize, ",%s", opt); in add_option() 271 if (newopts == NULL) { in add_option() 275 *optsp = newopts; in add_option()
|
/third_party/iptables/iptables/ |
D | xtables-eb.c | 267 const struct option *newopts, in merge_options() argument 273 if (!newopts || !oldopts || !options_offset) in merge_options() 276 for (num_new = 0; newopts[num_new].name; num_new++); in merge_options() 286 merge[num_old + i] = newopts[i]; in merge_options()
|
/third_party/iptables/include/ |
D | xtables.h | 462 struct option *oldopts, const struct option *newopts,
|
/third_party/iptables/libxtables/ |
D | xtables.c | 105 const struct option *newopts, in xtables_merge_options() argument 111 if (newopts == NULL) in xtables_merge_options() 117 for (num_new = 0; newopts[num_new].name; num_new++) ; in xtables_merge_options() 139 memcpy(mp, newopts, sizeof(*mp) * num_new); in xtables_merge_options()
|