/cts/tools/dasm/src/java_cup/ |
H A D | parse_action.java | 6 * Objects of this base class will default to ERROR, while the other two 55 public boolean equals(parse_action other) argument 58 return other != null && other.kind() == ERROR; 64 public boolean equals(Object other) argument 66 if (other instanceof parse_action) 67 return equals((parse_action)other);
|
H A D | production_part.java | 51 public boolean equals(production_part other) argument 53 if (other == null) return false; 57 return label().equals(other.label()); 59 return other.label() == null; 65 public boolean equals(Object other) argument 67 if (!(other instanceof production_part)) 70 return equals((production_part)other);
|
H A D | reduce_action.java | 50 public boolean equals(reduce_action other) argument 52 return other != null && other.reduce_with() == reduce_with(); 58 public boolean equals(Object other) argument 60 if (other instanceof reduce_action) 61 return equals((reduce_action)other);
|
H A D | shift_action.java | 50 public boolean equals(shift_action other) argument 52 return other != null && other.shift_to() == shift_to(); 58 public boolean equals(Object other) argument 60 if (other instanceof shift_action) 61 return equals((shift_action)other);
|
H A D | action_part.java | 57 public boolean equals(action_part other) argument 60 return other != null && super.equals(other) && 61 other.code_string().equals(code_string()); 67 public boolean equals(Object other) argument 69 if (!(other instanceof action_part)) 72 return equals((action_part)other);
|
H A D | symbol_part.java | 61 public boolean equals(symbol_part other) argument 63 return other != null && super.equals(other) && 64 the_symbol().equals(other.the_symbol()); 70 public boolean equals(Object other) argument 72 if (!(other instanceof symbol_part)) 75 return equals((symbol_part)other);
|
H A D | symbol_set.java | 24 * @param other the set we are cloning from. 26 public symbol_set(symbol_set other) throws internal_error argument 28 not_null(other); 29 _all = (Hashtable)other._all.clone(); 70 * @param other the set we are testing against. 72 public boolean is_subset_of(symbol_set other) throws internal_error argument 74 not_null(other); 76 /* walk down our set and make sure every element is in the other */ 78 if (!other.contains((symbol)e.nextElement())) 88 * @param other th 90 is_superset_of(symbol_set other) argument 132 add(symbol_set other) argument 150 remove(symbol_set other) argument 162 equals(symbol_set other) argument 179 equals(Object other) argument [all...] |
H A D | terminal_set.java | 26 * @param other the set we are cloning from. 28 public terminal_set(terminal_set other) argument 31 not_null(other); 32 _elements = (BitSet)other._elements.clone(); 96 * @param other the set we are testing against. 98 public boolean is_subset_of(terminal_set other) argument 101 not_null(other); 103 /* make a copy of the other set */ 104 BitSet copy_other = (BitSet)other._elements.clone(); 110 return copy_other.equals(other 118 is_superset_of(terminal_set other) argument 166 add(terminal_set other) argument 186 intersects(terminal_set other) argument 204 equals(terminal_set other) argument 215 equals(Object other) argument [all...] |
H A D | lalr_item.java | 268 public boolean equals(lalr_item other) argument 270 if (other == null) return false; 271 return super.equals(other); 277 public boolean equals(Object other) argument 279 if (!(other instanceof lalr_item)) 282 return equals((lalr_item)other);
|
H A D | lalr_item_set.java | 33 * @param other indicates set we should copy from. 35 public lalr_item_set(lalr_item_set other) argument 38 not_null(other); 39 _all = (Hashtable)other._all.clone(); 84 * @param other the other set in question. 86 public boolean is_subset_of(lalr_item_set other) throws internal_error argument 88 not_null(other); 90 /* walk down our set and make sure every element is in the other */ 92 if (!other 104 is_superset_of(lalr_item_set other) argument 165 add(lalr_item_set other) argument 179 remove(lalr_item_set other) argument 300 equals(lalr_item_set other) argument 318 equals(Object other) argument [all...] |
H A D | lr_item_core.java | 162 public boolean core_equals(lr_item_core other) argument 164 return other != null && 165 _the_production.equals(other._the_production) && 166 _dot_pos == other._dot_pos; 172 public boolean equals(lr_item_core other) {return core_equals(other);} argument 177 public boolean equals(Object other) argument 179 if (!(other instanceof lr_item_core)) 182 return equals((lr_item_core)other);
|
H A D | lalr_state.java | 9 * A state consists of an LALR item set and a set of transitions to other 109 * dot" within items of other states that have a transition to this one. 199 other's will have a propagate link set up for it. This allows additions 200 to the lookahead of one item to be included in other items that it 494 /* if the other act was not a shift */ 701 public boolean equals(lalr_state other) argument 704 return other != null && items().equals(other.items()); 710 public boolean equals(Object other) argument 712 if (!(other instanceo [all...] |
H A D | production.java | 705 public boolean equals(production other) argument 707 if (other == null) return false; 708 return other._index == _index; 714 public boolean equals(Object other) argument 716 if (!(other instanceof production)) 719 return equals((production)other);
|
/cts/libs/view/src/com/android/view/ |
H A D | Position.java | 42 public double dotProduct(Position other) { argument 43 return (mX * other.mX) + (mY * other.mY); 47 * @return The euclidean distance between {@code this} and the other {@link Position}. 49 public double distanceTo(Position other) { argument 50 return Math.sqrt(Math.pow((mX - other.mX), 2) + Math.pow((mY - other.mY), 2)); 55 * {@code this} to the other {@link Position}, given the origin of the arc. 62 public double arcAngleTo(Position other, Position origin) { argument 63 // Compute the angle of the polar representation of this and other 83 angleTo(Position other) argument [all...] |
/cts/suite/audio_quality/lib/src/ |
H A D | StringUtil.cpp | 57 int StringUtil::compare(const android::String8& str, const char* other) argument 59 return strcmp(str.string(), other); 62 bool StringUtil::endsWith(const android::String8& str, const char* other) argument 65 size_t l2 = strlen(other); 73 if (data[iStr] != other[iOther]) {
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
H A D | AllocationCache.java | 222 public boolean equals(Object other) { argument 223 if (other instanceof AllocationKey){ 224 AllocationKey otherKey = (AllocationKey) other;
|
H A D | AllocationInfo.java | 324 * @param element The other element to compare against. 371 * @param other Another info object 373 * @return true if this is equal to other 376 public boolean equals(Object other) { argument 377 if (other instanceof AllocationInfo) { 378 return equals((AllocationInfo)other); 390 * @param other Another info object 392 * @return true if this is equal to other 394 public boolean equals(AllocationInfo other) { argument 395 if (other [all...] |
H A D | Script.java | 158 public boolean equals(Object other) { argument 159 if (other instanceof ScriptParameter) { 160 ScriptParameter<J, K> otherParam = (ScriptParameter<J,K>) other;
|
/cts/tests/tests/os/src/android/os/cts/ |
H A D | WorkSourceTest.java | 89 private WorkSource wsAddReturningNewbs(WorkSource ws, WorkSource other) throws IllegalArgumentException, argument 91 mAddReturningNewbsArgs[0] = other; 95 private WorkSource[] wsSetReturningDiffs(WorkSource ws, WorkSource other) throws IllegalArgumentException, argument 97 mSetReturningDiffsArgs[0] = other;
|
/cts/tests/tests/media/src/android/media/cts/ |
H A D | ImageReaderDecoderTest.java | 342 private Decoder[] other(MediaAssets assets) { method in class:ImageReaderDecoderTest 353 private Decoder[] otherH265() { return other(H265_ASSETS); } 354 private Decoder[] otherH264() { return other(H264_ASSETS); } 355 private Decoder[] otherH263() { return other(H263_ASSETS); } 356 private Decoder[] otherMpeg4() { return other(MPEG4_ASSETS); } 357 private Decoder[] otherVP8() { return other(VP8_ASSETS); } 358 private Decoder[] otherVP9() { return other(VP9_ASSETS); } 392 Decoder[] decoders = other(new MediaAssets(
|
H A D | VideoEncoderTest.java | 1123 private Encoder[] otherH265() { return other(MediaFormat.MIMETYPE_VIDEO_HEVC); } 1124 private Encoder[] otherH264() { return other(MediaFormat.MIMETYPE_VIDEO_AVC); } 1125 private Encoder[] otherH263() { return other(MediaFormat.MIMETYPE_VIDEO_H263); } 1126 private Encoder[] otherMpeg4() { return other(MediaFormat.MIMETYPE_VIDEO_MPEG4); } 1127 private Encoder[] otherVP8() { return other(MediaFormat.MIMETYPE_VIDEO_VP8); } 1128 private Encoder[] otherVP9() { return other(MediaFormat.MIMETYPE_VIDEO_VP9); } 1134 private Encoder[] other(String mime) { method in class:VideoEncoderTest
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
H A D | TvInputServiceTest.java | 948 public static boolean keyEventEquals(KeyEvent event, KeyEvent other) { argument 949 if (event == other) return true; 950 if (event == null || other == null) return false; 951 return event.getDownTime() == other.getDownTime() 952 && event.getEventTime() == other.getEventTime() 953 && event.getAction() == other.getAction() 954 && event.getKeyCode() == other.getKeyCode() 955 && event.getRepeatCount() == other.getRepeatCount() 956 && event.getMetaState() == other.getMetaState() 957 && event.getDeviceId() == other 964 motionEventEquals(MotionEvent event, MotionEvent other) argument 982 playbackParamsEquals(PlaybackParams param, PlaybackParams other) argument 989 bundleEquals(Bundle b, Bundle other) argument [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
H A D | DeqpTestRunner.java | 217 public boolean equals(Object other) { argument 218 if (other == null) { 220 } else if (!(other instanceof BatchRunConfiguration)) { 223 return getId().equals(((BatchRunConfiguration)other).getId()); 565 // Not an event, but some other line 1218 // other compatible instances as possible.
|
/cts/tests/video/src/android/video/cts/ |
H A D | VideoEncoderDecoderTest.java | 1264 public boolean equalTo(YUVValue other) { argument 1265 return (mY == other.mY) && (mU == other.mU) && (mV == other.mV); 1268 public double calcErrorSquared(YUVValue other) { argument 1270 double yDelta = (mY & 0xFF) - (other.mY & 0xFF); 1271 double uDelta = (mU & 0xFF) - (other.mU & 0xFF); 1272 double vDelta = (mV & 0xFF) - (other.mV & 0xFF);
|
/cts/tools/vm-tests-tf/lib/ |
H A D | junit.jar | META-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/extensions/ junit/framework/ junit/runner/ junit/ ... |