HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 1 - 25 of 3246) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/crypto/
random_unittest.cc 13 // Currently, that means the bytes cannot be all the same (e.g. all zeros).
14 bool IsTrivial(const std::string& bytes) {
15 for (size_t i = 0; i < bytes.size(); i++) {
16 if (bytes[i] != bytes[0]) {
24 std::string bytes(16, '\0');
25 crypto::RandBytes(WriteInto(&bytes, bytes.size()), bytes.size());
26 EXPECT_TRUE(!IsTrivial(bytes));
    [all...]
random.cc 11 void RandBytes(void *bytes, size_t length) {
15 base::RandBytes(bytes, length);
  /external/clang/test/CodeGen/
2005-07-26-UnionInitCrash.c 3 union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0}; member in union:__anon18192
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
UnknownFieldData.java 41 final byte[] bytes; field in class:UnknownFieldData
43 UnknownFieldData(int tag, byte[] bytes) {
45 this.bytes = bytes;
  /external/dexmaker/src/dx/java/com/android/dx/util/
ByteArrayByteInput.java 21 private final byte[] bytes; field in class:ByteArrayByteInput
24 public ByteArrayByteInput(byte... bytes) {
25 this.bytes = bytes;
29 return bytes[position++];
  /libcore/dex/src/main/java/com/android/dex/util/
ByteArrayByteInput.java 21 private final byte[] bytes; field in class:ByteArrayByteInput
24 public ByteArrayByteInput(byte... bytes) {
25 this.bytes = bytes;
29 return bytes[position++];
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
AudioSample.java 23 public final byte[] bytes; field in class:AudioSample
25 public AudioSample(int sampleRate, int channelCount, byte[] bytes) {
28 this.bytes = bytes;
  /external/chromium/chrome/common/
guid_posix.cc 19 std::string RandomDataToGUIDString(const uint64 bytes[2]) {
21 static_cast<unsigned int>(bytes[0] >> 32),
22 static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff),
23 static_cast<unsigned int>(bytes[0] & 0x0000ffff),
24 static_cast<unsigned int>(bytes[1] >> 48),
25 bytes[1] & 0x0000ffffffffffffULL);
  /external/chromium_org/base/
guid_posix.cc 19 std::string RandomDataToGUIDString(const uint64 bytes[2]) {
21 static_cast<unsigned int>(bytes[0] >> 32),
22 static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff),
23 static_cast<unsigned int>(bytes[0] & 0x0000ffff),
24 static_cast<unsigned int>(bytes[1] >> 48),
25 bytes[1] & 0x0000ffffffffffffULL);
  /libcore/crypto/src/main/java/org/conscrypt/
ByteArray.java 25 private final byte[] bytes; field in class:ByteArray
28 ByteArray(byte[] bytes) {
29 this.bytes = bytes;
30 this.hashCode = Arrays.hashCode(bytes);
42 return Arrays.equals(bytes, lhs.bytes);
  /external/guava/guava/src/com/google/common/hash/
HashCodes.java 26 * Creates a 32-bit {@code HashCode}, of which the bytes will form the passed int, interpreted
62 * Creates a 64-bit {@code HashCode}, of which the bytes will form the passed long, interpreted
106 static HashCode fromBytes(byte[] bytes) {
107 return new BytesHashCode(bytes);
111 final byte[] bytes; field in class:HashCodes.BytesHashCode
113 BytesHashCode(byte[] bytes) {
114 this.bytes = bytes;
118 return bytes.length * 8;
122 return bytes.clone()
    [all...]
  /art/runtime/gc/accounting/
gc_allocator.cc 25 void* RegisterGCAllocation(size_t bytes) {
26 Runtime::Current()->GetHeap()->RegisterGCAllocation(bytes);
27 return malloc(bytes);
30 void RegisterGCDeAllocation(void* p, size_t bytes) {
31 Runtime::Current()->GetHeap()->RegisterGCDeAllocation(bytes);
  /frameworks/base/core/java/com/android/internal/http/multipart/
ByteArrayPartSource.java 50 private byte[] bytes; field in class:ByteArrayPartSource
55 * @param fileName the name of the file these bytes represent
56 * @param bytes the content of this part
58 public ByteArrayPartSource(String fileName, byte[] bytes) {
61 this.bytes = bytes;
69 return bytes.length;
83 return new ByteArrayInputStream(bytes);
  /external/valgrind/main/memcheck/tests/
leak-0.stderr.exp 1 leaked: 0 bytes in 0 blocks
2 dubious: 0 bytes in 0 blocks
3 reachable: 0 bytes in 1 blocks
4 suppressed: 0 bytes in 0 blocks
leak-cases-summary.stderr.exp 1 leaked: 80 bytes in 5 blocks
2 dubious: 96 bytes in 6 blocks
3 reachable: 64 bytes in 4 blocks
4 suppressed: 0 bytes in 0 blocks
error_counts.stderr.exp 7 leaked: 0 bytes in 0 blocks
8 dubious: 0 bytes in 0 blocks
9 reachable: 0 bytes in 0 blocks
10 suppressed: 0 bytes in 0 blocks
14 leaked: 77 bytes in 1 blocks
15 dubious: 88 bytes in 1 blocks
16 reachable: 99 bytes in 1 blocks
17 suppressed: 0 bytes in 0 blocks
  /libcore/luni/src/main/java/libcore/icu/
CollationKeyICU.java 22 private final byte[] bytes; field in class:CollationKeyICU
29 CollationKeyICU(String source, byte[] bytes) {
31 this.bytes = bytes;
35 // Get the bytes from the other collation key.
38 rhsBytes = ((CollationKeyICU) other).bytes;
43 if (bytes == null || bytes.length == 0) {
54 int count = Math.min(bytes.length, rhsBytes.length);
56 int s = bytes[i] & 0xff
    [all...]
  /ndk/tests/device/test-stlport_shared-exception/jni/
new11.cpp 8 void *operator new[](size_t bytes) throw (std::bad_alloc) {
11 return operator new (bytes);
  /ndk/tests/device/test-stlport_static-exception/jni/
new11.cpp 8 void *operator new[](size_t bytes) throw (std::bad_alloc) {
11 return operator new (bytes);
  /external/chromium_org/ui/base/text/
bytes_formatting.cc 37 string16 FormatBytesInternal(int64 bytes,
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) {
68 // in unit U when kUnitThresholds[U] <= bytes < kUnitThresholds[U+1].
79 if (bytes < 0) {
80 NOTREACHED() << "Negative bytes value";
86 if (bytes >= kUnitThresholds[unit_index]
    [all...]
bytes_formatting.h 19 UI_EXPORT string16 FormatBytes(int64 bytes);
24 UI_EXPORT string16 FormatSpeed(int64 bytes);
37 // Return the unit type that is appropriate for displaying the amount of bytes
40 UI_EXPORT DataUnits GetByteDisplayUnits(int64 bytes);
46 UI_EXPORT string16 FormatBytesWithUnits(int64 bytes, DataUnits units,
52 string16 FormatSpeedWithUnits(int64 bytes, DataUnits units, bool show_units);
  /external/jmonkeyengine/engine/src/core/com/jme3/export/
ReadListener.java 37 public void readBytes(int bytes);
  /frameworks/opt/net/voip/src/jni/rtp/
AmrCodec.cpp 102 unsigned char *bytes = (unsigned char *)payload; local
106 samples, bytes + 1, &type, AMR_TX_WMF);
113 bytes[0] = 0xF0;
114 bytes[1] = (mMode << 3) | 0x04;
118 bytes[0] = 0xFF;
119 bytes[1] = 0xC0 | (mMode << 1) | 1;
122 bytes[length + 1] = 0;
124 bytes[i] = (bytes[i] << 6) | (bytes[i + 1] >> 2)
133 unsigned char *bytes = (unsigned char *)payload; local
226 unsigned char *bytes = (unsigned char *)payload; local
244 unsigned char *bytes = (unsigned char *)payload; local
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
EncodedValueUtils.java 45 // Round up the requiredBits to a number of bytes.
49 public static long decodeSignedIntegralValue(byte[] bytes) {
51 for (int i = 0; i < bytes.length; i++) {
52 value |= (((long)(bytes[i] & 0xFF)) << (i * 8));
55 int shift = (8 - bytes.length) * 8;
62 byte[] bytes = new byte[requiredBytes];
65 bytes[i] = (byte) value;
68 return bytes;
82 // Round up the requiredBits to a number of bytes.
86 public static long decodeUnsignedIntegralValue(byte[] bytes) {
    [all...]
NumberUtils.java 79 * Decodes a signed short value from 2 individual bytes
94 * @param bytes the byte array
98 public static short decodeShort(byte[] bytes, int index) {
100 ( (bytes[index++] & 0xFF) |
101 (bytes[index] << 8)
106 * Decodes an unsigned short value from 2 individual bytes
120 * @param bytes the byte array
124 public static int decodeUnsignedShort(byte[] bytes, int index) {
125 return ( (bytes[index++] & 0xFF) |
126 ((bytes[index] & 0xFF) << 8
    [all...]

Completed in 434 milliseconds

1 2 3 4 5 6 7 8 91011>>