HomeSort by: relevance | last modified time | path
    Searched refs:conn (Results 1 - 25 of 64) sorted by relevancy

1 2 3

  /xsrc/external/mit/xedit/dist/lisp/test/
psql-2.lsp 24 (defun exit-nicely (conn)
25 (pq-finish conn)
42 (setq conn (pq-setdb pghost pgport pgoptions pgtty pgdbname))
45 (when (= (pq-status conn) pg-connection-bad)
47 (format t "~A" (pq-error-message conn))
48 (exit-nicely conn))
50 (setq res (pq-exec conn "LISTEN TBL2"))
51 (when (= (pq-status conn) pg-connection-bad)
53 (format t "~A" (pq-error-message conn))
54 (exit-nicely conn))
    [all...]
psql-1.lsp 7 (defun exit-nicely (conn)
8 (pq-finish conn)
23 (setq conn (pq-setdb pghost pgport pgoptions pgtty pgdbname))
26 (when (= (pq-status conn) pg-connection-bad)
28 (format t "~A" (pq-error-message conn))
29 (exit-nicely conn))
32 (setq res (pq-exec conn "BEGIN"))
36 (exit-nicely conn))
42 (setq res (pq-exec conn "DECLARE mycursor CURSOR FOR select * from pg_database"))
46 (exit-nicely conn))
    [all...]
