/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/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/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
Utf8.java | 47 * those that can be roundtrip converted to Strings and back to bytes 49 * Arrays.equals(bytes, new String(bytes, "UTF-8").getBytes("UTF-8")) 57 * bytes in a complete UTF-8 byte sequences can be stored in multiple 72 * complete (no further bytes are needed to complete a character). 82 // Other state values include the partial bytes of the incomplete 83 // character to be decoded in the simplest way: we pack the bytes 97 // to, because partial bytes must always be negative. When building 98 // a state, we ensure that byte1 is negative and subsequent bytes 99 // are valid trailing bytes [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;
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
ByteArrays.java | 32 * {@code 2 * bytes.length} characters long. 34 public static String toHexString(byte[] bytes) { 35 StringBuilder sb = new StringBuilder(2 * bytes.length); 36 for (byte b : bytes) {
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
ByteArrays.java | 33 * {@code 2 * bytes.length} characters long. 35 public static String toHexString(byte[] bytes) { 36 StringBuilder sb = new StringBuilder(2 * bytes.length); 37 for (byte b : bytes) {
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/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;
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/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;
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/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/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...] |
/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/google-tv-pairing-protocol/cpp/src/polo/util/ |
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/qemu/include/qemu/ |
iov.h | 20 * count and return data size, in bytes, of an iovec 29 * `bytes' bytes long will be copied to/from an iovec `iov' with 33 * Number of bytes actually copied will be returned, which is 34 * min(bytes, iov_size(iov)-offset) 36 * It is okay to use very large value for `bytes' since we're 40 * so specifying `-1' as `bytes' means 'up to the end of iovec'. 43 size_t offset, const void *buf, size_t bytes); 45 size_t offset, void *buf, size_t bytes); 48 * Set data bytes pointed out by iovec `iov' of size `iov_cnt' elements [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...] |