Home
last modified time | relevance | path

Searched refs:self (Results 3451 - 3475 of 6774) sorted by relevance

1...<<131132133134135136137138139140>>...271

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
H A D4-1.c48 pthread_t self = pthread_self(); in thr_func() local
52 (void *)self); in thr_func()
55 fprintf(stderr, "[Thread 0x%p] started\n", (void *)self); in thr_func()
59 (void *)self); in thr_func()
65 fprintf(stderr, "[Thread 0x%p] was wakened\n", (void *)self); in thr_func()
70 (void *)self); in thr_func()
/third_party/python/Lib/test/
H A Dinspect_fodder2.py118 def method(self):
151 def func151(self):
162 def func162(self):
187 def func186(self):
219 def func219(self):
232 async def func232(self):
H A Ddoctest_lineno.py39 def method_with_docstring(self):
42 def method_without_docstring(self):
45 def method_with_doctest(self):
/third_party/python/Lib/encodings/
H A Duu_codec.py71 def encode(self, input, errors='strict'):
74 def decode(self, input, errors='strict'):
78 def encode(self, input, final=False):
79 return uu_encode(input, self.errors)[0]
82 def decode(self, input, final=False):
83 return uu_decode(input, self.errors)[0]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DCodedOutputStream.php58 $bytes = str_repeat(chr(0), self::MAX_VARINT64_BYTES);
59 $size = self::writeVarintToArray($value, $bytes, $trim);
65 $bytes = str_repeat(chr(0), self::MAX_VARINT64_BYTES);
66 $size = self::writeVarintToArray($value, $bytes);
73 $size = self::writeLittleEndian32ToArray($value, $bytes);
80 $size = self::writeLittleEndian64ToArray($value, $bytes);
/base/theme/wallpaper_mgr/frameworks/js/napi/
H A Dnapi_wallpaper_ability.h63 napi_status operator()(napi_env env, size_t argc, napi_value *argv, napi_value self) override
65 NAPI_ASSERT_BASE(env, self != nullptr, "self is nullptr", napi_invalid_arg);
66 return Context::operator()(env, argc, argv, self);
85 napi_status operator()(napi_env env, size_t argc, napi_value *argv, napi_value self) override
87 NAPI_ASSERT_BASE(env, self != nullptr, "self is nullptr", napi_invalid_arg);
88 return Context::operator()(env, argc, argv, self);
107 napi_status operator()(napi_env env, size_t argc, napi_value *argv, napi_value self) override
109 NAPI_ASSERT_BASE(env, self !
[all...]
/third_party/node/deps/brotli/c/enc/
H A Dbrotli_bit_stream.c56 static void InitBlockTypeCodeCalculator(BlockTypeCodeCalculator* self) { in InitBlockTypeCodeCalculator() argument
57 self->last_type = 1; in InitBlockTypeCodeCalculator()
58 self->second_last_type = 0; in InitBlockTypeCodeCalculator()
842 static void InitBlockEncoder(BlockEncoder* self, size_t histogram_length, in InitBlockEncoder() argument
845 self->histogram_length_ = histogram_length; in InitBlockEncoder()
846 self->num_block_types_ = num_block_types; in InitBlockEncoder()
847 self->block_types_ = block_types; in InitBlockEncoder()
848 self->block_lengths_ = block_lengths; in InitBlockEncoder()
849 self->num_blocks_ = num_blocks; in InitBlockEncoder()
850 InitBlockTypeCodeCalculator(&self in InitBlockEncoder()
858 CleanupBlockEncoder(MemoryManager* m, BlockEncoder* self) CleanupBlockEncoder() argument
865 BuildAndStoreBlockSwitchEntropyCodes(BlockEncoder* self, HuffmanTree* tree, size_t* storage_ix, uint8_t* storage) BuildAndStoreBlockSwitchEntropyCodes() argument
874 StoreSymbol(BlockEncoder* self, size_t symbol, size_t* storage_ix, uint8_t* storage) StoreSymbol() argument
895 StoreSymbolWithContext(BlockEncoder* self, size_t symbol, size_t context, const uint32_t* context_map, size_t* storage_ix, uint8_t* storage, const size_t context_bits) StoreSymbolWithContext() argument
[all...]
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dbrotli_bit_stream.c56 static void InitBlockTypeCodeCalculator(BlockTypeCodeCalculator* self) { in InitBlockTypeCodeCalculator() argument
57 self->last_type = 1; in InitBlockTypeCodeCalculator()
58 self->second_last_type = 0; in InitBlockTypeCodeCalculator()
842 static void InitBlockEncoder(BlockEncoder* self, size_t histogram_length, in InitBlockEncoder() argument
845 self->histogram_length_ = histogram_length; in InitBlockEncoder()
846 self->num_block_types_ = num_block_types; in InitBlockEncoder()
847 self->block_types_ = block_types; in InitBlockEncoder()
848 self->block_lengths_ = block_lengths; in InitBlockEncoder()
849 self->num_blocks_ = num_blocks; in InitBlockEncoder()
850 InitBlockTypeCodeCalculator(&self in InitBlockEncoder()
858 CleanupBlockEncoder(MemoryManager* m, BlockEncoder* self) CleanupBlockEncoder() argument
865 BuildAndStoreBlockSwitchEntropyCodes(BlockEncoder* self, HuffmanTree* tree, size_t* storage_ix, uint8_t* storage) BuildAndStoreBlockSwitchEntropyCodes() argument
874 StoreSymbol(BlockEncoder* self, size_t symbol, size_t* storage_ix, uint8_t* storage) StoreSymbol() argument
895 StoreSymbolWithContext(BlockEncoder* self, size_t symbol, size_t context, const uint32_t* context_map, size_t* storage_ix, uint8_t* storage, const size_t context_bits) StoreSymbolWithContext() argument
[all...]
/third_party/python/Modules/
H A D_winapi.c121 overlapped_traverse(OverlappedObject *self, visitproc visit, void *arg) in overlapped_traverse() argument
123 Py_VISIT(self->read_buffer); in overlapped_traverse()
124 Py_VISIT(self->write_buffer.obj); in overlapped_traverse()
125 Py_VISIT(Py_TYPE(self)); in overlapped_traverse()
130 overlapped_dealloc(OverlappedObject *self) in overlapped_dealloc() argument
135 PyObject_GC_UnTrack(self); in overlapped_dealloc()
136 if (self->pending) { in overlapped_dealloc()
138 Py_CancelIoEx(self->handle, &self->overlapped) && in overlapped_dealloc()
139 GetOverlappedResult(self in overlapped_dealloc()
243 _winapi_Overlapped_GetOverlappedResult_impl(OverlappedObject *self, int wait) _winapi_Overlapped_GetOverlappedResult_impl() argument
283 _winapi_Overlapped_getbuffer_impl(OverlappedObject *self) _winapi_Overlapped_getbuffer_impl() argument
303 _winapi_Overlapped_cancel_impl(OverlappedObject *self) _winapi_Overlapped_cancel_impl() argument
359 OverlappedObject *self = PyObject_GC_New(OverlappedObject, st->overlapped_type); new_overlapped() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dvxlan_symmetric.sh234 bridge vlan add vid 10 dev br1 self
235 bridge vlan add vid 20 dev br1 self
236 bridge vlan add vid 4001 dev br1 self
238 bridge fdb add 00:00:5e:00:01:01 dev br1 self local vlan 10
239 bridge fdb add 00:00:5e:00:01:01 dev br1 self local vlan 20
250 bridge fdb del 00:00:5e:00:01:01 dev br1 self local vlan 20
251 bridge fdb del 00:00:5e:00:01:01 dev br1 self local vlan 10
253 bridge vlan del vid 4001 dev br1 self
254 bridge vlan del vid 20 dev br1 self
255 bridge vlan del vid 10 dev br1 self
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dvxlan_symmetric.sh234 bridge vlan add vid 10 dev br1 self
235 bridge vlan add vid 20 dev br1 self
236 bridge vlan add vid 4001 dev br1 self
238 bridge fdb add 00:00:5e:00:01:01 dev br1 self local vlan 10
239 bridge fdb add 00:00:5e:00:01:01 dev br1 self local vlan 20
250 bridge fdb del 00:00:5e:00:01:01 dev br1 self local vlan 20
251 bridge fdb del 00:00:5e:00:01:01 dev br1 self local vlan 10
253 bridge vlan del vid 4001 dev br1 self
254 bridge vlan del vid 20 dev br1 self
255 bridge vlan del vid 10 dev br1 self
[all...]
/base/hiviewdfx/hidumper/test/scripts/testModule/
H A Dtest_permission.py91 def test_mem_smaps(self):
108 def test_mem_smaps_v(self):
125 def test_process_all(self):
142 def test_process_pid(self):
161 def test_hidumper_help(self):
167 def test_process_with_non_debug_pid(self):
173 def test_output_append(self):
184 def test_net(self):
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
H A Dx509_cert_chain_openssl_ex.c34 CfResult CfToString(HcfX509CertChainSpi *self, CfBlob *out) in CfToString() argument
36 if ((self == NULL) || (out == NULL)) { in CfToString()
40 if (!CfIsClassMatch((CfObjectBase *)self, GetX509CertChainClass())) { in CfToString()
45 HcfX509CertChainOpensslImpl *certChain = (HcfX509CertChainOpensslImpl *)self; in CfToString()
75 CfResult CfHashCode(HcfX509CertChainSpi *self, CfBlob *out) in CfHashCode() argument
77 if ((self == NULL) || (out == NULL)) { in CfHashCode()
81 if (!CfIsClassMatch((CfObjectBase *)self, GetX509CertChainClass())) { in CfHashCode()
86 HcfX509CertChainOpensslImpl *certChain = (HcfX509CertChainOpensslImpl *)self; in CfHashCode()
/base/security/crypto_framework/frameworks/native/src/
H A Dasym_key.c33 HcfResult (*generateKeyPair)(HcfAsyKeyGenerator *self, HcfParamsSpec *params,
36 HcfResult (*convertKey)(HcfAsyKeyGenerator *self, HcfParamsSpec *params, HcfBlob *pubKeyBlob,
39 HcfResult (*convertPemKey)(HcfAsyKeyGenerator *self, HcfParamsSpec *params, const char *pubKeyStr,
42 const char *(*getAlgoName)(HcfAsyKeyGenerator *self);
56 HcfResult (*getAsyKeySpecBigInteger)(const HcfPubKey *self, const AsyKeySpecItem item,
59 HcfResult (*getAsyKeySpecString)(const HcfPubKey *self, const AsyKeySpecItem item, char **returnString);
61 HcfResult (*getAsyKeySpecInt)(const HcfPubKey *self, const AsyKeySpecItem item, int *returnInt);
63 HcfResult (*getEncodedDer)(const HcfPubKey *self, const char *format, HcfBlob *returnBlob);
/third_party/node/lib/internal/fs/
H A Dwatchers.js67 function emitStop(self) {
68 self.emit('stop');
84 const self = this[owner_symbol];
85 if (self[kOldStatus] === -1 &&
91 self[kOldStatus] = newStatus;
92 self.emit('change', getStatsFromBinding(stats),
197 // TODO(joyeecheung): we may check self._handle.initialized here
290 function emitCloseNT(self) {
291 self.emit('close');
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/
H A Ddb.js278 let self = this;
417 if (self.seen.has(key)) {
427 let dirPath = fsPath.join(self.outputDir, expression.type);
438 let relPath = fsPath.relative(self.outputDir, filePath);
441 self.seen.add(key);
442 self.index.all.push(relPath);
445 self.index.superStatements.push(relPath);
447 self.index.statements.push(relPath);
/third_party/python/Lib/re/
H A D__init__.py338 def __init__(self, lexicon, flags=0):
342 self.lexicon = lexicon
354 self.scanner = _compiler.compile(p)
355 def scan(self, string):
358 match = self.scanner.scanner(string).match
367 action = self.lexicon[m.lastindex-1][1]
369 self.match = m
370 action = action(self, m.group())
/third_party/python/Objects/
H A Dnamespaceobject.c25 PyObject *self; in namespace_new() local
28 self = type->tp_alloc(type, 0); in namespace_new()
29 if (self != NULL) { in namespace_new()
30 _PyNamespaceObject *ns = (_PyNamespaceObject *)self; in namespace_new()
37 return self; in namespace_new()
165 namespace_richcompare(PyObject *self, PyObject *other, int op) in namespace_richcompare() argument
167 if (PyObject_TypeCheck(self, &_PyNamespace_Type) && in namespace_richcompare()
169 return PyObject_RichCompare(((_PyNamespaceObject *)self)->ns_dict, in namespace_richcompare()
/test/testfwk/xdevice/src/xdevice/_core/context/
H A Dresult.py24 def __init__(self, unavailable_count: int, error_msg: str):
25 self.unavailable: int = unavailable_count
26 self.error_msg: str = error_msg
/third_party/python/Tools/c-analyzer/c_common/
H A Dmisc.py4 def __init__(self, label):
5 self._label = label
6 def __repr__(self):
7 return f'<{self._label}>'
/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/include/
H A Dnapi_datashare_helper.h55 static napi_value Napi_SubscribeRdbObserver(napi_env env, size_t argc, napi_value *argv, napi_value self);
56 static napi_value Napi_UnsubscribeRdbObserver(napi_env env, size_t argc, napi_value *argv, napi_value self);
57 static napi_value Napi_RegisterObserver(napi_env env, size_t argc, napi_value *argv, napi_value self);
58 static napi_value Napi_UnregisterObserver(napi_env env, size_t argc, napi_value *argv, napi_value self);
59 static napi_value Napi_SubscribePublishedObserver(napi_env env, size_t argc, napi_value *argv, napi_value self);
60 static napi_value Napi_UnsubscribePublishedObserver(napi_env env, size_t argc, napi_value *argv, napi_value self);
127 napi_status operator()(napi_env env, size_t argc, napi_value *argv, napi_value self) override
129 NAPI_ASSERT_BASE(env, self != nullptr, "self is nullptr", napi_invalid_arg);
130 NAPI_CALL_BASE(env, napi_unwrap(env, self, reinterpret_cas
[all...]
/third_party/vk-gl-cts/scripts/
H A Dtestset.py42 def __init__ (self, name, description, filters):
43 self.name = name
44 self.description = description
45 self.filters = filters
48 def __init__ (self, name, results):
49 self.name = name
50 self.results = results
53 def __init__ (self, name):
54 self.name = name
55 self
[all...]
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dsubmeshhandler.cpp45 if (auto self = static_cast<SubMeshHandler*>(obj.get())) {
46 self->DoComponentEvent(
48 *self->componentManager_, self->entity_);
180 if (auto self = interface_pointer_cast<SCENE_NS::IEcsObject>(selfNode)) {
184 self->GetEntity(), index, value);
207 if (auto self = interface_pointer_cast<SCENE_NS::IEcsObject>(node)) {
214 sceneHolder->SetMaterial(self->GetEntity(), entity, index);
239 if (auto self = interface_pointer_cast<SCENE_NS::IEcsObject>(selfNode)) {
242 sceneHolder->SetSubmeshAABBMin(self
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dohci-at91.c219 board = hcd->self.controller->platform_data; in usb_hcd_at91_probe()
232 device_wakeup_enable(hcd->self.controller); in usb_hcd_at91_probe()
286 struct at91_usbh_data *pdata = hcd->self.controller->platform_data; in ohci_at91_hub_status_data()
329 struct at91_usbh_data *pdata = dev_get_platdata(hcd->self.controller); in ohci_at91_hub_control()
335 dev_dbg(hcd->self.controller, in ohci_at91_hub_control()
345 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_at91_hub_control()
354 dev_dbg(hcd->self.controller, "SetPortFeat: SUSPEND\n"); in ohci_at91_hub_control()
367 dev_dbg(hcd->self.controller, in ohci_at91_hub_control()
378 dev_dbg(hcd->self.controller, in ohci_at91_hub_control()
387 dev_dbg(hcd->self in ohci_at91_hub_control()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dohci-at91.c236 board = hcd->self.controller->platform_data; in usb_hcd_at91_probe()
249 device_wakeup_enable(hcd->self.controller); in usb_hcd_at91_probe()
305 struct at91_usbh_data *pdata = hcd->self.controller->platform_data; in ohci_at91_hub_status_data()
354 struct at91_usbh_data *pdata = dev_get_platdata(hcd->self.controller); in ohci_at91_hub_control()
360 dev_dbg(hcd->self.controller, in ohci_at91_hub_control()
370 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_at91_hub_control()
379 dev_dbg(hcd->self.controller, "SetPortFeat: SUSPEND\n"); in ohci_at91_hub_control()
391 dev_dbg(hcd->self.controller, in ohci_at91_hub_control()
402 dev_dbg(hcd->self.controller, in ohci_at91_hub_control()
411 dev_dbg(hcd->self in ohci_at91_hub_control()
[all...]

Completed in 28 milliseconds

1...<<131132133134135136137138139140>>...271