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
234 | 234 |
}
|
235 | 235 |
#else
|
236 | 236 |
{
|
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
|
238 | 238 |
// in the same function. Never move them into any other function.
|
239 | 239 |
pthread_cleanup_push(PThreadCleanupRoutine,
|
240 | 240 |
static_cast<void *>(&p->state_->is_running_));
|
1726 | 1726 |
|
1727 | 1727 |
namespace {
|
1728 | 1728 |
|
1729 | |
Util::ScriptType GetScriptTypeInternal(const string &str,
|
1730 | |
bool ignore_symbols) {
|
|
1729 |
Util::ScriptType GetScriptTypeInternal(const string &str, bool ignore_symbols) {
|
1731 | 1730 |
Util::ScriptType result = Util::SCRIPT_TYPE_SIZE;
|
1732 | 1731 |
|
1733 | 1732 |
for (ConstChar32Iterator iter(str); !iter.Done(); iter.Next()) {
|
1027 | 1027 |
# Only for android testing.
|
1028 | 1028 |
os.environ['ANDROID_DEVICES'] = options.android_device
|
1029 | 1029 |
|
1030 | |
short_basename = GetBuildShortBaseName(options,
|
1031 | |
GetMozcVersion().GetTargetPlatform())
|
|
1030 |
short_basename = GetBuildShortBaseName(options,
|
|
1031 |
GetMozcVersion().GetTargetPlatform())
|
1032 | 1032 |
make_command = ninja
|
1033 | 1033 |
build_args = ['-j %s' % options.jobs,
|
1034 | 1034 |
'-C', '%s/%s' % (short_basename, options.configuration)]
|
0 | 0 |
MAJOR=1
|
1 | 1 |
MINOR=15
|
2 | |
BUILD=1910
|
|
2 |
BUILD=1911
|
3 | 3 |
REVISION=102
|
4 | 4 |
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
|
5 | 5 |
# downloaded by NaCl Mozc.
|
318 | 318 |
// Meta Candidate
|
319 | 319 |
for (size_t i = 0; i < seg->meta_candidates_size(); ++i) {
|
320 | 320 |
Segment::Candidate *candidate =
|
321 | |
seg->mutable_candidate(-static_cast<int>(i)-1);
|
|
321 |
seg->mutable_candidate(-static_cast<int>(i) - 1);
|
322 | 322 |
DCHECK(candidate);
|
323 | 323 |
if (candidate->attributes & Segment::Candidate::NO_EXTRA_DESCRIPTION) {
|
324 | 324 |
continue;
|
787 | 787 |
const ConversionRequest request;
|
788 | 788 |
EXPECT_EQ(RewriterInterface::ALL, rewriter->capability(request));
|
789 | 789 |
}
|
|
790 |
|
790 | 791 |
} // namespace mozc
|
41 | 41 |
#endif // !MOZC_ENABLE_IBUS_INPUT_PURPOSE
|
42 | 42 |
#endif // libibus (>=1.5.4)
|
43 | 43 |
|
44 | |
|
45 | 44 |
#endif // MOZC_UNIX_IBUS_IBUS_HEADER_H_
|