Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/tcsh/
H A Dsh.dir.c284 len = (int) (Strlen(user) + Strlen(s) + 2); in printdirs()
286 len = (int) (Strlen(s) + 1); in printdirs()
454 i = Strlen(cwd); in dnormalize()
462 i = Strlen(cwd) - 1; in dnormalize()
553 cwdlen = Strlen(dcwd->di_name); in dgoto()
650 size_t len = Strlen(*cdp); in dfollow()
895 clen = Strlen(cp); in dcanon()
918 len = Strlen(p1); in dcanon()
1002 Strlen(p) + 1) * sizeof(Char)); in dcanon()
1079 Strlen(p) + 1) * sizeof(Char)); in dcanon()
[all …]
H A Dtw.spell.c146 path = xmalloc((Strlen(tilded_dir) + Strlen(name) + 1) * sizeof (*path)); in spdir()
H A Dsh.file.c321 maxwidth = maxwidth > (r = Strlen(items[i])) ? maxwidth : r; in print_by_column()
336 w = Strlen(items[i]) + 1; in print_by_column()
437 switch (Strlen(recognized_part)) { in print_recognized_stuff()
534 name_length = Strlen(name); in tsearch()
705 num_read = Strlen(inputline); in tenex()
H A Dtc.nls.h41 # define NLSStringWidth(s) Strlen(s)
H A Dsh.dol.c530 length = Strlen(ffile); in Dgetdol()
591 addla(putn((tcsh_number_t)Strlen(np))); in Dgetdol()
696 length += Strlen(vp->vec[i]); in Dgetdol()
822 size_t len = (Strlen(cp) + 1 - lhlen + rhlen); in setDolp()
H A Dtw.color.c287 len = Strlen(xv); in parseLSCOLORS()
340 len = Strlen(value); in parseLS_COLORS()
H A Dtw.help.c101 curdir = xmalloc((Strlen(thpath) + 1) * sizeof (*curdir)); in do_help()
H A Dtw.parse.c938 size_t name_length = Strlen(target); /* Length of prefix (file name) */ in tw_collect_items()
1018 size_t exti = Strlen(item.s); in tw_collect_items()
2143 maxwidth = max(maxwidth, (unsigned int) Strlen(items[i])); in find_rows()
2192 w = Strlen(items[i]); in print_by_column()
2316 len = Strlen(str); in tgetenv()
2319 if (Strlen(*var) >= len && (*var)[len] == '=') { in tgetenv()
H A Dsh.h1104 #define Strlen(a) strlen(a) macro
1127 #define Strlen(a) wcslen(a) macro
1137 #define Strlen(a) s_strlen(a) macro
H A Dtc.str.c460 size = (Strlen(s) + 1) * sizeof(*n);
713 DO_STRBUF(Strbuf, Char, Strlen);
H A Ded.chared.c656 buf_len = Strlen(buf); in c_expand()
1040 len = Strlen(pattern); in c_search_line()
1435 n = Strlen(c); in e_insert_str()
1439 c_delafter(Argument * Strlen(c)); in e_insert_str()
1505 if ((len = (int) Strlen(s)) <= 0) in InsertStr()
2254 len = Strlen(KillRing[YankPos].buf); in e_yank_kill()
2314 ins_len = Strlen(KillRing[YankPos].buf); in e_yank_pop()
H A Dtw.init.c184 len = Strlen(name) + 2; in tw_cmd_add()
251 len = Strlen(name); in tw_cmd_cmd()
H A Dtc.func.c1313 size_t p_len = Strlen(upause); in insert()
1315 cmd_len = Strlen(pl->word); in insert()
1561 tcache[tlength++].hlen = Strlen(hd); in gettilde()
1598 (Strncmp(p, h, j = Strlen(h)) == 0) && in getusername()
H A Dtc.printf.c278 f_width = f_width - Strlen(Bp); in doprnt()
H A Dtc.os.c134 spaths[i] = xmalloc((Strlen(pathvars[i]) + strlen(val) + 2) * in dosetpath()
785 len += Strlen(v[i]) + (v[i+1] != NULL); in dobs2cmd()
1463 short len = Strlen(s); in llib()
H A Dsh.exp.c866 strF = xmalloc((2 + Strlen(strdev) + Strlen(strino)) in filetest()
H A Dsh.lex.c840 lhsb.len = Strlen(lhsb.s); /* lhsb.s wasn't changed */ in getsub()
1216 lhsb.len = Strlen(lhsb.s); /* lhsb.s wasn't changed */ in gethent()
1254 lhsb.len = Strlen(lhsb.s); /* lhsb.s wasn't changed */ in gethent()
H A Ded.refresh.c120 addlitlen = Strlen(addlitptr); in MakeLiteral()
249 lh = Strlen(Vdisplay[lv]) - 1; in Draw()
H A Dtc.bind.c132 in.len = Strlen(in.buf); in dobindkey()
/freebsd-12.1/lib/libedit/
H A Dchartype.h87 #define Strlen(x) wcslen(x) macro
142 #define Strlen(x) strlen(x) macro
H A Dhistory.c385 len = Strlen(evp->str) + Strlen(str) + 1; in history_def_add()
393 (void) Strncat(s, str, len - Strlen(s) - 1); in history_def_add()
912 size_t len = Strlen(str); in history_prev_string()
930 size_t len = Strlen(str); in history_next_string()
H A Dhist.c138 el->el_line.lastchar = el->el_line.buffer + Strlen(el->el_line.buffer); in hist_get()
H A Dchared.c623 if (s == NULL || (len = Strlen(s)) == 0) in FUN()
685 len = (ssize_t)Strlen(prompt); in c_gets()
/freebsd-12.1/contrib/ntp/libparse/
H A Dparse.c77 Strlen( in Strlen() function
853 Strlen(clockformats[dct->parseformat.parse_format]->name) <= PARSE_TCMAX) in parse_getfmt()
855 …dct->parseformat.parse_count = (unsigned short) (Strlen(clockformats[dct->parseformat.parse_format… in parse_getfmt()
H A Dparsestreams.c123 Strlen( in Strlen() function
304 if (Strlen(t) >= (S - s)) in xxxinit()

12