Home
last modified time | relevance | path

Searched refs:gbuf (Results 1 – 7 of 7) sorted by relevance

/openbsd/regress/sys/fileops/
H A Dfileops.c35 static char *gbuf; variable
169 c_read(gbuf, to_read); in check_read()
171 check_zero(gbuf, to_read); in check_read()
173 check_data(gbuf, to_read, seed); in check_read()
204 gen_data(gbuf, BUFSIZE, curpos); in do_create()
205 c_write(gbuf, BUFSIZE); in do_create()
209 gen_data(gbuf, BUFSIZE, curpos); in do_create()
210 c_write(gbuf, BUFSIZE); in do_create()
244 gbuf = malloc(BUFSIZE); in main()
245 if (gbuf == NULL) in main()
/openbsd/bin/csh/
H A Dglob.c91 Char gbuf[PATH_MAX], *gstart, *b, *u, *e; in globtilde() local
93 gstart = gbuf; in globtilde()
96 for (b = gstart, e = &gbuf[PATH_MAX - 1]; in globtilde()
101 if (gethdir(gstart, &gbuf[sizeof(gbuf)/sizeof(Char)] - gstart)) { in globtilde()
123 Char gbuf[PATH_MAX]; in globbrace() local
131 for (lm = gbuf, p = s; *p != LBRC; *lm++ = *p++) in globbrace()
185 (void) Strlcpy(lm, pl, &gbuf[sizeof(gbuf)/sizeof(Char)] - lm); in globbrace()
186 (void) Strlcat(gbuf, pe + 1, PATH_MAX); in globbrace()
188 *vl++ = Strsave(gbuf); in globbrace()
/openbsd/sys/arch/octeon/dev/
H A Dif_cnmac.c546 uint64_t *gbuf; in cnmac_send_queue_flush() local
548 cnmac_send_queue_del(sc, &m, &gbuf); in cnmac_send_queue_flush()
577 uint64_t *gbuf) in cnmac_send_queue_add() argument
581 m->m_pkthdr.ph_cookie = gbuf; in cnmac_send_queue_add()
735 uint64_t *gbuf, int *rsegs) in cnmac_send_makecmd_gbuf() argument
746 gbuf[segs] = cnmac_send_makecmd_w1(m->m_len, in cnmac_send_makecmd_gbuf()
772 if (cnmac_send_makecmd_gbuf(sc, m, gbuf, &segs)) { in cnmac_send_makecmd()
796 XKPHYS_TO_PHYS(gbuf)); in cnmac_send_makecmd()
873 uint64_t *gbuf = NULL; in cnmac_send() local
887 error = cnmac_send_buf(sc, m, gbuf); in cnmac_send()
[all …]
/openbsd/usr.bin/ssh/
H A Dsftp-common.c217 char buf[1024], lc[8], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; in ls_file() local
228 snprintf(gbuf, sizeof gbuf, "%u", (u_int)st->st_gid); in ls_file()
229 group = gbuf; in ls_file()
H A Dservconf.c1260 glob_t gbuf; in process_server_config_line_depth() local
2256 if ((r = glob(arg, 0, NULL, &gbuf)) != 0) { in process_server_config_line_depth()
2272 if (gbuf.gl_pathc > INT_MAX) in process_server_config_line_depth()
2274 for (n = 0; n < (int)gbuf.gl_pathc; n++) { in process_server_config_line_depth()
2276 filename, linenum, gbuf.gl_pathv[n]); in process_server_config_line_depth()
2279 item->filename = strdup(gbuf.gl_pathv[n]); in process_server_config_line_depth()
2294 globfree(&gbuf); in process_server_config_line_depth()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Daix-thread.c672 struct thread_info **gbuf, **g, *thread; in sync_threadlists() local
718 g = gbuf = (struct thread_info **) xmalloc (gcount * sizeof *gbuf); in sync_threadlists()
720 qsort (gbuf, gcount, sizeof *gbuf, gcmp); in sync_threadlists()
729 delete_thread (gbuf[gi]->ptid); in sync_threadlists()
746 gptid = gbuf[gi]->ptid; in sync_threadlists()
754 gbuf[gi]->private->pdtid = pdtid; in sync_threadlists()
755 gbuf[gi]->private->tid = tid; in sync_threadlists()
776 xfree (gbuf); in sync_threadlists()
/openbsd/games/hack/
H A Dhack.invent.c818 char gbuf[30]; in dolook() local
820 (void) snprintf(gbuf, sizeof gbuf, "%ld gold piece%s", in dolook()
823 pline("You %s here %s.", verb, gbuf); in dolook()
825 cornline(1, gbuf); in dolook()