/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/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.h | 136 FILE *fp = fopen(m_filename, "wb"); \ 137 if (fp != NULL) { \ 138 fclose(fp); \ 145 FILE *fp = fopen(m_filename, "ab"); \ 146 if (fp != NULL && m_buf != NULL) { \ 148 i = fwrite(m_buf, 1, m_size, fp); \ 154 fclose(fp); \
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.h | 145 FILE *fp = fopen(m_filename, "wb"); \ 146 if (fp != NULL) { \ 147 fclose(fp); \ 154 FILE *fp = fopen(m_filename, "ab"); \ 155 if (fp != NULL && m_buf != NULL) { \ 157 i = fwrite(m_buf, 1, m_size, fp); \ 163 fclose(fp); \
|
/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 | 92 FieldPacker fp = new FieldPacker(9*4); 95 fp.addF32(mValues[ct]); 97 setVar(0, fp);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicColorMatrix.java | 69 FieldPacker fp = new FieldPacker(16*4); 70 fp.addMatrix(mMatrix); 71 setVar(0, fp); 108 FieldPacker fp = new FieldPacker(4*4); 109 fp.addF32(f.x); 110 fp.addF32(f.y); 111 fp.addF32(f.z); 112 fp.addF32(f.w); 113 setVar(1, fp); 131 FieldPacker fp [all...] |
H A D | FieldPacker.java | 52 FieldPacker fp = new FieldPacker(RenderScript.sPointerSize * 8); 54 fp.addSafely(arg); 56 fp.resize(fp.mPos); 57 return fp; 631 private static void addToPack(FieldPacker fp, Object obj) { argument 633 fp.addBoolean(((Boolean)obj).booleanValue()); 638 fp.addI8(((Byte)obj).byteValue()); 643 fp.addI16(((Short)obj).shortValue()); 648 fp [all...] |
H A D | ScriptIntrinsicHistogram.java | 135 FieldPacker fp = new FieldPacker(16); 136 fp.addF32(r); 137 fp.addF32(g); 138 fp.addF32(b); 139 fp.addF32(a); 140 setVar(0, fp);
|
H A D | ScriptIntrinsicConvolve3x3.java | 101 FieldPacker fp = new FieldPacker(9*4); 104 fp.addF32(mValues[ct]); 106 setVar(0, fp);
|
H A D | ScriptIntrinsicConvolve5x5.java | 104 FieldPacker fp = new FieldPacker(25*4); 107 fp.addF32(mValues[ct]); 109 setVar(0, fp);
|
/frameworks/compile/slang/tests/P_reduce_general_input/ |
H A D | ScriptField_MyStruct.java.expect | 111 private void copyToArrayLocal(Item i, FieldPacker fp) { 112 fp.addF32(i.f); 113 fp.skip(4); 114 fp.addF64(i.d); 128 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 129 copyToArrayLocal(i, fp); 130 mAllocation.setFromFieldPacker(index, fp); 148 FieldPacker fp = new FieldPacker(4); 149 fp.addF32(v); 150 mAllocation.setFromFieldPacker(index, 0, fp); [all...] |
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
H A D | ScriptField_MyStruct.java.expect | 111 private void copyToArrayLocal(Item i, FieldPacker fp) { 112 fp.addF32(i.f); 113 fp.skip(4); 114 fp.addF64(i.d); 128 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 129 copyToArrayLocal(i, fp); 130 mAllocation.setFromFieldPacker(index, fp); 148 FieldPacker fp = new FieldPacker(4); 149 fp.addF32(v); 150 mAllocation.setFromFieldPacker(index, 0, fp); [all...] |
/frameworks/compile/slang/tests/P_reduce_general_result/ |
H A D | ScriptField_MyStruct.java.expect | 111 private void copyToArrayLocal(Item i, FieldPacker fp) { 112 fp.addF32(i.f); 113 fp.skip(4); 114 fp.addF64(i.d); 128 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 129 copyToArrayLocal(i, fp); 130 mAllocation.setFromFieldPacker(index, fp); 148 FieldPacker fp = new FieldPacker(4); 149 fp.addF32(v); 150 mAllocation.setFromFieldPacker(index, 0, fp); [all...] |
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | IFingerprintServiceReceiver.aidl | 29 void onAuthenticationSucceeded(long deviceId, in Fingerprint 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 | 217 static void read_mapinfo(FILE *fp, stats_t* stats, bool* foundSwapPss) argument 243 if(fgets(line, sizeof(line), fp) == 0) return; 362 if (fgets(line, 1024, fp) == 0) { 431 FILE *fp; local 434 fp = fopen(tmp, "r"); 435 if (fp == 0) return; 437 read_mapinfo(fp, stats, foundSwapPss); 438 fclose(fp); 521 FILE *fp; local 529 fp 608 FILE* fp = fopen("/proc/vmallocinfo", "r"); local 786 FILE* fp = fopen(BINDER_STATS, "r"); local 900 dumpNativeHeap(FILE* fp) argument 1002 FILE* fp = fdopen(fd, "w"); local [all...] |
/frameworks/base/include/androidfw/ |
H A D | ZipUtils.h | 39 static bool inflateToBuffer(FILE* fp, void* buf, long uncompressedLen, 62 static bool examineGzip(FILE* fp, int* pCompressionMethod,
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
H A D | FingerprintsUserState.java | 128 for (Fingerprint fp : mFingerprints) { 129 if (fp.getName().equals(name)) { 154 Fingerprint fp = array.get(i); 155 result.add(new Fingerprint(fp.getName(), fp.getGroupId(), fp.getFingerId(), 156 fp.getDeviceId())); 182 Fingerprint fp = fingerprints.get(i); 184 serializer.attribute(null, ATTR_FINGER_ID, Integer.toString(fp.getFingerId())); 185 serializer.attribute(null, ATTR_NAME, fp [all...] |
/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) 381 * On entry, "fp" points to the signature at the start of the header. 382 * On exit, "fp" points to the start of data. 384 status_t ZipEntry::LocalFileHeader::read(FILE* fp) argument 392 if (fread(buf, 1, kLFHLen, fp) ! 451 write(FILE* fp) argument 518 read(FILE* fp) argument 609 write(FILE* fp) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avcenc/ |
H A D | SoftAVCEnc.h | 277 FILE *fp = fopen(m_filename, "wb"); \ 278 if (fp != NULL) { \ 280 fclose(fp); \ 287 FILE *fp = fopen(m_filename, "ab"); \ 288 if (fp != NULL && m_buf != NULL) { \ 290 i = fwrite(m_buf, 1, m_size, fp); \ 296 fclose(fp); \ 299 if (fp != NULL) \ 300 fclose(fp); \
|
/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)) {
|