mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Move everything in util.h to zeek::util namespace.
This commit includes renaming a number of methods prefixed with bro_ to be prefixed with zeek_.
This commit is contained in:
parent
8862b585fa
commit
8d2d867a65
179 changed files with 1277 additions and 1033 deletions
|
@ -279,7 +279,7 @@ void String::ToUpper()
|
|||
|
||||
unsigned int String::MemoryAllocation() const
|
||||
{
|
||||
return padded_sizeof(*this) + pad_size(n + final_NUL);
|
||||
return padded_sizeof(*this) + zeek::util::pad_size(n + final_NUL);
|
||||
}
|
||||
|
||||
String* String::GetSubstring(int start, int len) const
|
||||
|
@ -296,7 +296,7 @@ String* String::GetSubstring(int start, int len) const
|
|||
|
||||
int String::FindSubstring(const String* s) const
|
||||
{
|
||||
return strstr_n(n, b, s->Len(), s->Bytes());
|
||||
return zeek::util::strstr_n(n, b, s->Len(), s->Bytes());
|
||||
}
|
||||
|
||||
String::Vec* String::Split(const String::IdxVec& indices) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue