/system/core/include/utils/ |
JenkinsHash.h | 42 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size);
|
/cts/tests/tests/security/jni/ |
android_security_cts_NetlinkSocket.cpp | 45 void *bytes = (void *)e->GetByteArrayElements(packet, NULL); local 48 struct iovec iov = {bytes, length}; 57 e->ReleaseByteArrayElements(packet, (jbyte*)bytes, 0);
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/development/samples/Vault/src/com/example/android/vault/ |
Utils.java | 61 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 65 bytes.write(buffer, 0, count); 67 return bytes.toByteArray();
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_Exec.java | 70 byte[] bytes = new byte[1024]; 72 while ((result = in.read(bytes)) != -1) { 73 output.append(new String(bytes, 0, result)); 75 System.out.write(bytes, 0, result); 121 byte[] bytes = new byte[1024]; 123 while ((result = in.read(bytes)) != -1) { 124 output.append(new String(bytes, 0, result)); 126 System.out.write(bytes, 0, result); 240 byte[] bytes = new byte[1024]; 248 while ((result = err.read(bytes)) != -1) [all...] |
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
FinishedTest.java | 35 byte[] bytes = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2 }; 36 Finished message = new Finished(bytes); 39 .getData(), bytes)); 64 fail("Extra bytes: No expected AlertException ");
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
BEROctetStringGenerator.java | 93 byte[] bytes = new byte[_off]; 94 System.arraycopy(_buf, 0, bytes, 0, _off); 96 DEROctetString.encode(_derOut, bytes);
|
DefiniteLengthInputStream.java | 97 byte[] bytes = new byte[_remaining]; 98 if ((_remaining -= Streams.readFully(_in, bytes)) != 0) 103 return bytes;
|
/external/chromium_org/base/memory/ |
discardable_memory_manager.cc | 35 void DiscardableMemoryManager::SetMemoryLimit(size_t bytes) { 37 memory_limit_ = bytes; 42 void DiscardableMemoryManager::SetSoftMemoryLimit(size_t bytes) { 44 soft_memory_limit_ = bytes; 57 void DiscardableMemoryManager::ReduceMemoryUsageUntilWithinLimit(size_t bytes) { 60 bytes); local 63 void DiscardableMemoryManager::Register(Allocation* allocation, size_t bytes) { 66 allocations_.Put(allocation, AllocationInfo(bytes)); 76 size_t bytes_purgable = info.bytes; 93 if (!info->bytes) [all...] |
/external/chromium_org/components/rappor/ |
byte_vector_utils.cc | 125 ByteVector bytes(byte_count_); 126 crypto::RandBytes(&bytes[0], bytes.size()); 127 return bytes; 132 ByteVector bytes = GetRandomByteVector(); local 135 return *ByteVectorOr(GetRandomByteVector(), &bytes); 137 return bytes; 139 return *ByteVectorAnd(GetRandomByteVector(), &bytes); 142 return bytes; 197 // Streams bytes from HMAC_DRBG_Generat [all...] |
/external/chromium_org/content/browser/fileapi/ |
file_system_browsertest.cc | 64 static void SetTempQuota(int64 bytes, scoped_refptr<QuotaManager> qm) { 68 base::Bind(&FileSystemBrowserTestWithLowQuota::SetTempQuota, bytes, 73 qm->SetTemporaryGlobalOverrideQuota(bytes, storage::QuotaCallback());
|
/external/chromium_org/gin/ |
array_buffer.h | 33 void* bytes() const { return bytes_; } function in class:gin::ArrayBuffer 59 void* bytes() const { function in class:gin::ArrayBufferView 60 return static_cast<uint8_t*>(array_buffer_.bytes()) + offset_;
|
/external/chromium_org/printing/ |
image_win.cc | 81 size_t bytes = row_length_ * size_.height(); local 82 DCHECK(bytes); 84 data_.assign(bits, bits + bytes);
|
/external/chromium_org/remoting/host/win/ |
wts_terminal_monitor.cc | 35 DWORD bytes; local 41 &bytes)) { 46 (bytes / sizeof(wchar_t)) - 1,
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Uniform.cpp | 33 size_t bytes = dataSize(); local 34 data = new unsigned char[bytes]; 35 memset(data, 0, bytes);
|
/external/chromium_org/third_party/icu/source/common/ |
bytestream.cpp | 42 void CheckedArrayByteSink::Append(const char* bytes, int32_t n) { 52 if (n > 0 && bytes != (outbuf_ + size_)) { 53 uprv_memcpy(outbuf_ + size_, bytes, n);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
testutil.cpp | 54 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { 57 buf.append(HEX[0x0F & (bytes[i] >> 4)]); 58 buf.append(HEX[0x0F & bytes[i]]);
|
/external/chromium_org/third_party/opus/src/src/ |
opus.c | 174 int i, bytes; local 214 bytes = parse_size(data, len, size); 215 len -= bytes; 218 data += bytes; 256 bytes = parse_size(data, len, size+i); 257 len -= bytes; 260 data += bytes; 261 last_size -= bytes+size[i]; 279 bytes = parse_size(data, len, size+count-1); 280 len -= bytes; [all...] |
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_ktx.cpp | 276 const uint8_t *bytes = data->bytes(); local 277 if (etc1_pkm_is_valid(bytes)) { 282 if (SkKTXFile::is_ktx(bytes)) { 283 return stream->write(bytes, data->size()); 294 const uint8_t* bytes = data->bytes(); local 295 SkASSERT(etc1_pkm_is_valid(bytes)); 297 etc1_uint32 width = etc1_pkm_get_width(bytes); 298 etc1_uint32 height = etc1_pkm_get_height(bytes); [all...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
pycrypto_rsakey.py | 29 s = bytes(numberToByteArray(m, numBytes(self.n))) 34 s = bytes(numberToByteArray(c, numBytes(self.n))) 41 return bytes(getRandomBytes(numBytes))
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/external/dhcpcd/ |
bpf.c | 167 ssize_t bytes; local 180 bytes = read(fd, iface->buffer, iface->buffer_size); 181 if (bytes == -1) 183 else if ((size_t)bytes < sizeof(packet)) 185 iface->buffer_len = bytes; 188 bytes = -1; 197 bytes = packet.bh_caplen - ETHER_HDR_LEN; 198 if (bytes > len) 199 bytes = len; 200 memcpy(data, payload, bytes); [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
ExceptionsAttribute_info.java | 113 final UDataInputStream bytes) 118 final int number_of_exceptions = bytes.readU2 (); 123 final int exception_index = bytes.readU2 ();
|
/external/emma/core/java12/com/vladium/jcd/cls/constant/ |
CONSTANT_NameAndType_info.java | 93 protected CONSTANT_NameAndType_info (final UDataInputStream bytes) throws IOException 95 m_name_index = bytes.readU2 (); 96 m_descriptor_index = bytes.readU2 ();
|