Home
last modified time | relevance | path

Searched refs:CodeType (Results 1 – 25 of 156) sorted by relevance

1234567

/aosp_15_r20/art/runtime/
H A Dapp_info.cc32 AppInfo::CodeType AppInfo::FromVMRuntimeConstants(uint32_t code_type) { in FromVMRuntimeConstants()
34 case kVMRuntimePrimaryApk : return CodeType::kPrimaryApk; in FromVMRuntimeConstants()
35 case kVMRuntimeSplitApk : return CodeType::kSplitApk; in FromVMRuntimeConstants()
36 case kVMRuntimeSecondaryDex : return CodeType::kSecondaryDex; in FromVMRuntimeConstants()
39 return CodeType::kUnknown; in FromVMRuntimeConstants()
43 static const char* CodeTypeName(AppInfo::CodeType code_type) { in CodeTypeName()
45 case AppInfo::CodeType::kPrimaryApk : return "primary-apk"; in CodeTypeName()
46 case AppInfo::CodeType::kSplitApk : return "split-apk"; in CodeTypeName()
47 case AppInfo::CodeType::kSecondaryDex : return "secondary-dex"; in CodeTypeName()
48 case AppInfo::CodeType::kUnknown : return "unknown"; in CodeTypeName()
[all …]
H A Dapp_info_test.cc28 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location"), AppInfo::CodeType::kUnknown); in TEST()
35 AppInfo::CodeType::kPrimaryApk); in TEST()
37 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location"), AppInfo::CodeType::kPrimaryApk); in TEST()
55 AppInfo::CodeType::kPrimaryApk); in TEST()
56 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location"), AppInfo::CodeType::kPrimaryApk); in TEST()
62 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location"), AppInfo::CodeType::kPrimaryApk); in TEST()
91 AppInfo::CodeType::kPrimaryApk); in TEST()
93 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location"), AppInfo::CodeType::kPrimaryApk); in TEST()
94 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location2"), AppInfo::CodeType::kUnknown); in TEST()
119 AppInfo::CodeType::kSplitApk); in TEST()
[all …]
H A Dapp_info.h47 enum class CodeType { enum
55 static CodeType FromVMRuntimeConstants(uint32_t code_type);
64 CodeType code_type);
100 CodeType GetRegisteredCodeType(const std::string& code_path);
106 CodeType code_type{CodeType::kUnknown};
/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
H A DStandardCodes.java53 public enum CodeType { enum in StandardCodes
64 public static CodeType from(String name) { in from()
68 return CodeType.valueOf(name); in from()
72 private static final Set<CodeType> TypeSet =
73 Collections.unmodifiableSet(EnumSet.allOf(CodeType.class));
79 for (CodeType x : CodeType.values()) {
89 private EnumMap<CodeType, Map<String, List<String>>> type_code_data =
90 new EnumMap<>(CodeType.class);
92 private EnumMap<CodeType, Map<String, List<String>>> type_name_codes =
93 new EnumMap<>(CodeType.class);
[all …]
/aosp_15_r20/frameworks/av/media/utils/tests/
H A Dmethodstatistics_tests.cpp26 using CodeType = size_t; typedef
28 constexpr CodeType HELLO_CODE = 10;
32 constexpr CodeType WORLD_CODE = 21;
35 constexpr CodeType UNKNOWN_CODE = 12345;
38 const MethodStatistics<CodeType> methodStatistics{ in TEST()
50 MethodStatistics<CodeType> methodStatistics{ in TEST()
/aosp_15_r20/external/pytorch/torch/_dynamo/
H A Dtypes.py28 orig_code: types.CodeType
48 code: types.CodeType
70 code: types.CodeType, argument
94 self, code: types.CodeType, new_code: types.CodeType argument
95 ) -> Optional[types.CodeType]:
H A Dconvert_frame.py22 from types import CodeType, FrameType, FunctionType, ModuleType
148 self.seen: List[ReferenceType[CodeType]] = []
151 def add(self, strong_obj: CodeType) -> None: argument
158 def __contains__(self, item: CodeType) -> bool: argument
323 code: CodeType, argument
578 code: CodeType, argument
659 code: CodeType, argument
671 code: CodeType, argument
680 prefix: str, name: str, filename: str, line_no: int, code: CodeType argument
753 def count_args(code: CodeType) -> int: argument
[all …]
H A Dcode_context.py11 def has_context(self, code: types.CodeType): argument
14 def get_context(self, code: types.CodeType): argument
21 def pop_context(self, code: types.CodeType): argument
H A Dreplay_record.py4 from types import CodeType, ModuleType
31 code: CodeType
51 code: CodeType
H A Dbytecode_transformation.py1031 def explicit_super(code: types.CodeType, instructions: List[Instruction]) -> None: argument
1314 def transform_code_object(code, transformations, safe=False) -> types.CodeType:
1328 ) -> Tuple[List[Instruction], types.CodeType]:
1336 tmp_code = types.CodeType(*[code_options[k] for k in keys])
1364 return instructions, types.CodeType(*[code_options[k] for k in keys])
1404 def is_generator(code: types.CodeType) -> bool: argument
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/pkgbits/
Dcodes.go38 type CodeType int type
40 func (c CodeType) Marker() SyncMarker { return SyncType }
41 func (c CodeType) Value() int { return int(c) }
47 TypeBasic CodeType = iota
/aosp_15_r20/external/pytorch/torch/_C/_dynamo/
H A Deval_frame.pyi17 def reset_code(code: types.CodeType) -> None: ...
19 def skip_code(code: types.CodeType) -> None: ...
25 code: types.CodeType
31 def _debug_get_cache_entry_list(code: types.CodeType) -> list[_CacheEntry]: ...
/aosp_15_r20/art/runtime/jit/
H A Dprofile_saver.h45 AppInfo::CodeType code_type)
100 AppInfo::CodeType code_type) REQUIRES(Locks::profiler_lock_);
145 SafeMap<std::string, std::pair<std::string, AppInfo::CodeType>> tracked_profiles_
H A Dprofile_saver.cc248 SafeMap<std::string, std::pair<std::string, AppInfo::CodeType>> tracked_locations; in IsFirstSave()
781 SafeMap<std::string, AppInfo::CodeType> profile_to_code_type; in ProcessProfilingInfo()
797 return profile_to_code_type.Get(pair1.first) != AppInfo::CodeType::kPrimaryApk && in ProcessProfilingInfo()
798 profile_to_code_type.Get(pair2.first) == AppInfo::CodeType::kPrimaryApk; in ProcessProfilingInfo()
988 AppInfo::CodeType code_type) { in Start()
1152 AppInfo::CodeType code_type) { in AddTrackedLocations()
/aosp_15_r20/external/pytorch/test/
H A Dtest_deploy.py25 def verify_filename(co: types.CodeType): argument
28 if not isinstance(co, types.CodeType):
/aosp_15_r20/external/python/cpython3/Tools/scripts/
Ddeepfreeze.py48 def get_localsplus(code: types.CodeType): argument
59 def get_localsplus_counts(code: types.CodeType, argument
239 def generate_code(self, name: str, code: types.CodeType) -> str: argument
398 if isinstance(obj, (types.CodeType, umarshal.Code)) :
449 def decode_frozen_data(source: str) -> types.CodeType:
/aosp_15_r20/external/webrtc/modules/rtp_rtcp/test/testFec/
H A Dtest_packet_masks_metrics.cc72 enum CodeType { enum
382 void ComputeMetricsForCode(CodeType code_type, int code_index) { in ComputeMetricsForCode()
696 CodeType code_type) { in GetPacketMaskConvertToBitMask()
711 int ProcessXORPacketMasks(CodeType code_type, FecMaskType fec_mask_type) { in ProcessXORPacketMasks()
745 void ProcessRS(CodeType code_type) { in ProcessRS()
/aosp_15_r20/external/libchrome/third_party/jinja2/
H A Ddebug.py15 from types import TracebackType, CodeType
272 code = CodeType(0, code.co_nlocals, code.co_stacksize,
278 code = CodeType(0, code.co_kwonlyargcount,
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_code.py221 CodeType = type(co)
224 CodeType(co.co_argcount,
297 CodeType = type(co)
300 CodeType(co.co_argcount,
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/Library/
H A DReportStatusCodeLib.h47 IN EFI_STATUS_CODE_TYPE CodeType,
89 IN EFI_STATUS_CODE_TYPE CodeType,
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Library/
H A DReportStatusCodeLib.h53 IN EFI_STATUS_CODE_TYPE CodeType,
95 IN EFI_STATUS_CODE_TYPE CodeType,
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Library/
H A DReportStatusCodeLib.h47 IN EFI_STATUS_CODE_TYPE CodeType,
88 IN EFI_STATUS_CODE_TYPE CodeType,
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/Library/
H A DReportStatusCodeLib.h47 IN EFI_STATUS_CODE_TYPE CodeType,
89 IN EFI_STATUS_CODE_TYPE CodeType,
/aosp_15_r20/external/pytorch/torch/jit/
H A D_monkeytype_config.py7 from types import CodeType
176 def jit_code_filter(code: CodeType) -> bool: argument
/aosp_15_r20/external/python/jinja/src/jinja2/
Ddebug.py3 from types import CodeType
146 code = CodeType(*code_args)

1234567