Home
last modified time | relevance | path

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

12

/freebsd-12.1/sbin/gbde/
H A Dgbde.c459 random_bits(gl->spare, sizeof(gl->spare)); in cmd_write()
494 bzero(&gl->sector0, sizeof gl->sector0); in cmd_destroy()
495 bzero(&gl->sectorN, sizeof gl->sectorN); in cmd_destroy()
496 bzero(&gl->keyoffset, sizeof gl->keyoffset); in cmd_destroy()
498 bzero(gl->mkey, sizeof gl->mkey); in cmd_destroy()
535 bzero(gl, sizeof *gl); in cmd_init()
645 gl->sector0 = first_sector * gl->sectorsize; in cmd_init()
652 gl->sectorN = (last_sector + 1) * gl->sectorsize; in cmd_init()
656 o %= (gl->sectorN - gl->sector0); in cmd_init()
723 random_bits(gl->mkey, sizeof gl->mkey); in cmd_init()
[all …]
/freebsd-12.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.h157 int g_bde_encode_lock(u_char *sha2, struct g_bde_key *gl, u_char *ptr);
158 int g_bde_decode_lock(struct g_bde_softc *sc, struct g_bde_key *gl, u_char *ptr);
/freebsd-12.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-12.1/usr.bin/vtfontcvt/
H A Dvtfontcvt.c121 mp->m_glyph = gl; in add_mapping()
173 struct glyph *gl; in add_glyph() local
184 return (gl); in add_glyph()
189 gl = xmalloc(sizeof *gl); in add_glyph()
201 return (gl); in add_glyph()
207 struct glyph *gl; in add_char() local
212 gl = add_glyph(bytes, 0, 1); in add_char()
214 gl = add_glyph(bytes, map_idx, 0); in add_char()
524 struct glyph *gl; in number_glyphs() local
529 gl->g_index = idx++; in number_glyphs()
[all …]
/freebsd-12.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.y1731 glob_t gl;
1733 memset(&gl, 0, sizeof(gl));
1735 gl.gl_matchc = MAXGLOBARGS;
1736 if (glob(s, flags, NULL, &gl) == 0 && gl.gl_pathc != 0) {
1737 for (pp = gl.gl_pathv, p = NULL, n = 0; *pp; pp++)
1754 globfree(&gl);
/freebsd-12.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-12.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()
/freebsd-12.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-12.1/sys/gnu/dts/mips/
H A DGL-MT300A.dts17 label = "gl-mt300a:wan";
22 label = "gl-mt300a:lan";
27 label = "gl-mt300a:wlan";
32 label = "gl-mt300a:usb";
H A DGL-MT300N.dts17 label = "gl-mt300n:wan";
22 label = "gl-mt300n:lan";
27 label = "gl-mt300n:wlan";
H A DGL-MT750.dts17 label = "gl-mt750:wan";
22 label = "gl-mt750:lan";
27 label = "gl-mt750:wlan";
/freebsd-12.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-12.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-12.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-12.1/contrib/lua/src/
H A Dlparser.c344 Labellist *gl = &ls->dyd->gt; in closegoto() local
345 Labeldesc *gt = &gl->arr[g]; in closegoto()
356 for (i = g; i < gl->n - 1; i++) in closegoto()
357 gl->arr[i] = gl->arr[i + 1]; in closegoto()
358 gl->n--; in closegoto()
404 Labellist *gl = &ls->dyd->gt; in findgotos() local
406 while (i < gl->n) { in findgotos()
407 if (eqstr(gl->arr[i].name, lb->name)) in findgotos()
423 Labellist *gl = &fs->ls->dyd->gt; in movegotosout() local
426 while (i < gl->n) { in movegotosout()
[all …]
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlparser.c342 Labellist *gl = &ls->dyd->gt; in closegoto() local
343 Labeldesc *gt = &gl->arr[g]; in closegoto()
354 for (i = g; i < gl->n - 1; i++) in closegoto()
355 gl->arr[i] = gl->arr[i + 1]; in closegoto()
356 gl->n--; in closegoto()
402 Labellist *gl = &ls->dyd->gt; in findgotos() local
404 while (i < gl->n) { in findgotos()
405 if (luaS_eqstr(gl->arr[i].name, lb->name)) in findgotos()
421 Labellist *gl = &fs->ls->dyd->gt; in movegotosout() local
424 while (i < gl->n) { in movegotosout()
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_blacklist.txt12 # Stack buffer overflow in VC/INCLUDE/xlocnum, see http://goo.gl/L4qqUG
/freebsd-12.1/lib/libc/regex/
H A Dengine.c198 const sopno gl = g->laststate; in matcher() local
295 endp = walk(m, start, stop, gf, gl, true); in matcher()
311 endp = walk(m, m->coldp, stop, gf, gl, false); in matcher()
333 dp = dissect(m, m->coldp, endp, gf, gl); in matcher()
344 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0); in matcher()
356 endp = walk(m, m->coldp, endp-1, gf, gl, false); in matcher()
367 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0); in matcher()
/freebsd-12.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-12.1/crypto/openssh/
H A Dreadconf.c858 glob_t gl; in process_config_line_depth() local
1527 memset(&gl, 0, sizeof(gl)); in process_config_line_depth()
1528 r = glob(arg2, GLOB_TILDE, NULL, &gl); in process_config_line_depth()
1534 } else if (r != 0 || gl.gl_pathc < 0) in process_config_line_depth()
1539 for (i = 0; i < (u_int)gl.gl_pathc; i++) { in process_config_line_depth()
1542 gl.gl_pathv[i], depth, in process_config_line_depth()
1544 r = read_config_file_depth(gl.gl_pathv[i], in process_config_line_depth()
1551 "%.100s: %.100s", gl.gl_pathv[i], in process_config_line_depth()
1562 globfree(&gl); in process_config_line_depth()

12