Searched refs:fp (Results 1 - 25 of 87) sorted by relevance

1234

/frameworks/compile/slang/tests/P_struct_field/
H A DScriptC_struct_field.java.expect50 FieldPacker fp = new FieldPacker(176);
51 fp.addI32(v.innerOneA.x);
52 fp.addI32(v.innerOneA.y);
53 fp.addF32(v.innerOneA.f);
54 fp.skip(4);
55 fp.addI64(v.l);
56 fp.addI32(v.innerOneB.x);
57 fp.addI32(v.innerOneB.y);
58 fp.addF32(v.innerOneB.f);
60 fp
[all...]
H A DScriptField_Outer.java.expect142 private void copyToArrayLocal(Item i, FieldPacker fp) {
143 fp.addI32(i.innerOneA.x);
144 fp.addI32(i.innerOneA.y);
145 fp.addF32(i.innerOneA.f);
146 fp.skip(4);
147 fp.addI64(i.l);
148 fp.addI32(i.innerOneB.x);
149 fp.addI32(i.innerOneB.y);
150 fp.addF32(i.innerOneB.f);
152 fp
[all...]
H A DScriptField_InnerTwo.java.expect116 private void copyToArrayLocal(Item i, FieldPacker fp) {
117 fp.addI8(i.z);
118 fp.skip(3);
119 fp.addI32(i.innerOne.x);
120 fp.addI32(i.innerOne.y);
121 fp.addF32(i.innerOne.f);
135 FieldPacker fp = new FieldPacker(mElement.getBytesSize());
136 copyToArrayLocal(i, fp);
137 mAllocation.setFromFieldPacker(index, fp);
155 FieldPacker fp
[all...]
H A DScriptField_InnerOne.java.expect115 private void copyToArrayLocal(Item i, FieldPacker fp) {
116 fp.addI32(i.x);
117 fp.addI32(i.y);
118 fp.addF32(i.f);
132 FieldPacker fp = new FieldPacker(mElement.getBytesSize());
133 copyToArrayLocal(i, fp);
134 mAllocation.setFromFieldPacker(index, fp);
152 FieldPacker fp = new FieldPacker(4);
153 fp.addI32(v);
154 mAllocation.setFromFieldPacker(index, 0, fp);
[all...]
/frameworks/wilhelm/tools/mphtogen/
H A Dmphtogen.c27 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/core/jni/
H A Dandroid_os_Debug.h25 inline void safeFclose(FILE* fp) { argument
26 if (fp) fclose(fp);
/frameworks/minikin/tests/util/
H A DFileUtils.cpp27 FILE* fp = fopen(filePath.c_str(), "r"); local
28 LOG_ALWAYS_FATAL_IF(fp == nullptr);
30 LOG_ALWAYS_FATAL_IF(fstat(fileno(fp), &st) != 0);
33 LOG_ALWAYS_FATAL_IF(fread(result.data(), 1, st.st_size, fp) != static_cast<size_t>(st.st_size));
34 fclose(fp);
/frameworks/native/services/vr/performanced/
H A Dunique_file.h13 void operator()(FILE* fp) { fclose(fp); } argument
/frameworks/base/libs/androidfw/
H A DZipUtils.cpp40 FileReader(FILE* fp) : Reader(), mFp(fp), mCurrentOffset(0) { argument
125 /*static*/ bool ZipUtils::inflateToBuffer(FILE* fp, void* buf, argument
128 FileReader reader(fp);
164 * On exit, "fp" is pointing at the start of the compressed data.
166 /*static*/ bool ZipUtils::examineGzip(FILE* fp, int* pCompressionMethod, argument
180 ic = getc(fp);
181 if (ic != 0x1f || getc(fp) != 0x8b)
183 method = getc(fp);
184 flags = getc(fp);
[all...]
/frameworks/compile/slang/tests/P_reflection3264_divergent/
H A DScriptField_DivergentNest.java.expect124 private void copyToArrayLocal(Item i, FieldPacker fp) {
125 fp.addI32(i.x);
126 fp.skip(sIs64Bit ? 4 : 0);
127 fp.addI32(i.d.i);
128 fp.skip(sIs64Bit ? 4 : 0);
129 fp.addObj(i.d.a);
130 fp.addI32(i.d.j);
131 fp.skip(sIs64Bit ? 4 : 0);
132 fp.addI32(i.y);
133 fp
[all...]
H A DScriptField_Divergent.java.expect123 private void copyToArrayLocal(Item i, FieldPacker fp) {
124 fp.addI32(i.i);
125 fp.skip(sIs64Bit ? 4 : 0);
126 fp.addObj(i.a);
127 fp.addI32(i.j);
128 fp.skip(sIs64Bit ? 4 : 0);
142 FieldPacker fp = new FieldPacker(mElement.getBytesSize());
143 copyToArrayLocal(i, fp);
144 mAllocation.setFromFieldPacker(index, fp);
162 FieldPacker fp
[all...]
H A DScriptField_NonDivergent.java.expect113 private void copyToArrayLocal(Item i, FieldPacker fp) {
114 fp.addI32(i.i);
115 fp.addI32(i.j);
129 FieldPacker fp = new FieldPacker(mElement.getBytesSize());
130 copyToArrayLocal(i, fp);
131 mAllocation.setFromFieldPacker(index, fp);
149 FieldPacker fp = new FieldPacker(4);
150 fp.addI32(v);
151 mAllocation.setFromFieldPacker(index, 0, fp);
164 FieldPacker fp
[all...]
H A DScriptC_reflection3264_divergent.java.expect77 FieldPacker fp = new FieldPacker(40);
79 fp.addI32(v[ct1]);
84 setVar(mExportVarIdx_intArray, fp, __I32, __dimArr);
99 FieldPacker fp = new FieldPacker(16);
100 fp.addMatrix(v);
101 setVar(mExportVarIdx_matVar, fp);
116 FieldPacker fp = new FieldPacker(160);
118 fp.addMatrix(v[ct1]);
123 setVar(mExportVarIdx_matArray, fp, __@@INVALID@@, __dimArr);
153 FieldPacker fp
[all...]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
H A DScriptField_DivergentNest.java.expect121 private void copyToArrayLocal(Item i, FieldPacker fp) {
122 fp.addI32(i.x);
123 fp.skip((RenderScript.getPointerSize() == 8) ? 4 : 0);
124 fp.addI32(i.d.i);
125 fp.skip((RenderScript.getPointerSize() == 8) ? 4 : 0);
126 fp.addObj(i.d.a);
127 fp.addI32(i.d.j);
128 fp.skip((RenderScript.getPointerSize() == 8) ? 4 : 0);
129 fp.addI32(i.y);
130 fp
[all...]
H A DScriptField_Divergent.java.expect120 private void copyToArrayLocal(Item i, FieldPacker fp) {
121 fp.addI32(i.i);
122 fp.skip((RenderScript.getPointerSize() == 8) ? 4 : 0);
123 fp.addObj(i.a);
124 fp.addI32(i.j);
125 fp.skip((RenderScript.getPointerSize() == 8) ? 4 : 0);
139 FieldPacker fp = new FieldPacker(mElement.getBytesSize());
140 copyToArrayLocal(i, fp);
141 mAllocation.setFromFieldPacker(index, fp);
159 FieldPacker fp
[all...]
H A DScriptField_NonDivergent.java.expect110 private void copyToArrayLocal(Item i, FieldPacker fp) {
111 fp.addI32(i.i);
112 fp.addI32(i.j);
126 FieldPacker fp = new FieldPacker(mElement.getBytesSize());
127 copyToArrayLocal(i, fp);
128 mAllocation.setFromFieldPacker(index, fp);
146 FieldPacker fp = new FieldPacker(4);
147 fp.addI32(v);
148 mAllocation.setFromFieldPacker(index, 0, fp);
161 FieldPacker fp
[all...]
H A DScriptC_reflection3264_divergent.java.expect74 FieldPacker fp = new FieldPacker(40);
76 fp.addI32(v[ct1]);
81 setVar(mExportVarIdx_intArray, fp, __I32, __dimArr);
96 FieldPacker fp = new FieldPacker(16);
97 fp.addMatrix(v);
98 setVar(mExportVarIdx_matVar, fp);
113 FieldPacker fp = new FieldPacker(160);
115 fp.addMatrix(v[ct1]);
120 setVar(mExportVarIdx_matArray, fp, __@@INVALID@@, __dimArr);
150 FieldPacker fp
[all...]
/frameworks/av/media/libstagefright/codecs/avcdec/
H A DSoftAVCDec.h131 FILE *fp = fopen(m_filename, "wb"); \
132 if (fp != NULL) { \
133 fclose(fp); \
140 FILE *fp = fopen(m_filename, "ab"); \
141 if (fp != NULL && m_buf != NULL && m_offset == 0) { \
143 i = fwrite(m_buf, 1, m_size, fp); \
149 } else if (fp == NULL) { \
152 if (fp) { \
153 fclose(fp); \
/frameworks/compile/slang/tests/P_reflection3264_multifile/
H A DScriptC_reflection3264_multifile_2.java.expect53 FieldPacker fp = new FieldPacker(20);
55 fp.addI16(v[ct1]);
60 setVar(mExportVarIdx_a, fp, __I16, __dimArr);
75 FieldPacker fp = new FieldPacker(80);
77 fp.addI64(v[ct1]);
82 setVar(mExportVarIdx_b, fp, __I64, __dimArr);
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicColorMatrix.java82 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 DScriptIntrinsicConvolve5x5.java94 FieldPacker fp = new FieldPacker(25*4);
97 fp.addF32(mValues[ct]);
99 setVar(0, fp);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicColorMatrix.java69 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...]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dsingle_source_ref_count.rs65 rs_allocation (*fp)();
76 for (int i = 0; tests[i].fp; i++) {
78 rs_allocation allocation = tests[i].fp();
/frameworks/base/libs/androidfw/include/androidfw/
H A DZipUtils.h39 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 DFingerprintsUserState.java128 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...]

Completed in 1494 milliseconds

1234