/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/dexmaker/src/dx/java/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/chromium/chrome/browser/parsers/ |
metadata_parser_factory.h | 23 char* bytes,
|
metadata_parser_jpeg_factory.h | 19 virtual bool CanParse(const FilePath& path, char* bytes, int bytes_size);
|
/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.h | 27 std::string RandomDataToGUIDString(const uint64 bytes[2]);
|
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/third_party/libevent/test/ |
regress.rpc | 18 optional bytes some_bytes = 2; 19 bytes fixed_bytes[24] = 3;
|
/external/chromium_org/base/ |
guid.h | 27 BASE_EXPORT std::string RandomDataToGUIDString(const uint64 bytes[2]);
|
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/chrome/browser/parsers/ |
metadata_parser_factory.h | 24 char* bytes,
|
/external/chromium_org/content/browser/webui/ |
url_data_source_impl.cc | 28 base::RefCountedMemory* bytes) { 30 scoped_refptr<base::RefCountedMemory> bytes_ptr(bytes); 53 scoped_refptr<base::RefCountedMemory> bytes) { 56 backend_->DataAvailable(request_id, bytes.get());
|
/external/chromium_org/net/udp/ |
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/ppapi/thunk/ |
ppb_x509_certificate_private_api.h | 18 virtual PP_Bool Initialize(const char* bytes, uint32_t length) = 0;
|
/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/libevent/test/ |
regress.rpc | 18 optional bytes some_bytes = 2; 19 bytes fixed_bytes[24] = 3;
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
ByteStringTest.java | 90 byte[] bytes = getTestBytes(); 91 ByteString substring = ByteString.copyFrom(bytes).substring(500); 93 isArrayRange(substring.toByteArray(), bytes, 500, bytes.length - 500)); 97 byte[] bytes = getTestBytes(); 98 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); 99 assertTrue("copyFrom sub-range must contain the expected bytes", 100 isArrayRange(byteString.toByteArray(), bytes, 500, 200)); 104 byte[] bytes = getTestBytes(); 105 ByteString byteString = ByteString.copyFrom(bytes); [all...] |
/external/dropbear/ |
bignum.h | 32 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len);
|
/external/emma/core/java12/com/vladium/emma/rt/ |
IClassLoadHook.java | 26 // * returns false, the current loader will load the class bytes itself and 62 * class definition in 'bytes' ('out' could be backed by the same array as 63 * 'bytes') 68 byte [] bytes, int length,
|
/external/kernel-headers/original/linux/raid/ |
xor.h | 8 extern void xor_block(unsigned int count, unsigned int bytes, void **ptr);
|
/libcore/benchmarks/src/benchmarks/regression/ |
ChecksumBenchmark.java | 27 byte[] bytes = new byte[10000]; 30 adler.update(bytes); 40 byte[] bytes = new byte[10000]; 43 crc.update(bytes);
|
/libcore/luni/src/main/java/java/security/ |
SecureRandomSpi.java | 43 * Generates and stores random bytes in the given {@code byte[]} for each 46 * @param bytes 47 * the {@code byte[]} to be filled with random bytes. 49 protected abstract void engineNextBytes(byte[] bytes); 52 * Generates and returns the specified number of seed bytes, computed using 56 * the number of seed bytes. 57 * @return the seed bytes
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Fingerprint.java | 43 // 16 bytes for 128-bit fingerprint 61 // md5 digest bytes. 67 public Fingerprint(byte[] bytes) { 68 if ((bytes == null) || (bytes.length != FINGERPRINT_BYTE_LENGTH)) { 71 mMd5Digest = bytes; 87 byte[] bytes = new byte[8192]; 90 int n = in.read(bytes); 111 // decode the hex bytes of the fingerprint portion 112 byte[] bytes = new byte[FINGERPRINT_BYTE_LENGTH] [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
AttributeFactory.java | 56 * Parses and makes an attribute based on the bytes at the 64 * @param offset offset into {@code dcf}'s {@code bytes} 82 ByteArray bytes = cf.getBytes(); local 84 int nameIdx = bytes.getUnsignedShort(offset); 85 int length = bytes.getInt(offset + 2); 90 observer.parsed(bytes, offset, 2, 92 observer.parsed(bytes, offset + 2, 4, 115 * @param offset offset into {@code bytes} to start parsing at; this 124 ByteArray bytes = cf.getBytes(); local 126 Attribute result = new RawAttribute(name, bytes, offset, length, pool) [all...] |
/external/chromium/net/base/ |
bandwidth_metrics.cc | 32 void ScopedBandwidthMetrics::RecordBytes(int bytes) { 33 g_bandwidth_metrics.Get().RecordBytes(bytes);
|