Home
last modified time | relevance | path

Searched refs:asBytes (Results 1 – 17 of 17) sorted by relevance

/external/yaffs2/yaffs2/utils/
Dmkyaffsimage.c145 unsigned char *b = ((yaffs_TagsUnion *)tags)->asBytes; in yaffs_CalcTagsECC()
193 sparePtr->tagByte0 = tu->asBytes[0]; in yaffs_LoadTagsIntoSpare()
194 sparePtr->tagByte1 = tu->asBytes[1]; in yaffs_LoadTagsIntoSpare()
195 sparePtr->tagByte2 = tu->asBytes[2]; in yaffs_LoadTagsIntoSpare()
196 sparePtr->tagByte3 = tu->asBytes[3]; in yaffs_LoadTagsIntoSpare()
197 sparePtr->tagByte4 = tu->asBytes[4]; in yaffs_LoadTagsIntoSpare()
198 sparePtr->tagByte5 = tu->asBytes[5]; in yaffs_LoadTagsIntoSpare()
199 sparePtr->tagByte6 = tu->asBytes[6]; in yaffs_LoadTagsIntoSpare()
200 sparePtr->tagByte7 = tu->asBytes[7]; in yaffs_LoadTagsIntoSpare()
214 temp.asBytes[0] = ((tags->asBytes[2] & 0x0F) << 4) | ((tags->asBytes[1] & 0xF0) >> 4); in little_to_big_endian()
[all …]
/external/yaffs2/yaffs2/
Dyaffs_tagscompat.c69 unsigned char *b = ((yaffs_TagsUnion *) tags)->asBytes; in yaffs_CalcTagsECC()
99 unsigned char *b = ((yaffs_TagsUnion *) tags)->asBytes; in yaffs_CheckECCOnTags()
127 sparePtr->tagByte0 = tu->asBytes[0]; in yaffs_LoadTagsIntoSpare()
128 sparePtr->tagByte1 = tu->asBytes[1]; in yaffs_LoadTagsIntoSpare()
129 sparePtr->tagByte2 = tu->asBytes[2]; in yaffs_LoadTagsIntoSpare()
130 sparePtr->tagByte3 = tu->asBytes[3]; in yaffs_LoadTagsIntoSpare()
131 sparePtr->tagByte4 = tu->asBytes[4]; in yaffs_LoadTagsIntoSpare()
132 sparePtr->tagByte5 = tu->asBytes[5]; in yaffs_LoadTagsIntoSpare()
133 sparePtr->tagByte6 = tu->asBytes[6]; in yaffs_LoadTagsIntoSpare()
134 sparePtr->tagByte7 = tu->asBytes[7]; in yaffs_LoadTagsIntoSpare()
[all …]
Dyaffs_guts.h146 __u8 asBytes[8]; member
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DIsValidUtf8Test.java104 assertTrue(asBytes("").isValidUtf8()); in testSomeSequences()
107 assertTrue(asBytes("\u0000abc\u007f").isValidUtf8()); in testSomeSequences()
110 assertTrue(asBytes("\u00a2\u00a2").isValidUtf8()); in testSomeSequences()
113 assertTrue(asBytes("\u020ac\u020ac").isValidUtf8()); in testSomeSequences()
116 assertTrue(asBytes("\u024B62\u024B62").isValidUtf8()); in testSomeSequences()
120 asBytes("a\u020ac\u00a2b\\u024B62u020acc\u00a2de\u024B62") in testSomeSequences()
167 private static ByteString asBytes(String s) { in asBytes() method in IsValidUtf8Test
/external/guava/guava/src/com/google/common/hash/
DHashCode.java53 public abstract byte[] asBytes(); in asBytes() method in HashCode
65 byte[] hash = asBytes(); in writeBytesTo()
82 return MessageDigest.isEqual(this.asBytes(), that.asBytes()); in equals()
110 byte[] bytes = asBytes(); in toString()
DHashCodes.java44 @Override public byte[] asBytes() { in asBytes() method in HashCodes.IntHashCode
80 @Override public byte[] asBytes() { in asBytes() method in HashCodes.LongHashCode
121 @Override public byte[] asBytes() { in asBytes() method in HashCodes.BytesHashCode
DHashing.java226 byte[] nextBytes = hashCode.asBytes(); in combineOrdered()
251 byte[] nextBytes = hashCode.asBytes(); in combineUnordered()
287 buffer.put(hasher.hash().asBytes()); in makeHash()
/external/guava/guava-tests/test/com/google/common/hash/
DHashCodesTest.java74 assertTrue(Arrays.equals(expected.bytes, hash.asBytes())); in assertExpectedHashCode()
93 byte[] original = hash.asBytes(); in assertSideEffectFree()
94 byte[] mutated = hash.asBytes(); in assertSideEffectFree()
96 assertTrue(Arrays.equals(original, hash.asBytes())); in assertSideEffectFree()
101 byte[] hashBytes = hashCode.asBytes(); in assertReadableBytes()
DMurmur3Hash128Test.java55 byte[] hash = murmur3_128(seed).newHasher().putBytes(input).hash().asBytes(); in assertHash()
64 return hasher.hash().asBytes(); in testParanoid()
DMurmur3Hash32Test.java35 return hasher.hash().asBytes(); in testParanoid()
DMessageDigestHashFunctionTest.java32 new MessageDigestHashFunction(algorithmName).hashBytes(input).asBytes()); in assertMessageDigestHashing()
DHashFunctionsTest.java50 assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8); in assertInvariants()
DAbstractStreamingHasherTest.java142 byte[] expected = controlSink.hash().asBytes(); in testExhaustive()
/external/chromium_org/third_party/angle/src/libGLESv2/
DBinaryStream.h191 const char *asBytes = reinterpret_cast<const char*>(v); in write() local
192 mData.insert(mData.end(), asBytes, asBytes + num * sizeof(T)); in write()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
DGCMUtil.java55 static byte[] asBytes(int[] x) in asBytes() method in GCMUtil
62 static void asBytes(int[] x, byte[] z) in asBytes() method in GCMUtil
67 static byte[] asBytes(long[] x) in asBytes() method in GCMUtil
74 static void asBytes(long[] x, byte[] z) in asBytes() method in GCMUtil
DTables1kGCMExponentiator.java40 GCMUtil.asBytes(y, output); in exponentiateX()
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessageLite.java749 private byte[] asBytes; field in GeneratedMessageLite.SerializedForm
757 asBytes = regularForm.toByteArray(); in SerializedForm()
772 builder.mergeFrom(asBytes); in readResolve()