Home
last modified time | relevance | path

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

12

/freebsd-head/contrib/netbsd-tests/lib/libc/gen/
HDt_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()
209 RZ(glob(p, GLOB_ALTDIRFUNC | flags, NULL, &gl)); in run()
211 for (i = 0; i < gl.gl_pathc; i++) in run()
212 DPRINTF(("%s\n", gl.gl_pathv[i])); in run()
[all …]
/freebsd-head/libexec/ftpd/
HDpopen.c93 glob_t gl; in ftpd_popen() local
96 memset(&gl, 0, sizeof(gl)); in ftpd_popen()
97 gl.gl_matchc = MAXGLOBARGS; in ftpd_popen()
99 if (glob(argv[argc], flags, NULL, &gl)) in ftpd_popen()
101 else if (gl.gl_pathc > 0) { in ftpd_popen()
102 for (pop = gl.gl_pathv; *pop && gargc < (MAXGLOBARGS-1); in ftpd_popen()
106 globfree(&gl); in ftpd_popen()
HDftpcmd.y1722 glob_t gl;
1724 memset(&gl, 0, sizeof(gl));
1726 gl.gl_matchc = MAXGLOBARGS;
1727 if (glob(s, flags, NULL, &gl) == 0 && gl.gl_pathc != 0) {
1728 for (pp = gl.gl_pathv, p = NULL, n = 0; *pp; pp++)
1745 globfree(&gl);
HDftpd.c3141 glob_t gl; in send_file_list() local
3146 memset(&gl, 0, sizeof(gl)); in send_file_list()
3147 gl.gl_matchc = MAXGLOBARGS; in send_file_list()
3150 if (glob(whichf, flags, 0, &gl)) { in send_file_list()
3153 } else if (gl.gl_pathc == 0) { in send_file_list()
3158 dirlist = gl.gl_pathv; in send_file_list()
3265 globfree(&gl); in send_file_list()
/freebsd-head/crypto/heimdal/appl/ftp/ftpd/
HDpopen.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()
HDftpcmd.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);
HDftpcmd.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()
HDftpd.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-head/sys/dev/ath/ath_hal/ar5212/
HDar5212_rfgain.c190 const GAIN_OPTIMIZATION_LADDER *gl; in ar5212AdjustGain() local
193 gl = &gainLadder5112; in ar5212AdjustGain()
195 gl = &gainLadder; in ar5212AdjustGain()
196 gv->currStep = &gl->optStep[gv->currStepNum]; in ar5212AdjustGain()
208 gv->targetGain -= 2 * (gl->optStep[--(gv->currStepNum)].stepGain - in ar5212AdjustGain()
210 gv->currStep = &gl->optStep[gv->currStepNum]; in ar5212AdjustGain()
217 if (gv->currStepNum == gl->numStepsInLadder-1) { in ar5212AdjustGain()
227 gv->currStepNum < (gl->numStepsInLadder - 1)) { in ar5212AdjustGain()
229 (gl->optStep[++(gv->currStepNum)].stepGain - gv->currStep->stepGain); in ar5212AdjustGain()
230 gv->currStep = &gl->optStep[gv->currStepNum]; in ar5212AdjustGain()
/freebsd-head/usr.bin/vtfontcvt/
HDvtfontcvt.c196 add_mapping(struct glyph *gl, unsigned int c, unsigned int map_idx) in add_mapping() argument
205 mp->m_glyph = gl; in add_mapping()
257 struct glyph *gl; in add_glyph() local
265 SLIST_FOREACH(gl, &glyph_hash[hash], g_hash) { in add_glyph()
266 if (memcmp(gl->g_data, bytes, wbytes * height) == 0) { in add_glyph()
268 return (gl); in add_glyph()
273 gl = xmalloc(sizeof *gl); in add_glyph()
274 gl->g_data = xmalloc(wbytes * height); in add_glyph()
275 memcpy(gl->g_data, bytes, wbytes * height); in add_glyph()
277 TAILQ_INSERT_HEAD(&glyphs[map_idx], gl, g_list); in add_glyph()
[all …]
/freebsd-head/usr.bin/login/
HDlogin_fbtab.c122 glob_t gl; in login_protect() local
126 if (glob(pattern, GLOB_NOSORT, NULL, &gl) != 0) in login_protect()
128 for (i = 0; i < gl.gl_pathc; i++) { in login_protect()
129 path = gl.gl_pathv[i]; in login_protect()
138 globfree(&gl); in login_protect()
/freebsd-head/crypto/heimdal/appl/ftp/ftp/
HDcmds.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()
544 for (cpp = gl.gl_pathv; cpp && *cpp != NULL; cpp++) { 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()
[all …]
/freebsd-head/lib/libiconv_modules/ISO2022/
HDcitrus_iso2022.c93 int gl:3, member
434 s->gl = 0; in _citrus_ISO2022_init_state()
587 psenc->gl = 0; in _ISO2022_sgetwchar()
593 psenc->gl = 1; in _ISO2022_sgetwchar()
659 psenc->gl = string[1] - 'n' + 2; in _ISO2022_sgetwchar()
729 cur = (psenc->singlegl == -1) ? psenc->gl : psenc->singlegl; in _ISO2022_sgetwchar()
1075 if (psenc->gl == target) in _ISO2022_sputwchar()
1082 psenc->gl = 0; in _ISO2022_sputwchar()
1085 psenc->gl = 1; in _ISO2022_sputwchar()
1089 psenc->gl = 2; in _ISO2022_sputwchar()
[all …]
/freebsd-head/contrib/tnftp/src/
HDutil.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()
HDcmds.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-head/crypto/openssh/
HD.git_allowed_signers.asc15 =gl+l
HDreadconf.c1105 glob_t gl; in process_config_line_depth() local
2062 memset(&gl, 0, sizeof(gl)); in process_config_line_depth()
2063 r = glob(arg2, GLOB_TILDE, NULL, &gl); in process_config_line_depth()
2076 for (i = 0; i < gl.gl_pathc; i++) { in process_config_line_depth()
2079 gl.gl_pathv[i], depth, in process_config_line_depth()
2081 r = read_config_file_depth(gl.gl_pathv[i], in process_config_line_depth()
2089 filename, linenum, gl.gl_pathv[i], in process_config_line_depth()
2091 globfree(&gl); in process_config_line_depth()
2102 globfree(&gl); in process_config_line_depth()
/freebsd-head/sys/contrib/openzfs/module/lua/
HDlparser.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-head/contrib/llvm-project/compiler-rt/lib/asan/
HDasan_ignorelist.txt12 # Stack buffer overflow in VC/INCLUDE/xlocnum, see http://goo.gl/L4qqUG
/freebsd-head/contrib/lua/src/
HDlparser.c529 Labellist *gl = &ls->dyd->gt; /* list of gotos */ in solvegoto() local
530 Labeldesc *gt = &gl->arr[g]; /* goto to be resolved */ in solvegoto()
535 for (i = g; i < gl->n - 1; i++) /* remove goto from pending list */ in solvegoto()
536 gl->arr[i] = gl->arr[i + 1]; in solvegoto()
537 gl->n--; in solvegoto()
586 Labellist *gl = &ls->dyd->gt; in solvegotos() local
589 while (i < gl->n) { in solvegotos()
590 if (eqstr(gl->arr[i].name, lb->name)) { in solvegotos()
591 needsclose |= gl->arr[i].close; in solvegotos()
630 Labellist *gl = &fs->ls->dyd->gt; in movegotosout() local
[all …]
/freebsd-head/contrib/nvi/regex/
HDengine.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-head/lib/libc/regex/
HDengine.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-head/contrib/dialog/po/
HDgl.po20 "Language: gl\n"
/freebsd-head/contrib/llvm-project/llvm/lib/Support/
HDregengine.inc144 const sopno gl = g->laststate;
188 endp = fast(m, start, stop, gf, gl);
202 endp = slow(m, m->coldp, stop, gf, gl);
223 dp = dissect(m, m->coldp, endp, gf, gl);
234 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0);
246 endp = slow(m, m->coldp, endp-1, gf, gl);
257 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0);
/freebsd-head/sys/contrib/device-tree/src/arm64/marvell/
HDarmada-3720-gl-mv1000.dts10 compatible = "glinet,gl-mv1000", "marvell,armada3720";

12