Searched defs:bytes (Results 101 - 125 of 1081) sorted by relevance

1234567891011>>

/external/llvm/lib/Target/MSP430/
H A DMSP430MachineFunctionInfo.h27 /// stack frame in bytes.
43 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; } argument
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dmemory_pool.c71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) argument
73 if (bytes < POOL_LARGE_ALLOC) {
76 if (pool->head + bytes > pool->end)
79 assert(pool->head + bytes <= pool->end);
83 pool->head += bytes;
88 struct memory_block * block = (struct memory_block*)malloc(bytes + sizeof(struct memory_block));
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
H A DDecoderSpecificInfo.java34 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...]
H A DExtensionDescriptor.java36 byte[] bytes; field in class:ExtensionDescriptor
60 bytes = new byte[sizeOfInstance];
61 bb.get(bytes);
69 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
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/okhttp/src/test/java/com/squareup/okhttp/
H A DRequestTest.java77 ByteArrayOutputStream bytes = new ByteArrayOutputStream();
78 body.writeTo(bytes);
79 return bytesToHex(bytes.toByteArray());
82 private String bytesToHex(byte[] bytes) { argument
84 for (byte b : bytes) {
/external/openssl/crypto/rand/
H A Drand.h84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st
110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes);
112 int RAND_egd_bytes(const char *path,int bytes);
/external/openssl/include/openssl/
H A Drand.h84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st
110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes);
112 int RAND_egd_bytes(const char *path,int bytes);
/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/sfntly/cpp/src/test/
H A Dopen_type_data_test.cc27 ByteVector bytes; local
29 bytes.push_back(TEST_OTF_DATA[i]);
31 ByteArrayPtr array = new MemoryByteArray(&(bytes[0]), bytes.size());
/external/skia/include/core/
H A DSkData.h20 * but the actual ptr that is returned (by data() or bytes()) is guaranteed
28 * Returns the number of bytes stored.
43 const uint8_t* bytes() const { function in class:SkData
49 * Returns the actual number of bytes copied, after clamping offset and
51 * only the computed number of bytes is returned.
74 * (a null-terminated array of bytes). The returned SkData will have size()
/external/skia/src/utils/mac/
H A DSkStream_mac.cpp20 static size_t get_bytes_proc(void* info, void* buffer, size_t bytes) { argument
22 return ((SkStream*)info)->read(buffer, bytes);
25 static off_t skip_forward_proc(void* info, off_t bytes) { argument
26 return ((SkStream*)info)->skip((size_t) bytes);
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DEncodedValueUtils.java45 // Round up the requiredBits to a number of bytes.
49 public static long decodeSignedIntegralValue(byte[] bytes) { argument
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) { argument
121 decodeRightZeroExtendedValue(byte[] bytes) argument
[all...]
/external/strace/
H A Dsock.c90 unsigned char *bytes; local
205 bytes = (unsigned char *) &ifr.ifr_hwaddr.sa_data;
207 bytes[0], bytes[1], bytes[2],
208 bytes[3], bytes[4], bytes[5]);
/external/apache-http/src/org/apache/commons/codec/net/
H A DURLCodec.java104 * Encodes an array of bytes into an array of URL safe 7-bit
108 * @param bytes array of bytes to convert to URL safe characters
109 * @return array of bytes containing URL safe characters
111 public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes) argument
113 if (bytes == null) {
121 for (int i = 0; i < bytes.length; i++) {
122 int b = bytes[i];
147 * original bytes. Escaped characters are converted back to their
150 * @param bytes arra
154 decodeUrl(byte[] bytes) argument
191 encode(byte[] bytes) argument
205 decode(byte[] bytes) argument
[all...]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
H A DJcaDigestCalculatorProviderBuilder.java91 public void write(byte[] bytes, int off, int len) argument
94 dig.update(bytes, off, len);
97 public void write(byte[] bytes) argument
100 dig.update(bytes);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDEREnumerated.java11 byte[] bytes; field in class:DEREnumerated
74 bytes = BigInteger.valueOf(value).toByteArray();
80 bytes = value.toByteArray();
84 byte[] bytes)
86 this.bytes = bytes;
91 return new BigInteger(bytes);
101 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length;
108 out.writeEncoded(BERTags.ENUMERATED, bytes);
83 DEREnumerated( byte[] bytes) argument
[all...]
H A DDERInteger.java11 byte[] bytes; field in class:DERInteger
73 bytes = BigInteger.valueOf(value).toByteArray();
79 bytes = value.toByteArray();
83 byte[] bytes)
85 this.bytes = bytes;
90 return new BigInteger(bytes);
99 return new BigInteger(1, bytes);
109 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes
82 DERInteger( byte[] bytes) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
H A DX509Principal.java45 byte[] bytes)
48 super(readSequence(new ASN1InputStream(bytes)));
44 X509Principal( byte[] bytes) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DStrings.java10 public static String fromUTF8ByteArray(byte[] bytes) argument
15 while (i < bytes.length)
18 if ((bytes[i] & 0xf0) == 0xf0)
24 else if ((bytes[i] & 0xe0) == 0xe0)
28 else if ((bytes[i] & 0xc0) == 0xc0)
43 while (i < bytes.length)
47 if ((bytes[i] & 0xf0) == 0xf0)
49 int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[
250 fromByteArray(byte[] bytes) argument
261 asCharArray(byte[] bytes) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/
H A DPemWriter.java42 * Return the number of bytes or characters required to contain the
46 * @return an estimate of the number of bytes
99 private void writeEncoded(byte[] bytes) argument
102 bytes = Base64.encode(bytes);
104 for (int i = 0; i < bytes.length; i += buf.length)
110 if ((i + index) >= bytes.length)
114 buf[index] = (char)bytes[i + index];
/external/chromium/base/
H A Dstring_number_conversions_unittest.cc439 unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; local
440 hex = HexEncode(bytes, sizeof(bytes));
/external/chromium/chrome/browser/chromeos/
H A Dnetwork_message_observer_unittest.cc15 int64 end_sec, int64 bytes, int64 used) {
20 plan.plan_data_bytes = bytes;
30 // (unlimited OR used bytes < max bytes) AND
14 CreateDataPlan(CellularDataPlanType type, int64 start_sec, int64 end_sec, int64 bytes, int64 used) argument
/external/chromium/net/base/
H A Dbandwidth_metrics.h48 // tracker.RecordSample(bytes);
104 // Add a sample of the number of bytes read from the network into the tracker.
105 void RecordBytes(int bytes) { argument
107 bytes_since_last_start_ += static_cast<int64>(bytes);
129 void RecordBytes(int bytes);
H A Dip_endpoint.cc89 const char* bytes = reinterpret_cast<const char*>(&addr->sin_addr); local
90 address_.assign(&bytes[0], &bytes[kIPv4AddressSize]);
97 const char* bytes = reinterpret_cast<const char*>(&addr->sin6_addr); local
98 address_.assign(&bytes[0], &bytes[kIPv6AddressSize]);

Completed in 460 milliseconds

1234567891011>>