/external/chromium_org/android_webview/native/ |
H A D | input_stream_impl.cc | 34 // Maximum number of bytes to be read in a single read. 61 int bytes = Java_InputStreamUtil_available(env, jobject_.obj()); local 62 if (bytes == kExceptionThrownStatusCode) 64 *bytes_available = bytes; 70 int bytes = Java_InputStreamUtil_skip(env, jobject_.obj(), n); local 71 if (bytes < 0) 73 if (bytes > n) 75 *bytes_skipped = bytes;
|
/external/chromium_org/base/android/ |
H A D | jni_array_unittest.cc | 18 ScopedJavaLocalRef<jbyteArray> bytes = ToJavaByteArray(env, kBytes, kLen); local 19 ASSERT_TRUE(bytes.obj()); 22 JavaByteArrayToByteVector(env, bytes.obj(), &vec); 26 AppendJavaByteArrayToByteVector(env, bytes.obj(), &vec);
|
/external/chromium_org/base/memory/ |
H A D | discardable_memory_emulated.cc | 33 DiscardableMemoryEmulated::DiscardableMemoryEmulated(size_t bytes) argument 34 : bytes_(bytes), 36 g_shared_state.Pointer()->manager.Register(this, bytes); 52 size_t bytes) { 53 g_shared_state.Pointer()->manager.ReduceMemoryUsageUntilWithinLimit(bytes); 51 ReduceMemoryUsageUntilWithinLimit( size_t bytes) argument
|
H A D | discardable_memory_mac.cc | 43 explicit DiscardableMemoryMac(size_t bytes) argument 45 bytes_(mach_vm_round_page(bytes)), 47 g_shared_state.Pointer()->manager.Register(this, bytes);
|
H A D | discardable_memory_manager.h | 71 // The maximum number of bytes of memory that may be allocated before we force 73 void SetMemoryLimit(size_t bytes); 75 // The number of bytes of memory that may be allocated but unused for the hard 77 void SetSoftMemoryLimit(size_t bytes); 89 // limit for bytes to keep under moderate pressure. 90 void ReduceMemoryUsageUntilWithinLimit(size_t bytes); 93 void Register(Allocation* allocation, size_t bytes); 124 explicit AllocationInfo(size_t bytes) : bytes(bytes), purgabl argument 126 const size_t bytes; member in struct:base::internal::DiscardableMemoryManager::AllocationInfo [all...] |
H A D | ref_counted_memory.cc | 45 RefCountedBytes* bytes = new RefCountedBytes; local 46 bytes->data_.swap(*to_destroy); 47 return bytes;
|
/external/chromium_org/base/metrics/ |
H A D | bucket_ranges.cc | 13 // Static table of checksums for all possible 8 bit bytes. 76 unsigned char bytes[sizeof(HistogramBase::Sample)]; member in union:base::__anon2378 80 sum = kCrcTable[(sum & 0xff) ^ converter.bytes[i]] ^ (sum >> 8); 84 // and we don't care about edge cases since we have an even number of bytes.
|
/external/chromium_org/base/process/ |
H A D | memory_unittest.cc | 50 // kernel32 is larger than 4 bytes. 121 // code and lack of the error string. The number of bytes is one less than 434 const char* bytes = static_cast<const char*>(value_); local 436 EXPECT_EQ(0, bytes[i]); 442 bytes = static_cast<const char*>(value_); 444 EXPECT_EQ(0, bytes[i]);
|
/external/chromium_org/base/strings/ |
H A D | string_number_conversions_unittest.cc | 790 unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; local 791 hex = HexEncode(bytes, sizeof(bytes));
|
/external/chromium_org/base/win/ |
H A D | scoped_bstr.cc | 51 BSTR ScopedBstr::AllocateBytes(size_t bytes) { argument 52 Reset(SysAllocStringByteLen(NULL, static_cast<UINT>(bytes))); 56 void ScopedBstr::SetByteLen(size_t bytes) { argument 59 data[-1] = static_cast<uint32>(bytes);
|
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/ |
H A D | device_id.cc | 52 bool IsValidMacAddressImpl(const void* bytes, size_t size) { argument 79 // Juniper uses this for their Virtual Adapter, the other 4 bytes are 158 if (static_cast<const unsigned char *>(bytes)[0] & 0x02) { 167 if (memcmp(invalidAddresses[i].address, bytes, count) == 0) { 191 bool DeviceId::IsValidMacAddress(const void* bytes, size_t size) { argument 192 return IsValidMacAddressImpl(bytes, size);
|
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | thumbnail_service_impl.cc | 67 scoped_refptr<base::RefCountedMemory>* bytes) { 72 return local_ptr->GetPageThumbnail(url, prefix_match, bytes); 64 GetPageThumbnail( const GURL& url, bool prefix_match, scoped_refptr<base::RefCountedMemory>* bytes) argument
|
/external/chromium_org/components/proximity_auth/ |
H A D | connection.cc | 73 void Connection::OnBytesReceived(const std::string& bytes) { argument 75 VLOG(1) << "Received bytes, but not connected."; 79 received_bytes_ += bytes;
|
/external/chromium_org/content/browser/renderer_host/media/ |
H A D | audio_input_sync_writer.cc | 48 void AudioInputSyncWriter::UpdateRecordedBytes(uint32 bytes) { argument 49 socket_->Send(&bytes, sizeof(bytes));
|
/external/chromium_org/device/bluetooth/ |
H A D | bluetooth_remote_gatt_descriptor_chromeos.cc | 20 std::ostream& operator<<(std::ostream& out, const std::vector<uint8> bytes) { argument 22 for (std::vector<uint8>::const_iterator iter = bytes.begin(); 23 iter != bytes.end(); ++iter) {
|
/external/chromium_org/device/hid/ |
H A D | hid_report_descriptor.cc | 17 HidReportDescriptor::HidReportDescriptor(const uint8_t* bytes, size_t size) { argument 21 item = new HidReportDescriptorItem(&bytes[header_index], item); 151 // Convert bits into bytes
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | gl_context_virtual.cc | 93 bool GLContextVirtual::GetTotalGpuMemory(size_t* bytes) { argument 94 return shared_context_->GetTotalGpuMemory(bytes);
|
H A D | memory_tracking.h | 60 void TrackMemAlloc(size_t bytes) { argument 61 mem_represented_ += bytes; 65 void TrackMemFree(size_t bytes) { argument 66 DCHECK(bytes <= mem_represented_); 67 mem_represented_ -= bytes;
|
/external/chromium_org/mojo/embedder/ |
H A D | platform_channel_utils_posix.cc | 34 // 1032 bytes, one |send()| of 1032 bytes, one |writev()| of 32+1000 bytes, 35 // one |sendmsg()| of 32+1000 bytes, two |write()|s of 32 and 1000 bytes, two 36 // |send()|s of 32 and 1000 bytes: 48 const void* bytes, 51 DCHECK(bytes); 55 return HANDLE_EINTR(write(h.fd, bytes, num_bytes)); 57 return send(h.fd, bytes, num_byte 47 PlatformChannelWrite(PlatformHandle h, const void* bytes, size_t num_bytes) argument [all...] |
/external/chromium_org/mojo/public/cpp/system/ |
H A D | message_pipe.h | 55 const void* bytes, 60 return MojoWriteMessage(message_pipe.value(), bytes, num_bytes, handles, 65 void* bytes, 70 return MojoReadMessage(message_pipe.value(), bytes, num_bytes, handles, 54 WriteMessageRaw(MessagePipeHandle message_pipe, const void* bytes, uint32_t num_bytes, const MojoHandle* handles, uint32_t num_handles, MojoWriteMessageFlags flags) argument 64 ReadMessageRaw(MessagePipeHandle message_pipe, void* bytes, uint32_t* num_bytes, MojoHandle* handles, uint32_t* num_handles, MojoReadMessageFlags flags) argument
|
/external/chromium_org/net/base/ |
H A D | upload_bytes_element_reader.cc | 14 UploadBytesElementReader::UploadBytesElementReader(const char* bytes, argument 16 : bytes_(bytes),
|
/external/chromium_org/ppapi/shared_impl/private/ |
H A D | ppb_x509_certificate_private_shared.cc | 108 PP_Bool PPB_X509Certificate_Private_Shared::Initialize(const char* bytes, argument 114 if (!bytes || length == 0) 117 std::vector<char> der(bytes, bytes + length);
|
/external/chromium_org/ppapi/tests/ |
H A D | test_x509_certificate_private.cc | 49 char* bytes = static_cast<char*>(array_buffer.Map()); local 53 return std::equal(expected, expected + expected_length, bytes);
|
/external/chromium_org/sandbox/win/src/sidestep/ |
H A D | preamble_patcher_with_stub.cpp | 18 // Very basic memcpy. We are copying 4 to 12 bytes most of the time, so there 21 inline void* RawMemcpy(void* destination, const void* source, size_t bytes) { argument 25 for (size_t i = 0; i < bytes ; i++) 31 // Very basic memset. We are filling 1 to 7 bytes most of the time, so there 34 inline void* RawMemset(void* destination, int value, size_t bytes) { argument 37 for (size_t i = 0; i < bytes ; i++) 73 // NOTE: Stoyan suggests we can write 8 or even 10 bytes atomically using 78 // to have its eip in the middle of the bytes you change while you change 84 // bytes for our jmp instruction, so let's find the minimum number of 85 // instructions to get 5 bytes [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGPathByteStream.h | 32 unsigned char bytes[sizeof(DataType)]; member in union:blink::ByteType
|