Home
last modified time | relevance | path

Searched refs:getter (Results 51 - 75 of 248) sorted by relevance

12345678910

/third_party/python/Include/
H A Ddescrobject.h8 typedef PyObject *(*getter)(PyObject *, void *); typedef
13 getter get;
/third_party/protobuf/python/google/protobuf/internal/
H A Dpython_message.py633 def __init__(self, descriptor, getter, setter, doc):
634 property.__init__(self, getter, setter, doc=doc)
655 def getter(self): function
669 getter.__module__ = None
670 getter.__doc__ = 'Getter for %s.' % proto_field_name
679 setattr(cls, property_name, _FieldProperty(field, getter, setter, doc=doc))
699 def getter(self): function
703 getter.__module__ = None
704 getter.__doc__ = 'Getter for %s.' % proto_field_name
736 # Add a property to encapsulate the getter/sette
757 def getter(self): global() function
[all...]
/third_party/rust/crates/nix/src/sys/socket/
H A Dsockopt.rs91 ($name:ident, $level:expr, $flag:path, $ty:ty, $getter:ty) => {
97 let mut getter: $getter = Get::uninit(); in get() variables
103 getter.ffi_ptr(), in get()
104 getter.ffi_len(), in get()
108 match <$ty>::try_from(getter.assume_init()) { in get()
130 /// * `GetOnly`, `SetOnly` or `Both`: whether you want to implement only getter, only setter or
141 /// * `$getter:ty`: `Get` implementation; optional; only for `GetOnly` and `Both`.
201 * Matchers with generic getter types must be placed at the end, so
211 $getter
[all...]
/third_party/node/lib/internal/
H A Derror_serdes.js59 const getter = descriptor.get;
60 if (getter && key !== '__proto__') {
62 descriptor.value = FunctionPrototypeCall(getter, target);
H A Dfreeze_intrinsics.js488 function getter() {
494 getter.value = value;
518 get: getter,
/third_party/node/test/fixtures/wpt/wasm/jsapi/
H A Dinterface.any.js38 assert_function_name(propdesc.get, "get " + name, `getter for "${name}"`);
39 assert_function_length(propdesc.get, 0, `getter for "${name}"`);
40 }, `${object_name}.${name}: getter`);
/third_party/node/deps/v8/src/objects/
H A Dtemplates.cc131 Isolate* isolate, Object getter) { in TryGetCachedPropertyName()
133 if (!getter.IsFunctionTemplateInfo()) return {}; in TryGetCachedPropertyName()
135 Object maybe_name = FunctionTemplateInfo::cast(getter).cached_property_name(); in TryGetCachedPropertyName()
130 TryGetCachedPropertyName( Isolate* isolate, Object getter) TryGetCachedPropertyName() argument
/third_party/python/Objects/
H A Dgenobject.c792 {"__name__", (getter)gen_get_name, (setter)gen_set_name,
794 {"__qualname__", (getter)gen_get_qualname, (setter)gen_set_qualname,
796 {"gi_yieldfrom", (getter)gen_getyieldfrom, NULL,
798 {"gi_running", (getter)gen_getrunning, NULL, NULL},
799 {"gi_frame", (getter)gen_getframe, NULL, NULL},
800 {"gi_suspended", (getter)gen_getsuspended, NULL, NULL},
1044 unaryfunc getter = NULL; in _PyCoro_GetAwaitableIter() local
1055 getter = ot->tp_as_async->am_await; in _PyCoro_GetAwaitableIter()
1057 if (getter != NULL) { in _PyCoro_GetAwaitableIter()
1058 PyObject *res = (*getter)( in _PyCoro_GetAwaitableIter()
[all...]
H A Ddescrobject.c23 EM_JS(PyObject*, descr_get_trampoline_call, (getter get, PyObject *obj, void *closure), {
647 {"__doc__", (getter)method_get_doc},
648 {"__qualname__", (getter)descr_get_qualname},
649 {"__text_signature__", (getter)method_get_text_signature},
663 {"__doc__", (getter)member_get_doc},
664 {"__qualname__", (getter)descr_get_qualname},
678 {"__doc__", (getter)getset_get_doc},
679 {"__qualname__", (getter)descr_get_qualname},
696 {"__doc__", (getter)wrapperdescr_get_doc},
697 {"__qualname__", (getter)descr_get_qualnam
1530 property_getter(PyObject *self, PyObject *getter) property_getter() argument
[all...]
H A Dfuncobject.c563 {"__code__", (getter)func_get_code, (setter)func_set_code},
564 {"__defaults__", (getter)func_get_defaults,
566 {"__kwdefaults__", (getter)func_get_kwdefaults,
568 {"__annotations__", (getter)func_get_annotations,
571 {"__name__", (getter)func_get_name, (setter)func_set_name},
572 {"__qualname__", (getter)func_get_qualname, (setter)func_set_qualname},
951 (getter)cm_get___isabstractmethod__, NULL, NULL, NULL},
1149 (getter)sm_get___isabstractmethod__, NULL, NULL, NULL},
H A Dmethodobject.c268 {"__doc__", (getter)meth_get__doc__, NULL, NULL},
269 {"__name__", (getter)meth_get__name__, NULL, NULL},
270 {"__qualname__", (getter)meth_get__qualname__, NULL, NULL},
271 {"__self__", (getter)meth_get__self__, NULL, NULL},
272 {"__text_signature__", (getter)meth_get__text_signature__, NULL, NULL},
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-unicode.c544 getter_func_t getter; member
595 g_assert_cmphex (p->getter (uf, tests[j].unicode), ==, tests[j].value); in test_unicode_properties()
603 if (p->getter (uf, tests[j].unicode) != tests[j].value) { in test_unicode_properties()
604 g_test_message ("Soft fail: Received %x, expected %x", p->getter (uf, tests[j].unicode), tests[j].value); in test_unicode_properties()
609 g_assert_cmphex (p->getter (uf, tests[j].unicode), ==, tests[j].value); in test_unicode_properties()
646 g_assert_cmphex (p->getter (uf, tests[j].unicode), ==, default_value (p->default_value, tests[j].unicode)); in _test_unicode_properties_nil()
651 g_assert_cmphex (p->getter (uf, tests[j].unicode), ==, default_value (p->default_value, tests[j].unicode)); in _test_unicode_properties_nil()
734 g_assert_cmphex (p->getter (uf, 'a'), ==, HB_SCRIPT_LATIN); in test_unicode_setters()
735 g_assert_cmphex (p->getter (uf, '0'), ==, HB_SCRIPT_UNKNOWN); in test_unicode_setters()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtins.h69 #define ECMA_ACCESSOR_READ_WRITE(getter, setter) (((getter) << 8) | (setter))
77 * Get accessor getter ID
/third_party/node/lib/internal/bootstrap/
H A Dbrowser.js101 function exposeGetterAndSetter(target, name, getter, setter = undefined) {
106 get: getter,
/third_party/protobuf/python/google/protobuf/pyext/
H A Dfield.cc82 {"DESCRIPTOR", (getter)GetDescriptor, NULL, "Field descriptor"},
83 {"__doc__", (getter)GetDoc, NULL, NULL},
H A Dunknown_fields.cc307 {"field_number", (getter)GetFieldNumber, NULL},
308 {"wire_type", (getter)GetWireType, NULL},
309 {"data", (getter)GetData, NULL},
/third_party/node/test/parallel/
H A Dtest-vm-module-errors.js248 getters.forEach((getter) => {
251 Module.prototype[getter];
255 SourceTextModule.prototype[getter];
258 // `dependencySpecifiers` getter is just part of SourceTextModule
H A Dtest-file.js148 const getter = Object.getOwnPropertyDescriptor(File.prototype, 'name').get;
156 () => getter.call(invalidThis),
/third_party/jerryscript/tests/unit-core/
H A Dtest-api-property.cpp65 TEST_ASSERT (jerry_value_is_undefined (prop_desc.getter)); in HWTEST_F()
90 TEST_ASSERT (jerry_value_is_undefined (prop_desc.getter)); in HWTEST_F()
/third_party/jsframework/runtime/main/reactivity/
H A Dwatcher.js49 this.getter = expOrFn;
60 * Evaluate the getter, and re-collect dependencies.
64 const value = this.getter.call(this.vm, this.vm);
H A Dstate.js92 function makeComputedGetter (getter, owner) {
93 const watcher = new Watcher(owner, getter, null, {
/third_party/node/deps/v8/tools/
H A Dgenerate-builtins-tests.py71 if proto_property_type == "getter":
84 for getter in getters:
85 result.append("print(recv.%s);" % getter["name"])
/third_party/python/Tools/c-analyzer/c_common/
H A Dclsutil.py105 self.getter = classmethod(value).__get__
117 return self.getter(None, cls)
/third_party/python/Modules/
H A D_asynciomodule.c1489 {"_state", (getter)FutureObj_get_state, NULL, NULL}, \
1490 {"_asyncio_future_blocking", (getter)FutureObj_get_blocking, \
1492 {"_loop", (getter)FutureObj_get_loop, NULL, NULL}, \
1493 {"_callbacks", (getter)FutureObj_get_callbacks, NULL, NULL}, \
1494 {"_result", (getter)FutureObj_get_result, NULL, NULL}, \
1495 {"_exception", (getter)FutureObj_get_exception, NULL, NULL}, \
1496 {"_log_traceback", (getter)FutureObj_get_log_traceback, \
1498 {"_source_traceback", (getter)FutureObj_get_source_traceback, \
1500 {"_cancel_message", (getter)FutureObj_get_cancel_message, \
1860 {"__self__", (getter)TaskStepMethWrapper_get___self_
[all...]
/third_party/python/Modules/_blake2/
H A Dblake2s_impl.c374 {"name", (getter)py_blake2s_get_name,
376 {"block_size", (getter)py_blake2s_get_block_size,
378 {"digest_size", (getter)py_blake2s_get_digest_size,

Completed in 17 milliseconds

12345678910