/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_vertprog.c | 35 nv30_vertprog_destroy(struct nv30_vertprog *vp) in nv30_vertprog_destroy() argument 37 util_dynarray_fini(&vp->branch_relocs); in nv30_vertprog_destroy() 38 nouveau_heap_free(&vp->exec); in nv30_vertprog_destroy() 39 FREE(vp->insns); in nv30_vertprog_destroy() 40 vp->insns = NULL; in nv30_vertprog_destroy() 41 vp->nr_insns = 0; in nv30_vertprog_destroy() 43 util_dynarray_fini(&vp->const_relocs); in nv30_vertprog_destroy() 44 nouveau_heap_free(&vp->data); in nv30_vertprog_destroy() 45 FREE(vp->consts); in nv30_vertprog_destroy() 46 vp->consts = NULL; in nv30_vertprog_destroy() [all …]
|
D | nvfx_vertprog.c | 41 struct nv30_vertprog *vp; member 90 struct nv30_vertprog *vp = vpc->vp; in constant() local 95 for (idx = 0; idx < vp->nr_consts; idx++) { in constant() 96 if (vp->consts[idx].index == pipe) in constant() 101 idx = vp->nr_consts++; in constant() 102 vp->consts = realloc(vp->consts, sizeof(*vpd) * vp->nr_consts); in constant() 103 vpd = &vp->consts[idx]; in constant() 120 struct nv30_vertprog *vp = vpc->vp; in emit_src() local 132 vp->ir |= (1 << src.reg.index); in emit_src() 139 reloc.location = vp->nr_insns - 1; in emit_src() [all …]
|
/external/libcxx/test/std/utilities/memory/default.allocator/ |
D | allocator_pointers.pass.cpp | 37 typename std::allocator_traits<Alloc>::pointer vp; in test_pointer() local 40 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer() 41 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer() 42 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer() 43 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer() 44 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer() 45 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer() 47 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 48 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer() [all …]
|
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/ |
D | allocator_pointers.pass.cpp | 38 typename std::allocator_traits<Alloc>::pointer vp; in test_pointer() local 41 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer() 42 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer() 43 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer() 44 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); 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() 48 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer() [all …]
|
/external/mksh/src/ |
D | var.c | 94 struct tbl *vp, **vpp = l->vars.tbls, *vq; in popblock() local 101 if ((vp = *vpp++) != NULL && (vp->flag&SPECIAL)) { in popblock() 102 if ((vq = global(vp->name))->flag & ISSET) in popblock() 150 register struct tbl *vp; in varsearch() local 154 if ((vp = ktsearch(&l->vars, vn, h)) != NULL) in varsearch() 161 vp = NULL; in varsearch() 163 *vpp = vp; in varsearch() 184 struct tbl *vp; in array_index_calc() local 189 varsearch(e->loc, &vp, vn, hash(vn)); in array_index_calc() 191 if (vp && (vp->flag & (DEFINED | ASSOC | ARRAY)) == in array_index_calc() [all …]
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | event.cpp | 59 FX_BOOL event::change(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) in change() argument 67 if (vp.IsSetting()) in change() 69 if (vp.GetType() == VT_string) in change() 70 vp >> wChange; in change() 74 vp << wChange; in change() 79 FX_BOOL event::changeEx(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) in changeEx() argument 81 if (!vp.IsGetting())return FALSE; in changeEx() 88 vp << pEvent->ChangeEx(); in changeEx() 92 FX_BOOL event::commitKey(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) in commitKey() argument 94 if (!vp.IsGetting())return FALSE; in commitKey() [all …]
|
D | Field.cpp | 379 FX_BOOL Field::alignment(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) in alignment() argument 383 if (vp.IsSetting()) in alignment() 388 vp >> alignStr; in alignment() 417 vp << L"center"; in alignment() 420 vp << L"left"; in alignment() 423 vp << L"right"; in alignment() 426 vp << L""; in alignment() 439 FX_BOOL Field::borderStyle(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) in borderStyle() argument 443 if (vp.IsSetting()) in borderStyle() 448 vp >> strType; in borderStyle() [all …]
|
D | Document.cpp | 193 FX_BOOL Document::numFields(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) in numFields() argument 195 if (vp.IsSetting()) { in numFields() 202 vp << (int)pPDFForm->CountFields(); in numFields() 206 FX_BOOL Document::dirty(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) in dirty() argument 210 if (vp.IsGetting()) in dirty() 213 vp << true; in dirty() 215 vp << false; in dirty() 221 vp >> bChanged; in dirty() 232 FX_BOOL Document::ADBE(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) in ADBE() argument 236 if (vp.IsGetting()) in ADBE() [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 …]
|
D | sendserver.c | 33 static int rc_pack_list (VALUE_PAIR *vp, char *secret, AUTH_HDR *auth) in rc_pack_list() argument 44 while (vp != (VALUE_PAIR *) NULL) in rc_pack_list() 47 if (vp->vendorcode != VENDOR_NONE) { in rc_pack_list() 55 *buf++ = (((unsigned int) vp->vendorcode) >> 16) & 255; in rc_pack_list() 56 *buf++ = (((unsigned int) vp->vendorcode) >> 8) & 255; in rc_pack_list() 57 *buf++ = ((unsigned int) vp->vendorcode) & 255; in rc_pack_list() 60 *buf++ = vp->attribute; in rc_pack_list() 63 switch(vp->type) { in rc_pack_list() 65 length = vp->lvalue; in rc_pack_list() 68 memcpy(buf, vp->strvalue, (size_t) length); in rc_pack_list() [all …]
|
D | radius.c | 86 static int radius_setparams(VALUE_PAIR *vp, char *msg, REQUEST_INFO *req_info, 96 static int radius_setmppekeys(VALUE_PAIR *vp, REQUEST_INFO *req_info, 98 static int radius_setmppekeys2(VALUE_PAIR *vp, REQUEST_INFO *req_info); 537 radius_setparams(VALUE_PAIR *vp, char *msg, REQUEST_INFO *req_info, in radius_setparams() argument 559 (*radius_attributes_hook)(vp); in radius_setparams() 567 while (vp) { in radius_setparams() 568 if (vp->vendorcode == VENDOR_NONE) { in radius_setparams() 569 switch (vp->attribute) { in radius_setparams() 573 if (vp->lvalue != PW_FRAMED) { in radius_setparams() 575 vp->lvalue, rstate.user); in radius_setparams() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
D | RenderManager.java | 263 ViewPort vp = new ViewPort(viewName, cam); in createPreView() local 264 preViewPorts.add(vp); in createPreView() 265 return vp; in createPreView() 275 ViewPort vp = new ViewPort(viewName, cam); in createMainView() local 276 viewPorts.add(vp); in createMainView() 277 return vp; in createMainView() 286 ViewPort vp = new ViewPort(viewName, cam); in createPostView() local 287 postViewPorts.add(vp); in createPostView() 288 return vp; in createPostView() 291 private void notifyReshape(ViewPort vp, int w, int h) { in notifyReshape() argument [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_vertprog.c | 103 static GLboolean r200VertexProgUpdateParams(struct gl_context *ctx, struct r200_vertex_program *vp) in r200VertexProgUpdateParams() argument 108 struct gl_vertex_program *mesa_vp = &vp->mesa_program; in r200VertexProgUpdateParams() 239 static void vp_dump_inputs(struct r200_vertex_program *vp, char *caller) 243 if(vp == NULL){ 250 fprintf(stderr, "%d ", vp->inputs[i]); 256 static unsigned long t_src_index(struct r200_vertex_program *vp, struct prog_src_register *src) in t_src_index() argument 273 assert(vp->inputs[src->Index] != -1); in t_src_index() 274 return vp->inputs[src->Index]; in t_src_index() 284 static unsigned long t_src(struct r200_vertex_program *vp, struct prog_src_register *src) in t_src() argument 287 return MAKE_VSF_SOURCE(t_src_index(vp, src), in t_src() [all …]
|
/external/pdfium/fpdfsdk/include/javascript/ |
D | event.h | 19 FX_BOOL change(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 20 FX_BOOL changeEx(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 21 FX_BOOL commitKey(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 22 FX_BOOL fieldFull(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 23 FX_BOOL keyDown(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 24 FX_BOOL modifier(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 25 FX_BOOL name(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 26 FX_BOOL rc(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 27 FX_BOOL richChange(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 28 FX_BOOL richChangeEx(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); [all …]
|
D | Field.h | 106 FX_BOOL alignment(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 107 FX_BOOL borderStyle(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 108 FX_BOOL buttonAlignX(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 109 FX_BOOL buttonAlignY(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 110 FX_BOOL buttonFitBounds(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 111 FX_BOOL buttonPosition(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 112 FX_BOOL buttonScaleHow(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 113 FX_BOOL buttonScaleWhen(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 114 FX_BOOL calcOrderIndex(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 115 FX_BOOL charLimit(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); [all …]
|
D | color.h | 19 FX_BOOL black(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 20 FX_BOOL blue(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 21 FX_BOOL cyan(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 22 FX_BOOL dkGray(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 23 FX_BOOL gray(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 24 FX_BOOL green(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 25 FX_BOOL ltGray(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 26 FX_BOOL magenta(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 27 FX_BOOL red(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 28 FX_BOOL transparent(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); [all …]
|
D | Document.h | 89 FX_BOOL ADBE(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 90 FX_BOOL author(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 91 FX_BOOL baseURL(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 92 FX_BOOL bookmarkRoot(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 93 FX_BOOL calculate(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 94 FX_BOOL Collab(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 95 FX_BOOL creationDate(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 96 FX_BOOL creator(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 97 FX_BOOL delay(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); 98 FX_BOOL dirty(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vertex_generic.c | 54 const GLfloat * const vp = a->vp; in insert_4f_viewport_4() local 56 out[0] = vp[0] * in[0] + vp[12]; in insert_4f_viewport_4() 57 out[1] = vp[5] * in[1] + vp[13]; in insert_4f_viewport_4() 58 out[2] = vp[10] * in[2] + vp[14]; in insert_4f_viewport_4() 66 const GLfloat * const vp = a->vp; in insert_4f_viewport_3() local 68 out[0] = vp[0] * in[0] + vp[12]; in insert_4f_viewport_3() 69 out[1] = vp[5] * in[1] + vp[13]; in insert_4f_viewport_3() 70 out[2] = vp[10] * in[2] + vp[14]; in insert_4f_viewport_3() 78 const GLfloat * const vp = a->vp; in insert_4f_viewport_2() local 80 out[0] = vp[0] * in[0] + vp[12]; in insert_4f_viewport_2() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen7_viewport_state.c | 39 struct gen7_sf_clip_viewport *vp; in gen7_upload_sf_clip_viewport() local 41 vp = brw_state_batch(brw, AUB_TRACE_SF_VP_STATE, in gen7_upload_sf_clip_viewport() 42 sizeof(*vp), 64, &brw->sf.vp_offset); in gen7_upload_sf_clip_viewport() 47 vp->guardband.xmin = -1.0; in gen7_upload_sf_clip_viewport() 48 vp->guardband.xmax = 1.0; in gen7_upload_sf_clip_viewport() 49 vp->guardband.ymin = -1.0; in gen7_upload_sf_clip_viewport() 50 vp->guardband.ymax = 1.0; in gen7_upload_sf_clip_viewport() 62 vp->viewport.m00 = v[MAT_SX]; in gen7_upload_sf_clip_viewport() 63 vp->viewport.m11 = v[MAT_SY] * y_scale; in gen7_upload_sf_clip_viewport() 64 vp->viewport.m22 = v[MAT_SZ] * depth_scale; in gen7_upload_sf_clip_viewport() [all …]
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_shader_state.c | 150 struct nv50_program *vp = nv50->vertprog; in nv50_vertprog_validate() local 152 if (!nv50_program_validate(nv50, vp)) in nv50_vertprog_validate() 154 nv50_program_update_context_state(nv50, vp, 0); in nv50_vertprog_validate() 157 PUSH_DATA (push, vp->vp.attrs[0]); in nv50_vertprog_validate() 158 PUSH_DATA (push, vp->vp.attrs[1]); in nv50_vertprog_validate() 160 PUSH_DATA (push, vp->max_out); in nv50_vertprog_validate() 162 PUSH_DATA (push, vp->max_gpr); in nv50_vertprog_validate() 164 PUSH_DATA (push, vp->code_base); in nv50_vertprog_validate() 340 struct nv50_program *vp = nv50->gmtyprog ? nv50->gmtyprog : nv50->vertprog; in nv50_fp_linkage_validate() local 372 m = nv50_vec4_map(map, 0, lin, &dummy, &vp->out[0]); in nv50_fp_linkage_validate() [all …]
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_state_validate.c | 221 struct pipe_viewport_state *vp = &nvc0->viewport; in nvc0_validate_viewport() local 226 PUSH_DATAf(push, vp->translate[0]); in nvc0_validate_viewport() 227 PUSH_DATAf(push, vp->translate[1]); in nvc0_validate_viewport() 228 PUSH_DATAf(push, vp->translate[2]); in nvc0_validate_viewport() 230 PUSH_DATAf(push, vp->scale[0]); in nvc0_validate_viewport() 231 PUSH_DATAf(push, vp->scale[1]); in nvc0_validate_viewport() 232 PUSH_DATAf(push, vp->scale[2]); in nvc0_validate_viewport() 236 x = util_iround(MAX2(0.0f, vp->translate[0] - fabsf(vp->scale[0]))); in nvc0_validate_viewport() 237 y = util_iround(MAX2(0.0f, vp->translate[1] - fabsf(vp->scale[1]))); in nvc0_validate_viewport() 238 w = util_iround(vp->translate[0] + fabsf(vp->scale[0])) - x; in nvc0_validate_viewport() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/post/ |
D | PreDepthProcessor.java | 51 private ViewPort vp; field in PreDepthProcessor 67 public void initialize(RenderManager rm, ViewPort vp) { in initialize() argument 69 this.vp = vp; in initialize() 72 public void reshape(ViewPort vp, int w, int h) { in reshape() argument 73 this.vp = vp; in reshape() 77 return vp != null; in isInitialized() 86 rq.renderQueue(RenderQueue.Bucket.Opaque, rm, vp.getCamera(), false); in postQueue() 97 vp = null; in cleanup()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_util.h | 143 struct gl_viewport_attrib *vp = &ctx->Viewport; in get_viewport_scale() local 146 a[MAT_SX] = (float)vp->Width / 2; in get_viewport_scale() 149 a[MAT_SY] = (float)vp->Height / 2; in get_viewport_scale() 152 a[MAT_SY] = - (float)vp->Height / 2; in get_viewport_scale() 154 a[MAT_SZ] = fb->_DepthMaxF * (vp->Far - vp->Near) / 2; in get_viewport_scale() 160 struct gl_viewport_attrib *vp = &ctx->Viewport; in get_viewport_translate() local 163 a[0] = (float)vp->Width / 2 + vp->X; in get_viewport_translate() 166 a[1] = (float)vp->Height / 2 + vp->Y; in get_viewport_translate() 169 a[1] = fb->Height - (float)vp->Height / 2 - vp->Y; in get_viewport_translate() 171 a[2] = fb->_DepthMaxF * (vp->Far + vp->Near) / 2; in get_viewport_translate()
|
/external/clang/test/SemaObjC/ |
D | arc-type-conversion.m | 47 void from_void(void *vp) { 48 __strong id *sip = (__strong id *)vp; 49 __weak id *wip = (__weak id *)vp; 50 __autoreleasing id *aip = (__autoreleasing id *)vp; 51 __unsafe_unretained id *uip = (__unsafe_unretained id *)vp; 53 __strong id **sipp = (__strong id **)vp; 54 __weak id **wipp = (__weak id **)vp; 55 __autoreleasing id **aipp = (__autoreleasing id **)vp; 56 __unsafe_unretained id **uipp = (__unsafe_unretained id **)vp; 58 …sip = vp; // expected-error{{implicit conversion of a non-Objective-C pointer type 'void *' to '__… [all …]
|
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
D | NiftyJmeDisplay.java | 63 protected ViewPort vp; field in NiftyJmeDisplay 93 ViewPort vp){ in NiftyJmeDisplay() argument 96 w = vp.getCamera().getWidth(); in NiftyJmeDisplay() 97 h = vp.getCamera().getHeight(); in NiftyJmeDisplay() 113 public void initialize(RenderManager rm, ViewPort vp) { in initialize() argument 117 this.vp = vp; in initialize() 120 inputSys.setHeight(vp.getCamera().getHeight()); in initialize() 151 public void reshape(ViewPort vp, int w, int h) { in reshape() argument 167 renderManager.setCamera(vp.getCamera(), true); in postQueue() 170 renderManager.setCamera(vp.getCamera(), false); in postQueue()
|