/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
D | TensorTest.java | 180 ByteBuffer bbuf = ByteBuffer.allocate(1024).order(ByteOrder.nativeOrder()); in writeTo() local 182 bbuf.clear(); // FLOAT in writeTo() 183 tfloats.writeTo(bbuf); in writeTo() 184 assertEquals(tfloats.numBytes(), bbuf.position()); in writeTo() 185 bbuf.flip(); in writeTo() 186 assertEquals(floats[0], bbuf.asFloatBuffer().get(0), EPSILON); in writeTo() 187 bbuf.clear(); // DOUBLE in writeTo() 188 tdoubles.writeTo(bbuf); in writeTo() 189 assertEquals(tdoubles.numBytes(), bbuf.position()); in writeTo() 190 bbuf.flip(); in writeTo() [all …]
|
/external/tensorflow/tensorflow/contrib/lite/java/src/test/java/org/tensorflow/lite/ |
D | NativeInterpreterWrapperTest.java | 158 ByteBuffer bbuf = ByteBuffer.allocateDirect(2 * 8 * 8 * 3); in testRunWithByteBufferHavingBytes() local 159 bbuf.order(ByteOrder.nativeOrder()); in testRunWithByteBufferHavingBytes() 160 bbuf.rewind(); in testRunWithByteBufferHavingBytes() 164 bbuf.put((byte) 0xe0); in testRunWithByteBufferHavingBytes() 165 bbuf.put((byte) 0x4f); in testRunWithByteBufferHavingBytes() 166 bbuf.put((byte) 0xd0); in testRunWithByteBufferHavingBytes() 170 Object[] inputs = {bbuf}; in testRunWithByteBufferHavingBytes() 189 ByteBuffer bbuf = ByteBuffer.allocateDirect(4 * 8 * 8 * 3 * 4); in testRunWithByteBufferHavingFloats() local 190 bbuf.order(ByteOrder.nativeOrder()); in testRunWithByteBufferHavingFloats() 191 bbuf.rewind(); in testRunWithByteBufferHavingFloats() [all …]
|
/external/syslinux/com32/lib/syslinux/ |
D | pxe_get_cached.c | 47 void *bbuf, *nbuf; in pxe_get_cached_info() local 54 bbuf = &gci[1]; in pxe_get_cached_info() 59 gci->Buffer.seg = SEG(bbuf); in pxe_get_cached_info() 60 gci->Buffer.offs = OFFS(bbuf); in pxe_get_cached_info() 80 memcpy(nbuf, bbuf, gci->BufferSize); in pxe_get_cached_info()
|
/external/ImageMagick/coders/ |
D | wpg.c | 454 bbuf, in UnpackWPGRaster() local 477 bbuf=(unsigned char) c; in UnpackWPGRaster() 478 RunCount=bbuf & 0x7F; in UnpackWPGRaster() 479 if(bbuf & 0x80) in UnpackWPGRaster() 483 bbuf=ReadBlobByte(image); in UnpackWPGRaster() 484 for(i=0;i<(int) RunCount;i++) InsertByte(bbuf); in UnpackWPGRaster() 499 bbuf=ReadBlobByte(image); in UnpackWPGRaster() 500 InsertByte(bbuf); in UnpackWPGRaster() 571 bbuf, in UnpackWPG2Raster() local 585 bbuf=ReadBlobByte(image); in UnpackWPG2Raster() [all …]
|
/external/aac/libArithCoding/src/ |
D | ac_arith_coder.cpp | 612 static void decode2(HANDLE_FDK_BITSTREAM bbuf, UCHAR *RESTRICT c_prev, in decode2() argument 628 as.vobf = FDKreadBits(bbuf, cbitsnew); in decode2() 651 r = ari_decode_14bits(bbuf, &as, ari_pk[pki], VAL_ESC + 1); in decode2() 678 r = ari_decode_14bits(bbuf, &as, ari_lsb2[pidx], 4); in decode2() 702 FDKpushBack(bbuf, cbitsnew - 2); in decode2() 713 r = FDKreadBits(bbuf, bits); in decode2()
|
/external/libvncserver/libvncserver/ |
D | websockets.c | 202 char bbuf[4], *scheme; in webSocketsCheck() local 205 ret = rfbPeekExactTimeout(cl, bbuf, 4, in webSocketsCheck() 215 if (strncmp(bbuf, "<", 1) == 0) { in webSocketsCheck() 222 } else if (strncmp(bbuf, "\x16", 1) == 0 || strncmp(bbuf, "\x80", 1) == 0) { in webSocketsCheck() 228 ret = rfbPeekExactTimeout(cl, bbuf, 4, WEBSOCKETS_CLIENT_CONNECT_WAIT_MS); in webSocketsCheck() 234 if (strncmp(bbuf, "GET ", 4) != 0) { in webSocketsCheck()
|
/external/webrtc/webrtc/p2p/base/ |
D | stunserver.cc | 31 rtc::ByteBuffer bbuf(buf, size); in OnPacket() local 33 if (!msg.Read(&bbuf)) { in OnPacket()
|
/external/e2fsprogs/lib/ext2fs/ |
D | inline_data.c | 284 char *bbuf, char *ibuf, int size) in ext2fs_inline_data_convert_dir() argument 304 dir = (struct ext2_dir_entry *) bbuf; in ext2fs_inline_data_convert_dir() 315 dir = (struct ext2_dir_entry *) (bbuf + dir->rec_len); in ext2fs_inline_data_convert_dir() 327 dir = (struct ext2_dir_entry *) (bbuf + offset); in ext2fs_inline_data_convert_dir() 328 memcpy(bbuf + offset, ibuf + EXT4_INLINE_DATA_DOTDOT_SIZE, in ext2fs_inline_data_convert_dir() 339 dir = (struct ext2_dir_entry *) (bbuf + offset); in ext2fs_inline_data_convert_dir() 347 t = EXT2_DIRENT_TAIL(bbuf, fs->blocksize); in ext2fs_inline_data_convert_dir()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdateintervalformattest.c | 296 char bbuf[kSizeBBuf]; in TestFPos_SkelWithSeconds() local 306 u_strToUTF8(bbuf, kSizeBBuf, NULL, ubuf, ulen, &status); in TestFPos_SkelWithSeconds() 311 fpos.beginIndex, fpos.endIndex, bbuf); in TestFPos_SkelWithSeconds()
|
D | cnumtst.c | 2593 char bbuf[kUBufMax*2]; in TestContext() local 2594 u_austrncpy(bbuf, ubufResult, sizeof(bbuf)); in TestContext() 2597 itemPtr->expectedResult, ulenRes, bbuf); in TestContext()
|
/external/mdnsresponder/mDNSWindows/ |
D | mDNSWin32.h | 64 uint8_t bbuf[ 4192 ]; member
|
D | mDNSWin32.c | 1191 sock->bptr = sock->bbuf; in mDNSPlatformReadTCP() 1192 sock->eptr = sock->bbuf; in mDNSPlatformReadTCP() 1255 sock->bptr = sock->bbuf; in TCPAddSocket() 1256 sock->eptr = sock->bbuf; in TCPAddSocket() 1257 sock->ebuf = sock->bbuf + sizeof( sock->bbuf ); in TCPAddSocket()
|
/external/libvncserver/webclients/java-applet/ssl/ |
D | ultravnc-102-JavaViewer-ssl-etc.patch | 1456 + ByteBuffer bbuf = encoder.encode(CharBuffer.wrap(f1.toCharArray())); 1458 + CharBuffer cbuf = decoder.decode(bbuf); 1461 +System.out.println("did bbuf: " + f1);
|