Home
last modified time | relevance | path

Searched refs:owner (Results 1 – 25 of 1066) sorted by relevance

12345678910>>...43

/third_party/libwebsockets/lib/core/
Dlws_dll2.c32 lws_dll2_foreach_safe(struct lws_dll2_owner *owner, void *user, in lws_dll2_foreach_safe() argument
35 lws_start_foreach_dll_safe(struct lws_dll2 *, p, tp, owner->head) { in lws_dll2_foreach_safe()
44 lws_dll2_add_head(struct lws_dll2 *d, struct lws_dll2_owner *owner) in lws_dll2_add_head() argument
52 if (owner->head != d) in lws_dll2_add_head()
53 d->next = owner->head; in lws_dll2_add_head()
62 owner->head = d; in lws_dll2_add_head()
64 if (!owner->tail) in lws_dll2_add_head()
65 owner->tail = d; in lws_dll2_add_head()
67 d->owner = owner; in lws_dll2_add_head()
68 owner->count++; in lws_dll2_add_head()
[all …]
/third_party/musl/src/stdio/
D__lockfile.c6 int owner = f->lock, tid = __pthread_self()->tid; in __lockfile() local
7 if ((owner & ~MAYBE_WAITERS) == tid) in __lockfile()
9 owner = a_cas(&f->lock, 0, tid); in __lockfile()
10 if (!owner) return 1; in __lockfile()
11 while ((owner = a_cas(&f->lock, 0, tid|MAYBE_WAITERS))) { in __lockfile()
12 if ((owner & MAYBE_WAITERS) || in __lockfile()
13 a_cas(&f->lock, owner, owner|MAYBE_WAITERS)==owner) in __lockfile()
14 __futexwait(&f->lock, owner|MAYBE_WAITERS, 1); in __lockfile()
/third_party/typescript/tests/baselines/reference/
DspreadIdenticalTypesRemoved.types15 owner: object;
16 >owner : object
20 …g; kind: string; age?: number | undefined; location?: string | undefined; owner?: object | undefin…
25 …g; kind: string; age?: number | undefined; location?: string | undefined; owner?: object | undefin…
51 owner?: string;
52 >owner : string | undefined
55 >billOwner : (pet: Animal2) => { paid: boolean; name?: string | undefined; owner?: string | undefin…
59 >{ ...(pet.owner && pet), paid: false } : { paid: boolean; name?: string | undefin…
61 ...(pet.owner && pet),
62 >(pet.owner && pet) : "" | Animal2 | undefined
[all …]
DspreadIdenticalTypesRemoved.symbols17 owner: object;
18 >owner : Symbol(Animal.owner, Decl(spreadIdenticalTypesRemoved.ts, 4, 21))
52 owner?: string;
53 >owner : Symbol(Animal2.owner, Decl(spreadIdenticalTypesRemoved.ts, 17, 17))
61 ...(pet.owner && pet),
62 >pet.owner : Symbol(Animal2.owner, Decl(spreadIdenticalTypesRemoved.ts, 17, 17))
64 >owner : Symbol(Animal2.owner, Decl(spreadIdenticalTypesRemoved.ts, 17, 17))
/third_party/libwebsockets/READMEs/
DREADME.lws_dll.md34 lws_dll owner;
37 Adding a mystruct to the owner list (...add_tail() works the same way but adds
45 lws_dll_add_head(&p->list, &owner);
48 Removing the list object from its owner
51 lws_dll2_remove(&p->list, &owner);
71 lws_dll2_owner owner;
74 Adding a mystruct to the owner list (...add_tail() works the same way but adds
82 lws_dll2_add_head(&p->list, &owner);
85 Removing the list object from its owner (notice compared to lws_dll, it doesn't
86 need to be told the owner)
[all …]
/third_party/node/lib/
D_tls_wrap.js124 const owner = this[owner_symbol];
126 assert(owner._tlsOptions.isServer);
129 owner._emitTLSError(new ERR_TLS_SESSION_ATTACK());
133 if (owner[kDisableRenegotiation])
134 owner._emitTLSError(new ERR_TLS_RENEGOTIATION_DISABLED());
140 const owner = this[owner_symbol];
141 assert(owner._tlsOptions.isServer);
144 if (owner._newSessionPending) {
145 owner._securePending = true;
149 owner._finishInit();
[all …]
/third_party/flutter/engine/flutter/fml/
Dmessage_loop_task_queues.cc196 bool MessageLoopTaskQueues::Merge(TaskQueueId owner, TaskQueueId subsumed) { in Merge() argument
197 if (owner == subsumed) { in Merge()
202 auto& owner_entry = queue_entries_.at(owner); in Merge()
220 subsumed_entry->subsumed_by = owner; in Merge()
222 if (HasPendingTasksUnlocked(owner)) { in Merge()
223 WakeUpUnlocked(owner, GetNextWakeTimeUnlocked(owner)); in Merge()
229 bool MessageLoopTaskQueues::Unmerge(TaskQueueId owner) { in Unmerge() argument
231 const auto& owner_entry = queue_entries_.at(owner); in Unmerge()
241 if (HasPendingTasksUnlocked(owner)) { in Unmerge()
242 WakeUpUnlocked(owner, GetNextWakeTimeUnlocked(owner)); in Unmerge()
[all …]
/third_party/gettext/gettext-runtime/intl/
Dwindows-recmutex.c30 mutex->owner = 0; in glwthread_recmutex_init()
56 if (mutex->owner != self) in glwthread_recmutex_lock()
59 mutex->owner = self; in glwthread_recmutex_lock()
89 if (mutex->owner != self) in glwthread_recmutex_trylock()
93 mutex->owner = self; in glwthread_recmutex_trylock()
107 if (mutex->owner != GetCurrentThreadId ()) in glwthread_recmutex_unlock()
113 mutex->owner = 0; in glwthread_recmutex_unlock()
122 if (mutex->owner != 0) in glwthread_recmutex_destroy()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/generic/
DSDL_sysmutex.c32 SDL_threadID owner; member
48 mutex->owner = 0; in SDL_CreateMutex()
85 if (mutex->owner == this_thread) { in SDL_LockMutex()
93 mutex->owner = this_thread; in SDL_LockMutex()
116 if (mutex->owner == this_thread) { in SDL_TryLockMutex()
125 mutex->owner = this_thread; in SDL_TryLockMutex()
146 if (SDL_ThreadID() != mutex->owner) { in SDL_mutexV()
158 mutex->owner = 0; in SDL_mutexV()
/third_party/python/Lib/test/
Dtest_subclassinit.py105 def __set_name__(self, owner, name): argument
106 self.owner = owner
113 self.assertIs(A.d.owner, A)
120 self.assertIs(ret.d.owner, ret)
124 def __set_name__(self, owner, name): argument
125 self.owner = owner
134 def __set_name__(self, owner, name): argument
176 def __set_name__(self, owner, name): argument
177 self.owner = owner
183 self.meta_owner = self.owner
[all …]
/third_party/boost/boost/graph/distributed/detail/
Dremote_update_set.hpp138 remote_update_set(const ProcessGroup& pg, const OwnerMap& owner) in remote_update_set() argument
140 updates(num_processes(pg)), owner(owner) { in remote_update_set()
146 if (get(owner, key) == process_id(process_group)) { in update()
148 derived->receive_update(get(owner, key), key, value); in update()
151 updates[get(owner, key)].push_back(std::make_pair(key, value)); in update()
177 OwnerMap owner; member in boost::graph::detail::remote_update_set
226 remote_update_set(const ProcessGroup& pg, const OwnerMap& owner) in remote_update_set() argument
227 : process_group(pg, handle_messages(this, pg)), owner(owner) { } in remote_update_set()
231 if (get(owner, key) == process_id(process_group)) { in update()
233 derived->receive_update(get(owner, key), key, value); in update()
[all …]
/third_party/cef/libcef/browser/extensions/
Dbrowser_extensions_util.cc39 content::WebContents* owner) { in GetFullPageGuestForOwnerContents() argument
41 static_cast<content::WebContentsImpl*>(owner); in GetFullPageGuestForOwnerContents()
53 void GetAllGuestsForOwnerContents(content::WebContents* owner, in GetAllGuestsForOwnerContents() argument
56 owner->GetBrowserContext()->GetGuestManager(); in GetAllGuestsForOwnerContents()
57 plugin_guest_manager->ForEachGuest(owner, in GetAllGuestsForOwnerContents()
116 content::WebContents* owner = GetOwnerForGuestContents( in GetOwnerBrowserForHost() local
118 if (owner) { in GetOwnerBrowserForHost()
119 browser = CefBrowserHostBase::GetBrowserForContents(owner); in GetOwnerBrowserForHost()
137 content::WebContents* owner = GetOwnerForGuestContents( in GetOwnerBrowserForHost() local
139 if (owner) { in GetOwnerBrowserForHost()
[all …]
/third_party/skia/src/sksl/ir/
DSkSLField.h27 Field(int line, const Variable* owner, int fieldIndex) in Field() argument
28 : INHERITED(line, kSymbolKind, owner->type().fields()[fieldIndex].fName, in Field()
29 owner->type().fields()[fieldIndex].fType) in Field()
30 , fOwner(owner) in Field()
37 const Variable& owner() const { in owner() function
42 return this->owner().description() + "." + this->name(); in description()
/third_party/libwebsockets/lib/core-net/
Dlws-dsh.c53 lws_dsh_create(lws_dll2_owner_t *owner, size_t buf_len, int count_kinds) in lws_dsh_create() argument
87 lws_dll2_add_head(&obj->list, &dsh->oha[0].owner); in lws_dsh_create()
93 if (owner) in lws_dsh_create()
94 lws_dll2_add_head(&dsh->list, owner); in lws_dsh_create()
135 __func__, dsh1, dsh1->oha[0].owner.count); in try_foreign()
138 if (lws_dll2_foreach_safe(&dsh1->oha[0].owner, s, search_best_free)) in try_foreign()
205 lws_dll2_describe(&dsh1->oha[n].owner, "check dsh1"); in evict1()
206 lws_dll2_foreach_safe(&dsh1->oha[n].owner, dsh, evict2); in evict1()
228 lws_dll2_foreach_safe(&dsh->oha[n].owner, dsh, free_foreign); in lws_dsh_destroy()
235 if (dsh->list.owner) in lws_dsh_destroy()
[all …]
/third_party/weston/libweston/
Dweston-log.c110 struct weston_log_subscriber *owner; member
143 weston_log_subscription_create_pending(struct weston_log_subscriber *owner, in weston_log_subscription_create_pending() argument
147 assert(owner); in weston_log_subscription_create_pending()
155 sub->owner = owner; in weston_log_subscription_create_pending()
186 if (sub->owner && sub->owner->write) in weston_log_subscription_write()
187 sub->owner->write(sub->owner, data, len); in weston_log_subscription_write()
249 weston_log_subscription_create(struct weston_log_subscriber *owner, in weston_log_subscription_create() argument
253 assert(owner); in weston_log_subscription_create()
261 sub->owner = owner; in weston_log_subscription_create()
264 wl_list_insert(&sub->owner->subscription_list, &sub->owner_link); in weston_log_subscription_create()
[all …]
/third_party/node/deps/npm/node_modules/infer-owner/
Dindex.js21 return inferOwner(parent).then((owner) => {
22 cache.set(path, owner)
23 return owner
48 const owner = inferOwnerSync(parent) constant
49 cache.set(path, owner)
50 return owner // eslint-disable-line no-unsafe-finally
60 const p = inferOwner(path).then(owner => {
62 return owner
DREADME.md1 # infer-owner
3 Infer the owner of a path based on the owner of its nearest existing parent
8 const inferOwner = require('infer-owner')
10 inferOwner('/some/cache/folder/file').then(owner => {
11 // owner is {uid, gid} that should be attached to
18 const owner = inferOwner.sync('/some/cache/folder/file')
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11clipboard.c98 Window owner; in X11_GetClipboardText() local
119 owner = X11_XGetSelectionOwner(display, XA_CLIPBOARD); in X11_GetClipboardText()
120 if (owner == None) { in X11_GetClipboardText()
122 owner = DefaultRootWindow(display); in X11_GetClipboardText()
125 } else if (owner == window) { in X11_GetClipboardText()
126 owner = DefaultRootWindow(display); in X11_GetClipboardText()
130 owner = window; in X11_GetClipboardText()
132 X11_XConvertSelection(display, XA_CLIPBOARD, format, selection, owner, in X11_GetClipboardText()
155 if (X11_XGetWindowProperty(display, owner, selection, 0, INT_MAX/4, False, in X11_GetClipboardText()
/third_party/libwebsockets/include/libwebsockets/
Dlws-dll2.h258 struct lws_dll2_owner *owner; member
269 lws_dll2_is_detached(const struct lws_dll2 *d) { return !d->owner; } in lws_dll2_is_detached()
272 lws_dll2_owner(const struct lws_dll2 *d) { return d->owner; } in lws_dll2_owner()
275 lws_dll2_get_head(struct lws_dll2_owner *owner) { return owner->head; } in lws_dll2_get_head() argument
278 lws_dll2_get_tail(struct lws_dll2_owner *owner) { return owner->tail; } in lws_dll2_get_tail() argument
281 lws_dll2_add_head(struct lws_dll2 *d, struct lws_dll2_owner *owner);
284 lws_dll2_add_tail(struct lws_dll2 *d, struct lws_dll2_owner *owner);
290 lws_dll2_foreach_safe(struct lws_dll2_owner *owner, void *user,
308 lws_dll2_describe(struct lws_dll2_owner *owner, const char *desc);
/third_party/flutter/skia/third_party/externals/sdl/src/thread/psp/
DSDL_sysmutex.c34 SDL_threadID owner; member
50 mutex->owner = 0; in SDL_CreateMutex()
87 if (mutex->owner == this_thread) { in SDL_mutexP()
95 mutex->owner = this_thread; in SDL_mutexP()
115 if (SDL_ThreadID() != mutex->owner) { in SDL_mutexV()
127 mutex->owner = 0; in SDL_mutexV()
/third_party/skia/include/docs/
DSkPDFDocument.h35 void appendInt(const char* owner, const char* name, int value);
36 void appendFloat(const char* owner, const char* name, float value);
37 void appendName(const char* owner, const char* attrName, const char* value);
38 void appendString(const char* owner, const char* attrName, const char* value);
39 void appendFloatArray(const char* owner,
43 void appendStringArray(const char* owner,
46 void appendNodeIdArray(const char* owner,
/third_party/flutter/skia/third_party/externals/sdl/src/thread/pthread/
DSDL_sysmutex.c41 pthread_t owner; member
96 if (mutex->owner == this_thread) { in SDL_LockMutex()
104 mutex->owner = this_thread; in SDL_LockMutex()
133 if (mutex->owner == this_thread) { in SDL_TryLockMutex()
141 mutex->owner = this_thread; in SDL_TryLockMutex()
170 if (pthread_self() == mutex->owner) { in SDL_UnlockMutex()
179 mutex->owner = 0; in SDL_UnlockMutex()
/third_party/cef/libcef/browser/native/
Djavascript_dialog_runner_win.cc28 CefJavaScriptDialogRunnerWin* owner = in DialogProc() local
30 owner->dialog_win_ = dialog; in DialogProc()
31 SetDlgItemText(dialog, IDC_DIALOGTEXT, owner->message_text_.c_str()); in DialogProc()
32 if (owner->message_type_ == content::JAVASCRIPT_DIALOG_TYPE_PROMPT) in DialogProc()
34 owner->default_prompt_text_.c_str()); in DialogProc()
38 CefJavaScriptDialogRunnerWin* owner = in DialogProc() local
41 if (owner) { in DialogProc()
42 owner->CloseDialog(false, std::wstring()); in DialogProc()
51 CefJavaScriptDialogRunnerWin* owner = in DialogProc() local
61 if (owner->message_type_ == content::JAVASCRIPT_DIALOG_TYPE_PROMPT) { in DialogProc()
[all …]
/third_party/boost/boost/graph/distributed/
Dhohberg_biconnected_components.hpp170 std::cerr << local(*i) << '@' << owner(*i); in infimum()
172 std::cerr << ", " << local(a) << '@' << owner(a) << ", " in infimum()
173 << local(b) << '@' << owner(b) << ") = "; in infimum()
178 std::cerr << local(a) << '@' << owner(a) << std::endl; in infimum()
191 std::cerr << local(*first) << '@' << owner(*first) << std::endl; in infimum()
202 std::cerr << local(*first) << '@' << owner(*first) << std::endl; in infimum()
210 std::cerr << local(*last) << '@' << owner(*last) << std::endl; in infimum()
403 owner = get(vertex_owner, g); in initialize_leader() local
409 send(pg, get(owner, target(e, g)), msg_path_header, header); in initialize_leader()
410 send(pg, get(owner, target(e, g)), msg_path_vertices, alpha); in initialize_leader()
[all …]
/third_party/glib/gio/tests/
Dgdbus-example-objectmanager-client.c55 gchar *owner; in on_object_added() local
56 owner = g_dbus_object_manager_client_get_name_owner (G_DBUS_OBJECT_MANAGER_CLIENT (manager)); in on_object_added()
57 g_print ("Added object at %s (owner %s)\n", g_dbus_object_get_object_path (object), owner); in on_object_added()
58 g_free (owner); in on_object_added()
66 gchar *owner; in on_object_removed() local
67 owner = g_dbus_object_manager_client_get_name_owner (G_DBUS_OBJECT_MANAGER_CLIENT (manager)); in on_object_removed()
68 g_print ("Removed object at %s (owner %s)\n", g_dbus_object_get_object_path (object), owner); in on_object_removed()
69 g_free (owner); in on_object_removed()

12345678910>>...43