Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 3547) sorted by relevance

12345678910>>...142

/third_party/flutter/engine/flutter/docs/
Dflutter_overview.svg1q-0.296875 -0.46875 -0.9375 -0.46875q-0.453125 0 -0.859375 0.28125q-0.40625 0.28125 -0.59375 0.828…
/third_party/python/Doc/library/
Dpathlib-inheritance.svg1q-0.234375 0.21875 -0.8125 0.21875l-3.46875 0q-0.578125 0 -0.828125 -0.21875q-0.25 -0.234375 -0.25…
/third_party/pulseaudio/src/pulsecore/
Dthread-mq.c38 pa_thread_mq *q = userdata; in asyncmsgq_read_cb() local
43 if (pa_asyncmsgq_read_fd(q->outq) == fd) in asyncmsgq_read_cb()
44 pa_asyncmsgq_ref(aq = q->outq); in asyncmsgq_read_cb()
45 else if (pa_asyncmsgq_read_fd(q->inq) == fd) in asyncmsgq_read_cb()
46 pa_asyncmsgq_ref(aq = q->inq); in asyncmsgq_read_cb()
81 pa_thread_mq *q = userdata; in asyncmsgq_write_inq_cb() local
83 pa_assert(pa_asyncmsgq_write_fd(q->inq) == fd); in asyncmsgq_write_inq_cb()
86 pa_asyncmsgq_write_after_poll(q->inq); in asyncmsgq_write_inq_cb()
87 pa_asyncmsgq_write_before_poll(q->inq); in asyncmsgq_write_inq_cb()
91 pa_thread_mq *q = userdata; in asyncmsgq_write_outq_cb() local
[all …]
Dqueue.c45 pa_queue *q = pa_xnew(pa_queue, 1); in pa_queue_new() local
47 q->front = q->back = NULL; in pa_queue_new()
48 q->length = 0; in pa_queue_new()
50 return q; in pa_queue_new()
53 void pa_queue_free(pa_queue *q, pa_free_cb_t free_func) { in pa_queue_free() argument
55 pa_assert(q); in pa_queue_free()
57 while ((data = pa_queue_pop(q))) in pa_queue_free()
61 pa_assert(!q->front); in pa_queue_free()
62 pa_assert(!q->back); in pa_queue_free()
63 pa_assert(q->length == 0); in pa_queue_free()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dast_type.cpp47 subroutine_only.flags.q.subroutine = 1; in has_qualifiers()
49 subroutine_only.flags.q.explicit_index = 1; in has_qualifiers()
56 return this->flags.q.smooth in has_interpolation()
57 || this->flags.q.flat in has_interpolation()
58 || this->flags.q.noperspective; in has_interpolation()
64 return this->flags.q.origin_upper_left in has_layout()
65 || this->flags.q.pixel_center_integer in has_layout()
66 || this->flags.q.depth_type in has_layout()
67 || this->flags.q.std140 in has_layout()
68 || this->flags.q.std430 in has_layout()
[all …]
/third_party/python/Lib/test/
Dtest_queue.py20 def qfull(q): argument
21 return q.maxsize > 0 and q.qsize() == q.maxsize
95 def basic_queue_test(self, q): argument
96 if q.qsize():
98 self.assertTrue(q.empty())
99 self.assertFalse(q.full())
101 q.put(111)
102 q.put(333)
103 q.put(222)
107 actual_order = [q.get(), q.get(), q.get()]
[all …]
/third_party/ffmpeg/libavcodec/
Ddvbsubenc.c35 *q++ = bitbuf;\
44 uint8_t *q, *line_begin; in dvb_encode_rle2() local
49 q = *pq; in dvb_encode_rle2()
55 line_begin = q; in dvb_encode_rle2()
56 *q++ = 0x10; in dvb_encode_rle2()
112 *q++ = bitbuf; in dvb_encode_rle2()
114 *q++ = 0xf0; in dvb_encode_rle2()
116 buf_size -= q - line_begin; in dvb_encode_rle2()
118 len = q - *pq; in dvb_encode_rle2()
119 *pq = q; in dvb_encode_rle2()
[all …]
Dcook.c111 void (*scalar_dequant)(struct cook *q, int index, int quant_index,
115 void (*decouple)(struct cook *q,
122 void (*imlt_window)(struct cook *q, float *buffer1,
125 void (*interpolate)(struct cook *q, float *buffer,
128 void (*saturate_output)(struct cook *q, float *out);
188 static av_cold void init_gain_table(COOKContext *q) in init_gain_table() argument
191 q->gain_size_factor = q->samples_per_channel / 8; in init_gain_table()
193 q->gain_table[i] = pow(pow2tab[i + 48], in init_gain_table()
194 (1.0 / (double) q->gain_size_factor)); in init_gain_table()
213 static av_cold int init_cook_vlc_tables(COOKContext *q) in init_cook_vlc_tables() argument
[all …]
Dqcelpdec.c87 QCELPContext *q = avctx->priv_data; in qcelp_decode_init() local
95 q->prev_lspf[i] = (i + 1) / 11.0; in qcelp_decode_init()
111 static int decode_lspf(QCELPContext *q, float *lspf) in decode_lspf() argument
117 if (q->bitrate == RATE_OCTAVE || q->bitrate == I_F_Q) { in decode_lspf()
118 predictors = q->prev_bitrate != RATE_OCTAVE && in decode_lspf()
119 q->prev_bitrate != I_F_Q ? q->prev_lspf in decode_lspf()
120 : q->predictor_lspf; in decode_lspf()
122 if (q->bitrate == RATE_OCTAVE) { in decode_lspf()
123 q->octave_count++; in decode_lspf()
126 q->predictor_lspf[i] = in decode_lspf()
[all …]
Dqsvenc.c132 static void dump_video_param(AVCodecContext *avctx, QSVEncContext *q, in dump_video_param() argument
135 mfxInfoMFX *info = &q->param.mfx; in dump_video_param()
300 static int select_rc_mode(AVCodecContext *avctx, QSVEncContext *q) in select_rc_mode() argument
305 int want_la = q->look_ahead; in select_rc_mode()
307 int want_vcm = q->vcm; in select_rc_mode()
383 q->param.mfx.RateControlMethod = rc_mode; in select_rc_mode()
389 static int check_enc_param(AVCodecContext *avctx, QSVEncContext *q) in check_enc_param() argument
391 mfxVideoParam param_out = { .mfx.CodecId = q->param.mfx.CodecId }; in check_enc_param()
394 #define UNMATCH(x) (param_out.mfx.x != q->param.mfx.x) in check_enc_param()
396 ret = MFXVideoENCODE_Query(q->session, &q->param, &param_out); in check_enc_param()
[all …]
Dqdm2.c316 static void average_quantized_coeffs(QDM2Context *q) in average_quantized_coeffs() argument
320 n = coeff_per_sb_for_avg[q->coeff_per_sb_select][QDM2_SB_USED(q->sub_sampling) - 1] + 1; in average_quantized_coeffs()
322 for (ch = 0; ch < q->nb_channels; ch++) in average_quantized_coeffs()
327 sum += q->quantized_coeffs[ch][i][j]; in average_quantized_coeffs()
334 q->quantized_coeffs[ch][i][j] = sum; in average_quantized_coeffs()
345 static void build_sb_samples_from_noise(QDM2Context *q, int sb) in build_sb_samples_from_noise() argument
349 FIX_NOISE_IDX(q->noise_idx); in build_sb_samples_from_noise()
351 if (!q->nb_channels) in build_sb_samples_from_noise()
354 for (ch = 0; ch < q->nb_channels; ch++) { in build_sb_samples_from_noise()
356 q->sb_samples[ch][j * 2][sb] = in build_sb_samples_from_noise()
[all …]
/third_party/ffmpeg/libavfilter/dnn/
Dqueue.c50 Queue *q = av_malloc(sizeof(*q)); in ff_queue_create() local
51 if (!q) in ff_queue_create()
54 q->head = create_entry(q); in ff_queue_create()
55 q->tail = create_entry(q); in ff_queue_create()
57 if (!q->head || !q->tail) { in ff_queue_create()
58 av_freep(&q->head); in ff_queue_create()
59 av_freep(&q->tail); in ff_queue_create()
60 av_freep(&q); in ff_queue_create()
64 q->head->next = q->tail; in ff_queue_create()
65 q->tail->prev = q->head; in ff_queue_create()
[all …]
/third_party/libuv/src/
Dqueue.h24 #define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0])) argument
25 #define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1])) argument
26 #define QUEUE_PREV_NEXT(q) (QUEUE_NEXT(QUEUE_PREV(q))) argument
27 #define QUEUE_NEXT_PREV(q) (QUEUE_PREV(QUEUE_NEXT(q))) argument
36 #define QUEUE_FOREACH(q, h) \ argument
37 for ((q) = QUEUE_NEXT(h); (q) != (h); (q) = QUEUE_NEXT(q))
39 #define QUEUE_EMPTY(q) \ argument
40 ((const QUEUE *) (q) == (const QUEUE *) QUEUE_NEXT(q))
42 #define QUEUE_HEAD(q) \ argument
43 (QUEUE_NEXT(q))
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_query.c124 query_mem64(struct crocus_query *q, uint32_t offset) in query_mem64() argument
126 return mi_mem64(rw_bo(crocus_resource_bo(q->query_state_ref.res), in query_mem64()
127 q->query_state_ref.offset + offset)); in query_mem64()
135 crocus_is_query_pipelined(struct crocus_query *q) in crocus_is_query_pipelined() argument
137 switch (q->type) { in crocus_is_query_pipelined()
152 mark_available(struct crocus_context *ice, struct crocus_query *q) in mark_available() argument
155 struct crocus_batch *batch = &ice->batches[q->batch_idx]; in mark_available()
159 struct crocus_bo *bo = crocus_resource_bo(q->query_state_ref.res); in mark_available()
160 offset += q->query_state_ref.offset; in mark_available()
162 if (!crocus_is_query_pipelined(q)) { in mark_available()
[all …]
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_query.c101 query_mem64(struct iris_query *q, uint32_t offset) in query_mem64() argument
104 .bo = iris_resource_bo(q->query_state_ref.res), in query_mem64()
105 .offset = q->query_state_ref.offset + offset, in query_mem64()
115 iris_is_query_pipelined(struct iris_query *q) in iris_is_query_pipelined() argument
117 switch (q->type) { in iris_is_query_pipelined()
132 mark_available(struct iris_context *ice, struct iris_query *q) in mark_available() argument
134 struct iris_batch *batch = &ice->batches[q->batch_idx]; in mark_available()
137 struct iris_bo *bo = iris_resource_bo(q->query_state_ref.res); in mark_available()
138 offset += q->query_state_ref.offset; in mark_available()
140 if (!iris_is_query_pipelined(q)) { in mark_available()
[all …]
/third_party/rust/crates/memchr/bench/src/memmem/
Dmod.rs113 ($inp:expr, $q:expr, $freq:expr, $impl:ident) => { in oneshot()
115 let available = imp::$impl::available($q.needle); in oneshot()
121 if $q.count <= 1 && available.contains(&config) { in oneshot()
122 let expected = $q.count > 0; in oneshot()
132 q = $q.name, in oneshot()
142 $find($inp.corpus, $q.needle) in oneshot()
157 ($inp:expr, $q:expr, $freq:expr) => { in oneshot()
158 def_impl!($inp, $q, $freq, krate); in oneshot()
159 def_impl!($inp, $q, $freq, krate_nopre); in oneshot()
160 def_impl!($inp, $q, $freq, bstr); in oneshot()
[all …]
/third_party/selinux/checkpolicy/
Dqueue.c15 queue_t q; in queue_create() local
17 q = (queue_t) malloc(sizeof(struct queue_info)); in queue_create()
18 if (q == NULL) in queue_create()
21 q->head = q->tail = NULL; in queue_create()
23 return q; in queue_create()
26 int queue_insert(queue_t q, queue_element_t e) in queue_insert() argument
30 if (!q) in queue_insert()
40 if (q->head == NULL) { in queue_insert()
41 q->head = q->tail = newnode; in queue_insert()
43 q->tail->next = newnode; in queue_insert()
[all …]
/third_party/python/Lib/test/test_asyncio/
Dtest_queues.py38 q = asyncio.Queue()
39 self.assertTrue(fn(q).startswith('<Queue'), fn(q))
40 id_is_present = hex(id(q)) in fn(q)
44 q = asyncio.Queue()
46 loop.create_task(q.get())
49 self.assertTrue('_getters[1]' in fn(q))
51 q.put_nowait(0)
56 q = asyncio.Queue(maxsize=1)
57 q.put_nowait(1)
59 loop.create_task(q.put(2))
[all …]
/third_party/lwip/test/unit/arch/
Dsys_arch.c250 sys_mbox_post(sys_mbox_t *q, void *msg) in sys_mbox_post() argument
252 LWIP_ASSERT("q != SYS_MBOX_NULL", q != SYS_MBOX_NULL); in sys_mbox_post()
253 LWIP_ASSERT("q->sem == q", q->sem == q); in sys_mbox_post()
254 LWIP_ASSERT("q->q_mem != NULL", q->q_mem != NULL); in sys_mbox_post()
255 LWIP_ASSERT("q->used >= 0", q->used >= 0); in sys_mbox_post()
256 LWIP_ASSERT("q->size > 0", q->size > 0); in sys_mbox_post()
258 LWIP_ASSERT("mbox already full", q->used < q->size); in sys_mbox_post()
260 q->q_mem[q->head] = msg; in sys_mbox_post()
261 q->head++; in sys_mbox_post()
262 if (q->head >= (unsigned int)q->size) { in sys_mbox_post()
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/lang/check/
Dtype.go25 func (q *checker) tcheckVars(block []*a.Node) error {
31 q.errFilename, q.errLine = o.AsRaw().FilenameLine()
35 if _, ok := q.localVars[name]; ok {
36 return fmt.Errorf("check: duplicate var %q", name.Str(q.tm))
38 if err := q.tcheckTypeExpr(o.XType(), 0); err != nil {
41 q.localVars[name] = o.XType()
46 func (q *checker) tcheckStatement(n *a.Node) error {
47 q.errFilename, q.errLine = n.AsRaw().FilenameLine()
51 if err := q.tcheckAssert(n.AsAssert()); err != nil {
56 if err := q.tcheckAssign(n.AsAssign()); err != nil {
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DRBBIAPITest.java175 int p, q; in TestFirstNextFollowing() local
184 q = wordIter1.next(9); in TestFirstNextFollowing()
185 doTest(testString, p, q, 20, "This is a word break"); in TestFirstNextFollowing()
186 p = q; in TestFirstNextFollowing()
187 q = wordIter1.next(); in TestFirstNextFollowing()
188 doTest(testString, p, q, 21, "."); in TestFirstNextFollowing()
189 p = q; in TestFirstNextFollowing()
190 q = wordIter1.next(3); in TestFirstNextFollowing()
191 doTest(testString, p, q, 28, " Isn't "); in TestFirstNextFollowing()
192 p = q; in TestFirstNextFollowing()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java172 int p, q; in TestFirstNextFollowing() local
181 q = wordIter1.next(9); in TestFirstNextFollowing()
182 doTest(testString, p, q, 20, "This is a word break"); in TestFirstNextFollowing()
183 p = q; in TestFirstNextFollowing()
184 q = wordIter1.next(); in TestFirstNextFollowing()
185 doTest(testString, p, q, 21, "."); in TestFirstNextFollowing()
186 p = q; in TestFirstNextFollowing()
187 q = wordIter1.next(3); in TestFirstNextFollowing()
188 doTest(testString, p, q, 28, " Isn't "); in TestFirstNextFollowing()
189 p = q; in TestFirstNextFollowing()
[all …]
/third_party/mesa3d/src/mesa/main/
Dqueryobj.c48 struct gl_query_object *q = CALLOC_STRUCT(gl_query_object); in new_query_object() local
49 if (q) { in new_query_object()
50 q->Id = id; in new_query_object()
51 q->Ready = GL_TRUE; in new_query_object()
52 q->pq = NULL; in new_query_object()
53 q->type = PIPE_QUERY_TYPES; /* an invalid value */ in new_query_object()
54 return q; in new_query_object()
61 free_queries(struct pipe_context *pipe, struct gl_query_object *q) in free_queries() argument
63 if (q->pq) { in free_queries()
64 pipe->destroy_query(pipe, q->pq); in free_queries()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
Dastc_mathlib.h108 vtype4(T p, T q, T r, T s) : x(p), y(q), z(r), w(s) {} in vtype4() argument
122 …ic inline int4 operator+(int4 p, int4 q) { return int4( p.x + q.x, p.y + q.y, p.z + q
123 …c inline uint4 operator+(uint4 p, uint4 q) { return uint4( p.x + q.x, p.y + q.y, p.z + q.…
125 …ic inline int4 operator-(int4 p, int4 q) { return int4( p.x - q.x, p.y - q.y, p.z - q
126 …c inline uint4 operator-(uint4 p, uint4 q) { return uint4( p.x - q.x, p.y - q.y, p.z - q.…
128 …ic inline int4 operator*(int4 p, int4 q) { return int4( p.x * q.x, p.y * q.y, p.z * q
129 …c inline uint4 operator*(uint4 p, uint4 q) { return uint4( p.x * q.x, p.y * q.y, p.z * q.…
131 …tatic inline int4 operator*(int4 p, int q) { return int4( p.x * q, p.y * q, p.z * q,…
132 …tic inline uint4 operator*(uint4 p, uint32_t q) { return uint4( p.x * q, p.y * q, p.z * q, p…
134 static inline int4 operator*(int p, int4 q) { return q * p; }
[all …]
/third_party/libwebsockets/lib/system/async-dns/
Dasync-dns.c35 lws_adns_q_destroy(lws_adns_q_t *q) in lws_adns_q_destroy() argument
37 lws_metrics_caliper_report(q->metcal, (char)q->go_nogo); in lws_adns_q_destroy()
39 lws_sul_cancel(&q->sul); in lws_adns_q_destroy()
40 lws_sul_cancel(&q->write_sul); in lws_adns_q_destroy()
41 lws_dll2_remove(&q->list); in lws_adns_q_destroy()
42 lws_free(q); in lws_adns_q_destroy()
51 lws_adns_q_t *q = lws_container_of(d, lws_adns_q_t, list); in lws_adns_get_query() local
52 int n = 0, nmax = q->tids >= LWS_ARRAY_SIZE(q->tid) ? in lws_adns_get_query()
53 LWS_ARRAY_SIZE(q->tid) : q->tids; in lws_adns_get_query()
57 if ((tid & 0xfffe) == (q->tid[n] & 0xfffe)) in lws_adns_get_query()
[all …]

12345678910>>...142