Lines Matching defs:parse_options
72 parse_options(State=#mochiweb_socket_server{}) -> function
74 parse_options(Options) -> function
77 parse_options([], State=#mochiweb_socket_server{acceptor_pool_size=PoolSize, function
88 parse_options([{name, L} | Rest], State) when is_list(L) -> function
91 parse_options([{name, A} | Rest], State) when A =:= undefined -> function
93 parse_options([{name, A} | Rest], State) when is_atom(A) -> function
96 parse_options([{name, Name} | Rest], State) -> function
98 parse_options([{port, L} | Rest], State) when is_list(L) -> function
101 parse_options([{port, Port} | Rest], State) -> function
103 parse_options([{ip, Ip} | Rest], State) -> function
114 parse_options([{loop, Loop} | Rest], State) -> function
116 parse_options([{backlog, Backlog} | Rest], State) -> function
118 parse_options([{nodelay, NoDelay} | Rest], State) -> function
120 parse_options([{recbuf, RecBuf} | Rest], State) when is_integer(RecBuf) orelse function
135 parse_options([{acceptor_pool_size, Max} | Rest], State) -> function
139 parse_options([{max, Max} | Rest], State) -> function
142 parse_options([{ssl, Ssl} | Rest], State) when is_boolean(Ssl) -> function
144 parse_options([{ssl_opts, SslOpts} | Rest], State) when is_list(SslOpts) -> function
147 parse_options([{profile_fun, ProfileFun} | Rest], State) when is_function(ProfileFun) -> function