/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | MapField.java | 288 private final Map<K, V> delegate; field in MapField.MutatabilityAwareMap 290 MutatabilityAwareMap(MutabilityOracle mutabilityOracle, Map<K, V> delegate) { in MutatabilityAwareMap() argument 292 this.delegate = delegate; in MutatabilityAwareMap() 297 return delegate.size(); in size() 302 return delegate.isEmpty(); in isEmpty() 307 return delegate.containsKey(key); in containsKey() 312 return delegate.containsValue(value); in containsValue() 317 return delegate.get(key); in get() 325 return delegate in put() 383 private final Collection<E> delegate; global() field in MapField.MutatabilityAwareMap.MutatabilityAwareCollection 385 MutatabilityAwareCollection(MutabilityOracle mutabilityOracle, Collection<E> delegate) MutatabilityAwareCollection() argument 480 private final Set<E> delegate; global() field in MapField.MutatabilityAwareMap.MutatabilityAwareSet 482 MutatabilityAwareSet(MutabilityOracle mutabilityOracle, Set<E> delegate) MutatabilityAwareSet() argument 577 private final Iterator<E> delegate; global() field in MapField.MutatabilityAwareMap.MutatabilityAwareIterator 579 MutatabilityAwareIterator(MutabilityOracle mutabilityOracle, Iterator<E> delegate) MutatabilityAwareIterator() argument [all...] |
/third_party/node/test/cctest/ |
H A D | test_inspector_socket.cc | 86 static TestInspectorDelegate* delegate = nullptr; member 90 GTEST_ASSERT_EQ(delegate, d); in assert_is_delegate() 106 delegate = nullptr; 162 SPIN_WHILE(delegate != nullptr); in WaitForDispose() 231 delegate = new TestInspectorDelegate(); in on_new_connection() 232 delegate->SetInspector( in on_new_connection() 234 InspectorSocket::DelegatePointer(delegate))); in on_new_connection() 235 GTEST_ASSERT_NE(nullptr, delegate); in on_new_connection() 374 SPIN_WHILE(delegate != nullptr); 385 ASSERT_FALSE(delegate in TEST_F() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | SimpleFilteredSentenceBreakIterator.java | 31 private BreakIterator delegate; field in SimpleFilteredSentenceBreakIterator 46 this.delegate = adoptBreakIterator; in SimpleFilteredSentenceBreakIterator() 53 * Reset the filter from the delegate. 56 text = UCharacterIterator.getInstance((CharacterIterator) delegate.getText().clone()); in resetState() 120 * Given that the delegate has already given its "initial" answer, 122 * @param n initial position from delegate 140 n = delegate.next(); in internalNext() 150 * Given that the delegate has already given its "initial" answer, 152 * @param n initial position from delegate 168 n = delegate in internalPrev() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | SimpleFilteredSentenceBreakIterator.java | 32 private BreakIterator delegate; field in SimpleFilteredSentenceBreakIterator 47 this.delegate = adoptBreakIterator; in SimpleFilteredSentenceBreakIterator() 54 * Reset the filter from the delegate. 57 text = UCharacterIterator.getInstance((CharacterIterator) delegate.getText().clone()); in resetState() 125 * Given that the delegate has already given its "initial" answer, 127 * @param n initial position from delegate 145 n = delegate.next(); in internalNext() 155 * Given that the delegate has already given its "initial" answer, 157 * @param n initial position from delegate 173 n = delegate in internalPrev() [all...] |
/third_party/python/Lib/idlelib/ |
H A D | delegator.py | 3 def __init__(self, delegate=None): 4 self.delegate = delegate 7 # when changing the delegate. 10 attr = getattr(self.delegate, name) # May raise AttributeError 26 def setdelegate(self, delegate): 27 "Reset attributes and change delegate." 29 self.delegate = delegate
|
H A D | percolator.py | 37 assert filter.delegate is None 44 assert filter.delegate is None 50 f = f.delegate 53 filter.setdelegate(f.delegate) 59 assert filter.delegate is not None 62 self.top = filter.delegate 65 while f.delegate is not filter: 68 f = f.delegate 69 f.setdelegate(filter.delegate) 83 self.delegate [all...] |
H A D | colorizer.py | 106 delegate: Delegator below this one in the stack, meaning the 132 def setdelegate(self, delegate): 133 """Set the delegate for this instance. 135 A delegate is an instance of a Delegator class and each 136 delegate points to the next delegator in the stack. This 138 widget. The bottom delegate for a colorizer is a Text 141 If there is a delegate, also start the colorizing process. 143 if self.delegate is not None: 145 Delegator.setdelegate(self, delegate) 146 if delegate i [all...] |
H A D | sidebar.py | 276 self.delegate.insert(index, chars, tags) 277 self.changed_callback(get_end_linenumber(self.delegate)) 280 self.delegate.delete(index1, index2) 281 self.changed_callback(get_end_linenumber(self.delegate)) 379 self.delegate.insert(index, chars, tags) 395 self.delegate.delete(index1, index2) 418 if d.delegate is not self.text: 419 while d.delegate is not self.editwin.per.bottom: 420 d = d.delegate
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A D | platform_thread.cc | 24 PlatformThread::Delegate* delegate = in ThreadFunc() local 26 delegate->ThreadMain(); in ThreadFunc() 31 bool PlatformThread::Create(Delegate* delegate, in Create() argument 34 *thread_handle = CreateThread(NULL, 0, ThreadFunc, delegate, 0, NULL); in Create() 58 PlatformThread::Delegate* delegate = 60 delegate->ThreadMain(); 65 bool PlatformThread::Create(Delegate* delegate, 72 success = !pthread_create(thread_handle, &attributes, ThreadFunc, delegate);
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_percolator.py | 16 self.delegate.insert(*args) 20 self.delegate.delete(*args) 24 self.delegate.insert(index, chars) 28 self.delegate.insert(index, chars) 59 self.assertIsNotNone(self.filter_one.delegate) 61 self.assertEqual(self.filter_two.delegate, self.filter_one) 62 self.assertEqual(self.filter_one.delegate, self.percolator.bottom) 68 self.assertIsNone(self.filter_two.delegate) 75 self.assertEqual(filter_three.delegate, self.filter_two) 76 self.assertEqual(self.filter_two.delegate, sel [all...] |
/third_party/node/src/inspector/ |
H A D | worker_inspector.cc | 39 void Report(const std::unique_ptr<WorkerDelegate>& delegate, in Report() argument 42 delegate->WorkerCreated(info.title, info.url, waiting, info.worker_thread); in Report() 83 std::unique_ptr<inspector::InspectorSessionDelegate> delegate, in Connect() 85 return parent_thread_->Connect(std::move(delegate), prevent_shutdown); in Connect() 98 for (const auto& delegate : delegates_) { in WorkerStarted() 99 Report(delegate.second, info, waiting); in WorkerStarted() 119 const auto& delegate = delegates_[id]; in SetAutoAttach() local 122 Report(delegate, worker.second, false); in SetAutoAttach() 82 Connect( std::unique_ptr<inspector::InspectorSessionDelegate> delegate, bool prevent_shutdown) Connect() argument
|
H A D | main_thread_interface.cc | 142 void Connect(std::unique_ptr<InspectorSessionDelegate> delegate) { in Connect() argument 145 session_ = agent->Connect(std::move(delegate), prevent_shutdown_); in Connect() 163 std::unique_ptr<InspectorSessionDelegate> delegate, in CrossThreadInspectorSession() 168 state_.Call(&MainThreadSessionState::Connect, std::move(delegate)); in CrossThreadInspectorSession() 188 (InspectorSessionDelegate* delegate) { 189 delegate->SendMessageToFrontend(m->string()); 299 std::unique_ptr<InspectorSessionDelegate> delegate, in Connect() 304 std::move(delegate), in Connect() 323 std::unique_ptr<InspectorSessionDelegate> delegate) { in MakeDelegateThreadSafe() 325 main_thread_->AddObject(id, WrapInDeletable(std::move(delegate))); in MakeDelegateThreadSafe() 160 CrossThreadInspectorSession( int id, std::shared_ptr<MainThreadHandle> thread, std::unique_ptr<InspectorSessionDelegate> delegate, bool prevent_shutdown) CrossThreadInspectorSession() argument 298 Connect( std::unique_ptr<InspectorSessionDelegate> delegate, bool prevent_shutdown) Connect() argument 322 MakeDelegateThreadSafe( std::unique_ptr<InspectorSessionDelegate> delegate) MakeDelegateThreadSafe() argument [all...] |
/third_party/gn/src/base/posix/ |
H A D | file_descriptor_shuffle.cc | 17 InjectionDelegate* delegate) { in PerformInjectiveMultimapDestructive() 42 if (!delegate->Duplicate(&temp_fd, i->dest)) in PerformInjectiveMultimapDestructive() 67 if (!delegate->Move(i->source, i->dest)) in PerformInjectiveMultimapDestructive() 72 delegate->Close(i->source); in PerformInjectiveMultimapDestructive() 76 delegate->Close(extra_fds[i]); in PerformInjectiveMultimapDestructive() 82 InjectionDelegate* delegate) { in PerformInjectiveMultimap() 84 return PerformInjectiveMultimapDestructive(&m, delegate); in PerformInjectiveMultimap() 16 PerformInjectiveMultimapDestructive(InjectiveMultimap* m, InjectionDelegate* delegate) PerformInjectiveMultimapDestructive() argument 81 PerformInjectiveMultimap(const InjectiveMultimap& m_in, InjectionDelegate* delegate) PerformInjectiveMultimap() argument
|
H A D | file_descriptor_shuffle.h | 69 InjectionDelegate* delegate); 72 InjectionDelegate* delegate); 76 FileDescriptorTableInjection delegate; in ShuffleFileDescriptors() local 77 return PerformInjectiveMultimapDestructive(map, &delegate); in ShuffleFileDescriptors()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | NumberFormatServiceShim.java | 44 private NumberFormatFactory delegate; field in NumberFormatServiceShim.NFFactory 46 NFFactory(NumberFormatFactory delegate) { in NFFactory() argument 47 super(delegate.visible() ? VISIBLE : INVISIBLE); in NFFactory() 49 this.delegate = delegate; in NFFactory() 58 Object result = delegate.createFormat(lkey.canonicalLocale(), lkey.kind()); in create() 66 return delegate.getSupportedLocaleNames(); in getSupportedIDs()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | NumberFormatServiceShim.java | 45 private NumberFormatFactory delegate; field in NumberFormatServiceShim.NFFactory 47 NFFactory(NumberFormatFactory delegate) { in NFFactory() argument 48 super(delegate.visible() ? VISIBLE : INVISIBLE); in NFFactory() 50 this.delegate = delegate; in NFFactory() 59 Object result = delegate.createFormat(lkey.canonicalLocale(), lkey.kind()); in create() 67 return delegate.getSupportedLocaleNames(); in getSupportedIDs()
|
H A D | CollatorServiceShim.java | 68 CollatorFactory delegate; in registerFactory() 72 this.delegate = fctry; in registerFactory() 77 Object coll = delegate.createCollator(loc); in registerFactory() 84 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory() 89 return delegate.getSupportedLocaleIDs(); in registerFactory()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | contextualTypeAppliedToVarArgs.js | 2 function delegate(instance: any, method: (...args: any[]) => any, data?: any): (...args: any[]) => any { 10 delegate(this, function (source, args2) 20 function delegate(instance, method, data) {
function 27 delegate(this, function (source, args2) {
|
/third_party/node/deps/v8/src/heap/ |
H A D | memory-allocator.cc | 73 void Run(JobDelegate* delegate) override { 74 if (delegate->IsJoiningThread()) { 76 RunImpl(delegate); variable 81 RunImpl(delegate); variable 95 void RunImpl(JobDelegate* delegate) { in RunImpl() argument 97 delegate); in RunImpl() 144 JobDelegate* delegate) { in PerformFreeMemoryOnQueuedNonRegularChunks() 148 if (delegate && delegate->ShouldYield()) return; in PerformFreeMemoryOnQueuedNonRegularChunks() 153 MemoryAllocator::Unmapper::FreeMode mode, JobDelegate* delegate) { in PerformFreeMemoryOnQueuedChunks() 143 PerformFreeMemoryOnQueuedNonRegularChunks( JobDelegate* delegate) PerformFreeMemoryOnQueuedNonRegularChunks() argument 152 PerformFreeMemoryOnQueuedChunks( MemoryAllocator::Unmapper::FreeMode mode, JobDelegate* delegate) PerformFreeMemoryOnQueuedChunks() argument [all...] |
H A D | scavenger.cc | 204 void ScavengerCollector::JobTask::Run(JobDelegate* delegate) { in Run() argument 205 DCHECK_LT(delegate->GetTaskId(), scavengers_->size()); in Run() 206 Scavenger* scavenger = (*scavengers_)[delegate->GetTaskId()].get(); in Run() 207 if (delegate->IsJoiningThread()) { in Run() 210 ProcessItems(delegate, scavenger); in Run() 215 ProcessItems(delegate, scavenger); in Run() 230 void ScavengerCollector::JobTask::ProcessItems(JobDelegate* delegate, in ProcessItems() argument 236 scavenger->Process(delegate); in ProcessItems() 655 void Scavenger::Process(JobDelegate* delegate) { in Process() argument 667 if (delegate in Process() [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
H A D | CollatorServiceShim.java | 67 CollatorFactory delegate; in registerFactory() 71 this.delegate = fctry; in registerFactory() 76 Object coll = delegate.createCollator(loc); in registerFactory() 83 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory() 88 return delegate.getSupportedLocaleIDs(); in registerFactory()
|
/third_party/node/src/ |
H A D | inspector_socket.cc | 27 InspectorSocket::DelegatePointer delegate); 33 InspectorSocket::Delegate* delegate(); 43 explicit TcpHolder(InspectorSocket::DelegatePointer delegate); 74 InspectorSocket::Delegate* delegate(); 457 delegate()->OnWsFrame(output); in ParseWsFrames() 552 delegate()->OnHttpGet(event.host, event.path); 557 delegate()->OnSocketUpgrade(event.host, event.path, event.ws_key); 665 InspectorSocket::Delegate* ProtocolHandler::delegate() { in delegate() function in node::inspector::ProtocolHandler 666 return tcp_->delegate(); in delegate() 691 TcpHolder::TcpHolder(InspectorSocket::DelegatePointer delegate) in TcpHolder() argument 697 Accept( uv_stream_t* server, InspectorSocket::DelegatePointer delegate) Accept() argument 737 InspectorSocket::Delegate* TcpHolder::delegate() { delegate() function in node::inspector::TcpHolder 786 Accept(uv_stream_t* server, DelegatePointer delegate) Accept() argument [all...] |
H A D | js_native_api_v8_inspector.cc | 86 std::unique_ptr<InspectorSessionDelegate> delegate, 261 void Connect(std::unique_ptr<InspectorSessionDelegate> delegate) { in Connect() argument 264 session_ = agent->Connect(std::move(delegate), prevent_shutdown_); in Connect() 282 std::unique_ptr<InspectorSessionDelegate> delegate, in CrossThreadInspectorSession() 287 state_.Call(&MainThreadSessionState::Connect, std::move(delegate)); in CrossThreadInspectorSession() 307 (InspectorSessionDelegate* delegate) { 308 delegate->SendMessageToFrontend(m->string()); 406 std::unique_ptr<InspectorSessionDelegate> delegate, in Connect() 411 std::move(delegate), in Connect() 815 std::unique_ptr<InspectorIoDelegate> delegate( in ThreadMain() 279 CrossThreadInspectorSession( int id, std::shared_ptr<MainThreadHandle> thread, std::unique_ptr<InspectorSessionDelegate> delegate, bool prevent_shutdown) CrossThreadInspectorSession() argument 405 Connect( std::unique_ptr<InspectorSessionDelegate> delegate, bool prevent_shutdown) Connect() argument 894 ChannelImpl(const std::unique_ptr<V8Inspector>& inspector, std::unique_ptr<InspectorSessionDelegate> delegate, std::shared_ptr<MainThreadHandle> main_thread_, bool prevent_shutdown) ChannelImpl() argument 1107 connectFrontend(std::unique_ptr<InspectorSessionDelegate> delegate, bool prevent_shutdown) connectFrontend() argument 1338 Connect( std::unique_ptr<InspectorSessionDelegate> delegate, bool prevent_shutdown) Connect() argument [all...] |
/third_party/node/deps/zlib/google/ |
H A D | zip_reader.cc | 82 // A writer delegate that writes to a given string. 350 bool ZipReader::ExtractCurrentEntry(WriterDelegate* delegate, in ExtractCurrentEntry() argument 369 DCHECK(delegate); in ExtractCurrentEntry() 370 if (!delegate->PrepareOutput()) in ExtractCurrentEntry() 401 if (!delegate->WriteBytes(buf, num_bytes_to_write)) in ExtractCurrentEntry() 423 delegate->SetPosixFilePermissions(entry_.posix_mode); in ExtractCurrentEntry() 425 delegate->SetTimeModified(entry_.last_modified); in ExtractCurrentEntry() 428 delegate->OnError(); in ExtractCurrentEntry() 439 bool ZipReader::ExtractCurrentEntry(WriterDelegate* delegate, in ExtractCurrentEntry() argument 441 return ExtractCurrentEntry(delegate, ListenerCallbac in ExtractCurrentEntry() 445 ExtractCurrentEntryWithListener( WriterDelegate* delegate, ListenerCallback listener_callback) const ExtractCurrentEntryWithListener() argument [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | parser.cc | 21 Parser::Parser(Delegate* delegate) in Parser() argument 22 : script_(MakeUnique<Script>()), delegate_(delegate) {} in Parser()
|