Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 430) sorted by relevance

12345678910>>...18

/external/apache-http/src/org/apache/http/impl/
DDefaultHttpRequestFactory.java73 private static boolean isOneOf(final String[] methods, final String method) { in isOneOf() argument
75 if (methods[i].equalsIgnoreCase(method)) { in isOneOf()
87 String method = requestline.getMethod(); in newHttpRequest() local
88 if (isOneOf(RFC2616_COMMON_METHODS, method)) { in newHttpRequest()
90 } else if (isOneOf(RFC2616_ENTITY_ENC_METHODS, method)) { in newHttpRequest()
92 } else if (isOneOf(RFC2616_SPECIAL_METHODS, method)) { in newHttpRequest()
95 throw new MethodNotSupportedException(method + " method not supported"); in newHttpRequest()
99 public HttpRequest newHttpRequest(final String method, final String uri) in newHttpRequest() argument
101 if (isOneOf(RFC2616_COMMON_METHODS, method)) { in newHttpRequest()
102 return new BasicHttpRequest(method, uri); in newHttpRequest()
[all …]
/external/wpa_supplicant/
Deap_methods.c34 const struct eap_method * eap_sm_get_eap_methods(int vendor, EapType method) in eap_sm_get_eap_methods() argument
38 if (m->vendor == vendor && m->method == method) in eap_sm_get_eap_methods()
60 return m->method; in eap_get_type()
81 if (m->vendor == vendor && m->method == type) in eap_get_name()
235 int eap_peer_method_unload(struct eap_method *method) in eap_peer_method_unload() argument
243 if (m == method) in eap_peer_method_unload()
284 EapType method, const char *name) in eap_peer_method_alloc() argument
292 eap->method = method; in eap_peer_method_alloc()
302 void eap_peer_method_free(struct eap_method *method) in eap_peer_method_free() argument
304 os_free(method); in eap_peer_method_free()
[all …]
/external/dbus/test/name-test/
Dtest-pending-call-dispatch.c20 DBusMessage *method; in _run_iteration() local
25 method = dbus_message_new_method_call ("org.freedesktop.DBus.TestSuiteEchoService", in _run_iteration()
30 dbus_message_append_args (method, DBUS_TYPE_STRING, &echo, NULL); in _run_iteration()
31 dbus_connection_send_with_reply (conn, method, &echo_pending, -1); in _run_iteration()
32 dbus_message_unref (method); in _run_iteration()
35 method = dbus_message_new_method_call (DBUS_SERVICE_DBUS, in _run_iteration()
40 dbus_connection_send_with_reply (conn, method, &dbus_pending, -1); in _run_iteration()
41 dbus_message_unref (method); in _run_iteration()
80 DBusMessage *method; in main() local
114 method = dbus_message_new_method_call ("org.freedesktop.TestSuiteEchoService", in main()
[all …]
Dtest-threads-init.c18 DBusMessage *method; in _run_iteration() local
23 method = dbus_message_new_method_call ("org.freedesktop.DBus.TestSuiteEchoService", in _run_iteration()
28 dbus_message_append_args (method, DBUS_TYPE_STRING, &echo, NULL); in _run_iteration()
29 dbus_connection_send_with_reply (conn, method, &echo_pending, -1); in _run_iteration()
30 dbus_message_unref (method); in _run_iteration()
33 method = dbus_message_new_method_call (DBUS_SERVICE_DBUS, in _run_iteration()
38 dbus_connection_send_with_reply (conn, method, &dbus_pending, -1); in _run_iteration()
39 dbus_message_unref (method); in _run_iteration()
111 DBusMessage *method; in main() local
170 method = dbus_message_new_method_call ("org.freedesktop.TestSuiteEchoService", in main()
[all …]
/external/openssl/crypto/x509v3/
Dv3_prn.c113 X509V3_EXT_METHOD *method; in X509V3_EXT_print() local
117 if(!(method = X509V3_EXT_get(ext))) in X509V3_EXT_print()
120 if(method->it) ext_str = ASN1_item_d2i(NULL, &p, ext->value->length, ASN1_ITEM_ptr(method->it)); in X509V3_EXT_print()
121 else ext_str = method->d2i(NULL, &p, ext->value->length); in X509V3_EXT_print()
125 if(method->i2s) { in X509V3_EXT_print()
126 if(!(value = method->i2s(method, ext_str))) { in X509V3_EXT_print()
146 } else if(method->i2v) { in X509V3_EXT_print()
147 if(!(nval = method->i2v(method, ext_str, NULL))) { in X509V3_EXT_print()
152 method->ext_flags & X509V3_EXT_MULTILINE); in X509V3_EXT_print()
153 } else if(method->i2r) { in X509V3_EXT_print()
[all …]
Dv3_ocsp.c71 static int i2r_ocsp_crlid(X509V3_EXT_METHOD *method, void *nonce, BIO *out, int indent);
72 static int i2r_ocsp_acutoff(X509V3_EXT_METHOD *method, void *nonce, BIO *out, int indent);
73 static int i2r_object(X509V3_EXT_METHOD *method, void *obj, BIO *out, int indent);
79 static int i2r_ocsp_nonce(X509V3_EXT_METHOD *method, void *nonce, BIO *out, int indent);
81 static int i2r_ocsp_nocheck(X509V3_EXT_METHOD *method, void *nocheck, BIO *out, int indent);
82 static void *s2i_ocsp_nocheck(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str);
83 static int i2r_ocsp_serviceloc(X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind);
151 static int i2r_ocsp_crlid(X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind) in i2r_ocsp_crlid() argument
177 static int i2r_ocsp_acutoff(X509V3_EXT_METHOD *method, void *cutoff, BIO *bp, int ind) in i2r_ocsp_acutoff() argument
185 static int i2r_object(X509V3_EXT_METHOD *method, void *oid, BIO *bp, int ind) in i2r_object() argument
[all …]
Dv3_conf.c75 static X509_EXTENSION *do_ext_i2d(X509V3_EXT_METHOD *method, int ext_nid,
118 X509V3_EXT_METHOD *method; in do_ext_nconf() local
127 if (!(method = X509V3_EXT_get_nid(ext_nid))) in do_ext_nconf()
133 if (method->v2i) in do_ext_nconf()
143 ext_struc = method->v2i(method, ctx, nval); in do_ext_nconf()
148 else if(method->s2i) in do_ext_nconf()
150 if(!(ext_struc = method->s2i(method, ctx, value))) return NULL; in do_ext_nconf()
152 else if(method->r2i) in do_ext_nconf()
159 if(!(ext_struc = method->r2i(method, ctx, value))) return NULL; in do_ext_nconf()
168 ext = do_ext_i2d(method, ext_nid, crit, ext_struc); in do_ext_nconf()
[all …]
Dv3_info.c66 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method,
69 static AUTHORITY_INFO_ACCESS *v2i_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method,
91 ASN1_SIMPLE(ACCESS_DESCRIPTION, method, ASN1_OBJECT),
103 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method,
113 ret = i2v_GENERAL_NAME(method, desc->location, ret);
116 i2t_ASN1_OBJECT(objtmp, sizeof objtmp, desc->method);
135 static AUTHORITY_INFO_ACCESS *v2i_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method, in v2i_AUTHORITY_INFO_ACCESS() argument
162 if(!v2i_GENERAL_NAME_ex(acc->location, method, ctx, &ctmp, 0)) in v2i_AUTHORITY_INFO_ACCESS()
170 acc->method = OBJ_txt2obj(objtmp, 0); in v2i_AUTHORITY_INFO_ACCESS()
171 if(!acc->method) { in v2i_AUTHORITY_INFO_ACCESS()
[all …]
/external/openssl/crypto/bio/
Dbio_lib.c66 BIO *BIO_new(BIO_METHOD *method) in BIO_new() argument
76 if (!BIO_set(ret,method)) in BIO_new()
84 int BIO_set(BIO *bio, BIO_METHOD *method) in BIO_set() argument
86 bio->method=method; in BIO_set()
101 if (method->create != NULL) in BIO_set()
102 if (!method->create(bio)) in BIO_set()
135 if ((a->method == NULL) || (a->method->destroy == NULL)) return(1); in BIO_free()
136 ret=a->method->destroy(a); in BIO_free()
181 return b->method->name; in BIO_method_name()
186 return b->method->type; in BIO_method_type()
[all …]
Dbio_cb.c84 BIO_snprintf(p,p_maxlen,"Free - %s\n",bio->method->name); in BIO_debug_callback()
87 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback()
89 bio->num,argi,bio->method->name,bio->num); in BIO_debug_callback()
92 bio->num,argi,bio->method->name); in BIO_debug_callback()
95 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback()
97 bio->num,argi,bio->method->name,bio->num); in BIO_debug_callback()
100 bio->num,argi,bio->method->name); in BIO_debug_callback()
103 BIO_snprintf(p,p_maxlen,"puts() - %s\n",bio->method->name); in BIO_debug_callback()
106 BIO_snprintf(p,p_maxlen,"gets(%d) - %s\n",argi,bio->method->name); in BIO_debug_callback()
109 BIO_snprintf(p,p_maxlen,"ctrl(%d) - %s\n",argi,bio->method->name); in BIO_debug_callback()
/external/webkit/WebKit/win/Interfaces/
DIWebUIDelegate.idl159 @method chooseFilename:
160 @abstract Call this method to return a filename from the file open panel.
167 @method cancel
168 @abstract Call this method to indicate that the file open panel was cancelled.
191 @method webView:createWebViewWithRequest:
195 @param sender The WebView sending the delegate method.
203 @method webViewShow:
204 @param sender The WebView sending the delegate method.
214 @method webViewClose:
216 @param sender The WebView sending the delegate method.
[all …]
DIWebDocument.idl51 @method setDataSource:
59 @method dataSourceUpdated:
67 @method setNeedsLayout:
69 This method should simply set a flag and call layout from drawRect if the flag is YES.
76 @method layout
78 setting the frame is a sufficient implementation of this method.
84 @method viewWillMoveToHostWindow:
92 @method viewDidMoveToHostWindow
114 @method searchFor:direction:caseSensitive:wrap:
141 @method supportsTextEncoding
[all …]
DIWebView.idl155 @method canShowMIMEType:
164 @method canShowMIMETypeAsHTML:
173 @method MIMETypesShownAsHTML
181 @method setMIMETypesShownAsHTML:
191 @method URLFromPasteboard:
195 …@discussion This method differs than NSURL's URLFromPasteboard method in that it tries multiple pa…
202 @method URLTitleFromPasteboard:
206 …@discussion This method returns a title that refers a URL on the pasteboard. An example of this is…
213 @method initWithFrame:frameName:groupName:
215 @discussion Initialize a WebView with the supplied parameters. This method will
[all …]
/external/openssl/crypto/x509/
Dx509_lu.c65 X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method) in X509_LOOKUP_new() argument
74 ret->method=method; in X509_LOOKUP_new()
77 if ((method->new_item != NULL) && !method->new_item(ret)) in X509_LOOKUP_new()
88 if ( (ctx->method != NULL) && in X509_LOOKUP_free()
89 (ctx->method->free != NULL)) in X509_LOOKUP_free()
90 ctx->method->free(ctx); in X509_LOOKUP_free()
96 if (ctx->method == NULL) return 0; in X509_LOOKUP_init()
97 if (ctx->method->init != NULL) in X509_LOOKUP_init()
98 return ctx->method->init(ctx); in X509_LOOKUP_init()
105 if (ctx->method == NULL) return 0; in X509_LOOKUP_shutdown()
[all …]
/external/icu4c/test/perf/perldriver/
DPerfFramework.pm272 my $method = '';
281 die "$method was begun but not finished" if ($method);
282 $method = $m;
286 if ($m ne $method) {
287 die "$method end does not match: $_";
291 unshift(@$data, $method); # add method to start
293 $method = '';
301 if ($method) {
313 die "$method was begun but not finished" if ($method);
331 my $method = shift;
[all …]
/external/apache-http/src/org/apache/http/message/
DBasicHttpRequest.java51 private final String method; field in BasicHttpRequest
54 public BasicHttpRequest(final String method, final String uri) { in BasicHttpRequest() argument
56 if (method == null) { in BasicHttpRequest()
62 this.method = method; in BasicHttpRequest()
67 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) { in BasicHttpRequest() argument
68 this(new BasicRequestLine(method, uri, ver)); in BasicHttpRequest()
77 this.method = requestline.getMethod(); in BasicHttpRequest()
94 return new BasicRequestLine(this.method, this.uri, ver); in getRequestLine()
/external/openssl/crypto/ui/
Dui_lib.c76 UI *UI_new_method(const UI_METHOD *method) in UI_new_method() argument
86 if (method == NULL) in UI_new_method()
89 ret->meth=method; in UI_new_method()
640 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui)) in UI_method_set_opener() argument
642 if (method) in UI_method_set_opener()
644 method->ui_open_session = opener; in UI_method_set_opener()
651 int UI_method_set_writer(UI_METHOD *method, int (*writer)(UI *ui, UI_STRING *uis)) in UI_method_set_writer() argument
653 if (method) in UI_method_set_writer()
655 method->ui_write_string = writer; in UI_method_set_writer()
662 int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui)) in UI_method_set_flusher() argument
[all …]
Dui.h84 UI *UI_new_method(const UI_METHOD *method);
308 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui));
309 int UI_method_set_writer(UI_METHOD *method, int (*writer)(UI *ui, UI_STRING *uis));
310 int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui));
311 int UI_method_set_reader(UI_METHOD *method, int (*reader)(UI *ui, UI_STRING *uis));
312 int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui));
313 int (*UI_method_get_opener(UI_METHOD *method))(UI*);
314 int (*UI_method_get_writer(UI_METHOD *method))(UI*,UI_STRING*);
315 int (*UI_method_get_flusher(UI_METHOD *method))(UI*);
316 int (*UI_method_get_reader(UI_METHOD *method))(UI*,UI_STRING*);
[all …]
/external/apache-http/src/org/apache/http/impl/client/
DRequestWrapper.java65 private String method; field in RequestWrapper
79 this.method = ((HttpUriRequest) request).getMethod(); in RequestWrapper()
89 this.method = requestLine.getMethod(); in RequestWrapper()
102 return this.method; in getMethod()
105 public void setMethod(final String method) { in setMethod() argument
106 if (method == null) { in setMethod()
109 this.method = method; in setMethod()
134 String method = getMethod(); in getRequestLine() local
143 return new BasicRequestLine(method, uritext, ver); in getRequestLine()
/external/clearsilver/python/examples/base/
Dsgmllib.py277 method = getattr(self, 'start_' + tag)
280 method = getattr(self, 'do_' + tag)
285 self.handle_starttag(tag, method, attrs)
289 self.handle_starttag(tag, method, attrs)
302 method = getattr(self, 'end_' + tag)
312 method = getattr(self, 'end_' + tag)
314 method = None
315 if method:
316 self.handle_endtag(tag, method)
322 def handle_starttag(self, tag, method, attrs): argument
[all …]
/external/openssl/include/openssl/
Dui.h84 UI *UI_new_method(const UI_METHOD *method);
308 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui));
309 int UI_method_set_writer(UI_METHOD *method, int (*writer)(UI *ui, UI_STRING *uis));
310 int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui));
311 int UI_method_set_reader(UI_METHOD *method, int (*reader)(UI *ui, UI_STRING *uis));
312 int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui));
313 int (*UI_method_get_opener(UI_METHOD *method))(UI*);
314 int (*UI_method_get_writer(UI_METHOD *method))(UI*,UI_STRING*);
315 int (*UI_method_get_flusher(UI_METHOD *method))(UI*);
316 int (*UI_method_get_reader(UI_METHOD *method))(UI*,UI_STRING*);
[all …]
/external/jpeg/
Djddctmgr.c94 int method = 0; in start_pass() local
105 method = JDCT_ISLOW; /* jidctred uses islow-style table */ in start_pass()
109 method = JDCT_ISLOW; /* jidctred uses islow-style table */ in start_pass()
113 method = JDCT_ISLOW; /* jidctred uses islow-style table */ in start_pass()
121 method = JDCT_ISLOW; in start_pass()
127 method = JDCT_IFAST; in start_pass()
133 method = JDCT_FLOAT; in start_pass()
153 if (! compptr->component_needed || idct->cur_method[ci] == method) in start_pass()
158 idct->cur_method[ci] = method; in start_pass()
159 switch (method) { in start_pass()
/external/emma/core/java12/com/vladium/logging/
DLogger.java216 public final void trace1 (final String method, final String msg) in trace1() argument
218 _log (TRACE1, method, msg, true); in trace1()
227 public final void trace2 (final String method, final String msg) in trace2() argument
229 _log (TRACE2, method, msg, true); in trace2()
238 public final void trace3 (final String method, final String msg) in trace3() argument
240 _log (TRACE3, method, msg, true); in trace3()
263 …public final void log (final int level, final String method, final String msg, final boolean logCa… in log() argument
265 _log (level, method, msg, logCaller); in log()
292 …public final void log (final int level, final String method, final String msg, final Throwable thr… in log() argument
294 _log (level, method, msg, throwable); in log()
[all …]
/external/gdata/src/com/google/wireless/gdata/calendar/data/
DReminder.java36 private byte method = METHOD_DEFAULT; field in Reminder
49 return method; in getMethod()
56 public void setMethod(byte method) { in setMethod() argument
57 this.method = method; in setMethod()
83 sb.append("REMINDER METHOD: " + method); in toString()
/external/bluez/utils/gdbus/
Dobject.c116 GDBusMethodTable *method; in generate_interface_xml() local
119 for (method = iface->methods; method && method->name; method++) { in generate_interface_xml()
120 if (!strlen(method->signature) && !strlen(method->reply)) in generate_interface_xml()
122 method->name); in generate_interface_xml()
125 method->name); in generate_interface_xml()
126 print_arguments(gstr, method->signature, "in"); in generate_interface_xml()
127 print_arguments(gstr, method->reply, "out"); in generate_interface_xml()
240 GDBusMethodTable *method; in generic_message() local
254 for (method = iface->methods; method && in generic_message()
255 method->name && method->function; method++) { in generic_message()
[all …]

12345678910>>...18