/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_vertprog.c | 37 nv30_vertprog_destroy(struct nv30_vertprog *vp) in nv30_vertprog_destroy() argument 39 util_dynarray_fini(&vp->branch_relocs); in nv30_vertprog_destroy() 40 nouveau_heap_free(&vp->exec); in nv30_vertprog_destroy() 41 FREE(vp->insns); in nv30_vertprog_destroy() 42 vp->insns = NULL; in nv30_vertprog_destroy() 43 vp->nr_insns = 0; in nv30_vertprog_destroy() 45 util_dynarray_fini(&vp->const_relocs); in nv30_vertprog_destroy() 46 nouveau_heap_free(&vp->data); in nv30_vertprog_destroy() 47 FREE(vp->consts); in nv30_vertprog_destroy() 48 vp->consts = NULL; in nv30_vertprog_destroy() [all …]
|
/external/pdfium/fpdfsdk/javascript/ |
D | event.cpp | 50 CJS_PropValue& vp, in change() argument 55 if (vp.IsSetting()) { in change() 56 if (vp.GetJSValue()->GetType() == CJS_Value::VT_string) in change() 57 vp >> wChange; in change() 60 vp << wChange; in change() 65 CJS_PropValue& vp, in changeEx() argument 67 if (!vp.IsGetting()) in changeEx() 73 vp << pEvent->ChangeEx(); in changeEx() 78 CJS_PropValue& vp, in commitKey() argument 80 if (!vp.IsGetting()) in commitKey() [all …]
|
/external/libcxx/test/std/utilities/memory/default.allocator/ |
D | allocator_pointers.pass.cpp | 39 typename std::allocator_traits<Alloc>::pointer vp; in test_pointer() local 42 ((void)vp); // Prevent unused warning in test_pointer() 45 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer() 46 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer() 47 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer() 48 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer() 52 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 53 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() [all …]
|
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/ |
D | allocator_pointers.pass.cpp | 40 typename std::allocator_traits<Alloc>::pointer vp; in test_pointer() local 43 ((void)vp); // Prevent unused warning in test_pointer() 46 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer() 47 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer() 48 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer() 51 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer() 53 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 54 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() [all …]
|
/external/mksh/src/ |
D | var.c | 97 struct tbl *vp, **vpp = l->vars.tbls, *vq; in popblock() local 104 if ((vp = *vpp++) != NULL && (vp->flag&SPECIAL)) { in popblock() 105 if ((vq = global(vp->name))->flag & ISSET) in popblock() 153 register struct tbl *vp; in varsearch() local 157 if ((vp = ktsearch(&l->vars, vn, h)) != NULL) in varsearch() 164 vp = NULL; in varsearch() 166 *vpp = vp; in varsearch() 187 struct tbl *vp; in array_index_calc() local 192 varsearch(e->loc, &vp, vn, hash(vn)); in array_index_calc() 194 if (vp && (vp->flag & (DEFINED | ASSOC | ARRAY)) == in array_index_calc() [all …]
|
/external/fec/ |
D | viterbi27_av.c | 28 struct v27 *vp = p; in init_viterbi27_av() local 34 vp->metrics1.v[i] = (vector unsigned char)(63); in init_viterbi27_av() 35 vp->old_metrics = &vp->metrics1; in init_viterbi27_av() 36 vp->new_metrics = &vp->metrics2; in init_viterbi27_av() 37 vp->dp = vp->decisions; in init_viterbi27_av() 38 vp->old_metrics->c[starting_state & 63] = 0; /* Bias known start state */ in init_viterbi27_av() 54 struct v27 *vp; in create_viterbi27_av() local 60 if((vp = (struct v27 *)malloc(sizeof(struct v27))) == NULL) in create_viterbi27_av() 62 if((vp->decisions = (decision_t *)malloc((len+6)*sizeof(decision_t))) == NULL){ in create_viterbi27_av() 63 free(vp); in create_viterbi27_av() [all …]
|
D | viterbi615_port.c | 28 struct v615 *vp; in create_viterbi615_port() local 34 if((vp = (struct v615 *)malloc(sizeof(struct v615))) == NULL) in create_viterbi615_port() 36 if((vp->decisions = malloc((len+14)*sizeof(decision_t))) == NULL){ in create_viterbi615_port() 37 free(vp); in create_viterbi615_port() 40 init_viterbi615(vp,0); in create_viterbi615_port() 41 return vp; in create_viterbi615_port() 57 struct v615 *vp = p; in init_viterbi615_port() local 63 vp->metrics1.w[i] = 1000; in init_viterbi615_port() 65 vp->old_metrics = &vp->metrics1; in init_viterbi615_port() 66 vp->new_metrics = &vp->metrics2; in init_viterbi615_port() [all …]
|
D | viterbi39_mmx.c | 28 struct v39 *vp = p; in init_viterbi39_mmx() local 34 vp->metrics1.s[i] = 1000; in init_viterbi39_mmx() 36 vp->old_metrics = &vp->metrics1; in init_viterbi39_mmx() 37 vp->new_metrics = &vp->metrics2; in init_viterbi39_mmx() 38 vp->dp = vp->decisions; in init_viterbi39_mmx() 39 vp->old_metrics->s[starting_state & 255] = 0; /* Bias known start state */ in init_viterbi39_mmx() 56 struct v39 *vp; in create_viterbi39_mmx() local 62 if((vp = (struct v39 *)malloc(sizeof(struct v39))) == NULL) in create_viterbi39_mmx() 64 if((vp->decisions = malloc((len+8)*sizeof(decision_t))) == NULL){ in create_viterbi39_mmx() 65 free(vp); in create_viterbi39_mmx() [all …]
|
D | viterbi29_av.c | 28 struct v29 *vp = p; in init_viterbi29_av() local 34 vp->metrics1.v[i] = (vector unsigned char)(63); in init_viterbi29_av() 36 vp->old_metrics = &vp->metrics1; in init_viterbi29_av() 37 vp->new_metrics = &vp->metrics2; in init_viterbi29_av() 38 vp->dp = vp->decisions; in init_viterbi29_av() 39 vp->old_metrics->c[starting_state & 255] = 0; /* Bias known start state */ in init_viterbi29_av() 55 struct v29 *vp; in create_viterbi29_av() local 61 if((vp = (struct v29 *)malloc(sizeof(struct v29))) == NULL) in create_viterbi29_av() 63 if((vp->decisions = (decision_t *)malloc((len+8)*sizeof(decision_t))) == NULL){ in create_viterbi29_av() 64 free(vp); in create_viterbi29_av() [all …]
|
D | viterbi29_port.c | 27 struct v29 *vp = p; in init_viterbi29_port() local 33 vp->metrics1.w[i] = 63; in init_viterbi29_port() 35 vp->old_metrics = &vp->metrics1; in init_viterbi29_port() 36 vp->new_metrics = &vp->metrics2; in init_viterbi29_port() 37 vp->dp = vp->decisions; in init_viterbi29_port() 38 vp->old_metrics->w[starting_state & 255] = 0; /* Bias known start state */ in init_viterbi29_port() 55 struct v29 *vp; in create_viterbi29_port() local 61 if((vp = (struct v29 *)malloc(sizeof(struct v29))) == NULL) in create_viterbi29_port() 64 if((vp->decisions = (decision_t *)malloc((len+8)*sizeof(decision_t))) == NULL){ in create_viterbi29_port() 65 free(vp); in create_viterbi29_port() [all …]
|
D | viterbi39_sse.c | 29 struct v39 *vp = p; in init_viterbi39_sse() local 35 vp->metrics1.s[i] = (SHRT_MIN+1000); in init_viterbi39_sse() 37 vp->old_metrics = &vp->metrics1; in init_viterbi39_sse() 38 vp->new_metrics = &vp->metrics2; in init_viterbi39_sse() 39 vp->dp = vp->decisions; in init_viterbi39_sse() 40 vp->old_metrics->s[starting_state & 255] = SHRT_MIN; /* Bias known start state */ in init_viterbi39_sse() 46 struct v39 *vp; in create_viterbi39_sse() local 53 if((vp = (struct v39 *)malloc(sizeof(struct v39))) == NULL){ in create_viterbi39_sse() 56 if((vp->decisions = malloc((len+8)*sizeof(decision_t))) == NULL){ in create_viterbi39_sse() 57 free(vp); in create_viterbi39_sse() [all …]
|
D | viterbi39_sse2.c | 29 struct v39 *vp = p; in init_viterbi39_sse2() local 33 vp->metrics1.s[i] = (SHRT_MIN+1000); in init_viterbi39_sse2() 35 vp->old_metrics = &vp->metrics1; in init_viterbi39_sse2() 36 vp->new_metrics = &vp->metrics2; in init_viterbi39_sse2() 37 vp->dp = vp->decisions; in init_viterbi39_sse2() 38 vp->old_metrics->s[starting_state & 255] = SHRT_MIN; /* Bias known start state */ in init_viterbi39_sse2() 45 struct v39 *vp; in create_viterbi39_sse2() local 56 vp = (struct v39 *)p; in create_viterbi39_sse2() 58 free(vp); in create_viterbi39_sse2() 61 vp->decisions = (decision_t *)p; in create_viterbi39_sse2() [all …]
|
D | viterbi39_port.c | 27 struct v39 *vp = p; in init_viterbi39_port() local 33 vp->metrics1.w[i] = 63; in init_viterbi39_port() 35 vp->old_metrics = &vp->metrics1; in init_viterbi39_port() 36 vp->new_metrics = &vp->metrics2; in init_viterbi39_port() 37 vp->dp = vp->decisions; in init_viterbi39_port() 38 vp->old_metrics->w[starting_state & 255] = 0; /* Bias known start state */ in init_viterbi39_port() 55 struct v39 *vp; in create_viterbi39_port() local 61 if((vp = (struct v39 *)malloc(sizeof(struct v39))) == NULL) in create_viterbi39_port() 64 if((vp->decisions = (decision_t *)malloc((len+8)*sizeof(decision_t))) == NULL){ in create_viterbi39_port() 65 free(vp); in create_viterbi39_port() [all …]
|
D | viterbi615_sse.c | 29 struct v615 *vp = p; in init_viterbi615_sse() local 35 vp->metrics1.s[i] = (SHRT_MIN+5000); in init_viterbi615_sse() 37 vp->old_metrics = &vp->metrics1; in init_viterbi615_sse() 38 vp->new_metrics = &vp->metrics2; in init_viterbi615_sse() 39 vp->dp = vp->decisions; in init_viterbi615_sse() 40 vp->old_metrics->s[starting_state & 16383] = SHRT_MIN; /* Bias known start state */ in init_viterbi615_sse() 46 struct v615 *vp; in create_viterbi615_sse() local 53 if((vp = (struct v615 *)malloc(sizeof(struct v615))) == NULL){ in create_viterbi615_sse() 56 if((vp->decisions = malloc((len+14)*sizeof(decision_t))) == NULL){ in create_viterbi615_sse() 57 free(vp); in create_viterbi615_sse() [all …]
|
D | viterbi615_sse2.c | 29 struct v615 *vp = p; in init_viterbi615_sse2() local 35 vp->metrics1.s[i] = (SHRT_MIN+5000); in init_viterbi615_sse2() 37 vp->old_metrics = &vp->metrics1; in init_viterbi615_sse2() 38 vp->new_metrics = &vp->metrics2; in init_viterbi615_sse2() 39 vp->dp = vp->decisions; in init_viterbi615_sse2() 40 vp->old_metrics->s[starting_state & 16383] = SHRT_MIN; /* Bias known start state */ in init_viterbi615_sse2() 47 struct v615 *vp; in create_viterbi615_sse2() local 58 vp = (struct v615 *)p; in create_viterbi615_sse2() 60 free(vp); in create_viterbi615_sse2() 63 vp->decisions = (decision_t *)p; in create_viterbi615_sse2() [all …]
|
D | viterbi27_sse2.c | 28 struct v27 *vp = p; in init_viterbi27_sse2() local 34 vp->metrics1.c[i] = 63; in init_viterbi27_sse2() 36 vp->old_metrics = &vp->metrics1; in init_viterbi27_sse2() 37 vp->new_metrics = &vp->metrics2; in init_viterbi27_sse2() 38 vp->dp = vp->decisions; in init_viterbi27_sse2() 39 vp->old_metrics->c[starting_state & 63] = 0; /* Bias known start state */ in init_viterbi27_sse2() 57 struct v27 *vp; in create_viterbi27_sse2() local 66 vp = (struct v27 *)p; in create_viterbi27_sse2() 69 free(vp); in create_viterbi27_sse2() 72 vp->decisions = (decision_t *)p; in create_viterbi27_sse2() [all …]
|
D | viterbi27_port.c | 30 struct v27 *vp = p; in init_viterbi27_port() local 36 vp->metrics1.w[i] = 63; in init_viterbi27_port() 38 vp->old_metrics = &vp->metrics1; in init_viterbi27_port() 39 vp->new_metrics = &vp->metrics2; in init_viterbi27_port() 40 vp->dp = vp->decisions; in init_viterbi27_port() 41 vp->old_metrics->w[starting_state & 63] = 0; /* Bias known start state */ in init_viterbi27_port() 57 struct v27 *vp; in create_viterbi27_port() local 63 if((vp = malloc(sizeof(struct v27))) == NULL) in create_viterbi27_port() 65 if((vp->decisions = malloc((len+6)*sizeof(decision_t))) == NULL){ in create_viterbi27_port() 66 free(vp); in create_viterbi27_port() [all …]
|
D | viterbi39_av.c | 29 struct v39 *vp = p; in init_viterbi39_av() local 33 vp->metrics1.v[i] = (vector unsigned short)(1000); in init_viterbi39_av() 35 vp->old_metrics = &vp->metrics1; in init_viterbi39_av() 36 vp->new_metrics = &vp->metrics2; in init_viterbi39_av() 37 vp->dp = vp->decisions; in init_viterbi39_av() 38 vp->old_metrics->s[starting_state & 255] = 0; /* Bias known start state */ in init_viterbi39_av() 55 struct v39 *vp; in create_viterbi39_av() local 62 vp = (struct v39 *)malloc(sizeof(struct v39)); in create_viterbi39_av() 63 vp->decisions = malloc(sizeof(decision_t)*(len+8)); in create_viterbi39_av() 64 init_viterbi39_av(vp,0); in create_viterbi39_av() [all …]
|
D | viterbi615_mmx.c | 28 struct v615 *vp = p; in init_viterbi615_mmx() local 34 vp->metrics1.s[i] = 5000; in init_viterbi615_mmx() 36 vp->old_metrics = &vp->metrics1; in init_viterbi615_mmx() 37 vp->new_metrics = &vp->metrics2; in init_viterbi615_mmx() 38 vp->dp = vp->decisions; in init_viterbi615_mmx() 39 vp->old_metrics->s[starting_state & 16383] = 0; /* Bias known start state */ in init_viterbi615_mmx() 45 struct v615 *vp; in create_viterbi615_mmx() local 52 if((vp = (struct v615 *)malloc(sizeof(struct v615))) == NULL) in create_viterbi615_mmx() 54 if((vp->decisions = malloc((len+14)*sizeof(decision_t))) == NULL){ in create_viterbi615_mmx() 55 free(vp); in create_viterbi615_mmx() [all …]
|
D | viterbi615_av.c | 29 struct v615 *vp = p; in init_viterbi615_av() local 36 vp->metrics1.v[i] = (vector unsigned short)(5000); in init_viterbi615_av() 38 vp->old_metrics = &vp->metrics1; in init_viterbi615_av() 39 vp->new_metrics = &vp->metrics2; in init_viterbi615_av() 40 vp->dp = vp->decisions; in init_viterbi615_av() 41 vp->old_metrics->s[starting_state & 16383] = 0; /* Bias known start state */ in init_viterbi615_av() 47 struct v615 *vp; in create_viterbi615_av() local 53 vp = (struct v615 *)malloc(sizeof(struct v615)); in create_viterbi615_av() 54 vp->decisions = malloc(sizeof(decision_t)*(len+14)); in create_viterbi615_av() 55 init_viterbi615_av(vp,0); in create_viterbi615_av() [all …]
|
D | viterbi27_sse.c | 28 struct v27 *vp; in create_viterbi27_sse() local 35 if((vp = malloc(sizeof(struct v27))) == NULL) in create_viterbi27_sse() 37 if((vp->decisions = malloc((len+6)*sizeof(decision_t))) == NULL){ in create_viterbi27_sse() 38 free(vp); in create_viterbi27_sse() 41 init_viterbi27(vp,0); in create_viterbi27_sse() 42 return vp; in create_viterbi27_sse() 57 struct v27 *vp = p; in init_viterbi27_sse() local 63 vp->metrics1.c[i] = 63; in init_viterbi27_sse() 65 vp->old_metrics = &vp->metrics1; in init_viterbi27_sse() 66 vp->new_metrics = &vp->metrics2; in init_viterbi27_sse() [all …]
|
D | viterbi29_sse.c | 30 struct v29 *vp; in create_viterbi29_sse() local 37 if((vp = (struct v29 *)malloc(sizeof(struct v29))) == NULL) in create_viterbi29_sse() 39 if((vp->decisions = (decision_t *)malloc((len+8)*sizeof(decision_t))) == NULL){ in create_viterbi29_sse() 40 free(vp); in create_viterbi29_sse() 43 init_viterbi29(vp,0); in create_viterbi29_sse() 44 return vp; in create_viterbi29_sse() 59 struct v29 *vp = p; in init_viterbi29_sse() local 65 vp->metrics1.w[i] = 200; in init_viterbi29_sse() 67 vp->old_metrics = &vp->metrics1; in init_viterbi29_sse() 68 vp->new_metrics = &vp->metrics2; in init_viterbi29_sse() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen8_viewport_state.c | 48 float *vp = brw_state_batch(brw, AUB_TRACE_SF_VP_STATE, in gen8_upload_sf_clip_viewport() local 68 vp[0] = scale[0]; /* m00 */ in gen8_upload_sf_clip_viewport() 69 vp[1] = scale[1] * y_scale; /* m11 */ in gen8_upload_sf_clip_viewport() 70 vp[2] = scale[2]; /* m22 */ in gen8_upload_sf_clip_viewport() 71 vp[3] = translate[0]; /* m30 */ in gen8_upload_sf_clip_viewport() 72 vp[4] = translate[1] * y_scale + y_bias; /* m31 */ in gen8_upload_sf_clip_viewport() 73 vp[5] = translate[2]; /* m32 */ in gen8_upload_sf_clip_viewport() 76 vp[6] = 0; in gen8_upload_sf_clip_viewport() 77 vp[7] = 0; in gen8_upload_sf_clip_viewport() 80 vp[0], vp[1], vp[3], vp[4], in gen8_upload_sf_clip_viewport() [all …]
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_state_viewport.c | 125 viewport_matrix_set_gen7_SF_CLIP_VIEWPORT(struct ilo_state_viewport *vp, in viewport_matrix_set_gen7_SF_CLIP_VIEWPORT() argument 173 STATIC_ASSERT(ARRAY_SIZE(vp->sf_clip[i]) >= 16); in viewport_matrix_set_gen7_SF_CLIP_VIEWPORT() 174 memcpy(vp->sf_clip[i], dw, sizeof(dw)); in viewport_matrix_set_gen7_SF_CLIP_VIEWPORT() 181 viewport_matrix_set_gen6_CC_VIEWPORT(struct ilo_state_viewport *vp, in viewport_matrix_set_gen6_CC_VIEWPORT() argument 196 STATIC_ASSERT(ARRAY_SIZE(vp->cc[i]) >= 2); in viewport_matrix_set_gen6_CC_VIEWPORT() 197 vp->cc[i][0] = fui(min_z); in viewport_matrix_set_gen6_CC_VIEWPORT() 198 vp->cc[i][1] = fui(max_z); in viewport_matrix_set_gen6_CC_VIEWPORT() 205 viewport_scissor_set_gen6_SCISSOR_RECT(struct ilo_state_viewport *vp, in viewport_scissor_set_gen6_SCISSOR_RECT() argument 230 STATIC_ASSERT(ARRAY_SIZE(vp->scissor[i]) >= 2); in viewport_scissor_set_gen6_SCISSOR_RECT() 231 vp->scissor[i][0] = dw0; in viewport_scissor_set_gen6_SCISSOR_RECT() [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | avpair.c | 22 VALUE_PAIR **vp); 37 VALUE_PAIR *vp; in rc_avpair_add() local 39 vp = rc_avpair_new (attrid, pval, len, vendorcode); in rc_avpair_add() 41 if (vp != (VALUE_PAIR *) NULL) in rc_avpair_add() 43 rc_avpair_insert (list, (VALUE_PAIR *) NULL, vp); in rc_avpair_add() 46 return vp; in rc_avpair_add() 60 int rc_avpair_assign (VALUE_PAIR *vp, void *pval, int len) in rc_avpair_assign() argument 64 switch (vp->type) in rc_avpair_assign() 75 memcpy(vp->strvalue, (char *)pval, len); in rc_avpair_assign() 76 vp->strvalue[len] = '\0'; in rc_avpair_assign() [all …]
|