Lines Matching defs:parse_options
73 parse_options(State=#mochiweb_socket_server{}) -> function
75 parse_options(Options) -> function
78 parse_options([], State=#mochiweb_socket_server{acceptor_pool_size=PoolSize, function
89 parse_options([{name, L} | Rest], State) when is_list(L) -> function
92 parse_options([{name, A} | Rest], State) when A =:= undefined -> function
94 parse_options([{name, A} | Rest], State) when is_atom(A) -> function
97 parse_options([{name, Name} | Rest], State) -> function
99 parse_options([{port, L} | Rest], State) when is_list(L) -> function
102 parse_options([{port, Port} | Rest], State) -> function
104 parse_options([{ip, Ip} | Rest], State) -> function
115 parse_options([{loop, Loop} | Rest], State) -> function
117 parse_options([{backlog, Backlog} | Rest], State) -> function
119 parse_options([{nodelay, NoDelay} | Rest], State) -> function
121 parse_options([{recbuf, RecBuf} | Rest], State) when is_integer(RecBuf) orelse function
136 parse_options([{buffer, Buffer} | Rest], State) when is_integer(Buffer) orelse function
145 parse_options([{acceptor_pool_size, Max} | Rest], State) -> function
149 parse_options([{max, Max} | Rest], State) -> function
152 parse_options([{ssl, Ssl} | Rest], State) when is_boolean(Ssl) -> function
154 parse_options([{ssl_opts, SslOpts} | Rest], State) when is_list(SslOpts) -> function
157 parse_options([{profile_fun, ProfileFun} | Rest], State) when is_function(ProfileFun) -> function