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

Side by Side Diff: src/unicode.h

Issue 6076: Added special case for atomic regular expressions. (Closed)
Patch Set: Created 12 years, 2 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 | « src/runtime.cc ('k') | src/unicode.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 }; 251 };
252 struct Dash { 252 struct Dash {
253 static bool Is(uchar c); 253 static bool Is(uchar c);
254 }; 254 };
255 struct Hyphen { 255 struct Hyphen {
256 static bool Is(uchar c); 256 static bool Is(uchar c);
257 }; 257 };
258 struct LineTerminator { 258 struct LineTerminator {
259 static bool Is(uchar c); 259 static bool Is(uchar c);
260 }; 260 };
261 struct RegExpSpecialChar {
262 static bool Is(uchar c);
263 };
261 struct CombiningMark { 264 struct CombiningMark {
262 static bool Is(uchar c); 265 static bool Is(uchar c);
263 }; 266 };
264 struct ConnectorPunctuation { 267 struct ConnectorPunctuation {
265 static bool Is(uchar c); 268 static bool Is(uchar c);
266 }; 269 };
267 struct ToLowercase { 270 struct ToLowercase {
268 static int Convert(uchar c, 271 static int Convert(uchar c,
269 uchar n, 272 uchar n,
270 uchar* result, 273 uchar* result,
271 bool* allow_caching_ptr); 274 bool* allow_caching_ptr);
272 }; 275 };
273 struct ToUppercase { 276 struct ToUppercase {
274 static int Convert(uchar c, 277 static int Convert(uchar c,
275 uchar n, 278 uchar n,
276 uchar* result, 279 uchar* result,
277 bool* allow_caching_ptr); 280 bool* allow_caching_ptr);
278 }; 281 };
279 282
280 } // namespace unibrow 283 } // namespace unibrow
281 284
282 #endif // __UNIBROW_H__ 285 #endif // __UNIBROW_H__
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/unicode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698