Searched refs:bytes (Results 26 - 50 of 2342) sorted by relevance

1234567891011>>

/external/chromium_org/ui/base/text/
H A Dbytes_formatting.cc37 base::string16 FormatBytesInternal(int64 bytes, argument
42 if (bytes < 0) {
43 NOTREACHED() << "Negative bytes value";
48 double unit_amount = static_cast<double>(bytes);
53 if (bytes != 0 && units != DATA_UNITS_BYTE && unit_amount < 100)
66 DataUnits GetByteDisplayUnits(int64 bytes) { argument
68 // in unit U when kUnitThresholds[U] <= bytes < kUnitThresholds[U+1].
79 if (bytes < 0) {
80 NOTREACHED() << "Negative bytes value";
86 if (bytes >
94 FormatBytesWithUnits(int64 bytes, DataUnits units, bool show_units) argument
100 FormatSpeedWithUnits(int64 bytes, DataUnits units, bool show_units) argument
106 FormatBytes(int64 bytes) argument
110 FormatSpeed(int64 bytes) argument
[all...]
H A Dbytes_formatting.h19 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1Enumerated.java8 ASN1Enumerated(byte[] bytes) argument
10 super(bytes);
H A DASN1GeneralizedTime.java8 ASN1GeneralizedTime(byte[] bytes) argument
10 super(bytes);
H A DASN1Integer.java8 ASN1Integer(byte[] bytes) argument
10 super(bytes);
H A DASN1UTCTime.java8 ASN1UTCTime(byte[] bytes) argument
10 super(bytes);
H A DDERInteger.java14 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
94 DERInteger( byte[] bytes) argument
[all...]
/external/lldb/include/lldb/Host/
H A DEndian.h22 uint8_t bytes[sizeof(uint32_t)]; member in union:lldb::endian::EndianTest
25 inline ByteOrder InlHostByteOrder() { return (ByteOrder)endianTest.bytes[0]; }
27 // ByteOrder const InlHostByteOrder = (ByteOrder)endianTest.bytes[0];
/external/chromium_org/third_party/webrtc/base/
H A Dstream_unittest.cc77 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/
H A Dresource.cc9 size_t Resource::bytes() const { function in class:cc::Resource
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/crypto/
H A DByteArrayGenerator.java25 byte[] bytes = new byte[numBytes];
26 if (bytes.length != fis.read(bytes)) {
29 return bytes;
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
H A DSecureRandomInitializer.java26 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/
H A Dencode.h29 uint16_t *bytes, /* (o) encoded data bits iLBC */
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DInternal.java53 * To get around this, protoc instead embeds the UTF-8 bytes into the
59 * in each value. This is much less efficient than just embedding the bytes
62 * generates a string literal corresponding to the bytes. The easiest way
67 * So we have a string literal which represents a set of bytes which
72 public static String stringDefaultValue(String bytes) { argument
74 return new String(bytes.getBytes("ISO-8859-1"), "UTF-8");
84 * Helper called by generated code to construct default values for bytes
87 * This is a lot like {@link #stringDefaultValue}, but for bytes fields.
89 * embed raw bytes as a string literal with ISO-8859-1 encoding.
91 public static ByteString bytesDefaultValue(String bytes) { argument
[all...]
/external/valgrind/main/none/tests/s390x/
H A Dtrtt.stdout.exp1 0 bytes translated
3 0 bytes translated
5 0 bytes translated
7 2 bytes translated
9 5 bytes translated
11 0 bytes translated
13 3 bytes translated
15 9 bytes translated
/external/chromium_org/v8/test/webkit/
H A Darray-iterate-backwards.js28 var bytes = new Array();
33 bytes[i] = new Number(i);
41 if (bytes[i] != i)
/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;
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DIsoTypeReaderVariable.java22 public static long read(ByteBuffer bb, int bytes) { argument
23 switch (bytes) {
35 throw new RuntimeException("I don't know how to read " + bytes + " bytes");
/external/chromium_org/third_party/smhasher/src/
H A DTypes.h198 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[
368 uint8_t bytes[(_bits+7)/8]; member in class:Blob
[all...]
/external/elfutils/0.153/libasm/
H A Dasm_fill.c39 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/
H A DByteArrayFetcher.java13 private final byte[] bytes; field in class:ByteArrayFetcher
16 public ByteArrayFetcher(byte[] bytes, String id) { argument
17 this.bytes = bytes;
23 return new ByteArrayInputStream(bytes);
/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/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
H A DExtensionProfileLevelDescriptor.java33 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));
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A D_stream_base.py38 # 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/google-tv-pairing-protocol/cpp/src/polo/util/
H A Dpoloutil.cc22 const std::string PoloUtil::BytesToHexString(const uint8_t* bytes, argument
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[
33 HexStringToBytes(const std::string hex_string, uint8_t*& bytes) argument
45 IntToBigEndianBytes(uint32_t value, uint8_t*& bytes) argument
63 BigEndianBytesToInt( const uint8_t* bytes) argument
[all...]

Completed in 1115 milliseconds

1234567891011>>