/frameworks/wilhelm/tools/mphtogen/ |
H A D | mphtogen.c | 27 FILE *fp = fopen(filename, "w"); local 28 assert(NULL != fp); 29 fputs("// This file is automagically generated by mphtogen, do not edit\n", fp); 34 fputc(',', fp); 38 fputc('\n', fp); 41 fprintf(fp, "%3d", MPH_to[i]); 45 fputc('\n', fp); 47 fclose(fp);
|
/frameworks/base/libs/androidfw/ |
H A D | ZipUtils.cpp | 49 * trouble when "fp" has a different notion of what fd's file position is.) 51 * "fp" is an open file positioned at the start of the "deflate" data 153 FileReader(FILE* fp) : argument 154 mFp(fp), mReadBuf(new unsigned char[kReadBufSize]) 216 /*static*/ bool ZipUtils::inflateToBuffer(FILE* fp, void* buf, argument 219 FileReader reader(fp); 253 * On exit, "fp" is pointing at the start of the compressed data. 255 /*static*/ bool ZipUtils::examineGzip(FILE* fp, int* pCompressionMethod, argument 269 ic = getc(fp); 270 if (ic != 0x1f || getc(fp) ! [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptIntrinsicColorMatrix.java | 82 FieldPacker fp = new FieldPacker(16*4); 83 fp.addMatrix(mMatrix); 84 setVar(0, fp); 121 FieldPacker fp = new FieldPacker(4*4); 122 fp.addF32(f.x); 123 fp.addF32(f.y); 124 fp.addF32(f.z); 125 fp.addF32(f.w); 126 setVar(1, fp); 144 FieldPacker fp [all...] |
H A D | ScriptIntrinsicConvolve5x5.java | 94 FieldPacker fp = new FieldPacker(25*4); 97 fp.addF32(mValues[ct]); 99 setVar(0, fp);
|
H A D | ScriptIntrinsicHistogram.java | 125 FieldPacker fp = new FieldPacker(16); 126 fp.addF32(r); 127 fp.addF32(g); 128 fp.addF32(b); 129 fp.addF32(a); 130 setVar(0, fp);
|
H A D | ScriptIntrinsicConvolve3x3.java | 93 FieldPacker fp = new FieldPacker(9*4); 96 fp.addF32(mValues[ct]); 98 setVar(0, fp);
|
H A D | AllocationAdapter.java | 37 public void subData(int xoff, FieldPacker fp) { argument 38 super.setFromFieldPacker(xoff, fp); 43 public void subElementData(int xoff, int component_number, FieldPacker fp) { argument 44 super.setFromFieldPacker(xoff, component_number, fp);
|
H A D | ProgramFragmentFixedFunction.java | 319 FieldPacker fp = new FieldPacker(16); 321 fp.addF32(f4); 322 constantData.setFromFieldPacker(0, fp);
|
/frameworks/base/core/jni/ |
H A D | android_net_TrafficStats.cpp | 78 FILE *fp = fopen(QTAGUID_IFACE_STATS, "r"); local 79 if (fp == NULL) { 88 while (fgets(buffer, sizeof(buffer), fp) != NULL) { 115 if (fclose(fp) != 0) { 122 FILE *fp = fopen(QTAGUID_UID_STATS, "r"); local 123 if (fp == NULL) { 132 while (fgets(buffer, sizeof(buffer), fp) != NULL) { 147 if (fclose(fp) != 0) {
|
H A D | android_os_Debug.cpp | 224 static void read_mapinfo(FILE *fp, stats_t* stats) argument 249 if(fgets(line, sizeof(line), fp) == 0) return; 359 if (fgets(line, 1024, fp) == 0) { 423 FILE *fp; local 426 fp = fopen(tmp, "r"); 427 if (fp == 0) return; 429 read_mapinfo(fp, stats); 430 fclose(fp); 508 FILE *fp; local 516 fp 700 FILE* fp = fopen(BINDER_STATS, "r"); local 814 dumpNativeHeap(FILE* fp) argument 916 FILE* fp = fdopen(fd, "w"); local [all...] |
/frameworks/base/include/androidfw/ |
H A D | ZipUtils.h | 37 static bool inflateToBuffer(FILE* fp, void* buf, long uncompressedLen, 60 static bool examineGzip(FILE* fp, int* pCompressionMethod,
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicConvolve3x3.java | 90 FieldPacker fp = new FieldPacker(9*4); 93 fp.addF32(mValues[ct]); 95 setVar(0, fp);
|
H A D | ScriptIntrinsicConvolve5x5.java | 86 FieldPacker fp = new FieldPacker(25*4); 89 fp.addF32(mValues[ct]); 91 setVar(0, fp);
|
H A D | ScriptIntrinsicColorMatrix.java | 64 FieldPacker fp = new FieldPacker(16*4); 65 fp.addMatrix(mMatrix); 66 setVar(0, fp);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | EvaluationTestBench.c | 278 FILE *fp; local 280 fp = fopen("dec_api.trc", "at"); 282 if (!fp) 285 fwrite(string, 1, strlen(string), fp); 286 fwrite("\n", 1,1, fp); 288 fclose(fp);
|
/frameworks/base/tools/aapt/ |
H A D | ZipEntry.cpp | 39 status_t ZipEntry::initFromCDE(FILE* fp) argument 48 result = mCDE.read(fp); 57 posn = ftell(fp); 58 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { 64 result = mLFH.read(fp); 70 if (fseek(fp, posn, SEEK_SET) != 0) 399 * On entry, "fp" points to the signature at the start of the header. 400 * On exit, "fp" points to the start of data. 402 status_t ZipEntry::LocalFileHeader::read(FILE* fp) argument 410 if (fread(buf, 1, kLFHLen, fp) ! 469 write(FILE* fp) argument 536 read(FILE* fp) argument 627 write(FILE* fp) argument [all...] |
H A D | ZipEntry.h | 161 status_t initFromCDE(FILE* fp); 240 status_t read(FILE* fp); 241 status_t write(FILE* fp); 298 status_t read(FILE* fp); 299 status_t write(FILE* fp);
|
H A D | Resource.cpp | 188 void printAnnotations(FILE* fp, const char* indentStr) { argument 190 fprintf(fp, "%s@Deprecated\n", indentStr); 193 fprintf(fp, "%s@android.annotation.SystemApi\n", indentStr); 1682 FILE* fp = fopen(bundle->getPublicOutputFile(), "w+"); local 1683 if (fp == NULL) { 1691 table.writePublicDefinitions(String16(assets->getPackage()), fp); 1692 fclose(fp); 2054 FILE* fp, const sp<AaptAssets>& assets, 2070 fprintf(fp, 2083 FILE* fp, cons 2053 writeResourceLoadedCallbackForLayoutClasses( FILE* fp, const sp<AaptAssets>& assets, const sp<AaptSymbols>& symbols, int indent, bool includePrivate) argument 2082 writeResourceLoadedCallback( FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, const sp<AaptSymbols>& symbols, const String8& className, int indent) argument 2124 writeLayoutClasses( FILE* fp, const sp<AaptAssets>& assets, const sp<AaptSymbols>& symbols, int indent, bool includePrivate, bool nonConstantId) argument 2362 writeTextLayoutClasses( FILE* fp, const sp<AaptAssets>& assets, const sp<AaptSymbols>& symbols, bool includePrivate) argument 2458 writeSymbolClass( FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, const sp<AaptSymbols>& symbols, const String8& className, int indent, bool nonConstantId, bool emitCallback) argument 2588 writeTextSymbolClass( FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, const sp<AaptSymbols>& symbols, const String8& className) argument 2665 FILE* fp = fopen(dest.string(), "w+"); local 2697 FILE* fp = fopen(textDest.string(), "w+"); local 2722 FILE *fp = fopen(dependencyFile.string(), "a"); local 3090 FILE* fp = fopen(bundle->getProguardFile(), "w+"); local 3114 writePathsToFile(const sp<FilePathStore>& files, FILE* fp) argument 3126 writeDependencyPreReqs(Bundle* bundle, const sp<AaptAssets>& assets, FILE* fp, bool includeRaw) argument [all...] |
H A D | Images.cpp | 1261 FILE* fp; local 1272 fp = fopen(file->getSourceFile().string(), "rb"); 1273 if (fp == NULL) { 1293 png_init_io(read_ptr, fp); 1333 fseek(fp, 0, SEEK_END); 1334 size_t oldSize = (size_t)ftell(fp); 1345 if (fp) { 1346 fclose(fp); 1364 FILE* fp; local 1378 fp [all...] |
H A D | Main.h | 65 FILE* fp, bool includeRaw);
|
/frameworks/av/cmds/screenrecord/ |
H A D | FrameOutput.cpp | 90 status_t FrameOutput::copyFrame(FILE* fp, long timeoutUsec, bool rawFrames) { argument 167 fwrite(header, 1, headerLen, fp); 176 fwrite(mPixelBuf, 1, rgbDataLen, fp); 177 fflush(fp); 184 if (ferror(fp)) {
|
H A D | FrameOutput.h | 48 status_t copyFrame(FILE* fp, long timeoutUsec, bool rawFrames);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_am_BatteryStatsService.cpp | 101 FILE *fp = fopen(LAST_RESUME_REASON, "r"); local 102 if (fp == NULL) { 118 while (fgets(reasonline, sizeof(reasonline), fp) != NULL && i < numOut) { 183 if (fclose(fp) != 0) {
|
/frameworks/native/opengl/libagl/ |
H A D | Android.mk | 18 fp.cpp.arm \
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVImage.cpp | 387 FILE *fp = fopen(filename, "w"); local 388 if (fp == NULL) { 391 fprintf(fp, "P3\n"); 392 fprintf(fp, "%d %d\n", mWidth, mHeight); 393 fprintf(fp, "255\n"); 406 fprintf(fp, "%d %d %d\n", (int32_t)rValue, (int32_t)gValue, (int32_t)bValue); 409 fclose(fp);
|