Searched defs:types (Results 1 - 25 of 28) sorted by relevance

12

/dalvik/libcore/luni/src/main/java/java/net/
H A DContentHandler.java48 * @param types
49 * list of acceptable content types.
51 * content doesn't match one of the specified content types.
57 public Object getContent(URLConnection uConn, Class[] types) argument
60 for (int i = 0; i < types.length; i++) {
61 if (types[i].isInstance(content)) {
H A DURL.java610 * default one of the following object types will be returned:
626 * argument {@code types} is an array of allowed or expected object types.
631 * @param types
632 * the list of allowed or expected object types.
641 public final Object getContent(Class[] types) throws IOException { argument
642 return openConnection().getContent(types);
H A DURLConnection.java178 * the list {@code types}.
180 * @param types
181 * the list of acceptable content types.
183 * type does not match with one of the specified types.
189 public Object getContent(Class[] types) throws IOException { argument
200 return getContentHandler(contentType).getContent(this, types);
725 // Check binary types
733 // Check text types
/dalvik/libcore/sql/src/main/java/SQLite/
H A DCallback.java53 * @param types string array holding column types
56 public void types(String types[]); argument
H A DTableResult.java54 public String types[]; field in class:TableResult
76 types = null;
94 public void types(String types[]) { argument
95 this.types = types;
H A DShell.java166 public void types(String args[]) { method in class:Shell
620 public void types(String args[]) { method in class:DBDump
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/
H A DTableResultX.java22 this.types = tr.types;
27 if (tr.types != null) {
28 for (int i = 0; i < tr.types.length; i++) {
29 sql_type[i] = JDBCDatabaseMetaData.mapSqlType(tr.types[i]);
34 void sql_types(int types[]) { argument
35 sql_type = types;
/dalvik/libcore/sql/src/test/java/tests/support/
H A DMockCallback.java41 public void types(String[] types) { argument
/dalvik/libdex/
H A DDexDataMap.h30 u2* types; /* corresponding array of item types */ member in struct:DexDataMap
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/
H A DMimeTable.java30 * Instances of this class map file extensions to MIME content types based on a
34 * "content-types.properties".
41 * A hash table containing the mapping between extensions and mime types.
43 public static final Properties types = new Properties(); field in class:MimeTable
47 types.setProperty("text", "text/plain"); //$NON-NLS-1$ //$NON-NLS-2$
48 types.setProperty("txt", "text/plain"); //$NON-NLS-1$ //$NON-NLS-2$
49 types.setProperty("htm", "text/html"); //$NON-NLS-1$ //$NON-NLS-2$
50 types.setProperty("html", "text/html"); //$NON-NLS-1$ //$NON-NLS-2$
57 * corresponding content types from the file "content-types
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/
H A DTypes.java23 public static Type[] getClonedTypeArray(ListOfTypes types) { argument
24 return types.getResolvedTypes().clone();
H A DListOfTypes.java39 ListOfTypes(Type[] types) { argument
41 for(Type t : types) {
/dalvik/tests/031-class-attributes/src/
H A DClassAttrs.java183 private static String stringifyTypeArray(Type[] types) { argument
187 stb.append("[" + types.length + "]");
189 for (Type t: types) {
/dalvik/vm/arch/generic/
H A DCall.c65 ffi_type* types[kMaxArgs]; local
72 types[0] = &ffi_type_pointer;
75 types[1] = &ffi_type_pointer;
86 * Scan the types out of the short signature. Use them to fill out the
87 * "types" array. Store the start address of the argument in "values".
91 types[dstArg] = getFfiType(sigByte);
100 if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, dstArg, retType, types) != FFI_OK) {
/dalvik/hit/src/com/android/hit/
H A DClassInstance.java47 private void resolve(State state, ClassObj isa, int[] types, argument
51 final int N = types.length;
59 int type = types[i];
108 int[] types = isa.mFieldTypes;
111 final int N = types.length;
119 int type = types[i];
159 int[] types = isa.mFieldTypes;
163 final int N = types.length;
173 int type = types[i];
H A DClassObj.java52 int[] types = mStaticFieldTypes;
53 final int N = types.length;
62 int type = types[i];
139 public final void setFieldTypes(int[] types) { argument
140 mFieldTypes = types;
147 public final void setStaticFieldTypes(int[] types) { argument
148 mStaticFieldTypes = types;
194 int[] types = mStaticFieldTypes;
195 final int N = types.length;
204 int type = types[
[all...]
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DCertificateRequest.java40 * Client certificate types as defined in
49 * Requested certificate types
58 //Requested certificate types as Strings
60 private String[] types; field in class:CertificateRequest
161 * Returns requested certificate types as array of strings
164 if (types == null) {
165 types = new String[certificate_types.length];
166 for (int i = 0; i < types.length; i++) {
169 types[i] = "RSA";
172 types[
[all...]
/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/
H A DAttributeListImpl.java143 types.addElement(type);
168 types.removeElementAt(i);
187 types.removeAllElements();
248 return (String)types.elementAt(i);
312 Vector types = new Vector();
309 Vector types = new Vector(); field in class:AttributeListImpl
/dalvik/dx/src/com/android/dx/dex/file/
H A DAnnotationUtils.java150 * @param types {@code non-null;} the list of (the types of) the member classes
153 public static Annotation makeMemberClasses(TypeList types) { argument
154 CstArray array = makeCstArray(types);
226 * @param types {@code non-null;} the list of thrown types
229 public static Annotation makeThrows(TypeList types) { argument
230 CstArray array = makeCstArray(types);
240 * @param types {@code non-null;} the type list
243 private static CstArray makeCstArray(TypeList types) { argument
[all...]
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
H A DAccessibleObject.java219 * types. It is not suitable for printing.
248 * @param types
253 String toString(Class<?>[] types) { argument
256 if (types.length != 0) {
257 result.append(types[0].getCanonicalName());
258 for (int i = 1; i < types.length; i++) {
260 result.append(types[i].getCanonicalName());
/dalvik/libcore/xml/src/main/java/org/kxml2/kdom/
H A DNode.java42 protected StringBuffer types; field in class:Node
54 types = new StringBuffer();
67 types.insert(index, (char) type);
94 types, a String is returned. */
179 types are ELEMENT, TEXT, COMMENT, and PROCESSING_INSTRUCTION */
182 return types.charAt(index);
278 // types.deleteCharAt (index);
280 int n = types.length() - 1;
283 types.setCharAt(i, types
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/https/
H A DHttpsURLConnectionImpl.java162 public Object getContent(Class[] types) throws IOException { argument
163 return httpsEngine.getContent(types);
/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DDexData.java200 protoId.types = new int[0];
205 protoId.types = new int[size];
208 protoId.types[j] = readShort() & 0xffff;
325 String[] result = new String[protoId.types.length];
327 for (int i = 0; i < protoId.types.length; i++) {
328 result[i] = mStrings[mTypeIds[protoId.types[i]].descriptorIdx];
563 public int types[]; // contents of type list field in class:DexData.ProtoIdItem
/dalvik/libcore/sql/src/test/java/tests/SQLite/
H A DDatabaseTest.java855 method = "types",
907 String[] types = res.types;
909 .println("DatabaseTest.testGet_tableStringStringArrayTableResult() "+types.toString());
1134 assertTrue("double".equalsIgnoreCase(res.types[0]));
1145 assertTrue("double".equalsIgnoreCase(res.types[0]));
1776 public void types(String[] types) { argument
1811 public void types(String[] types) { argument
1835 types(String[] types) argument
1872 types(String[] types) argument
[all...]
/dalvik/vm/interp/
H A DStack.c701 * Copy the args onto the stack. Primitive types are converted when
702 * necessary, and object types are verified.
705 ClassObject** types; local
709 types = (ClassObject**) params->contents;
713 width = dvmConvertArgument(*args++, *types++, ins);
718 (*(types-1))->descriptor);

Completed in 601 milliseconds

12