| /openbsd-src/usr.bin/tmux/ |
| H A D | grid-reader.c | 24 grid_reader_start(struct grid_reader *gr, struct grid *gd, u_int cx, u_int cy) in grid_reader_start() argument 26 gr->gd = gd; in grid_reader_start() 27 gr->cx = cx; in grid_reader_start() 28 gr->cy = cy; in grid_reader_start() 33 grid_reader_get_cursor(struct grid_reader *gr, u_int *cx, u_int *cy) in grid_reader_get_cursor() argument 35 *cx = gr->cx; in grid_reader_get_cursor() 36 *cy = gr->cy; in grid_reader_get_cursor() 41 grid_reader_line_length(struct grid_reader *gr) in grid_reader_line_length() argument 43 return (grid_line_length(gr->gd, gr in grid_reader_line_length() 48 grid_reader_cursor_right(struct grid_reader * gr,int wrap,int all) grid_reader_cursor_right() argument 74 grid_reader_cursor_left(struct grid_reader * gr,int wrap) grid_reader_cursor_left() argument 95 grid_reader_cursor_down(struct grid_reader * gr) grid_reader_cursor_down() argument 111 grid_reader_cursor_up(struct grid_reader * gr) grid_reader_cursor_up() argument 127 grid_reader_cursor_start_of_line(struct grid_reader * gr,int wrap) grid_reader_cursor_start_of_line() argument 140 grid_reader_cursor_end_of_line(struct grid_reader * gr,int wrap,int all) grid_reader_cursor_end_of_line() argument 158 grid_reader_handle_wrap(struct grid_reader * gr,u_int * xx,u_int * yy) grid_reader_handle_wrap() argument 181 grid_reader_in_set(struct grid_reader * gr,const char * set) grid_reader_in_set() argument 193 grid_reader_cursor_next_word(struct grid_reader * gr,const char * separators) grid_reader_cursor_next_word() argument 238 grid_reader_cursor_next_word_end(struct grid_reader * gr,const char * separators) grid_reader_cursor_next_word_end() argument 283 grid_reader_cursor_previous_word(struct grid_reader * gr,const char * separators,int already,int stop_at_eol) grid_reader_cursor_previous_word() argument 343 grid_reader_cursor_jump(struct grid_reader * gr,const struct utf8_data * jc) grid_reader_cursor_jump() argument 375 grid_reader_cursor_jump_back(struct grid_reader * gr,const struct utf8_data * jc) grid_reader_cursor_jump_back() argument 404 grid_reader_cursor_back_to_indentation(struct grid_reader * gr) grid_reader_cursor_back_to_indentation() argument [all...] |
| H A D | window-copy.c | 5058 struct grid_reader gr; in window_copy_cursor_up() 5066 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_up() 5067 grid_reader_cursor_start_of_line(&gr, 1); in window_copy_cursor_up() 5068 grid_reader_get_cursor(&gr, &px, &py); in window_copy_cursor_up() 5077 struct grid_reader gr; in window_copy_cursor_up() 5085 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_up() 5086 grid_reader_cursor_back_to_indentation(&gr); in window_copy_cursor_up() 5087 grid_reader_get_cursor(&gr, &px, &py); in window_copy_cursor_up() 5096 struct grid_reader gr; in window_copy_cursor_up() 5104 grid_reader_start(&gr, back_ in window_copy_cursor_up() 4900 struct grid_reader gr; window_copy_cursor_start_of_line() local 4919 struct grid_reader gr; window_copy_cursor_back_to_indentation() local 4938 struct grid_reader gr; window_copy_cursor_end_of_line() local 5012 struct grid_reader gr; window_copy_cursor_left() local 5031 struct grid_reader gr; window_copy_cursor_right() local 5191 struct grid_reader gr; window_copy_cursor_jump() local 5212 struct grid_reader gr; window_copy_cursor_jump_back() local 5234 struct grid_reader gr; window_copy_cursor_jump_to() local 5256 struct grid_reader gr; window_copy_cursor_jump_to_back() local 5281 struct grid_reader gr; window_copy_cursor_next_word() local 5305 struct grid_reader gr; window_copy_cursor_next_word_end_pos() local 5334 struct grid_reader gr; window_copy_cursor_next_word_end() local 5362 struct grid_reader gr; window_copy_cursor_previous_word_pos() local 5385 struct grid_reader gr; window_copy_cursor_previous_word() local [all...] |
| /openbsd-src/usr.bin/file/magdir/ |
| H A D | grace | 4 # ACE/gr and Grace type files - PLEASE DO NOT REMOVE THIS LINE 6 # ACE/gr binary 7 …0\000\0000\000\000\0000\000\000\0002\000\000\0000\000\000\0000\000\000\0003 old ACE/gr binary file 9 # ACE/gr ascii 10 0 string #\ xvgr\ parameter\ file ACE/gr ascii file 11 0 string #\ xmgr\ parameter\ file ACE/gr ascii file 12 0 string #\ ACE/gr\ parameter\ file ACE/gr ascii file 19 # ACE/gr fit description files 20 0 string #\ ACE/gr\ fit\ description\ ACE/gr fit description file 21 # end of ACE/gr and Grace type files - PLEASE DO NOT REMOVE THIS LINE
|
| /openbsd-src/usr.bin/id/ |
| H A D | id.c | 57 struct group *gr; in main() local 151 if (nflag && (gr = getgrgid(gid))) in main() 152 (void)printf("%s\n", gr->gr_name); in main() 187 struct group *gr; in pretty() local 214 if ((gr = getgrgid(rid))) in pretty() 215 (void)printf("rgid\t%s\n", gr->gr_name); in pretty() 229 struct group *gr; in current() local 247 if ((gr = getgrgid(gid))) in current() 248 (void)printf("(%s)", gr->gr_name); in current() 251 if ((gr in current() 274 struct group *gr; user() local 303 struct group *gr; group() local [all...] |
| /openbsd-src/sys/dev/usb/dwc2/ |
| H A D | dwc2_core.c | 76 struct dwc2_gregs_backup *gr; in dwc2_backup_global_registers() local 81 gr = &hsotg->gr_backup; in dwc2_backup_global_registers() 83 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers() 84 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers() 85 gr->gahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_backup_global_registers() 86 gr->gusbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_backup_global_registers() 87 gr->grxfsiz = dwc2_readl(hsotg, GRXFSIZ); in dwc2_backup_global_registers() 88 gr->gnptxfsiz = dwc2_readl(hsotg, GNPTXFSIZ); in dwc2_backup_global_registers() 89 gr->gdfifocfg = dwc2_readl(hsotg, GDFIFOCFG); in dwc2_backup_global_registers() 90 gr->pcgcctl1 = dwc2_readl(hsotg, PCGCCTL1); in dwc2_backup_global_registers() [all …]
|
| /openbsd-src/lib/libc/gen/ |
| H A D | pwcache.c | 266 struct group grstore, *gr = NULL; in group_from_gid() local 290 getgrgid_r(gid, &grstore, grbuf, sizeof(grbuf), &gr); in group_from_gid() 291 if (gr == NULL) { in group_from_gid() 308 return gr->gr_name; in group_from_gid() 310 (void)strlcpy(ptr->name, gr->gr_name, sizeof(ptr->name)); in group_from_gid() 386 struct group grstore, *gr = NULL; in gid_from_group() local 421 getgrnam_r(name, &grstore, grbuf, sizeof(grbuf), &gr); in gid_from_group() 423 if (gr == NULL) in gid_from_group() 425 *gid = gr->gr_gid; in gid_from_group() 430 if (gr == NULL) { in gid_from_group() [all …]
|
| H A D | getgrent.c | 60 _THREAD_PRIVATE_KEY(gr); 84 struct group *p_gr = (struct group*)_THREAD_PRIVATE(gr, _gr_group, NULL); in _getgrent_yp() 88 _THREAD_PRIVATE_MUTEX_LOCK(gr); in _getgrent_yp() 91 _THREAD_PRIVATE_MUTEX_UNLOCK(gr); in _getgrent_yp() 106 _THREAD_PRIVATE_MUTEX_LOCK(gr); in getgrnam_gs() 114 _THREAD_PRIVATE_MUTEX_UNLOCK(gr); in getgrnam_gs() 121 struct group *p_gr = (struct group*)_THREAD_PRIVATE(gr,_gr_group,NULL); in getgrnam() 154 _THREAD_PRIVATE_MUTEX_LOCK(gr); in getgrgid_gs() 162 _THREAD_PRIVATE_MUTEX_UNLOCK(gr); in getgrgid_gs() 169 struct group *p_gr = (struct group*)_THREAD_PRIVATE(gr, _gr_group, NULL); in getgrgid() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | grent.t | 170 my $gr = scalar getgrent(); 171 last unless defined $gr; 172 push @gr1, $gr; 180 my ($gr) = (getgrent()); 181 last unless defined $gr; 182 push @gr2, $gr;
|
| H A D | groups.t | 270 my $gr; 273 $gr = $fields[$i+1]; 274 $gr =~ s/ $//; 278 if (defined $gr) { 279 my @g = split m{, ?}, $gr; 290 diag_variable( gr => $gr );
|
| /openbsd-src/gnu/usr.bin/cvs/os2/ |
| H A D | pwd.c | 49 static struct group gr; /* instead of pointers to static structures? */ variable 73 gr.gr_name = getgr_name (); in getgrgid() 74 gr.gr_gid = 0; in getgrgid() 76 return &gr; in getgrgid()
|
| /openbsd-src/gnu/usr.bin/cvs/windows-NT/ |
| H A D | pwd.c | 50 static struct group gr; /* instead of pointers to static structures? */ variable 74 gr.gr_name = getgr_name (); in getgrgid() 75 gr.gr_gid = 0; in getgrgid() 77 return &gr; in getgrgid()
|
| /openbsd-src/usr.sbin/ypserv/revnetgroup/ |
| H A D | parse_netgroup.c | 75 struct netgrp *gr; member 102 if (grouphead.gr == NULL || strcmp(group, grouphead.grname)) { in __setnetgrent() 109 nextgrp = grouphead.gr; in __setnetgrent() 148 gp = grouphead.gr; in __endnetgrent() 157 grouphead.gr = NULL; in __endnetgrent() 204 grp->ng_next = grouphead.gr; in parse_netgrp() 205 grouphead.gr = grp; in parse_netgrp()
|
| /openbsd-src/usr.bin/getent/ |
| H A D | getent.c | 186 printfmtstrings(gr->gr_mem, ":", ",", "%s:%s:%u", \ 187 gr->gr_name, gr->gr_passwd, gr->gr_gid) 192 struct group *gr; in group() local 199 while ((gr = getgrent()) != NULL) in group() 203 if ((gr = getgrnam(argv[i])) == NULL) { in group() 206 gr = getgrgid(gid); in group() 208 if (gr != NULL) in group()
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | groupaccess.c | 52 struct group *gr; in ga_init() local 64 if ((gr = getgrgid(groups_bygid[i])) != NULL) in ga_init() 65 groups_byname[j++] = xstrdup(gr->gr_name);
|
| /openbsd-src/regress/sys/kern/ptmget/ |
| H A D | ptmget.c | 27 struct group *gr; in main() local 30 if ((gr = getgrnam("tty")) != NULL) in main() 31 ttygid = gr->gr_gid; in main()
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | remote-utils.c | 157 gr_open (char *args, int from_tty, struct gr_settings *gr) in gr_open() argument 160 sr_scan_args (gr->ops->to_shortname, args); in gr_open() 161 unpush_target (gr->ops); in gr_open() 163 gr_settings = gr; in gr_open() 173 usage (gr->ops->to_shortname, NULL); in gr_open() 211 push_target (gr->ops); in gr_open()
|
| /openbsd-src/lib/libkeynote/ |
| H A D | keynote.y | 492 char grp[10], *gr; variable 534 gr = calloc(pmatch[i].rm_eo - pmatch[i].rm_so + 536 if (gr == NULL) 544 strncpy(gr, $1 + pmatch[i].rm_so, 546 gr[pmatch[i].rm_eo - pmatch[i].rm_so] = '\0'; 548 if (keynote_env_add(grp, gr, &keynote_temp_list, 553 free(gr); 557 free(gr);
|
| /openbsd-src/usr.sbin/radiusd/ |
| H A D | radiusd_bsdauth.c | 170 struct group gr0, *gr; in main() 198 sizeof(g_buf), &gr) == -1 || gr == NULL) in main() 201 if (gr->gr_gid == pw->pw_gid) { in main() 205 for (i = 0; gr->gr_mem[i] != NULL; i++) { in main() 206 if (strcmp(gr->gr_mem[i], pw->pw_name) in main() 169 struct group gr0, *gr; main() local
|
| /openbsd-src/sbin/mount_ntfs/ |
| H A D | mount_ntfs.c | 137 struct group *gr; in a_gid() local 141 if ((gr = getgrnam(s)) != NULL) in a_gid() 142 return gr->gr_gid; in a_gid()
|
| /openbsd-src/usr.bin/chpass/ |
| H A D | field.c | 112 struct group *gr; in p_gid() local 121 if (!(gr = getgrnam(p))) { in p_gid() 125 pw->pw_gid = gr->gr_gid; in p_gid()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/cpu/ |
| H A D | frv.cpu | 259 (unit u-gr-load "GR Load Unit" () 267 (unit u-gr-store "GR Store Unit" () 608 (unit u-gr-load "GR Load Unit" () 616 (unit u-gr-store "GR Store Unit" () 624 (unit u-gr-r-store "GR Recovering Store Unit" () 1055 (unit u-gr-load "GR Load Unit" () 1063 (unit u-gr-store "GR Store Unit" () 1432 (unit u-gr-load "GR Load Unit" () 1440 (unit u-gr-store "GR Store Unit" () 2213 (name gr-names) [all …]
|
| /openbsd-src/sbin/mount_msdos/ |
| H A D | mount_msdos.c | 156 struct group *gr; in a_gid() local 160 if ((gr = getgrnam(s)) != NULL) in a_gid() 161 return gr->gr_gid; in a_gid()
|
| /openbsd-src/gnu/usr.bin/binutils/cpu/ |
| H A D | frv.cpu | 259 (unit u-gr-load "GR Load Unit" () 267 (unit u-gr-store "GR Store Unit" () 608 (unit u-gr-load "GR Load Unit" () 616 (unit u-gr-store "GR Store Unit" () 624 (unit u-gr-r-store "GR Recovering Store Unit" () 1055 (unit u-gr-load "GR Load Unit" () 1063 (unit u-gr-store "GR Store Unit" () 1781 (name gr-names) 1782 (print-name h-gr) 1798 (name h-gr) [all …]
|
| /openbsd-src/usr.sbin/kvm_mkdb/ |
| H A D | kvm_mkdb.c | 67 struct group *gr; in main() local 77 if ((gr = getgrnam("kmem")) == NULL) { in main() 80 kvm_gid = gr->gr_gid; in main()
|
| /openbsd-src/sbin/mount_tmpfs/ |
| H A D | mount_tmpfs.c | 207 struct group *gr; in a_gid() local 209 if ((gr = getgrnam(s)) != NULL) in a_gid() 210 return gr->gr_gid; in a_gid()
|