/external/nist-sip/java/javax/sip/ |
DialogState.java | 8 public static final int _EARLY = EARLY.ordinal(); 9 public static final int _CONFIRMED = CONFIRMED.ordinal(); 10 public static final int _TERMINATED = TERMINATED.ordinal(); 22 return ordinal();
|
/external/llvm/test/tools/llvm-objdump/ |
macho-bad-ordinal.test | 1 # RUN: llvm-objdump -macho -bind -lazy-bind %p/Inputs/bad-ordinal.macho-x86_64 \ 5 # CHECK: __DATA __nl_symbol_ptr 0x100001000 pointer 0 <<bad library ordinal>> dyld_stub_binder 6 # CHECK: __DATA __la_symbol_ptr 0x100001010 <<bad library ordinal>> _printf
|
/cts/tools/signature-tools/src/signature/model/impl/ |
SigEnumConstant.java | 26 private int ordinal = UNKNOWN; field in class:SigEnumConstant 33 if (ordinal == UNKNOWN) { 36 return ordinal; 39 public void setOrdinal(int ordinal) { 40 this.ordinal = ordinal;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
icrsint.h | 37 #define ADO_FIXED_LENGTH_ENTRY(Ordinal,DataType,Buffer,Status,Modify) {Ordinal,DataType,0,0,0,offsetof(ADORowClass,Buffer),offsetof(ADORowClass,Status),0,classoffset(CADORecordBinding,ADORowClass),Modify}, 38 #define ADO_FIXED_LENGTH_ENTRY2(Ordinal,DataType,Buffer,Modify) {Ordinal,DataType,0,0,0,offsetof(ADORowClass,Buffer),0,0,classoffset(CADORecordBinding,ADORowClass),Modify}, 39 #define ADO_NUMERIC_ENTRY(Ordinal,DataType,Buffer,Precision,Scale,Status,Modify) {Ordinal,DataType,Precision,Scale,0,offsetof(ADORowClass,Buffer),offsetof(ADORowClass,Status),0,classoffset(CADORecordBinding,ADORowClass),Modify}, 40 #define ADO_NUMERIC_ENTRY2(Ordinal,DataType,Buffer,Precision,Scale,Modify) {Ordinal,DataType,Precision,Scale,0,offsetof(ADORowClass,Buffer),0,0,classoffset(CADORecordBinding,ADORowClass),Modify}, 41 #define ADO_VARIABLE_LENGTH_ENTRY(Ordinal,DataType,Buffer,Size,Status,Length,Modify) {Ordinal,DataType,0,0,Size,offsetof(ADORowClass,Buffer),offsetof(ADORowClass,Status),offsetof(ADORowClass,L (…) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
TimeUnit.java | 18 /** The ordinal of the unit, in order from largest to smallest. */ 19 final byte ordinal; field in class:TimeUnit 22 private TimeUnit(String name, int ordinal) { 24 this.ordinal = (byte) ordinal; 57 return ordinal == 0 ? null : units[ordinal - 1]; 62 return ordinal == units.length - 1 ? null : units[ordinal + 1]; 70 /** Returns the ordinal value of this time unit, largest is 0. ** 71 public int ordinal() { method in class:TimeUnit [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
CRLReasonTest.java | 25 assertEquals("UNSPECIFIED", 0, CRLReason.UNSPECIFIED.ordinal()); 26 assertEquals("KEY_COMPROMISE", 1, CRLReason.KEY_COMPROMISE.ordinal()); 27 assertEquals("CA_COMPROMISE", 2, CRLReason.CA_COMPROMISE.ordinal()); 28 assertEquals("AFFILIATION_CHANGED", 3, CRLReason.AFFILIATION_CHANGED.ordinal()); 29 assertEquals("SUPERSEDED", 4, CRLReason.SUPERSEDED.ordinal()); 30 assertEquals("CESSATION_OF_OPERATION", 5, CRLReason.CESSATION_OF_OPERATION.ordinal()); 31 assertEquals("CERTIFICATE_HOLD", 6, CRLReason.CERTIFICATE_HOLD.ordinal()); 32 assertEquals("UNUSED", 7, CRLReason.UNUSED.ordinal()); 33 assertEquals("REMOVE_FROM_CRL", 8, CRLReason.REMOVE_FROM_CRL.ordinal()); 34 assertEquals("PRIVILEGE_WITHDRAWN", 9, CRLReason.PRIVILEGE_WITHDRAWN.ordinal()); [all...] |
/external/libpng/scripts/ |
symbols.dfn | 19 #define PNG_EXPORTA(ordinal, type, name, args, attributes)\ 20 PNG_DFN "@" name "@ @@" ordinal "@" 21 #define PNG_REMOVED(ordinal, type, name, args, attributes)\ 22 PNG_DFN "; @" name "@ @@" ordinal "@" 23 #define PNG_EXPORT_LAST_ORDINAL(ordinal)\ 24 PNG_DFN "; @@" ordinal "@"
|
sym.dfn | 12 #define PNG_EXPORTA(ordinal, type, name, args, attributes)\
|
vers.dfn | 12 #define PNG_EXPORTA(ordinal, type, name, args, attributes)\
|
checksym.awk | 21 lasto = 0 # last ordinal value from png.h 22 mastero = 0 # highest ordinal in master file 23 symbolo = 0 # highest ordinal in png.h 32 # symbol @ordinal 67 # symbol @ordinal # two fields, exported symbol 68 # ; symbol @ordinal # three fields, removed symbol 69 # ; @ordinal # two fields, the last ordinal 70 NF==2 && $1 == ";" && $2 ~ /^@[1-9][0-9]*$/ { # last ordinal 75 print "png.h: duplicated last ordinal:", lasto, [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaMetadataTest.java | 52 validateMetatData(mp3_test_file.ID3V1V2.ordinal(), MediaNames.META_DATA_MP3); 57 validateMetatData(mp3_test_file.ID3V2.ordinal(), MediaNames.META_DATA_MP3); 62 validateMetatData(mp3_test_file.ID3V1.ordinal(), MediaNames.META_DATA_MP3); 84 assertEquals(TAG, meta_data_file[fileIndex][meta.CD_TRACK.ordinal()], value); 88 assertEquals(TAG, meta_data_file[fileIndex][meta.ALBUM.ordinal()], value); 92 assertEquals(TAG, meta_data_file[fileIndex][meta.ARTIST.ordinal()], value); 96 assertEquals(TAG, meta_data_file[fileIndex][meta.AUTHOR.ordinal()], value); 100 assertEquals(TAG, meta_data_file[fileIndex][meta.COMPOSER.ordinal()], value); 104 assertEquals(TAG, meta_data_file[fileIndex][meta.DATE.ordinal()], value); 108 assertEquals(TAG, meta_data_file[fileIndex][meta.GENRE.ordinal()], value) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
PeriodBuilderFactoryTest.java | 41 Period p = b.create((long)(approxDurations[unit.ordinal()]*2.5)); 49 Period p = b.create((long)(approxDurations[unit.ordinal()]*2.5)); 50 assertEquals(null, p.isSet(unit), unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()); 56 if (unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()) { [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IccCardConstants.java | 66 * The ordinal values much match {@link TelephonyManager#SIM_STATE_UNKNOWN} ... 69 UNKNOWN, /** ordinal(0) == {@See TelephonyManager#SIM_STATE_UNKNOWN} */ 70 ABSENT, /** ordinal(1) == {@See TelephonyManager#SIM_STATE_ABSENT} */ 71 PIN_REQUIRED, /** ordinal(2) == {@See TelephonyManager#SIM_STATE_PIN_REQUIRED} */ 72 PUK_REQUIRED, /** ordinal(3) == {@See TelephonyManager#SIM_STATE_PUK_REQUIRED} */ 73 NETWORK_LOCKED, /** ordinal(4) == {@See TelephonyManager#SIM_STATE_NETWORK_LOCKED} */ 74 READY, /** ordinal(5) == {@See TelephonyManager#SIM_STATE_READY} */ 75 NOT_READY, /** ordinal(6) == {@See TelephonyManager#SIM_STATE_NOT_READY} */ 76 PERM_DISABLED, /** ordinal(7) == {@See TelephonyManager#SIM_STATE_PERM_DISABLED} */ 77 CARD_IO_ERROR; /** ordinal(8) == {@See TelephonyManager#SIM_STATE_CARD_IO_ERROR} * [all...] |
/libcore/libart/src/main/java/java/lang/ |
Enum.java | 56 private final int ordinal; field in class:Enum 63 * @param ordinal 64 * the enum constant's ordinal, which corresponds to its position 67 protected Enum(String name, int ordinal) { 69 this.ordinal = ordinal; 85 * constant has an ordinal value of zero. 87 * @return the ordinal value of this enum constant. 89 public final int ordinal() { method in class:Enum 90 return ordinal; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
ntimage.h | 475 ULONGLONG Ordinal; 485 ULONG Ordinal; 492 #define IMAGE_ORDINAL64(Ordinal) (Ordinal & 0xffff) 493 #define IMAGE_ORDINAL32(Ordinal) (Ordinal & 0xffff) 494 #define IMAGE_SNAP_BY_ORDINAL64(Ordinal) ((Ordinal & IMAGE_ORDINAL_FLAG64) != 0) 495 #define IMAGE_SNAP_BY_ORDINAL32(Ordinal) ((Ordinal & IMAGE_ORDINAL_FLAG32) != 0 [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryableEnum.java | 33 * <p>Default values of the enum are mapped to its ordinal; this can be overridden 164 * <p>This is usually the same as the ordinal value for 175 int ordinal = enumValue.ordinal(); local 177 return values[ordinal]; 180 return ordinal; 191 int ordinal; local 195 ordinal = -1; 199 ordinal = i; 204 ordinal = value [all...] |
/libcore/luni/src/main/java/java/util/ |
MiniEnumSet.java | 37 * @param enums non-null; pre-populated array of constants in ordinal 72 int ordinal = Long.numberOfTrailingZeros(mask); local 73 last = enums[ordinal]; 111 long newBits = oldBits | (1L << element.ordinal()); 147 int ordinal = element.ordinal(); local 148 return (bits & (1L << ordinal)) != 0; 222 int ordinal = element.ordinal(); local 224 long newBits = oldBits & ~(1L << ordinal); [all...] |
/cts/tools/signature-tools/src/signature/model/ |
IEnumConstant.java | 25 * Returns the ordinal of this enum constant. 27 * @return the ordinal of this enum constant.
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
PluralRulesFactory.java | 29 public PluralRules forLocale(ULocale locale, PluralType ordinal) { 30 return PluralRules.forLocale(locale, ordinal);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
UriType.java | 25 /** Returns the ordinal associated with this URI type. */ 26 public int ordinal(); method in interface:UriType
|
/art/tools/dexfuzz/src/dexfuzz/ |
Log.java | 41 return (threshold.ordinal() < LogTag.ERROR.ordinal()); 65 if (tag.ordinal() >= threshold.ordinal()) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
PluralRanges.java | 60 data[start.ordinal() * StandardPluralCategories.COUNT + end.ordinal()] = result == null ? (byte) -1 61 : (byte) result.ordinal(); 69 byte old = data[start.ordinal() * StandardPluralCategories.COUNT + end.ordinal()]; 74 data[start.ordinal() * StandardPluralCategories.COUNT + end.ordinal()] = result == null ? (byte) -1 75 : (byte) result.ordinal(); 82 byte result = data[start.ordinal() * StandardPluralCategories.COUNT + end.ordinal()]; [all...] |
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/ |
ControllerView.java | 350 if (mAxes[AxesMapping.AXIS_BRAKE.ordinal()] > 0.0f) { 351 mGradientPaint.setAlpha((int) (mAxes[AxesMapping.AXIS_BRAKE.ordinal()] * 100) + 155); 355 if (mAxes[AxesMapping.AXIS_GAS.ordinal()] > 0.0f) { 356 mGradientPaint.setAlpha((int) (mAxes[AxesMapping.AXIS_GAS.ordinal()] * 100) + 155); 363 if (mButtons[ButtonMapping.BUTTON_R1.ordinal()] == 0) { 366 } else if (mButtons[ButtonMapping.BUTTON_R1.ordinal()] == 1) { 370 if (mButtons[ButtonMapping.BUTTON_L1.ordinal()] == 0) { 374 else if (mButtons[ButtonMapping.BUTTON_L1.ordinal()] == 1) { 387 if (mAxes[AxesMapping.AXIS_X.ordinal()] != 0.0f) { 389 * mAxes[AxesMapping.AXIS_X.ordinal()]; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccServiceTable.java | 39 * @param service the service number as a zero-based offset (the enum ordinal) 71 int ordinal = (i * 8) + bit; local 72 if (ordinal < values.length) { 73 builder.append(values[ordinal]); 75 builder.append('#').append(ordinal + 1); // service number (one-based)
|
/external/jetty/src/java/org/eclipse/jetty/io/ |
BufferCache.java | 43 public CachedBuffer add(String value, int ordinal) 45 CachedBuffer buffer= new CachedBuffer(value, ordinal); 48 while ((ordinal - _index.size()) >= 0) 50 if (_index.get(ordinal)==null) 51 _index.add(ordinal, buffer); 55 public CachedBuffer get(int ordinal) 57 if (ordinal < 0 || ordinal >= _index.size()) 59 return (CachedBuffer)_index.get(ordinal); 132 public CachedBuffer(String value, int ordinal) [all...] |