Searched refs:kPrefixLen (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/net/websockets/ |
D | websocket_basic_handshake_stream.cc | 243 const size_t kPrefixLen = arraysize(kClientPrefix) - 1; in ValidatePerMessageDeflateExtension() local 244 COMPILE_ASSERT(kPrefixLen == arraysize(kServerPrefix) - 1, in ValidatePerMessageDeflateExtension() 260 const std::string client_or_server(name, 0, kPrefixLen); in ValidatePerMessageDeflateExtension() 267 const std::string rest(name, kPrefixLen); in ValidatePerMessageDeflateExtension()
|
/external/chromium_org/content/shell/renderer/ |
D | webkit_test_runner.cc | 305 const int kPrefixLen = arraysize(kPrefix) - 1; in RewriteLayoutTestsURL() local 307 if (utf8_url.compare(0, kPrefixLen, kPrefix, kPrefixLen)) in RewriteLayoutTestsURL() 320 std::string("file://") + utf8_path + utf8_url.substr(kPrefixLen); in RewriteLayoutTestsURL()
|
/external/chromium_org/net/http/ |
D | http_response_headers.cc | 818 const size_t kPrefixLen = sizeof(kPrefix) - 1; in AddNonCacheableHeaders() local 825 if (value.size() <= kPrefixLen || in AddNonCacheableHeaders() 826 value.compare(0, kPrefixLen, kPrefix) != 0) { in AddNonCacheableHeaders() 835 std::string::const_iterator item = value.begin() + kPrefixLen; in AddNonCacheableHeaders()
|
/external/chromium_org/v8/test/cctest/ |
D | test-parsing.cc | 1114 int kPrefixLen = Utf8LengthHelper(source_data[i].outer_prefix); in TEST() local 1120 int kProgramSize = kPrefixLen + kInnerLen + kSuffixLen; in TEST() 1155 CHECK_EQ(inner_scope->start_position(), kPrefixLen); in TEST() 1158 CHECK_EQ(inner_scope->end_position(), kPrefixLen + kInnerLen); in TEST() 1463 int kPrefixLen = i::StrLength(context_data[i][0]); in TEST() local 1467 int kProgramSize = kPrefixLen + kStatementLen + kTerminationLen in TEST() 1569 int kPrefixLen = i::StrLength(context_data[i][0]); in RunParserSyncTest() local 1572 int kProgramSize = kPrefixLen + kStatementLen + kSuffixLen; in RunParserSyncTest()
|