Home | History | Annotate | Download | only in src

Lines Matching refs:shortBuf

44         ShortBuffer shortBuf = directBuf.asShortBuffer();
53 shortBuf.position(0);
54 shortBuf.put(myShorts, 0, 32); // should work
55 shortBuf.position(0);
56 shortBuf.put(myShorts, 16, 16); // should work
57 shortBuf.put(myShorts, 16, 16); // advance to end
60 shortBuf.put(myShorts, 0, 1); // should fail
67 shortBuf.position(0);
68 shortBuf.put(myShorts, 0, 33); // should fail
75 shortBuf.position(16);
76 shortBuf.put(myShorts, 0, 17); // should fail
123 ShortBuffer shortBuf = directBuf.asShortBuffer();
141 if (shortBuf.put(1, shortValue).get(1) != shortValue) {