/external/chromium_org/base/debug/ |
H A D | trace_event_memory.cc | 302 // Heap profile output has a header total line, then a list of stacks with 331 // Handle the initial summary line. 337 const std::string& line = lines[i]; local 338 AppendHeapProfileLineAsTraceFormat(line, output); 343 void AppendHeapProfileTotalsAsTraceFormat(const std::string& line, argument 345 // This is what a line looks like: 355 Tokenize(line, " :[]@", &tokens); 357 DLOG(WARNING) << "Invalid totals line " << line; 369 bool AppendHeapProfileLineAsTraceFormat(const std::string& line, argument [all...] |
/external/chromium_org/chrome/browser/devtools/device/adb/ |
H A D | adb_device_info_query.cc | 234 std::string line = lines[i]; local 235 size_t pos = line.find(kDumpsysScreenSizePrefix); 238 line.substr(pos + std::string(kDumpsysScreenSizePrefix).size()));
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | user_script_loader.cc | 219 bool GetDeclarationValue(const base::StringPiece& line, argument 222 base::StringPiece::size_type index = line.find(prefix); 226 std::string temp(line.data() + index + prefix.length(), 227 line.length() - index - prefix.length()); 242 base::StringPiece line; local 269 line.set(script_text.data() + line_start, line_end - line_start); 272 if (line.starts_with(kUserScriptBegin)) 275 if (line.starts_with(kUserScriptEng)) 279 if (GetDeclarationValue(line, kIncludeDeclaration, &value)) { 284 } else if (GetDeclarationValue(line, kExcludeDeclaratio [all...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
H A D | extension_installed_bubble_view.cc | 357 gfx::RenderText* line = gfx::RenderText::CreateInstance(); local 358 line->SetDirectionalityMode(gfx::DIRECTIONALITY_FROM_UI); 359 line->SetText(*it); 361 line->GetStringSize().height()); 362 line->SetDisplayRect(gfx::Rect(position, size)); 364 sign_in_promo_lines_.push_back(line); 369 // The link always leads other text and is assumed to fit on the first line.
|
/external/chromium_org/chrome/test/base/ |
H A D | web_ui_browser_test.cc | 52 int line, 50 LogHandler(int severity, const char* file, int line, size_t message_start, const std::string& str) argument
|
/external/chromium_org/chromeos/network/ |
H A D | network_event_log.cc | 121 std::string line; local 123 line += "[" + TimeWithMillieconds(time) + "] "; 131 line += base::StringPrintf("%s: ", kLevelDesc[log_level]); 135 line += base::StringPrintf("%s:%d ", file.c_str(), file_line); 137 line += format_html ? GetHtmlText(show_desc) : GetNormalText(show_desc); 139 line += base::StringPrintf(" (%d)", count); 140 return line;
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_field.cc | 365 // equivalent separators when necessary, i.e. when filling a single-line field. 378 std::string line; local 379 GetStreetAddressLinesAsSingleLine(address_data, &line); 380 field->value = base::UTF8ToUTF16(line);
|
/external/chromium_org/components/invalidation/ |
H A D | sync_system_resources.cc | 30 void SyncLogger::Log(LogLevel level, const char* file, int line, argument 57 logging::LogMessage(file, line, log_severity).stream() << result;
|
/external/chromium_org/content/browser/fileapi/ |
H A D | file_system_dir_url_request_job_unittest.cc | 309 std::string line; local 310 EXPECT_TRUE(!!std::getline(in, line)); 313 EXPECT_EQ("<script>start(\"foo\\\\bar\");</script>", line); 315 EXPECT_EQ("<script>start(\"/foo/bar\");</script>", line); 318 EXPECT_TRUE(!!std::getline(in, line)); 319 VerifyListingEntry(line, "hoge", "hoge", false, 10); 321 EXPECT_TRUE(!!std::getline(in, line)); 322 VerifyListingEntry(line, "baz", "baz", true, 0); 323 EXPECT_FALSE(!!std::getline(in, line)); 369 std::string line; local 396 std::string line; local [all...] |
/external/chromium_org/content/shell/renderer/test_runner/ |
H A D | mock_web_theme_engine.cc | 126 void line(SkCanvas* canvas, int x0, int y0, int x1, int y1, SkColor color) { function in namespace:content 262 line(canvas, left + 1, i, right - 1, i, readOnlyColor); 381 line(canvas, 385 line(canvas, 389 line(canvas, 404 line(canvas, 408 line(canvas, 412 line(canvas, 565 line(canvas, left, top, right, top, edgeColor); 566 line(canva [all...] |
/external/chromium_org/gpu/command_buffer/tests/ |
H A D | gl_test_utils.cc | 24 bool GLTestHelper::CheckGLError(const char* msg, int line) { argument 30 << "GL ERROR in " << msg << " at line " << line << " : " << error;
|
/external/chromium_org/net/cookies/ |
H A D | cookie_store_unittest.h | 226 // Check the cookie line by polling until equality or a timeout is reached. 229 const std::string& line) { 231 bool matched = (TokenizeCookieLine(line) == TokenizeCookieLine(cookies)); 239 matched = (TokenizeCookieLine(line) == TokenizeCookieLine(cookies)); 243 << "\" does not match \"" << line << "\""; local 256 std::set<std::string> TokenizeCookieLine(const std::string& line) { argument 258 base::StringTokenizer tokenizer(line, " ;"); 227 MatchCookieLineWithTimeout(CookieStore* cs, const GURL& url, const std::string& line) argument
|
/external/chromium_org/net/url_request/ |
H A D | url_request_throttler_unittest.cc | 149 line = line_num; 153 int line; member in struct:net::__anon9807::TimeAndBool 162 line = line_num; 166 int line; member in struct:net::__anon9807::GurlAndString 283 "Test case #" << i << " line " << test_values[i].line << " failed"; 428 "Test case #" << i << " line " << test_values[i].line << " failed";
|
/external/chromium_org/printing/backend/ |
H A D | cups_helper.cc | 56 std::string line = lines[i]; local 57 if (line.empty()) 60 if (base::strncasecmp (line.c_str(), kDefault, kDefaultLen) == 0 && 61 isspace(line[kDefaultLen])) { 62 line = line.substr(kDefaultLen); 63 } else if (base::strncasecmp (line.c_str(), kDest, kDestLen) == 0 && 64 isspace(line[kDestLen])) { 65 line = line 363 int line = 0; local [all...] |
/external/chromium_org/sandbox/linux/tests/ |
H A D | unit_tests.cc | 315 void UnitTests::AssertionFailure(const char* expr, const char* file, int line) { argument 316 fprintf(stderr, "%s:%d:%s", file, line, expr);
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | ScriptPromisePropertyTest.cpp | 515 void test(const T& value, const char* expected, const char* file, size_t line) argument 533 ADD_FAILURE_AT(file, line) << "toV8Value returns an incorrect value.\n Actual: " << actual.utf8().data() << "\nExpected: " << expected;
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
H A D | VTTParser.cpp | 126 String line; local 127 while (m_lineReader.getLine(line)) { 131 if (!hasRequiredFileIdentifier(line)) { 141 // Steps 10 - 14 - Allow a header (comment area) under the WEBVTT line. 142 collectMetadataHeader(line); 144 if (line.isEmpty()) { 152 // Step 15 - Break out of header loop if the line could be a timestamp line. 153 if (line.contains("-->")) 154 m_state = recoverCue(line); 203 hasRequiredFileIdentifier(const String& line) argument 216 collectMetadataHeader(const String& line) argument 242 collectCueId(const String& line) argument 250 collectTimingsAndSettings(const String& line) argument 278 collectCueText(const String& line) argument 300 recoverCue(const String& line) argument 309 ignoreBadCue(const String& line) argument 409 collectTimeStamp(const String& line, double& timeStamp) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | FloatingObjects.h | 94 void setOriginatingLine(RootInlineBox* line) { m_originatingLine = line; } argument
|
/external/chromium_org/third_party/WebKit/Source/platform/mhtml/ |
H A D | MHTMLParser.cpp | 101 String line; local 104 while (!(line = buffer->nextChunkAsUTF8StringWithLatin1Fallback()).isNull()) { 105 if (line.isEmpty()) 106 break; // Empty line means end of key/value section. 107 if (line[0] == '\t') { 109 value.append(line.substring(1)); 120 size_t semiColonIndex = line.find(':'); 125 key = line.substring(0, semiColonIndex).lower().stripWhiteSpace(); 126 value.append(line.substring(semiColonIndex + 1)); 192 String line; local 320 String line = m_lineReader.nextChunkAsUTF8StringWithLatin1Fallback(); local 327 String line; local [all...] |
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
H A D | DirectiveParser.cpp | 53 static const std::string kDirectiveLine("line"); 473 // No diagnostics. Just skip the whole line. 514 // No diagnostics. Just skip the whole line. 790 int line = 0, file = 0; local 806 if (valid && !token->iValue(&line)) 847 mTokenizer->setLineNumber(line);
|
/external/chromium_org/third_party/cython/src/Cython/ |
H A D | CodeWriter.py | 63 def line(self, s): member in class:DeclarationWriter 357 self.line(u"else:") 379 self.line("else:") 430 self.line(u"try:") 434 self.line(u"finally:") 440 self.line(u"try:") 468 self.line("raise")
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | putiltst.c | 480 static void Test_aestrncpy(int32_t line, const uint8_t *expect, const uint8_t *src, int32_t len) argument 485 log_verbose("\n%s:%d: Beginning test of uprv_aestrncpy(dst, src, %d)\n", __FILE__, line, len); 488 log_err("\n%s:%d: FAIL: uprv_aestrncpy returned %p expected %p\n", __FILE__, line, (void*)ret, (void*)str_buf); 491 log_verbose("\n%s:%d: OK - compared OK.", __FILE__, line); 492 log_verbose("\n%s:%d: expected: %s", __FILE__, line, dump_binline((uint8_t *)expect)); 493 log_verbose("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf)); 495 log_err ("\n%s:%d: FAIL: uprv_aestrncpy output differs", __FILE__, line); 496 log_err ("\n%s:%d: expected: %s", __FILE__, line, dump_binline((uint8_t *)expect)); 497 log_err ("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf));
|
H A D | uenumtst.c | 300 static void verifyEnumeration(int line, UEnumeration *u, const char * const * compareToChar, const UChar * const * compareToUChar, int32_t expect_count) { argument 306 log_verbose("%s:%d: verifying enumeration..\n", __FILE__, line); 310 log_err("%s:%d: FAIL: could not reset char strings enumeration: %s\n", __FILE__, line, u_errorName(status)); 316 log_err("%s:%d: FAIL: could not count char strings enumeration: %s\n", __FILE__, line, u_errorName(status)); 321 log_err("%s:%d: FAIL: expect count %d got %d\n", __FILE__, line, expect_count, got_count); 323 log_verbose("%s:%d: OK: got count %d\n", __FILE__, line, got_count); 330 log_err("%s:%d: FAIL: could not iterate to next after %d: %s\n", __FILE__, line, i, u_errorName(status)); 334 log_err("%s:%d: FAIL: got NULL for next after %d: %s\n", __FILE__, line, i, u_errorName(status)); 339 log_err("%s:%d: FAIL: string #%d expected '%s' got '%s'\n", __FILE__, line, i, compareToChar[i], c); 341 log_verbose("%s:%d: OK: string #%d got '%s'\n", __FILE__, line, [all...] |
/external/chromium_org/third_party/icu/source/test/letest/ |
H A D | cletest.c | 505 * line is correct. 508 * that we get the expected number of runs per line and that the line breaks are where 518 const pl_line *line; local 660 while ((line = pl_nextLine(paragraph, lineWidth)) != NULL) { 661 le_int32 runCount = pl_countLineRuns(line); 664 const pl_visualRun *visualRun = pl_getLineVisualRun(line, run); 680 log_err("Bad glyph to char index for glyph %d on line %d: expected %d, got %d\n", 711 log_err("Bad minIndex for run %d on line %d: expected %d, got %d\n",
|
/external/chromium_org/third_party/icu/source/tools/ctestfw/ |
H A D | uperf.cpp | 41 "\t-l or --line-mode The data file should be processed in line mode\n" 43 "\t Cannot be used with --line-mode\n" 76 UOPTION_DEF( "line-mode", 'l', UOPT_NO_ARG), 219 const UChar* line=NULL; local 222 line = ucbuf_readline(ucharBuf,&len,&status); 223 if(line == NULL || U_FAILURE(status)){ 228 memcpy(lines[numLines].name, line, len * U_SIZEOF_UCHAR); 236 fprintf(stderr, "Out of memory reading line %d.\n", (int)numLines);
|