Searched defs:bytes (Results 451 - 475 of 1230) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/base/memory/
H A Ddiscardable_memory_manager_unittest.cc79 void SetMemoryLimit(size_t bytes) { manager_.SetMemoryLimit(bytes); } argument
81 void SetSoftMemoryLimit(size_t bytes) { manager_.SetSoftMemoryLimit(bytes); } argument
87 void Register(TestAllocationImpl* allocation, size_t bytes) { argument
88 manager_.Register(allocation, bytes);
110 LockStatus RegisterAndLock(TestAllocationImpl* allocation, size_t bytes) { argument
111 manager_.Register(allocation, bytes);
125 void ReduceMemoryUsageUntilWithinLimit(size_t bytes) { argument
126 manager_.ReduceMemoryUsageUntilWithinLimit(bytes);
[all...]
H A Dshared_memory.h165 bool Map(size_t bytes) { argument
166 return MapAt(0, bytes);
172 bool MapAt(off_t offset, size_t bytes);
H A Dshared_memory_posix.cc282 bool SharedMemory::MapAt(off_t offset, size_t bytes) { argument
286 if (bytes > static_cast<size_t>(std::numeric_limits<int>::max()))
295 if (bytes == 0) {
300 bytes = ashmem_bytes;
304 memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE),
309 mapped_size_ = bytes;
/external/chromium_org/base/
H A Dpickle_unittest.cc233 int bytes = sizeof(int) * 2; local
238 EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes));
239 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes + 1));
344 // Check we can write zero bytes of data and 'data' can be NULL.
/external/chromium_org/build/android/rezip/
H A Drezip.cc61 int bytes = 0; local
63 bytes = unzReadCurrentFile(in_file, buf, sizeof(buf));
64 if (bytes < 0) {
70 if (bytes == 0) {
74 if (ZIP_OK != zipWriteInFileInZip(out_file, buf, bytes)) {
/external/chromium_org/cc/layers/
H A Dtexture_layer_impl.cc117 size_t bytes = texture_mailbox_.SharedMemorySizeInBytes(); local
118 swizzled.resize(bytes);
119 for (size_t i = 0; i < bytes; i += 4) {
/external/chromium_org/cc/resources/
H A Dprioritized_resource.h46 size_t bytes() const { return bytes_; } function in class:cc::PrioritizedResource
98 void SetToSelfManagedMemoryPlaceholder(size_t bytes);
H A Dprioritized_resource_manager.h58 // MemoryUseBytes() describes the number of bytes used by existing allocated
61 // MemoryAboveCutoffBytes() describes the number of bytes that
65 // MaxMemoryNeededBytes() describes the number of bytes that would be used
72 void SetMaxMemoryLimitBytes(size_t bytes) { max_memory_limit_bytes_ = bytes; } argument
92 // limit_bytes bytes. This may be called on the impl thread while the main
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DCertificateViewer.java187 private static String formatBytes(byte[] bytes, char separator) { argument
189 for (int i = 0; i < bytes.length; i++) {
190 sb.append(String.format("%02X", bytes[i]));
191 if (i != bytes.length - 1) {
198 private static byte[] getDigest(byte[] bytes, String algorithm) { argument
201 md.update(bytes);
/external/chromium_org/chrome/browser/chromeos/login/supervised/
H A Dsupervised_user_creation_controller_new.cc50 int bytes = base::WriteFile(token_file, token.c_str(), token.length()); local
51 return bytes >= 0;
/external/chromium_org/chrome/browser/printing/
H A Dprint_view_manager_base.cc168 scoped_refptr<base::RefCountedBytes> bytes = new base::RefCountedBytes( local
172 document->DebugDumpData(bytes, FILE_PATH_LITERAL(".pdf"));
174 bytes, params.page_size, params.content_area);
/external/chromium_org/chrome/browser/sync_file_system/local/
H A Dsyncable_file_system_operation.cc381 int64 bytes,
385 callback.Run(result, bytes, complete);
390 callback.Run(result, bytes, complete);
378 DidWrite( const WriteCallback& callback, base::File::Error result, int64 bytes, bool complete) argument
/external/chromium_org/chromeos/dbus/
H A Dbluetooth_gatt_characteristic_service_provider.cc256 const uint8* bytes = NULL; local
258 if (!variant_reader.PopArrayOfBytes(&bytes, &length)) {
268 std::vector<uint8> value(bytes, bytes + length);
H A Dbluetooth_gatt_descriptor_service_provider.cc253 const uint8* bytes = NULL; local
255 if (!variant_reader.PopArrayOfBytes(&bytes, &length)) {
265 std::vector<uint8> value(bytes, bytes + length);
H A Dcryptohome_client.cc367 const uint8* bytes = NULL; variable
369 if (!reader.PopArrayOfBytes(&bytes, &length) ||
372 value->assign(bytes, bytes + length);
921 const uint8* bytes = NULL; local
923 if (!reader.PopArrayOfBytes(&bytes, &length)) {
928 std::vector<uint8>(bytes, bytes + length));
H A Dfake_bluetooth_gatt_characteristic_client.cc432 // Return the bytes in an array.
433 uint8* bytes = reinterpret_cast<uint8*>(&value); local
435 return_value.assign(bytes, bytes + sizeof(value));
/external/chromium_org/components/cronet/android/
H A Durl_request_adapter.cc55 void URLRequestAdapter::SetUploadContent(const char* bytes, int bytes_len) { argument
56 std::vector<char> data(bytes, bytes + bytes_len);
74 void URLRequestAdapter::AppendChunk(const char* bytes, int bytes_len, argument
78 memcpy(buf.get(), bytes, bytes_len);
116 void URLRequestAdapter::OnAppendChunk(const scoped_ptr<char[]> bytes, argument
118 url_request_->AppendChunkToUpload(bytes.get(), bytes_len, is_last_chunk);
220 VLOG(1) << "Synchronously read: " << bytes_read << " bytes";
225 VLOG(1) << "Flushing buffer: " << bytes_read_ << " bytes";
242 VLOG(1) << "Asynchronously read: " << bytes_read << " bytes";
[all...]
/external/chromium_org/components/nacl/loader/
H A Dnacl_listener.cc54 void FatalLogHandler(const char* data, size_t bytes) { argument
57 uint32_t copy_bytes = std::min<uint32_t>(static_cast<uint32_t>(bytes),
/external/chromium_org/components/rappor/
H A Dbyte_vector_utils.cc125 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 fro
[all...]
H A Drappor_service.cc64 16 /* Bloom filter size bytes */,
188 ByteVector bytes = metric->GetReport(secret_); local
189 report->set_bits(std::string(bytes.begin(), bytes.end()));
/external/chromium_org/components/web_cache/browser/
H A Dweb_cache_manager.cc138 void WebCacheManager::SetGlobalSizeLimit(size_t bytes) { argument
139 global_size_limit_ = bytes;
/external/chromium_org/content/browser/fileapi/
H A Dfile_system_operation_impl_write_unittest.cc99 void add_bytes_written(int64 bytes, bool complete) { argument
100 bytes_written_ += bytes;
132 void DidWrite(base::File::Error status, int64 bytes, bool complete) { argument
134 add_bytes_written(bytes, complete);
H A Dfile_writer_delegate_unittest.cc57 void DidWrite(base::File::Error status, int64 bytes, argument
61 bytes_written_ += bytes;
391 // Writing kDataSize (=45) bytes data while allowed_growth is 100.
411 // Trying to overwrite kDataSize bytes data while allowed_growth is 20.
427 // Trying to write kDataSize bytes data from offset 25 while
446 // Trying to overwrite 45 bytes data while allowed_growth is -20.
465 // Trying to overwrite 45 bytes data with offset pre_write_usage - 20,
/external/chromium_org/content/browser/speech/
H A Daudio_encoder.cc35 size_t bytes,
49 size_t bytes,
55 me->encoded_audio_buffer_.Enqueue(buffer, bytes);
70 // Initializing the encoder will cause sync bytes to be written to
46 WriteCallback( const FLAC__StreamEncoder* encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void* client_data) argument
/external/chromium_org/content/child/fileapi/
H A Dwebfilewriter_base_unittest.cc142 virtual void didWrite(long long bytes, bool complete) { argument
145 received_did_write_bytes_total_ += bytes;

Completed in 495 milliseconds

<<11121314151617181920>>