OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IncludeNUL
(Results
1 - 2
of
2
) sorted by null
/external/chromium/net/base/
dns_util_unittest.cc
13
//
IncludeNUL
converts a char* to a std::string and includes the terminating
15
static std::string
IncludeNUL
(const char* in) {
23
EXPECT_EQ(out,
IncludeNUL
(""));
25
EXPECT_EQ(out,
IncludeNUL
("\003com"));
27
EXPECT_EQ(out,
IncludeNUL
("\x006google\003com"));
29
EXPECT_EQ(out,
IncludeNUL
("\003www\006google\003com"));
33
EXPECT_EQ(out,
IncludeNUL
("\077123456789a123456789a123456789a123456789a123456789a123456789a123"));
40
EXPECT_EQ(out,
IncludeNUL
("\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\011123456789\003123"));
47
EXPECT_EQ(out,
IncludeNUL
("\003www\006google\003com"));
50
EXPECT_EQ(out,
IncludeNUL
("\006google\003com"))
[
all
...]
transport_security_state.cc
81
//
IncludeNUL
converts a char* to a std::string and includes the terminating
83
static std::string
IncludeNUL
(const char* in) {
102
std::string hashed_domain(HashHost(
IncludeNUL
(&canonicalized_host[i])));
Completed in 64 milliseconds