HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 26 - 50 of 2355) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/webrtc/base/
stream_unittest.cc 77 size_t bytes; local
81 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS);
82 EXPECT_EQ(bytes, kBufSize);
84 EXPECT_TRUE(stream->GetPosition(&bytes));
85 EXPECT_EQ(13U, bytes);
89 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS);
90 EXPECT_EQ(bytes, kBufSize);
92 EXPECT_TRUE(stream->GetPosition(&bytes));
93 EXPECT_EQ(20U, bytes);
109 size_t bytes; local
167 size_t bytes; local
446 char bytes[100]; local
    [all...]
  /external/chromium_org/cc/resources/
resource.cc 9 size_t Resource::bytes() const { function in class:cc::Resource
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/crypto/
ByteArrayGenerator.java 25 byte[] bytes = new byte[numBytes];
26 if (bytes.length != fis.read(bytes)) {
29 return bytes;
  /external/chromium_org/crypto/
random.h 14 // Fills the given buffer with |length| random bytes of cryptographically
17 CRYPTO_EXPORT void RandBytes(void *bytes, size_t length);
  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
SecureRandomInitializer.java 26 byte[] bytes = new byte[NUM_RANDOM_BYTES];
27 if (bytes.length != fis.read(bytes)) {
30 generator.setSeed(bytes);
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
encode.h 29 uint16_t *bytes, /* (o) encoded data bits iLBC */
  /external/google-tv-pairing-protocol/cpp/src/polo/util/
poloutil.h 29 // Converts an array of big-endian bytes to a hex string.
30 // @param bytes an array of big-endian bytes
33 static const std::string BytesToHexString(const uint8_t* bytes,
36 // Converts a hex string to an array of big-endian bytes. A new byte array
37 // is created at the given bytes pointer, and the number of bytes is returned.
38 // The byte array must be freed using: delete[] bytes.
40 // @param bytes pointer to a byte array that will be created with the
42 // @return the number of bytes in the resulting byte arra
    [all...]
poloutil.cc 22 const std::string PoloUtil::BytesToHexString(const uint8_t* bytes,
25 BIGNUM* bn = BN_bin2bn(bytes, length, NULL);
34 uint8_t*& bytes) {
39 bytes = new uint8_t[length];
40 BN_bn2bin(bn, &bytes[0]);
46 uint8_t*& bytes) {
51 // Initialize the array to 0 so there will be leading null bytes if the
52 // number is less than 4 bytes long.
53 bytes = new uint8_t[4];
55 bytes[i] = 0
    [all...]
  /external/emma/core/java12/com/vladium/emma/rt/
ClassPathCacheEntry.java 28 public ClassPathCacheEntry (final byte [] bytes, final String srcURL)
32 $assert.ASSERT (bytes != null, "bytes = null");
36 m_bytes = bytes;
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
IsoTypeReaderVariable.java 22 public static long read(ByteBuffer bb, int bytes) {
23 switch (bytes) {
35 throw new RuntimeException("I don't know how to read " + bytes + " bytes");
  /external/chromium_org/third_party/smhasher/src/
Types.h 198 for(size_t i = 0; i < sizeof(bytes); i++)
200 bytes[i] = 0;
206 for(size_t i = 0; i < sizeof(bytes); i++)
208 bytes[i] = 0;
211 *(int*)bytes = x;
216 for(size_t i = 0; i < sizeof(bytes); i++)
218 bytes[i] = k.bytes[i];
224 for(size_t i = 0; i < sizeof(bytes); i++)
226 bytes[i] = k.bytes[i]
368 uint8_t bytes[(_bits+7)\/8]; member in class:Blob
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERInteger.java 14 byte[] bytes; field in class:DERInteger
79 bytes = BigInteger.valueOf(value).toByteArray();
88 bytes = value.toByteArray();
95 byte[] bytes)
97 this.bytes = bytes;
102 return new BigInteger(bytes);
111 return new BigInteger(1, bytes);
121 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length
    [all...]
DEREnumerated.java 14 byte[] bytes; field in class:DEREnumerated
80 bytes = BigInteger.valueOf(value).toByteArray();
89 bytes = value.toByteArray();
96 byte[] bytes)
98 this.bytes = bytes;
103 return new BigInteger(bytes);
113 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length;
120 out.writeEncoded(BERTags.ENUMERATED, bytes);
    [all...]
  /external/chromium_org/ui/base/text/
bytes_formatting.h 19 UI_BASE_EXPORT base::string16 FormatBytes(int64 bytes);
24 UI_BASE_EXPORT base::string16 FormatSpeed(int64 bytes);
37 // Return the unit type that is appropriate for displaying the amount of bytes
40 UI_BASE_EXPORT DataUnits GetByteDisplayUnits(int64 bytes);
46 UI_BASE_EXPORT base::string16 FormatBytesWithUnits(int64 bytes,
53 base::string16 FormatSpeedWithUnits(int64 bytes,
  /external/elfutils/0.153/libasm/
asm_fill.c 39 asm_fill (asmscn, bytes, len)
41 void *bytes;
51 if (bytes == NULL)
63 memcpy (pattern->bytes, bytes, len);
  /external/glide/library/src/main/java/com/bumptech/glide/load/data/
ByteArrayFetcher.java 13 private final byte[] bytes; field in class:ByteArrayFetcher
16 public ByteArrayFetcher(byte[] bytes, String id) {
17 this.bytes = bytes;
23 return new ByteArrayInputStream(bytes);
  /external/google-tv-pairing-protocol/cpp/src/polo/encoding/
hexadecimalencoder.cc 34 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/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
ExtensionProfileLevelDescriptor.java 33 byte[] bytes; field in class:ExtensionProfileLevelDescriptor
38 bytes = new byte[getSize()];
39 bb.get(bytes);
47 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
DecoderSpecificInfo.java 34 byte[] bytes; field in class:DecoderSpecificInfo
39 bytes = new byte[sizeOfInstance];
40 bb.get(bytes);
45 return bytes.length;
49 ByteBuffer out = ByteBuffer.wrap(bytes);
58 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
74 if (!Arrays.equals(bytes, that.bytes)) {
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
_stream_base.py 38 # request.write/read are not suitable because they don't allow direct raw bytes
105 """Reads length bytes from connection. In case we catch any exception,
112 bytes = self._request.connection.read(length)
113 if not bytes:
117 return bytes
119 def _write(self, bytes):
120 """Writes given bytes to connection. In case we catch any exception,
125 self._request.connection.write(bytes)
134 """Receives multiple bytes. Retries read when we couldn't receive the
141 bytes = [
    [all...]
  /external/emma/core/java12/com/vladium/jcd/cls/constant/
CONSTANT_info.java 60 public static CONSTANT_info new_CONSTANT_info (final UDataInputStream bytes)
63 byte tag = bytes.readByte ();
68 return new CONSTANT_Utf8_info (bytes);
71 return new CONSTANT_Integer_info (bytes);
74 return new CONSTANT_Float_info (bytes);
77 return new CONSTANT_Long_info (bytes);
80 return new CONSTANT_Double_info (bytes);
84 return new CONSTANT_Class_info (bytes);
87 return new CONSTANT_String_info (bytes);
91 return new CONSTANT_Fieldref_info (bytes);
    [all...]
  /art/test/102-concurrent-gc/src/
Main.java 24 public byte[] bytes; field in class:Main.ByteContainer
37 l[index].bytes = new byte[bufferSize];
57 byte[] temp = l[a].bytes;
58 l[a].bytes = l[b].bytes;
59 l[b].bytes = temp;
  /external/chromium_org/third_party/cython/src/Cython/Tempita/
compat3.py 3 __all__ = ['b', 'basestring_', 'bytes', 'next', 'is_unicode']
6 b = bytes = str
13 return bytes(s)
14 basestring_ = (bytes, str)
15 bytes = bytes variable
44 return bytes(v)
  /external/clang/test/Analysis/Inputs/
system-header-simulator-for-malloc.h 19 - (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)len;
23 - (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)len {
24 return [self initWithBytesNoCopy:bytes length:len freeWhenDone:1]; // no-warning
29 + (id)somethingNoCopy:(char *)bytes;
30 + (id)somethingNoCopy:(void *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)freeBuffer;
31 + (id)something:(char *)bytes freeWhenDone:(BOOL)freeBuffer;
  /bionic/tests/
uchar_test.cpp 84 char bytes[MB_LEN_MAX]; local
85 EXPECT_EQ(1U, c16rtomb(bytes, L'\0', NULL));
93 char bytes[MB_LEN_MAX]; local
95 memset(bytes, 0, sizeof(bytes));
96 EXPECT_EQ(1U, c16rtomb(bytes, L'h', NULL));
97 EXPECT_EQ('h', bytes[0]);
103 memset(bytes, 0, sizeof(bytes));
104 EXPECT_EQ(1U, c16rtomb(bytes, L'h', NULL))
124 char bytes[MB_LEN_MAX]; local
140 char bytes[MB_LEN_MAX]; local
282 char bytes[MB_LEN_MAX]; local
    [all...]

Completed in 1026 milliseconds

12 3 4 5 6 7 8 91011>>