Home
last modified time | relevance | path

Searched refs:Code (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/av/media/utils/include/mediautils/
DMethodStatistics.h39 template <typename Code>
52 const std::initializer_list<std::pair<const Code, std::string>>& methodMap = {})
62 if (it != mStatisticsMap.end() && it->first == static_cast<Code>(code)) { in event()
74 std::string getMethodForCode(const Code& code) const { in getMethodForCode()
82 size_t getMethodCount(const Code& code) const { in getMethodCount()
91 StatsType getStatistics(const Code& code) const { in getStatistics()
103 if constexpr (std::is_same_v<Code, std::string>) { in dump()
119 const std::map<Code, std::string, std::less<>> mMethodMap;
121 std::map<Code, StatsType, std::less<>> mStatisticsMap GUARDED_BY(mLock);
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp143 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument
155 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
250 unsigned Code = 0; in WriteTypeTable() local
254 case Type::VoidTyID: Code = bitc::TYPE_CODE_VOID; break; in WriteTypeTable()
255 case Type::HalfTyID: Code = bitc::TYPE_CODE_HALF; break; in WriteTypeTable()
256 case Type::FloatTyID: Code = bitc::TYPE_CODE_FLOAT; break; in WriteTypeTable()
257 case Type::DoubleTyID: Code = bitc::TYPE_CODE_DOUBLE; break; in WriteTypeTable()
258 case Type::X86_FP80TyID: Code = bitc::TYPE_CODE_X86_FP80; break; in WriteTypeTable()
259 case Type::FP128TyID: Code = bitc::TYPE_CODE_FP128; break; in WriteTypeTable()
260 case Type::PPC_FP128TyID: Code = bitc::TYPE_CODE_PPC_FP128; break; in WriteTypeTable()
[all …]
/frameworks/base/tools/codegen/src/com/android/codegen/
DFileInfo.kt109 it.javaClass == CodeChunk.Code::class.java in <lambda>()
112 .flatMap { (it as CodeChunk.Code).lines } in <lambda>()
129 is CodeChunk.Code -> chunk.lines.forEach { stringBuilder.appendln(it) } in <lambda>()
192 open class Code(val lines: List<String>): CodeChunk() {} in <lambda>() class in com.android.codegen.FileInfo.CodeChunk
195 class FileHeader(lines: List<String>): Code(lines) in <lambda>()
198 open class GeneratedCode(lines: List<String>): Code(lines) { in <lambda>()
204 object ClosingBrace: Code(listOf("}")) in <lambda>()
213 val initial = Code(lines = classBounds.fileInfo.sourceLines.subList( in <lambda>()
224 chunks += Code(lines = classBounds.fileInfo.sourceLines.subList( in <lambda>()
241 chunks[chunks.lastIndex] = (chunks.last() as Code) in <lambda>()
[all …]
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp143 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument
155 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
248 unsigned Code = 0; in WriteTypeTable() local
252 case Type::VoidTyID: Code = bitc::TYPE_CODE_VOID; break; in WriteTypeTable()
253 case Type::FloatTyID: Code = bitc::TYPE_CODE_FLOAT; break; in WriteTypeTable()
254 case Type::DoubleTyID: Code = bitc::TYPE_CODE_DOUBLE; break; in WriteTypeTable()
255 case Type::X86_FP80TyID: Code = bitc::TYPE_CODE_X86_FP80; break; in WriteTypeTable()
256 case Type::FP128TyID: Code = bitc::TYPE_CODE_FP128; break; in WriteTypeTable()
257 case Type::PPC_FP128TyID: Code = bitc::TYPE_CODE_PPC_FP128; break; in WriteTypeTable()
258 case Type::LabelTyID: Code = bitc::TYPE_CODE_LABEL; break; in WriteTypeTable()
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp120 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument
132 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
263 unsigned Code = 0; in WriteTypeTable() local
267 case Type::VoidTyID: Code = bitc::TYPE_CODE_VOID; break; in WriteTypeTable()
268 case Type::FloatTyID: Code = bitc::TYPE_CODE_FLOAT; break; in WriteTypeTable()
269 case Type::DoubleTyID: Code = bitc::TYPE_CODE_DOUBLE; break; in WriteTypeTable()
270 case Type::X86_FP80TyID: Code = bitc::TYPE_CODE_X86_FP80; break; in WriteTypeTable()
271 case Type::FP128TyID: Code = bitc::TYPE_CODE_FP128; break; in WriteTypeTable()
272 case Type::PPC_FP128TyID: Code = bitc::TYPE_CODE_PPC_FP128; break; in WriteTypeTable()
273 case Type::LabelTyID: Code = bitc::TYPE_CODE_LABEL; break; in WriteTypeTable()
[all …]
/frameworks/libs/systemui/motiontoollib/tests/com/android/app/motiontool/
DDdmHandleMotionToolTest.kt79 assertEquals(ErrorResponse.Code.WINDOW_NOT_FOUND, errorResponse.error.code) in <lambda>()
85 assertEquals(ErrorResponse.Code.UNKNOWN_TRACE_ID, errorResponse.error.code) in <lambda>()
91 assertEquals(ErrorResponse.Code.UNKNOWN_TRACE_ID, errorResponse.error.code) in <lambda>()
98 assertEquals(ErrorResponse.Code.UNKNOWN_TRACE_ID, endTraceResponse.error.code) in <lambda>()
105 assertEquals(ErrorResponse.Code.UNKNOWN_TRACE_ID, endTraceResponse.error.code) in <lambda>()
114 assertEquals(ErrorResponse.Code.INVALID_REQUEST, response.code) in <lambda>()
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/golden-output/
D01-hoststubgen-test-tiny-framework-orig-dump.txt238 Code:
251 Code:
279 Code:
292 Code:
341 Code:
354 Code:
382 Code:
409 Code:
422 Code:
434 Code:
[all …]
D12-hoststubgen-test-tiny-framework-host-ext-stub-dump.txt13 Code:
29 Code:
64 Code:
80 Code:
146 Code:
162 Code:
196 Code:
231 Code:
247 Code:
284 Code:
[all …]
D02-hoststubgen-test-tiny-framework-host-stub-dump.txt13 Code:
29 Code:
64 Code:
80 Code:
146 Code:
162 Code:
196 Code:
231 Code:
247 Code:
284 Code:
[all …]
D03-hoststubgen-test-tiny-framework-host-impl-dump.txt229 Code:
247 Code:
285 Code:
303 Code:
372 Code:
390 Code:
428 Code:
465 Code:
483 Code:
504 Code:
[all …]
D13-hoststubgen-test-tiny-framework-host-ext-impl-dump.txt13 Code:
51 Code:
82 Code:
120 Code:
151 Code:
182 Code:
220 Code:
251 Code:
282 Code:
313 Code:
[all …]
/frameworks/libs/systemui/motiontoollib/src/com/android/app/motiontool/
DDdmHandleMotionTool.kt71 .setCode(ErrorResponse.Code.INVALID_REQUEST) in handleChunk()
90 .setCode(ErrorResponse.Code.INVALID_REQUEST) in handleChunk()
152 this.code = ErrorResponse.Code.UNKNOWN_TRACE_ID in createUnknownTraceIdResponse()
158 this.code = ErrorResponse.Code.WINDOW_NOT_FOUND in createWindowNotFoundResponse()
/frameworks/native/vulkan/
DREADME.md15 ## Code Generation
17 …ectly from the Vulkan Registry (external/vulkan-headers/registry/vk.xml). Code generation must be …
19 ### Run The Code Generator
/frameworks/proto_logging/stats/
D.gitignore1 # VS Code settings
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp1126 unsigned Code = Stream.ReadCode(); in ParseOldTypeTable() local
1127 if (Code == bitc::END_BLOCK) { in ParseOldTypeTable()
1147 if (Code == bitc::ENTER_SUBBLOCK) { in ParseOldTypeTable()
1155 if (Code == bitc::DEFINE_ABBREV) { in ParseOldTypeTable()
1163 switch (Stream.readRecord(Code, Record)) { in ParseOldTypeTable()
1302 unsigned Code = Stream.ReadCode(); in ParseOldTypeSymbolTable() local
1303 if (Code == bitc::END_BLOCK) { in ParseOldTypeSymbolTable()
1309 if (Code == bitc::ENTER_SUBBLOCK) { in ParseOldTypeSymbolTable()
1317 if (Code == bitc::DEFINE_ABBREV) { in ParseOldTypeSymbolTable()
1324 switch (Stream.readRecord(Code, Record)) { in ParseOldTypeSymbolTable()
[all …]
/frameworks/libs/systemui/motiontoollib/src/com/android/app/motiontool/proto/
Dmotion_tool.proto50 enum Code { enum
57 optional Code code = 1;
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp1421 unsigned Code = Stream.ReadCode(); in ParseOldTypeTable() local
1422 if (Code == bitc::END_BLOCK) { in ParseOldTypeTable()
1442 if (Code == bitc::ENTER_SUBBLOCK) { in ParseOldTypeTable()
1450 if (Code == bitc::DEFINE_ABBREV) { in ParseOldTypeTable()
1458 switch (Stream.readRecord(Code, Record)) { in ParseOldTypeTable()
1614 unsigned Code = Stream.ReadCode(); in ParseOldTypeSymbolTable() local
1615 if (Code == bitc::END_BLOCK) { in ParseOldTypeSymbolTable()
1621 if (Code == bitc::ENTER_SUBBLOCK) { in ParseOldTypeSymbolTable()
1629 if (Code == bitc::DEFINE_ABBREV) { in ParseOldTypeSymbolTable()
1636 switch (Stream.readRecord(Code, Record)) { in ParseOldTypeSymbolTable()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/patterns/
DTEMPLATE.md13 ### Code examples
/frameworks/multidex/
DNOTICE7 Android Code
/frameworks/native/libs/vr/libpdx/
DAndroid.bp70 // Code analysis target.
/frameworks/minikin/doc/
Dminikin_style.md3 The C++ style in Minikin follows Android Framework C++ Code Style Guide except for following rules:
/frameworks/base/core/proto/android/nfc/
Dnfc_fservice_info.proto32 // System Code of the service
/frameworks/native/libs/bufferstreams/rust/
Dcbindgen.toml29 ############################ Code Style Options ################################
/frameworks/base/tools/protologtool/
DREADME.md3 Code transformation tool and viewer for ProtoLog.
9 ### Code transformation
/frameworks/native/cmds/dumpstate/
DREADME.md101 ## Code style and formatting

12