Searched refs:newopts (Results 1 - 3 of 3) sorted by relevance
/third_party/ntfs-3g/libfuse-lite/ |
H A 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()
|
H A 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/libfuse/util/ |
H A D | fusermount.c | 667 char *newopts; in add_option() local 669 newopts = strdup(opt); in add_option() 673 newopts = (char *) realloc(*optsp, newsize); in add_option() 674 if (newopts) in add_option() 675 sprintf(newopts + oldsize, ",%s", opt); in add_option() 677 if (newopts == NULL) { in add_option() 681 *optsp = newopts; in add_option()
|
Completed in 4 milliseconds