/third_party/mesa3d/.gitlab-ci/lava/utils/ |
H A D | log_section.py | 49 self, lava_log_line: dict[str, str] 51 if lava_log_line["lvl"] not in self.levels: 54 if match := re.search(self.regex, lava_log_line["msg"]): 55 section_id = self.section_id.format(*match.groups()) 56 section_header = self.section_header.format(*match.groups()) 60 type=self.section_type, 61 start_collapsed=self.collapsed,
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | pool_test.py | 26 def testNormal(self): 34 self.assertEqual(set(range(0, 10)), results) 36 def testException(self): 39 with self.assertRaises(Exception): 48 self.assertEqual(expect, results) 50 def testAdd(self): 60 self.assertEqual(
|
H A D | statusfile.py | 71 def __init__(self, path, variables): 76 self.variables = variables 78 self._rules, self._prefix_rules = ReadStatusFile(f.read(), variables) 80 def get_outcomes(self, testname, variant=None): 85 rules = self._rules.get(key, {}) 86 prefix_rules = self._prefix_rules.get(key, {}) 97 def warn_unused_rules(self, tests, check_variant_rules=False): 117 if testname in self._rules.get(variant, {}): 119 if SKIP in self [all...] |
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | meta.py | 20 def __init__(self, environment): 21 CodeGenerator.__init__(self, environment, '<introspection>', 23 self.undeclared_identifiers = set() 25 def write(self, x): 28 def enter_frame(self, frame): 30 CodeGenerator.enter_frame(self, frame) 33 self.undeclared_identifiers.add(param)
|
/third_party/musl/src/linux/liteos_a/ |
H A D | clone.c | 38 pthread_t self = __pthread_self(); in __start_child() local 39 self->tid = __syscall(SYS_gettid); in __start_child() 40 self->robust_list.off = 0; in __start_child() 41 self->robust_list.pending = 0; in __start_child() 42 self->next = self->prev = self; in __start_child()
|
/third_party/musl/porting/liteos_a/user/src/linux/ |
H A D | clone.c | 23 pthread_t self = __pthread_self(); in __start_child() local 24 self->tid = __syscall(SYS_gettid); in __start_child() 25 self->robust_list.off = 0; in __start_child() 26 self->robust_list.pending = 0; in __start_child() 27 self->next = self->prev = self; in __start_child()
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
H A D | legacy-streams.js | 16 var self = this; 57 self._read(); 64 self.emit('error', err); 65 self.readable = false; 69 self.fd = fd; 70 self.emit('open', fd); 71 self._read();
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
H A D | 1-1.c | 33 pthread_t self = pthread_self(); in thr_func() local 37 (void *)self); in thr_func() 42 (void *)self); in thr_func() 45 (void *)self); in thr_func() 53 "again\n", (void *)self); in thr_func() 57 (void *)self); in thr_func() 60 fprintf(stderr, "[Thread 0x%p] released the mutex\n", (void *)self); in thr_func()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLMethodReference.h | 24 * prefixed with '$', and taking the 'self' object as the last parameter. For example: 36 std::unique_ptr<Expression> self, in MethodReference() 39 , fSelf(std::move(self)) in MethodReference() 42 std::unique_ptr<Expression>& self() { return fSelf; } in self() function in SkSL::final 43 const std::unique_ptr<Expression>& self() const { return fSelf; } in self() function in SkSL::final 51 fLine, this->self()->clone(), this->functions(), &this->type())); 60 std::unique_ptr<Expression> self, in MethodReference() 64 , fSelf(std::move(self)) in MethodReference() 34 MethodReference(const Context& context, int line, std::unique_ptr<Expression> self, std::vector<const FunctionDeclaration*> functions) MethodReference() argument 59 MethodReference(int line, std::unique_ptr<Expression> self, std::vector<const FunctionDeclaration*> functions, const Type* type) MethodReference() argument
|
/third_party/python/Lib/test/test_email/ |
H A D | test_inversion.py | 32 def msg_as_input(self, msg): 37 self.assertEqual(b.getvalue(), msg) 65 def payload_as_body(self, payload, **kw): 66 msg = self._make_message() 72 msg2 = message_from_bytes(b, policy=self.policy) 73 self.assertEqual(bytes(msg2), b) 74 self.assertEqual(msg2.get_content(), payload)
|
/third_party/vk-gl-cts/scripts/ |
H A D | launchcontrol_build.py | 31 def __init__ (self, buildArgs, checkMustpassLists): 32 self.buildArgs = buildArgs 33 self.checkMustpassLists = checkMustpassLists 35 def getBuildArgs (self): 36 return self.buildArgs 38 def getCheckMustpassLists (self): 39 return self.checkMustpassLists
|
/third_party/python/Modules/_ctypes/ |
H A D | callproc.c | 190 get_error_internal(PyObject *self, PyObject *args, int index) in get_error_internal() argument 204 set_error_internal(PyObject *self, PyObject *args, int index) in set_error_internal() argument 223 get_errno(PyObject *self, PyObject *args) in get_errno() argument 228 return get_error_internal(self, args, 0); in get_errno() 232 set_errno(PyObject *self, PyObject *args) in set_errno() argument 237 return set_error_internal(self, args, 0); in set_errno() 243 get_last_error(PyObject *self, PyObject *args) in get_last_error() argument 248 return get_error_internal(self, args, 1); in get_last_error() 252 set_last_error(PyObject *self, PyObject *args) in set_last_error() argument 257 return set_error_internal(self, arg in set_last_error() 449 check_hresult(PyObject *self, PyObject *args) check_hresult() argument 478 PyCArg_dealloc(PyCArgObject *self) PyCArg_dealloc() argument 491 PyCArg_repr(PyCArgObject *self) PyCArg_repr() argument 1323 format_error(PyObject *self, PyObject *args) format_error() argument 1349 load_library(PyObject *self, PyObject *args) load_library() argument 1397 free_library(PyObject *self, PyObject *args) free_library() argument 1420 copy_com_pointer(PyObject *self, PyObject *args) copy_com_pointer() argument 1478 py_dyld_shared_cache_contains_path(PyObject *self, PyObject *args) py_dyld_shared_cache_contains_path() argument 1513 py_dl_open(PyObject *self, PyObject *args) py_dl_open() argument 1551 py_dl_close(PyObject *self, PyObject *args) py_dl_close() argument 1565 py_dl_sym(PyObject *self, PyObject *args) py_dl_sym() argument 1593 call_function(PyObject *self, PyObject *args) call_function() argument 1628 call_cdeclfunction(PyObject *self, PyObject *args) call_cdeclfunction() argument 1666 sizeof_func(PyObject *self, PyObject *obj) sizeof_func() argument 1687 align_func(PyObject *self, PyObject *obj) align_func() argument 1714 byref(PyObject *self, PyObject *args) byref() argument 1753 addressof(PyObject *self, PyObject *obj) addressof() argument 1774 My_PyObj_FromPtr(PyObject *self, PyObject *args) My_PyObj_FromPtr() argument 1788 My_Py_INCREF(PyObject *self, PyObject *arg) My_Py_INCREF() argument 1796 My_Py_DECREF(PyObject *self, PyObject *arg) My_Py_DECREF() argument 1804 resize(PyObject *self, PyObject *args) resize() argument 1858 unpickle(PyObject *self, PyObject *args) unpickle() argument 1890 POINTER(PyObject *self, PyObject *cls) POINTER() argument 1955 pointer(PyObject *self, PyObject *arg) pointer() argument 1976 buffer_info(PyObject *self, PyObject *arg) buffer_info() argument [all...] |
/third_party/littlefs/scripts/ |
H A D | code.py | 51 def __str__(self): 52 if self.x == m.inf: 54 elif self.x == -m.inf: 57 return str(self.x) 59 def __int__(self): 60 assert not m.isinf(self.x) 61 return self.x 63 def __float__(self): 64 return float(self.x) 67 def table(self) [all...] |
H A D | data.py | 51 def __str__(self): 52 if self.x == m.inf: 54 elif self.x == -m.inf: 57 return str(self.x) 59 def __int__(self): 60 assert not m.isinf(self.x) 61 return self.x 63 def __float__(self): 64 return float(self.x) 67 def table(self) [all...] |
/third_party/skia/gn/ |
H A D | gn_to_cmake.py | 131 def __init__(self, command, modifier, property_modifier, is_linkable): 132 self.command = command 133 self.modifier = modifier 134 self.property_modifier = property_modifier 135 self.is_linkable = is_linkable 161 def __init__(self, project_json): 162 self.targets = project_json['targets'] 164 self.root_path = build_settings['root_path'] 165 self.build_path = self [all...] |
/drivers/peripheral/audio/effect/model/src/mock_effect/ |
H A D | mock_effect_lib.c | 135 static int32_t MockEffectProcess(struct IEffectControlVdi *self, const struct AudioEffectBufferVdi *input,
in MockEffectProcess() argument 138 if (self == NULL || input == NULL || output == NULL) {
in MockEffectProcess() 146 static int32_t MockSendCommand(struct IEffectControlVdi *self, enum EffectCommandTableIndexVdi cmdId,
in MockSendCommand() argument 149 if (self == NULL || commandData == NULL || replyData == NULL || replyDataLen == NULL) {
in MockSendCommand() 169 static int32_t MockEffectReverse(struct IEffectControlVdi *self, const struct AudioEffectBufferVdi *input,
in MockEffectReverse() argument 172 if (self == NULL || input == NULL || output == NULL) {
in MockEffectReverse() 254 int32_t MockGetEffectDescriptor(struct IEffectControlVdi *self, struct EffectControllerDescriptorVdi *desc)
in MockGetEffectDescriptor() argument 257 if (self == NULL || desc == NULL) {
in MockGetEffectDescriptor() 271 static int32_t MockCreateController(struct EffectFactory *self, const struct EffectInfoVdi *info,
in MockCreateController() argument 274 if (self in MockCreateController() 294 MockDestroyController(struct EffectFactory *self, struct IEffectControlVdi *handle) MockDestroyController() argument 308 MockGetDescriptor(struct EffectFactory *self, const char *uuid, struct EffectControllerDescriptorVdi *desc) MockGetDescriptor() argument [all...] |
/third_party/skia/third_party/externals/dawn/generator/ |
H A D | generator_lib.py | 59 def get_description(self): 63 def add_commandline_arguments(self, parser): 67 def get_file_renders(self, args): 71 def get_dependencies(self, args): 100 def __init__(self, path): 101 self.path = path 103 def get_source(self, environment, template): 104 path = os.path.join(self.path, template) 109 source = self.preprocess(f.read()) 115 def preprocess(self, sourc [all...] |
/third_party/googletest/googlemock/scripts/generator/cpp/ |
H A D | tokenize.py | 71 def __init__(self, token_type, name, start, end): 72 self.token_type = token_type 73 self.name = name 74 self.start = start 75 self.end = end 76 self.whence = WHENCE_STREAM 78 def __str__(self): 80 return 'Token(%r)' % self.name 81 return 'Token(%r, %s, %s)' % (self.name, self [all...] |
/third_party/vixl/tools/test_generator/ |
H A D | parser.py | 54 def __init__(self, operand_types, operand_variants, input_types, 56 self.operand_types = operand_types 57 self.operand_variants = operand_variants 58 self.input_types = input_types 59 self.input_values = input_values 61 def BuildOperand(self, name, identifier): 66 type_name = self.operand_types[identifier] 67 variants, default = self.operand_variants[identifier] 72 def BuildInput(self, name, identifier): 77 type_name = self [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_hlsl.cpp | 408 return join("struct ", to_name(type.self)); in type_to_glsl() 410 return to_name(type.self); in type_to_glsl() 537 add_resource_name(var.self); in emit_interface_block_globally() 541 auto &flags = ir.meta[var.self].decoration.decoration_flags; in emit_interface_block_globally() 847 bool is_block = has_decoration(type.self, DecorationBlock); in to_initializer_expression() 862 auto mbr_name = join(to_name(type.self), "_", to_member_name(type, member_index)); in emit_interface_block_member_in_struct() 865 statement(to_interpolation_qualifiers(get_member_decoration_bitset(type.self, member_index)), in emit_interface_block_member_in_struct() 887 uint32_t index = get_decoration(var.self, DecorationIndex); in emit_interface_block_in_struct() 888 uint32_t location = get_decoration(var.self, DecorationLocation); in emit_interface_block_in_struct() 908 auto name = to_name(var.self); in emit_interface_block_in_struct() [all...] |
/third_party/node/deps/v8/src/d8/ |
H A D | d8-test.cc | 28 if (!self) { \ 34 if (!self) { \ 65 FastCApiObject* self = UnwrapObject(receiver); in AddAllFastCallback() local 67 self->fast_call_count_++; in AddAllFastCallback() 99 FastCApiObject* self; in AddAllFastCallbackNoOptions() local 108 self = &FastCApiObject::instance(); in AddAllFastCallbackNoOptions() 112 self = UnwrapObject(receiver); in AddAllFastCallbackNoOptions() 113 CHECK_NOT_NULL(self); in AddAllFastCallbackNoOptions() 115 self->fast_call_count_++; in AddAllFastCallbackNoOptions() 125 FastCApiObject* self in AddAllSlowCallback() local 185 FastCApiObject* self = UnwrapObject(receiver); AddAllSequenceFastCallback() local 220 FastCApiObject* self = UnwrapObject(args.This()); AddAllSequenceSlowCallback() local 330 FastCApiObject* self = UnwrapObject(receiver); AddAllTypedArrayFastCallback() local 349 FastCApiObject* self = UnwrapObject(args.This()); AddAllTypedArraySlowCallback() local 427 FastCApiObject* self = UnwrapObject(receiver); Add32BitIntFastCallback() local 441 FastCApiObject* self = UnwrapObject(args.This()); Add32BitIntSlowCallback() local 500 FastCApiObject* self = UnwrapObject(receiver); AddAll32BitIntFastCallback_8Args() local 519 FastCApiObject* self = UnwrapObject(receiver); AddAll32BitIntFastCallback_6Args() local 546 FastCApiObject* self = UnwrapObject(args.This()); AddAll32BitIntSlowCallback() local 584 FastCApiObject* self = UnwrapObject(receiver); IsFastCApiObjectFastCallback() local 613 FastCApiObject* self = UnwrapObject(args.This()); IsFastCApiObjectSlowCallback() local 640 FastCApiObject* self = UnwrapObject(args.This()); FastCallCount() local 646 FastCApiObject* self = UnwrapObject(args.This()); SlowCallCount() local 652 FastCApiObject* self = UnwrapObject(args.This()); ResetCounts() local 658 FastCApiObject* self = UnwrapObject(args.This()); SupportsFPParams() local [all...] |
/third_party/rust/crates/cxx/src/ |
H A D | cxx.cc | 38 void cxxbridge1$string$new(rust::String *self) noexcept; 39 void cxxbridge1$string$clone(rust::String *self, 41 bool cxxbridge1$string$from_utf8(rust::String *self, const char *ptr, 43 void cxxbridge1$string$from_utf8_lossy(rust::String *self, const char *ptr, 45 bool cxxbridge1$string$from_utf16(rust::String *self, const char16_t *ptr, 47 void cxxbridge1$string$from_utf16_lossy(rust::String *self, const char16_t *ptr, 49 void cxxbridge1$string$drop(rust::String *self) noexcept; 50 const char *cxxbridge1$string$ptr(const rust::String *self) noexcept; 51 std::size_t cxxbridge1$string$len(const rust::String *self) noexcept; 52 std::size_t cxxbridge1$string$capacity(const rust::String *self) noexcep 106 initString(String *self, const char *s, std::size_t len) initString() argument 112 initString(String *self, const char16_t *s, std::size_t len) initString() argument 296 initStr(Str *self, const char *ptr, std::size_t len) initStr() argument [all...] |
/third_party/python/Lib/email/mime/ |
H A D | multipart.py | 17 def __init__(self, _subtype='mixed', boundary=None, _subparts=None, 38 MIMEBase.__init__(self, 'multipart', _subtype, policy=policy, **_params) 43 self._payload = [] 47 self.attach(p) 49 self.set_boundary(boundary)
|
/third_party/python/Lib/importlib/metadata/ |
H A D | _collections.py | 20 def __missing__(self, key): 21 return getattr(self, '_frozen', super().__missing__)(key) 23 def freeze(self): 24 self._frozen = lambda key: self.default_factory()
|
/third_party/python/Lib/test/ |
H A D | pyclbr_input.py | 9 def om(self): pass 12 def bm(self): pass 27 def m(self): pass 30 def sm(self): pass 33 def cm(self): pass
|