Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/external/apache-http/src/org/apache/http/params/
DHttpConnectionParams.java32 package org.apache.http.params;
63 public static int getSoTimeout(final HttpParams params) { in getSoTimeout() argument
64 if (params == null) { in getSoTimeout()
67 return params.getIntParameter(CoreConnectionPNames.SO_TIMEOUT, 0); in getSoTimeout()
78 public static void setSoTimeout(final HttpParams params, int timeout) { in setSoTimeout() argument
79 if (params == null) { in setSoTimeout()
82 params.setIntParameter(CoreConnectionPNames.SO_TIMEOUT, timeout); in setSoTimeout()
92 public static boolean getTcpNoDelay(final HttpParams params) { in getTcpNoDelay() argument
93 if (params == null) { in getTcpNoDelay()
96 return params.getBooleanParameter in getTcpNoDelay()
[all …]
DHttpProtocolParams.java32 package org.apache.http.params;
66 public static String getHttpElementCharset(final HttpParams params) { in getHttpElementCharset() argument
67 if (params == null) { in getHttpElementCharset()
70 String charset = (String) params.getParameter in getHttpElementCharset()
82 public static void setHttpElementCharset(final HttpParams params, final String charset) { in setHttpElementCharset() argument
83 if (params == null) { in setHttpElementCharset()
86 params.setParameter(CoreProtocolPNames.HTTP_ELEMENT_CHARSET, charset); in setHttpElementCharset()
94 public static String getContentCharset(final HttpParams params) { in getContentCharset() argument
95 if (params == null) { in getContentCharset()
98 String charset = (String) params.getParameter in getContentCharset()
[all …]
DHttpConnectionParamBean.java32 package org.apache.http.params;
36 public HttpConnectionParamBean (final HttpParams params) { in HttpConnectionParamBean() argument
37 super(params); in HttpConnectionParamBean()
41 HttpConnectionParams.setSoTimeout(params, soTimeout); in setSoTimeout()
45 HttpConnectionParams.setTcpNoDelay(params, tcpNoDelay); in setTcpNoDelay()
49 HttpConnectionParams.setSocketBufferSize(params, socketBufferSize); in setSocketBufferSize()
53 HttpConnectionParams.setLinger(params, linger); in setLinger()
57 HttpConnectionParams.setConnectionTimeout(params, connectionTimeout); in setConnectionTimeout()
61 HttpConnectionParams.setStaleCheckingEnabled(params, staleCheckingEnabled); in setStaleCheckingEnabled()
DHttpProtocolParamBean.java32 package org.apache.http.params;
38 public HttpProtocolParamBean (final HttpParams params) { in HttpProtocolParamBean() argument
39 super(params); in HttpProtocolParamBean()
43 HttpProtocolParams.setHttpElementCharset(params, httpElementCharset); in setHttpElementCharset()
47 HttpProtocolParams.setContentCharset(params, contentCharset); in setContentCharset()
51 HttpProtocolParams.setVersion(params, version); in setVersion()
55 HttpProtocolParams.setUserAgent(params, userAgent); in setUserAgent()
59 HttpProtocolParams.setUseExpectContinue(params, useExpectContinue); in setUseExpectContinue()
/external/apache-http/src/org/apache/http/client/params/
DHttpClientParams.java31 package org.apache.http.client.params;
33 import org.apache.http.params.HttpParams;
50 public static boolean isRedirecting(final HttpParams params) { in isRedirecting() argument
51 if (params == null) { in isRedirecting()
54 return params.getBooleanParameter in isRedirecting()
58 public static void setRedirecting(final HttpParams params, boolean value) { in setRedirecting() argument
59 if (params == null) { in setRedirecting()
62 params.setBooleanParameter in setRedirecting()
66 public static boolean isAuthenticating(final HttpParams params) { in isAuthenticating() argument
67 if (params == null) { in isAuthenticating()
[all …]
DClientParamBean.java32 package org.apache.http.client.params;
39 import org.apache.http.params.HttpAbstractParamBean;
40 import org.apache.http.params.HttpParams;
44 public ClientParamBean (final HttpParams params) { in ClientParamBean() argument
45 super(params); in ClientParamBean()
49 params.setParameter(ClientPNames.CONNECTION_MANAGER_FACTORY_CLASS_NAME, factory); in setConnectionManagerFactoryClassName()
53 params.setParameter(ClientPNames.CONNECTION_MANAGER_FACTORY, factory); in setConnectionManagerFactory()
57 params.setBooleanParameter(ClientPNames.HANDLE_REDIRECTS, handle); in setHandleRedirects()
61 params.setBooleanParameter(ClientPNames.REJECT_RELATIVE_REDIRECT, reject); in setRejectRelativeRedirect()
65 params.setIntParameter(ClientPNames.MAX_REDIRECTS, maxRedirects); in setMaxRedirects()
[all …]
DAllClientPNames.java31 package org.apache.http.client.params;
34 import org.apache.http.params.CoreConnectionPNames;
35 import org.apache.http.params.CoreProtocolPNames;
36 import org.apache.http.auth.params.AuthPNames;
37 import org.apache.http.cookie.params.CookieSpecPNames;
38 import org.apache.http.conn.params.ConnManagerPNames;
39 import org.apache.http.conn.params.ConnConnectionPNames;
40 import org.apache.http.conn.params.ConnRoutePNames;
/external/apache-http/src/org/apache/http/conn/params/
DConnManagerParams.java31 package org.apache.http.conn.params;
34 import org.apache.http.params.HttpParams;
62 public static long getTimeout(final HttpParams params) { in getTimeout() argument
63 if (params == null) { in getTimeout()
66 return params.getLongParameter(TIMEOUT, 0); in getTimeout()
76 public static void setTimeout(final HttpParams params, long timeout) { in setTimeout() argument
77 if (params == null) { in setTimeout()
80 params.setLongParameter(TIMEOUT, timeout); in setTimeout()
101 public static void setMaxConnectionsPerRoute(final HttpParams params, in setMaxConnectionsPerRoute() argument
103 if (params == null) { in setMaxConnectionsPerRoute()
[all …]
DConnRouteParams.java31 package org.apache.http.conn.params;
37 import org.apache.http.params.HttpParams;
87 public static HttpHost getDefaultProxy(HttpParams params) { in getDefaultProxy() argument
88 if (params == null) { in getDefaultProxy()
92 params.getParameter(DEFAULT_PROXY); in getDefaultProxy()
111 public static void setDefaultProxy(HttpParams params, in setDefaultProxy() argument
113 if (params == null) { in setDefaultProxy()
116 params.setParameter(DEFAULT_PROXY, proxy); in setDefaultProxy()
131 public static HttpRoute getForcedRoute(HttpParams params) { in getForcedRoute() argument
132 if (params == null) { in getForcedRoute()
[all …]
DConnManagerParamBean.java32 package org.apache.http.conn.params;
34 import org.apache.http.params.HttpAbstractParamBean;
35 import org.apache.http.params.HttpParams;
44 public ConnManagerParamBean (final HttpParams params) { in ConnManagerParamBean() argument
45 super(params); in ConnManagerParamBean()
49 params.setLongParameter(ConnManagerPNames.TIMEOUT, timeout); in setTimeout()
54 params.setIntParameter(ConnManagerPNames.MAX_TOTAL_CONNECTIONS, maxConnections); in setMaxTotalConnections()
59 params.setParameter(ConnManagerPNames.MAX_CONNECTIONS_PER_ROUTE, connPerRoute); in setConnectionsPerRoute()
DConnRouteParamBean.java32 package org.apache.http.conn.params;
38 import org.apache.http.params.HttpAbstractParamBean;
39 import org.apache.http.params.HttpParams;
48 public ConnRouteParamBean (final HttpParams params) { in ConnRouteParamBean() argument
49 super(params); in ConnRouteParamBean()
54 params.setParameter(ConnRoutePNames.DEFAULT_PROXY, defaultProxy); in setDefaultProxy()
59 params.setParameter(ConnRoutePNames.LOCAL_ADDRESS, address); in setLocalAddress()
64 params.setParameter(ConnRoutePNames.FORCED_ROUTE, route); in setForcedRoute()
/external/wpa_supplicant/
Dmain.c133 struct wpa_params params; in main() local
139 os_memset(&params, 0, sizeof(params)); in main()
140 params.wpa_debug_level = MSG_INFO; in main()
158 params.daemonize++; in main()
176 params.wpa_debug_level--; in main()
181 params.wpa_debug_file_path = optarg; in main()
185 params.ctrl_interface = optarg; in main()
195 params.wpa_debug_show_keys++; in main()
205 os_free(params.pid_file); in main()
206 params.pid_file = os_rel2abs_path(optarg); in main()
[all …]
Deap_tls_common.c199 static void eap_tls_params_from_conf1(struct tls_connection_params *params, in eap_tls_params_from_conf1() argument
202 params->ca_cert = (char *) config->ca_cert; in eap_tls_params_from_conf1()
203 params->ca_path = (char *) config->ca_path; in eap_tls_params_from_conf1()
204 params->client_cert = (char *) config->client_cert; in eap_tls_params_from_conf1()
205 params->private_key = (char *) config->private_key; in eap_tls_params_from_conf1()
206 params->private_key_passwd = (char *) config->private_key_passwd; in eap_tls_params_from_conf1()
207 params->dh_file = (char *) config->dh_file; in eap_tls_params_from_conf1()
208 params->subject_match = (char *) config->subject_match; in eap_tls_params_from_conf1()
209 params->altsubject_match = (char *) config->altsubject_match; in eap_tls_params_from_conf1()
210 params->engine_id = config->engine_id; in eap_tls_params_from_conf1()
[all …]
Dmain_winmain.c33 struct wpa_params params; in WinMain() local
39 os_memset(&params, 0, sizeof(params)); in WinMain()
40 params.wpa_debug_level = MSG_MSGDUMP; in WinMain()
41 params.wpa_debug_file_path = "\\Temp\\wpa_supplicant-log.txt"; in WinMain()
42 params.wpa_debug_show_keys = 1; in WinMain()
54 global = wpa_supplicant_init(&params); in WinMain()
64 if (iface_count == 1 && (params.ctrl_interface || in WinMain()
65 params.dbus_ctrl_interface)) in WinMain()
/external/opencore/oscl/oscl/osclmemory/src/
Doscl_mem.h193 #define OSCL_ALLOC_NEW(T_allocator, T, params) new(T_allocator.allocate(1)) T params argument
195 #define OSCL_ALLOC_NEW(T_allocator, T, params) new(T_allocator.allocate_fl(1,__FILE__,__LINE__)) T argument
197 #define OSCL_ALLOC_NEW(T_allocator, T, params) new(T_allocator.allocate(1)) T params argument
222 …RAP_ALLOC_NEW(T_ptr,T_allocator,T,params) _OSCL_TRAP_NEW(T_allocator.allocate(1),T_allocator.deall… argument
224 …NEW(T_ptr,T_allocator,T,params) _OSCL_TRAP_NEW(T_allocator.allocate_fl(1,__FILE__,__LINE__),T_allo… argument
226 …RAP_ALLOC_NEW(T_ptr,T_allocator,T,params) _OSCL_TRAP_NEW(T_allocator.allocate(1),T_allocator.deall… argument
524 #define OSCL_NEW( T, params) new T params argument
526 #define OSCL_NEW( T, params) new T params argument
528 #define OSCL_NEW( T, params) new(__FILE__,__LINE__) T params argument
530 #define OSCL_NEW( T, params) new T params argument
[all …]
/external/qemu/android/config/
Dcheck-alsa.c26 DYN_FUNCTION(int,snd_pcm_hw_params_current,(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)) \
27 …_pcm_sw_params_set_start_threshold,(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t…
28 DYN_FUNCTION(int,snd_pcm_sw_params,(snd_pcm_t *pcm, snd_pcm_sw_params_t *params)) \
29 DYN_FUNCTION(int,snd_pcm_sw_params_current,(snd_pcm_t *pcm, snd_pcm_sw_params_t *params)) \
31 DYN_FUNCTION(int,snd_pcm_hw_params_any,(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)) \
32 …DYN_FUNCTION(int,snd_pcm_hw_params_set_access,(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pc…
33 …DYN_FUNCTION(int,snd_pcm_hw_params_set_format,(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pc…
34 …DYN_FUNCTION(int,snd_pcm_hw_params_set_rate_near,(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, uns…
35 …nd_pcm_hw_params_set_channels_near,(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val…
36 …pcm_hw_params_set_buffer_time_near,(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val…
[all …]
/external/srec/srec/AcousticModels/src/
DAcousticModelsImpl.c139 ESR_ReturnCode SR_AcousticModels_LoadLegacyPatternParameters(CA_PatInputParams* params) in SR_AcousticModels_LoadLegacyPatternParameters() argument
143 passert(params != NULL); in SR_AcousticModels_LoadLegacyPatternParameters()
144 params->is_loaded = ESR_FALSE; in SR_AcousticModels_LoadLegacyPatternParameters()
145 CHKLOG(rc, ESR_SessionGetInt("CREC.Pattern.dimen", &params->dimen)); in SR_AcousticModels_LoadLegacyPatternParameters()
146 CHKLOG(rc, ESR_SessionGetInt("CREC.Pattern.whole_dimen", &params->whole_dimen)); in SR_AcousticModels_LoadLegacyPatternParameters()
147 CHKLOG(rc, ESR_SessionGetInt("CREC.Pattern.start", &params->feat_start)); in SR_AcousticModels_LoadLegacyPatternParameters()
148 CHKLOG(rc, ESR_SessionGetFloat("CREC.Pattern.mix_score_scale", &params->mix_score_scale)); in SR_AcousticModels_LoadLegacyPatternParameters()
149 CHKLOG(rc, ESR_SessionGetFloat("CREC.Pattern.imelda_scale", &params->imelda_scale)); in SR_AcousticModels_LoadLegacyPatternParameters()
150 CHKLOG(rc, ESR_SessionGetFloat("CREC.Pattern.uni_score_scale", &params->uni_score_scale)); in SR_AcousticModels_LoadLegacyPatternParameters()
151 CHKLOG(rc, ESR_SessionGetFloat("CREC.Pattern.uni_score_offset", &params->uni_score_offset)); in SR_AcousticModels_LoadLegacyPatternParameters()
[all …]
/external/apache-http/src/org/apache/http/message/
DAbstractHttpMessage.java39 import org.apache.http.params.HttpParams;
40 import org.apache.http.params.BasicHttpParams;
55 protected HttpParams params; field in AbstractHttpMessage
57 protected AbstractHttpMessage(final HttpParams params) { in AbstractHttpMessage() argument
60 this.params = params; in AbstractHttpMessage()
153 if (this.params == null) { in getParams()
154 this.params = new BasicHttpParams(); in getParams()
156 return this.params; in getParams()
160 public void setParams(final HttpParams params) { in setParams() argument
161 if (params == null) { in setParams()
[all …]
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java40 import org.apache.http.params.HttpParams;
41 import org.apache.http.params.HttpConnectionParams;
100 HttpParams params) in openConnection() argument
113 if (params == null) { in openConnection()
131 local, 0, params); in openConnection()
135 prepareSocket(sock, context, params); in openConnection()
136 conn.openCompleted(sf.isSecure(sock), params); in openConnection() local
144 HttpParams params) in updateSecureConnection() argument
157 if (params == null) { in updateSecureConnection()
181 prepareSocket(sock, context, params); in updateSecureConnection()
[all …]
DAbstractPoolEntry.java37 import org.apache.http.params.HttpParams;
137 HttpContext context, HttpParams params) in open() argument
145 if (params == null) { in open()
168 context, params); in open()
198 public void tunnelTarget(boolean secure, HttpParams params) in tunnelTarget() argument
201 if (params == null) { in tunnelTarget()
218 secure, params); in tunnelTarget()
239 public void tunnelProxy(HttpHost next, boolean secure, HttpParams params) in tunnelProxy() argument
246 if (params == null) { in tunnelProxy()
258 this.connection.update(null, next, secure, params); in tunnelProxy()
[all …]
DDefaultClientConnection.java46 import org.apache.http.params.HttpParams;
122 public void openCompleted(boolean secure, HttpParams params) throws IOException { in openCompleted() argument
124 if (params == null) { in openCompleted()
129 bind(this.socket, params); in openCompleted()
169 final HttpParams params) throws IOException { in createSessionInputBuffer() argument
173 params); in createSessionInputBuffer()
185 final HttpParams params) throws IOException { in createSessionOutputBuffer() argument
189 params); in createSessionOutputBuffer()
201 final HttpParams params) { in createResponseParser() argument
204 (buffer, null, responseFactory, params); in createResponseParser()
[all …]
/external/apache-http/src/org/apache/http/impl/
DSocketHttpServerConnection.java44 import org.apache.http.params.HttpConnectionParams;
45 import org.apache.http.params.HttpParams;
82 final HttpParams params) throws IOException { in createHttpDataReceiver() argument
83 return new SocketInputBuffer(socket, buffersize, params); in createHttpDataReceiver()
89 final HttpParams params) throws IOException { in createHttpDataTransmitter() argument
90 return new SocketOutputBuffer(socket, buffersize, params); in createHttpDataTransmitter()
93 protected void bind(final Socket socket, final HttpParams params) throws IOException { in bind() argument
97 if (params == null) { in bind()
102 int buffersize = HttpConnectionParams.getSocketBufferSize(params); in bind()
105 createHttpDataReceiver(socket, buffersize, params), in bind()
[all …]
DSocketHttpClientConnection.java44 import org.apache.http.params.HttpConnectionParams;
45 import org.apache.http.params.HttpParams;
82 final HttpParams params) throws IOException { in createSessionInputBuffer() argument
83 return new SocketInputBuffer(socket, buffersize, params); in createSessionInputBuffer()
89 final HttpParams params) throws IOException { in createSessionOutputBuffer() argument
90 return new SocketOutputBuffer(socket, buffersize, params); in createSessionOutputBuffer()
95 final HttpParams params) throws IOException { in bind() argument
99 if (params == null) { in bind()
104 int buffersize = HttpConnectionParams.getSocketBufferSize(params); in bind()
107 createSessionInputBuffer(socket, buffersize, params), in bind()
[all …]
/external/apache-http/src/org/apache/http/auth/params/
DAuthParams.java32 package org.apache.http.auth.params;
34 import org.apache.http.params.HttpParams;
66 public static String getCredentialCharset(final HttpParams params) { in getCredentialCharset() argument
67 if (params == null) { in getCredentialCharset()
70 String charset = (String) params.getParameter in getCredentialCharset()
87 public static void setCredentialCharset(final HttpParams params, final String charset) { in setCredentialCharset() argument
88 if (params == null) { in setCredentialCharset()
91 params.setParameter(AuthPNames.CREDENTIAL_CHARSET, charset); in setCredentialCharset()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultHttpClient.java43 import org.apache.http.client.params.AuthPolicy;
44 import org.apache.http.client.params.ClientPNames;
45 import org.apache.http.client.params.CookiePolicy;
71 import org.apache.http.params.BasicHttpParams;
72 import org.apache.http.params.HttpParams;
73 import org.apache.http.params.HttpProtocolParams;
112 final HttpParams params) { in DefaultHttpClient() argument
113 super(conman, params); in DefaultHttpClient()
117 public DefaultHttpClient(final HttpParams params) { in DefaultHttpClient() argument
118 super(null, params); in DefaultHttpClient()
[all …]

12345678910>>...12