Searched defs:ptr (Results 1 - 25 of 28) sorted by relevance

12

/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/
H A DExtensions.c63 ptr->ext_option_lst = xf86parseOption(ptr->ext_option_lst);
69 ptr->extensions_comment =
70 xf86addComment(ptr->extensions_comment, val.str);
82 return ptr;
88 xf86printExtensionsSection (FILE * cf, XF86ConfExtensionsPtr ptr) argument
92 if (ptr == NULL || ptr->ext_option_lst == NULL)
95 p = ptr->ext_option_lst;
97 if (ptr
104 xf86freeExtensions(XF86ConfExtensionsPtr ptr) argument
[all...]
H A DDRI.c57 if (xf86getSubToken (&(ptr->buf_comment)) != NUMBER)
59 ptr->buf_count = val.num;
61 if (xf86getSubToken (&(ptr->buf_comment)) != NUMBER)
63 ptr->buf_size = val.num;
65 if ((token = xf86getSubToken (&(ptr->buf_comment))) == STRING) {
66 ptr->buf_flags = val.str;
68 ptr->buf_comment = xf86addComment(ptr->buf_comment, val.str);
77 return ptr;
91 ptr
134 xf86printDRISection(FILE * cf, XF86ConfDRIPtr ptr) argument
163 xf86freeDRI(XF86ConfDRIPtr ptr) argument
174 xf86freeBuffersList(XF86ConfBuffersPtr ptr) argument
[all...]
H A DFiles.c109 ptr->file_comment = xf86addComment(ptr->file_comment, val.str);
112 if (xf86getSubToken (&(ptr->file_comment)) != STRING)
116 if (ptr->file_fontpath == NULL)
118 ptr->file_fontpath = xf86confmalloc (1);
119 ptr->file_fontpath[0] = '\0';
124 i = strlen (ptr->file_fontpath) + strlen (str) + 1;
125 if (ptr->file_fontpath[strlen (ptr->file_fontpath) - 1] != ',')
131 ptr
222 xf86printFileSection(FILE * cf, XF86ConfFilesPtr ptr) argument
[all...]
H A DInput.c93 ptr->inp_comment = xf86addComment(ptr->inp_comment, val.str);
96 if (xf86getSubToken (&(ptr->inp_comment)) != STRING)
100 ptr->inp_identifier = val.str;
104 if (xf86getSubToken (&(ptr->inp_comment)) != STRING)
106 ptr->inp_driver = val.str;
109 ptr->inp_option_lst = xf86parseOption(ptr->inp_option_lst);
127 return ptr;
133 xf86printInputSection (FILE * cf, XF86ConfInputPtr ptr) argument
151 xf86freeInputList(XF86ConfInputPtr ptr) argument
[all...]
H A DModule.c93 ptr->load_name = name;
94 ptr->load_type = XF86_LOAD_MODULE;
95 ptr->ignore = 0;
96 ptr->load_opt = NULL;
97 ptr->list.next = NULL;
104 ptr->load_comment = xf86addComment(ptr->load_comment, val.str);
107 ptr->load_opt = xf86parseOption(ptr->load_opt);
111 xf86conffree(ptr);
177 xf86printModuleSection(FILE * cf, XF86ConfModulePtr ptr) argument
248 xf86freeModules(XF86ConfModulePtr ptr) argument
[all...]
H A DVendor.c91 ptr->vs_comment = xf86addComment(ptr->vs_comment, val.str);
94 if (xf86getSubToken (&(ptr->vs_comment)))
98 ptr->vs_identifier = val.str;
102 ptr->vs_option_lst = xf86parseOption(ptr->vs_option_lst);
118 return ptr;
146 ptr->vnd_comment = xf86addComment(ptr->vnd_comment, val.str);
149 if (xf86getSubToken (&(ptr
190 xf86printVendorSection(FILE * cf, XF86ConfVendorPtr ptr) argument
231 xf86freeVendorSubList(XF86ConfVendSubPtr ptr) argument
[all...]
H A DVideo.c90 ptr->vp_comment = xf86addComment(ptr->vp_comment, val.str);
93 if (xf86getSubToken (&(ptr->vp_comment)) != STRING)
97 ptr->vp_identifier = val.str;
101 ptr->vp_option_lst = xf86parseOption(ptr->vp_option_lst);
117 return ptr;
150 ptr->va_comment = xf86addComment(ptr->va_comment, val.str);
153 if (xf86getSubToken (&(ptr
212 xf86printVideoAdaptorSection(FILE * cf, XF86ConfVideoAdaptorPtr ptr) argument
249 xf86freeVideoAdaptorList(XF86ConfVideoAdaptorPtr ptr) argument
271 xf86freeVideoPortList(XF86ConfVideoPortPtr ptr) argument
[all...]
H A Dread.c86 xf86parseConfigFile(XF86ConfigPtr ptr) argument
95 ptr->conf_comment = xf86addComment(ptr->conf_comment, val.str);
98 if (xf86getSubToken (&(ptr->conf_comment)) != STRING)
101 CLEANUP (ptr);
219 return (ptr);
232 XF86ConfigPtr ptr; local
234 if ((ptr = xf86confcalloc (1, sizeof (XF86ConfigRec))) == NULL)
238 memset(ptr, 0, sizeof (XF86ConfigRec)); /* Redundant */
243 ptr
269 xf86readNextConfigFile(XF86ConfigPtr ptr) argument
[all...]
H A DDevice.c114 ptr->dev_chipid = -1;
115 ptr->dev_chiprev = -1;
116 ptr->dev_irq = -1;
122 * Get a ptr to the External Representation of this config line
134 ptr->dev_comment = xf86addComment(ptr->dev_comment, val.str);
137 if (xf86getSubToken (&(ptr->dev_comment)) != STRING)
141 ptr->dev_identifier = val.str;
145 if (xf86getSubToken (&(ptr->dev_comment)) != STRING)
147 ptr
305 xf86printDeviceSectionSection( FILE *cf, XF86ConfDevicePtr ptr, const char *const whitespace[]) argument
322 xf86printDeviceSectionIdentifier( FILE *cf, XF86ConfDevicePtr ptr, const char *const whitespace[]) argument
336 xf86printDeviceSectionDriver( FILE *cf, XF86ConfDevicePtr ptr, const char *const whitespace[]) argument
351 xf86printDeviceSectionVendorName( FILE *cf, XF86ConfDevicePtr ptr, const char *const whitespace[]) argument
365 xf86printDeviceSectionBoardName( FILE *cf, XF86ConfDevicePtr ptr, const char *const whitespace[]) argument
380 xf86printDeviceSectionEndSection( FILE *cf, XF86ConfDevicePtr ptr, const char *const whitespace[]) argument
393 xf86printDeviceSection(FILE * cf, XF86ConfDevicePtr ptr) argument
464 xf86freeDeviceList(XF86ConfDevicePtr ptr) argument
[all...]
H A DLayout.c107 ptr->lay_comment = xf86addComment(ptr->lay_comment, val.str);
110 if (xf86getSubToken (&(ptr->lay_comment)) != STRING)
114 ptr->lay_identifier = val.str;
123 if (xf86getSubToken (&(ptr->lay_comment)) != STRING) {
128 ptr->lay_inactive_lst = (XF86ConfInactivePtr)
129 xf86addListItem ((glp) ptr->lay_inactive_lst, (glp) iptr);
144 if ((token = xf86getSubToken (&(ptr->lay_comment))) == NUMBER)
148 token = xf86getSubToken(&(ptr->lay_comment));
155 token = xf86getSubTokenWithTab(&(ptr
315 xf86printLayoutSection(FILE * cf, XF86ConfLayoutPtr ptr) argument
388 xf86freeLayoutList(XF86ConfLayoutPtr ptr) argument
405 xf86freeAdjacencyList(XF86ConfAdjacencyPtr ptr) argument
425 xf86freeInputrefList(XF86ConfInputrefPtr ptr) argument
[all...]
H A DMonitor.c140 ptr->ml_verbose = FALSE;
147 ptr->ml_dotclock_line_er = line_er;
148 ptr->ml_htimings_line_er = line_er;
149 ptr->ml_vtimings_line_er = line_er;
150 ptr->ml_flags_line_er = line_er;
151 ptr->ml_hskew_line_er = line_er;
152 ptr->ml_vscan_line_er = line_er;
153 fbc_link_line_ER(line_er, (void *)ptr,
159 if (xf86getSubToken (&(ptr->ml_comment)) != STRING)
161 ptr
852 xf86printMonitorSectionSection( FILE *cf, XF86ConfMonitorPtr ptr, const char *const whitespace[]) argument
869 xf86printMonitorSectionIdentifier( FILE *cf, XF86ConfMonitorPtr ptr, const char *const whitespace[]) argument
899 xf86printMonitorSectionGamma( FILE *cf, XF86ConfMonitorPtr ptr, const char *const whitespace[]) argument
922 xf86printMonitorSectionEndSection( FILE *cf, XF86ConfMonitorPtr ptr, const char *const whitespace[]) argument
1177 xf86printMonitorSection(FILE * cf, XF86ConfMonitorPtr ptr) argument
1239 xf86printModesSection(FILE * cf, XF86ConfModesPtr ptr) argument
1266 xf86freeMonitorList(XF86ConfMonitorPtr ptr) argument
1285 xf86freeModesList(XF86ConfModesPtr ptr) argument
1301 xf86freeModeLineList(XF86ConfModeLinePtr ptr) argument
[all...]
H A DScreen.c99 XF86ConfScreenPtr ptr) /* Ptr to Screen section structure */
110 token = xf86getSubToken(&(ptr->scrn_comment));
114 token = xf86getSubToken(&(ptr->scrn_comment));
133 for (mon_ptr = ptr->scrn_monitor_lst;
167 ptr->scrn_monitor_lst = (XF86ConfScrnMonitorEntryPtr)xf86addListItem(
168 (glp)ptr->scrn_monitor_lst,
190 ptr->disp_monitor_seen = FALSE;
192 ptr->disp_black.red = ptr->disp_black.green = ptr
98 xf86parseScrnMonitor( XF86ConfScreenPtr ptr) argument
603 xf86printScreenSectionSection( FILE * cf, XF86ConfScreenPtr ptr, const char *const whitespace[]) argument
620 xf86printScreenSectionIdentifier( FILE * cf, XF86ConfScreenPtr ptr, const char *const whitespace[]) argument
635 xf86printScreenSectionDevice( FILE * cf, XF86ConfScreenPtr ptr, const char *const whitespace[]) argument
672 xf86printScreenSectionDefaultDepth( FILE * cf, XF86ConfScreenPtr ptr, const char *const whitespace[]) argument
687 xf86printScreenSectionEndSection( FILE * cf, XF86ConfScreenPtr ptr, const char *const whitespace[]) argument
700 xf86printScreenSection(FILE * cf, XF86ConfScreenPtr ptr) argument
830 xf86freeScreenList(XF86ConfScreenPtr ptr) argument
850 xf86freeAdaptorLinkList(XF86ConfAdaptorLinkPtr ptr) argument
864 xf86freeDisplayList(XF86ConfDisplayPtr ptr) argument
879 xf86freeModeList(XF86ModePtr ptr) argument
[all...]
/solaris-x11-s12/open-src/kernel/drm/src/
H A Ddrm_linux.c60 IS_ERR(const void *ptr) argument
62 return ((unsigned long)ptr >= (unsigned long)-255);
H A Ddrm_gem.c643 drm_gem_object_release_handle(int id, void *ptr, void *data) argument
646 struct drm_gem_object *obj = ptr;
822 uint32_t cur_seq, uint32_t last_seq, void* ptr)
830 list->ring_ptr = ptr;
821 drm_gem_object_track(struct drm_gem_object *obj, const char *name, uint32_t cur_seq, uint32_t last_seq, void* ptr) argument
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbc_Modes.c175 XF86ConfModeLinePtr modes, ptr, next_mode_ptr, mode_ptr; local
183 ptr = modes;
186 while (ptr != NULL) {
187 next_mode_ptr = ptr->list.next;
188 if (xf86nameCompare(mode, ptr->ml_identifier) == 0) {
189 mode_ptr = ptr;
191 TestFree (ptr->ml_identifier);
192 TestFree (ptr->ml_comment);
193 xf86conffree (ptr);
195 ptr
[all...]
H A Dfbconf_xorg.c95 const char *ptr; /* Pointer into argument string */ local
114 for (ptr = argv[arg]; *ptr != '\0'; ptr += 1) {
H A Dfbc_dev.c107 char *ptr; /* Ptr to pathname component */ local
154 ptr = &symlink_buf[0]; /* To overwrite the entire link path */
156 ptr = strrchr(symlink_buf, '/');
157 if (ptr == NULL) {
158 ptr = &symlink_buf[0];
160 ptr += 1;
163 if ((ptr - &symlink_buf[0] + len) >= sizeof (respath_buf)) {
166 memcpy(ptr, respath_buf, len+1);
179 ptr = strrchr(symlink_buf, ':');
180 if (ptr
[all...]
H A Dfbc_res.c557 const char *ptr; /* Ptr into mode name, else NULL */ local
559 const SunVideoSummary *vs; /* Video summary array element ptr */
579 ptr = strrchr(video_mode->name, '_');
580 if (ptr != NULL) {
581 ptr += 1;
583 ptr = video_mode->name;
585 if (sscanf(ptr, "%dx%d", &video_mode->width, &video_mode->height)
595 ptr = strrchr(video_mode->name, '@');
596 if (ptr != NULL) {
601 mode_name_buf[ptr
[all...]
H A Dsun_edid.c1419 const SunVideoSummary *ptr; /* Ptr into SunVideoTable[] table */ local
1435 for (ptr = &SunVideoTable[0]; ptr->id_string != NULL; ptr += 1) {
1436 if ((width == ptr->width) &&
1437 (height == ptr->height) &&
1438 (frequency == ptr->vfreq)) {
1439 return (ptr->id_string);
1675 const SunVideoSummary *ptr; /* Ptr into SunVideoTable[] table */ local
1682 for (ptr
[all...]
/solaris-x11-s12/open-src/util/build-tools/sun-src/
H A Dtime.c106 time(time_t *ptr) argument
116 result = (fptr)(ptr);
117 } else if (ptr != NULL)
118 *ptr = result;
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/vts/ast/
H A Dtools.c173 register void *ptr; local
175 ptr = mmap(NULL, ast_info.ast_mmio_size,
179 if (ptr == MAP_FAILED)
182 ast_info.ast_mmio_ptr = (uchar_t *)ptr;
198 register void *ptr; local
200 ptr = mmap(NULL, ast_info.ast_fb_size,
204 if (ptr == MAP_FAILED)
207 ast_info.ast_fb_ptr = (uchar_t *)ptr;
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/vts/mga/
H A Dtools.c106 register void *ptr; local
108 ptr = mmap(NULL, mga_info.mga_fb_size,
112 if (ptr == MAP_FAILED)
115 mga_info.mga_fb_ptr = (char *) ptr;
130 register void *ptr; local
132 ptr = mmap(NULL, mga_info.mga_control_size,
136 if (ptr == MAP_FAILED)
139 mga_info.mga_control_ptr = (mga_t volatile *) ptr;
154 register void *ptr; local
156 ptr
[all...]
/solaris-x11-s12/open-src/lib/libdga/sun-src/
H A Dcmap_grab.c920 /* Each client may store private info in the client info ptr */
1100 caddr_t ptr ; local
1111 ptr = mmap(0, pagesize, PROT_READ|PROT_WRITE,
1113 if( (int)ptr == -1 )
1118 *lockp = (int *) (ptr+ofs) ;
1120 ptr = mmap(0, pagesize, PROT_READ|PROT_WRITE,
1122 if( (int)ptr == -1 )
1128 *unlockp = (int *) (ptr+ofs) ;
1139 caddr_t ptr ; local
1147 ptr
[all...]
H A Dwin_grab.c318 * Dga_window ptr to the struct dga_window via the dga_win_devfd() routine.
1289 short *ptr; local
1293 ptr = dga_win_clipinfo(win);
1294 ytop = *ptr++; ybot = *ptr++; xleft = *ptr++; xright = *ptr++;
/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Dxlock.c837 const char *ptr; local
843 if ((ptr = defread("PASSREQ=")) != NULL &&
844 strcasecmp("YES", ptr) == 0) {

Completed in 708 milliseconds

12