Home
last modified time | relevance | path

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

123

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
DShortArr.java21 private short[] shorts; field in ShortArr
26 public ShortArr(short[] shorts) { in ShortArr() argument
27 this.shorts = shorts; in ShortArr()
31 return Arrays.toString(shorts); in toString()
35 return shorts; in getShorts()
38 public void setShorts(short[] shorts) { in setShorts() argument
39 this.shorts = shorts; in setShorts()
DPrimitiveArrayTest.java33 private final short[] shorts = new short[] { 300, 301, 302 }; field in PrimitiveArrayTest
43 + pkg + ".ShortArr [ " + Arrays.toString(shorts) + " ]\n" + "- " + pkg in testValidConstructor()
55 Assert.assertArrayEquals(shorts, ((ShortArr) wrappers.get(1)).getShorts()); in testValidConstructor()
160 ShortArr shortArr = new ShortArr(shorts); in testCycle()
/external/llvm-project/llvm/test/CodeGen/RISCV/
Dzext-with-load-is-free.ll41 @shorts = global [5 x i16] zeroinitializer, align 2
46 ; RV32I-NEXT: lui a0, %hi(shorts)
47 ; RV32I-NEXT: lhu a1, %lo(shorts)(a0)
48 ; RV32I-NEXT: addi a0, a0, %lo(shorts)
63 %0 = load i16, i16* getelementptr inbounds ([5 x i16], [5 x i16]* @shorts, i32 0, i32 0), align 2
65 %1 = load i16, i16* getelementptr inbounds ([5 x i16], [5 x i16]* @shorts, i32 0, i32 1), align 2
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DB20535125.input17 Set<Short> shorts = new HashSet<>();
20 shorts.add(i);
21 shorts.remove(i - 1);
28 shorts.add(i);
29 shorts.remove(i - 1);
DB20535125.output16 Set<Short> shorts = new HashSet<>();
19 shorts.add(i);
20 shorts.remove(i - 1);
26 shorts.add(i);
27 shorts.remove(i - 1);
/external/llvm-project/lldb/test/API/lang/cpp/unique-types/
Dmain.cpp9 std::vector<short> shorts; in main() local
13 shorts.push_back(i); in main()
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DAutoAnnotationTest.java150 short[] shorts(); in shorts() method
185 short[] shorts, in newEverything() argument
208 shorts, in newEverything()
234 List<Short> shorts, in newEverythingCollections() argument
257 shorts, in newEverythingCollections()
282 shorts = {},
576 short[] shorts() default {3, 4}; in shorts() method
DAutoAnnotationDefaultsTest.java59 short[] shorts() default {-2, 0, 2}; in shorts() method
/external/llvm-project/clang/test/CodeGenCXX/
Dlpad-linetable.cpp62 std::vector<short> shorts; in main() local
66 shorts.push_back(i); in main()
/external/clang/test/CodeGenCXX/
Dlpad-linetable.cpp62 std::vector<short> shorts; in main() local
66 shorts.push_back(i); in main()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestArrayConversions.java42 verifyShortArrayConversion(shorts(), short[].class); in testArrayIdentityTransforms()
63 short[] data = shorts(); in testShortArrayToX()
135 private short[] shorts() { return new short[] { 1, -1, 0, 98, 127 }; } in shorts() method in TestArrayConversions
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/
DArrays.java517 public static int hashCode(short[][][] shorts) in hashCode() argument
521 for (int i = 0; i != shorts.length; i++) in hashCode()
523 hc = hc * 257 + hashCode(shorts[i]); in hashCode()
529 public static int hashCode(short[][] shorts) in hashCode() argument
533 for (int i = 0; i != shorts.length; i++) in hashCode()
535 hc = hc * 257 + hashCode(shorts[i]); in hashCode()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DArrays.java517 public static int hashCode(short[][][] shorts) in hashCode() argument
521 for (int i = 0; i != shorts.length; i++) in hashCode()
523 hc = hc * 257 + hashCode(shorts[i]); in hashCode()
529 public static int hashCode(short[][] shorts) in hashCode() argument
533 for (int i = 0; i != shorts.length; i++) in hashCode()
535 hc = hc * 257 + hashCode(shorts[i]); in hashCode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DArrays.java515 public static int hashCode(short[][][] shorts) in hashCode() argument
519 for (int i = 0; i != shorts.length; i++) in hashCode()
521 hc = hc * 257 + hashCode(shorts[i]); in hashCode()
527 public static int hashCode(short[][] shorts) in hashCode() argument
531 for (int i = 0; i != shorts.length; i++) in hashCode()
533 hc = hc * 257 + hashCode(shorts[i]); in hashCode()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsonschema/
DTestReadJsonSchema.java22 public short[] shorts; field in TestReadJsonSchema.Schemable
/external/javassist/src/test/test/javassist/convert/
DArrayAccessReplaceTest.java285 private short[] shorts; field in ArrayAccessReplaceTest.Simple
337 return shorts[pos]; in getShort()
381 shorts[pos] = value; in setShort()
/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java195 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); in testToArray_withConversion() local
202 assertTrue(Arrays.equals(array, Bytes.toArray(shorts))); in testToArray_withConversion()
DShortsTest.java446 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); in testToArray_withConversion() local
453 assertTrue(Arrays.equals(array, Shorts.toArray(shorts))); in testToArray_withConversion()
DIntsTest.java417 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); in testToArray_withConversion() local
424 assertTrue(Arrays.equals(array, Ints.toArray(shorts))); in testToArray_withConversion()
DFloatsTest.java436 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); in testToArray_withConversion() local
443 assertTrue(Arrays.equals(array, Floats.toArray(shorts))); in testToArray_withConversion()
/external/guava/android/guava-tests/test/com/google/common/primitives/
DBytesTest.java195 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); in testToArray_withConversion() local
202 assertTrue(Arrays.equals(array, Bytes.toArray(shorts))); in testToArray_withConversion()
DShortsTest.java446 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); in testToArray_withConversion() local
453 assertTrue(Arrays.equals(array, Shorts.toArray(shorts))); in testToArray_withConversion()
DIntsTest.java417 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); in testToArray_withConversion() local
424 assertTrue(Arrays.equals(array, Ints.toArray(shorts))); in testToArray_withConversion()
DFloatsTest.java436 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); in testToArray_withConversion() local
443 assertTrue(Arrays.equals(array, Floats.toArray(shorts))); in testToArray_withConversion()
/external/rust/crates/clap/src/completions/
Dbash.rs188 let mut opts = shorts!(p).fold(String::new(), |acc, s| format!("{} -{}", acc, s)); in all_options_for_path()

123