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

1234567891011>>

/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/c-ares/
H A Dares_writev.c32 size_t bytes = 0; local
45 if (iov[i].iov_len > INT_MAX - bytes)
50 bytes += iov[i].iov_len;
53 if (bytes == 0)
57 buffer = malloc(bytes);
72 result = swrite(s, buffer, 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.java30 public static String bytesToHexString(byte[] bytes) { argument
31 char[] buf = new char[bytes.length * 2];
33 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/icu/icu4c/source/test/intltest/
H A Dtestutil.cpp56 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { argument
59 buf.append(HEX[0x0F & (bytes[i] >> 4)]);
60 buf.append(HEX[0x0F & bytes[i]]);
/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/libtextclassifier/common/memory_image/
H A Din-memory-model-data.h29 // to the bytes of the TaskInputs mentioned in that spec (all these bytes are in
36 // content bytes. This way, it is possible to have all TaskInputs in memory,
48 // Constructs an InMemoryModelData based on a chunk of bytes. Those bytes
50 explicit InMemoryModelData(StringPiece bytes) : data_store_(bytes) {} argument
53 // DataStoreBuilder (when building the bytes used to construct this
56 // retrieve the corresponding file content bytes via GetBytesForInputFile().
61 // Gets content bytes fo
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A Dloader.cpp23 unsigned char * bytes; local
34 radeon_llvm_compile(wrap(mod), &bytes, &byte_count, TargetGPUName.c_str(), 1); local
/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:__anon16631
/external/skia/src/core/
H A DSkOpts.h58 static inline uint32_t hash(const void* data, size_t bytes, uint32_t seed=0) { argument
59 return hash_fn(data, bytes, seed);

Completed in 8205 milliseconds

1234567891011>>