psql-3.lsp 39 (defun exit-nicely (conn)
40 (pq-finish conn)
57 (setq conn (pq-setdb pghost pgport pgoptions pgtty pgdbname))
60 (when (= (pq-status conn) pg-connection-bad)
62 (format t "~A" (pq-error-message conn))
63 (exit-nicely conn))
65 (setq res (pq-exec conn "BEGIN"))
66 (when (= (pq-status conn) pg-connection-bad)
69 (exit-nicely conn))
74 (setq res (pq-exec conn "DECLARE mycursor BINARY CURSOR FOR select * from test1")
    [all...]
  /xsrc/external/mit/libXfont/dist/src/fc/
fsio.c 147 _fs_fill (FSFpePtr conn)
153 if (_fs_flush (conn) < 0)
159 while ((conn->inNeed - (conn->inBuf.insert - conn->inBuf.remove)) > 0)
161 avail = conn->inBuf.size - conn->inBuf.insert;
168 bytes_read =_FontTransRead(conn->trans_conn,
169 conn->inBuf.buf + conn->inBuf.insert
    [all...]
fsio.h 120 #define fs_outspace(conn) ((conn)->outBuf.size - (conn)->outBuf.insert)
121 #define fs_outqueued(conn) ((conn)->outBuf.insert - (conn)->outBuf.remove)
122 #define fs_inqueued(conn) ((conn)->inBuf.insert - (conn)->inBuf.remove)
123 #define fs_needsflush(conn) (fs_outqueued(conn) != 0
    [all...]
fserve.c 126 static int _fs_restart_connection ( FSFpePtr conn );
131 static void _fs_client_access ( FSFpePtr conn, pointer client, Bool sync );
132 static void _fs_client_resolution ( FSFpePtr conn );
133 static fsGenericReply *fs_get_reply (FSFpePtr conn, int *error);
134 static int fs_await_reply (FSFpePtr conn);
135 static void _fs_do_blocked (FSFpePtr conn);
147 _fs_close_server (FSFpePtr conn);
153 _fs_wait_connect (FSFpePtr conn);
156 _fs_send_init_packets (FSFpePtr conn);
159 _fs_check_reconnect (FSFpePtr conn);
295 FSFpePtr conn; local
373 FSFpePtr conn = (FSFpePtr) fpe->private, *prev; local
406 FSFpePtr conn = (FSFpePtr) fpe->private; local
715 FSFpePtr conn = (FSFpePtr) fpe->private; local
855 FSFpePtr conn = (FSFpePtr) fpe->private; local
1016 FSFpePtr conn = (FSFpePtr) fpe->private; local
1308 FSFpePtr conn; local
1400 FSFpePtr conn = (FSFpePtr) fpe->private; local
1467 FSFpePtr conn = (FSFpePtr) fpe->private; local
1622 FSFpePtr conn = (FSFpePtr) fpe->private; local
1789 FSFpePtr conn = (FSFpePtr) fpe->private; local
1815 FSFpePtr conn = (FSFpePtr) fpe->private; local
1849 FSFpePtr conn = (FSFpePtr) fpe->private; local
1870 FSFpePtr conn = (FSFpePtr) fpe->private; local
1899 FSFpePtr conn = (FSFpePtr) fpe->private; local
2079 FSFpePtr conn = (FSFpePtr) fpe->private; local
2172 FSFpePtr conn = (FSFpePtr) pfont->fpe->private; local
2322 FSFpePtr conn = (FSFpePtr) pfont->fpe->private; local
2354 FSFpePtr conn = (FSFpePtr) fpe->private; local
2409 FSFpePtr conn = (FSFpePtr) fpe->private; local
2464 FSFpePtr conn = (FSFpePtr) fpe->private; local
2495 FSFpePtr conn = (FSFpePtr) fpe->private; local
2635 FSFpePtr conn = (FSFpePtr) fpe->private; local
2695 FSFpePtr conn = (FSFpePtr) fpe->private; local
2754 FSFpePtr conn = (FSFpePtr) fpe->private; local
3365 FSFpePtr conn; local
    [all...]
  /xsrc/external/mit/libXfont2/dist/src/fc/
fsio.c 143 _fs_fill (FSFpePtr conn)
149 if (_fs_flush (conn) < 0)
155 while ((conn->inNeed - (conn->inBuf.insert - conn->inBuf.remove)) > 0)
157 avail = conn->inBuf.size - conn->inBuf.insert;
164 bytes_read =_FontTransRead(conn->trans_conn,
165 conn->inBuf.buf + conn->inBuf.insert
    [all...]
fsio.h 122 #define fs_outspace(conn) ((conn)->outBuf.size - (conn)->outBuf.insert)
123 #define fs_outqueued(conn) ((conn)->outBuf.insert - (conn)->outBuf.remove)
124 #define fs_inqueued(conn) ((conn)->inBuf.insert - (conn)->inBuf.remove)
125 #define fs_needsflush(conn) (fs_outqueued(conn) != 0
    [all...]
fserve.c 120 static int _fs_restart_connection ( FSFpePtr conn );
123 static int fs_send_close_font (FSFpePtr conn, Font id);
125 static void _fs_client_access ( FSFpePtr conn, pointer client, Bool sync );
126 static void _fs_client_resolution ( FSFpePtr conn );
127 static fsGenericReply *fs_get_reply (FSFpePtr conn, int *error);
128 static int fs_await_reply (FSFpePtr conn);
129 static void _fs_do_blocked (FSFpePtr conn);
130 static void fs_cleanup_bfont (FSFpePtr conn, FSBlockedFontPtr bfont);
141 _fs_close_server (FSFpePtr conn);
147 _fs_wait_connect (FSFpePtr conn);
292 FSFpePtr conn; local
362 FSFpePtr conn = (FSFpePtr) fpe->private, *prev; local
391 FSFpePtr conn = (FSFpePtr) fpe->private; local
717 FSFpePtr conn = (FSFpePtr) fpe->private; local
857 FSFpePtr conn = (FSFpePtr) fpe->private; local
1018 FSFpePtr conn = (FSFpePtr) fpe->private; local
1309 FSFpePtr conn; local
1387 FSFpePtr conn = (FSFpePtr) fpe->private; local
1454 FSFpePtr conn = (FSFpePtr) fpe->private; local
1469 FSFpePtr conn = (FSFpePtr) fpe->private; local
1619 FSFpePtr conn = (FSFpePtr) fpe->private; local
1777 FSFpePtr conn = (FSFpePtr) fpe->private; local
1803 FSFpePtr conn = (FSFpePtr) fpe->private; local
1857 FSFpePtr conn = (FSFpePtr) fpe->private; local
1886 FSFpePtr conn = (FSFpePtr) fpe->private; local
2067 FSFpePtr conn = (FSFpePtr) fpe->private; local
2155 FSFpePtr conn = (FSFpePtr) pfont->fpe->private; local
2305 FSFpePtr conn = (FSFpePtr) pfont->fpe->private; local
2337 FSFpePtr conn = (FSFpePtr) fpe->private; local
2392 FSFpePtr conn = (FSFpePtr) fpe->private; local
2436 FSFpePtr conn = (FSFpePtr) fpe->private; local
2467 FSFpePtr conn = (FSFpePtr) fpe->private; local
2607 FSFpePtr conn = (FSFpePtr) fpe->private; local
2656 FSFpePtr conn = (FSFpePtr) fpe->private; local
2715 FSFpePtr conn = (FSFpePtr) fpe->private; local
3326 FSFpePtr conn; local
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xwin/winclipboard/
thread.c 82 winClipboardCreateMessagingWindow(xcb_connection_t *conn, xcb_window_t iWindow, ClipboardAtoms *atoms);
85 intern_atom(xcb_connection_t *conn, const char *atomName)
91 atom_cookie = xcb_intern_atom(conn, 0, strlen(atomName), atomName);
92 atom_reply = xcb_intern_atom_reply(conn, atom_cookie, NULL);
120 xcb_connection_t *conn; local
130 conn = xcb_connect_to_display_with_auth_info(szDisplay, auth_info, &screen);
131 if (xcb_connection_has_error(conn)) {
140 iConnectionNumber = xcb_get_file_descriptor(conn);
157 xfixes_query = xcb_get_extension_data(conn, &xcb_xfixes_id);
163 xcb_xfixes_query_version_unchecked(conn, 1, 0)
    [all...]
wndproc.c 60 winProcessXEventsTimeout(HWND hwnd, xcb_window_t iWindow, xcb_connection_t *conn,
71 iConnNumber = xcb_get_file_descriptor(conn);
79 iReturn = winClipboardFlushXEvents(hwnd, iWindow, conn, data, atoms);
89 xcb_flush(conn);
131 static xcb_connection_t *conn; local
161 conn = cwcp->pClipboardDisplay;
218 xcb_aux_sync(conn);
223 cookie_get = xcb_get_selection_owner(conn, XCB_ATOM_PRIMARY);
224 reply = xcb_get_selection_owner_reply(conn, cookie_get, NULL);
229 xcb_set_selection_owner(conn, XCB_NONE, XCB_ATOM_PRIMARY, XCB_CURRENT_TIME)
    [all...]
xevents.c 134 static char *get_atom_name(xcb_connection_t *conn, xcb_atom_t atom)
137 xcb_get_atom_name_cookie_t cookie = xcb_get_atom_name(conn, atom);
138 xcb_get_atom_name_reply_t *reply = xcb_get_atom_name_reply(conn, cookie, NULL);
151 winClipboardSelectionNotifyTargets(HWND hwnd, xcb_window_t iWindow, xcb_connection_t *conn, ClipboardConversionData *data, ClipboardAtoms *atoms)
154 xcb_get_property_cookie_t cookie = xcb_get_property(conn,
161 xcb_get_property_reply_t *reply = xcb_get_property_reply(conn, cookie, NULL);
174 char *pszAtomName = get_atom_name(conn, atom);
189 winClipboardSelectionNotifyData(HWND hwnd, xcb_window_t iWindow, xcb_connection_t *conn, ClipboardConversionData *data, ClipboardAtoms *atoms)
209 xcb_get_property_cookie_t cookie = xcb_get_property(conn,
216 xcb_get_property_reply_t *reply = xcb_get_property_reply(conn, cookie, NULL)
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/
ephyrcursor.c 53 xcb_connection_t *conn = hostx_get_xcbconn(); local
71 source = xcb_generate_id(conn);
72 mask = xcb_generate_id(conn);
73 xcb_create_pixmap(conn, 1, source, scr->win, w, h);
74 xcb_create_pixmap(conn, 1, mask, scr->win, w, h);
76 gc = xcb_generate_id(conn);
77 xcb_create_gc(conn, gc, source, gcmask, val);
79 image = xcb_image_create_native(conn, w, h, XCB_IMAGE_FORMAT_XY_BITMAP,
82 xcb_image_put(conn, source, gc, image, 0, 0, 0);
85 image = xcb_image_create_native(conn, w, h, XCB_IMAGE_FORMAT_XY_BITMAP
108 xcb_connection_t *conn = hostx_get_xcbconn(); local
130 xcb_connection_t *conn = hostx_get_xcbconn(); local
    [all...]
hostx.c 67 xcb_connection_t *conn; member in struct:EphyrHostXVars
107 rep = xcb_get_extension_data(HostX.conn, extension);
178 xcb_icccm_set_wm_name(HostX.conn,
193 xcb_icccm_set_wm_name(HostX.conn,
199 xcb_flush(HostX.conn);
260 version_c = xcb_randr_query_version(HostX.conn, 1, 2);
261 version_r = xcb_randr_query_version_reply(HostX.conn,
280 screen_resources_c = xcb_randr_get_screen_resources(HostX.conn,
282 screen_resources_r = xcb_randr_get_screen_resources_reply(HostX.conn,
290 output_info_c = xcb_randr_get_output_info(HostX.conn,
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/vulkan/device-select-layer/
device_select_x11.c 35 ds_dri3_open(xcb_connection_t *conn,
43 cookie = xcb_dri3_open(conn,
47 reply = xcb_dri3_open_reply(conn, cookie, NULL);
56 fd = xcb_dri3_open_reply_fds(conn, reply)[0];
68 xcb_connection_t *conn; local
72 conn = xcb_connect(NULL, &scrn);
73 if (!conn)
79 dri3_cookie = xcb_query_extension(conn, 4, "DRI3");
80 dri3_reply = xcb_query_extension_reply(conn, dri3_cookie, NULL);
87 setup = xcb_get_setup(conn);
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/
wsi_common_x11.c 74 wsi_dri3_open(xcb_connection_t *conn,
82 cookie = xcb_dri3_open(conn,
86 reply = xcb_dri3_open_reply(conn, cookie, NULL);
95 fd = xcb_dri3_open_reply_fds(conn, reply)[0];
104 xcb_connection_t *conn)
107 xcb_setup_roots_iterator(xcb_get_setup(conn));
110 int dri3_fd = wsi_dri3_open(conn, screen->root, None);
123 xcb_connection_t *conn)
136 dri3_cookie = xcb_query_extension(conn, 4, "DRI3");
137 pres_cookie = xcb_query_extension(conn, 7, "Present")
425 xcb_connection_t *conn = x11_surface_get_connection(icd_surface); local
458 xcb_connection_t *conn = x11_surface_get_connection(icd_surface); local
640 xcb_connection_t *conn = x11_surface_get_connection(icd_surface); local
724 xcb_connection_t * conn; member in struct:x11_swapchain
1386 xcb_connection_t *conn = x11_surface_get_connection(icd_surface); local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/
wsi_common_x11.c 82 wsi_dri3_open(xcb_connection_t *conn,
90 cookie = xcb_dri3_open(conn,
94 reply = xcb_dri3_open_reply(conn, cookie, NULL);
103 fd = xcb_dri3_open_reply_fds(conn, reply)[0];
112 xcb_connection_t *conn)
115 xcb_setup_roots_iterator(xcb_get_setup(conn));
118 int dri3_fd = wsi_dri3_open(conn, screen->root, None);
130 wsi_x11_detect_xwayland(xcb_connection_t *conn)
133 xcb_randr_query_version_unchecked(conn, 1, 3);
135 xcb_randr_query_version_reply(conn, ver_cookie, NULL)
540 xcb_connection_t *conn = x11_surface_get_connection(icd_surface); local
602 xcb_connection_t *conn = x11_surface_get_connection(icd_surface); local
772 xcb_connection_t *conn = x11_surface_get_connection(icd_surface); local
863 xcb_connection_t * conn; member in struct:x11_swapchain
1712 xcb_connection_t *conn = x11_surface_get_connection(icd_surface); local
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xwin/
winmultiwindowwm.c 111 xcb_connection_t *conn; member in struct:_WMInfo
133 xcb_connection_t *conn; member in struct:_XMsgProcArgRec
156 SendXMessage(xcb_connection_t *conn, xcb_window_t iWin, xcb_atom_t atmType, long nData);
174 CheckAnotherWindowManager(xcb_connection_t *conn, DWORD dwScreen);
386 xcb_connection_t *conn = pWMInfo->conn; local
398 cookie = xcb_get_property(pWMInfo->conn, FALSE, iWin,
401 reply = xcb_get_property_reply(pWMInfo->conn, cookie, NULL);
415 cookie = xcb_icccm_get_wm_name(conn, iWin);
416 if (!xcb_icccm_get_wm_name_reply(conn, cookie, &reply, NULL))
486 xcb_connection_t *conn = pWMInfo->conn; local
1726 xcb_connection_t *conn = pWMInfo->conn; local
    [all...]
winmultiwindowicons.h 33 winUpdateIcon(HWND hWnd, xcb_connection_t *conn, xcb_window_t id, HICON hIconNew);
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/
vl_winsys_dri3.c 69 xcb_connection_t *conn; member in struct:vl_dri3_screen
101 xcb_sync_destroy_fence(scrn->conn, buffer->sync_fence);
112 xcb_xfixes_destroy_region(scrn->conn, buffer->region);
113 xcb_free_pixmap(scrn->conn, buffer->pixmap);
114 xcb_sync_destroy_fence(scrn->conn, buffer->sync_fence);
182 scrn->conn, scrn->special_event)) != NULL)
192 ev = xcb_wait_for_special_event(scrn->conn, scrn->special_event);
213 xcb_flush(scrn->conn);
285 xcb_dri3_pixmap_from_buffer(scrn->conn,
286 (pixmap = xcb_generate_id(scrn->conn)),
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/
vl_winsys_dri3.c 66 xcb_connection_t *conn; member in struct:vl_dri3_screen
98 xcb_sync_destroy_fence(scrn->conn, buffer->sync_fence);
108 xcb_free_pixmap(scrn->conn, buffer->pixmap);
109 xcb_sync_destroy_fence(scrn->conn, buffer->sync_fence);
177 scrn->conn, scrn->special_event)) != NULL)
187 ev = xcb_wait_for_special_event(scrn->conn, scrn->special_event);
208 xcb_flush(scrn->conn);
283 xcb_dri3_pixmap_from_buffer(scrn->conn,
284 (pixmap = xcb_generate_id(scrn->conn)),
290 xcb_dri3_fence_from_fd(scrn->conn,
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/loader/
loader_dri3_helper.c 70 get_screen_for_root(xcb_connection_t *conn, xcb_window_t root)
73 xcb_setup_roots_iterator(xcb_get_setup(conn));
108 set_adaptive_sync_property(xcb_connection_t *conn, xcb_drawable_t drawable,
116 cookie = xcb_intern_atom(conn, 0, strlen(name), name);
117 reply = xcb_intern_atom_reply(conn, cookie, NULL);
122 check = xcb_change_property_checked(conn, XCB_PROP_MODE_REPLACE,
126 check = xcb_delete_property_checked(conn, drawable, reply->atom);
128 xcb_discard_reply(conn, check.sequence);
347 xcb_free_pixmap(draw->conn, buffer->pixmap);
348 xcb_sync_destroy_fence(draw->conn, buffer->sync_fence)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri2/
platform_x11.c 69 dri2_surf->gc = xcb_generate_id(dri2_dpy->conn);
71 xcb_create_gc(dri2_dpy->conn, dri2_surf->gc, dri2_surf->drawable, mask, &function);
73 dri2_surf->swapgc = xcb_generate_id(dri2_dpy->conn);
77 xcb_create_gc(dri2_dpy->conn, dri2_surf->swapgc, dri2_surf->drawable, mask, valgc);
102 xcb_free_gc(dri2_dpy->conn, dri2_surf->gc);
103 xcb_free_gc(dri2_dpy->conn, dri2_surf->swapgc);
119 cookie = xcb_get_geometry (dri2_dpy->conn, dri2_surf->drawable);
120 reply = xcb_get_geometry_reply (dri2_dpy->conn, cookie, &error);
169 xcb_put_image(dri2_dpy->conn, XCB_IMAGE_FORMAT_Z_PIXMAP, dri2_surf->drawable,
186 cookie = xcb_get_image (dri2_dpy->conn, XCB_IMAGE_FORMAT_Z_PIXMAP
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/loader/
loader_dri3_helper.c 68 get_screen_for_root(xcb_connection_t *conn, xcb_window_t root)
71 xcb_setup_roots_iterator(xcb_get_setup(conn));
106 set_adaptive_sync_property(xcb_connection_t *conn, xcb_drawable_t drawable,
114 cookie = xcb_intern_atom(conn, 0, strlen(name), name);
115 reply = xcb_intern_atom_reply(conn, cookie, NULL);
120 check = xcb_change_property_checked(conn, XCB_PROP_MODE_REPLACE,
124 check = xcb_delete_property_checked(conn, drawable, reply->atom);
126 xcb_discard_reply(conn, check.sequence);
298 xcb_free_pixmap(draw->conn, buffer->pixmap);
299 xcb_sync_destroy_fence(draw->conn, buffer->sync_fence)
    [all...]
  /xsrc/external/mit/xedit/dist/lisp/modules/
psql.c 185 PGconn *conn; local
194 conn = (PGconn*)(connection->data.opaque.data);
196 pid = PQbackendPID(conn);
230 PGconn *conn; local
239 conn = (PGconn*)(connection->data.opaque.data);
241 result = PQconsumeInput(conn);
253 PGconn *conn; local
262 conn = (PGconn*)(connection->data.opaque.data);
264 string = PQdb(conn);
273 PGconn *conn; local
295 PGconn *conn; local
320 PGconn *conn; local
605 PGconn *conn; local
651 PGconn *conn; local
712 PGconn *conn; local
735 PGconn *conn; local
758 PGconn *conn; local
804 PGconn *conn; local
900 PGconn *conn; local
923 PGconn *conn; local
946 PGconn *conn; local
969 PGconn *conn; local
    [all...]

Completed in 34 milliseconds

1 2 3