Codebase list mozc / c7626f2
Fix several coding style issues This CL does nothing but addresses several coding style issues and typos. No behavior change is intended. BUG=none TEST=unittest git-svn-id: https://mozc.googlecode.com/svn/trunk@367 a6090854-d499-a067-5803-1114d4e51264 Yohei Yukawa 9 years ago
8 changed file(s) with 7 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
234234 }
235235 #else
236236 {
237 // Covert: the pthread_cleanup_push/pthread_cleanup_pop pair should be put
237 // Caveat: the pthread_cleanup_push/pthread_cleanup_pop pair should be put
238238 // in the same function. Never move them into any other function.
239239 pthread_cleanup_push(PThreadCleanupRoutine,
240240 static_cast<void *>(&p->state_->is_running_));
17261726
17271727 namespace {
17281728
1729 Util::ScriptType GetScriptTypeInternal(const string &str,
1730 bool ignore_symbols) {
1729 Util::ScriptType GetScriptTypeInternal(const string &str, bool ignore_symbols) {
17311730 Util::ScriptType result = Util::SCRIPT_TYPE_SIZE;
17321731
17331732 for (ConstChar32Iterator iter(str); !iter.Done(); iter.Next()) {
10271027 # Only for android testing.
10281028 os.environ['ANDROID_DEVICES'] = options.android_device
10291029
1030 short_basename = GetBuildShortBaseName(options,
1031 GetMozcVersion().GetTargetPlatform())
1030 short_basename = GetBuildShortBaseName(options,
1031 GetMozcVersion().GetTargetPlatform())
10321032 make_command = ninja
10331033 build_args = ['-j %s' % options.jobs,
10341034 '-C', '%s/%s' % (short_basename, options.configuration)]
00 MAJOR=1
11 MINOR=15
2 BUILD=1910
2 BUILD=1911
33 REVISION=102
44 # NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
55 # downloaded by NaCl Mozc.
18241824 }
18251825 }
18261826
1827 // type
18281827 // static
18291828 UserHistoryPredictor::MatchType UserHistoryPredictor::GetMatchType(
18301829 const string &lstr, const string &rstr) {
318318 // Meta Candidate
319319 for (size_t i = 0; i < seg->meta_candidates_size(); ++i) {
320320 Segment::Candidate *candidate =
321 seg->mutable_candidate(-static_cast<int>(i)-1);
321 seg->mutable_candidate(-static_cast<int>(i) - 1);
322322 DCHECK(candidate);
323323 if (candidate->attributes & Segment::Candidate::NO_EXTRA_DESCRIPTION) {
324324 continue;
787787 const ConversionRequest request;
788788 EXPECT_EQ(RewriterInterface::ALL, rewriter->capability(request));
789789 }
790
790791 } // namespace mozc
4141 #endif // !MOZC_ENABLE_IBUS_INPUT_PURPOSE
4242 #endif // libibus (>=1.5.4)
4343
44
4544 #endif // MOZC_UNIX_IBUS_IBUS_HEADER_H_