/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | ShortArrayAsListTest.java | 37 private static List<Short> asList(Short[] values) { in asList() 49 @Override protected List<Short> create(Short[] elements) { in create() 55 @Override protected List<Short> create(Short[] elements) { in create() 56 Short[] suffix = {Short.MIN_VALUE, Short.MAX_VALUE}; in create() 57 Short[] all = concat(elements, suffix); in create() 63 @Override protected List<Short> create(Short[] elements) { in create() 64 Short[] prefix = {(short) 86, (short) 99}; in create() 65 Short[] all = concat(prefix, elements); in create() 71 @Override protected List<Short> create(Short[] elements) { in create() 72 Short[] prefix = {Short.MIN_VALUE, Short.MAX_VALUE}; in create() [all …]
|
D | ShortsTest.java | 44 private static final short LEAST = Short.MIN_VALUE; 45 private static final short GREATEST = Short.MAX_VALUE; 52 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value)); in testHashCode() 90 int expected = Short.valueOf(x).compareTo(y); in testCompare() 273 List<Short> none = Arrays.<Short>asList(); in testToArray() 276 List<Short> one = Arrays.asList((short) 1); in testToArray() 281 List<Short> three = Arrays.asList((short) 0, (short) 1, (short) 3); in testToArray() 290 List<Short> list = Shorts.asList(VALUES).subList(0, i); in testToArray_threadSafe() 291 Collection<Short> misleadingSize = in testToArray_threadSafe() 304 List<Short> list = Arrays.asList((short) 0, (short) 1, null); in testToArray_withNull() [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | ShortArrayAsListTest.java | 45 private static List<Short> asList(Short[] values) { in asList() 55 List<ListTestSuiteBuilder<Short>> builders = in suite() 71 for (ListTestSuiteBuilder<Short> builder : builders) { in suite() 87 @Override protected List<Short> create(Short[] elements) { in create() 93 @Override protected List<Short> create(Short[] elements) { in create() 94 Short[] suffix = {Short.MIN_VALUE, Short.MAX_VALUE}; in create() 95 Short[] all = concat(elements, suffix); in create() 101 @Override protected List<Short> create(Short[] elements) { in create() 102 Short[] prefix = {(short) 86, (short) 99}; in create() 103 Short[] all = concat(prefix, elements); in create() [all …]
|
D | ShortsTest.java | 48 private static final short LEAST = Short.MIN_VALUE; 49 private static final short GREATEST = Short.MAX_VALUE; 56 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value)); in testHashCode() 94 int expected = Short.valueOf(x).compareTo(y); in testCompare() 333 List<Short> none = Arrays.<Short>asList(); in testToArray() 336 List<Short> one = Arrays.asList((short) 1); in testToArray() 341 List<Short> three = Arrays.asList((short) 0, (short) 1, (short) 3); in testToArray() 350 List<Short> list = Shorts.asList(VALUES).subList(0, i); in testToArray_threadSafe() 351 Collection<Short> misleadingSize = in testToArray_threadSafe() 364 List<Short> list = Arrays.asList((short) 0, (short) 1, null); in testToArray_withNull() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | Shorts.java | 55 public static final int BYTES = Short.SIZE / Byte.SIZE; 62 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); 102 if (value > Short.MAX_VALUE) { in saturatedCast() 103 return Short.MAX_VALUE; in saturatedCast() 105 if (value < Short.MIN_VALUE) { in saturatedCast() 106 return Short.MIN_VALUE; in saturatedCast() 285 extends Converter<String, Short> implements Serializable { 289 protected Short doForward(String value) { in doForward() 290 return Short.decode(value); in doForward() 294 protected String doBackward(Short value) { in doBackward() [all …]
|
/external/jline/src/src/main/java/jline/ |
D | ConsoleReader.java | 43 names.put("MOVE_TO_BEG", new Short(MOVE_TO_BEG)); 44 names.put("MOVE_TO_END", new Short(MOVE_TO_END)); 45 names.put("PREV_CHAR", new Short(PREV_CHAR)); 46 names.put("NEWLINE", new Short(NEWLINE)); 47 names.put("KILL_LINE", new Short(KILL_LINE)); 48 names.put("PASTE", new Short(PASTE)); 49 names.put("CLEAR_SCREEN", new Short(CLEAR_SCREEN)); 50 names.put("NEXT_HISTORY", new Short(NEXT_HISTORY)); 51 names.put("PREV_HISTORY", new Short(PREV_HISTORY)); 52 names.put("START_OF_HISTORY", new Short(START_OF_HISTORY)); [all …]
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Shorts.java | 57 public static final int BYTES = Short.SIZE / Byte.SIZE; 64 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); 104 if (value > Short.MAX_VALUE) { in saturatedCast() 105 return Short.MAX_VALUE; in saturatedCast() 107 if (value < Short.MIN_VALUE) { in saturatedCast() 108 return Short.MIN_VALUE; in saturatedCast() 337 extends Converter<String, Short> implements Serializable { 341 protected Short doForward(String value) { in doForward() 342 return Short.decode(value); in doForward() 346 protected String doBackward(Short value) { in doBackward() [all …]
|
/external/smali/smali/src/test/java/org/jf/smali/ |
D | ShortLiteralTest.java | 47 Assert.assertTrue(LiteralTools.parseShort("0x8000") == Short.MIN_VALUE); in SuccessHexTests() 53 Assert.assertTrue(LiteralTools.parseShort("-0x8000") == Short.MIN_VALUE); in SuccessHexTests() 80 Assert.assertTrue(LiteralTools.parseShort("32768") == Short.MIN_VALUE); in SuccessDecTests() 88 Assert.assertTrue(LiteralTools.parseShort("-32768") == Short.MIN_VALUE); in SuccessDecTests() 117 Assert.assertTrue(LiteralTools.parseShort("077777") == Short.MAX_VALUE); in SuccessOctTests() 118 Assert.assertTrue(LiteralTools.parseShort("0100000") == Short.MIN_VALUE); in SuccessOctTests() 126 Assert.assertTrue(LiteralTools.parseShort("-0100000") == Short.MIN_VALUE); in SuccessOctTests()
|
/external/swiftshader/src/Reactor/ |
D | Nucleus.hpp | 237 class Short; 475 explicit SByte(RValue<Short> cast); 525 class Short : public Variable<Short> class 528 Short(Argument<Short> argument); 530 explicit Short(RValue<Int> cast); 532 Short(); 533 Short(short x); 534 Short(RValue<Short> rhs); 535 Short(const Short &rhs); 536 Short(const Reference<Short> &rhs); [all …]
|
/external/aac/libAACenc/src/ |
D | grp_data.cpp | 181 FIXP_DBL thresh = sfbThreshold->Short[wnd][sfb]; in FDKaacEnc_groupShortData() 184 thresh = nrgAddSaturate(thresh, sfbThreshold->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData() 199 FIXP_DBL energy = sfbEnergy->Short[wnd][sfb]; in FDKaacEnc_groupShortData() 202 energy = nrgAddSaturate(energy, sfbEnergy->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData() 217 FIXP_DBL energy = sfbEnergyMS->Short[wnd][sfb]; in FDKaacEnc_groupShortData() 220 energy = nrgAddSaturate(energy, sfbEnergyMS->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData() 235 FIXP_DBL energy = sfbSpreadEnergy->Short[wnd][sfb]; in FDKaacEnc_groupShortData() 238 energy = nrgAddSaturate(energy, sfbSpreadEnergy->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData()
|
D | psy_data.h | 105 FIXP_DBL Short[TRANS_FAC][MAX_SFB_SHORT]; 110 FIXP_DBL Short[TRANS_FAC][MAX_SFB_SHORT]; 115 FIXP_DBL Short[TRANS_FAC][MAX_SFB_SHORT]; 120 INT Short[TRANS_FAC][MAX_SFB_SHORT];
|
/external/toolchain-utils/go/patch/ |
D | go7.patch | 9 - if testing.Short() { 24 - if testing.Short() { 38 - if testing.Short() { 51 - if testing.Short() { 62 - if testing.Short() { 76 - if testing.Short() { 90 - if testing.Short() { 104 - if testing.Short() { 115 - if testing.Short() { 133 - if testing.Short() {
|
/external/swiftshader/src/Main/ |
D | FrameBuffer.cpp | 276 Int rgb = Int(*Pointer<Short>(s)); in copyRoutine() 319 Int rgb = Int(*Pointer<Short>(s)); in copyRoutine() 385 Int rgb = Int(*Pointer<Short>(s)); in copyRoutine() 427 Int rgb = Int(*Pointer<Short>(s)); in copyRoutine() 470 Int rgb = Int(*Pointer<Short>(s)); in copyRoutine() 498 *Pointer<Short>(d) = Short((c & 0x00F80000) >> 8 | in copyRoutine() 508 *Pointer<Short>(d) = Short((c & 0x00F80000) >> 19 | in copyRoutine() 518 *Pointer<Short>(d) = Short((c & 0x00F80000) >> 19 | in copyRoutine() 524 *Pointer<Short>(d) = *Pointer<Short>(s); in copyRoutine() 597 Int rgb(*Pointer<Short>(s)); in blend() [all …]
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
D | InjectedThing.java | 36 @Inject Provider<Short> shortProvider; 45 @Inject Lazy<Short> lazyShort; 54 @Inject Short boxedShort; 105 Provider<Short> shortProvider, in InjectedThing() 114 Lazy<Short> lazyShort, in InjectedThing() 123 Short boxedShort, in InjectedThing() 173 @Inject void shortProvider(Provider<Short> shortProvider) {} in shortProvider() 182 @Inject void lazyShort(Lazy<Short> lazyShort) {} in lazyShort() 191 @Inject void boxedShort(Short boxedShort) {} in boxedShort()
|
/external/valgrind/VEX/priv/ |
D | host_generic_simd64.c | 153 static inline Short qadd16S ( Short xx, Short yy ) in qadd16S() 158 return (Short)t; in qadd16S() 193 static inline Short qsub16S ( Short xx, Short yy ) in qsub16S() 198 return (Short)t; in qsub16S() 225 static inline Short mul16 ( Short xx, Short yy ) in mul16() 228 return (Short)t; in mul16() 237 static inline Short mulhi16S ( Short xx, Short yy ) in mulhi16S() 241 return (Short)t; in mulhi16S() 271 static inline UShort cmpgt16S ( Short xx, Short yy ) in cmpgt16S() 296 static inline Short qnarrow32Sto16S ( UInt xx0 ) in qnarrow32Sto16S() [all …]
|
/external/swiftshader/src/Renderer/ |
D | Blitter.cpp | 160 c.x = Float(Int(*Pointer<Short>(element))); in read() 256 c.x = Float(Int(*Pointer<Short>(element + 0))); in read() 257 c.y = Float(Int(*Pointer<Short>(element + 2))); in read() 492 if(writeR) { *Pointer<Short>(element) = Short(RoundInt(Float(c.x))); } in write() 493 if(writeG) { *Pointer<Short>(element + 2) = Short(RoundInt(Float(c.y))); } in write() 494 if(writeB) { *Pointer<Short>(element + 4) = Short(RoundInt(Float(c.z))); } in write() 495 if(writeA) { *Pointer<Short>(element + 6) = Short(RoundInt(Float(c.w))); } in write() 505 if(writeR) { *Pointer<Short>(element) = Short(RoundInt(Float(c.x))); } in write() 506 if(writeG) { *Pointer<Short>(element + 2) = Short(RoundInt(Float(c.y))); } in write() 507 if(writeB) { *Pointer<Short>(element + 4) = Short(RoundInt(Float(c.z))); } in write() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/ |
D | Opcodes.java | 54 @Nonnull private final EnumMap<Opcode, Short> opcodeValues; 99 opcodeValues = new EnumMap<Opcode, Short>(Opcode.class); in Opcodes() 110 RangeMap<Integer, Short> versionToValueMap; in Opcodes() 118 Short opcodeValue = versionToValueMap.get(version); in Opcodes() 152 public Short getOpcodeValue(@Nonnull Opcode opcode) { in getOpcodeValue()
|
/external/valgrind/memcheck/tests/amd64/ |
D | bt_everything.c | 12 typedef signed short Short; typedef 140 : "r" ((Short)bitno)); in btsw_mem() 154 : "r" ((Short)bitno)); in btrw_mem() 165 : "r" ((Short)bitno)); in btcw_mem() 176 : "r" ((Short)bitno) in btw_mem() 346 : "r" ((Short)bitno), "r" (reg_in) in btsw_reg() 364 : "r" ((Short)bitno), "r" (reg_in) in btrw_reg() 382 : "r" ((Short)bitno), "r" (reg_in) in btcw_reg() 400 : "r" ((Short)bitno), "r" (reg_in) in btw_reg()
|
/external/clang/test/CodeGen/ |
D | x86_32-fpcc-struct-return.c | 13 typedef struct { short s; } Short; typedef 30 Short returnShort(Short x) { return x; } in returnShort()
|
/external/mockito/src/test/java/org/mockito/internal/util/ |
D | PrimitivesTest.java | 20 assertNotNull(Primitives.defaultValue(Short.class)); in should_not_return_null_for_primitives_wrappers() 56 assertThat(Primitives.defaultValue(Short.class)).isEqualTo((short) 0); in should_default_values_for_wrapper() 82 assertThat(Primitives.isAssignableFromWrapper(short.class, Short.class)); in should_check_that_value_type_is_assignable_to_wrapper_reference() 83 assertThat(Primitives.isAssignableFromWrapper(Short.class, Short.class)); in should_check_that_value_type_is_assignable_to_wrapper_reference()
|
/external/pdfium/third_party/freetype/src/raster/ |
D | ftraster.c | 309 typedef short Short; typedef 382 Short y_min; /* band's minimum */ 383 Short y_max; /* band's maximum */ 429 Function_Sweep_Init( RAS_ARGS Short* min, 430 Short* max ); 433 Function_Sweep_Span( RAS_ARGS Short y, 516 Short traceIncr; /* sweep's increment in target bitmap */ 1188 Short f1; in Bezier_Up() 1216 f1 = (Short)( FRAC( y1 ) ); in Bezier_Up() 2166 Vertical_Sweep_Init( RAS_ARGS Short* min, in Vertical_Sweep_Init() [all …]
|
/external/freetype/src/raster/ |
D | ftraster.c | 311 typedef short Short; typedef 384 Short y_min; /* band's minimum */ 385 Short y_max; /* band's maximum */ 431 Function_Sweep_Init( RAS_ARGS Short* min, 432 Short* max ); 435 Function_Sweep_Span( RAS_ARGS Short y, 524 Short traceIncr; /* sweep's increment in target bitmap */ 1196 Short f1; in Bezier_Up() 1224 f1 = (Short)( FRAC( y1 ) ); in Bezier_Up() 2176 Vertical_Sweep_Init( RAS_ARGS Short* min, in Vertical_Sweep_Init() [all …]
|
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/ |
D | TimelineApplet.java | 337 … .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 598, Short.MAX_VALUE) in initComponents() 340 … .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 273, Short.MAX_VALUE) in initComponents() 352 … .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 214, Short.MAX_VALUE) in initComponents() 383 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) in initComponents() 409 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) in initComponents() 429 … .addComponent(speedSlider, javax.swing.GroupLayout.DEFAULT_SIZE, 144, Short.MAX_VALUE) in initComponents() 437 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) in initComponents() 444 .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 164, Short.MAX_VALUE) in initComponents() 445 …anel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) in initComponents() 446 …anel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) in initComponents() [all …]
|
D | TweenApplet.java | 231 … .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 562, Short.MAX_VALUE) in initComponents() 234 … .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 237, Short.MAX_VALUE) in initComponents() 246 … .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 101, Short.MAX_VALUE) in initComponents() 295 .addComponent(easingCbox, 0, 105, Short.MAX_VALUE)) in initComponents() 340 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) in initComponents() 354 .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 144, Short.MAX_VALUE) in initComponents() 361 .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 42, Short.MAX_VALUE) in initComponents() 369 .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 164, Short.MAX_VALUE) in initComponents() 370 …anel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) in initComponents() 371 …anel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) in initComponents() [all …]
|
/external/guice/core/test/com/google/inject/ |
D | TypeLiteralTypeResolutionTest.java | 55 getClass(), HasGenericFields.class, Short.class); 57 getClass(), GenericConstructor.class, Short.class); 60 Type hasArrayOfShort = newParameterizedTypeWithOwner(getClass(), HasArray.class, Short.class); 132 assertEquals(listOf(Short.class), resolver.getFieldType(list).getType()); in testFields() 133 assertEquals(Short.class, resolver.getFieldType(instance).getType()); in testFields() 143 assertEquals(Short.class, in testGenericConstructor() 165 assertEquals(arrayOf(Short.class), resolver.getReturnType(getArray).getType()); in testArrays() 166 assertEquals(setOf(arrayOf(Short.class)), resolver.getReturnType(getSetOfArray).getType()); in testArrays() 187 newParameterizedTypeWithOwner(getClass(), HasLists.class, String.class, Short.class)); in testCachingAndReindexing() 190 assertEquals(listOf(Short.class), in testCachingAndReindexing()
|