/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/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;
|
/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) {
|
/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 | 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...] |
DEREnumerated.java | 11 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); [all...] |
/external/chromium_org/tools/memory_watcher/scripts/ |
finditem.pl | 14 my $bytes = 0; 22 if ($line =~ m/([0-9]*) bytes, ([0-9]*) allocs/) { 25 $bytes = $1; 34 print "$bytes bytes ($calls calls)\n"; 36 $sum_bytes += $bytes; 45 print("TOTAL: $sum_bytes bytes ($sum_calls calls)\n");
|
/external/chromium_org/ui/base/text/ |
bytes_formatting.h | 19 UI_EXPORT base::string16 FormatBytes(int64 bytes); 24 UI_EXPORT base::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 base::string16 FormatBytesWithUnits(int64 bytes, 53 base::string16 FormatSpeedWithUnits(int64 bytes,
|
/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...] |
/external/valgrind/main/none/tests/s390x/ |
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
|
/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...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
bcmendian.h | 29 /* Reverse the bytes in a 16-bit value */ 34 /* Reverse the bytes in a 32-bit value */ 125 #define htol16_ua_store(val, bytes) ({ \ 127 uint8 *_bytes = (uint8 *)(bytes); \ 132 #define htol32_ua_store(val, bytes) ({ \ 134 uint8 *_bytes = (uint8 *)(bytes); \ 141 #define hton16_ua_store(val, bytes) ({ \ 143 uint8 *_bytes = (uint8 *)(bytes); \ 148 #define hton32_ua_store(val, bytes) ({ \ 150 uint8 *_bytes = (uint8 *)(bytes); \ [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BitString.java | 38 public final byte[] bytes; field in class:BitString 44 * @param bytes array of bytes that represents bit string, 49 public BitString(byte[] bytes, int unusedBits) { 55 if (bytes.length == 0 && unusedBits != 0) { 59 this.bytes = bytes; 69 bytes = new byte[size]; 78 return (bytes[index] & SET_MASK[offset]) != 0; 85 bytes[index] |= SET_MASK[offset] [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/constant/ |
CONSTANT_info.java | 60 public static CONSTANT_info new_CONSTANT_info (final UDataInputStream bytes) 63 byte tag = bytes.readByte (); 68 return new CONSTANT_Utf8_info (bytes); 71 return new CONSTANT_Integer_info (bytes); 74 return new CONSTANT_Float_info (bytes); 77 return new CONSTANT_Long_info (bytes); 80 return new CONSTANT_Double_info (bytes); 84 return new CONSTANT_Class_info (bytes); 87 return new CONSTANT_String_info (bytes); 91 return new CONSTANT_Fieldref_info (bytes); [all...] |
/art/test/102-concurrent-gc/src/ |
Main.java | 24 public byte[] bytes; field in class:Main.ByteContainer 37 l[index].bytes = new byte[bufferSize]; 57 byte[] temp = l[a].bytes; 58 l[a].bytes = l[b].bytes; 59 l[b].bytes = temp;
|
/external/clang/test/Analysis/Inputs/ |
system-header-simulator-for-malloc.h | 19 - (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)len; 23 - (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)len { 24 return [self initWithBytesNoCopy:bytes length:len freeWhenDone:1]; // no-warning 29 + (id)somethingNoCopy:(char *)bytes; 30 + (id)somethingNoCopy:(void *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)freeBuffer; 31 + (id)something:(char *)bytes freeWhenDone:(BOOL)freeBuffer;
|