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

Side by Side Diff: third_party/cld/encodings/compact_lang_det/getonescriptspan.cc

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "encodings/compact_lang_det/getonescriptspan.h" 5 #include "encodings/compact_lang_det/getonescriptspan.h"
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "encodings/lang_enc.h" 10 #include "encodings/lang_enc.h"
11 #include "encodings/compact_lang_det/utf8propjustletter.h" 11 #include "encodings/compact_lang_det/utf8propjustletter.h"
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 return ok; 567 return ok;
568 } 568 }
569 569
570 // Gets lscript number for letters; always returns 570 // Gets lscript number for letters; always returns
571 // 0 (common script) for non-letters 571 // 0 (common script) for non-letters
572 int getone::GetUTF8LetterScriptNum(const char* src) { 572 int getone::GetUTF8LetterScriptNum(const char* src) {
573 int srclen = cld_UniLib::OneCharLen(src); 573 int srclen = cld_UniLib::OneCharLen(src);
574 const uint8* usrc = reinterpret_cast<const uint8*>(src); 574 const uint8* usrc = reinterpret_cast<const uint8*>(src);
575 return UTF8GenericProperty(&utf8propletterscriptnum_obj, &usrc, &srclen); 575 return UTF8GenericProperty(&utf8propletterscriptnum_obj, &usrc, &srclen);
576 } 576 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698