/third_party/skia/experimental/tools/ |
H A D | get_examples.py | 29 def __init__(self): 30 HTMLParser.__init__(self) 31 self.attrs = {} 32 def handle_starttag(self, tag, attrs): 34 self.attrs = dict(attrs)
|
/third_party/vk-gl-cts/scripts/ |
H A D | convert_case_list_to_xml.py | 26 def __init__(self, casePath, description, caseType): 27 self.casePath = casePath 28 self.description = description 29 self.caseType = caseType 30 self.children = []
|
/third_party/googletest/googletest/test/ |
H A D | gtest_skip_environment_check_output_test.py | 48 def testSkipEntireEnvironmentTest(self): 49 self.assertIn('Skipping the entire environment', OUTPUT) 50 self.assertNotIn('FAILED', OUTPUT)
|
H A D | googletest-setuptestsuite-test.py | 42 def testSetupErrorAndTearDownError(self): 44 self.assertNotEqual(p.exit_code, 0, msg=p.output) 46 self.assertIn(
|
/third_party/unity/auto/ |
H A D | yaml_helper.rb | 10 def self.load(body) 18 def self.load_file(file) 20 self.load(body)
|
/third_party/python/Lib/test/ |
H A D | ann_module3.py | 10 def __init__(self, x: int) -> None: 11 self.x: no_such_name = x # This one is OK as proposed by Guido 14 def __init__(self, x: int) -> None:
|
H A D | test_fork1.py | 22 def test_threaded_import_lock_fork(self): 57 self.wait_impl(pid, exitcode=exitcode) 65 def test_nested_import_lock_fork(self): 90 self.wait_impl(pid, exitcode=exitcode)
|
/third_party/alsa-lib/modules/mixer/simple/ |
H A D | python.c | 658 pymelem_dealloc(struct pymelem *self) in pymelem_dealloc() argument 660 selem_free(self->melem); in pymelem_dealloc() 842 pymixer_free(struct pymixer *self) in pymixer_free() argument 846 for (idx = 0; idx < self->hctl_count; idx++) { in pymixer_free() 847 snd_mixer_detach_hctl(self->mixer, self->hctl[idx*2]); in pymixer_free() 848 Py_DECREF((PyObject *)self->hctl[idx*2+1]); in pymixer_free() 850 if (self->hctl) in pymixer_free() 851 free(self->hctl); in pymixer_free() 852 self in pymixer_free() 869 pymixer_dealloc(struct pymixer *self) pymixer_dealloc() argument [all...] |
/third_party/benchmark/cmake/ |
H A D | pthread_affinity.cpp | 9 pthread_t self = pthread_self(); in main() local 11 ret = pthread_getaffinity_np(self, sizeof(set), &set); in main() 13 ret = pthread_setaffinity_np(self, sizeof(set), &set); in main()
|
/third_party/musl/src/locale/ |
H A D | uselocale.c | 7 pthread_t self = __pthread_self(); in __uselocale() local 8 locale_t old = self->locale; in __uselocale() 11 if (new) self->locale = new == LC_GLOBAL_LOCALE ? global : new; in __uselocale()
|
/third_party/python/Lib/email/mime/ |
H A D | text.py | 18 def __init__(self, _text, _subtype='plain', _charset=None, *, policy=None): 40 MIMENonMultipart.__init__(self, 'text', _subtype, policy=policy, 43 self.set_payload(_text, _charset)
|
H A D | image.py | 16 def __init__(self, _imagedata, _subtype=None, 40 MIMENonMultipart.__init__(self, 'image', _subtype, policy=policy, 42 self.set_payload(_imagedata) 43 _encoder(self)
|
/third_party/python/Modules/clinic/ |
H A D | _lsprof.c.h | 6 "getstats($self, /)\n" 37 _lsprof_Profiler_getstats_impl(ProfilerObject *self, PyTypeObject *cls); 40 _lsprof_Profiler_getstats(ProfilerObject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _lsprof_Profiler_getstats() argument 46 return _lsprof_Profiler_getstats_impl(self, cls); in _lsprof_Profiler_getstats()
|
/third_party/protobuf/php/src/Google/Protobuf/ |
H A D | NullValue.php | 26 self::NULL_VALUE => 'NULL_VALUE', 31 if (!isset(self::$valueToName[$value])) { 35 return self::$valueToName[$value];
|
/third_party/skia/infra/bots/recipe_modules/env/ |
H A D | api.py | 10 def __call__(self, env_dict): 11 env = self.m.context.env 20 return self.m.context(env=env)
|
/third_party/skia/modules/canvaskit/ |
H A D | paragraph_bindings.cpp | 278 Float32Array GetRectsForRange(para::Paragraph& self, in GetRectsForRange() argument 283 std::vector<para::TextBox> boxes = self.getRectsForRange(start, end, heightStyle, widthStyle); in GetRectsForRange() 287 Float32Array GetRectsForPlaceholders(para::Paragraph& self) { in GetRectsForPlaceholders() argument 288 std::vector<para::TextBox> boxes = self.getRectsForPlaceholders(); in GetRectsForPlaceholders() 292 JSArray GetLineMetrics(para::Paragraph& self) { in GetLineMetrics() argument 294 self.getLineMetrics(metrics); in GetLineMetrics() 318 JSArray GetShapedLines(para::Paragraph& self) { in GetShapedLines() argument 340 self.visit([&](int lineNumber, const para::Paragraph::VisitorInfo* info) { in GetShapedLines() 520 optional_override([](para::ParagraphBuilderImpl& self, std::string text) { in EMSCRIPTEN_BINDINGS() 521 return self in EMSCRIPTEN_BINDINGS() [all...] |
/third_party/musl/src/thread/ |
H A D | synccall.c | 49 pthread_t self = __pthread_self(), td; in __synccall() local 66 if (!libc.threads_minus_1 || __syscall(SYS_gettid) != self->tid) in __synccall() 79 for (td=self->next; td!=self; td=td->next) { in __synccall()
|
/third_party/python/Include/cpython/ |
H A D | bytesobject.h | 44 PyBytesObject *self = _PyBytes_CAST(op); in PyBytes_GET_SIZE() local 45 return Py_SIZE(self); in PyBytes_GET_SIZE() 48 # define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
|
/third_party/python/Lib/test/test_zoneinfo/ |
H A D | _support.py | 69 def tzpath_context(self, tzpath, block_tzdata=True, lock=TZPATH_LOCK): 90 old_path = self.module.TZPATH 92 self.module.reset_tzpath(tzpath) 100 self.module.reset_tzpath(old_path)
|
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_map.py | 64 def transform(self, node, results): 65 if self.should_skip(node): 74 self.warning(node, "You should use a for loop here") 95 self.warning(node, "cannot convert map(None, ...) "
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/binder/ |
H A D | binder.cpp | 31 android::IPCThreadState::self()->handlePolledCommands(); in wpas_binder_sock_handler() 44 android::ProcessState::self()->setThreadPoolMaxThreadCount(0); in wpas_binder_init() 45 android::IPCThreadState::self()->disableBackgroundScheduling(true); in wpas_binder_init() 46 android::IPCThreadState::self()->setupPolling(&priv->binder_fd); in wpas_binder_init()
|
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
H A D | amber_verify.py | 36 def __init__ (self, name, dirName, binName): 37 self.name = name 38 self.dirName = dirName 39 self.binName = binName
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/binder/ |
H A D | binder.cpp | 31 android::IPCThreadState::self()->handlePolledCommands(); in wpas_binder_sock_handler() 44 android::ProcessState::self()->setThreadPoolMaxThreadCount(0); in wpas_binder_init() 45 android::IPCThreadState::self()->disableBackgroundScheduling(true); in wpas_binder_init() 46 android::IPCThreadState::self()->setupPolling(&priv->binder_fd); in wpas_binder_init()
|
/third_party/PyYAML/examples/pygments-lexer/ |
H A D | yaml.py | 24 def __init__(self, *args, **kwds): 25 super(YAMLLexerContext, self).__init__(*args, **kwds) 26 self.indent_stack = [] 27 self.indent = -1 28 self.next_indent = 0 29 self.block_scalar_indent = None 426 def get_tokens_unprocessed(self, text=None, context=None): 429 return super(YAMLLexer, self).get_tokens_unprocessed(text, context)
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | RefBaseTests.cpp | 241 Ref& self = ref; in TEST() local 245 ref = self; in TEST() 246 ref = self; in TEST() 247 ref = self; in TEST() 256 Ref& self = ref; in TEST() local 260 ref = std::move(self); in TEST() 261 ref = std::move(self); in TEST() 262 ref = std::move(self); in TEST()
|