/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1Enumerated.java | 8 ASN1Enumerated(byte[] bytes) 10 super(bytes);
|
ASN1GeneralizedTime.java | 8 ASN1GeneralizedTime(byte[] bytes) 10 super(bytes);
|
ASN1Integer.java | 8 ASN1Integer(byte[] bytes) 10 super(bytes);
|
ASN1UTCTime.java | 8 ASN1UTCTime(byte[] bytes) 10 super(bytes);
|
DERInteger.java | 11 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.length [all...] |
/external/skia/src/gpu/ |
GrMemory.cpp | 14 void* GrMalloc(size_t bytes) { 15 void* ptr = ::malloc(bytes);
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
QuotedPrintable.java | 26 * Decodes an array quoted-printable characters into an array of original bytes. 35 * @param bytes array of quoted-printable characters 36 * @return array of original bytes, 39 public static final byte[] decodeQuotedPrintable(byte[] bytes) { 40 if (bytes == null) { 44 for (int i = 0; i < bytes.length; i++) { 45 int b = bytes[i]; 48 if('\r' == (char)bytes[i + 1] && 49 '\n' == (char)bytes[i + 2]) { 53 int u = Character.digit((char) bytes[++i], 16) [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
Internal.java | 53 * 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) { 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) { [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
InternalNano.java | 53 * 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 final String stringDefaultValue(String bytes) { 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 final byte[] bytesDefaultValue(String bytes) { [all...] |
/external/valgrind/main/none/tests/s390x/ |
trtt.stdout.exp | 1 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
|
troo.stdout.exp | 1 0 bytes translated 3 0 bytes translated 5 5 bytes translated 7 10 bytes translated 9 0 bytes translated 11 1 bytes translated 13 8 bytes translated
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/ |
GSSUtilsTest.java | 28 byte[] bytes = GSSUtils.getBytes(i, 1); 29 int j = GSSUtils.toInt(bytes, 0 , 1); 33 bytes = GSSUtils.getBytes(i, 1); 34 j = GSSUtils.toInt(bytes, 0 , 1); 38 bytes = GSSUtils.getBytes(i, 2); 39 j = GSSUtils.toInt(bytes, 0, 2); 43 bytes = GSSUtils.getBytes(i, 2); 44 j = GSSUtils.toInt(bytes, 0, 2); 48 bytes = GSSUtils.getBytes(i, 3); 49 j = GSSUtils.toInt(bytes, 0 , 3) [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");
|
/frameworks/rs/ |
rsFifo.h | 38 bool virtual writeAsync(const void *data, size_t bytes, bool waitForSpace = true) = 0; 40 size_t virtual read(void *data, size_t bytes, bool doWait = true, uint64_t timeToWait = 0) = 0; 41 void virtual readReturn(const void *data, size_t bytes) = 0;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
OSAllocatorPosix.cpp | 36 void* OSAllocator::reserveUncommitted(size_t bytes, Usage usage, bool writable, bool executable) 38 void* result = reserveAndCommit(bytes, usage, writable, executable); 41 while (madvise(result, bytes, MADV_FREE_REUSABLE) == -1 && errno == EAGAIN) { } 46 void* OSAllocator::reserveAndCommit(size_t bytes, Usage usage, bool writable, bool executable) 83 result = mmap(result, bytes, protection, flags, fd, 0); 89 void OSAllocator::commit(void* address, size_t bytes, bool, bool) 92 while (madvise(address, bytes, MADV_FREE_REUSE) == -1 && errno == EAGAIN) { } 96 UNUSED_PARAM(bytes); 100 void OSAllocator::decommit(void* address, size_t bytes) 103 while (madvise(address, bytes, MADV_FREE_REUSABLE) == -1 && errno == EAGAIN) { [all...] |
/external/elfutils/libasm/ |
asm_fill.c | 39 asm_fill (asmscn, bytes, len) 41 void *bytes; 51 if (bytes == NULL) 63 memcpy (pattern->bytes, bytes, len);
|
/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/proguard/src/proguard/classfile/constant/ |
Utf8Constant.java | 54 // Initially, we're storing the UTF-8 bytes in a byte array. 59 private byte[] bytes; field in class:Utf8Constant 78 this.bytes = null; 84 * Initializes the UTF-8 data with an array of bytes. 86 public void setBytes(byte[] bytes) 88 this.bytes = bytes; 94 * Returns the UTF-8 data as an array of bytes. 107 return bytes; 116 this.bytes = null [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OutputStreamWriterTest.java | 66 byte[] bytes = baos.toByteArray(); 67 assertEquals(8196, bytes.length); 70 assertEquals((byte) 0, bytes[i++]); 71 assertEquals((byte) 0, bytes[i++]); 72 assertEquals((byte) 0, bytes[i++]); 73 assertEquals((byte) 'x', bytes[i++]); 77 assertEquals((byte) 0x00, bytes[i++]); 78 assertEquals((byte) 0x02, bytes[i++]); 79 assertEquals((byte) 0x0b, bytes[i++]); 80 assertEquals((byte) 0x9f, bytes[i++]) [all...] |
/external/valgrind/main/gdbserver_tests/ |
mcleak.stderr.exp | 4 expecting details 10 bytes reachable 5 10 bytes in 1 blocks are still reachable in loss record ... of ... 11 expecting details +10 bytes lost, +21 bytes reachable 12 expecting details +65 bytes reachable 14 expecting details +10 bytes reachable 15 expecting details -10 bytes reachable, +10 bytes lost 16 expecting details -10 bytes lost, +10 bytes reachabl [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
KURLMac.mm | 42 char* bytes = &buffer[5]; 43 CFURLGetBytes(reinterpret_cast<CFURLRef>(url), reinterpret_cast<UInt8*>(bytes), bytesLength); 44 bytes[bytesLength] = '\0'; 45 if (bytes[0] != '/') { 46 parse(bytes, 0);
|
/external/webkit/Source/WebKit2/Shared/ |
WebData.h | 43 static PassRefPtr<WebData> createWithoutCopying(const unsigned char* bytes, size_t size, FreeDataFunction freeDataFunction, const void* context) 45 return adoptRef(new WebData(bytes, size, freeDataFunction, context)); 48 static PassRefPtr<WebData> create(const unsigned char* bytes, size_t size) 54 memcpy(copiedBytes, bytes, size); 70 const unsigned char* bytes() const { return m_bytes; } function in class:WebKit::WebData 74 WebData(const unsigned char* bytes, size_t size, FreeDataFunction freeDataFunction, const void* context) 75 : m_bytes(bytes) 82 static void fastFreeBytes(unsigned char* bytes, const void*) 84 if (bytes) 85 fastFree(static_cast<void*>(bytes)); [all...] |