Home | History | Annotate | Download | only in src

Lines Matching full:arg2

311 break_args(char *s, char *arg1, char *arg2)
317 /* there was a comma arg2 should be the second arg*/
319 while ((*arg2++ = *ns++) != '\0');
323 /* and arg2 should be the same value as arg1 */
325 while ((*arg2++ = *ns++) != '\0');
334 separator this version will not ass-u-me that arg2 should be the
338 break_args_explicit_sep(char *s, int sep, char *arg1, char *arg2)
344 /* there was a separator arg2 should be the second arg*/
346 while ((*arg2++ = *ns++) != '\0');
349 /* there was no separator, so we should make sure that arg2 is \0
351 *arg2 = '\0';
362 break_args_explicit(char *s, char *arg1, char *arg2)
365 break_args_explicit_sep(s, ',', arg1, arg2);
444 char arg1[BUFSIZ],arg2[BUFSIZ];
456 '|' in the string so we know that arg1 has no '|' in it and arg2
458 break_args_explicit_sep(direction_string,'|',arg1,arg2);
460 /* at this point only arg2 could contain a '|' so recurse on that */
461 right = parse_direction(arg2);
593 arg2[BUFSIZ];
638 break_args(optarg,arg1,arg2);
642 if (arg2[0])
643 local_recv_align = convert(arg2);
647 break_args(optarg,arg1,arg2);
651 if (arg2[0])
652 remote_recv_align = convert(arg2);
679 break_args_explicit(optarg,arg1,arg2);
687 if (arg2[0]) {
688 demo_units = convert(arg2);
705 break_args_explicit(optarg,arg1,arg2);
710 if (arg2[0]) {
711 if (strlen(arg2)>(sizeof(remote_fill_file) - 1)){
719 strncpy(remote_fill_file,arg2,sizeof(remote_fill_file));
725 break_args(optarg,arg1,arg2);
729 if (arg2[0] ) {
730 iteration_min = convert(arg2);
746 break_args(optarg,arg1,arg2);
754 if (arg2[0] ) {
757 interval = strtod(arg2,NULL)/100.0;
776 break_args(optarg,arg1,arg2);
780 if (arg2[0] ) {
781 loc_clean_count = convert(arg2);
790 break_args(optarg,arg1,arg2);
794 if (arg2[0] ) {
795 rem_clean_count = convert(arg2);
809 break_args(optarg,arg1,arg2);
812 if (arg2[0])
813 local_recv_offset = convert(arg2);
817 break_args(optarg,arg1,arg2);
820 if (arg2[0])
821 remote_recv_offset = convert(arg2);
852 break_args(optarg,arg1,arg2);
857 if (arg2[0]) {
858 remote_proc_affinity = convert(arg2);
865 break_args(optarg,arg1,arg2);
868 if (arg2[0])
869 recv_width = convert(arg2);
872 break_args(optarg, arg1, arg2);
884 if (arg2[0])
885 remote_socket_prio = convert(arg2);
888 break_args(optarg, arg1, arg2);
900 if (arg2[0]) {
901 remote_socket_tos = parse_ipqos(arg2);
945 break_args_explicit(optarg,arg1,arg2);
948 if (arg2[0])
949 strncpy(local_test_port,arg2,PORTBUFSIZE);
955 break_args_explicit(optarg,arg1,arg2);
958 if (arg2[0])
959 address_family = parse_address_family(arg2);
965 break_args_explicit(optarg,arg1,arg2);
968 if (arg2[0])
969 local_address_family = parse_address_family(arg2);
977 break_args_explicit(optarg,arg1,arg2);
987 if (arg2[0]) {
991 remote_interval_usecs = convert_timespec(arg2);
997 break_args_explicit(optarg,arg1,arg2);
1016 if (arg2[0]) {
1017 remote_interval_burst = convert(arg2);