/libcore/luni/src/main/java/libcore/net/http/ |
D | ResponseHeaders.java | 136 String fieldName = headers.getFieldName(i); in ResponseHeaders() local 138 if ("Cache-Control".equalsIgnoreCase(fieldName)) { in ResponseHeaders() 140 } else if ("Date".equalsIgnoreCase(fieldName)) { in ResponseHeaders() 142 } else if ("Expires".equalsIgnoreCase(fieldName)) { in ResponseHeaders() 144 } else if ("Last-Modified".equalsIgnoreCase(fieldName)) { in ResponseHeaders() 146 } else if ("ETag".equalsIgnoreCase(fieldName)) { in ResponseHeaders() 148 } else if ("Pragma".equalsIgnoreCase(fieldName)) { in ResponseHeaders() 152 } else if ("Age".equalsIgnoreCase(fieldName)) { in ResponseHeaders() 154 } else if ("Vary".equalsIgnoreCase(fieldName)) { in ResponseHeaders() 162 } else if ("Content-Encoding".equalsIgnoreCase(fieldName)) { in ResponseHeaders() [all …]
|
D | RawHeaders.java | 148 public void add(String fieldName, String value) { in add() argument 149 if (fieldName == null) { in add() 158 System.logW("Ignoring HTTP header field '" + fieldName + "' because its value is null"); in add() 161 namesAndValues.add(fieldName); in add() 165 public void removeAll(String fieldName) { in removeAll() argument 167 if (fieldName.equalsIgnoreCase(namesAndValues.get(i))) { in removeAll() 174 public void addAll(String fieldName, List<String> headerFields) { in addAll() argument 176 add(fieldName, value); in addAll() 184 public void set(String fieldName, String value) { in set() argument 185 removeAll(fieldName); in set() [all …]
|
D | RequestHeaders.java | 85 String fieldName = headers.getFieldName(i); in RequestHeaders() local 87 if ("Cache-Control".equalsIgnoreCase(fieldName)) { in RequestHeaders() 89 } else if ("Pragma".equalsIgnoreCase(fieldName)) { in RequestHeaders() 93 } else if ("If-None-Match".equalsIgnoreCase(fieldName)) { in RequestHeaders() 95 } else if ("If-Modified-Since".equalsIgnoreCase(fieldName)) { in RequestHeaders() 97 } else if ("Authorization".equalsIgnoreCase(fieldName)) { in RequestHeaders() 99 } else if ("Content-Length".equalsIgnoreCase(fieldName)) { in RequestHeaders() 104 } else if ("Transfer-Encoding".equalsIgnoreCase(fieldName)) { in RequestHeaders() 106 } else if ("User-Agent".equalsIgnoreCase(fieldName)) { in RequestHeaders() 108 } else if ("Host".equalsIgnoreCase(fieldName)) { in RequestHeaders() [all …]
|
D | HttpURLConnectionImpl.java | 137 @Override public final String getHeaderField(String fieldName) { in getHeaderField() argument 140 return fieldName == null in getHeaderField() 142 : rawHeaders.get(fieldName); in getHeaderField() 424 String fieldName = responseCode == HTTP_PROXY_AUTH in processAuthHeader() local 427 successorRequestHeaders.set(fieldName, credentials); in processAuthHeader()
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicLongFieldUpdater.java | 45 public static <U> AtomicLongFieldUpdater<U> newUpdater(Class<U> tclass, String fieldName) { in newUpdater() argument 47 return new CASUpdater<U>(tclass, fieldName); in newUpdater() 49 return new LockedUpdater<U>(tclass, fieldName); in newUpdater() 243 CASUpdater(Class<T> tclass, String fieldName) { in CASUpdater() argument 248 field = tclass.getDeclaredField(fieldName); in CASUpdater() 328 LockedUpdater(Class<T> tclass, String fieldName) { in LockedUpdater() argument 333 field = tclass.getDeclaredField(fieldName); in LockedUpdater()
|
D | AtomicIntegerFieldUpdater.java | 45 public static <U> AtomicIntegerFieldUpdater<U> newUpdater(Class<U> tclass, String fieldName) { in newUpdater() argument 46 return new AtomicIntegerFieldUpdaterImpl<U>(tclass, fieldName); in newUpdater() 244 AtomicIntegerFieldUpdaterImpl(Class<T> tclass, String fieldName) { in AtomicIntegerFieldUpdaterImpl() argument 249 field = tclass.getDeclaredField(fieldName); in AtomicIntegerFieldUpdaterImpl()
|
D | AtomicReferenceFieldUpdater.java | 63 …> AtomicReferenceFieldUpdater<U,W> newUpdater(Class<U> tclass, Class<W> vclass, String fieldName) { in newUpdater() argument 66 fieldName); in newUpdater() 174 String fieldName) { in AtomicReferenceFieldUpdaterImpl() argument 180 field = tclass.getDeclaredField(fieldName); in AtomicReferenceFieldUpdaterImpl()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 278 static void setIntegerField(JNIEnv* env, jobject obj, const char* fieldName, int value) { in setIntegerField() argument 280 jfieldID fid = env->GetFieldID(JniConstants::localeDataClass, fieldName, "Ljava/lang/Integer;"); in setIntegerField() 284 static void setStringField(JNIEnv* env, jobject obj, const char* fieldName, jstring value) { in setStringField() argument 285 jfieldID fid = env->GetFieldID(JniConstants::localeDataClass, fieldName, "Ljava/lang/String;"); in setStringField() 290 static void setStringArrayField(JNIEnv* env, jobject obj, const char* fieldName, jobjectArray value… in setStringArrayField() argument 291 jfieldID fid = env->GetFieldID(JniConstants::localeDataClass, fieldName, "[Ljava/lang/String;"); in setStringArrayField() 295 static void setStringArrayField(JNIEnv* env, jobject obj, const char* fieldName, const UnicodeStrin… in setStringArrayField() argument 307 setStringArrayField(env, obj, fieldName, result.get()); in setStringArrayField() 310 static void setStringField(JNIEnv* env, jobject obj, const char* fieldName, UResourceBundle* bundle… in setStringField() argument 315 setStringField(env, obj, fieldName, env->NewString(chars, charCount)); in setStringField() [all …]
|
D | libcore_io_OsConstants.cpp | 39 static void initConstant(JNIEnv* env, jclass c, const char* fieldName, int value) { in initConstant() argument 40 jfieldID field = env->GetStaticFieldID(c, fieldName, "I"); in initConstant()
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
D | FieldTest.java | 374 String fieldName = null; in testProtectedFieldAccess() local 385 fieldName = "objectField"; in testProtectedFieldAccess() 386 objectField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess() 388 fieldName = "booleanField"; in testProtectedFieldAccess() 389 booleanField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess() 391 fieldName = "byteField"; in testProtectedFieldAccess() 392 byteField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess() 394 fieldName = "charField"; in testProtectedFieldAccess() 395 charField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess() 397 fieldName = "shortField"; in testProtectedFieldAccess() [all …]
|
/libcore/luni/src/main/java/java/text/ |
D | Format.java | 243 protected Field(String fieldName) { in Field() argument 244 super(fieldName); in Field()
|
D | DateFormat.java | 779 protected Field(String fieldName, int calendarField) { in Field() argument 780 super(fieldName); in Field()
|
D | NumberFormat.java | 816 protected Field(String fieldName) { 817 super(fieldName);
|
D | MessageFormat.java | 1294 protected Field(String fieldName) { in Field() argument 1295 super(fieldName); in Field()
|
/libcore/luni/src/main/java/java/io/ |
D | EmulatedFields.java | 144 private ObjectSlot findSlot(String fieldName, Class<?> fieldType) { in findSlot() argument 148 if (slot.field.getName().equals(fieldName)) { in findSlot() 171 if (field.getName().equals(fieldName)) { in findSlot()
|
D | ObjectInputStream.java | 920 String fieldName = input.readUTF(); in readFieldDescriptors() local 942 ObjectStreamField f = new ObjectStreamField(classSig, fieldName); in readFieldDescriptors() 1146 String fieldName = fieldDesc.getName(); in readFieldValues() local 1147 ObjectStreamField localFieldDesc = classDesc.getField(fieldName); in readFieldValues() 1151 …throw new ClassCastException(classDesc.getName() + "." + fieldName + " - " + fieldType + " not com… in readFieldValues()
|
D | ObjectOutputStream.java | 477 …ative Object getFieldL(Object instance, Class<?> declaringClass, String fieldName, String fieldTyp… in getFieldL() argument
|
/libcore/luni/src/main/java/java/lang/ |
D | System.java | 640 private static native void setFieldImpl(String fieldName, String signature, Object stream); in setFieldImpl() argument
|