Searched defs:bytes (Results 26 - 50 of 1496) sorted by relevance

1234567891011>>

/external/webrtc/webrtc/base/
H A Dbufferqueue_unittest.cc20 size_t bytes; local
26 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes));
29 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes));
30 EXPECT_EQ(kSize, bytes);
34 EXPECT_FALSE(queue1.WriteBack(in, kSize, &bytes));
38 EXPECT_TRUE(queue1.ReadFront(out, kSize, &bytes));
39 EXPECT_EQ(kSize, bytes);
43 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes));
47 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes));
48 EXPECT_EQ(kSize, bytes);
[all...]
/external/webrtc/webrtc/modules/audio_processing/test/
H A Dprotobuf_utils.cc15 size_t ReadMessageBytesFromFile(FILE* file, rtc::scoped_ptr<uint8_t[]>* bytes) { argument
27 bytes->reset(new uint8_t[size]);
28 return fread(bytes->get(), sizeof((*bytes)[0]), size, file);
33 rtc::scoped_ptr<uint8_t[]> bytes; local
34 size_t size = ReadMessageBytesFromFile(file, &bytes);
39 return msg->ParseFromArray(bytes.get(), size);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bytes/
H A DBytesResource.java1 package com.bumptech.glide.load.resource.bytes;
9 private final byte[] bytes; field in class:BytesResource
11 public BytesResource(byte[] bytes) { argument
12 if (bytes == null) {
15 this.bytes = bytes;
20 return bytes;
25 return bytes.length;
/external/boringssl/include/openssl/
H A Drand.h28 // 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/boringssl/src/include/openssl/
H A Drand.h28 // 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/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDERObjectIdentifier.java15 DERObjectIdentifier(byte[] bytes) argument
17 super(bytes);
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DOpenSSLRandom.java39 protected void engineNextBytes(byte[] bytes) { argument
40 NativeCrypto.RAND_bytes(bytes);
/external/conscrypt/platform/src/main/java/org/conscrypt/
H A DHex.java34 public static String bytesToHexString(byte[] bytes) { argument
35 char[] buf = new char[bytes.length * 2];
37 for (byte b : bytes) {
/external/dhcpcd-6.8.2/compat/
H A Dgetline.c44 size_t bytes, newlen; local
54 bytes = 0;
58 if (*buf == NULL || bytes != 0 || *buflen < BUFSIZ) {
66 p = *buf + bytes;
70 bytes += strlen(p);
71 } while (bytes == 0 || *(*buf + (bytes - 1)) != '\n');
72 if (bytes == 0)
74 return bytes;
/external/dtc/tests/
H A Dappendprop1.c45 uint8_t bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04}; local
60 CHECK(fdt_appendprop(fdt, 0, "prop-bytes", bytes, sizeof(bytes)));
H A Dappendprop2.c45 uint8_t bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04}; local
54 CHECK(fdt_appendprop(fdt, 0, "prop-bytes", bytes, sizeof(bytes)));
/external/emma/core/java12/com/vladium/emma/rt/
H A DClassPathCacheEntry.java28 public ClassPathCacheEntry (final byte [] bytes, final String srcURL) argument
32 $assert.ASSERT (bytes != null, "bytes = null");
36 m_bytes = bytes;
H A DIClassLoadHook.java26 // * returns false, the current loader will load the class bytes itself and
62 * class definition in 'bytes' ('out' could be backed by the same array as
63 * 'bytes')
68 byte [] bytes, int length,
67 processClassDef(String className, byte [] bytes, int length, ByteArrayOStream out) argument
/external/google-tv-pairing-protocol/cpp/src/polo/encoding/
H A Dhexadecimalencoder.cc34 uint8_t* bytes; local
35 size_t length = polo::util::PoloUtil::HexStringToBytes(secret, bytes);
36 std::vector<uint8_t> decoded(bytes, bytes + length);
37 delete[] bytes;
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DRawCollationKey.java35 * // do something with key.bytes
63 bytes = new byte[capacity];
67 * RawCollationKey created, adopting bytes as the internal byte array.
69 * @param bytes byte array to be adopted by RawCollationKey
71 public RawCollationKey(byte[] bytes) argument
73 this.bytes = bytes;
/external/libchrome/base/
H A Dguid_unittest.cc30 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/lzma/CPP/7zip/UI/Console/
H A DOpenCallbackConsole.cpp20 HRESULT COpenCallbackConsole::Open_SetTotal(const UInt64 *files, const UInt64 *bytes) argument
33 if (bytes)
36 // _totalBytes = *bytes;
38 _percent.Total = *bytes;
47 HRESULT COpenCallbackConsole::Open_SetCompleted(const UInt64 *files, const UInt64 *bytes) argument
58 if (bytes)
61 _percent.Completed = *bytes;
/external/mesa3d/src/amd/common/
H A Dac_llvm_helper.cpp40 void ac_add_attr_dereferenceable(LLVMValueRef val, uint64_t bytes) argument
44 B.addDereferenceableAttr(bytes);
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DIsoTypeWriterVariable.java23 public static void write(long v, ByteBuffer bb, int bytes) { argument
24 switch (bytes) {
41 throw new RuntimeException("I don't know how to read " + bytes + " bytes");
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DUnsafeByteOperations.java77 * @param bytes the {@link ByteString} to be written
78 * @param output the output to receive the bytes
81 public static void unsafeWriteTo(ByteString bytes, ByteOutput output) throws IOException { argument
82 bytes.writeTo(output);
/external/protobuf/objectivec/
H A DGPBCodedInputStream_PackagePrivate.h43 const uint8_t *bytes; member in struct:GPBCodedInputStreamState
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowBase64.java12 public static String encodeToString(byte[] bytes, int flags) { argument
14 return base64.encodeBase64String(bytes);
/external/selinux/libselinux/src/
H A Dsha1.h39 uint8_t bytes [SHA1_HASH_SIZE]; member in struct:__anon20342
/external/skia/fuzz/oss_fuzz/
H A DFuzzAnimatedImage.cpp15 void FuzzAnimatedImage(sk_sp<SkData> bytes) { argument
16 auto codec = SkAndroidCodec::MakeFromData(bytes);
43 auto bytes = SkData::MakeWithoutCopy(data, size); local
44 FuzzAnimatedImage(bytes);
H A DFuzzImage.cpp14 void FuzzImage(sk_sp<SkData> bytes) { argument
15 auto img = SkImage::MakeFromEncoded(bytes);
33 auto bytes = SkData::MakeWithoutCopy(data, size); local
34 FuzzImage(bytes);

Completed in 681 milliseconds

1234567891011>>