/bootable/bootloader/legacy/include/boot/ |
flash.h | 56 void *data, unsigned bytes); 57 #define flash_read(ptn, offset, data, bytes) flash_read_ext(ptn, 0, offset, data, bytes) 59 const void *data, unsigned bytes);
|
/external/chromium/net/base/ |
io_buffer.cc | 16 void DrainableIOBuffer::SetOffset(int bytes) { 17 DCHECK(bytes >= 0 && bytes <= size_); 18 used_ = bytes;
|
/external/skia/include/core/ |
SkChunkAlloc.h | 44 void* alloc(size_t bytes, AllocFailType); 45 void* allocThrow(size_t bytes) { 46 return this->alloc(bytes, kThrow_AllocFailType); 50 success, the number of bytes freed is returned, or 0 if the block could 66 Block* newBlock(size_t bytes, AllocFailType ftype);
|
/external/skia/src/core/ |
SkChunkAlloc.cpp | 80 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) { 83 if (block && bytes <= block->fFreeSize) { 88 size_t size = SkMax32((int32_t)bytes, (int32_t)fMinSize); 103 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype) { 104 bytes = SkAlign4(bytes); 108 if (block == NULL || bytes > block->fFreeSize) { 109 block = this->newBlock(bytes, ftype); 117 SkASSERT(block && bytes <= block->fFreeSize); 120 block->fFreeSize -= bytes; 126 size_t bytes = 0; local [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstUtf8.java | 35 /** {@code non-null;} the UTF-8 value as bytes */ 36 private final ByteArray bytes; field in class:CstUtf8 44 * @return {@code non-null;} the UTF-8 bytes for it 48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate. 54 bytes[outAt] = (byte) c; 57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0); 58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80); 61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0); 62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80); 63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80) [all...] |
/libcore/luni/src/main/java/java/io/ |
InputStreamReader.java | 35 * of bytes read from the source stream and converts these into characters as 47 private final ByteBuffer bytes = ByteBuffer.allocate(8192); field in class:InputStreamReader 64 * character converter that is used to decode bytes into characters is 92 bytes.limit(0); 109 bytes.limit(0); 127 bytes.limit(0); 154 * Returns the name of the encoding used to convert bytes into characters. 169 * with the two higher-order bytes set to 0. Returns -1 if the end of the 171 * converting bytes in this reader's buffer or by first filling the buffer 194 * been reached. The bytes are either obtained from converting bytes in thi [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
ClassDumper.java | 33 * @param bytes {@code non-null;} bytes of the (alleged) class file 40 public static void dump(byte[] bytes, PrintStream out, 43 new ClassDumper(bytes, out, filePath, args); 51 private ClassDumper(byte[] bytes, PrintStream out, 53 super(bytes, out, filePath, args); 60 byte[] bytes = getBytes(); 61 ByteArray ba = new ByteArray(bytes); 70 if (at != bytes.length) { 71 parsed(ba, at, bytes.length - at, "<extra data at end of file>") [all...] |
/external/chromium/net/tools/flip_server/ |
buffer_interface.h | 13 // Returns the bytes which can be read from the buffer. There is no 14 // guarantee that the bytes are contiguous. 24 // returns the number of bytes free in this buffer. 26 // number of bytes free. 42 // appends up-to-'size' bytes to the buffer. 44 // bytes - bytes which are read, and copied into the buffer. 45 // size - number of bytes which are read and copied. 47 virtual int Write(const char* bytes, int size) = 0; 57 // size - the amount of data (in bytes) that it is safe to write to ptr [all...] |
/external/elfutils/libdw/ |
dwarf_nextcu.c | 50 char *bytes = (char *) dwarf->sectiondata[IDX_debug_info]->d_buf + off; local 73 4. A 1-byte unsigned integer representing the size in bytes of 77 uint64_t length = read_4ubyte_unaligned_inc (dwarf, bytes); 96 length = read_8ubyte_unaligned_inc (dwarf, bytes); 100 read_2ubyte_unaligned_inc (dwarf, bytes); 106 abbrev_offset = read_4ubyte_unaligned_inc (dwarf, bytes); 108 abbrev_offset = read_8ubyte_unaligned_inc (dwarf, bytes); 113 uint8_t address_size = *bytes++; 123 *header_sizep = (bytes
|
/external/qemu/hw/ |
msmouse.c | 38 unsigned char bytes[4] = { 0x40, 0x00, 0x00, 0x00 }; local 41 bytes[0] |= (MSMOUSE_HI2(dy) << 2) | MSMOUSE_HI2(dx); 42 bytes[1] |= MSMOUSE_LO6(dx); 43 bytes[2] |= MSMOUSE_LO6(dy); 46 bytes[0] |= (buttons_state & 0x01 ? 0x20 : 0x00); 47 bytes[0] |= (buttons_state & 0x02 ? 0x10 : 0x00); 48 bytes[3] |= (buttons_state & 0x04 ? 0x20 : 0x00); 53 qemu_chr_read(chr, bytes, 4);
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DERTaggedObject.java | 55 byte[] bytes = obj.getDERObject().getEncoded(DER); 59 out.writeEncoded(CONSTRUCTED | TAGGED, tagNo, bytes); 67 if ((bytes[0] & CONSTRUCTED) != 0) 77 out.write(bytes, 1, bytes.length - 1);
|
ASN1InputStream.java | 94 byte[] bytes) 97 if (Streams.readFully(this, bytes) != bytes.length) 104 * build an object given its tag and the number of bytes to construct it from. 305 throw new IOException("DER length more than 4 bytes: " + size); 337 byte[] bytes) 343 int padBits = bytes[0]; 344 byte[] data = new byte[bytes.length - 1]; 345 System.arraycopy(bytes, 1, data, 0, bytes.length - 1) [all...] |
/external/webkit/WebCore/platform/text/ |
TextCodecUserDefined.cpp | 52 String TextCodecUserDefined::decode(const char* bytes, size_t length, bool, bool, bool&) 58 signed char c = bytes[i]; 68 char* bytes = result.data(); local 76 bytes[resultLength++] = signedByte; 82 bytes = result.data(); 83 memcpy(bytes + resultLength, replacement, replacementLength); 88 return CString(bytes, resultLength); 93 char* bytes; local 94 CString string = CString::newUninitialized(length, bytes); 100 bytes[i] = c [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
CharSequences.java | 26 * bytes. 28 * @param bytes ASCII bytes 30 public static CharSequence forAsciiBytes(final byte[] bytes) { 33 return (char) bytes[index]; 37 return bytes.length; 41 return forAsciiBytes(bytes, start, end); 45 return new String(bytes); 52 * bytes. 54 * @param bytes ASCII byte [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
DirectClassFile.java | 79 /** {@code non-null;} the bytes of the file */ 80 private final ByteArray bytes; field in class:DirectClassFile 165 * @param bytes {@code non-null;} the bytes of the file 173 public DirectClassFile(ByteArray bytes, String filePath, 175 if (bytes == null) { 176 throw new NullPointerException("bytes == null"); 184 this.bytes = bytes; 192 * @param bytes {@code non-null;} the bytes of the fil 561 private final ByteArray bytes; field in class:DirectClassFile.DcfTypeList [all...] |
/external/webkit/WebKit/mac/Misc/ |
WebNSDataExtras.m | 115 const UInt8 *bytes = [self bytes]; 119 const char *p = (const char *)bytes; 175 const char *bytes = [self bytes]; 177 const char *p = bytes; 201 p = bytes; 231 if ((length >= VCARD_HEADER_LENGTH) && strncmp(bytes, "BEGIN:VCARD", VCARD_HEADER_LENGTH) == 0) { 234 if ((length >= VCAL_HEADER_LENGTH) && strncmp(bytes, "BEGIN:VCALENDAR", VCAL_HEADER_LENGTH) == 0) { 241 char c = bytes[i] [all...] |
/external/netcat/data/ |
xor.c | 4 file to read xor-bytes out of. Any zero in the xor-bytes array is treated 20 char bytes[256]; variable 23 /* do the xor, in place. Uses global ptr "py" to maintain "bytes" state */ 38 py = bytes; 52 memset (bytes, 0, sizeof (bytes)); 53 bytes[0] = 0xff; 76 read (x, bytes, 250); /* nothin' fancy here */ 79 py = bytes; [all...] |
/external/dbus/dbus/ |
dbus-memory.h | 40 void* dbus_malloc (size_t bytes); 41 void* dbus_malloc0 (size_t bytes); 43 size_t bytes);
|
/external/emma/core/java12/com/vladium/jcd/cls/constant/ |
CONSTANT_ref_info.java | 62 protected CONSTANT_ref_info (final UDataInputStream bytes) 65 m_class_index = bytes.readU2 (); 66 m_name_and_type_index = bytes.readU2 ();
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
RandomImpl.java | 40 protected void engineNextBytes(byte[] bytes) { 42 for (int i = 0; i < bytes.length; i++) { 43 bytes[i] = (byte)(i + 0xF1);
|
/dalvik/dx/src/com/android/dx/util/ |
ByteArray.java | 31 private final byte[] bytes; field in class:ByteArray 36 /** {@code >= 0, <= bytes.length}; size computed as 43 * @param bytes {@code non-null;} the underlying array 45 * @param end {@code >= start, <= bytes.length;} end index of 48 public ByteArray(byte[] bytes, int start, int end) { 49 if (bytes == null) { 50 throw new NullPointerException("bytes == null"); 61 if (end > bytes.length) { 62 throw new IllegalArgumentException("end > bytes.length"); 65 this.bytes = bytes [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/ |
Strings.java | 8 public static String fromUTF8ByteArray(byte[] bytes) 13 while (i < bytes.length) 16 if ((bytes[i] & 0xf0) == 0xf0) 22 else if ((bytes[i] & 0xe0) == 0xe0) 26 else if ((bytes[i] & 0xc0) == 0xc0) 41 while (i < bytes.length) 45 if ((bytes[i] & 0xf0) == 0xf0) 47 int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[i+2] & 0x3F) << 6) | (bytes[i+3] & 0x3F) [all...] |
/libcore/luni/src/main/java/java/nio/ |
HeapByteBuffer.java | 177 int bytes = 0; local 180 bytes = bytes << 8; 181 bytes = bytes | (backingArray[baseOffset + i] & 0xFF); 185 bytes = bytes << 8; 186 bytes = bytes | (backingArray[baseOffset + i] & 0xFF); 189 return bytes; 194 long bytes = 0; local 211 short bytes = 0; local [all...] |
/external/chromium/third_party/libevent/test/ |
regress.rpc | 18 optional bytes some_bytes = 2; 19 bytes fixed_bytes[24] = 3;
|
/external/dropbear/ |
bignum.h | 32 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len);
|