/external/chromium_org/net/spdy/ |
spdy_read_queue.h | 29 // Returns the total number of bytes in the queue. 32 // Enqueues the bytes in |buffer|. 35 // Dequeues up to |len| (which must be positive) bytes into 36 // |out|. Returns the number of bytes dequeued. 39 // Removes all bytes from the queue.
|
/external/chromium_org/net/tools/quic/benchmark/ |
test_urls.json | 10 "why": "A tiny page, about 1K Bytes." 14 "why": "A small page, about 10K Bytes." 18 "why": "A medium page, about 100K Bytes." 22 "why": "A large page, about 1M Bytes." 26 "why": "A large page, with 1 html and 10 images totaling about 1M Bytes.",
|
/external/chromium_org/net/udp/ |
udp_net_log_parameters.cc | 17 const char* bytes, 23 dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count)); 40 const char* bytes, 42 DCHECK(bytes); 43 return base::Bind(&NetLogUDPDataTranferCallback, byte_count, bytes, address);
|
udp_net_log_parameters.h | 15 // receive/send event. |bytes| are only logged when byte logging is 16 // enabled. |address| may be NULL. |address| (if given) and |bytes| 20 const char* bytes,
|
/external/chromium_org/sync/internal_api/public/base/ |
node_ordinal.cc | 14 std::string bytes(NodeOrdinal::kMinLength, '\x00'); 16 // 0 is a special case since |bytes| must not be all zeros. 17 bytes.push_back('\x80'); 20 bytes[i] = static_cast<uint8>(y); 24 NodeOrdinal ordinal(bytes);
|
/external/chromium_org/third_party/skia/include/core/ |
SkChunkAlloc.h | 31 void* alloc(size_t bytes, AllocFailType); 32 void* allocThrow(size_t bytes) { 33 return this->alloc(bytes, kThrow_AllocFailType); 37 success, the number of bytes freed is returned, or 0 if the block could 65 Block* newBlock(size_t bytes, AllocFailType ftype);
|
/external/chromium_org/third_party/tlslite/tlslite/ |
X509.py | 11 @type bytes: L{array.array} of unsigned bytes 12 @ivar bytes: The DER-encoded ASN.1 certificate 17 @type subject: L{array.array} of unsigned bytes 22 self.bytes = createByteArraySequence([]) 43 bytes = base64ToBytes(s) 44 self.parseBinary(bytes) 47 def parseBinary(self, bytes): 50 @type bytes: str or L{array.array} of unsigned bytes [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SignatureTest.java | 22 byte[] bytes = { (byte) 0xAC, (byte) 0xDE }; 23 Signature signature = new Signature(bytes); 25 assertArrayEquals(bytes, signature.toByteArray()); 30 byte[] bytes = { (byte) 0xAC, (byte) 0xDE }; 31 Signature expected = new Signature(bytes);
|
/external/skia/include/core/ |
SkChunkAlloc.h | 31 void* alloc(size_t bytes, AllocFailType); 32 void* allocThrow(size_t bytes) { 33 return this->alloc(bytes, kThrow_AllocFailType); 37 success, the number of bytes freed is returned, or 0 if the block could 65 Block* newBlock(size_t bytes, AllocFailType ftype);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldInputStreamTest.java | 94 assertEquals("Test 1: Incorrect count of bytes read.", 100 assertTrue("Test 1: Wrong bytes read.", equal); 102 // Test 2: Test that the correct number of bytes read is returned 103 // if the source has less bytes available than fit in the buffer. 106 assertEquals("Test 2: Incorrect count of bytes read.", 112 assertTrue("Test 2: Wrong bytes read.", equal); 174 assertEquals("Test 1: Incorrect count of bytes read.", 180 assertTrue("Test 1: Wrong bytes read.", equal); 183 assertEquals("Test 2: Incorrect count of bytes read.", 189 assertTrue("Test 2: Wrong bytes read.", equal) [all...] |
/dalvik/dexgen/src/com/android/dexgen/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...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstString.java | 36 /** {@code non-null;} the UTF-8 value as bytes */ 37 private final ByteArray bytes; field in class:CstString 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...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
cryptomath.py | 90 bytes = createByteArrayZeros(howMany) 91 cryptlib_py.cryptEncrypt(randomKey, bytes) 92 return bytes 123 def bytesToNumber(bytes): 126 for count in range(len(bytes)-1, -1, -1): 127 byte = bytes[count] 134 bytes = createByteArrayZeros(howManyBytes) 136 bytes[count] = int(n % 256) 138 return bytes 140 def bytesToBase64(bytes) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
CstString.java | 36 /** {@code non-null;} the UTF-8 value as bytes */ 37 private final ByteArray bytes; field in class:CstString 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...] |
/external/chromium_org/media/base/ |
seekable_buffer.h | 17 // bytes exceeds |backward_capacity|, the exceeding bytes are evicted and thus 23 // how many bytes can be kept in the forward direction, regulated by 25 // forward bytes to exceed |forward_capacity| will have a return value that 49 // The values are in bytes. 57 // Reads a maximum of |size| bytes into |data| from the current read 58 // position. Returns the number of bytes read. 59 // The current read position will advance by the amount of bytes read. If 64 // Copies up to |size| bytes from current position to |data|. Returns 65 // number of bytes copied. Doesn't advance current position. Optionall [all...] |
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
longobject.h | 79 /* _PyLong_FromByteArray: View the n unsigned bytes as a binary integer in 82 If little_endian is 1/true, bytes[n-1] is the MSB and bytes[0] the LSB; 83 else (little_endian is 0/false) bytes[0] is the MSB and bytes[n-1] the 85 If is_signed is 0/false, view the bytes as a non-negative integer. 86 If is_signed is 1/true, view the bytes as a 2's-complement integer, 93 const unsigned char* bytes, size_t n, 97 v to a base-256 integer, stored in array bytes. Normally return 0, 99 If little_endian is 1/true, store the MSB at bytes[n-1] and the LSB a [all...] |
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
longobject.h | 79 /* _PyLong_FromByteArray: View the n unsigned bytes as a binary integer in 82 If little_endian is 1/true, bytes[n-1] is the MSB and bytes[0] the LSB; 83 else (little_endian is 0/false) bytes[0] is the MSB and bytes[n-1] the 85 If is_signed is 0/false, view the bytes as a non-negative integer. 86 If is_signed is 1/true, view the bytes as a 2's-complement integer, 93 const unsigned char* bytes, size_t n, 97 v to a base-256 integer, stored in array bytes. Normally return 0, 99 If little_endian is 1/true, store the MSB at bytes[n-1] and the LSB a [all...] |
/prebuilts/sdk/6/ |
android.jar | |
/dalvik/dx/src/com/android/dx/command/dump/ |
Main.java | 48 } else if (arg.equals("--bytes")) { 87 byte[] bytes = FileUtils.readFile(name); 91 src = new String(bytes, "utf-8"); 95 bytes = HexParser.parse(src); 97 processOne(name, bytes); 113 * @param bytes {@code non-null;} contents of the file 115 private static void processOne(String name, byte[] bytes) { 117 DotDumper.dump(bytes, name, parsedArgs); 119 BlockDumper.dump(bytes, System.out, name, false, parsedArgs); 121 BlockDumper.dump(bytes, System.out, name, true, parsedArgs) [all...] |
/development/tutorials/MoarRam/ |
README.txt | 6 foo.c (libmoarram-foo.so). Each invocation will allocate 32 bytes. 8 bar.c (libmoarram-bar.so). Each invocation will allocate 2M bytes. 10 in baz.c (libmoarram-baz.so). Each invocation will allocate 17 or 71 bytes,
|
/external/chromium/base/memory/ |
ref_counted_memory.cc | 30 RefCountedBytes* bytes = new RefCountedBytes; local 31 bytes->data.swap(*to_destroy); 32 return bytes;
|
/external/chromium/base/ |
sha1.h | 18 SHA1_LENGTH = 20 // Length in bytes of a SHA-1 hash. 25 // Computes the SHA-1 hash of the |len| bytes in |data| and puts the hash 26 // in |hash|. |hash| must be SHA1_LENGTH bytes long.
|
/external/chromium_org/base/ |
sha1.h | 16 static const size_t kSHA1Length = 20; // Length in bytes of a SHA-1 hash. 22 // Computes the SHA-1 hash of the |len| bytes in |data| and puts the hash 23 // in |hash|. |hash| must be kSHA1Length bytes long.
|
/external/chromium_org/mojo/apps/js/test/ |
hexdump.js | 13 function dumpArray(bytes) { 15 for (var i = 0; i < bytes.length; ++i) { 16 dumped += hexify(bytes[i], 2);
|
/external/chromium_org/sandbox/win/src/sidestep/ |
preamble_patcher.h | 15 // bytes of the function. Considering the worst case scenario, we need 4 16 // bytes + the max instruction size + 5 more bytes for our jump back to 34 // Implements a patching mechanism that overwrites the first few bytes of 41 // - If there is a jump (jxx) instruction in the first 5 bytes of 47 // - If there is a return (ret) instruction in the first 5 bytes 50 // - If there is another thread currently executing within the bytes 62 // preamble_stub of stub_size bytes. 74 // Patches a function by overwriting its first few bytes with 92 // hold the preamble bytes [all...] |