/libcore/luni/src/main/java/java/nio/channels/ |
FileChannel.java | 46 * is the number of bytes that it currently contains. The size can be 47 * manipulated by adding more bytes to the end of the file (which increases the 55 * <li>lock ranges of bytes associated with the file,</li> 224 * the length of the locked region in bytes. 286 * @return the current position as a positive integer number of bytes from 298 * The argument is the number of bytes counted from the start of the file. 302 * succeed but they will fill the bytes between the current end of file and 306 * the new file position, in bytes. 318 * Reads bytes from this file channel into the given buffer. 320 * The maximum number of bytes that will be read is the remaining number o [all...] |
/art/runtime/native/ |
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 96 * (1b) bytes per entry 115 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context); local 116 JDWP::Append4BE(bytes, t->GetThinLockId()); 117 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState())); 118 JDWP::Append4BE(bytes, t->GetTid()); 119 JDWP::Append4BE(bytes, utime); 120 JDWP::Append4BE(bytes, stime); 121 JDWP::Append1BE(bytes, t->IsDaemon()); 125 std::vector<uint8_t> bytes; local 134 JDWP::Append1BE(bytes, kThstHeaderLen) [all...] |
/bootable/diskinstaller/ |
installer_img_layout.conf | 4 # bytes in a disk "block", must be a power of 2!
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERBitString.java | 69 * return the correct number of bytes for a bit string defined in 74 int bytes = 4; local 81 bytes--; 84 byte[] result = new byte[bytes]; 85 for (int i = 0; i < bytes; i++) 216 byte[] bytes = new byte[getBytes().length + 1]; 218 bytes[0] = (byte)getPadBits(); 219 System.arraycopy(getBytes(), 0, bytes, 1, bytes.length - 1); local 221 out.writeEncoded(BERTags.BIT_STRING, bytes); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
ExtendedDigest.java | 7 * Return the size in bytes of the internal buffer the digest applies it's compression
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
DESedeParameters.java | 7 * DES-EDE Key length in bytes. 25 * @param key bytes making up the key 27 * @param length number of bytes making up the key 48 * @param key bytes making up the key
|
/external/chromium/base/win/ |
scoped_bstr.cc | 51 BSTR ScopedBstr::AllocateBytes(size_t bytes) { 52 Reset(SysAllocStringByteLen(NULL, static_cast<UINT>(bytes))); 56 void ScopedBstr::SetByteLen(size_t bytes) { 59 data[-1] = static_cast<uint32>(bytes);
|
/external/chromium/chrome/browser/ui/webui/ |
sync_internals_html_source.cc | 40 scoped_refptr<RefCountedBytes> bytes(new RefCountedBytes()); 41 bytes->data.resize(html.size()); 42 std::copy(html.begin(), html.end(), bytes->data.begin()); 43 SendResponse(request_id, bytes);
|
/external/chromium/chrome/common/ |
guid_unittest.cc | 13 uint64 bytes[] = { 0, 0 }; local 14 std::string clientid = guid::RandomDataToGUIDString(bytes); 19 uint64 bytes[] = { 0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL }; local 20 std::string clientid = guid::RandomDataToGUIDString(bytes);
|
/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/chromium_org/base/ |
guid_unittest.cc | 13 uint64 bytes[] = { 0, 0 }; local 14 std::string clientid = base::RandomDataToGUIDString(bytes); 19 uint64 bytes[] = { 0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL }; local 20 std::string clientid = base::RandomDataToGUIDString(bytes);
|
/external/chromium_org/base/win/ |
scoped_bstr.cc | 51 BSTR ScopedBstr::AllocateBytes(size_t bytes) { 52 Reset(SysAllocStringByteLen(NULL, static_cast<UINT>(bytes))); 56 void ScopedBstr::SetByteLen(size_t bytes) { 59 data[-1] = static_cast<uint32>(bytes);
|
/external/chromium_org/cc/resources/ |
resource.cc | 9 size_t Resource::bytes() const { function in class:cc::Resource
|
/external/chromium_org/net/base/ |
test_data_stream.cc | 13 // Fill |buffer| with |length| bytes of data from the stream. 59 void TestDataStream::Consume(int bytes) { 60 bytes_remaining_ -= bytes; 62 buffer_ptr_ += bytes;
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
IsValidUtf8Test.java | 46 * bytes and will return false for any sequence that will not round trip. 90 // Bad trailing bytes 127 private byte[] toByteArray(int... bytes) { 128 byte[] realBytes = new byte[bytes.length]; 129 for (int i = 0; i < bytes.length; i++) { 130 realBytes[i] = (byte) bytes[i]; 135 private ByteString toByteString(int... bytes) { 136 return ByteString.copyFrom(toByteArray(bytes)); 139 private void assertValidUtf8(int[] bytes, boolean not) { 140 byte[] realBytes = toByteArray(bytes); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrAllocPool.h | 24 * Returns a block of memory bytes size big. This address must not be 28 void* alloc(size_t bytes); 31 * Releases the most recently allocated bytes back to allocpool. 33 void release(size_t bytes);
|
/external/chromium_org/third_party/skia/src/utils/mac/ |
SkStream_mac.cpp | 20 static size_t get_bytes_proc(void* info, void* buffer, size_t bytes) { 22 return ((SkStream*)info)->read(buffer, bytes); 25 static off_t skip_forward_proc(void* info, off_t bytes) { 26 return ((SkStream*)info)->skip((size_t) bytes);
|
/external/clang/test/Analysis/ |
keychainAPI-diagnostic-visitor.m | 26 char *bytes; 28 st = SecKeychainItemCopyContent(2, ptr, ptr, &length, (void **)&bytes); // expected-note {{Data is allocated here}} 29 x = bytes; 31 x = bytes;;
|
/external/iptables/extensions/ |
libxt_quota.man | 7 The quota in bytes.
|
/external/kernel-headers/original/asm-arm/ |
shmparam.h | 7 * every size/ways bytes.
|
/external/kernel-headers/original/linux/netfilter/ |
xt_multiport.h | 13 /* Must fit inside union xt_matchinfo: 16 bytes */
|
/external/llvm/test/MC/Disassembler/SystemZ/ |
trunc-01.txt | 2 # Every instruction must be at least two bytes long.
|
trunc-02.txt | 2 # If the top bits are 0b10, the instruction must be 4 bytes long.
|
/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");
|
IsoTypeWriterVariable.java | 23 public static void write(long v, ByteBuffer bb, int bytes) { 24 switch (bytes) { 41 throw new RuntimeException("I don't know how to read " + bytes + " bytes");
|