Home
last modified time | relevance | path

Searched refs:gl (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-13.1/sbin/gbde/
H A Dgbde.c448 random_bits(gl->spare, sizeof(gl->spare)); in cmd_write()
483 bzero(&gl->sector0, sizeof gl->sector0); in cmd_destroy()
484 bzero(&gl->sectorN, sizeof gl->sectorN); in cmd_destroy()
485 bzero(&gl->keyoffset, sizeof gl->keyoffset); in cmd_destroy()
487 bzero(gl->mkey, sizeof gl->mkey); in cmd_destroy()
524 bzero(gl, sizeof *gl); in cmd_init()
634 gl->sector0 = first_sector * gl->sectorsize; in cmd_init()
641 gl->sectorN = (last_sector + 1) * gl->sectorsize; in cmd_init()
645 o %= (gl->sectorN - gl->sector0); in cmd_init()
712 random_bits(gl->mkey, sizeof gl->mkey); in cmd_init()
[all …]
/freebsd-13.1/sys/geom/bde/
H A Dg_bde_lock.c189 bcopy(gl->spare, p, sizeof gl->spare); in g_bde_encode_lock()
193 bcopy(gl->salt, p, sizeof gl->salt); in g_bde_encode_lock()
194 p += sizeof gl->salt; in g_bde_encode_lock()
197 bcopy(gl->mkey, p, sizeof gl->mkey); in g_bde_encode_lock()
259 bcopy(p, gl->spare, sizeof gl->spare); in g_bde_decode_lock()
263 bcopy(p, gl->salt, sizeof gl->salt); in g_bde_decode_lock()
267 bcopy(p, gl->mkey, sizeof gl->mkey); in g_bde_decode_lock()
359 struct g_bde_key *gl; in g_bde_decrypt_lockx() local
365 gl = &sc->key; in g_bde_decrypt_lockx()
428 q1 += gl->mkey[i]; in g_bde_decrypt_lockx()
[all …]
H A Dg_bde.h156 int g_bde_encode_lock(u_char *sha2, struct g_bde_key *gl, u_char *ptr);
157 int g_bde_decode_lock(struct g_bde_softc *sc, struct g_bde_key *gl, u_char *ptr);
/freebsd-13.1/contrib/netbsd-tests/lib/libc/gen/
H A Dt_glob.c199 glob_t gl; in run() local
202 memset(&gl, 0, sizeof(gl)); in run()
203 gl.gl_opendir = gl_opendir; in run()
204 gl.gl_readdir = gl_readdir; in run()
205 gl.gl_closedir = gl_closedir; in run()
206 gl.gl_stat = gl_stat; in run()
207 gl.gl_lstat = gl_lstat; in run()
211 for (i = 0; i < gl.gl_pathc; i++) in run()
214 ATF_CHECK(len == gl.gl_pathc); in run()
215 for (i = 0; i < gl.gl_pathc; i++) in run()
[all …]
/freebsd-13.1/libexec/ftpd/
H A Dpopen.c102 glob_t gl; in ftpd_popen() local
105 memset(&gl, 0, sizeof(gl)); in ftpd_popen()
106 gl.gl_matchc = MAXGLOBARGS; in ftpd_popen()
108 if (glob(argv[argc], flags, NULL, &gl)) in ftpd_popen()
110 else if (gl.gl_pathc > 0) { in ftpd_popen()
111 for (pop = gl.gl_pathv; *pop && gargc < (MAXGLOBARGS-1); in ftpd_popen()
115 globfree(&gl); in ftpd_popen()
H A Dftpcmd.y1733 glob_t gl;
1735 memset(&gl, 0, sizeof(gl));
1737 gl.gl_matchc = MAXGLOBARGS;
1738 if (glob(s, flags, NULL, &gl) == 0 && gl.gl_pathc != 0) {
1739 for (pp = gl.gl_pathv, p = NULL, n = 0; *pp; pp++)
1756 globfree(&gl);
H A Dftpd.c3184 glob_t gl; in send_file_list() local
3189 memset(&gl, 0, sizeof(gl)); in send_file_list()
3190 gl.gl_matchc = MAXGLOBARGS; in send_file_list()
3193 if (glob(whichf, flags, 0, &gl)) { in send_file_list()
3196 } else if (gl.gl_pathc == 0) { in send_file_list()
3201 dirlist = gl.gl_pathv; in send_file_list()
3308 globfree(&gl); in send_file_list()
/freebsd-13.1/usr.bin/vtfontcvt/
H A Dvtfontcvt.c208 mp->m_glyph = gl; in add_mapping()
260 struct glyph *gl; in add_glyph() local
271 return (gl); in add_glyph()
276 gl = xmalloc(sizeof *gl); in add_glyph()
288 return (gl); in add_glyph()
320 struct glyph *gl; in add_char() local
325 gl = add_glyph(bytes, 0, 1); in add_char()
327 gl = add_glyph(bytes, map_idx, 0); in add_char()
641 struct glyph *gl; in number_glyphs() local
646 gl->g_index = idx++; in number_glyphs()
[all …]
/freebsd-13.1/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c138 glob_t gl; in ftpd_popen() local
148 memset(&gl, 0, sizeof(gl)); in ftpd_popen()
150 glob(argv[argc], flags, NULL, &gl) || in ftpd_popen()
151 gl.gl_pathc == 0) in ftpd_popen()
154 for (pop = gl.gl_pathv; in ftpd_popen()
158 globfree(&gl); in ftpd_popen()
H A Dftpcmd.y841 glob_t gl;
845 memset(&gl, 0, sizeof(gl));
846 if (glob($1, flags, NULL, &gl) ||
847 gl.gl_pathc == 0) {
851 $$ = strdup(gl.gl_pathv[0]);
853 globfree(&gl);
H A Dftpd.c2218 glob_t gl; in send_file_list() local
2230 memset(&gl, 0, sizeof(gl)); in send_file_list()
2232 if (glob(whichf, flags, 0, &gl)) { in send_file_list()
2235 } else if (gl.gl_pathc == 0) { in send_file_list()
2240 dirlist = gl.gl_pathv; in send_file_list()
2338 globfree(&gl); in send_file_list()
H A Dftpcmd.c2679 glob_t gl; in yyparse()
2683 memset(&gl, 0, sizeof(gl)); in yyparse()
2684 if (glob((yyvsp[(1) - (1)].s), flags, NULL, &gl) || in yyparse()
2685 gl.gl_pathc == 0) { in yyparse()
2689 (yyval.s) = strdup(gl.gl_pathv[0]); in yyparse()
2691 globfree(&gl); in yyparse()
/freebsd-13.1/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_rfgain.c192 const GAIN_OPTIMIZATION_LADDER *gl; in ar5212AdjustGain() local
195 gl = &gainLadder5112; in ar5212AdjustGain()
197 gl = &gainLadder; in ar5212AdjustGain()
198 gv->currStep = &gl->optStep[gv->currStepNum]; in ar5212AdjustGain()
210 gv->targetGain -= 2 * (gl->optStep[--(gv->currStepNum)].stepGain - in ar5212AdjustGain()
212 gv->currStep = &gl->optStep[gv->currStepNum]; in ar5212AdjustGain()
219 if (gv->currStepNum == gl->numStepsInLadder-1) { in ar5212AdjustGain()
229 gv->currStepNum < (gl->numStepsInLadder - 1)) { in ar5212AdjustGain()
231 (gl->optStep[++(gv->currStepNum)].stepGain - gv->currStep->stepGain); in ar5212AdjustGain()
232 gv->currStep = &gl->optStep[gv->currStepNum]; in ar5212AdjustGain()
/freebsd-13.1/usr.bin/login/
H A Dlogin_fbtab.c125 glob_t gl; in login_protect() local
129 if (glob(pattern, GLOB_NOSORT, NULL, &gl) != 0) in login_protect()
131 for (i = 0; i < gl.gl_pathc; i++) { in login_protect()
132 path = gl.gl_pathv[i]; in login_protect()
141 globfree(&gl); in login_protect()
/freebsd-13.1/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c514 glob_t gl; in mput() local
537 memset(&gl, 0, sizeof(gl)); in mput()
539 if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) { in mput()
541 globfree(&gl); in mput()
562 globfree(&gl); in mput()
1564 glob_t gl; in globulize() local
1571 memset(&gl, 0, sizeof(gl)); in globulize()
1572 if (glob(*cpp, flags, NULL, &gl) || in globulize()
1573 gl.gl_pathc == 0) { in globulize()
1575 globfree(&gl); in globulize()
[all …]
/freebsd-13.1/lib/libiconv_modules/ISO2022/
H A Dcitrus_iso2022.c95 int gl:3, member
436 s->gl = 0; in _citrus_ISO2022_init_state()
589 psenc->gl = 0; in _ISO2022_sgetwchar()
595 psenc->gl = 1; in _ISO2022_sgetwchar()
661 psenc->gl = string[1] - 'n' + 2; in _ISO2022_sgetwchar()
1077 if (psenc->gl == target) in _ISO2022_sputwchar()
1084 psenc->gl = 0; in _ISO2022_sputwchar()
1087 psenc->gl = 1; in _ISO2022_sputwchar()
1091 psenc->gl = 2; in _ISO2022_sputwchar()
1095 psenc->gl = 3; in _ISO2022_sputwchar()
[all …]
/freebsd-13.1/contrib/tnftp/src/
H A Dutil.c634 glob_t gl; in globulize() local
642 memset(&gl, 0, sizeof(gl)); in globulize()
643 if (glob(pattern, flags, NULL, &gl) || gl.gl_pathc == 0) { in globulize()
645 globfree(&gl); in globulize()
648 p = ftp_strdup(gl.gl_pathv[0]); in globulize()
649 globfree(&gl); in globulize()
H A Dcmds.c507 glob_t gl; in mput() local
529 memset(&gl, 0, sizeof(gl)); in mput()
531 if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) { in mput()
533 globfree(&gl); in mput()
536 for (cpp = gl.gl_pathv; cpp && *cpp != NULL && connected; in mput()
555 globfree(&gl); in mput()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_ignorelist.txt12 # Stack buffer overflow in VC/INCLUDE/xlocnum, see http://goo.gl/L4qqUG
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlparser.c341 Labellist *gl = &ls->dyd->gt; in closegoto() local
342 Labeldesc *gt = &gl->arr[g]; in closegoto()
353 for (i = g; i < gl->n - 1; i++) in closegoto()
354 gl->arr[i] = gl->arr[i + 1]; in closegoto()
355 gl->n--; in closegoto()
401 Labellist *gl = &ls->dyd->gt; in findgotos() local
403 while (i < gl->n) { in findgotos()
404 if (luaS_eqstr(gl->arr[i].name, lb->name)) in findgotos()
420 Labellist *gl = &fs->ls->dyd->gt; in movegotosout() local
423 while (i < gl->n) { in movegotosout()
[all …]
/freebsd-13.1/contrib/lua/src/
H A Dlparser.c517 Labellist *gl = &ls->dyd->gt; /* list of goto's */ in solvegoto() local
518 Labeldesc *gt = &gl->arr[g]; /* goto to be resolved */ in solvegoto()
523 for (i = g; i < gl->n - 1; i++) /* remove goto from pending list */ in solvegoto()
524 gl->arr[i] = gl->arr[i + 1]; in solvegoto()
525 gl->n--; in solvegoto()
574 Labellist *gl = &ls->dyd->gt; in solvegotos() local
577 while (i < gl->n) { in solvegotos()
578 if (eqstr(gl->arr[i].name, lb->name)) { in solvegotos()
579 needsclose |= gl->arr[i].close; in solvegotos()
618 Labellist *gl = &fs->ls->dyd->gt; in movegotosout() local
[all …]
/freebsd-13.1/contrib/nvi/regex/
H A Dengine.c141 const sopno gl = g->laststate; in matcher() local
185 endp = fast(m, start, stop, gf, gl); in matcher()
197 endp = slow(m, m->coldp, stop, gf, gl); in matcher()
218 dp = dissect(m, m->coldp, endp, gf, gl); in matcher()
229 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0); in matcher()
241 endp = slow(m, m->coldp, endp-1, gf, gl); in matcher()
252 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0); in matcher()
/freebsd-13.1/lib/libc/regex/
H A Dengine.c203 const sopno gl = g->laststate; in matcher() local
300 endp = walk(m, start, stop, gf, gl, true); in matcher()
316 endp = walk(m, m->coldp, stop, gf, gl, false); in matcher()
338 dp = dissect(m, m->coldp, endp, gf, gl); in matcher()
349 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0); in matcher()
361 endp = walk(m, m->coldp, endp-1, gf, gl, false); in matcher()
372 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0); in matcher()
/freebsd-13.1/contrib/dialog/po/
H A Dgl.po20 "Language: gl\n"
/freebsd-13.1/crypto/openssh/
H A Dreadconf.c960 glob_t gl; in process_config_line_depth() local
1894 memset(&gl, 0, sizeof(gl)); in process_config_line_depth()
1895 r = glob(arg2, GLOB_TILDE, NULL, &gl); in process_config_line_depth()
1908 for (i = 0; i < gl.gl_pathc; i++) { in process_config_line_depth()
1911 gl.gl_pathv[i], depth, in process_config_line_depth()
1913 r = read_config_file_depth(gl.gl_pathv[i], in process_config_line_depth()
1920 "%.100s: %.100s", gl.gl_pathv[i], in process_config_line_depth()
1922 globfree(&gl); in process_config_line_depth()
1933 globfree(&gl); in process_config_line_depth()

12