/device/asus/fugu/libaudio/ |
AudioStreamOut.h | 68 ssize_t write(const void* buffer, size_t bytes); 79 virtual ssize_t writeOutput(const void* buffer, size_t bytes) 81 return mStreamOut->writeInternal(buffer, bytes); 145 ssize_t writeInternal(const void* buffer, size_t bytes);
|
/external/blktrace/btt/ |
trace_im.c | 75 if (s_iop->t.bytes == 0) 84 if (g_iop->t.bytes == 0) 93 if (i_iop->t.bytes == 0) 102 if (m_iop->t.bytes == 0)
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
JcaContentSignerBuilder.java | 115 public void write(byte[] bytes, int off, int len) 120 sig.update(bytes, off, len); 128 public void write(byte[] bytes) 133 sig.update(bytes);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
ECPrivateKey.java | 53 byte[] bytes = BigIntegers.asUnsignedByteArray(key); 58 v.add(new DEROctetString(bytes)); 75 byte[] bytes = BigIntegers.asUnsignedByteArray(key); 80 v.add(new DEROctetString(bytes));
|
ECPrivateKeyStructure.java | 38 byte[] bytes = BigIntegers.asUnsignedByteArray(key); 43 v.add(new DEROctetString(bytes)); 60 byte[] bytes = BigIntegers.asUnsignedByteArray(key); 65 v.add(new DEROctetString(bytes));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
DESParameters.java | 18 * DES Key length in bytes. 89 * @param bytes the byte array to set the parity on. 92 byte[] bytes) 94 for (int i = 0; i < bytes.length; i++) 96 int b = bytes[i]; 97 bytes[i] = (byte)((b & 0xfe) |
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
util.py | 167 with the masking bytes given to the constructor repeatedly. This object 168 remembers the position in the masking bytes the last mask method call 235 def compress_and_flush(self, bytes): 236 compressed_bytes = self._compress.compress(bytes) 238 self._logger.debug('Compress input %r', bytes) 284 # available bytes before invoking read which blocks until 289 # not empty, bytes of requested length are already in data. We 321 def filter(self, bytes): 327 return self._deflater.compress_and_flush(bytes)[:-4] 338 def filter(self, bytes) [all...] |
/external/chromium_org/base/memory/ |
discardable_memory_ashmem.h | 24 explicit DiscardableMemoryAshmem(size_t bytes,
|
shared_memory_nacl.cc | 87 bool SharedMemory::MapAt(off_t offset, size_t bytes) { 91 if (bytes > static_cast<size_t>(std::numeric_limits<int>::max())) 97 memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), 102 mapped_size_ = bytes;
|
/external/chromium_org/chrome/browser/thumbnails/ |
thumbnail_service_impl.h | 32 scoped_refptr<base::RefCountedMemory>* bytes) OVERRIDE;
|
/external/chromium_org/chrome/utility/media_galleries/ |
ipc_data_source.cc | 94 const std::string& bytes) { 101 std::copy(bytes.begin(), bytes.end(), it->second.destination); 102 it->second.callback.Run(bytes.size());
|
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/ |
ChunkedWritableByteChannel.java | 96 byte[] bytes = new byte[mSize]; 99 mInitialBuffer.get(bytes); 106 buffer.get(bytes, offset, bufferSize); 111 return bytes;
|
/external/chromium_org/content/common/gpu/ |
gpu_memory_manager_client.h | 39 // Returns in bytes the total amount of GPU memory for the GPU which this 42 virtual bool GetTotalGpuMemory(uint64* bytes) = 0;
|
/external/chromium_org/crypto/ |
ghash.cc | 29 // Get64 reads a 64-bit, big-endian number from |bytes|. 30 uint64 Get64(const uint8 bytes[8]) { 32 memcpy(&t, bytes, sizeof(t)); 36 // Put64 writes |x| to |bytes| as a 64-bit, big-endian number. 37 void Put64(uint8 bytes[8], uint64 x) { 39 memcpy(bytes, &x, sizeof(x)); 222 void GaloisHash::UpdateBlocks(const uint8* bytes, size_t num_blocks) { 224 y_.low ^= Get64(bytes); 225 bytes += 8; 226 y_.hi ^= Get64(bytes); [all...] |
/external/chromium_org/gpu/ipc/ |
gpu_command_buffer_traits.cc | 49 const char* bytes = NULL; local 50 if (!m->ReadBytes(iter, &bytes, sizeof(p->name))) 52 DCHECK(bytes); 53 memcpy(p->name, bytes, sizeof(p->name));
|
/external/chromium_org/mojo/system/ |
message_in_transit.cc | 91 const void* bytes) 96 if (bytes) { 97 memcpy(MessageInTransit::bytes(), bytes, num_bytes); local 98 memset(static_cast<char*>(MessageInTransit::bytes()) + num_bytes, 102 memset(MessageInTransit::bytes(), 0, main_buffer_size_ - sizeof(Header)); 109 UserPointer<const void> bytes) 114 bytes.GetArray(MessageInTransit::bytes(), num_bytes);
|
/external/chromium_org/net/cert/ |
crl_set_storage.h | 25 // Parse parses the bytes in |data| and, on success, puts a new CRLSet in 36 // GetIsDeltaUpdate extracts the header from |bytes|, sets *is_delta to 37 // whether |bytes| is a delta CRL set or not and returns true. In the event 39 static bool GetIsDeltaUpdate(const base::StringPiece& bytes, bool *is_delta); 41 // Serialize returns a string of bytes suitable for passing to Parse. Parsing 42 // and serializing a CRLSet is a lossless operation - the resulting bytes
|
/external/chromium_org/net/tools/balsa/ |
simple_buffer.cc | 89 // appends up-to-'size' bytes to the simplebuffer. 90 int SimpleBuffer::Write(const char* bytes, int size) { 95 memcpy(storage_ + write_idx_, bytes, size); 122 // returns the number of bytes read into 'bytes' 123 int SimpleBuffer::Read(char* bytes, int size) { 130 memcpy(bytes, read_ptr, read_size); 153 // Can reclaim space from already read bytes by shifting 159 // what we need is to have at least size bytes available for writing. 160 // This implies that the buffer needs to be at least size bytes [all...] |
/external/chromium_org/ppapi/shared_impl/private/ |
ppb_x509_certificate_private_shared.cc | 108 PP_Bool PPB_X509Certificate_Private_Shared::Initialize(const char* bytes, 114 if (!bytes || length == 0) 117 std::vector<char> der(bytes, bytes + length);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DecodedDataDocumentParser.h | 42 virtual void appendBytes(const char* bytes, size_t length) OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
FileWriterSync.h | 60 virtual void didWrite(long long bytes, bool complete) OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
TestingPlatformSupport.h | 68 virtual WebDiscardableMemory* allocateAndLockDiscardableMemory(size_t bytes) OVERRIDE;
|
/external/chromium_org/third_party/icu/source/tools/makeconv/ |
makeconv.h | 49 const uint8_t *bytes, int32_t length);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
memory_pool.h | 47 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
common.h | 109 // The number of bytes one ThreadCache will steal from another when 141 // an unreasonably large value if bytes is huge enough. 142 inline Length pages(size_t bytes) { 143 return (bytes >> kPageShift) + 144 ((bytes & (kPageSize - 1)) > 0 ? 1 : 0); 243 // Allocates "bytes" worth of memory and returns it. Increments 246 void* MetaDataAlloc(size_t bytes); 248 // Returns the total number of bytes allocated from the system. 253 // Adjust metadata_system_bytes to indicate that bytes are actually committed.
|