Various whitespace cleanup only.

This commit is contained in:
Michael Lotz 2015-09-05 15:33:32 +02:00
parent 8b9ec55606
commit d64c7086d5
5 changed files with 23 additions and 23 deletions

View File

@ -20,13 +20,13 @@ public:
BPoint();
BPoint(float x, float y);
BPoint(const BPoint& p);
BPoint& operator=(const BPoint& other);
void Set(float x, float y);
void ConstrainTo(BRect rect);
void PrintToStream() const;
BPoint operator-() const;
BPoint operator+(const BPoint& other) const;
BPoint operator-(const BPoint& other) const;

View File

@ -14,30 +14,30 @@ class BHttpHeader {
public:
BHttpHeader();
BHttpHeader(const char* string);
BHttpHeader(const char* name,
BHttpHeader(const char* name,
const char* value);
BHttpHeader(const BHttpHeader& copy);
// Header data modification
void SetName(const char* name);
void SetValue(const char* value);
bool SetHeader(const char* string);
// Header data access
const char* Name() const;
const char* Value() const;
const char* Header() const;
const char* Value() const;
const char* Header() const;
// Header data test
bool NameIs(const char* name) const;
// Overloaded members
BHttpHeader& operator=(const BHttpHeader& other);
private:
BString fName;
BString fValue;
mutable BString fRawHeader;
mutable bool fRawHeaderValid;
};
@ -48,27 +48,27 @@ public:
BHttpHeaders();
BHttpHeaders(const BHttpHeaders& copy);
~BHttpHeaders();
// Header list access
const char* HeaderValue(const char* name) const;
BHttpHeader& HeaderAt(int32 index) const;
// Header count
int32 CountHeaders() const;
// Header list tests
int32 HasHeader(const char* name) const;
// Header add or replacement
bool AddHeader(const char* line);
bool AddHeader(const char* name,
bool AddHeader(const char* name,
const char* value);
bool AddHeader(const char* name,
int32 value);
// Header deletion
void Clear();
void Clear();
// Overloaded operators
BHttpHeaders& operator=(const BHttpHeaders& other);
BHttpHeader& operator[](int32 index) const;
@ -77,7 +77,7 @@ public:
private:
void _EraseData();
bool _AddOrDeleteHeader(BHttpHeader* header);
private:
BList fHeaderList;
};

View File

@ -18,7 +18,7 @@ class BMessenger::Private {
port_id Port()
{ return fMessenger->fPort; }
int32 Token()
{ return fMessenger->fHandlerToken; }
{ return fMessenger->fHandlerToken; }
team_id Team()
{ return fMessenger->fTeam; }
bool IsPreferredTarget()

View File

@ -66,11 +66,11 @@ struct _BPictureExtent_ {
~_BPictureExtent_();
const void* Data() const { return fNewData; }
status_t ImportData(const void* data,
status_t ImportData(const void* data,
const int32& size);
status_t Flatten(BDataIO* stream);
status_t Unflatten(BDataIO* stream);
status_t Unflatten(BDataIO* stream);
int32 Size() const { return fNewSize; }
status_t SetSize(const int32& size);

View File

@ -117,7 +117,7 @@ struct Port : public KernelReferenceable {
team_id owner;
Port* name_hash_link;
size_t name_hash;
int32 capacity;
int32 capacity;
mutex lock;
int32 state;
uint32 read_count;