/kernel/linux/linux-5.10/arch/arm/probes/kprobes/ |
H A D | checkers-arm.c | 87 [PROBES_LDRSTRD] = {.checker = arm_check_stack}, 88 [PROBES_STORE_EXTRA] = {.checker = arm_check_stack}, 89 [PROBES_STORE] = {.checker = arm_check_stack}, 90 [PROBES_LDMSTM] = {.checker = arm_check_stack}, 145 * from others, a specific checker is required to handle this extra 160 [PROBES_MRS] = {.checker = arm_check_regs_normal}, 161 [PROBES_SATURATING_ARITHMETIC] = {.checker = arm_check_regs_normal}, 162 [PROBES_MUL1] = {.checker = arm_check_regs_normal}, 163 [PROBES_MUL2] = {.checker = arm_check_regs_normal}, 164 [PROBES_MUL_ADD_LONG] = {.checker [all...] |
H A D | checkers-thumb.c | 79 [PROBES_T32_LDMSTM] = {.checker = t32_check_stack}, 80 [PROBES_T32_LDRDSTRD] = {.checker = t32_check_stack}, 81 [PROBES_T32_LDRSTR] = {.checker = t32_check_stack}, 101 [PROBES_T16_PUSH] = {.checker = t16_check_stack},
|
/kernel/linux/linux-6.6/arch/arm/probes/kprobes/ |
H A D | checkers-arm.c | 87 [PROBES_LDRSTRD] = {.checker = arm_check_stack}, 88 [PROBES_STORE_EXTRA] = {.checker = arm_check_stack}, 89 [PROBES_STORE] = {.checker = arm_check_stack}, 90 [PROBES_LDMSTM] = {.checker = arm_check_stack}, 145 * from others, a specific checker is required to handle this extra 160 [PROBES_MRS] = {.checker = arm_check_regs_normal}, 161 [PROBES_SATURATING_ARITHMETIC] = {.checker = arm_check_regs_normal}, 162 [PROBES_MUL1] = {.checker = arm_check_regs_normal}, 163 [PROBES_MUL2] = {.checker = arm_check_regs_normal}, 164 [PROBES_MUL_ADD_LONG] = {.checker [all...] |
H A D | checkers-thumb.c | 79 [PROBES_T32_LDMSTM] = {.checker = t32_check_stack}, 80 [PROBES_T32_LDRDSTRD] = {.checker = t32_check_stack}, 81 [PROBES_T32_LDRSTR] = {.checker = t32_check_stack}, 101 [PROBES_T16_PUSH] = {.checker = t16_check_stack},
|
/third_party/typescript/tests/baselines/reference/ |
H A D | parserRealSource9.js | 9 constructor (public checker: TypeChecker) { } 16 this.checker.resolvingBases = true; 17 this.checker.resolveTypeLink(scope, typeLink, true); 18 this.checker.resolvingBases = false; 37 if (type.extendsList[i] != this.checker.anyType) { 40 this.checker.errorReporter.simpleErrorFromSym(type.symbol, 46 this.checker.errorReporter.simpleErrorFromSym(type.symbol, 60 this.checker.errorReporter.simpleErrorFromSym(type.symbol, 76 this.checker.resolveTypeLink(scope, signature.returnType, supplyVar); 87 this.checker [all...] |
H A D | parserRealSource7.js | 43 context.checker.locationInfo.unitIndex, true, field); 116 symbol = context.tcContext.checker.findSymbolForDynamicModule(name, context.tcContext.script.locationInfo.filename, findSym); 160 var isGlobal = context.scopeChain.container == context.checker.gloMod; 171 context.checker.locationInfo.unitIndex, modType); 181 context.checker.errorReporter, isExported || isGlobal, true, false); 183 context.checker.errorReporter, isExported || isGlobal, false, false); 194 var isGlobal = context.scopeChain.container == context.checker.gloMod; 218 context.checker.locationInfo.unitIndex, modType); 226 context.checker.errorReporter, isExported || isGlobal, true, isAmbient); 228 context.checker [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | fortify_kunit.c | 146 #define TEST_kmalloc(checker, expected_size, alloc_size) do { \ 151 checker(expected_size, kmalloc(alloc_size, gfp), \ 153 checker(expected_size, \ 156 checker(expected_size, kzalloc(alloc_size, gfp), \ 158 checker(expected_size, \ 161 checker(expected_size, kcalloc(1, alloc_size, gfp), \ 163 checker(expected_size, kcalloc(alloc_size, 1, gfp), \ 165 checker(expected_size, \ 168 checker(expected_size, \ 171 checker(expected_siz [all...] |
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | cookie.c | 19 void wg_cookie_checker_init(struct cookie_checker *checker, in wg_cookie_checker_init() argument 22 init_rwsem(&checker->secret_lock); in wg_cookie_checker_init() 23 checker->secret_birthdate = ktime_get_coarse_boottime_ns(); in wg_cookie_checker_init() 24 get_random_bytes(checker->secret, NOISE_HASH_LEN); in wg_cookie_checker_init() 25 checker->device = wg; in wg_cookie_checker_init() 45 void wg_cookie_checker_precompute_device_keys(struct cookie_checker *checker) in wg_cookie_checker_precompute_device_keys() argument 47 if (likely(checker->device->static_identity.has_identity)) { in wg_cookie_checker_precompute_device_keys() 48 precompute_key(checker->cookie_encryption_key, in wg_cookie_checker_precompute_device_keys() 49 checker->device->static_identity.static_public, in wg_cookie_checker_precompute_device_keys() 51 precompute_key(checker in wg_cookie_checker_precompute_device_keys() 91 make_cookie(u8 cookie[COOKIE_LEN], struct sk_buff *skb, struct cookie_checker *checker) make_cookie() argument 119 wg_cookie_validate_packet(struct cookie_checker *checker, struct sk_buff *skb, bool check_cookie) wg_cookie_validate_packet() argument 180 wg_cookie_message_create(struct message_handshake_cookie *dst, struct sk_buff *skb, __le32 index, struct cookie_checker *checker) wg_cookie_message_create() argument [all...] |
H A D | cookie.h | 41 void wg_cookie_checker_init(struct cookie_checker *checker, 43 void wg_cookie_checker_precompute_device_keys(struct cookie_checker *checker); 47 enum cookie_mac_state wg_cookie_validate_packet(struct cookie_checker *checker, 55 struct cookie_checker *checker);
|
/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | cookie.c | 19 void wg_cookie_checker_init(struct cookie_checker *checker, in wg_cookie_checker_init() argument 22 init_rwsem(&checker->secret_lock); in wg_cookie_checker_init() 23 checker->secret_birthdate = ktime_get_coarse_boottime_ns(); in wg_cookie_checker_init() 24 get_random_bytes(checker->secret, NOISE_HASH_LEN); in wg_cookie_checker_init() 25 checker->device = wg; in wg_cookie_checker_init() 45 void wg_cookie_checker_precompute_device_keys(struct cookie_checker *checker) in wg_cookie_checker_precompute_device_keys() argument 47 if (likely(checker->device->static_identity.has_identity)) { in wg_cookie_checker_precompute_device_keys() 48 precompute_key(checker->cookie_encryption_key, in wg_cookie_checker_precompute_device_keys() 49 checker->device->static_identity.static_public, in wg_cookie_checker_precompute_device_keys() 51 precompute_key(checker in wg_cookie_checker_precompute_device_keys() 91 make_cookie(u8 cookie[COOKIE_LEN], struct sk_buff *skb, struct cookie_checker *checker) make_cookie() argument 119 wg_cookie_validate_packet(struct cookie_checker *checker, struct sk_buff *skb, bool check_cookie) wg_cookie_validate_packet() argument 180 wg_cookie_message_create(struct message_handshake_cookie *dst, struct sk_buff *skb, __le32 index, struct cookie_checker *checker) wg_cookie_message_create() argument [all...] |
H A D | cookie.h | 41 void wg_cookie_checker_init(struct cookie_checker *checker, 43 void wg_cookie_checker_precompute_device_keys(struct cookie_checker *checker); 47 enum cookie_mac_state wg_cookie_validate_packet(struct cookie_checker *checker, 55 struct cookie_checker *checker);
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_osk_locks.c | 29 void _mali_osk_locks_debug_init(struct _mali_osk_lock_debug_s *checker, _mali_osk_lock_flags_t flags, in _mali_osk_locks_debug_init() argument 32 checker->orig_flags = flags; in _mali_osk_locks_debug_init() 33 checker->owner = 0; in _mali_osk_locks_debug_init() 36 checker->order = order; in _mali_osk_locks_debug_init() 37 checker->next = NULL; in _mali_osk_locks_debug_init() 41 void _mali_osk_locks_debug_add(struct _mali_osk_lock_debug_s *checker) in _mali_osk_locks_debug_add() argument 43 checker->owner = mali_osk_get_tid(); in _mali_osk_locks_debug_add() 46 if (!(checker->orig_flags & _MALI_OSK_LOCKFLAG_UNORDERED)) { in _mali_osk_locks_debug_add() 47 if (!add_lock_to_log_and_check(checker, mali_osk_get_tid())) { in _mali_osk_locks_debug_add() 49 checker); in _mali_osk_locks_debug_add() 56 _mali_osk_locks_debug_remove(struct _mali_osk_lock_debug_s *checker) _mali_osk_locks_debug_remove() argument [all...] |
H A D | mali_osk_locks.h | 44 struct _mali_osk_lock_debug_s checker; member 52 struct _mali_osk_lock_debug_s checker; member 62 struct _mali_osk_lock_debug_s checker; member 72 struct _mali_osk_lock_debug_s checker; member 81 void _mali_osk_locks_debug_init(struct _mali_osk_lock_debug_s *checker, _mali_osk_lock_flags_t flags, 83 void _mali_osk_locks_debug_add(struct _mali_osk_lock_debug_s *checker); 84 void _mali_osk_locks_debug_remove(struct _mali_osk_lock_debug_s *checker); 240 lock->checker.owner = 0; in _mali_osk_mutex_rw_signal()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_osk_locks.c | 29 void _mali_osk_locks_debug_init(struct _mali_osk_lock_debug_s *checker, _mali_osk_lock_flags_t flags, _mali_osk_lock_order_t order) in _mali_osk_locks_debug_init() argument 31 checker->orig_flags = flags; in _mali_osk_locks_debug_init() 32 checker->owner = 0; in _mali_osk_locks_debug_init() 35 checker->order = order; in _mali_osk_locks_debug_init() 36 checker->next = NULL; in _mali_osk_locks_debug_init() 40 void _mali_osk_locks_debug_add(struct _mali_osk_lock_debug_s *checker) in _mali_osk_locks_debug_add() argument 42 checker->owner = _mali_osk_get_tid(); in _mali_osk_locks_debug_add() 45 if (!(checker->orig_flags & _MALI_OSK_LOCKFLAG_UNORDERED)) { in _mali_osk_locks_debug_add() 46 if (!add_lock_to_log_and_check(checker, _mali_osk_get_tid())) { in _mali_osk_locks_debug_add() 48 _mali_osk_get_tid(), checker); in _mali_osk_locks_debug_add() 55 _mali_osk_locks_debug_remove(struct _mali_osk_lock_debug_s *checker) _mali_osk_locks_debug_remove() argument [all...] |
H A D | mali_osk_locks.h | 43 struct _mali_osk_lock_debug_s checker; member 51 struct _mali_osk_lock_debug_s checker; member 61 struct _mali_osk_lock_debug_s checker; member 71 struct _mali_osk_lock_debug_s checker; member 80 void _mali_osk_locks_debug_init(struct _mali_osk_lock_debug_s *checker, _mali_osk_lock_flags_t flags, _mali_osk_lock_order_t order); 81 void _mali_osk_locks_debug_add(struct _mali_osk_lock_debug_s *checker); 82 void _mali_osk_locks_debug_remove(struct _mali_osk_lock_debug_s *checker); 233 lock->checker.owner = 0; in _mali_osk_mutex_rw_signal()
|
/third_party/gn/src/gn/ |
H A D | header_checker_unittest.cc | 83 auto checker = CreateChecker(); in TEST_F() local 101 EXPECT_FALSE(checker->IsDependencyOf(&a_, &a_, &chain, &is_permitted)); in TEST_F() 106 EXPECT_TRUE(checker->IsDependencyOf(&b_, &a_, &chain, &is_permitted)); in TEST_F() 116 EXPECT_TRUE(checker->IsDependencyOf(&c_, &a_, &chain, &is_permitted)); in TEST_F() 126 EXPECT_FALSE(checker->IsDependencyOf(&a_, &c_, &chain, &is_permitted)); in TEST_F() 135 EXPECT_TRUE(checker->IsDependencyOf(&c_, &a_, &chain, &is_permitted)); in TEST_F() 146 EXPECT_TRUE(checker->IsDependencyOf(&c_, &p, &chain, &is_permitted)); in TEST_F() 198 auto checker = CreateChecker(); in TEST_F() local 204 checker->CheckInclude(&a_, input_file, d_header, range, &no_dependency_cache, in TEST_F() 211 checker in TEST_F() 262 auto checker = CreateChecker(); TEST_F() local 297 auto checker = CreateChecker(); TEST_F() local 341 auto checker = CreateChecker(); TEST_F() local 376 auto checker = CreateChecker(); TEST_F() local 428 auto checker = CreateChecker(); TEST_F() local 460 auto checker = CreateChecker(); TEST_F() local [all...] |
H A D | innerapis_publicinfo_generator.cc | 89 static bool TraverIncludeDirs(const OhosComponentChecker *checker, const Target *target, const Scope *scope,
in TraverIncludeDirs() argument 98 if (!checker->CheckIncludesAbsoluteDepsOther(target, label, real_dir.value(), err)) {
in TraverIncludeDirs() 106 static bool CheckIncludes(const OhosComponentChecker *checker, const std::string &dir,
in CheckIncludes() argument 113 if (checker != nullptr) {
in CheckIncludes() 114 if (!checker->CheckInnerApiIncludesOverRange(target, label, dir, err)) {
in CheckIncludes() 119 if (checker != nullptr) {
in CheckIncludes() 120 if (!checker->CheckIncludesAbsoluteDepsOther(target, label, dir, err)) {
in CheckIncludes() 203 static std::string GetIncludeDirsInfo(const Config *config, const OhosComponentChecker *checker,
in GetIncludeDirsInfo() argument 215 if (!CheckIncludes(checker, dir.value(), params)) {
in GetIncludeDirsInfo() 225 const UniqueVector<LabelConfigPair> &configs, const OhosComponentChecker *checker)
in GetPublicConfigInfo() 224 GetPublicConfigInfo(const PublicConfigInfoParams ¶ms, Scope *scope, const UniqueVector<LabelConfigPair> &configs, const OhosComponentChecker *checker) GetPublicConfigInfo() argument 261 GetPublicConfigsInfo(const Target *target, const std::string &label, Scope *scope, const OhosComponentChecker *checker, Err *err) GetPublicConfigsInfo() argument 278 GetAllDependentConfigsInfo(const Target *target, const std::string &label, Scope *scope, const OhosComponentChecker *checker, Err *err) GetAllDependentConfigsInfo() argument 300 GetPrivateConfigsInfo(const Target *target, const std::string &label, Scope *scope, const OhosComponentChecker *checker, Err *err) GetPrivateConfigsInfo() argument 335 GetPublicDepsInfo(const Target *target, const std::string &label, const OhosComponentChecker *checker, Err *err) GetPublicDepsInfo() argument 463 const OhosComponentChecker *checker = OhosComponentChecker::getInstance(); GeneratedInnerapiPublicInfo() local [all...] |
H A D | visibility.cc | 122 OhosComponentChecker *checker = OhosComponentChecker::getInstance(); in CheckItemVisibility() local 123 if (checker != nullptr) { in CheckItemVisibility() 124 if (!checker->CheckInnerApiNotLib(to, to_component, from_label, to_label, err) || in CheckItemVisibility() 125 !checker->CheckInnerApiNotDeclare(to, to_component, to_label, err) || in CheckItemVisibility() 126 !checker->CheckTargetAbsoluteDepsOther(from, to_component, from_label, to_label, is_external_deps, err) || in CheckItemVisibility() 127 !checker->CheckInnerApiVisibilityDenied(from, to_component, from_label, to_label, err)) { in CheckItemVisibility()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | base_printer.py | 34 """Base class for a way of outputting results of a checker execution.""" 65 def outputResults(self, checker, broken_links=True, 67 """Output the full results of a checker run. 77 def outputBrokenLinks(self, checker, broken): 89 def outputMissingIncludes(self, checker, missing): 100 def outputChecker(self, checker): 105 for f in checker.files: 116 def outputBrokenAndMissing(self, checker, broken_links=True, 124 broken = checker.getBrokenLinks() 126 self.outputBrokenLinks(checker, broke [all...] |
H A D | main.py | 129 checker = make_macro_checker(enabled_messages) 133 f.write(checker.getEntityJson()) 142 checker.processFile(fn) 162 numErrors = checker.numDiagnostics() 164 numErrors = checker.numErrors() 173 printer.outputResults(checker, broken_links=(not args.file), 177 numErrors += len(checker.getBrokenLinks()) 183 numErrors += len(checker.getMissingUnreferencedApiIncludes()) 191 missing = checker.getMissingRefPages() 203 numErrors += len(checker [all...] |
H A D | console_printer.py | 152 def outputResults(self, checker, broken_links=True, 154 """Output the full results of a checker run. 159 self.output(checker) 161 broken = checker.getBrokenLinks() 163 self.outputBrokenLinks(checker, broken) 165 missing = checker.getMissingUnreferencedApiIncludes() 167 self.outputMissingIncludes(checker, missing) 169 def outputBrokenLinks(self, checker, broken): 177 fn = checker.findEntity(entity).filename 179 locations = ', '.join((toNameAndLine(context, root_path=checker [all...] |
H A D | macro_checker_file.py | 230 def __init__(self, checker, filename, enabled_messages, stream_maker): 236 checker -- A MacroChecker object. 237 filename -- A string to use in messages to refer to this checker, typically the file name. 241 self.checker = checker 276 self.suspected_missing_macro_re = self.checker.suspected_missing_macro_re 277 self.heading_command_re = self.checker.heading_command_re 322 if not self.checker.entity_db.entityHasValidity(entity): 399 data = self.checker.findEntity(command) 441 data = self.checker [all...] |
/third_party/python/Doc/tools/ |
H A D | rstlint.py | 146 def checker(*suffixes, **kwds): function 147 """Decorator to register a function as a checker.""" 157 @checker('.py', severity=4) 171 @checker('.rst', severity=2) 194 @checker('.py', '.rst') 206 @checker('.rst', severity=0) 208 """Check for line length; this checker is not run by default.""" 220 @checker('.html', severity=2, falsepositives=True) 283 @checker(".rst", severity=2) 384 for checker i [all...] |
/third_party/skia/gm/ |
H A D | skbug_257.cpp | 91 SkPaint checker; in DEF_SIMPLE_GM() local 92 rotated_checkerboard_shader(&checker, SK_ColorWHITE, SK_ColorBLACK, 16); in DEF_SIMPLE_GM() 93 checker.setAntiAlias(true); in DEF_SIMPLE_GM() 103 canvas->drawRect(rect, checker); in DEF_SIMPLE_GM() 110 canvas->drawRRect(rrect, checker); in DEF_SIMPLE_GM() 123 checker.setStyle(SkPaint::kStroke_Style); in DEF_SIMPLE_GM() 124 checker.setStrokeWidth(8); in DEF_SIMPLE_GM() 125 checker.setStrokeCap(SkPaint::kRound_Cap); in DEF_SIMPLE_GM() 126 canvas->drawPoints(SkCanvas::kLines_PointMode, 8, points, checker); in DEF_SIMPLE_GM()
|
/third_party/skia/buildtools/checkdeps/ |
H A D | checkdeps.py | 91 (extension, checker) 92 for checker in [java, cpp, proto] for extension in checker.EXTENSIONS) 101 checker = checkers[file_extension] 102 file_status = checker.CheckFile(rules, full_name) 106 def CheckIncludesAndImports(self, added_lines, checker): 112 checker: CppChecker/JavaChecker/ProtoChecker checker instance 121 if not checker.ShouldCheck(file_path): 127 is_include, violation = checker [all...] |