/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
D | TensorTest.java | 181 ByteBuffer bbuf = ByteBuffer.allocate(1024).order(ByteOrder.nativeOrder()); in writeTo() local 183 clearBuffer(bbuf); // FLOAT in writeTo() 184 tfloats.writeTo(bbuf); in writeTo() 185 assertEquals(tfloats.numBytes(), bbuf.position()); in writeTo() 186 flipBuffer(bbuf); in writeTo() 187 assertEquals(floats[0], bbuf.asFloatBuffer().get(0), EPSILON); in writeTo() 188 clearBuffer(bbuf); // DOUBLE in writeTo() 189 tdoubles.writeTo(bbuf); in writeTo() 190 assertEquals(tdoubles.numBytes(), bbuf.position()); in writeTo() 191 flipBuffer(bbuf); in writeTo() [all …]
|
/external/openssh/regress/unittests/bitmap/ |
D | tests.c | 34 u_char bbuf[1024], bnbuf[1024]; in tests() local 84 memset(bbuf, 0xfc, sizeof(bbuf)); in tests() 85 ASSERT_INT_EQ(bitmap_to_string(b, bbuf, in tests() 86 sizeof(bbuf)), 0); in tests() 87 for (n = len; n < (int)sizeof(bbuf); n++) in tests() 88 ASSERT_U8_EQ(bbuf[n], 0xfc); in tests() 92 ASSERT_MEM_EQ(bbuf, bnbuf, len); in tests()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | NativeInterpreterWrapperTest.java | 277 ByteBuffer bbuf = ByteBuffer.allocateDirect(2 * 8 * 8 * 3); in testRunWithByteBufferHavingBytes() local 278 bbuf.order(ByteOrder.nativeOrder()); in testRunWithByteBufferHavingBytes() 279 bbuf.rewind(); in testRunWithByteBufferHavingBytes() 283 bbuf.put((byte) 0xe0); in testRunWithByteBufferHavingBytes() 284 bbuf.put((byte) 0x4f); in testRunWithByteBufferHavingBytes() 285 bbuf.put((byte) 0xd0); in testRunWithByteBufferHavingBytes() 289 bbuf.rewind(); in testRunWithByteBufferHavingBytes() 290 Object[] inputs = {bbuf}; in testRunWithByteBufferHavingBytes() 309 ByteBuffer bbuf = ByteBuffer.allocateDirect(4 * 8 * 8 * 3 * 4); in testRunWithByteBufferHavingFloats() local 310 bbuf.order(ByteOrder.nativeOrder()); in testRunWithByteBufferHavingFloats() [all …]
|
/external/ImageMagick/coders/ |
D | wpg.c | 449 bbuf, in UnpackWPGRaster() local 473 bbuf=(unsigned char) c; in UnpackWPGRaster() 474 RunCount=bbuf & 0x7F; in UnpackWPGRaster() 475 if(bbuf & 0x80) in UnpackWPGRaster() 479 bbuf=ReadBlobByte(image); in UnpackWPGRaster() 480 for(i=0;i<(int) RunCount;i++) InsertByte(bbuf); in UnpackWPGRaster() 576 bbuf, in UnpackWPG2Raster() local 591 bbuf=ReadBlobByte(image); in UnpackWPG2Raster() 593 switch(bbuf) in UnpackWPG2Raster() 628 for(bbuf=0; bbuf < SampleSize; bbuf++) in UnpackWPG2Raster() [all …]
|
/external/aac/libArithCoding/src/ |
D | ac_arith_coder.cpp | 612 static ARITH_CODING_ERROR decode2(HANDLE_FDK_BITSTREAM bbuf, in decode2() argument 631 as.vobf = FDKreadBits(bbuf, cbitsnew); in decode2() 654 r = ari_decode_14bits(bbuf, &as, ari_pk[pki], VAL_ESC + 1); in decode2() 683 r = ari_decode_14bits(bbuf, &as, ari_lsb2[pidx], 4); in decode2() 707 FDKpushBack(bbuf, cbitsnew - 2); in decode2() 718 r = FDKreadBits(bbuf, bits); in decode2()
|
/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 | 274 char *bbuf, char *ibuf, int size) in ext2fs_inline_data_convert_dir() argument 294 dir = (struct ext2_dir_entry *) bbuf; in ext2fs_inline_data_convert_dir() 305 dir = (struct ext2_dir_entry *) (bbuf + dir->rec_len); in ext2fs_inline_data_convert_dir() 317 dir = (struct ext2_dir_entry *) (bbuf + offset); in ext2fs_inline_data_convert_dir() 318 memcpy(bbuf + offset, ibuf + EXT4_INLINE_DATA_DOTDOT_SIZE, in ext2fs_inline_data_convert_dir() 329 dir = (struct ext2_dir_entry *) (bbuf + offset); in ext2fs_inline_data_convert_dir() 337 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 | 2609 char bbuf[kUBufMax*2]; in TestContext() local 2610 u_austrncpy(bbuf, ubufResult, sizeof(bbuf)); in TestContext() 2613 itemPtr->expectedResult, ulenRes, bbuf); in TestContext()
|
/external/tensorflow/tensorflow/go/ |
D | tensor_test.go | 248 bbuf := new(bytes.Buffer) 249 if _, err := bts.WriteContentsTo(bbuf); err != nil { 255 abbuf := io.MultiReader(abuf, bbuf)
|
/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/icu/icu4c/source/test/intltest/ |
D | tmsgfmt.cpp | 1017 char bbuf[96]; in testSetLocale() local 1018 result.extract(0, result.length(), bbuf, sizeof(bbuf)); in testSetLocale() 1019 dataerrln("*** MSG format err. - %s; result was %s", u_errorName(err), bbuf); in testSetLocale()
|