/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
Square.java | 50 ByteBuffer bb = ByteBuffer.allocateDirect( local 53 bb.order(ByteOrder.nativeOrder()); 54 vertexBuffer = bb.asFloatBuffer();
|
Triangle.java | 47 ByteBuffer bb = ByteBuffer.allocateDirect( local 51 bb.order(ByteOrder.nativeOrder()); 54 vertexBuffer = bb.asFloatBuffer();
|
/external/flatbuffers/android/jni/ |
msbuild.py | 52 bb = string.split(b, ".") 54 if aa[i] != bb[i]: 55 return cmp(int(aa[i]), int(bb[i]))
|
/external/flatbuffers/tests/MyGame/Example/ |
TestSimpleTableWithEnum.java | 14 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; } 17 public byte color() { int o = __offset(4); return o != 0 ? bb.get(o + bb_pos) : 2; } 18 public boolean mutateColor(byte color) { int o = __offset(4); if (o != 0) { bb.put(o + bb_pos, color); return true; } else { return false; } }
|
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/ |
TableInNestedNS.java | 14 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; } 17 public int foo() { int o = __offset(4); return o != 0 ? bb.getInt(o + bb_pos) : 0; } 18 public boolean mutateFoo(int foo) { int o = __offset(4); if (o != 0) { bb.putInt(o + bb_pos, foo); return true; } else { return false; } }
|
/external/flatbuffers/tests/namespace_test/NamespaceA/ |
TableInFirstNS.cs | 14 public ByteBuffer ByteBuffer { get { return __p.bb; } } 17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; } 20 public NamespaceA.NamespaceB.TableInNestedNS? FooTable { get { int o = __p.__offset(4); return o != 0 ? (NamespaceA.NamespaceB.TableInNestedNS?)(new NamespaceA.NamespaceB.TableInNestedNS()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } } 21 public NamespaceA.NamespaceB.EnumInNestedNS FooEnum { get { int o = __p.__offset(6); return o != 0 ? (NamespaceA.NamespaceB.EnumInNestedNS)__p.bb.GetSbyte(o + __p.bb_pos) : NamespaceA.NamespaceB.EnumInNestedNS.A; } } 22 public bool MutateFooEnum(NamespaceA.NamespaceB.EnumInNestedNS foo_enum) { int o = __p.__offset(6); if (o != 0) { __p.bb.PutSbyte(o + __p.bb_pos, (sbyte)foo_enum); return true; } else { return false; } } 23 public NamespaceA.NamespaceB.StructInNestedNS? FooStruct { get { int o = __p.__offset(8); return o != 0 ? (NamespaceA.NamespaceB.StructInNestedNS?)(new NamespaceA.NamespaceB.StructInNestedNS()).__assign(o + __p.bb_pos, __p.bb) : null; } }
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
GlUtil.java | 52 ByteBuffer bb = ByteBuffer.allocateDirect(coords.length * 4); local 53 bb.order(ByteOrder.nativeOrder()); 54 FloatBuffer fb = bb.asFloatBuffer();
|
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/server/ |
ChannelIO.java | 93 ByteBuffer bb = ByteBuffer.allocate(requestBB.capacity() * 2); local 95 bb.put(requestBB); 96 requestBB = bb;
|
/prebuilts/jdk/jdk8/linux-x86/sample/nio/server/ |
ChannelIO.java | 93 ByteBuffer bb = ByteBuffer.allocate(requestBB.capacity() * 2); local 95 bb.put(requestBB); 96 requestBB = bb;
|
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
sain_smart_8_channel_usb_relay_board.py | 78 with BitBangDevice(self.device) as bb: 80 bb.port &= ~(self.address[relay_position]) 82 bb.port |= self.address[relay_position]
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
InputFile.java | 149 ByteBuffer bb; local 152 bb = encoder.encode(cb); 158 return bb.array(); 163 ByteBuffer bb = ByteBuffer.wrap(bytes); local 167 cb = decoder.decode(bb);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
AbstractCharsetTestCase.java | 140 ByteBuffer bb = this.testingCharset.encode(input); local 142 bb.rewind(); 143 while (bb.hasRemaining() && i < output.length) { 144 assertEquals(output[i], bb.get()); 147 assertFalse(bb.hasRemaining());
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
ItemLocationBox.java | 162 Item createItem(ByteBuffer bb) { 163 return new Item(bb); 225 public void getContent(ByteBuffer bb) { 226 IsoTypeWriter.writeUInt16(bb, itemId); 229 IsoTypeWriter.writeUInt16(bb, constructionMethod); 233 IsoTypeWriter.writeUInt16(bb, dataReferenceIndex); 235 IsoTypeWriterVariable.write(baseOffset, bb, baseOffsetSize); 237 IsoTypeWriter.writeUInt16(bb, extents.size()); 240 extent.getContent(bb); 287 Extent createExtent(ByteBuffer bb) { [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipCoder.java | 61 ByteBuffer bb = ByteBuffer.wrap(ba, 0, length); local 63 CoderResult cr = cd.decode(bb, cb, true); 91 ByteBuffer bb = ByteBuffer.wrap(ba); local 93 CoderResult cr = ce.encode(cb, bb, true); 96 cr = ce.flush(bb); 99 if (bb.position() == ba.length) // defensive copy? 102 return Arrays.copyOf(ba, bb.position());
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/ |
MultiTouchView.java | 190 * @param bb ByteBuffer where to construct the message. 195 public void constructEventMessage(ByteBuffer bb, MotionEvent event, int ptr_index) { 196 bb.putInt(event.getPointerId(ptr_index)); 198 bb.putInt((int) (event.getX(ptr_index) / mDx)); 199 bb.putInt((int) (event.getY(ptr_index) / mDy)); 201 bb.putInt((int) (event.getY(ptr_index) / mDy)); 202 bb.putInt((int) (getWidth() - event.getX(ptr_index) / mDx)); 211 bb.putInt(pressure);
|
/external/valgrind/VEX/priv/ |
ir_defs.c | 2259 IRSB* bb = LibVEX_Alloc_inline(sizeof(IRSB)); local [all...] |
/prebuilts/go/darwin-x86/test/ken/ |
complit.go | 13 type SS struct{ aa,bb,cc S }; 28 test("ss.bb.a", ss.bb.a); 29 test("ss.bb.b", ss.bb.b); 30 test("ss.bb.c", ss.bb.c);
|
/prebuilts/go/linux-x86/test/ken/ |
complit.go | 13 type SS struct{ aa,bb,cc S }; 28 test("ss.bb.a", ss.bb.a); 29 test("ss.bb.b", ss.bb.b); 30 test("ss.bb.c", ss.bb.c);
|
/external/tensorflow/tensorflow/python/eager/ |
tape_test.py | 93 bb = constant_op.constant([[1., 2.], [3., 4.]]) 94 da, = backprop.gradients_function(forward, ['a'])(aa, bb) 98 array_ops.transpose(bb)).numpy()) 107 bb = constant_op.constant([[1., 2.], [3., 4.]]) 108 da, = backprop.gradients_function(forward, [0])(aa, bb) 112 array_ops.transpose(bb)).numpy()) 121 bb = constant_op.constant([[1., 2.], [3., 4.]]) 122 val, (da,) = backprop.val_and_grad_function(forward, ['a'])(aa, bb) 126 array_ops.transpose(bb))) 127 self.assertAllEqual(val, forward(aa, bb)) [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_build_util.h | 43 inline BasicBlock *getBB() { return bb; } 46 inline void remove(Instruction *i) { assert(i->bb == bb); bb->remove(i); } 187 BasicBlock *bb; member in class:nv50_ir::BuildUtil 209 bb = block; 210 prog = bb->getProgram(); 211 func = bb->getFunction(); 219 bb = i->bb; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLEngineTest.java | 331 ByteBuffer bb = ByteBuffer.allocate(10); local 336 sse.unwrap(bb, bbA, -1, 3); 341 sse.unwrap(bb, bbA, 0, -3); 346 sse.unwrap(bb, bbA, bbA.length + 1, bbA.length); 351 sse.unwrap(bb, bbA, 0, bbA.length + 1); 368 ByteBuffer bb = ByteBuffer.allocate(10); local 373 sse.unwrap(bb, bbA, 0, bbA.length); 390 ByteBuffer bb = ByteBuffer.allocate(10); local 401 sse.unwrap(bb, bbAN, 0, 3); 406 sse.unwrap(bb, bbN, 0, 0) 427 ByteBuffer bb = ByteBuffer.allocate(10); local 446 ByteBuffer bb = ByteBuffer.allocate(10); local 471 ByteBuffer bb = ByteBuffer.allocate(10); local 506 ByteBuffer bb = ByteBuffer.allocate(MAX_TLS_RECORD_SIZE).asReadOnlyBuffer(); local 553 ByteBuffer bb = ByteBuffer.allocate(MAX_TLS_RECORD_SIZE); local 571 ByteBuffer bb = ByteBuffer.allocate(MAX_TLS_RECORD_SIZE); local 761 ByteBuffer bb = ByteBuffer.allocate(10); local 909 ByteBuffer bb = ByteBuffer.allocate(10); local 940 ByteBuffer bb = ByteBuffer.allocate(10).asReadOnlyBuffer(); local 961 ByteBuffer bb = ByteBuffer.allocate(10); local 992 ByteBuffer bb = ByteBuffer.allocate(10); local 1009 ByteBuffer bb = ByteBuffer.allocate(2000); local [all...] |
/external/boringssl/src/crypto/ |
mem.c | 198 const int bb = OPENSSL_tolower(b[i]); local 200 if (aa < bb) { 202 } else if (aa > bb) { 213 const int bb = OPENSSL_tolower(b[i]); local 215 if (aa < bb) { 217 } else if (aa > bb) {
|
/external/clang/test/Analysis/ |
dynamic-cast.cpp | 16 class BB: public B{}; 51 BB bb; local 52 B *pb = &bb; 66 BB bb; local 67 A *pbb = &bb; 69 BB *s = dynamic_cast<BB*>(b); 81 BB bb local [all...] |
/external/guava/guava/src/com/google/common/hash/ |
Murmur3_32HashFunction.java | 161 @Override protected void process(ByteBuffer bb) { 162 int k1 = Murmur3_32HashFunction.mixK1(bb.getInt()); 167 @Override protected void processRemaining(ByteBuffer bb) { 168 length += bb.remaining(); 170 for (int i = 0; bb.hasRemaining(); i += 8) { 171 k1 ^= toInt(bb.get()) << i;
|
/external/guava/guava-tests/test/com/google/common/hash/ |
AbstractNonStreamingHashFunctionTest.java | 110 protected void process(ByteBuffer bb) { 111 while (bb.hasRemaining()) { 112 out.write(bb.get()); 117 protected void processRemaining(ByteBuffer bb) { 118 while (bb.hasRemaining()) { 119 out.write(bb.get());
|