Lines Matching refs:arg

600 cmdline_content_type(char *arg, unsigned short key) {  in cmdline_content_type()  argument
624 char *p, *q = arg; in cmdline_content_type()
644 warn("W: unknown content-format '%s'\n",arg); in cmdline_content_type()
663 cmdline_uri(char *arg) { in cmdline_uri() argument
672 size_t len = strlen(arg); in cmdline_uri()
677 (unsigned char *)arg)); in cmdline_uri()
680 arg += 270; in cmdline_uri()
686 (unsigned char *)arg)); in cmdline_uri()
689 coap_split_uri((unsigned char *)arg, strlen(arg), &uri ); in cmdline_uri()
730 cmdline_blocksize(char *arg) { in cmdline_blocksize() argument
735 while(*arg && *arg != ',') in cmdline_blocksize()
736 size = size * 10 + (*arg++ - '0'); in cmdline_blocksize()
738 if (*arg == ',') { in cmdline_blocksize()
739 arg++; in cmdline_blocksize()
773 cmdline_subscribe(char *arg UNUSED_PARAM) { in cmdline_subscribe()
779 cmdline_proxy(char *arg) { in cmdline_proxy() argument
780 char *proxy_port_str = strrchr((const char *)arg, ':'); /* explicit port ? */ in cmdline_proxy()
782 char *ipv6_delimiter = strrchr((const char *)arg, ']'); in cmdline_proxy()
784 if (proxy_port_str == strchr((const char *)arg, ':')) { in cmdline_proxy()
790 arg = strchr((const char *)arg, '['); in cmdline_proxy()
791 if (!arg) return 0; in cmdline_proxy()
792 arg++; in cmdline_proxy()
801 proxy.length = strlen(arg); in cmdline_proxy()
807 memcpy(proxy.s, arg, proxy.length+1); in cmdline_proxy()
812 cmdline_token(char *arg) { in cmdline_token() argument
813 strncpy((char *)the_token.s, arg, min(sizeof(_token_data), strlen(arg))); in cmdline_token()
814 the_token.length = strlen(arg); in cmdline_token()
818 cmdline_option(char *arg) { in cmdline_option() argument
821 while (*arg && *arg != ',') { in cmdline_option()
822 num = num * 10 + (*arg - '0'); in cmdline_option()
823 ++arg; in cmdline_option()
825 if (*arg == ',') in cmdline_option()
826 ++arg; in cmdline_option()
829 new_option_node(num, strlen(arg), (unsigned char *)arg)); in cmdline_option()
970 cmdline_method(char *arg) { in cmdline_method() argument
975 for (i=1; methods[i] && strcasecmp(arg,methods[i]) != 0 ; ++i) in cmdline_method()