のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2014-06-01から1ヶ月間の記事一覧

LatinIME:LogUtils Dictionary info: dictionary = main:en_us ; version = xx ; date = xx

136 void Dictionary::logDictionaryInfo(JNIEnv *const env) const { 137 int dictionaryIdCodePointBuffer[HEADER_ATTRIBUTE_BUFFER_SIZE]; 138 int versionStringCodePointBuffer[HEADER_ATTRIBUTE_BUFFER_SIZE]; 139 int dateStringCodePointBuffer[HEAD…

Ignoring Content-Length since Transfer-Encoding is also defined

657 /** 658 * Prepare target file based on given network response. Derives filename and 659 * target size as needed. 660 */ 661 private void processResponseHeaders(State state, HttpURLConnection conn) 662 throws StopRequestException { 663 …

ACTION_PACKAGE_ADDED

843 sendPackageBroadcast(Intent.ACTION_PACKAGE_ADDED, 844 res.pkg.applicationInfo.packageName, 845 extras, null, null, firstUsers); 846 final boolean update = res.removedInfo.removedPackage != null; 847 if (update) { 848 extras.putBoolean(…

Android Build No

KTU84M K-T-U-84-M A 2009 Q1 B 2009 Q2 C 2009 Q3 D 2009 Q4 E 2010 Q1 F 2010 Q2 G 2010 Q3 H 2010 Q4 I 2011 Q1 J 2011 Q2 K 2011 Q3 L 2011 Q4 M 2012 Q1 N 2012 Q2 O 2012 Q3 P 2012 Q4 Q 2013 Q1 R 2013 Q2 S 2013 Q3 T 2013 Q4 U 2014 Q1 V 2014 Q2 W…

CyanogenMod Theme その2

New Theme Engine

CyanogenMod Theme

private Typeface loadTypeface(Family family, int style) { AssetManager assets = mThemeContext.getAssets(); String path = FONTS_DIR + family.fileset.get(style); return Typeface.createFromAsset(assets, path); } @Override public void onCreate…

windowsのglu32.libのexports

Windowsのglu32.libのexports >cd C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib >dumpbin /exports glu32.lib Microsoft (R) COFF/PE Dumper Version 12.00.30501.0 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file g…

windowsのopengl32.libのexport

opengl32.libのexport

khronos openvg.h

OpenGL Khronos OpenVG Registry EGL Khronos EGL Registry

scan-view

Ubuntuにclang1.3.4をインストールし、コンパイルしてみた。 scan-build -V -o outClang gcc main.c sub.cファイル内のエラーは、ちゃんと検出していた。 ファイル間のエラーは、これだけじゃだめなのかな。 #include <stdio.h> int strcmp2(const char *s1, const ch</stdio.h>…

because it contains no reports.になってしまう

scan-build -V -k --status-bugs -o analyze_out --use-analyzer=./out/host/linux-x86/bin/clang --use-cc=clang --use-c++=clang++ make -C '~/JB422r1_debug/android' all_modules ONE_SHOT_MAKEFILE=' external/skia/Android.mk'because it contains no …

JB422

vi external/skia/Android.mk LOCAL_CLANG:=truePATH=$PATH:./external/clang/tools/scan-build $ rm -r ./out/target/product/magro/obj/SHARED_LIBRARIES/libskia_intermediates/ $ external/clang/tools/scan-build/scan-build --use-analyzer=./out/host…

scan-build skia

$ rm -rf ./out/target/product/hammerhead/obj/SHARED_LIBRARIES/libskia_intermediates/src $ external/clang/tools/scan-build/scan-build --use-analyzer=./out/host/linux-x86/bin/clang make -C /home/m_fujii/KK442r1_org/android all_modules ONE_SH…

make

~/KK442r1_org/android$ make -C /home/m_fujii/KK442r1_org/android all_modules ONE_SHOT_MAKEFILE=' external/skia/Android.mk'

main.mk

766 # phony target that include any targets in $(ALL_MODULES) 767 .PHONY: all_modules 768 ifndef BUILD_MODULES_IN_PATHS 769 all_modules: $(ALL_MODULES) 770 else 771 # BUILD_MODULES_IN_PATHS is a list of paths relative to the top of the tre…

mmm

668 function mmm() 669 { 670 T=$(gettop) 671 if [ "$T" ]; then 672 local MAKEFILE= 673 local MODULES= 674 local ARGS= 675 local DIR TO_CHOP 676 local GET_INSTALL_PATH= 677 local DASH_ARGS=$(echo "$@" | awk -v RS=" " -v ORS=" " '/^-.*$/') 6…

gettop

578 function gettop 579 { 580 local TOPFILE=build/core/envsetup.mk 581 if [ -n "$TOP" -a -f "$TOP/$TOPFILE" ] ; then 582 echo $TOP 583 else 584 if [ -f $TOPFILE ] ; then 585 # The following circumlocution (repeated below as well) ensures 5…

clang skia

external/clang/lib/includeにarm_neon.hをtouchしたら以下のエラーになった。 touchを消したら、エラーがなくなった。

Can't locate Switch.pm in @INC (you may need to install the Switch module)

1:use below command and configure as automatic $cpan App::cpanminus2:install switch $cpanm Switch