Home
last modified time | relevance | path

Searched refs:sq (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_query.c60 struct softpipe_query* sq; in softpipe_create_query() local
75 sq = CALLOC_STRUCT( softpipe_query ); in softpipe_create_query()
76 sq->type = type; in softpipe_create_query()
77 sq->index = index; in softpipe_create_query()
78 return (struct pipe_query *)sq; in softpipe_create_query()
93 struct softpipe_query *sq = softpipe_query(q); in softpipe_begin_query() local
95 switch (sq->type) { in softpipe_begin_query()
99 sq->start = softpipe->occlusion_count; in softpipe_begin_query()
102 sq->start = os_time_get_nano(); in softpipe_begin_query()
105sq->so[sq->index].num_primitives_written = softpipe->so_stats[sq->index].num_primitives_written; in softpipe_begin_query()
[all …]
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstmultiqueue.c211 static void single_queue_overrun_cb (GstDataQueue * dq, GstSingleQueue * sq);
212 static void single_queue_underrun_cb (GstDataQueue * dq, GstSingleQueue * sq);
214 static void update_buffering (GstMultiQueue * mq, GstSingleQueue * sq);
218 static void gst_single_queue_flush_queue (GstSingleQueue * sq, gboolean full);
220 static void calculate_interleave (GstMultiQueue * mq, GstSingleQueue * sq);
371 GstSingleQueue *sq; member
389 if (!pad->sq) in gst_multiqueue_pad_get_group_id()
392 mq = g_weak_ref_get (&pad->sq->mqueue); in gst_multiqueue_pad_get_group_id()
398 ret = pad->sq->groupid; in gst_multiqueue_pad_get_group_id()
411 GstSingleQueue *sq = pad->sq; in gst_multiqueue_pad_get_current_level_buffers() local
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_query.c93 struct svga_query *sq) in define_query_vgpu9() argument
97 sq->hwbuf = svga_winsys_buffer_create(svga, 1, in define_query_vgpu9()
99 sizeof *sq->queryResult); in define_query_vgpu9()
100 if (!sq->hwbuf) in define_query_vgpu9()
103 sq->queryResult = (SVGA3dQueryResult *) in define_query_vgpu9()
104 sws->buffer_map(sws, sq->hwbuf, PIPE_MAP_WRITE); in define_query_vgpu9()
105 if (!sq->queryResult) { in define_query_vgpu9()
106 sws->buffer_destroy(sws, sq->hwbuf); in define_query_vgpu9()
110 sq->queryResult->totalSize = sizeof *sq->queryResult; in define_query_vgpu9()
111 sq->queryResult->state = SVGA3D_QUERYSTATE_NEW; in define_query_vgpu9()
[all …]
/third_party/ffmpeg/libavfilter/dnn/
Dsafe_queue.c54 SafeQueue *sq = av_malloc(sizeof(*sq)); in ff_safe_queue_create() local
55 if (!sq) in ff_safe_queue_create()
58 sq->q = ff_queue_create(); in ff_safe_queue_create()
59 if (!sq->q) { in ff_safe_queue_create()
60 av_freep(&sq); in ff_safe_queue_create()
64 ff_mutex_init(&sq->mutex, NULL); in ff_safe_queue_create()
65 dnn_cond_init(&sq->cond, NULL); in ff_safe_queue_create()
66 return sq; in ff_safe_queue_create()
69 void ff_safe_queue_destroy(SafeQueue *sq) in ff_safe_queue_destroy() argument
71 if (!sq) in ff_safe_queue_destroy()
[all …]
Dsafe_queue.h27 void ff_safe_queue_destroy(SafeQueue *sq);
29 size_t ff_safe_queue_size(SafeQueue *sq);
31 int ff_safe_queue_push_front(SafeQueue *sq, void *v);
32 int ff_safe_queue_push_back(SafeQueue *sq, void *v);
34 void *ff_safe_queue_pop_front(SafeQueue *sq);
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_query_sw.c46 struct fd_sw_query *sq = fd_sw_query(q); in fd_sw_destroy_query() local
47 free(sq); in fd_sw_destroy_query()
114 struct fd_sw_query *sq = fd_sw_query(q); in fd_sw_begin_query() local
118 sq->begin_value = read_counter(ctx, q->type); in fd_sw_begin_query()
120 sq->begin_time = os_time_get(); in fd_sw_begin_query()
122 sq->begin_time = ctx->stats.draw_calls; in fd_sw_begin_query()
129 struct fd_sw_query *sq = fd_sw_query(q); in fd_sw_end_query() local
134 sq->end_value = read_counter(ctx, q->type); in fd_sw_end_query()
136 sq->end_time = os_time_get(); in fd_sw_end_query()
138 sq->end_time = ctx->stats.draw_calls; in fd_sw_end_query()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_query_sw.c70 struct nvc0_sw_query *sq = nvc0_sw_query(q); in nvc0_sw_destroy_query() local
71 FREE(sq); in nvc0_sw_destroy_query()
78 struct nvc0_sw_query *sq = nvc0_sw_query(q); in nvc0_sw_begin_query() local
81 sq->value = nvc0->screen->base.stats.v[q->index]; in nvc0_sw_begin_query()
83 sq->value = 0; in nvc0_sw_begin_query()
93 struct nvc0_sw_query *sq = nvc0_sw_query(q); in nvc0_sw_end_query() local
94 sq->value = nvc0->screen->base.stats.v[q->index] - sq->value; in nvc0_sw_end_query()
103 struct nvc0_sw_query *sq = nvc0_sw_query(q); in nvc0_sw_get_query_result() local
106 res64[0] = sq->value; in nvc0_sw_get_query_result()
121 struct nvc0_sw_query *sq; in nvc0_sw_create_query() local
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_gcm.cpp344 for (unsigned sq = SQ_CF; sq < SQ_NUM; ++sq) { in bu_sched_bb() local
345 if (!bu_ready[sq].empty() || !bu_ready_next[sq].empty()) in bu_sched_bb()
346 ready_mask |= (1 << sq); in bu_sched_bb()
350 for (unsigned sq = SQ_CF; sq < SQ_NUM; ++sq) { in bu_sched_bb() local
351 if (!bu_ready_early[sq].empty()) { in bu_sched_bb()
352 node *n = bu_ready_early[sq].front(); in bu_sched_bb()
353 bu_ready_early[sq].pop_front(); in bu_sched_bb()
354 bu_ready[sq].push_back(n); in bu_sched_bb()
360 for (unsigned sq = SQ_CF; sq < SQ_NUM; ++sq) { in bu_sched_bb() local
362 if (sq == SQ_CF && pending_exec_mask_update) { in bu_sched_bb()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_query_sw.c39 struct etna_sw_query *sq = etna_sw_query(q); in etna_sw_destroy_query() local
41 FREE(sq); in etna_sw_destroy_query()
62 struct etna_sw_query *sq = etna_sw_query(q); in etna_sw_begin_query() local
64 sq->begin_value = read_counter(ctx, q->type); in etna_sw_begin_query()
70 struct etna_sw_query *sq = etna_sw_query(q); in etna_sw_end_query() local
72 sq->end_value = read_counter(ctx, q->type); in etna_sw_end_query()
79 struct etna_sw_query *sq = etna_sw_query(q); in etna_sw_get_query_result() local
81 result->u64 = sq->end_value - sq->begin_value; in etna_sw_get_query_result()
96 struct etna_sw_query *sq; in etna_sw_create_query() local
108 sq = CALLOC_STRUCT(etna_sw_query); in etna_sw_create_query()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_vcn.c30 struct rvcn_sq_var *sq, in rvcn_sq_header() argument
36 sq->ib_checksum = &cs->current.buf[cs->current.cdw]; in rvcn_sq_header()
38 sq->ib_total_size_in_dw = &cs->current.buf[cs->current.cdw]; in rvcn_sq_header()
50 struct rvcn_sq_var *sq) in rvcn_sq_tail() argument
56 if (sq->ib_checksum == NULL || sq->ib_total_size_in_dw == NULL) in rvcn_sq_tail()
60 size_in_dw = end - sq->ib_total_size_in_dw - 1; in rvcn_sq_tail()
61 *sq->ib_total_size_in_dw = size_in_dw; in rvcn_sq_tail()
62 *(sq->ib_total_size_in_dw + 4) = size_in_dw * sizeof(uint32_t); in rvcn_sq_tail()
65 checksum += *(sq->ib_checksum + 2 + i); in rvcn_sq_tail()
67 *sq->ib_checksum = checksum; in rvcn_sq_tail()
/third_party/typescript/tests/baselines/reference/
DdiscriminatedUnionErrorMessage.types2 type Square = { kind: "sq", size: number }
3 >Square : { kind: "sq"; size: number; }
4 >kind : "sq"
26 >{ kind: "sq", x: 12, y: 13,} : { kind: "sq"; x: number; y: number; }
28 kind: "sq",
29 >kind : "sq"
30 >"sq" : "sq"
DstrictNullLogicalAndOr.js9 function sq(n?: number): number {
14 sq(3);
21 function sq(n) { function
25 sq(3);
DstrictNullLogicalAndOr.symbols26 function sq(n?: number): number {
27 >sq : Symbol(sq, Decl(strictNullLogicalAndOr.ts, 5, 16))
41 sq(3);
42 >sq : Symbol(sq, Decl(strictNullLogicalAndOr.ts, 5, 16))
DstrictNullLogicalAndOr.types32 function sq(n?: number): number {
33 >sq : (n?: number) => number
52 sq(3);
53 >sq(3) : number
54 >sq : (n?: number | undefined) => number
DdiscriminatedUnionErrorMessage.errors.txt1 tests/cases/compiler/discriminatedUnionErrorMessage.ts(10,5): error TS2322: Type '{ kind: "sq"; x: …
6 type Square = { kind: "sq", size: number }
14 kind: "sq",
17 !!! error TS2322: Type '{ kind: "sq"; x: number; y: number; }' is not assignable to type 'Shape'.
/third_party/ffmpeg/libavcodec/
Dmpegvideoencdsp.c84 const uint32_t *sq = ff_square_tab + 256; in pix_norm1_c() local
90 s += sq[x & 0xff]; in pix_norm1_c()
91 s += sq[(x >> 8) & 0xff]; in pix_norm1_c()
92 s += sq[(x >> 16) & 0xff]; in pix_norm1_c()
93 s += sq[(x >> 24) & 0xff]; in pix_norm1_c()
94 s += sq[(x >> 32) & 0xff]; in pix_norm1_c()
95 s += sq[(x >> 40) & 0xff]; in pix_norm1_c()
96 s += sq[(x >> 48) & 0xff]; in pix_norm1_c()
97 s += sq[(x >> 56) & 0xff]; in pix_norm1_c()
100 s += sq[x & 0xff]; in pix_norm1_c()
[all …]
Dme_cmp.c73 const uint32_t *sq = ff_square_tab + 256; in sse4_c() local
76 s += sq[pix1[0] - pix2[0]]; in sse4_c()
77 s += sq[pix1[1] - pix2[1]]; in sse4_c()
78 s += sq[pix1[2] - pix2[2]]; in sse4_c()
79 s += sq[pix1[3] - pix2[3]]; in sse4_c()
90 const uint32_t *sq = ff_square_tab + 256; in sse8_c() local
93 s += sq[pix1[0] - pix2[0]]; in sse8_c()
94 s += sq[pix1[1] - pix2[1]]; in sse8_c()
95 s += sq[pix1[2] - pix2[2]]; in sse8_c()
96 s += sq[pix1[3] - pix2[3]]; in sse8_c()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_fine_fence.h83 struct crocus_fine_fence *sq);
102 crocus_fine_fence_signaled(const struct crocus_fine_fence *sq) in crocus_fine_fence_signaled() argument
104 if (sq && !sq->map) in crocus_fine_fence_signaled()
106 return !sq || (READ_ONCE(*sq->map) >= sq->seqno); in crocus_fine_fence_signaled()
/third_party/elfutils/lib/
Dnext_prime.c39 size_t sq = divn * divn; in is_prime() local
41 while (sq < candidate && candidate % divn != 0) in is_prime()
43 size_t old_sq = sq; in is_prime()
45 sq += 4 * divn; in is_prime()
46 if (sq < old_sq) in is_prime()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_fine_fence.h81 void iris_fine_fence_destroy(struct iris_screen *screen, struct iris_fine_fence *sq);
100 iris_fine_fence_signaled(const struct iris_fine_fence *sq) in iris_fine_fence_signaled() argument
102 return !sq || (READ_ONCE(*sq->map) >= sq->seqno); in iris_fine_fence_signaled()
/third_party/musl/porting/liteos_a/user/src/misc/
Dwordexp.c30 int sq=0, dq=0; in do_wordexp() local
46 if (!sq && !s[++i]) return WRDE_SYNTAX; in do_wordexp()
49 if (!dq) sq^=1; in do_wordexp()
52 if (!sq) dq^=1; in do_wordexp()
72 if (!(sq|dq|np)) return WRDE_BADCHAR; in do_wordexp()
75 if (sq) break; in do_wordexp()
82 if (sq) break; in do_wordexp()
/third_party/musl/src/misc/
Dwordexp.c29 int sq=0, dq=0; in do_wordexp() local
45 if (!sq && !s[++i]) return WRDE_SYNTAX; in do_wordexp()
48 if (!dq) sq^=1; in do_wordexp()
51 if (!sq) dq^=1; in do_wordexp()
71 if (!(sq|dq|np)) return WRDE_BADCHAR; in do_wordexp()
74 if (sq) break; in do_wordexp()
81 if (sq) break; in do_wordexp()
/third_party/skia/third_party/externals/icu/source/data/unit/
Den_CA.txt228 dnam{"sq. feet"}
229 one{"{0} sq. ft."}
230 other{"{0} sq. ft."}
233 dnam{"sq. inches"}
234 one{"{0} sq. in."}
235 other{"{0} sq. in."}
236 per{"{0}/sq. in."}
239 dnam{"sq. miles"}
240 one{"{0} sq. mi."}
241 other{"{0} sq. mi."}
[all …]
/third_party/ffmpeg/tests/ref/vsynth/
Dvsynth1-dnxhd-uhd-hr-sq1 2c53759ba6cfa1136604558224879054 *tests/data/fate/vsynth1-dnxhd-uhd-hr-sq.dnxhd
2 12042240 tests/data/fate/vsynth1-dnxhd-uhd-hr-sq.dnxhd
3 c91ca079d81d02dca7b6ae0161f6e2db *tests/data/fate/vsynth1-dnxhd-uhd-hr-sq.out.rawvideo
Dvsynth1-dnxhd-hr-sq-mov1 31544b301d8a23101c1cf03d26546fb8 *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
2 2560763 tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
3 66d29f91cdf038753894dd42e65d997a *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.out.rawvideo

12345678910>>...19