Home
last modified time | relevance | path

Searched refs:interceptor (Results 1 – 23 of 23) sorted by relevance

/third_party/node/deps/v8/src/api/
Dapi-arguments-inl.h64 F(Query, query, Object, v8::Integer, interceptor) \
67 #define DCHECK_NAME_COMPATIBLE(interceptor, name) \ argument
68 DCHECK(interceptor->is_named()); \
70 DCHECK_IMPLIES(name->IsSymbol(), interceptor->can_intercept_symbols());
93 Handle<InterceptorInfo> interceptor, Handle<Name> name) { \
94 DCHECK_NAME_COMPATIBLE(interceptor, name); \
100 interceptor->TYPE()); \
114 Handle<InterceptorInfo> interceptor, uint32_t index) { \
115 DCHECK(!interceptor->is_named()); \
120 ToCData<IndexedProperty##FUNCTION##Callback>(interceptor->TYPE()); \
[all …]
Dapi-arguments.h96 inline Handle<Object> CallNamedQuery(Handle<InterceptorInfo> interceptor,
98 inline Handle<Object> CallNamedGetter(Handle<InterceptorInfo> interceptor,
100 inline Handle<Object> CallNamedSetter(Handle<InterceptorInfo> interceptor,
103 inline Handle<Object> CallNamedDefiner(Handle<InterceptorInfo> interceptor,
106 inline Handle<Object> CallNamedDeleter(Handle<InterceptorInfo> interceptor,
108 inline Handle<Object> CallNamedDescriptor(Handle<InterceptorInfo> interceptor,
111 Handle<InterceptorInfo> interceptor);
115 inline Handle<Object> CallIndexedQuery(Handle<InterceptorInfo> interceptor,
117 inline Handle<Object> CallIndexedGetter(Handle<InterceptorInfo> interceptor,
119 inline Handle<Object> CallIndexedSetter(Handle<InterceptorInfo> interceptor,
[all …]
Dapi.cc1802 auto interceptor = in CreateNamedInterceptorInfo() local
1805 interceptor->set_is_named(true); in CreateNamedInterceptorInfo()
1806 return interceptor; in CreateNamedInterceptorInfo()
1815 auto interceptor = in CreateIndexedInterceptorInfo() local
1818 interceptor->set_is_named(false); in CreateIndexedInterceptorInfo()
1819 return interceptor; in CreateIndexedInterceptorInfo()
/third_party/node/deps/v8/src/objects/
Dkeys.cc659 Handle<InterceptorInfo> interceptor, Handle<JSObject> result, in FilterForEnumerableProperties() argument
669 PropertyCallbackArguments args(isolate_, interceptor->data(), *receiver, in FilterForEnumerableProperties()
677 attributes = args.CallIndexedQuery(interceptor, number); in FilterForEnumerableProperties()
681 args.CallNamedQuery(interceptor, Handle<Name>::cast(element)); in FilterForEnumerableProperties()
698 Handle<InterceptorInfo> interceptor, IndexedOrNamed type) { in CollectInterceptorKeysInternal() argument
699 PropertyCallbackArguments enum_args(isolate_, interceptor->data(), *receiver, in CollectInterceptorKeysInternal()
703 if (!interceptor->enumerator().IsUndefined(isolate_)) { in CollectInterceptorKeysInternal()
705 result = enum_args.CallIndexedEnumerator(interceptor); in CollectInterceptorKeysInternal()
708 result = enum_args.CallNamedEnumerator(interceptor); in CollectInterceptorKeysInternal()
715 !interceptor->query().IsUndefined(isolate_)) { in CollectInterceptorKeysInternal()
[all …]
Djs-objects.cc1192 LookupIterator* it, Handle<InterceptorInfo> interceptor, bool* done) { in GetPropertyWithInterceptorInternal() argument
1199 if (interceptor->getter().IsUndefined(isolate)) { in GetPropertyWithInterceptorInternal()
1210 PropertyCallbackArguments args(isolate, interceptor->data(), *receiver, in GetPropertyWithInterceptorInternal()
1214 result = args.CallIndexedGetter(interceptor, it->array_index()); in GetPropertyWithInterceptorInternal()
1216 result = args.CallNamedGetter(interceptor, it->name()); in GetPropertyWithInterceptorInternal()
1227 LookupIterator* it, Handle<InterceptorInfo> interceptor) { in GetPropertyAttributesWithInterceptorInternal() argument
1236 interceptor->can_intercept_symbols()); in GetPropertyAttributesWithInterceptorInternal()
1243 PropertyCallbackArguments args(isolate, interceptor->data(), *receiver, in GetPropertyAttributesWithInterceptorInternal()
1245 if (!interceptor->query().IsUndefined(isolate)) { in GetPropertyAttributesWithInterceptorInternal()
1248 result = args.CallIndexedQuery(interceptor, it->array_index()); in GetPropertyAttributesWithInterceptorInternal()
[all …]
Dkeys.h105 Handle<InterceptorInfo> interceptor, IndexedOrNamed type);
123 Handle<InterceptorInfo> interceptor, Handle<JSObject> result,
Dlookup.cc1394 Object interceptor = is_js_array_element(IsElement()) in GetInterceptorForFailedAccessCheck() local
1397 if (interceptor != Object()) { in GetInterceptorForFailedAccessCheck()
1398 return handle(InterceptorInfo::cast(interceptor), isolate_); in GetInterceptorForFailedAccessCheck()
/third_party/node/deps/undici/src/docs/api/
DDispatchInterceptor.md19 Here is an example of an interceptor being used to provide a JWT bearer token
39 Here is a contrived example of an interceptor stripping the headers from a response.
DMockAgent.md468 This method returns any pending interceptors registered on a mock agent. A pending interceptor meet…
513 This method throws if the mock agent has any pending interceptors. A pending interceptor meets one …
533 // 1 interceptor is pending:
/third_party/node/deps/undici/src/lib/
Ddispatcher-base.js42 const interceptor = this[kInterceptors][i]
43 if (typeof interceptor !== 'function') {
/third_party/node/deps/undici/src/docs/best-practices/
Dmocking-request.md63 // just remove it from interceptor
80 When the interceptor and the request options are not the same, undici will automatically make a rea…
/third_party/node/deps/v8/src/ic/
Dic.cc3326 Handle<InterceptorInfo> interceptor(holder->GetNamedInterceptor(), isolate); in RUNTIME_FUNCTION() local
3327 PropertyCallbackArguments arguments(isolate, interceptor->data(), *receiver, in RUNTIME_FUNCTION()
3329 Handle<Object> result = arguments.CallNamedGetter(interceptor, name); in RUNTIME_FUNCTION()
3381 Handle<InterceptorInfo> interceptor(interceptor_holder->GetNamedInterceptor(), in RUNTIME_FUNCTION() local
3384 DCHECK(!interceptor->non_masking()); in RUNTIME_FUNCTION()
3385 PropertyCallbackArguments arguments(isolate, interceptor->data(), *receiver, in RUNTIME_FUNCTION()
3388 Handle<Object> result = arguments.CallNamedSetter(interceptor, name, value); in RUNTIME_FUNCTION()
3414 Handle<InterceptorInfo> interceptor(receiver->GetIndexedInterceptor(), in RUNTIME_FUNCTION() local
3416 PropertyCallbackArguments arguments(isolate, interceptor->data(), *receiver, in RUNTIME_FUNCTION()
3418 Handle<Object> result = arguments.CallIndexedGetter(interceptor, index); in RUNTIME_FUNCTION()
[all …]
Daccessor-assembler.cc640 slow(this, Label::kDeferred), interceptor(this, Label::kDeferred), in HandleLoadICSmiHandlerLoadNamedCase() local
672 &interceptor); in HandleLoadICSmiHandlerLoadNamedCase()
827 BIND(&interceptor); in HandleLoadICSmiHandlerLoadNamedCase()
/third_party/mesa3d/src/drm-shim/
DREADME.md14 - Can easily break gdb if the libc interceptor code is what's broken.
/third_party/typescript/tests/cases/compiler/
DunderscoreTest1.ts45 tap(interceptor: (object: T) => void): T;
219 tap(interceptor: (object: T) => void): ChainedObject<T>;
328 tap(interceptor: (object: T[]) => void): ChainedArray<T>;
379 tap(interceptor: (object: Dictionary<T>) => void): ChainedDictionary<T>;
598 tap<T>(object: T, interceptor: (object: T) => void): T;
/third_party/typescript/tests/baselines/reference/
DunderscoreTest1.js47 tap(interceptor: (object: T) => void): T;
221 tap(interceptor: (object: T) => void): ChainedObject<T>;
330 tap(interceptor: (object: T[]) => void): ChainedArray<T>;
381 tap(interceptor: (object: Dictionary<T>) => void): ChainedDictionary<T>;
600 tap<T>(object: T, interceptor: (object: T) => void): T;
DunderscoreTest1.errors.txt317 tap(interceptor: (object: T) => void): T;
491 tap(interceptor: (object: T) => void): ChainedObject<T>;
600 tap(interceptor: (object: T[]) => void): ChainedArray<T>;
651 tap(interceptor: (object: Dictionary<T>) => void): ChainedDictionary<T>;
870 tap<T>(object: T, interceptor: (object: T) => void): T;
DunderscoreTest1.types1231 >_.chain([1, 2, 3, 200]) .filter(function (num) { return num % 2 == 0; }) .tap : (interceptor
1255 >tap : (interceptor: (object: number[]) => void) => Underscore.ChainedArray<number>
1823 tap(interceptor: (object: T) => void): T;
1824 >tap : (interceptor: (object: T) => void) => T
1825 >interceptor : (object: T) => void
2534 tap(interceptor: (object: T) => void): ChainedObject<T>;
2535 >tap : (interceptor: (object: T) => void) => ChainedObject<T>
2536 >interceptor : (object: T) => void
2975 tap(interceptor: (object: T[]) => void): ChainedArray<T>;
2976 >tap : (interceptor: (object: T[]) => void) => ChainedArray<T>
[all …]
DunderscoreTest1.symbols1116 tap(interceptor: (object: T) => void): T;
1118 >interceptor : Symbol(interceptor, Decl(underscoreTest1_underscore.ts, 43, 12))
2175 tap(interceptor: (object: T) => void): ChainedObject<T>;
2177 >interceptor : Symbol(interceptor, Decl(underscoreTest1_underscore.ts, 217, 12))
2901 tap(interceptor: (object: T[]) => void): ChainedArray<T>;
2903 >interceptor : Symbol(interceptor, Decl(underscoreTest1_underscore.ts, 326, 12))
3298 tap(interceptor: (object: Dictionary<T>) => void): ChainedDictionary<T>;
3300 >interceptor : Symbol(interceptor, Decl(underscoreTest1_underscore.ts, 377, 12))
4751 tap<T>(object: T, interceptor: (object: T) => void): T;
4756 >interceptor : Symbol(interceptor, Decl(underscoreTest1_underscore.ts, 596, 25))
/third_party/typescript/tests/baselines/reference/user/
Dlodash.log361 …ext; plant: (value: any) => any; reverse: () => any; tap: (value: any, interceptor: Function) => a…
/third_party/grpc/
DBUILD.gn1585 "${GRPC_DIR}/include/grpcpp/impl/codegen/interceptor.h",
1638 "${GRPC_DIR}/include/grpcpp/support/interceptor.h",
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs4648 const interceptor = this[kInterceptors][i];
4649 if (typeof interceptor !== "function") {
4650 throw new InvalidArgumentError("interceptor must be an function");
11352 // .yarn/cache/undici-npm-6.6.2-a0bd6785a6-c8c8a43605.zip/node_modules/undici/lib/interceptor/redir…
11354 …".yarn/cache/undici-npm-6.6.2-a0bd6785a6-c8c8a43605.zip/node_modules/undici/lib/interceptor/redire…
/third_party/node/doc/changelogs/
DCHANGELOG_V18.md3300 …s/node/commit/c4a45a93f3)] - **vm**: avoid unnecessary property getter interceptor calls (Joyee Ch…