/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bytes/ |
BytesResource.java | 1 package com.bumptech.glide.load.resource.bytes; 9 private final byte[] bytes; field in class:BytesResource 11 public BytesResource(byte[] bytes) { 12 if (bytes == null) { 13 throw new NullPointerException("Bytes must not be null"); 15 this.bytes = bytes; 20 return bytes; 25 return bytes.length;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ICUBinaryTest.java | 77 ByteBuffer bytes = ByteBuffer.wrap(array); local 88 ICUBinary.readHeader(bytes, formatid, authenticate); 94 bytes.rewind(); 95 ICUBinary.readHeader(bytes, formatid, null); 102 bytes.rewind(); 103 ICUBinary.readHeader(bytes, formatid, authenticate); 110 bytes.rewind(); 111 ICUBinary.readHeader(bytes, formatid, authenticate);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ICUBinaryTest.java | 74 ByteBuffer bytes = ByteBuffer.wrap(array); local 85 ICUBinary.readHeader(bytes, formatid, authenticate); 91 bytes.rewind(); 92 ICUBinary.readHeader(bytes, formatid, null); 99 bytes.rewind(); 100 ICUBinary.readHeader(bytes, formatid, authenticate); 107 bytes.rewind(); 108 ICUBinary.readHeader(bytes, formatid, authenticate);
|
/art/runtime/gc/collector/ |
object_byte_pair.h | 28 : objects(num_objects), bytes(num_bytes) {} 31 bytes += other.bytes; 35 // Freed bytes are signed since the GC can free negative bytes if it promotes objects to a space 37 int64_t bytes; member in struct:art::gc::collector::ObjectBytePair
|
/art/test/1901-get-bytecodes/ |
bytecodes.cc | 57 jbyte* bytes = env->GetByteArrayElements(out, /* is_copy */ nullptr); local 58 memcpy(bytes, bytecodes, bytecodes_size); 59 env->ReleaseByteArrayElements(out, bytes, 0);
|
/dalvik/dx/src/com/android/dex/util/ |
ByteArrayByteInput.java | 21 private final byte[] bytes; field in class:ByteArrayByteInput 24 public ByteArrayByteInput(byte... bytes) { 25 this.bytes = bytes; 30 return bytes[position++];
|
/external/boringssl/src/crypto/ |
compiler_test.cc | 55 EXPECT_EQ(Bytes(expected), 56 Bytes(reinterpret_cast<const uint8_t *>(&value), sizeof(value))); 172 uint8_t bytes[sizeof(null)] = {0}; local 173 EXPECT_EQ(Bytes(bytes), 174 Bytes(reinterpret_cast<uint8_t *>(&null), sizeof(null)));
|
/external/boringssl/src/include/openssl/ |
rand.h | 28 // RAND_bytes writes |len| bytes of random data to |buf| and returns one. 104 int (*bytes) (uint8_t *buf, size_t num); member in struct:rand_meth_st
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSProcessableByteArray.java | 19 private final byte[] bytes; field in class:CMSProcessableByteArray 22 byte[] bytes) 24 this(new ASN1ObjectIdentifier(CMSObjectIdentifiers.data.getId()), bytes); 29 byte[] bytes) 32 this.bytes = bytes; 37 return new ByteArrayInputStream(bytes); 43 zOut.write(bytes); 48 return Arrays.clone(bytes);
|
/external/curl/docs/examples/ |
sampleconv.c | 48 size_t bytes = length; local 51 rc = platform_a2e(&tempptrin, &bytes, &tempptrout, &bytes); 63 size_t bytes = length; local 66 rc = platform_e2a(&tempptrin, &bytes, &tempptrout, &bytes); 78 size_t bytes = length; local 81 rc = platform_u2e(&tempptrin, &bytes, &tempptrout, &bytes);
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
Platform.java | 42 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 44 ObjectOutputStream out = new ObjectOutputStream(bytes); 47 new ByteArrayInputStream(bytes.toByteArray()));
|
/external/libavc/test/encoder/ |
output.c | 51 WORD32 bytes; local 53 bytes = fwrite(pu1_buf, sizeof(UWORD8), num_bytes, fp); 54 if(bytes != num_bytes)
|
/external/libchrome/base/ |
guid_unittest.cc | 30 uint64_t bytes[] = {0, 0}; local 31 std::string clientid = RandomDataToGUIDString(bytes); 36 uint64_t bytes[] = {0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL}; local 37 std::string clientid = RandomDataToGUIDString(bytes);
|
/external/libcups/cups/ |
getputfile.c | 43 ssize_t bytes; /* Number of bytes read */ local 166 while ((bytes = httpRead2(http, buffer, sizeof(buffer))) > 0) 167 write(fd, buffer, (size_t)bytes); 266 ssize_t bytes; /* Number of bytes read */ local 347 while ((bytes = read(fd, buffer, sizeof(buffer))) > 0) 354 httpWrite2(http, buffer, (size_t)bytes);
|
/external/libffi/src/ |
prep_cif.c | 113 unsigned bytes = 0; local 163 bytes = STACK_ARG_SIZE(sizeof(void*)); 187 bytes += sizeof(void*); 192 if (((*ptr)->alignment - 1) & bytes) 193 bytes = (unsigned)ALIGN(bytes, (*ptr)->alignment); 196 if (bytes < 10 * FFI_SIZEOF_ARG && 197 bytes + STACK_ARG_SIZE((*ptr)->size) > 10 * FFI_SIZEOF_ARG) 201 bytes = 10 * FFI_SIZEOF_ARG; 205 if (bytes <= 6*4 && bytes + STACK_ARG_SIZE((*ptr)->size) > 6*4 [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_linear.c | 42 size_t bytes = t->cols * t->block.size; local 51 ptr = (char*)src_ptr + src_stride * t->rows * y + bytes * x; 53 memcpy(dst_ptr2, ptr, bytes); 54 dst_ptr2 += bytes; 66 size_t bytes = t->cols * t->block.size; local 73 ptr = (char*)dst_ptr + dst_stride * t->rows * y + bytes * x; 75 memcpy(ptr, src_ptr2, bytes); 76 src_ptr2 += bytes;
|
/external/protobuf/objectivec/ |
GPBCodedInputStream_PackagePrivate.h | 43 const uint8_t *bytes; member in struct:GPBCodedInputStreamState
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
prep_cif.c | 113 unsigned bytes = 0; local 159 bytes = STACK_ARG_SIZE(sizeof(void*)); 179 bytes += sizeof(void*); 184 if (((*ptr)->alignment - 1) & bytes) 185 bytes = (unsigned)ALIGN(bytes, (*ptr)->alignment); 188 if (bytes < 10 * FFI_SIZEOF_ARG && 189 bytes + STACK_ARG_SIZE((*ptr)->size) > 10 * FFI_SIZEOF_ARG) 193 bytes = 10 * FFI_SIZEOF_ARG; 197 if (bytes <= 6*4 && bytes + STACK_ARG_SIZE((*ptr)->size) > 6*4 [all...] |
/external/python/cpython2/Modules/_ctypes/libffi_osx/ |
ffi.c | 144 unsigned int bytes = 0; local 174 bytes = STACK_ARG_SIZE(sizeof(void*)); 197 if ((align - 1) & bytes) 198 bytes = ALIGN(bytes, align); 200 bytes += STACK_ARG_SIZE((*ptr)->size); 208 bytes += sizeof(void*); 213 if (((*ptr)->alignment - 1) & bytes) 214 bytes = ALIGN(bytes, (*ptr)->alignment) [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/ |
prep_cif.c | 113 unsigned bytes = 0; local 159 bytes = STACK_ARG_SIZE(sizeof(void*)); 179 bytes += sizeof(void*); 184 if (((*ptr)->alignment - 1) & bytes) 185 bytes = (unsigned)ALIGN(bytes, (*ptr)->alignment); 188 if (bytes < 10 * FFI_SIZEOF_ARG && 189 bytes + STACK_ARG_SIZE((*ptr)->size) > 10 * FFI_SIZEOF_ARG) 193 bytes = 10 * FFI_SIZEOF_ARG; 197 if (bytes <= 6*4 && bytes + STACK_ARG_SIZE((*ptr)->size) > 6*4 [all...] |
/external/python/cpython3/Modules/_ctypes/libffi_osx/ |
ffi.c | 139 unsigned int bytes = 0; local 175 bytes = STACK_ARG_SIZE(sizeof(void*)); 198 if ((align - 1) & bytes) 199 bytes = ALIGN(bytes, align); 201 bytes += STACK_ARG_SIZE((*ptr)->size); 209 bytes += sizeof(void*); 214 if (((*ptr)->alignment - 1) & bytes) 215 bytes = ALIGN(bytes, (*ptr)->alignment) [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
NdefRecordTest.java | 15 byte[] bytes = "mumble".getBytes(); 16 NdefRecord ndefRecord = new NdefRecord(bytes); 18 assertSame(ndefRecord.getPayload(), bytes); local
|
/external/selinux/libselinux/src/ |
sha1.h | 39 uint8_t bytes [SHA1_HASH_SIZE]; member in struct:__anon33674
|
/external/skia/fuzz/oss_fuzz/ |
FuzzAnimatedImage.cpp | 15 void FuzzAnimatedImage(sk_sp<SkData> bytes) { 16 auto codec = SkAndroidCodec::MakeFromData(bytes); 43 auto bytes = SkData::MakeWithoutCopy(data, size); local 44 FuzzAnimatedImage(bytes);
|
/external/skia/src/core/ |
SkBigPicture.cpp | 59 size_t bytes = sizeof(*this) + fRecord->bytesUsed() + fApproxBytesUsedBySubPictures; local 60 if (fBBH) { bytes += fBBH->bytesUsed(); } 61 return bytes;
|