Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/security/x509/
DNetscapeCertTypeExtension.java138 private boolean isSet(int position) { in isSet() method in NetscapeCertTypeExtension
225 return Boolean.valueOf(isSet(getPosition(name))); in get()
244 if (isSet(0)) { in toString()
247 if (isSet(1)) { in toString()
250 if (isSet(2)) { in toString()
253 if (isSet(3)) { in toString()
256 if (isSet(5)) { in toString()
259 if (isSet(6)) { in toString()
262 if (isSet(7)) { in toString()
314 if (isSet(getPosition(SSL_CLIENT)) || in getKeyUsageMappedBits()
[all …]
DKeyUsageExtension.java85 private boolean isSet(int position) { in isSet() method in KeyUsageExtension
223 return Boolean.valueOf(isSet(0)); in get()
225 return Boolean.valueOf(isSet(1)); in get()
227 return Boolean.valueOf(isSet(2)); in get()
229 return Boolean.valueOf(isSet(3)); in get()
231 return Boolean.valueOf(isSet(4)); in get()
233 return Boolean.valueOf(isSet(5)); in get()
235 return Boolean.valueOf(isSet(6)); in get()
237 return Boolean.valueOf(isSet(7)); in get()
239 return Boolean.valueOf(isSet(8)); in get()
[all …]
DReasonFlags.java101 private boolean isSet(int position) { in isSet() method in ReasonFlags
189 return Boolean.valueOf(isSet(name2Index(name))); in get()
205 if (isSet(0)) { in toString()
208 if (isSet(1)) { in toString()
211 if (isSet(2)) { in toString()
214 if (isSet(3)) { in toString()
217 if (isSet(4)) { in toString()
220 if (isSet(5)) { in toString()
223 if (isSet(6)) { in toString()
226 if (isSet(7)) { in toString()
[all …]
/libcore/ojluni/src/main/java/java/text/
DCalendarBuilder.java88 boolean isSet(int index) { in isSet() method in CalendarBuilder
105 boolean weekDate = isSet(WEEK_YEAR) in establish()
109 if (!isSet(YEAR)) { in establish()
128 int weekOfYear = isSet(WEEK_OF_YEAR) ? field[MAX_FIELD + WEEK_OF_YEAR] : 1; in establish()
129 int dayOfWeek = isSet(DAY_OF_WEEK) ? in establish()
152 if (isSet(i)) { in toString()
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java158 boolean yearSet = isSet(DatatypeConstants.YEARS); in getXMLSchemaType()
159 boolean monthSet = isSet(DatatypeConstants.MONTHS); in getXMLSchemaType()
160 boolean daySet = isSet(DatatypeConstants.DAYS); in getXMLSchemaType()
161 boolean hourSet = isSet(DatatypeConstants.HOURS); in getXMLSchemaType()
162 boolean minuteSet = isSet(DatatypeConstants.MINUTES); in getXMLSchemaType()
163 boolean secondSet = isSet(DatatypeConstants.SECONDS); in getXMLSchemaType()
435 public abstract boolean isSet(final DatatypeConstants.Field field); in isSet() method in Duration
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DPosixFilePermissions.java84 private static boolean isSet(char c, char setValue) { in isSet() method in PosixFilePermissions
91 private static boolean isR(char c) { return isSet(c, 'r'); } in isR()
92 private static boolean isW(char c) { return isSet(c, 'w'); } in isW()
93 private static boolean isX(char c) { return isSet(c, 'x'); } in isX()
/libcore/ojluni/src/main/java/java/util/
DCalendar.java853 protected boolean isSet[]; field in Calendar
1528 boolean weekDate = isSet(WEEK_YEAR) in build()
1546 int weekOfYear = isSet(WEEK_OF_YEAR) ? fields[NFIELDS + WEEK_OF_YEAR] : 1; in build()
1547 int dayOfWeek = isSet(DAY_OF_WEEK) in build()
1580 private boolean isSet(int index) { in isSet() method in Calendar.Builder
1619 isSet = new boolean[FIELD_COUNT]; in Calendar()
1950 isSet[field] = true; in set()
2051 isSet[i++] = false; in clear()
2082 isSet[field] = false; in clear()
2097 public final boolean isSet(int field) in isSet() method in Calendar
[all …]
DJapaneseImperialCalendar.java1841 if (isSet(ERA)) {
1843 year = isSet(YEAR) ? internalGet(YEAR) : 1;
1845 if (isSet(YEAR)) {
2015 if (isSet(DAY_OF_MONTH)) {
2331 return isSet(ERA) ? internalGet(ERA) : currentEra;
DGregorianCalendar.java2637 int year = isSet(YEAR) ? internalGet(YEAR) : EPOCH_YEAR; in computeTime()
2651 if (year <= 0 && !isSet(ERA)) { in computeTime()
3006 if (isSet(DAY_OF_MONTH)) { in getFixedDate()
3357 return isSet(ERA) ? internalGet(ERA) : CE; in internalGetEra()
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java254 assertTrue(cal.isSet(Calendar.DAY_OF_MONTH)); in checkClear()
255 assertFalse(cal.isSet(Calendar.HOUR_OF_DAY)); in checkClear()
263 assertTrue(cal.isSet(Calendar.DAY_OF_MONTH)); in checkClear()
264 assertTrue(cal.isSet(Calendar.HOUR_OF_DAY)); in checkClear()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java145 public final boolean isSet(int field) { in isSet() method in Calendar
574 protected boolean[] isSet; field in Calendar
688 private boolean isSet(int index) { in isSet() method in Calendar.Builder
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestByteArrayAsShort.java160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
388 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
643 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
735 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
875 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
882 short v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DVarHandleTestByteArrayAsChar.java160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
388 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
643 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
735 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
875 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
882 char v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DVarHandleBaseByteArrayTest.java54 boolean isSet(int bitSet) { in isSet() method in VarHandleBaseByteArrayTest.MemoryMode
71 if (m.isSet(bitSet)) { in enumSet()
DVarHandleTestByteArrayAsFloat.java160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
431 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
689 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
868 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
1305 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
1312 float v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DVarHandleTestByteArrayAsDouble.java160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
431 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
689 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
868 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
1305 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
1312 double v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DVarHandleTestByteArrayAsLong.java160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
477 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
735 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
1006 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
1709 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
1716 long v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DVarHandleTestByteArrayAsInt.java160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
477 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
735 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
1006 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
1709 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
1716 int v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DX-VarHandleTestByteArrayView.java.template192 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) {
616 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes);
1073 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes);
1356 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes);
2077 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN…
2084 $type$ v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes)
/libcore/luni/src/test/java/libcore/javax/xml/datatype/
DDurationImpl.java88 public boolean isSet(Field field) { in isSet() method in DurationImpl
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DKeyUsageExtension.java60 private boolean isSet(int position) { in isSet() method in KeyUsageExtension
DNetscapeCertTypeExtension.java61 private boolean isSet(int position) { in isSet() method in NetscapeCertTypeExtension
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java92 public final boolean isSet(int field) { throw new RuntimeException("Stub!"); } in isSet() method in Calendar
266 protected boolean @libcore.util.NonNull [] isSet; field in Calendar
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java630 assertFalse(calendar.isSet(i)); in test_isSet()
/libcore/api/
Dcurrent.txt13498 method public final boolean isSet(int);
13566 field @NonNull protected boolean[] isSet;
20305 method public abstract boolean isSet(javax.xml.datatype.DatatypeConstants.Field);