Searched defs:size (Results 476 - 500 of 7454) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dinode_pool.h26 if (inos_.size() == 0) {
48 size_t size() const { return num_nodes_; } function in class:nacl_io::INodePool
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
H A Dfifo_packet.cc16 FIFOPacket::FIFOPacket(size_t size) : max_bytes_(size), cur_bytes_(0) { argument
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/
H A Dinet_ntop.cc19 const char* inet_ntop(int af, const void* src, char* dst, socklen_t size) { argument
21 if (size < INET_ADDRSTRLEN) {
33 if (size < INET6_ADDRSTRLEN) {
86 memcpy(dst, output.str().c_str(), output.str().size() + 1);
/external/chromium_org/net/dns/
H A Drecord_rdata_unittest.cc13 base::StringPiece MakeStringPiece(const uint8* data, unsigned size) { argument
15 return base::StringPiece(data_cc, size);
/external/chromium_org/net/ftp/
H A Dftp_directory_listing_parser.h31 int64 size; // File size, in bytes. -1 if not applicable. member in struct:net::FtpDirectoryListingEntry
/external/chromium_org/net/server/
H A Dhttp_connection_unittest.cc16 std::string GetTestString(int size) { argument
18 for (int i = 0; i < size; ++i) {
51 memcpy(buffer->data(), kReadData.data(), kReadData.size());
52 buffer->DidRead(kReadData.size());
56 static_cast<int>(kReadData.size()),
58 EXPECT_EQ(static_cast<int>(kReadData.size()), buffer->GetSize());
66 EXPECT_EQ(kNewCapacity - static_cast<int>(kReadData.size()),
68 EXPECT_EQ(static_cast<int>(kReadData.size()), buffer->GetSize());
121 memcpy(buffer->data(), kReadData.data(), kReadData.size());
122 buffer->DidRead(kReadData.size());
[all...]
/external/chromium_org/net/websockets/
H A Dwebsocket_frame_perftest.cc30 size_t size) {
31 std::vector<char> scratch(payload, payload + size);
39 masking_key, x % size, &scratch.front(), scratch.size());
53 Benchmark("Frame_mask_long_payload", &payload.front(), payload.size());
28 Benchmark(const char* const name, const char* const payload, size_t size) argument
H A Dwebsocket_inflater_test.cc22 return std::string(buffer->data(), buffer->size());
63 ASSERT_EQ(1, buffer->size());
105 for (size_t i = 0; i < input.size(); ++i) {
185 const size_t size = 64 * 1024; local
196 for (size_t i = 0; i < size; ++i)
199 ASSERT_TRUE(deflater.AddBytes(&input[0], input.size()));
207 ASSERT_TRUE(inflater.AddBytes(compressed->data(), compressed->size()));
216 uncompressed->data() + uncompressed->size());
/external/chromium_org/ppapi/c/
H A Dpp_rect.h27 * The <code>PP_Rect</code> struct contains the size and location of a 2D
37 struct PP_Size size; member in struct:PP_Rect
42 * The <code>PP_FloatRect</code> struct contains the size and location of a 2D
52 struct PP_FloatSize size; member in struct:PP_FloatRect
82 ret.size.width = w;
83 ret.size.height = h;
105 ret.size.width = w;
106 ret.size.height = h;
/external/chromium_org/ppapi/cpp/dev/
H A Dbuffer_dev.cc35 Buffer_Dev::Buffer_Dev(const InstanceHandle& instance, uint32_t size) argument
42 instance.pp_instance(), size));
/external/chromium_org/ppapi/cpp/
H A Dfullscreen.cc11 #include "ppapi/cpp/size.h"
43 bool Fullscreen::GetScreenSize(Size* size) { argument
47 instance_.pp_instance(), &size->pp_size()));
H A Dimage_data.cc44 const Size& size,
53 instance.pp_instance(), format, &size.pp_size(),
42 ImageData(const InstanceHandle& instance, PP_ImageDataFormat format, const Size& size, bool init_to_zero) argument
/external/chromium_org/ppapi/cpp/private/
H A Dflash_fullscreen.cc11 #include "ppapi/cpp/size.h"
58 bool FlashFullscreen::GetScreenSize(Size* size) { argument
61 instance_.pp_instance(), &size->pp_size()));
65 instance_.pp_instance(), &size->pp_size()));
/external/chromium_org/ppapi/shared_impl/
H A Dscoped_pp_var.h59 size_t size);
61 explicit ScopedPPVarArray(size_t size);
69 size_t size() { return size_; } function in class:ppapi::ScopedPPVarArray
/external/chromium_org/ppapi/thunk/
H A Dppb_buffer_thunk.cc16 PP_Resource Create(PP_Instance instance, uint32_t size) { argument
20 return enter.functions()->CreateBuffer(instance, size);
H A Dppb_video_frame_thunk.cc49 PP_Bool GetSize(PP_Resource frame, struct PP_Size* size) { argument
54 return enter.object()->GetSize(size);
/external/chromium_org/printing/
H A Dimage.h14 #include "ui/gfx/size.h"
30 // If image loading fails size().IsEmpty() will be true.
34 // metafile. If loading fails size().IsEmpty() will be true.
42 const gfx::Size& size() const { function in class:printing::Image
74 Image(const void* data, size_t size);
H A Dmetafile.cc30 return GetData(&buffer->front(), base::checked_cast<uint32>(buffer->size()));
41 int size = base::checked_cast<int>(buffer.size()); local
42 if (file->WriteAtCurrentPos(&buffer[0], size) != size) {
/external/chromium_org/remoting/codec/
H A Dvideo_encoder_verbatim.cc18 static uint8_t* GetPacketOutputBuffer(VideoPacket* packet, size_t size) { argument
19 packet->mutable_data()->resize(size);
36 // Calculate output size.
/external/chromium_org/remoting/host/
H A Dshaped_desktop_capturer.cc32 webrtc::SharedMemory* ShapedDesktopCapturer::CreateSharedMemory(size_t size) { argument
33 return callback_->CreateSharedMemory(size);
/external/chromium_org/remoting/protocol/
H A Dmessage_decoder.cc29 // Determine the payload size. If we already know it then skip this part.
30 // We may not have enough data to determine the payload size so use a
39 // If the next payload size is still not known or we don't have enough
53 bool MessageDecoder::GetPayloadSize(int* size) { argument
54 // The header has a size of 4 bytes.
64 *size = rtc::GetBE32(header);
H A Dmouse_input_filter.cc45 void MouseInputFilter::set_input_size(const webrtc::DesktopSize& size) { argument
46 input_max_.set(size.width() - 1, size.height() - 1);
49 void MouseInputFilter::set_output_size(const webrtc::DesktopSize& size) { argument
50 output_max_.set(size.width() - 1, size.height() - 1);
/external/chromium_org/remoting/test/
H A Dleaky_bucket.cc21 base::TimeDelta LeakyBucket::AddPacket(int size) { argument
24 double new_level = level_ + size;
/external/chromium_org/sandbox/win/src/
H A Dhandle_closer_agent.cc18 ULONG* size) {
25 status = QueryObject(handle, ObjectTypeInformation, buffer, *size, size);
61 input += name.first->size() + 1;
103 ULONG size = static_cast<ULONG>(type_info_buffer.size());
104 rc = QueryObjectTypeInformation(handle, type_info, &size);
107 type_info_buffer.resize(size + sizeof(wchar_t));
110 rc = QueryObjectTypeInformation(handle, type_info, &size);
112 if (NT_SUCCESS(rc) && size
16 QueryObjectTypeInformation(HANDLE handle, void* buffer, ULONG* size) argument
[all...]
H A Dinterception_unittest.cc24 // size (in): buffer size
28 void WalkBuffer(void* buffer, size_t size, int* num_dlls, int* num_functions, argument
36 ASSERT_GT(size, sizeof(SharedMemory));
57 ASSERT_GT(reinterpret_cast<char*>(buffer) + size, name + strlen(name));
135 ASSERT_EQ(18, interceptions.interceptions_.size());
151 EXPECT_EQ(3, interceptions.interceptions_.size());
188 ASSERT_EQ(5, interceptions.interceptions_.size());
201 EXPECT_EQ(1, interceptions.interceptions_.size());

Completed in 343 milliseconds

<<11121314151617181920>>