Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Side by Side Diff: Source/wtf/text/WTFString.cpp

Issue 207783002: Omit "int" when using "unsigned" modifier (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/wtf/text/StringBuilder.cpp ('k') | Tools/Scripts/webkitpy/thirdparty/coverage/tracer.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999 Lars Knoll (knoll@kde.org) 2 * (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2007-2009 Torch Mobile, Inc. 4 * Copyright (C) 2007-2009 Torch Mobile, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 va_end(args); 497 va_end(args);
498 498
499 return StringImpl::create(reinterpret_cast<const LChar*>(buffer.data()), len ); 499 return StringImpl::create(reinterpret_cast<const LChar*>(buffer.data()), len );
500 } 500 }
501 501
502 String String::number(int number) 502 String String::number(int number)
503 { 503 {
504 return numberToStringSigned<String>(number); 504 return numberToStringSigned<String>(number);
505 } 505 }
506 506
507 String String::number(unsigned int number) 507 String String::number(unsigned number)
508 { 508 {
509 return numberToStringUnsigned<String>(number); 509 return numberToStringUnsigned<String>(number);
510 } 510 }
511 511
512 String String::number(long number) 512 String String::number(long number)
513 { 513 {
514 return numberToStringSigned<String>(number); 514 return numberToStringSigned<String>(number);
515 } 515 }
516 516
517 String String::number(unsigned long number) 517 String String::number(unsigned long number)
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1266 buffer.append('\0'); 1266 buffer.append('\0');
1267 return buffer; 1267 return buffer;
1268 } 1268 }
1269 1269
1270 Vector<char> asciiDebug(String& string) 1270 Vector<char> asciiDebug(String& string)
1271 { 1271 {
1272 return asciiDebug(string.impl()); 1272 return asciiDebug(string.impl());
1273 } 1273 }
1274 1274
1275 #endif 1275 #endif
OLDNEW
« no previous file with comments | « Source/wtf/text/StringBuilder.cpp ('k') | Tools/Scripts/webkitpy/thirdparty/coverage/tracer.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698