/dports/print/mpage/mpage-2.5.7/ |
H A D | args.c | 42 char *optstr; in do_args() local 59 { char opt = *optstr; \ in do_args() 60 consumed = 1; if(*++optstr == '\0') optstr = argv[++currarg]; \ in do_args() 77 switch (*optstr) { in do_args() 108 if (!strcmp(optstr, "?") || !strcmp(optstr, "l")) { in do_args() 134 while (*++optstr && isdigit((int)*optstr)) in do_args() 231 strtol(optstr, &optstr, 10) : 1; in do_args() 234 opt_last[opt_jarg] = strtol(optstr, &optstr, 10); in do_args() 238 if (*optstr == '/' || *optstr == '%') in do_args() 281 while (*++optstr && isdigit((int)*optstr)) in do_args() [all …]
|
/dports/net-mgmt/monitoring-plugins/monitoring-plugins-2.3.1/lib/tests/ |
H A D | test_ini1.c | 35 char *optstr=NULL; in list2str() local 41 asprintf(&optstr, "%s%s ", optstr, optlst->arg); in list2str() 47 if (strlen(optstr)>1) optstr[strlen(optstr)-1]='\0'; in list2str() 49 return optstr; in list2str() 61 my_free(optstr); in main() 65 my_free(optstr); in main() 69 my_free(optstr); in main() 73 my_free(optstr); in main() 77 my_free(optstr); in main() 81 my_free(optstr); in main() [all …]
|
/dports/net-mgmt/nagios-plugins/nagios-plugins-2.3.3/lib/tests/ |
H A D | test_ini1.c | 35 char *optstr=NULL; in list2str() local 41 asprintf(&optstr, "%s%s ", optstr, optlst->arg); in list2str() 47 if (strlen(optstr)>1) optstr[strlen(optstr)-1]='\0'; in list2str() 49 return optstr; in list2str() 61 my_free(optstr); in main() 65 my_free(optstr); in main() 69 my_free(optstr); in main() 73 my_free(optstr); in main() 77 my_free(optstr); in main() 81 my_free(optstr); in main() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | option.c | 30 while (optstr && *optstr != '\0') { in nvkm_stropt() 39 optstr++; in nvkm_stropt() 42 optstr++; in nvkm_stropt() 47 optstr += len; in nvkm_stropt() 58 optstr = nvkm_stropt(optstr, opt, &arglen); in nvkm_boolopt() 59 if (optstr) { in nvkm_boolopt() 83 optstr = nvkm_stropt(optstr, opt, &arglen); in nvkm_longopt() 84 if (optstr && (s = kstrndup(optstr, arglen, GFP_KERNEL))) { in nvkm_longopt() 105 optstr++; in nvkm_dbgopt() 128 optstr++; in nvkm_dbgopt() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | option.c | 30 while (optstr && *optstr != '\0') { in nvkm_stropt() 39 optstr++; in nvkm_stropt() 42 optstr++; in nvkm_stropt() 47 optstr += len; in nvkm_stropt() 58 optstr = nvkm_stropt(optstr, opt, &arglen); in nvkm_boolopt() 59 if (optstr) { in nvkm_boolopt() 83 optstr = nvkm_stropt(optstr, opt, &arglen); in nvkm_longopt() 84 if (optstr && (s = kstrndup(optstr, arglen, GFP_KERNEL))) { in nvkm_longopt() 105 optstr++; in nvkm_dbgopt() 128 optstr++; in nvkm_dbgopt() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | option.c | 30 while (optstr && *optstr != '\0') { in nvkm_stropt() 39 optstr++; in nvkm_stropt() 42 optstr++; in nvkm_stropt() 47 optstr += len; in nvkm_stropt() 58 optstr = nvkm_stropt(optstr, opt, &arglen); in nvkm_boolopt() 59 if (optstr) { in nvkm_boolopt() 83 optstr = nvkm_stropt(optstr, opt, &arglen); in nvkm_longopt() 84 if (optstr && (s = kstrndup(optstr, arglen, GFP_KERNEL))) { in nvkm_longopt() 105 optstr++; in nvkm_dbgopt() 128 optstr++; in nvkm_dbgopt() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/dist/drm/nouveau/core/core/ |
H A D | nouveau_core_option.c | 36 while (optstr && *optstr != '\0') { in nouveau_stropt() 41 optstr += len + 1; in nouveau_stropt() 45 optstr++; in nouveau_stropt() 48 optstr++; in nouveau_stropt() 53 optstr += len; in nouveau_stropt() 64 optstr = nouveau_stropt(optstr, opt, &arglen); in nouveau_boolopt() 65 if (optstr) { in nouveau_boolopt() 87 while (optstr) { in nouveau_dbgopt() 93 optstr++; in nouveau_dbgopt() 116 optstr++; in nouveau_dbgopt() [all …]
|
/dports/sysutils/linrename/util-linux-2.25.2/libmount/src/ |
H A D | optstr.c | 54 assert(optstr); in mnt_optstr_parse_next() 126 if (!optstr) in mnt_optstr_locate_option() 142 ol->end = *(optstr - 1) == ',' ? optstr - 1 : optstr; in mnt_optstr_locate_option() 167 if (!optstr || !*optstr) in mnt_optstr_next_option() 184 osz = *optstr ? strlen(*optstr) : 0; in __mnt_optstr_append_option() 195 *optstr = p; in __mnt_optstr_append_option() 441 if (!optstr) in mnt_optstr_set_option() 446 if (*optstr) in mnt_optstr_set_option() 887 if (!optstr || !*optstr || !value || !valsz) in mnt_optstr_fix_secontext() 974 if (!optstr || !*optstr || !value || !valsz) in mnt_optstr_fix_uid() [all …]
|
/dports/java/sablevm/sablevm-1.13/src/libsablevm/ |
H A D | vm_args.c | 3 if (strcmp ("vfprintf", optstr) == 0) 14 else if (strcmp ("exit", optstr) == 0) 24 else if (strcmp ("abort", optstr) == 0) 96 const char *value = &optstr[29]; 223 const char *value = &optstr[29]; 241 const char *value = &optstr[23]; 265 const char *value = &optstr[26]; 326 if (strlen (optstr) < 4 || optstr[2] == '=') 343 const char *start = &optstr[8]; 402 if (strncmp ("-D", optstr, 2) == 0) [all …]
|
/dports/devel/util-linux/util-linux-2.36/libmount/src/ |
H A D | optstr.c | 60 assert(optstr); in mnt_optstr_parse_next() 132 if (!optstr) in mnt_optstr_locate_option() 147 ol->end = *(optstr - 1) == ',' ? optstr - 1 : optstr; in mnt_optstr_locate_option() 172 if (!optstr || !*optstr) in mnt_optstr_next_option() 189 osz = *optstr ? strlen(*optstr) : 0; in __mnt_optstr_append_option() 200 *optstr = p; in __mnt_optstr_append_option() 233 if (!optstr) in mnt_optstr_append_option() 258 if (!optstr) in mnt_optstr_prepend_option() 889 if (!optstr || !*optstr || !value || !valsz) in mnt_optstr_fix_secontext() 975 if (!optstr || !*optstr || !value || !valsz) in mnt_optstr_fix_uid() [all …]
|
/dports/devel/util-linux/util-linux-2.36/tests/expected/libmount/ |
H A D | tabfiles-py-parse-mtab | 5 optstr: rw,noatime 11 optstr: rw 12 VFS-optstr: rw 17 optstr: rw 18 VFS-optstr: rw 24 VFS-optstr: rw 30 optstr: rw 31 VFS-optstr: rw 48 optstr: rw 54 optstr: rw [all …]
|
H A D | tabfiles-parse-mtab | 5 optstr: rw,noatime 11 optstr: rw 12 VFS-optstr: rw 17 optstr: rw 18 VFS-optstr: rw 24 VFS-optstr: rw 30 optstr: rw 31 VFS-optstr: rw 48 optstr: rw 54 optstr: rw [all …]
|
H A D | tabfiles-parse-mountinfo | 5 optstr: rw,relatime 6 VFS-optstr: rw,relatime 16 optstr: rw,relatime 17 VFS-optstr: rw,relatime 28 VFS-optstr: rw,relatime 39 VFS-optstr: rw,relatime 49 optstr: rw,relatime 50 VFS-optstr: rw,relatime 61 VFS-optstr: rw,noatime 247 optstr: rw,relatime [all …]
|
H A D | tabfiles-py-parse-mountinfo | 5 optstr: rw,relatime 6 VFS-optstr: rw,relatime 16 optstr: rw,relatime 17 VFS-optstr: rw,relatime 28 VFS-optstr: rw,relatime 39 VFS-optstr: rw,relatime 49 optstr: rw,relatime 50 VFS-optstr: rw,relatime 61 VFS-optstr: rw,noatime 247 optstr: rw,relatime [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/ |
H A D | subr_optstr.c | 54 while (*optstr == ' ') in optstr_get() 55 optstr++; in optstr_get() 63 while (*optstr == *keyp) { in optstr_get() 64 optstr++; in optstr_get() 72 while (*optstr != ' ' && *optstr != '\0') in optstr_get() 73 optstr++; in optstr_get() 76 while (*optstr == ' ') in optstr_get() 77 optstr++; in optstr_get() 87 optstr++; /* Skip '='. */ in optstr_get() 88 while (buf != lastbuf && *optstr != ' ' && *optstr != '\0') in optstr_get() [all …]
|
/dports/sysutils/linrename/util-linux-2.25.2/tests/expected/libmount/ |
H A D | tabfiles-parse-mtab | 5 optstr: rw,noatime 11 optstr: rw 12 VFS-optstr: rw 17 optstr: rw 18 VFS-optstr: rw 24 VFS-optstr: rw 30 optstr: rw 31 VFS-optstr: rw 48 optstr: rw 54 optstr: rw [all …]
|
H A D | tabfiles-py-parse-mtab | 5 optstr: rw,noatime 11 optstr: rw 12 VFS-optstr: rw 17 optstr: rw 18 VFS-optstr: rw 24 VFS-optstr: rw 30 optstr: rw 31 VFS-optstr: rw 48 optstr: rw 54 optstr: rw [all …]
|
H A D | tabfiles-parse-mountinfo | 5 optstr: rw,relatime 6 VFS-optstr: rw,relatime 16 optstr: rw,relatime 17 VFS-optstr: rw,relatime 28 VFS-optstr: rw,relatime 39 VFS-optstr: rw,relatime 49 optstr: rw,relatime 50 VFS-optstr: rw,relatime 61 VFS-optstr: rw,noatime 247 optstr: rw,relatime [all …]
|
H A D | tabfiles-py-parse-mountinfo | 5 optstr: rw,relatime 6 VFS-optstr: rw,relatime 16 optstr: rw,relatime 17 VFS-optstr: rw,relatime 28 VFS-optstr: rw,relatime 39 VFS-optstr: rw,relatime 49 optstr: rw,relatime 50 VFS-optstr: rw,relatime 61 VFS-optstr: rw,noatime 247 optstr: rw,relatime [all …]
|
/dports/devel/sunpromake/schily-2021-09-18/libscg/ |
H A D | scsiopts.c | 53 scg_opts(scgp, optstr) in scg_opts() argument 55 const char *optstr; 64 while (*optstr) { 65 if ((ep = strchr(optstr, ',')) != NULL) { 66 optlen = ep - optstr; 69 optlen = strlen(optstr); 70 np = (char *)optstr + optlen; 72 if (optstr[0] == '!') { 73 optstr++; 78 strncmp(optstr, "!", optlen) == 0) { [all …]
|
/dports/devel/smake/schily-2021-09-18/libscg/ |
H A D | scsiopts.c | 53 scg_opts(scgp, optstr) in scg_opts() argument 55 const char *optstr; 64 while (*optstr) { 65 if ((ep = strchr(optstr, ',')) != NULL) { 66 optlen = ep - optstr; 69 optlen = strlen(optstr); 70 np = (char *)optstr + optlen; 72 if (optstr[0] == '!') { 73 optstr++; 78 strncmp(optstr, "!", optlen) == 0) { [all …]
|
/dports/net/rscsi/schily-2021-09-18/libscg/ |
H A D | scsiopts.c | 53 scg_opts(scgp, optstr) in scg_opts() argument 55 const char *optstr; 64 while (*optstr) { 65 if ((ep = strchr(optstr, ',')) != NULL) { 66 optlen = ep - optstr; 69 optlen = strlen(optstr); 70 np = (char *)optstr + optlen; 72 if (optstr[0] == '!') { 73 optstr++; 78 strncmp(optstr, "!", optlen) == 0) { [all …]
|
/dports/archivers/star/schily-2021-09-18/libscg/ |
H A D | scsiopts.c | 53 scg_opts(scgp, optstr) in scg_opts() argument 55 const char *optstr; 64 while (*optstr) { 65 if ((ep = strchr(optstr, ',')) != NULL) { 66 optlen = ep - optstr; 69 optlen = strlen(optstr); 70 np = (char *)optstr + optlen; 72 if (optstr[0] == '!') { 73 optstr++; 78 strncmp(optstr, "!", optlen) == 0) { [all …]
|
/dports/sysutils/cdrtools/schily-2021-09-18/libscg/ |
H A D | scsiopts.c | 53 scg_opts(scgp, optstr) in scg_opts() argument 55 const char *optstr; 64 while (*optstr) { 65 if ((ep = strchr(optstr, ',')) != NULL) { 66 optlen = ep - optstr; 69 optlen = strlen(optstr); 70 np = (char *)optstr + optlen; 72 if (optstr[0] == '!') { 73 optstr++; 78 strncmp(optstr, "!", optlen) == 0) { [all …]
|
/dports/editors/ved/schily-2021-09-18/libscg/ |
H A D | scsiopts.c | 53 scg_opts(scgp, optstr) in scg_opts() argument 55 const char *optstr; 64 while (*optstr) { 65 if ((ep = strchr(optstr, ',')) != NULL) { 66 optlen = ep - optstr; 69 optlen = strlen(optstr); 70 np = (char *)optstr + optlen; 72 if (optstr[0] == '!') { 73 optstr++; 78 strncmp(optstr, "!", optlen) == 0) { [all …]
|