Home
last modified time | relevance | path

Searched refs:mOut (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/compile/slang/
Dslang_rs_reflection_cpp.cpp143 if (!mOut.startFile(mOutputDirectory, mClassName + ".h", mRSSourceFilePath, in writeHeaderFile()
149 mOut.indent() << "#include \"RenderScript.h\"\n\n"; in writeHeaderFile()
152 mOut.indent() << "using namespace android::RSC; // NOLINT\n\n"; in writeHeaderFile()
154 mOut.comment("This class encapsulates access to the exported elements of the script. " in writeHeaderFile()
158 mOut.indent() << "class " << mClassName << " : public android::RSC::ScriptC"; in writeHeaderFile()
159 mOut.startBlock(); in writeHeaderFile()
161 mOut.decreaseIndent(); in writeHeaderFile()
162 mOut.indent() << "private:\n"; in writeHeaderFile()
163 mOut.increaseIndent(); in writeHeaderFile()
169 mOut.decreaseIndent(); in writeHeaderFile()
[all …]
Dslang_rs_reflection.cpp107 genCheck64BitInternal(mRSContext, mState, *mOut, Parens); in genCheck64Bit()
113 GeneratedFile *mOut; member in slang::RSReflectionJavaElementBuilder
406 mOut << Prefix; in genConditionalVal()
411 mOut << Val; in genConditionalVal()
416 mOut << '('; in genConditionalVal()
418 mOut << " ? " << Val << " : " << Val32.second; in genConditionalVal()
420 mOut << ')'; in genConditionalVal()
440 genCheck64BitInternal(mRSContext, mState, mOut, Parens); in genCheck64Bit()
459 mOut.indent() << "private static boolean sIs64Bit;\n\n"; in genCompute64Bit()
460 mOut.indent() << "static"; in genCompute64Bit()
[all …]
Dslang_rs_export_foreach.cpp128 if (mOut == nullptr) { in validateAndConstructOldStyleParams()
129 mOut = PVD; in validateAndConstructOldStyleParams()
135 << FD->getName() << mOut->getName() << PVD->getName(); in validateAndConstructOldStyleParams()
139 if (mIns.empty() && mOut == nullptr) { in validateAndConstructOldStyleParams()
153 if (mIns.empty() && !mOut) { in validateAndConstructOldStyleParams()
274 slangAssert(mOut == nullptr); in setSignatureMetadata()
281 const bool HasOut = mOut || mHasReturnType; in setSignatureMetadata()
409 } else if (FE->mOut) { in Create()
411 FE->mOut->getType().getCanonicalType().getTypePtr(); in Create()
Dslang_rs_export_foreach.h62 const clang::ParmVarDecl *mOut; variable
80 mOut(nullptr), mUsrData(nullptr), mSpecialParameterSignatureMetadata(0), in RSExportForEach()
124 return (mOut != nullptr); in hasOut()
/frameworks/base/core/java/android/os/
DPooledStringWriter.java28 private final Parcel mOut; field in PooledStringWriter
52 mOut = out; in PooledStringWriter()
61 mOut.writeInt(cur); in writeString()
64 mOut.writeInt(-(mNext+1)); in writeString()
65 mOut.writeString(str); in writeString()
75 final int pos = mOut.dataPosition(); in finish()
76 mOut.setDataPosition(mStart); in finish()
77 mOut.writeInt(mNext); in finish()
78 mOut.setDataPosition(pos); in finish()
DShellCommand.java42 private FileDescriptor mOut; field in ShellCommand
64 mOut = out; in init()
152 return mOut; in getOutFileDescriptor()
160 mFileOut = new FileOutputStream(mOut); in getRawOutputStream()
343 mTarget.doDump(mOut, getOutPrintWriter(), newArgs); in handleDefaultCommands()
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicHistogram.java25 private Allocation mOut; field in ScriptIntrinsicHistogram
89 mOut.getType().getElement().getVectorSize()) { in forEach()
140 mOut = aout; in setOutput()
141 if (mOut.getType().getElement() != Element.U32(mRS) && in setOutput()
142 mOut.getType().getElement() != Element.U32_2(mRS) && in setOutput()
143 mOut.getType().getElement() != Element.U32_3(mRS) && in setOutput()
144 mOut.getType().getElement() != Element.U32_4(mRS) && in setOutput()
145 mOut.getType().getElement() != Element.I32(mRS) && in setOutput()
146 mOut.getType().getElement() != Element.I32_2(mRS) && in setOutput()
147 mOut.getType().getElement() != Element.I32_3(mRS) && in setOutput()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicHistogram.java27 private Allocation mOut; field in ScriptIntrinsicHistogram
99 mOut.getType().getElement().getVectorSize()) {
150 mOut = aout;
151 if (mOut.getType().getElement() != Element.U32(mRS) &&
152 mOut.getType().getElement() != Element.U32_2(mRS) &&
153 mOut.getType().getElement() != Element.U32_3(mRS) &&
154 mOut.getType().getElement() != Element.U32_4(mRS) &&
155 mOut.getType().getElement() != Element.I32(mRS) &&
156 mOut.getType().getElement() != Element.I32_2(mRS) &&
157 mOut.getType().getElement() != Element.I32_3(mRS) &&
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DCacheQuotaStrategyTest.java40 FastXmlSerializer mOut; field in CacheQuotaStrategyTest
45 mOut = new FastXmlSerializer(); in setUp()
46 mOut.setOutput(mWriter); in setUp()
51 CacheQuotaStrategy.saveToXml(mOut, new ArrayList<>(), 0); in testEmptyWrite()
52 mOut.flush(); in testEmptyWrite()
64 CacheQuotaStrategy.saveToXml(mOut, requests, 1000); in testWriteOneQuota()
65 mOut.flush(); in testWriteOneQuota()
80 CacheQuotaStrategy.saveToXml(mOut, requests, 1000); in testWriteMultipleQuotas()
81 mOut.flush(); in testWriteMultipleQuotas()
97 CacheQuotaStrategy.saveToXml(mOut, requests, 1000); in testNullUuidDoesntCauseCrash()
[all …]
/frameworks/base/tools/incident_report/
Dprinter.cpp30 :mOut(fd == STDOUT_FILENO ? stdout : fdopen(fd, "w")), in Out()
40 fclose(mOut); in ~Out()
80 fwrite(mBuf, len, 1, mOut); in printf()
87 fwrite(last, size, 1, mOut); in printf()
120 fprintf(mOut, "[%d]", mIndent); in print_indent()
124 fwrite(SPACES, SPACE_COUNT, 1, mOut); in print_indent()
127 fwrite(SPACES + SPACE_COUNT - indent, indent, 1, mOut); in print_indent()
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect119 mOut.copyTo(outArray);
126 mOut.destroy();
127 mOut = null; // make Java object eligible for garbage collection
144 mOut = out;
149 private Allocation mOut;
160 mOut.copyTo(outArray);
162 mOut.destroy();
163 mOut = null; // make Java object eligible for garbage collection
180 mOut = out;
185 private Allocation mOut;
[all …]
/frameworks/native/libs/binder/
DIPCThreadState.cpp471 if (mOut.dataSize() > 0) { in flushCommands()
474 if (mOut.dataSize() > 0) { in flushCommands()
588 mOut.writeInt32(isMain ? BC_ENTER_LOOPER : BC_REGISTER_LOOPER); in joinThreadPool()
612 mOut.writeInt32(BC_EXIT_LOOPER); in joinThreadPool()
622 mOut.writeInt32(BC_ENTER_LOOPER); in setupPolling()
723 mOut.writeInt32(BC_ACQUIRE); in incStrongHandle()
724 mOut.writeInt32(handle); in incStrongHandle()
733 mOut.writeInt32(BC_RELEASE); in decStrongHandle()
734 mOut.writeInt32(handle); in decStrongHandle()
740 mOut.writeInt32(BC_INCREFS); in incWeakHandle()
[all …]
/frameworks/ml/nn/runtime/test/
DTestWrapper.cpp30 mOut = mModel.addOperand(&type); in SetUp()
31 mModel.addOperation(ANEURALNETWORKS_TANH, {mIn}, {mOut}); in SetUp()
35 uint32_t mIn, mOut; member in WrapperTestModelFinish
40 mModel.identifyInputsAndOutputs({mIn}, {mOut}); in TEST_F()
59 mModel.identifyInputsAndOutputs({mIn}, {mOut}); in TEST_F()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DMockLog.java21 StringBuilder mOut = new StringBuilder(); field in MockLog
25 return mOut.toString(); in getOut()
34 mOut.append(msg); in outPrintln()
35 mOut.append('\n'); in outPrintln()
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
DScriptC_reduce_general_examples_halter.java.expect55 mOut.copyTo(outArray);
57 mOut.destroy();
58 mOut = null; // make Java object eligible for garbage collection
75 mOut = out;
80 private Allocation mOut;
91 mOut.copyTo(outArray);
93 mOut.destroy();
94 mOut = null; // make Java object eligible for garbage collection
111 mOut = out;
116 private Allocation mOut;
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect59 mOut.copyTo(outArray);
66 mOut.destroy();
67 mOut = null; // make Java object eligible for garbage collection
84 mOut = out;
89 private Allocation mOut;
100 mOut.copyTo(outArray);
102 mOut.destroy();
103 mOut = null; // make Java object eligible for garbage collection
120 mOut = out;
125 private Allocation mOut;
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect61 mOut.copyTo(outArray);
68 mOut.destroy();
69 mOut = null; // make Java object eligible for garbage collection
86 mOut = out;
91 private Allocation mOut;
102 mOut.copyTo(outArray);
104 mOut.destroy();
105 mOut = null; // make Java object eligible for garbage collection
122 mOut = out;
127 private Allocation mOut;
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect61 mOut.copyTo(outArray);
68 mOut.destroy();
69 mOut = null; // make Java object eligible for garbage collection
86 mOut = out;
91 private Allocation mOut;
102 mOut.copyTo(outArray);
104 mOut.destroy();
105 mOut = null; // make Java object eligible for garbage collection
122 mOut = out;
127 private Allocation mOut;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java40 private ImageView mOut; field in SignalTileView
49 mOut = addTrafficView(R.drawable.ic_qs_signal_out); in SignalTileView()
88 mOut.measure(ws, hs); in onMeasure()
95 layoutIndicator(mOut); in onLayout()
138 setVisibility(mOut, shouldAnimate, s.activityOut); in setIcon()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DModelInterpreter.java146 OutputStream mOut; field in ModelInterpreter
169 mOut = out; in ModelInterpreter()
214 mOut = s.getOutputStream(); in run()
612 mOut.write(bytes); in println()
613 mOut.write('\r'); in println()
629 mOut.write(bytes); in print()
651 mOut.close(); in shutdown()
/frameworks/compile/slang/tests/P_reduce_general_struct/
DScriptC_reduce_general_struct.java.expect55 mOut.copyTo(outArray);
57 mOut.destroy();
58 mOut = null; // make Java object eligible for garbage collection
75 mOut = out;
80 private Allocation mOut;
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java63 private PrintWriter mOut; field in Tracer.FileSink
67 mOut = new PrintWriter(file); in FileSink()
72 mOut.printf("%s %s\n", mDateFormat.format(new Date()), message); in log()
76 mOut.close(); in close()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarWifiView.java53 private ImageView mOut; field in StatusBarWifiView
96 mOut.setImageTintList(list); in setStaticDrawableColor()
159 mOut = findViewById(R.id.wifi_out); in init()
204 mOut.setVisibility(state.activityOut ? View.VISIBLE : View.GONE); in updateState()
229 mOut.setVisibility(mState.activityOut ? View.VISIBLE : View.GONE); in initViewState()
245 mOut.setImageTintList(ColorStateList.valueOf(getTint(area, this, tint))); in onDarkChanged()
DStatusBarMobileView.java57 private ImageView mOut; field in StatusBarMobileView
110 mOut = findViewById(R.id.mobile_out); in init()
167 mOut.setVisibility(mState.activityOut ? View.VISIBLE : View.GONE); in initViewState()
197 mOut.setVisibility(state.activityOut ? View.VISIBLE : View.GONE); in updateState()
218 mOut.setImageTintList(color); in onDarkChanged()
243 mOut.setImageTintList(list); in setStaticDrawableColor()
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
DScriptC_reduce_general_duplicate_array.java.expect53 mOut.copyTo(outArray);
55 mOut.destroy();
56 mOut = null; // make Java object eligible for garbage collection
73 mOut = out;
78 private Allocation mOut;

12