Home
last modified time | relevance | path

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

12345678910>>...17

/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DShortArrayAsListTest.java37 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 …]
DShortsTest.java44 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/
DShortArrayAsListTest.java45 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 …]
DShortsTest.java48 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/
DShorts.java55 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/guava/guava/src/com/google/common/primitives/
DShorts.java57 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/jline/src/src/main/java/jline/
DConsoleReader.java43 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/r8/src/test/examples/constants/
DConstants.java28 printInt(Short.MIN_VALUE); in testConst16()
31 printInt(Short.MAX_VALUE); in testConst16()
45 printInt(Short.MIN_VALUE - 1); in testConst()
46 printInt(Short.MAX_VALUE + 1); in testConst()
58 printLong((long) Short.MIN_VALUE); in testConstWide16()
62 printLong((long) Short.MAX_VALUE); in testConstWide16()
66 printLong((long) Short.MIN_VALUE - 1); in testConstWide32()
69 printLong((long) Short.MAX_VALUE + 1); in testConstWide32()
/external/smali/smali/src/test/java/org/jf/smali/
DShortLiteralTest.java47 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/
DReactor.hpp37 class Short;
270 explicit SByte(RValue<Short> cast);
320 class Short : public LValue<Short> class
323 Short(Argument<Short> argument);
325 explicit Short(RValue<Int> cast);
327 Short() = default;
328 Short(short x);
329 Short(RValue<Short> rhs);
330 Short(const Short &rhs);
331 Short(const Reference<Short> &rhs);
[all …]
DSubzeroReactor.cpp1826 SByte::SByte(RValue<Short> cast) in SByte()
2054 Short::Short(Argument<Short> argument) in Short() function in sw::Short
2059 Short::Short(RValue<Int> cast) in Short() function in sw::Short
2061 Value *integer = Nucleus::createTrunc(cast.value, Short::getType()); in Short()
2066 Short::Short(short x) in Short() function in sw::Short
2071 Short::Short(RValue<Short> rhs) in Short() function in sw::Short
2076 Short::Short(const Short &rhs) in Short() function in sw::Short
2082 Short::Short(const Reference<Short> &rhs) in Short() function in sw::Short
2088 RValue<Short> Short::operator=(RValue<Short> rhs) in operator =()
2095 RValue<Short> Short::operator=(const Short &rhs) in operator =()
[all …]
/external/aac/libAACenc/src/
Dgrp_data.cpp181 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()
Dpsy_data.h105 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/r8/src/main/java/com/android/tools/r8/utils/
DNumberUtils.java24 return Short.MIN_VALUE <= value && value <= Short.MAX_VALUE; in is16Bit()
28 return Short.MIN_VALUE <= -value && -value <= Short.MAX_VALUE; in negativeIs16Bit()
/external/toolchain-utils/go/patch/
Dgo7.patch9 - 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/smali/dexlib2/src/main/java/org/jf/dexlib2/
DOpcodes.java54 @Nonnull private final EnumMap<Opcode, Short> opcodeValues;
90 opcodeValues = new EnumMap<Opcode, Short>(Opcode.class); in Opcodes()
101 RangeMap<Integer, Short> versionToValueMap; in Opcodes()
109 Short opcodeValue = versionToValueMap.get(version); in Opcodes()
143 public Short getOpcodeValue(@Nonnull Opcode opcode) { in getOpcodeValue()
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
DInjectedThing.java36 @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/
Dhost_generic_simd64.c153 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/clang/test/CodeGen/
Dx86_32-fpcc-struct-return.c13 typedef struct { short s; } Short; typedef
30 Short returnShort(Short x) { return x; } in returnShort()
/external/swiftshader/src/Main/
DFrameBuffer.cpp310 Int rgb = Int(*Pointer<Short>(s)); in copyRoutine()
418 Int rgb = Int(*Pointer<Short>(s)); in copyRoutine()
461 Int rgb = Int(*Pointer<Short>(s)); in copyRoutine()
489 *Pointer<Short>(d) = Short((c & 0x00F80000) >> 8 | in copyRoutine()
499 *Pointer<Short>(d) = Short((c & 0x00F80000) >> 19 | in copyRoutine()
509 *Pointer<Short>(d) = Short((c & 0x00F80000) >> 19 | in copyRoutine()
515 *Pointer<Short>(d) = *Pointer<Short>(s); in copyRoutine()
591 Int rgb(*Pointer<Short>(s)); in blend()
643 *Pointer<Short>(d) = Short((c & 0x00F80000) >> 8 | in blend()
/external/swiftshader/src/Renderer/
DBlitter.cpp255 c.x = Float(Int(*Pointer<Short>(element))); in read()
351 c.x = Float(Int(*Pointer<Short>(element + 0))); in read()
352 c.y = Float(Int(*Pointer<Short>(element + 2))); in read()
586 if(writeR) { *Pointer<Short>(element) = Short(RoundInt(Float(c.x))); } in write()
587 if(writeG) { *Pointer<Short>(element + 2) = Short(RoundInt(Float(c.y))); } in write()
588 if(writeB) { *Pointer<Short>(element + 4) = Short(RoundInt(Float(c.z))); } in write()
589 if(writeA) { *Pointer<Short>(element + 6) = Short(RoundInt(Float(c.w))); } in write()
599 if(writeR) { *Pointer<Short>(element) = Short(RoundInt(Float(c.x))); } in write()
600 if(writeG) { *Pointer<Short>(element + 2) = Short(RoundInt(Float(c.y))); } in write()
601 if(writeB) { *Pointer<Short>(element + 4) = Short(RoundInt(Float(c.z))); } in write()
[all …]
/external/valgrind/memcheck/tests/amd64/
Dbt_everything.c12 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/mockito/src/test/java/org/mockito/internal/util/
DPrimitivesTest.java20 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/
Dftraster.c309 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/
Dftraster.c311 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 …]

12345678910>>...17