Home
last modified time | relevance | path

Searched refs:vb (Results 1 – 20 of 20) sorted by relevance

/reactos/sdk/lib/3rdparty/adns/src/
H A Dgeneral.c48 vbuf vb; in adns__vdiag() local
113 vb->used= vb->avail= 0; vb->buf= 0; in adns__vbuf_init()
121 vb->buf= nb; in adns__vbuf_ensure()
127 memcpy(vb->buf+vb->used,data, (size_t) len); in adns__vbuf_appendq()
128 vb->used+= len; in adns__vbuf_appendq()
142 vb->buf= nb; in adns__vbuf_append()
156 free(vb->buf); in adns__vbuf_free()
171 vb->used= 0; in adns__diag_domain()
191 vbuf vb; in adns_rr_info() local
207 assert((int)strlen((char*)vb.buf) == vb.used-1); in adns_rr_info()
[all …]
H A Dtransmit.c41 #define MKQUERY_START(vb) (rqp= (vb)->buf+(vb)->used) argument
44 #define MKQUERY_STOP(vb) ((vb)->used= rqp-(vb)->buf) argument
52 vb->used= 0; in mkquery_header()
53 MKQUERY_START(vb); in mkquery_header()
64 MKQUERY_STOP(vb); in mkquery_header()
72 MKQUERY_START(vb); in mkquery_footer()
75 MKQUERY_STOP(vb); in mkquery_footer()
76 assert(vb->used <= vb->avail); in mkquery_footer()
91 MKQUERY_START(vb); in adns__mkquery()
131 MKQUERY_STOP(vb); in adns__mkquery()
[all …]
H A Dtypes.c334 return csp_addr(vb,rrp); in cs_addr()
355 dm[pai->qu->vb.used]= 0; in pap_domain()
356 memcpy(dm,pai->qu->vb.buf, (size_t) pai->qu->vb.used); in pap_domain()
370 return csp_domain(vb,*domainp); in cs_domain()
591 return csp_hostaddr(vb,rrp); in cs_hostaddr()
777 &pai->qu->vb, id, in pa_ptr()
838 vbuf *vb; in pap_mailbox822() local
840 vb= &pai->qu->vb; in pap_mailbox822()
841 vb->used= 0; in pap_mailbox822()
881 memcpy(str,vb->buf,(size_t) vb->used); in pap_mailbox822()
[all …]
H A Dparse.c34 int vbuf__append_quoted1035(vbuf *vb, const byte *buf, int len) { in vbuf__append_quoted1035() argument
50 if (!adns__vbuf_append(vb,buf,i) || !adns__vbuf_append(vb,(byte*)qbuf,(int) strlen(qbuf))) in vbuf__append_quoted1035()
118 vbuf *vb, adns_queryflags flags, in adns__parse_domain() argument
123 vb->used= 0; in adns__parse_domain()
124 return adns__parse_domain_more(&fls,ads,qu, vb,flags,dgram); in adns__parse_domain()
128 adns_query qu, vbuf *vb, parsedomain_flags flags, in adns__parse_domain_more() argument
137 if (lablen<0) { vb->used=0; return adns_s_ok; } in adns__parse_domain_more()
142 if (!adns__vbuf_append(vb,(byte*)".",1)) return adns_s_nomemory; in adns__parse_domain_more()
145 if (!vbuf__append_quoted1035(vb,dgram+labstart,lablen)) in adns__parse_domain_more()
155 if (!adns__vbuf_append(vb,dgram+labstart,lablen)) in adns__parse_domain_more()
[all …]
H A Dinternal.h135 adns_status (*convstring)(vbuf *vb, const void *data);
195 vbuf vb; member
341 int adns__vbuf_ensure(vbuf *vb, int want);
343 int adns__vbuf_append(vbuf *vb, const byte *data, int len);
345 void adns__vbuf_appendq(vbuf *vb, const byte *data, int len);
346 void adns__vbuf_init(vbuf *vb);
347 void adns__vbuf_free(vbuf *vb);
350 vbuf *vb, const byte *dgram, int dglen, int cbyte);
382 adns_status adns__mkquery(adns_state ads, vbuf *vb, int *id_r,
582 vbuf *vb, adns_queryflags flags,
[all …]
H A Dreply.c183 adns__diag_domain(ads,serv,qu, &qu->vb, dgram,dglen,rrstart)); in adns__procdgram()
195 adns__diag_domain(ads,serv,qu, &qu->vb, dgram,dglen,rdstart)); in adns__procdgram()
200 adns__diag_domain(ads,serv,qu, &qu->vb, dgram,dglen,rdstart)); in adns__procdgram()
204 st= adns__parse_domain(ads,serv,qu, &qu->vb, in adns__procdgram()
207 if (!qu->vb.used) goto x_truncated; in adns__procdgram()
209 l= strlen((char*)qu->vb.buf)+1; in adns__procdgram()
216 memcpy(qu->answer->cname,qu->vb.buf, (size_t) l); in adns__procdgram()
357 st= adns__mkquery_frdgram(qu->ads,&qu->vb,&qu->id, in adns__procdgram()
362 newquery= realloc(qu->query_dgram, (size_t) qu->vb.used); in adns__procdgram()
366 qu->query_dglen= qu->vb.used; in adns__procdgram()
[all …]
H A Dquery.c62 adns__vbuf_init(&qu->vb); in query_alloc()
98 qu->vb= *qumsg_vb; in query_submit()
101 qu->query_dgram= malloc( (size_t) qu->vb.used); in query_submit()
105 qu->query_dglen= qu->vb.used; in query_submit()
106 memcpy(qu->query_dgram,qu->vb.buf,(size_t) qu->vb.used); in query_submit()
135 stat= adns__mkquery(ads,&qu->vb,&id, owner,ol, typei,flags); in query_simple()
146 vb_new= qu->vb; in query_simple()
147 adns__vbuf_init(&qu->vb); in query_simple()
424 adns__vbuf_free(&qu->vb); in free_query_allocs()
521 if (!adns__vbuf_ensure(&qu->vb,qu->typei->rrsz)) { in adns__query_done()
[all …]
/reactos/dll/opengl/mesa/
H A Dvb.c67 struct vertex_buffer *vb; in gl_alloc_vb() local
69 if (vb) { in gl_alloc_vb()
73 vb->MaterialMask[i] = 0; in gl_alloc_vb()
74 vb->ClipMask[i] = 0; in gl_alloc_vb()
75 vb->Obj[i][3] = 1.0F; in gl_alloc_vb()
80 vb->TexCoordSize = 2; in gl_alloc_vb()
81 vb->MonoColor = GL_TRUE; in gl_alloc_vb()
82 vb->MonoMaterial = GL_TRUE; in gl_alloc_vb()
83 vb->MonoNormal = GL_TRUE; in gl_alloc_vb()
84 vb->ClipOrMask = 0; in gl_alloc_vb()
[all …]
H A Dvbrender.c744 COPY_4V( vb->Clip[dst], vb->Clip[src] ); in copy_vertex()
745 COPY_4V( vb->Eye[dst], vb->Eye[src] ); in copy_vertex()
746 COPY_3V( vb->Win[dst], vb->Win[src] ); in copy_vertex()
747 COPY_4V( vb->Fcolor[dst], vb->Fcolor[src] ); in copy_vertex()
748 COPY_4V( vb->Bcolor[dst], vb->Bcolor[src] ); in copy_vertex()
750 vb->Findex[dst] = vb->Findex[src]; in copy_vertex()
751 vb->Bindex[dst] = vb->Bindex[src]; in copy_vertex()
752 vb->Edgeflag[dst] = vb->Edgeflag[src]; in copy_vertex()
753 vb->ClipMask[dst] = vb->ClipMask[src]; in copy_vertex()
755 vb->Material[dst][0] = vb->Material[src][0]; in copy_vertex()
[all …]
H A DCMakeLists.txt61 vb.c
/reactos/drivers/network/tcpip/lwip/src/apps/snmp/
H A Dsnmp_msg.c330 vb.next = NULL; in snmp_receive()
331 vb.prev = NULL; in snmp_receive()
460 vb->value_len = 0; in snmp_process_varbind()
511 struct snmp_varbind vb; in snmp_process_get_request() local
519 if ((vb.type == SNMP_ASN1_TYPE_NULL) && (vb.value_len == 0)) { in snmp_process_get_request()
547 struct snmp_varbind vb; in snmp_process_getnext_request() local
555 if ((vb.type == SNMP_ASN1_TYPE_NULL) && (vb.value_len == 0)) { in snmp_process_getnext_request()
587 struct snmp_varbind vb; in snmp_process_getbulk_request() local
681 struct snmp_varbind vb; in snmp_process_set_request() local
1868 struct snmp_varbind vb; in snmp_execute_write_callbacks() local
[all …]
/reactos/dll/win32/snmpapi/
H A Dmain.c425 VOID WINAPI SnmpUtilVarBindFree(SnmpVarBind *vb) in SnmpUtilVarBindFree() argument
427 TRACE("(%p)\n", vb); in SnmpUtilVarBindFree()
429 if (!vb) return; in SnmpUtilVarBindFree()
431 asn_any_free(&vb->value); in SnmpUtilVarBindFree()
433 vb->name.idLength = 0; in SnmpUtilVarBindFree()
434 vb->name.ids = NULL; in SnmpUtilVarBindFree()
485 TRACE("(%p)\n", vb); in SnmpUtilVarBindListFree()
487 entry = vb->list; in SnmpUtilVarBindListFree()
489 HeapFree(GetProcessHeap(), 0, vb->list); in SnmpUtilVarBindListFree()
490 vb->list = NULL; in SnmpUtilVarBindListFree()
[all …]
/reactos/dll/directx/wine/ddraw/
H A Dvertexbuffer.c86 struct wined3d_buffer *vb = NULL; in d3d_vertex_buffer7_Release() local
94 wined3d_device_get_stream_source(buffer->ddraw->wined3d_device, 0, &vb, &offset, &stride); in d3d_vertex_buffer7_Release()
95 if (vb == buffer->wined3d_buffer) in d3d_vertex_buffer7_Release()
H A Ddevice.c3503 struct wined3d_resource *vb; in d3d_device7_DrawPrimitive() local
3534 vb = wined3d_buffer_get_resource(device->vertex_buffer); in d3d_device7_DrawPrimitive()
3539 wined3d_resource_unmap(vb, 0); in d3d_device7_DrawPrimitive()
3696 struct wined3d_resource *ib, *vb; in d3d_device7_DrawIndexedPrimitive() local
3731 wined3d_resource_unmap(vb, 0); in d3d_device7_DrawIndexedPrimitive()
4030 struct wined3d_resource *vb; in d3d_device7_DrawPrimitiveStrided() local
4062 wined3d_resource_unmap(vb, 0); in d3d_device7_DrawPrimitiveStrided()
4142 struct wined3d_resource *ib, *vb; in d3d_device7_DrawIndexedPrimitiveStrided() local
4178 wined3d_resource_unmap(vb, 0); in d3d_device7_DrawIndexedPrimitiveStrided()
4339 setup_lighting(device, vb->fvf, Flags); in d3d_device3_DrawPrimitiveVB()
[all …]
/reactos/dll/win32/msxml3/
H A Dsaxreader.c253 if ((vb && iface->vbhandler) || (!vb && iface->handler)) in saxreader_put_handler()
254 IUnknown_Release(vb ? iface->vbhandler : iface->handler); in saxreader_put_handler()
256 if (vb) in saxreader_put_handler()
270 if ((vb && iface->vbhandler) || (!vb && iface->handler)) in saxreader_get_handler()
272 if (vb) in saxreader_get_handler()
278 *ret = vb ? iface->vbhandler : iface->handler; in saxreader_get_handler()
2767 return saxreader_put_handler(This, type, NULL, vb); in saxreader_put_handler_from_variant()
2772 riid = vb ? &IID_IVBSAXDeclHandler : &IID_ISAXDeclHandler; in saxreader_put_handler_from_variant()
2775 riid = vb ? &IID_IVBSAXLexicalHandler : &IID_ISAXLexicalHandler; in saxreader_put_handler_from_variant()
2795 saxreader_put_handler(This, type, handler, vb); in saxreader_put_handler_from_variant()
[all …]
/reactos/dll/directx/wine/d3d8/
H A Ddevice.c2205 struct wined3d_resource *vb; in d3d8_device_DrawPrimitiveUP() local
2232 vb = wined3d_buffer_get_resource(device->vertex_buffer); in d3d8_device_DrawPrimitiveUP()
2233 if (FAILED(wined3d_resource_map(vb, 0, &wined3d_map_desc, &wined3d_box, in d3d8_device_DrawPrimitiveUP()
2237 wined3d_resource_unmap(vb, 0); in d3d8_device_DrawPrimitiveUP()
2302 struct wined3d_resource *ib, *vb; in d3d8_device_DrawIndexedPrimitiveUP() local
2333 vb = wined3d_buffer_get_resource(device->vertex_buffer); in d3d8_device_DrawIndexedPrimitiveUP()
2334 if (FAILED(hr = wined3d_resource_map(vb, 0, &wined3d_map_desc, &wined3d_box, in d3d8_device_DrawIndexedPrimitiveUP()
2338 wined3d_resource_unmap(vb, 0); in d3d8_device_DrawIndexedPrimitiveUP()
/reactos/dll/directx/wine/d3d9/
H A Ddevice.c2726 struct wined3d_resource *vb; in d3d9_device_DrawPrimitiveUP() local
2761 vb = wined3d_buffer_get_resource(device->vertex_buffer); in d3d9_device_DrawPrimitiveUP()
2762 if (FAILED(hr = wined3d_resource_map(vb, 0, &wined3d_map_desc, &wined3d_box, in d3d9_device_DrawPrimitiveUP()
2766 wined3d_resource_unmap(vb, 0); in d3d9_device_DrawPrimitiveUP()
2834 struct wined3d_resource *ib, *vb; in d3d9_device_DrawIndexedPrimitiveUP() local
2872 vb = wined3d_buffer_get_resource(device->vertex_buffer); in d3d9_device_DrawIndexedPrimitiveUP()
2873 if (FAILED(hr = wined3d_resource_map(vb, 0, &wined3d_map_desc, &wined3d_box, in d3d9_device_DrawIndexedPrimitiveUP()
2877 wined3d_resource_unmap(vb, 0); in d3d9_device_DrawIndexedPrimitiveUP()
/reactos/modules/rostests/winetests/d3dx9_36/
H A Dshader.c2527 bool3 vb = {1, 0, 1};
2536 if (vb.z) for (i = 0; i < vn.z; i++) tmp.x += pos.z * vf.z * vnf.z;
4516 struct {bool b; bool3 vb;} sb = {1, 1, 0, 1};
4525 if (sb.vb.z) for (i = 0; i < sn.n; i++) tmp.x += pos.z * sf.vf.x * snf.vnf.z;
4801 struct {bool b; bool3 vb;} sab[2] = {1, 1, 0, 1, 0, 1, 0, 1};
4810 if (sab[1].vb.z) for (i = 0; i < san[1].n; i++) tmp.x += pos.z * saf[1].vf.x * sanf[1].vnf.z;
5155 struct {bool b; struct {bool b; bool3 vb;} s; bool b1;} ssb = {1, 1, 0, 1, 1, 0};
/reactos/dll/directx/wine/wined3d/
H A Dcontext.c4890 struct wined3d_buffer *vb = state->streams[e->stream_idx].buffer; in remove_vbos() local
4892 e->data.addr += (ULONG_PTR)wined3d_buffer_load_sysmem(vb, context); in remove_vbos()
/reactos/modules/rostests/winetests/mshtml/
H A Ddom.c7869 VARIANT_BOOL vb; in test_elems() local
7892 hres = IHTMLScriptElement_get_defer(script, &vb); in test_elems()
7894 ok(vb == VARIANT_TRUE, "get_defer result is %08x\n", hres); in test_elems()