/external/libogg/src/ |
bitwise.c | 60 long bytes=bits>>3; local 62 bits-=bytes*8; 63 b->ptr=b->buffer+bytes; 65 b->endbyte=bytes; 71 long bytes=bits>>3; local 73 bits-=bytes*8; 74 b->ptr=b->buffer+bytes; 76 b->endbyte=bytes; 184 long bytes=bits/8; local 185 bits-=bytes*8 512 long bytes,i; local 547 long bytes,i; local 583 long bytes,i; local [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
BytecodeArray.java | 42 /** {@code non-null;} underlying bytes */ 43 private final ByteArray bytes; field in class:BytecodeArray 54 * @param bytes {@code non-null;} underlying bytes 58 public BytecodeArray(ByteArray bytes, ConstantPool pool) { 59 if (bytes == null) { 60 throw new NullPointerException("bytes == null"); 67 this.bytes = bytes; 77 return bytes; [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
DotDumper.java | 44 private final byte[] bytes; field in class:DotDumper 50 static void dump(byte[] bytes, String filePath, Args args) { 51 new DotDumper(bytes, filePath, args).run(); 54 DotDumper(byte[] bytes, String filePath, Args args) { 55 this.bytes = bytes; 63 ByteArray ba = new ByteArray(bytes); 93 public void parsed(ByteArray bytes, int offset, int len, String human) { 98 public void startParsingMember(ByteArray bytes, int offset, String name, 103 public void endParsingMember(ByteArray bytes, int offset, String name [all...] |
/external/chromium_org/content/child/webcrypto/openssl/ |
aes_ctr_openssl.cc | 62 raw_key.bytes(), 63 counter.bytes(), 72 input.bytes(), 105 counter_block.bytes() + counter_block.byte_length() - byte_length, 114 counter_block.bytes() + counter_block.byte_length() - byte_length, 115 counter_block.bytes() + counter_block.byte_length()); 129 counter_block.bytes(), 130 counter_block.bytes() + counter_block.byte_length()); 232 // This is guaranteed to fit in an "unsigned int" because input size in bytes 242 CryptoData(data.bytes(), input_size_part1) [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
ucm.h | 41 * b if bLen<=4: up to 4 bytes 42 * else index to bLen bytes 44 * bLen number of words containing left-justified bytes 45 * bIsMultipleChars indicates that the bytes contain more than one sequence 55 uint8_t bytes[4]; member in union:UCMapping::__anon17048 75 uint8_t *bytes; member in struct:UCMTable 78 /* index map for mapping by bytes first */ 115 (((m)->bLen<=4) ? (m)->b.bytes : (t)->bytes+(m)->b.idx) 129 /* @return -1 illegal bytes 0 suitable for base table 1 needs to go into extension table * [all...] |
/external/chromium_org/third_party/skia/experimental/Networking/ |
SkSockets.cpp | 103 h.bytes = 0; 138 memcpy(&h.bytes, packet + sizeof(bool), sizeof(int)); 140 if (h.bytes > CONTENT_SIZE || h.bytes <= 0) { 145 //SkDebugf("read packet(done:%d, bytes:%d) from fd:%d in %d tries\n", 146 // h.done, h.bytes, fSockfd, attempts); 147 stream.write(packet + HEADER_SIZE, h.bytes); 150 bytesReadInTransfer += h.bytes; 189 h.bytes = (h.done) ? size - bytesWrittenInTransfer : CONTENT_SIZE; 192 memcpy(packet + sizeof(bool), &h.bytes, sizeof(int)) [all...] |
/external/chromium_org/third_party/webrtc/base/ |
bytebuffer.cc | 33 ByteBuffer::ByteBuffer(const char* bytes, size_t len) { 34 Construct(bytes, len, ORDER_NETWORK); 37 ByteBuffer::ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order) { 38 Construct(bytes, len, byte_order); 41 ByteBuffer::ByteBuffer(const char* bytes) { 42 Construct(bytes, strlen(bytes), ORDER_NETWORK); 45 void ByteBuffer::Construct(const char* bytes, size_t len, 53 if (bytes) { 55 memcpy(bytes_, bytes, end_) [all...] |
/external/deqp/framework/common/ |
tcuRGBA.hpp | 87 static RGBA fromBytes (const deUint8* bytes) { return RGBA(bytes[0], bytes[1], bytes[2], bytes[3]); } 88 void toBytes (deUint8* bytes) const { bytes[0] = getRed(); bytes[1] = getGreen(); bytes[2] = getBlue(); bytes[3] = getAlpha(); [all...] |
/external/deqp/modules/glshared/ |
glsBufferTestUtil.hpp | 91 void setData (int numBytes, const deUint8* bytes); 92 void setSubData (int offset, int numBytes, const deUint8* bytes); 123 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) = DE_NULL; 124 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint); 142 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes); 143 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint); 160 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes); 161 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 target); 172 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes); 173 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 target) [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
ucm.h | 41 * b if bLen<=4: up to 4 bytes 42 * else index to bLen bytes 44 * bLen number of words containing left-justified bytes 45 * bIsMultipleChars indicates that the bytes contain more than one sequence 55 uint8_t bytes[4]; member in union:UCMapping::__anon5940 75 uint8_t *bytes; member in struct:UCMTable 78 /* index map for mapping by bytes first */ 115 (((m)->bLen<=4) ? (m)->b.bytes : (t)->bytes+(m)->b.idx) 129 /* @return -1 illegal bytes 0 suitable for base table 1 needs to go into extension table * [all...] |
/external/libvorbis/test/ |
write_read.c | 147 int bytes; local 163 bytes = fread (buffer,1,8192,file); 164 ogg_sync_wrote (&oy,bytes); 167 if(bytes < 8192) { 220 bytes = fread (buffer,1,4096,file); 221 if (bytes == 0 && i < 2) { 226 ogg_sync_wrote (&oy,bytes); 278 bytes = fread (buffer,1,4096,file); 279 ogg_sync_wrote (&oy,bytes); 280 if (bytes == 0) eos = 1 [all...] |
/external/lldb/include/lldb/Core/ |
Opcode.h | 66 Opcode (uint8_t *bytes, size_t length) 68 SetOpcodeBytes (bytes, length); 183 SetOpcodeBytes (const void *bytes, size_t length) 185 if (bytes && length > 0) 189 assert (length < sizeof (m_data.inst.bytes)); 190 memcpy (m_data.inst.bytes, bytes, length); 206 return m_data.inst.bytes; 245 case Opcode::eTypeBytes: return m_data.inst.bytes; 262 uint8_t bytes[16]; // This must be big enough to handle any opcode for any supported target [all...] |
/external/skia/experimental/Networking/ |
SkSockets.cpp | 103 h.bytes = 0; 138 memcpy(&h.bytes, packet + sizeof(bool), sizeof(int)); 140 if (h.bytes > CONTENT_SIZE || h.bytes <= 0) { 145 //SkDebugf("read packet(done:%d, bytes:%d) from fd:%d in %d tries\n", 146 // h.done, h.bytes, fSockfd, attempts); 147 stream.write(packet + HEADER_SIZE, h.bytes); 150 bytesReadInTransfer += h.bytes; 189 h.bytes = (h.done) ? size - bytesWrittenInTransfer : CONTENT_SIZE; 192 memcpy(packet + sizeof(bool), &h.bytes, sizeof(int)) [all...] |
/external/tremolo/Tremolo/ |
framing.c | 101 static ogg_buffer *_fetch_buffer(ogg_buffer_state *bs,long bytes){ 111 if(ob->size<bytes){ 112 ob->data=_ogg_realloc(ob->data,bytes); 113 ob->size=bytes; 118 ob->data=_ogg_malloc(bytes<16?16:bytes); 119 ob->size=bytes; 147 of at least [bytes] length */ 148 static ogg_reference *ogg_buffer_alloc(ogg_buffer_state *bs,long bytes){ 149 ogg_buffer *ob=_fetch_buffer(bs,bytes); 696 long bytes,ret=0; local 781 long bytes=next-now; local 787 long bytes=oy->fifo_tail->length; local [all...] |
/external/valgrind/main/memcheck/tests/ |
fprw.stderr.exp | 9 Address 0x........ is 0 bytes inside a block of size 8 free'd 15 Address 0x........ is 0 bytes inside a block of size 8 free'd 21 Address 0x........ is 0 bytes inside a block of size 4 free'd 27 Address 0x........ is 0 bytes inside a block of size 4 free'd 38 Address 0x........ is 0 bytes inside a block of size 4 alloc'd
|
holey_buffer_too_small.stderr.exp | 6 Address 0x........ is 4 bytes inside a block of size 8 alloc'd 15 Address 0x........ is 0 bytes after a block of size 8 alloc'd 24 Address 0x........ is 1 bytes before a block of size 8 alloc'd 33 Address 0x........ is 0 bytes after a block of size 8 alloc'd 42 Address 0x........ is 1 bytes before a block of size 8 alloc'd
|
threadname.stderr.exp | 4 Address 0x........ is 0 bytes after a block of size 1 alloc'd 14 Address 0x........ is 0 bytes after a block of size 2 alloc'd 25 Address 0x........ is 0 bytes after a block of size 3 alloc'd 36 Address 0x........ is 0 bytes after a block of size 4 alloc'd 46 Address 0x........ is 0 bytes after a block of size 5 alloc'd
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 113 byte[] bytes = readAll(in); 115 Arrays.toString(bytes)); 123 byte[] bytes = readAll(in); 124 assertEquals(Arrays.toString(aesCipherText), Arrays.toString(bytes)); 135 byte[] bytes = readAll(in); 136 assertEquals(Arrays.toString(rc4CipherText), Arrays.toString(bytes)); 146 byte[] bytes = readAll(in); 147 assertEquals(Arrays.toString(plainText.getBytes("UTF-8")), Arrays.toString(bytes)); 154 byte[] bytes = readAll(in); 155 assertEquals(Arrays.toString(plainText.getBytes("UTF-8")), Arrays.toString(bytes)); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_all.py | 73 if isinstance(key, bytes) : 93 k = bytes(k, charset) 103 k = bytes(k, charset) 121 key = bytes(key, charset) 123 value = bytes(data, charset) 142 key = bytes(key, charset) 147 data = bytes(data, charset) 151 if isinstance(v1, bytes) : 153 if isinstance(v2, bytes) : 171 k = bytes(k, "iso8859-1" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_all.py | 73 if isinstance(key, bytes) : 93 k = bytes(k, charset) 103 k = bytes(k, charset) 121 key = bytes(key, charset) 123 value = bytes(data, charset) 142 key = bytes(key, charset) 147 data = bytes(data, charset) 151 if isinstance(v1, bytes) : 153 if isinstance(v2, bytes) : 171 k = bytes(k, "iso8859-1" [all...] |
/system/extras/verity/ |
verify_boot_signature.c | 87 * @param offset Receives the offset in bytes 225 ssize_t bytes = 0; local 251 bytes = BUFFER_SIZE; 254 bytes = length - total; 257 if ((bytes = read(fd, buffer, bytes)) == -1) { 262 EVP_DigestUpdate(ctx, buffer, bytes); 263 total += bytes; 266 if ((bytes = i2d_AuthAttrs((AuthAttrs *) aa, NULL)) < 0) { 271 if ((attrs = OPENSSL_malloc(bytes)) == NULL) [all...] |
/external/bison/lib/ |
bitset.c | 36 /* Return number of bytes required to create a N_BIT bitset 37 of TYPE. The bitset may grow to require more bytes than this. */ 41 size_t bytes; local 52 bytes = abitset_bytes (n_bits); 56 bytes = lbitset_bytes (n_bits); 60 bytes = ebitset_bytes (n_bits); 64 bytes = vbitset_bytes (n_bits); 68 return bytes; 136 size_t bytes; local 139 bytes = bitset_bytes (type, n_bits) 156 size_t bytes; local [all...] |
/external/chromium_org/third_party/icu/source/tools/makeconv/ |
genmbcs.cpp | 73 const uint8_t *bytes, int32_t length, 79 const uint8_t *bytes, int32_t length); 83 const uint8_t *bytes, int32_t length, 89 const uint8_t *bytes, int32_t length, 111 printBytes(char *buffer, const uint8_t *bytes, int32_t length) { 114 *s++=hexDigit((uint8_t)(*bytes>>4)); 115 *s++=hexDigit((uint8_t)(*bytes&0xf)); 116 ++bytes; 222 /* allocate 1M * maxCharLength bytes for at most 1M mappings */ 367 const uint8_t *bytes, int32_t length [all...] |
/external/icu/icu4c/source/tools/makeconv/ |
genmbcs.cpp | 73 const uint8_t *bytes, int32_t length, 79 const uint8_t *bytes, int32_t length); 83 const uint8_t *bytes, int32_t length, 89 const uint8_t *bytes, int32_t length, 111 printBytes(char *buffer, const uint8_t *bytes, int32_t length) { 114 *s++=hexDigit((uint8_t)(*bytes>>4)); 115 *s++=hexDigit((uint8_t)(*bytes&0xf)); 116 ++bytes; 222 /* allocate 1M * maxCharLength bytes for at most 1M mappings */ 367 const uint8_t *bytes, int32_t length [all...] |
/cts/tools/utils/ |
monsoon.py | 146 bytes = self._ReadPacket() 147 if not bytes: return None 148 if len(bytes) != struct.calcsize(STATUS_FORMAT) or bytes[0] != "\x10": 150 ord(bytes[0]), len(bytes)) 153 status = dict(zip(STATUS_FIELDS, struct.unpack(STATUS_FORMAT, bytes))) 215 bytes = self._ReadPacket() 216 if not bytes: return None 217 if len(bytes) < 4 + 8 + 1 or bytes[0] < "\x20" or bytes[0] > "\x2F" [all...] |