Home
last modified time | relevance | path

Searched refs:pt (Results 1 - 25 of 547) sorted by relevance

12345678910>>...22

/third_party/node/test/parallel/
H A Dtest-stream2-transform.js54 const pt = new PassThrough();
56 pt.write(Buffer.from('foog'));
57 pt.write(Buffer.from('bark'));
58 pt.write(Buffer.from('bazy'));
59 pt.write(Buffer.from('kuel'));
60 pt.end();
62 assert.strictEqual(pt.read(5).toString(), 'foogb');
63 assert.strictEqual(pt.read(5).toString(), 'arkba');
64 assert.strictEqual(pt.read(5).toString(), 'zykue');
65 assert.strictEqual(pt
[all...]
/third_party/libwebsockets/lib/event-libs/libuv/
H A Dlibuv.c40 struct lws_context_per_thread *pt = ptpr->pt; in lws_uv_sultimer_cb() local
43 lws_context_lock(pt->context, __func__); in lws_uv_sultimer_cb()
44 lws_pt_lock(pt, __func__); in lws_uv_sultimer_cb()
45 us = __lws_sul_service_ripe(pt->pt_sul_owner, LWS_COUNT_PT_SUL_OWNERS, in lws_uv_sultimer_cb()
48 uv_timer_start(&pt_to_priv_uv(pt)->sultimer, lws_uv_sultimer_cb, in lws_uv_sultimer_cb()
50 lws_pt_unlock(pt); in lws_uv_sultimer_cb()
51 lws_context_unlock(pt->context); in lws_uv_sultimer_cb()
62 struct lws_context_per_thread *pt = ptpr->pt; in lws_uv_idle() local
98 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; lws_io_cb() local
184 struct lws_context_per_thread *pt = (struct lws_context_per_thread *) lws_uv_signal_handler() local
199 lws_uv_finalize_pt(struct lws_context_per_thread *pt) lws_uv_finalize_pt() argument
260 struct lws_context_per_thread *pt = lws_uv_close_cb_sa() local
314 struct lws_context_per_thread *pt = &context->pt[tsi]; lws_libuv_static_refcount_add() local
373 struct lws_context_per_thread *pt; elops_destroy_context1_uv() local
400 struct lws_context_per_thread *pt; elops_destroy_context2_uv() local
497 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; elops_accept_uv() local
544 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; elops_io_uv() local
596 struct lws_context_per_thread *pt; elops_init_vhost_listen_wsi_uv() local
653 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_destroy_pt_uv() local
719 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_init_pt_uv() local
792 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; lws_libuv_closewsi() local
893 struct lws_context_per_thread *pt = &cx->pt[tsi]; elops_foreign_thread_uv() local
[all...]
/third_party/tzdata/
H A Dstrftime.c164 _fmt(const char *format, const struct tm *t, char *pt, in _fmt() argument
177 pt = _add((t->tm_wday < 0 || in _fmt()
180 pt, ptlim); in _fmt()
183 pt = _add((t->tm_wday < 0 || in _fmt()
186 pt, ptlim); in _fmt()
189 pt = _add((t->tm_mon < 0 || in _fmt()
192 pt, ptlim); in _fmt()
196 pt = _add((t->tm_mon < 0 || in _fmt()
199 pt, ptlim); in _fmt()
209 pt in _fmt()
610 _conv(int n, const char *format, char *pt, const char *ptlim) _conv() argument
619 _add(const char *str, char *pt, const char *ptlim) _add() argument
635 _yconv(int a, int b, bool convert_top, bool convert_yy, char *pt, const char *ptlim) _yconv() argument
[all...]
/third_party/libwebsockets/lib/event-libs/glib/
H A Dglib.c65 * These helpers attach only to the main_context that belongs to the pt's glib
68 * instead of specifically the loop bound to the pt.
74 lws_glib_set_idle(struct lws_context_per_thread *pt) in lws_glib_set_idle() argument
76 if (lws_gs_valid(pt_to_priv_glib(pt)->idle)) in lws_glib_set_idle()
79 pt_to_priv_glib(pt)->idle.gs = g_idle_source_new(); in lws_glib_set_idle()
80 if (!pt_to_priv_glib(pt)->idle.gs) in lws_glib_set_idle()
83 g_source_set_callback(pt_to_priv_glib(pt)->idle.gs, in lws_glib_set_idle()
84 lws_glib_idle_timer_cb, pt, NULL); in lws_glib_set_idle()
85 pt_to_priv_glib(pt)->idle.tag = g_source_attach( in lws_glib_set_idle()
86 pt_to_priv_glib(pt) in lws_glib_set_idle()
92 lws_glib_set_timeout(struct lws_context_per_thread *pt, unsigned int ms) lws_glib_set_timeout() argument
114 struct lws_context_per_thread *pt; lws_glib_dispatch() local
169 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)p; lws_glib_hrtimer_cb() local
197 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)p; lws_glib_idle_timer_cb() local
234 struct lws_context_per_thread *pt = ctx; lws_glib_sigint_cb() local
264 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; elops_accept_glib() local
309 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_init_pt_glib() local
348 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; elops_io_glib() local
390 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_run_pt_glib() local
399 struct lws_context_per_thread *pt; elops_destroy_wsi_glib() local
435 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_destroy_pt_glib() local
458 struct lws_context_per_thread *pt = &context->pt[0]; elops_destroy_context2_glib() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pt.c86 draw->clip_user) && !draw->pt.test_fse) { in draw_pt_arrays()
90 if (draw->pt.middle.llvm) { in draw_pt_arrays()
91 middle = draw->pt.middle.llvm; in draw_pt_arrays()
93 if (opt == PT_SHADE && !draw->pt.no_fse) in draw_pt_arrays()
94 middle = draw->pt.middle.fetch_shade_emit; in draw_pt_arrays()
96 middle = draw->pt.middle.general; in draw_pt_arrays()
99 frontend = draw->pt.frontend; in draw_pt_arrays()
102 if (draw->pt.prim != prim || draw->pt.opt != opt) { in draw_pt_arrays()
110 } else if (draw->pt in draw_pt_arrays()
[all...]
/third_party/skia/src/pathops/
H A DSkPathOpsBounds.h36 void add(const SkPoint& pt) { in add()
37 if (pt.fX < fLeft) fLeft = pt.fX; in add()
38 if (pt.fY < fTop) fTop = pt.fY; in add()
39 if (pt.fX > fRight) fRight = pt.fX; in add()
40 if (pt.fY > fBottom) fBottom = pt.fY; in add()
43 void add(const SkDPoint& pt) { in add()
[all...]
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-pipe.c33 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_plat_pipe_create() local
37 pt->dummy_pipe_fds[0] = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK); in lws_plat_pipe_create()
38 pt->dummy_pipe_fds[1] = -1; in lws_plat_pipe_create()
40 n = pt->dummy_pipe_fds[0] < 0 ? -1 : 0; in lws_plat_pipe_create()
44 n = pipe2(pt->dummy_pipe_fds, O_NONBLOCK); in lws_plat_pipe_create()
46 n = pipe(pt->dummy_pipe_fds); in lws_plat_pipe_create()
53 if (fcntl(pt->dummy_pipe_fds[0], F_SETFL, O_NONBLOCK) < 0) in lws_plat_pipe_create()
55 else if (pt->dummy_pipe_fds[1] >= 0) { in lws_plat_pipe_create()
56 if (fcntl(pt in lws_plat_pipe_create()
67 struct lws_context_per_thread *pt = &ctx->pt[tsi]; lws_plat_pipe_signal() local
85 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; lws_plat_pipe_close() local
[all...]
H A Dunix-service.c39 struct lws_context_per_thread *pt = &context->pt[tsi]; in _lws_plat_service_forced_tsi() local
45 for (n = 0; n < (int)pt->fds_count; n++) { in _lws_plat_service_forced_tsi()
46 lws_sockfd_type fd = pt->fds[n].fd; in _lws_plat_service_forced_tsi()
48 if (!pt->fds[n].revents) in _lws_plat_service_forced_tsi()
51 m = lws_service_fd_tsi(context, &pt->fds[n], tsi); in _lws_plat_service_forced_tsi()
60 if (m && pt->fds[n].fd != fd) in _lws_plat_service_forced_tsi()
64 lws_service_do_ripe_rxflow(pt); in _lws_plat_service_forced_tsi()
76 struct lws_context_per_thread *pt; in _lws_plat_service_tsi() local
96 pt in _lws_plat_service_tsi()
[all...]
/third_party/libwebsockets/lib/plat/windows/
H A Dwindows-service.c34 struct lws_context_per_thread *pt = &context->pt[tsi]; in _lws_plat_service_forced_tsi() local
40 for (n = 0; n < (int)pt->fds_count; n++) { in _lws_plat_service_forced_tsi()
41 if (!pt->fds[n].revents) in _lws_plat_service_forced_tsi()
44 unsigned int fds_count = pt->fds_count; in _lws_plat_service_forced_tsi()
45 m = lws_service_fd_tsi(context, &pt->fds[n], tsi); in _lws_plat_service_forced_tsi()
49 if (pt->fds_count != fds_count) in _lws_plat_service_forced_tsi()
53 lws_service_do_ripe_rxflow(pt); in _lws_plat_service_forced_tsi()
63 struct lws_context_per_thread *pt; in _lws_plat_service_tsi() local
74 pt in _lws_plat_service_tsi()
[all...]
/third_party/libwebsockets/lib/plat/freertos/
H A Dfreertos-service.c44 struct lws_context_per_thread *pt; in _lws_plat_service_tsi() local
53 pt = &context->pt[tsi]; in _lws_plat_service_tsi()
54 vpt = (volatile struct lws_context_per_thread *)pt; in _lws_plat_service_tsi()
90 if (!pt->service_tid_detected && context->vhost_list) { in _lws_plat_service_tsi()
91 lws_fakewsi_def_plwsa(pt); in _lws_plat_service_tsi()
95 pt->service_tid = context->vhost_list->protocols[0].callback( in _lws_plat_service_tsi()
98 pt->service_tid_detected = 1; in _lws_plat_service_tsi()
117 lws_pt_lock(pt, __func__); in _lws_plat_service_tsi()
119 us = __lws_sul_service_ripe(pt in _lws_plat_service_tsi()
[all...]
/third_party/libwebsockets/lib/event-libs/libevent/
H A Dlibevent.c34 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)p; in lws_event_hrtimer_cb() local
35 struct lws_pt_eventlibs_libevent *ptpr = pt_to_priv_event(pt); in lws_event_hrtimer_cb()
39 lws_pt_lock(pt, __func__); in lws_event_hrtimer_cb()
40 us = __lws_sul_service_ripe(pt->pt_sul_owner, LWS_COUNT_PT_SUL_OWNERS, in lws_event_hrtimer_cb()
52 lws_pt_unlock(pt); in lws_event_hrtimer_cb()
58 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)p; in lws_event_idle_timer_cb() local
59 struct lws_pt_eventlibs_libevent *ptpr = pt_to_priv_event(pt); in lws_event_idle_timer_cb()
63 if (pt->is_destroyed) in lws_event_idle_timer_cb()
66 lws_service_do_ripe_rxflow(pt); in lws_event_idle_timer_cb()
71 if (!lws_service_adjust_timeout(pt in lws_event_idle_timer_cb()
108 struct lws_context_per_thread *pt; lws_event_cb() local
163 struct lws_context_per_thread *pt = ctx; lws_event_sigint_cb() local
181 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; elops_listen_init_event() local
199 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_init_pt_event() local
263 struct lws_context_per_thread *pt; elops_accept_event() local
291 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; elops_io_event() local
351 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_destroy_pt_event() local
375 struct lws_context_per_thread *pt; elops_destroy_wsi_event() local
409 struct lws_context_per_thread *pt; elops_init_vhost_listen_wsi_event() local
446 struct lws_context_per_thread *pt; elops_destroy_context2_event() local
[all...]
/third_party/skia/tests/
H A DPathOpsDPointTest.cpp25 const SkDPoint& pt = tests[index]; in DEF_TEST() local
26 SkASSERT(ValidPoint(pt)); in DEF_TEST()
27 SkDPoint p = pt; in DEF_TEST()
28 REPORTER_ASSERT(reporter, p == pt); in DEF_TEST()
29 REPORTER_ASSERT(reporter, !(pt != pt)); in DEF_TEST()
30 SkDVector v = p - pt; in DEF_TEST()
32 REPORTER_ASSERT(reporter, p == pt); in DEF_TEST()
34 REPORTER_ASSERT(reporter, p == pt); in DEF_TEST()
35 REPORTER_ASSERT(reporter, p.approximatelyEqual(pt)); in DEF_TEST()
[all...]
/third_party/libwebsockets/lib/core-net/
H A Dwsi-timeout.c57 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in __lws_set_timer_usecs() local
60 __lws_sul_insert_us(&pt->pt_sul_owner[LWSSULLI_MISS_IF_SUSPENDED], in __lws_set_timer_usecs()
79 struct lws_context_per_thread *pt = &cx->pt[(int)wsi->tsi]; in lws_sul_wsitimeout_cb() local
88 pt->http.ah_wait_list_length); in lws_sul_wsitimeout_cb()
118 lws_pt_lock(pt, __func__); in lws_sul_wsitimeout_cb()
120 lws_pt_unlock(pt); in lws_sul_wsitimeout_cb()
127 struct lws_context_per_thread *pt = &wsi->a.context->pt[(in in __lws_set_timeout() local
142 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; lws_set_timeout() local
178 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; lws_set_timeout_us() local
202 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; lws_validity_cb() local
210 struct lws_context_per_thread *pt = &cx->pt[(int)wsi->tsi]; lws_validity_cb() local
252 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; _lws_validity_confirmed_role() local
[all...]
H A Dservice.c250 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_rxflow_cache() local
286 lws_dll2_add_head(&wsi->dll_buflist, &pt->dll_buflist_owner); in lws_rxflow_cache()
299 struct lws_context_per_thread *pt; in lws_service_adjust_timeout() local
316 pt = &context->pt[tsi]; in lws_service_adjust_timeout()
318 if (pt->evlib_pt) { in lws_service_adjust_timeout()
321 lws_pt_lock(pt, __func__); /* -------------- pt { */ in lws_service_adjust_timeout()
323 u = __lws_sul_service_ripe(pt in lws_service_adjust_timeout()
384 lws_buflist_aware_read(struct lws_context_per_thread *pt, struct lws *wsi, struct lws_tokens *ebuf, char fr, const char *hint) lws_buflist_aware_read() argument
475 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; lws_buflist_aware_finished_consuming() local
517 lws_service_do_ripe_rxflow(struct lws_context_per_thread *pt) lws_service_do_ripe_rxflow() argument
570 struct lws_context_per_thread *pt; lws_service_flag_pending() local
641 struct lws_context_per_thread *pt; lws_service_fd_tsi() local
821 struct lws_context_per_thread *pt; lws_service() local
849 struct lws_context_per_thread *pt; lws_service_tsi() local
[all...]
H A Dsorted-usec-list.c58 * we sort the pt's list of sequencers with pending timeouts, so it's in __lws_sul_insert()
80 struct lws_context_per_thread *pt = &context->pt[tsi]; in lws_sul2_schedule() local
82 lws_pt_assert_lock_held(pt); in lws_sul2_schedule()
87 &pt->pt_sul_owner[!!(flags & LWSSULLI_WAKE_IF_SUSPENDED)], sul); in lws_sul2_schedule()
102 struct lws_context_per_thread *pt = (struct lws_context_per_thread *) in __lws_sul_service_ripe() local
106 if (pt->attach_owner.count) in __lws_sul_service_ripe()
107 lws_system_do_attach(pt); in __lws_sul_service_ripe()
109 lws_pt_assert_lock_held(pt); in __lws_sul_service_ripe()
160 pt in __lws_sul_service_ripe()
190 struct lws_context_per_thread *pt = &ctx->pt[0]; lws_sul_nonmonotonic_adjust() local
212 lws_start_foreach_dll(struct lws_dll2 *, p, lws_dll2_get_head( &pt->pt_sul_owner[n])) lws_sul_nonmonotonic_adjust() argument
244 struct lws_context_per_thread *pt; lws_sul_earliest_wakeable_event() local
333 struct lws_context_per_thread *pt; lws_sul_debug_zombies() local
[all...]
H A Dpollfd.c33 struct lws_context_per_thread *pt; in _lws_change_pollfd() local
70 pt = &context->pt[(int)wsi->tsi]; in _lws_change_pollfd()
72 assert(wsi->position_in_fds_table < (int)pt->fds_count); in _lws_change_pollfd()
91 vpt = (volatile struct lws_context_per_thread *)pt; in _lws_change_pollfd()
118 lws_pt_lock(pt, __func__); in _lws_change_pollfd()
130 lws_pt_unlock(pt); in _lws_change_pollfd()
148 pfd = &pt->fds[wsi->position_in_fds_table]; in _lws_change_pollfd()
203 sampled_tid = pt->service_tid; in _lws_change_pollfd()
222 * Enable or disable listen sockets on this pt globall
226 lws_accept_modulation(struct lws_context *context, struct lws_context_per_thread *pt, int allow) lws_accept_modulation() argument
249 __dump_fds(struct lws_context_per_thread *pt, const char *s) __dump_fds() argument
273 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; __insert_wsi_socket_into_fds() local
364 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; __remove_wsi_socket_from_fds() local
509 struct lws_context_per_thread *pt; lws_change_pollfd() local
[all...]
H A Dsequencer.c48 struct lws_context_per_thread *pt; member
65 struct lws_context_per_thread *pt = lws_container_of(sul, in lws_sul_seq_heartbeat_cb() local
71 lws_dll2_get_head(&pt->seq_owner)) { in lws_sul_seq_heartbeat_cb()
81 __lws_sul_insert_us(&pt->pt_sul_owner[LWSSULLI_MISS_IF_SUSPENDED], in lws_sul_seq_heartbeat_cb()
82 &pt->sul_seq_heartbeat, LWS_US_PER_SEC); in lws_sul_seq_heartbeat_cb()
86 lws_seq_pt_init(struct lws_context_per_thread *pt) in lws_seq_pt_init() argument
88 pt->sul_seq_heartbeat.cb = lws_sul_seq_heartbeat_cb; in lws_seq_pt_init()
91 __lws_sul_insert_us(&pt->pt_sul_owner[LWSSULLI_MISS_IF_SUSPENDED], in lws_seq_pt_init()
92 &pt->sul_seq_heartbeat, LWS_US_PER_SEC); in lws_seq_pt_init()
100 struct lws_context_per_thread *pt in lws_seq_create() local
173 lws_seq_destroy_all_on_pt(struct lws_context_per_thread *pt) lws_seq_destroy_all_on_pt() argument
[all...]
/third_party/libwebsockets/lib/event-libs/sdevent/
H A Dsdevent.c10 struct lws_context_per_thread *pt; member
24 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)userdata; in sultimer_handler() local
28 lws_context_lock(pt->context, __func__); in sultimer_handler()
29 lws_pt_lock(pt, __func__); in sultimer_handler()
31 us = __lws_sul_service_ripe(pt->pt_sul_owner, LWS_COUNT_PT_SUL_OWNERS, in sultimer_handler()
38 sd_event_source_set_time(pt_to_priv_sd(pt)->sultimer, at); in sultimer_handler()
39 sd_event_source_set_enabled(pt_to_priv_sd(pt)->sultimer, in sultimer_handler()
43 lws_pt_unlock(pt); in sultimer_handler()
44 lws_context_unlock(pt->context); in sultimer_handler()
52 struct lws_context_per_thread *pt in idle_handler() local
96 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; sock_accept_handler() local
159 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; io_sd() local
215 struct lws_context_per_thread *pt; init_vhost_listen_wsi_sd() local
248 struct lws_context_per_thread *pt = &context->pt[tsi]; init_pt_sd() local
338 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; sock_accept_sd() local
361 struct lws_context_per_thread *pt = &context->pt[tsi]; run_pt_sd() local
381 struct lws_context_per_thread *pt = &context->pt[tsi]; destroy_pt_sd() local
[all...]
/third_party/skia/src/core/
H A DSkPointPriv.h26 static const SkScalar* AsScalars(const SkPoint& pt) { return &pt.fX; } in AsScalars() argument
32 static SkScalar DistanceToLineBetweenSqd(const SkPoint& pt, const SkPoint& a,
35 static SkScalar DistanceToLineBetween(const SkPoint& pt, const SkPoint& a, in DistanceToLineBetween() argument
37 return SkScalarSqrt(DistanceToLineBetweenSqd(pt, a, b, side)); in DistanceToLineBetween()
40 static SkScalar DistanceToLineSegmentBetweenSqd(const SkPoint& pt, const SkPoint& a,
43 static SkScalar DistanceToLineSegmentBetween(const SkPoint& pt, const SkPoint& a, in DistanceToLineSegmentBetween() argument
45 return SkScalarSqrt(DistanceToLineSegmentBetweenSqd(pt, a, b)); in DistanceToLineSegmentBetween()
48 static SkScalar DistanceToSqd(const SkPoint& pt, const SkPoint& a) { in DistanceToSqd() argument
49 SkScalar dx = pt in DistanceToSqd()
58 EqualsWithinTolerance(const SkPoint& pt, const SkPoint& p, SkScalar tol) EqualsWithinTolerance() argument
63 LengthSqd(const SkPoint& pt) LengthSqd() argument
67 Negate(SkIPoint& pt) Negate() argument
79 RotateCCW(SkPoint* pt) RotateCCW() argument
90 RotateCW(SkPoint* pt) RotateCW() argument
[all...]
/third_party/libwebsockets/lib/event-libs/uloop/
H A Duloop.c36 struct lws_context_per_thread *pt = upt->pt; in lws_uloop_hrtimer_cb() local
39 lws_pt_lock(pt, __func__); in lws_uloop_hrtimer_cb()
40 us = __lws_sul_service_ripe(pt->pt_sul_owner, LWS_COUNT_PT_SUL_OWNERS, in lws_uloop_hrtimer_cb()
45 lws_pt_unlock(pt); in lws_uloop_hrtimer_cb()
54 struct lws_context_per_thread *pt = upt->pt; in lws_uloop_idle_timer_cb() local
57 if (pt->is_destroyed) in lws_uloop_idle_timer_cb()
60 lws_service_do_ripe_rxflow(pt); in lws_uloop_idle_timer_cb()
65 if (!lws_service_adjust_timeout(pt in lws_uloop_idle_timer_cb()
101 struct lws_context_per_thread *pt; lws_uloop_cb() local
153 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_init_pt_uloop() local
190 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; elops_io_uloop() local
231 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_destroy_pt_uloop() local
243 struct lws_context_per_thread *pt; elops_destroy_wsi_uloop() local
[all...]
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_resource_texture.c191 struct pipe_resource *pt = &tex->b; in i9x5_scanout_layout() local
193 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) in i9x5_scanout_layout()
196 if (pt->width0 >= 240) { in i9x5_scanout_layout()
197 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); in i9x5_scanout_layout()
198 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_scanout_layout()
201 } else if (pt->width0 == 64 && pt in i9x5_scanout_layout()
228 struct pipe_resource *pt = &tex->b; i9x5_display_target_layout() local
260 struct pipe_resource *pt = &tex->b; i9x5_special_layout() local
327 struct pipe_resource *pt = &tex->b; i9x5_texture_layout_cube() local
363 struct pipe_resource *pt = &tex->b; i915_texture_layout_2d() local
391 struct pipe_resource *pt = &tex->b; i915_texture_layout_3d() local
464 struct pipe_resource *pt = &tex->b; i945_texture_layout_2d() local
527 struct pipe_resource *pt = &tex->b; i945_texture_layout_3d() local
644 struct pipe_resource *pt = &tex->b; i945_texture_layout_cube() local
[all...]
/third_party/libwebsockets/lib/plat/optee/
H A Dnetwork.c93 struct lws_context_per_thread *pt; in _lws_plat_service_tsi() local
102 pt = &context->pt[tsi]; in _lws_plat_service_tsi()
109 if (!pt->service_tid_detected && context->vhost_list) { in _lws_plat_service_tsi()
115 pt->service_tid = context->vhost_list->protocols[0].callback( in _lws_plat_service_tsi()
117 pt->service_tid_detected = 1; in _lws_plat_service_tsi()
129 lws_pt_lock(pt, __func__); in _lws_plat_service_tsi()
131 us = __lws_sul_service_ripe(pt->pt_sul_owner, in _lws_plat_service_tsi()
137 lws_pt_unlock(pt); in _lws_plat_service_tsi()
140 n = poll(pt in _lws_plat_service_tsi()
224 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; lws_plat_insert_socket_into_fds() local
233 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; lws_plat_delete_socket_from_fds() local
[all...]
/third_party/libwebsockets/lib/event-libs/libev/
H A Dlibev.c37 struct lws_context_per_thread *pt = ptpr->pt; in lws_ev_hrtimer_cb() local
40 lws_pt_lock(pt, __func__); in lws_ev_hrtimer_cb()
41 us = __lws_sul_service_ripe(pt->pt_sul_owner, LWS_COUNT_PT_SUL_OWNERS, in lws_ev_hrtimer_cb()
47 lws_pt_unlock(pt); in lws_ev_hrtimer_cb()
55 struct lws_context_per_thread *pt = ptpr->pt; in lws_ev_idle_cb() local
59 lws_service_do_ripe_rxflow(pt); in lws_ev_idle_cb()
64 if (!lws_service_adjust_timeout(pt->context, 1, pt in lws_ev_idle_cb()
94 struct lws_context_per_thread *pt; lws_accept_cb() local
141 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; elops_listen_init_ev() local
160 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_init_pt_ev() local
245 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; elops_listen_destroy_ev() local
257 struct lws_context_per_thread *pt = &context->pt[tsi]; elops_destroy_pt_ev() local
308 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; elops_io_ev() local
348 struct lws_context_per_thread *pt; elops_destroy_context2_ev() local
408 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; elops_destroy_wsi_ev() local
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_miptree.c232 const struct pipe_resource *pt = &mt->base.base; in nvc0_miptree_init_layout_video() local
233 const unsigned blocksize = util_format_get_blocksize(pt->format); in nvc0_miptree_init_layout_video()
235 assert(pt->last_level == 0); in nvc0_miptree_init_layout_video()
237 assert(!util_format_is_compressed(pt->format)); in nvc0_miptree_init_layout_video()
239 mt->layout_3d = pt->target == PIPE_TEXTURE_3D; in nvc0_miptree_init_layout_video()
242 mt->level[0].pitch = align(pt->width0 * blocksize, 64); in nvc0_miptree_init_layout_video()
243 mt->total_size = align(pt->height0, 16) * mt->level[0].pitch * (mt->layout_3d ? pt->depth0 : 1); in nvc0_miptree_init_layout_video()
245 if (pt->array_size > 1) { in nvc0_miptree_init_layout_video()
247 mt->total_size = mt->layer_stride * pt in nvc0_miptree_init_layout_video()
254 struct pipe_resource *pt = &mt->base.base; nvc0_miptree_init_layout_tiled() local
343 nvc0_miptree_get_handle(struct pipe_screen *pscreen, struct pipe_context *context, struct pipe_resource *pt, struct winsys_handle *whandle, unsigned usage) nvc0_miptree_get_handle() argument
387 const struct pipe_resource *pt = &mt->base.base; nvc0_miptree_select_best_modifier() local
450 struct pipe_resource *pt = &mt->base.base; nvc0_miptree_create() local
560 const struct pipe_resource *pt = &mt->base.base; nvc0_mt_zslice_offset() local
581 nvc0_miptree_surface_new(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *templ) nvc0_miptree_surface_new() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_miptree.c162 nv50_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt) in nv50_miptree_destroy() argument
164 struct nv50_miptree *mt = nv50_miptree(pt); in nv50_miptree_destroy()
184 struct pipe_resource *pt, in nv50_miptree_get_handle()
188 if (pt->target == PIPE_BUFFER) in nv50_miptree_get_handle()
191 struct nv50_miptree *mt = nv50_miptree(pt); in nv50_miptree_get_handle()
237 struct pipe_resource *pt = &mt->base.base; in nv50_miptree_init_layout_linear() local
238 const unsigned blocksize = util_format_get_blocksize(pt->format); in nv50_miptree_init_layout_linear()
239 unsigned h = pt->height0; in nv50_miptree_init_layout_linear()
241 if (util_format_is_depth_or_stencil(pt->format)) in nv50_miptree_init_layout_linear()
244 if ((pt in nv50_miptree_init_layout_linear()
182 nv50_miptree_get_handle(struct pipe_screen *pscreen, struct pipe_context *context, struct pipe_resource *pt, struct winsys_handle *whandle, unsigned usage) nv50_miptree_get_handle() argument
263 const struct pipe_resource *pt = &mt->base.base; nv50_miptree_init_layout_video() local
285 struct pipe_resource *pt = &mt->base.base; nv50_miptree_init_layout_tiled() local
336 struct pipe_resource *pt = &mt->base.base; nv50_miptree_create() local
449 const struct pipe_resource *pt = &mt->base.base; nv50_mt_zslice_offset() local
504 nv50_miptree_surface_new(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *templ) nv50_miptree_surface_new() argument
[all...]

Completed in 11 milliseconds

12345678910>>...22