Home
last modified time | relevance | path

Searched refs:xid (Results 1 – 25 of 62) sorted by relevance

123

/third_party/lwip/test/unit/dhcp/
Dtest_dhcp.c440 u32_t xid; in START_TEST() local
457 xid = netif_dhcp_data(&net_test)->xid; /* Write bad xid, not using htonl! */ in START_TEST()
458 memcpy(&dhcp_offer[46], &xid, 4); in START_TEST()
467 xid = htonl(netif_dhcp_data(&net_test)->xid); in START_TEST()
468 memcpy(&dhcp_offer[46], &xid, 4); /* insert correct transaction id */ in START_TEST()
472 xid = netif_dhcp_data(&net_test)->xid; /* Write bad xid, not using htonl! */ in START_TEST()
473 memcpy(&dhcp_ack[46], &xid, 4); in START_TEST()
477 xid = htonl(netif_dhcp_data(&net_test)->xid); /* xid updated */ in START_TEST()
478 memcpy(&dhcp_ack[46], &xid, 4); /* insert transaction id */ in START_TEST()
513 u32_t xid; in START_TEST() local
[all …]
/third_party/mesa3d/src/glx/
Dcreate_context.c58 uint32_t xid, share_xid; in glXCreateContextAttribsARB() local
124 xid = xcb_generate_id(c); in glXCreateContextAttribsARB()
125 share_xid = (share != NULL) ? share->xid : 0; in glXCreateContextAttribsARB()
137 xid, in glXCreateContextAttribsARB()
157 xcb_glx_destroy_context(c, xid); in glXCreateContextAttribsARB()
161 __glXSendError(dpy, GLXBadFBConfig, xid, 0, False); in glXCreateContextAttribsARB()
163 gc->xid = xid; in glXCreateContextAttribsARB()
Dglxcmds.c365 req->context = gc->xid = XAllocID(dpy); in CreateContext()
368 req->shareList = shareList ? shareList->xid : None; in CreateContext()
380 req->context = gc->xid = XAllocID(dpy); in CreateContext()
384 req->shareList = shareList ? shareList->xid : None; in CreateContext()
401 req->context = gc->xid = XAllocID(dpy); in CreateContext()
405 req->shareList = shareList ? shareList->xid : None; in CreateContext()
420 gc->share_xid = shareList ? shareList->xid : None; in CreateContext()
430 int isDirect = __glXIsDirect(dpy, gc->xid, &error); in CreateContext()
479 glx_send_destroy_context(Display *dpy, XID xid) in glx_send_destroy_context() argument
488 req->context = xid; in glx_send_destroy_context()
[all …]
Dglx_pbuffer.c488 GLXDrawable xid; in CreateDrawable() local
515 req->glxwindow = xid = XAllocID(dpy); in CreateDrawable()
529 if (InitGLXDrawable(dpy, glxDraw, drawable, xid)) { in CreateDrawable()
534 if (!CreateDRIDrawable(dpy, config, drawable, xid, type, attrib_list, i)) { in CreateDrawable()
540 protocolDestroyDrawable(dpy, xid, glxCode); in CreateDrawable()
541 xid = None; in CreateDrawable()
544 return xid; in CreateDrawable()
Dglxcurrent.c132 if ((gc != NULL) && (gc->xid == None)) { in MakeContextCurrent()
181 if (oldGC->currentDpy == NULL && oldGC != &dummyContext && oldGC->xid == None) { in MakeContextCurrent()
/third_party/mesa3d/src/glx/apple/
Dapple_glx_pbuffer.c110 XFreePixmap(dpy, pbuf->xid); in pbuffer_destroy()
132 Pixmap xid; in apple_glx_pbuffer_create() local
143 xid = XCreatePixmap(dpy, root, (unsigned int) 1, in apple_glx_pbuffer_create()
146 if (None == xid) { in apple_glx_pbuffer_create()
151 if (apple_glx_drawable_create(dpy, screen, xid, &d, &callbacks)) { in apple_glx_pbuffer_create()
159 pbuf->xid = xid; in apple_glx_pbuffer_create()
178 *result = pbuf->xid; in apple_glx_pbuffer_create()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dinstall-plugins.c312 guint xid; member
429 gst_install_plugins_context_set_xid (GstInstallPluginsContext * ctx, guint xid) in gst_install_plugins_context_set_xid() argument
433 ctx->xid = xid; in gst_install_plugins_context_set_xid()
486 ret->xid = ctx->xid; in gst_install_plugins_context_copy()
546 if (ctx != NULL && ctx->xid != 0) { in gst_install_plugins_spawn_child()
547 g_ptr_array_add (arr, g_strdup_printf ("--transient-for=%u", ctx->xid)); in gst_install_plugins_spawn_child()
/third_party/lwip/src/core/ipv6/
Ddhcp6.c397 dhcp6->xid = LWIP_RAND() & 0xFFFFFF; in dhcp6_create_msg()
401 ("transaction id xid(%"X32_F")\n", dhcp6->xid)); in dhcp6_create_msg()
407 msg_out->transaction_id[0] = (u8_t)(dhcp6->xid >> 16); in dhcp6_create_msg()
408 msg_out->transaction_id[1] = (u8_t)(dhcp6->xid >> 8); in dhcp6_create_msg()
409 msg_out->transaction_id[2] = (u8_t)dhcp6->xid; in dhcp6_create_msg()
704 u32_t xid; in dhcp6_recv() local
730 xid = reply_msg->transaction_id[0] << 16; in dhcp6_recv()
731 xid |= reply_msg->transaction_id[1] << 8; in dhcp6_recv()
732 xid |= reply_msg->transaction_id[2]; in dhcp6_recv()
733 if (xid != dhcp6->xid) { in dhcp6_recv()
[all …]
/third_party/NuttX/fs/nfs/
Drpc_clnt.c145 uint32_t xid, int procid, int prog, int vers, size_t reqlen);
209 uint32_t xid; in rpcclnt_receive() local
231 if (nbytes <= (ssize_t)sizeof(xid)) in rpcclnt_receive()
238 error = memcpy_s((void *)&xid, sizeof(xid), ((char *)reply + RPC_RMSIZE), sizeof(xid)); in rpcclnt_receive()
244 if (fxdr_unsigned(uint32_t, xid) != rpc->xid) in rpcclnt_receive()
505 uint32_t xid, int prog, int vers, int procid, size_t reqlen) in rpcclnt_fmtheader() argument
518 ch->rp_xid = txdr_unsigned(xid); in rpcclnt_fmtheader()
976 rpc->xid = rpcclnt_newxid(); in rpcclnt_request()
987 rpc->xid, prog, version, procnum, reqlen); in rpcclnt_request()
/third_party/rust/crates/unicode-ident/
DCargo.toml9 keywords = ["unicode", "xid"]
20 unicode-xid = "0.2.4"
23 name = "xid"
DREADME.md14 This crate is a better optimized implementation of the older `unicode-xid`
17 `unicode-xid`.
27 - [`unicode-xid`] is a widely used crate run by the "unicode-rs" org;
38 [`unicode-xid`]: https://github.com/unicode-rs/unicode-xid
45 | **`unicode-xid`** | 11.5 K | 1.88 ns | 2.14 ns | 3.48 ns | 15.63 ns |
57 #### unicode-xid
/third_party/lwip/src/core/ipv4/
Ddhcp.c182 static u32_t xid; variable
1869 if (lwip_ntohl(reply_msg->xid) != dhcp->xid) {
1871 …mismatch reply_msg->xid(%"X32_F")!=dhcp->xid(%"X32_F")\n", lwip_ntohl(reply_msg->xid), dhcp->xid));
1956 static u32_t xid; local
1958 static u32_t xid = 0xABCD0000; local
1962 xid = DHCP_GLOBAL_XID;
1982 xid = LWIP_RAND();
1984 xid++;
1987 dhcp->xid = xid;
1990 ("transaction id xid(%"X32_F")\n", xid));
[all …]
/third_party/alsa-lib/src/alisp/
Dalisp_snd.c491 const char *xid; in parse_ctl_elem_id() local
500 xid = get_string(p1->value.c.car, NULL); in parse_ctl_elem_id()
501 if (xid == NULL) { in parse_ctl_elem_id()
503 } else if (!strcmp(xid, "numid")) { in parse_ctl_elem_id()
505 } else if (!strcmp(xid, "iface")) { in parse_ctl_elem_id()
507 } else if (!strcmp(xid, "dev")) { in parse_ctl_elem_id()
509 } else if (!strcmp(xid, "subdev")) { in parse_ctl_elem_id()
511 } else if (!strcmp(xid, "name")) { in parse_ctl_elem_id()
513 } else if (!strcmp(xid, "index")) { in parse_ctl_elem_id()
/third_party/rust/crates/clap/clap_complete/
DCargo.toml41 unicode-xid = { version = "0.2.2", optional = true }
55 unstable-dynamic = ["dep:clap_lex", "dep:shlex", "dep:unicode-xid", "dep:os_str_bytes", "clap/deriv…
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_lowering_gm107.cpp227 int qop = 0, xid = 0; in handleDFDX() local
232 xid = 1; in handleDFDX()
236 xid = 2; in handleDFDX()
244 bld.mkImm(xid), bld.mkImm(SHFL_BOUND_QUAD)); in handleDFDX()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddhcp.h29 be32 xid; member
48 be32 xid; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddhcp.h29 be32 xid; member
48 be32 xid; member
/third_party/python/Modules/
D_xxsubinterpretersmodule.c1688 struct _channelid_xid *xid = (struct _channelid_xid *)data->data; in _channelid_from_xid() local
1690 PyObject *cid = (PyObject *)newchannelid(&ChannelIDtype, xid->id, xid->end, in _channelid_from_xid()
1692 if (xid->end == 0) { in _channelid_from_xid()
1695 if (!xid->resolve) { in _channelid_from_xid()
1700 PyObject *chan = _channel_from_cid(cid, xid->end); in _channelid_from_xid()
1712 struct _channelid_xid *xid = PyMem_NEW(struct _channelid_xid, 1); in _channelid_shared() local
1713 if (xid == NULL) { in _channelid_shared()
1716 xid->id = ((channelid *)obj)->id; in _channelid_shared()
1717 xid->end = ((channelid *)obj)->end; in _channelid_shared()
1718 xid->resolve = ((channelid *)obj)->resolve; in _channelid_shared()
[all …]
/third_party/libwebsockets/lib/system/dhcpclient/
Ddhcpc4.c88 memcpy(p + 1, r->xid, 4); in lws_dhcpc4_prep()
321 lws_get_random(r->wsi_raw->a.context, r->xid, 4); in lws_dhcpc4_retry_conn()
351 if (memcmp(&p[4], r->xid, 4)) /* must be our xid */ in lws_dhcpc4_parse()
Dprivate-lib-system-dhcpclient.h100 uint8_t xid[4]; member
/third_party/ntfs-3g/libntfs-3g/
Dacls.c359 u32 xid; /* uid or gid */ in findimplicit() local
370 xid = 0; in findimplicit()
381 xid = ((xlast - rlast) >> 1) & 0x3fffffff; in findimplicit()
396 xid = (((xlast - rlast) >> 1) in findimplicit()
401 return (xid); in findimplicit()
422 while (p && p->xid && ((uid_t)p->xid != uid)) in ntfs_find_usid()
424 if (p && !p->xid) { in ntfs_find_usid()
466 while (p && p->xid && ((gid_t)p->xid != gid)) in ntfs_find_gsid()
468 if (p && !p->xid) { in ntfs_find_gsid()
503 while (p && p->xid && !ntfs_same_sid(usid, p->sid)) in ntfs_find_user()
[all …]
/third_party/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp252 EXPECT_EQ(glx_ctx->xid, req.share_list); in TEST_F()
395 EXPECT_EQ(99u, glx_ctx->xid); in TEST_F()
414 EXPECT_EQ(share->xid, ctx->share_xid); in TEST_F()
/third_party/gstreamer/gstplugins_good/sys/ximage/
Dgstximagesrc.c167 if (s->xid != 0 || s->xname) { in gst_ximage_src_open_display()
175 if (s->xid != 0) { in gst_ximage_src_open_display()
176 status = XGetWindowAttributes (s->xcontext->disp, s->xid, &attrs); in gst_ximage_src_open_display()
178 GST_DEBUG_OBJECT (s, "Found window XID %" G_GUINT64_FORMAT, s->xid); in gst_ximage_src_open_display()
179 s->xwindow = s->xid; in gst_ximage_src_open_display()
183 " attributes", s->xid); in gst_ximage_src_open_display()
959 src->xid = g_value_get_uint64 (value); in gst_ximage_src_set_property()
1010 g_value_set_uint64 (value, src->xid); in gst_ximage_src_get_property()
/third_party/toybox/toys/pending/
Ddhcp.c154 uint32_t xid; member
195 static uint32_t xid; variable
996 state->pdhcp.xid = xid; in dhcpc_sendmsg()
1202 && !memcmp(&state->pdhcp.xid, &xid, sizeof(xid))) { in dhcpc_parsemsg()
1278 xid = 0; in dhcp_main()
1341 if (!packets) xid = getxid(); in dhcp_main()
/third_party/lwip/src/include/lwip/
Ddhcp6.h60 u32_t xid; member

123