Lines Matching defs:size
17 // minimal and maximal port size
23 Port::Port(int32 size)
31 // adjust size to be within the sane bounds
32 if (size < kMinPortSize)
33 size = kMinPortSize;
34 else if (size > kMaxPortSize)
35 size = kMaxPortSize;
37 fBuffer = new(nothrow) uint8[size];
54 fInfo.size = size;
55 fCapacity = size;
71 || info->size < kMinPortSize || info->size > kMaxPortSize) {
75 fBuffer = new(nothrow) uint8[info->size];
83 fInfo.size = info->size;
85 fCapacity = info->size;
153 Port::Send(const void* message, int32 size)
157 if (size <= 0)
163 error = write_port(port, 0, message, size);