Home
last modified time | relevance | path

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

12

/freebsd/contrib/tcsh/
H A Dsh.dir.c276 len = (int) (Strlen(user) + Strlen(s) + 2); in printdirs()
278 len = (int) (Strlen(s) + 1); in printdirs()
374 cwd = xmalloc((Strlen(dcwd->di_name) + 3) * sizeof(Char)); in dnormalize()
446 i = Strlen(cwd); in dnormalize()
454 i = Strlen(cwd) - 1; in dnormalize()
545 cwdlen = Strlen(dcwd->di_name); in dgoto()
548 dp = xmalloc((cwdlen + Strlen(cp) + 2) * sizeof(Char)); in dgoto()
636 size_t len = Strlen(*cdp); in dfollow()
895 clen = Strlen(cp); in dcanon_internal()
918 len = Strlen(p1); in dcanon_internal()
[all …]
H A Dtw.spell.c142 path = xmalloc((Strlen(tilded_dir) + Strlen(name) + 1) * sizeof (*path)); in spdir()
H A Dsh.file.c318 maxwidth = maxwidth > (r = Strlen(items[i])) ? maxwidth : r; in print_by_column()
333 w = Strlen(items[i]) + 1; in print_by_column()
434 switch (Strlen(recognized_part)) { in print_recognized_stuff()
531 name_length = Strlen(name); in tsearch()
702 num_read = Strlen(inputline); in tenex()
H A Dtc.nls.h40 # define NLSStringWidth(s) Strlen(s)
H A Dsh.dol.c529 length = Strlen(ffile); in Dgetdol()
590 addla(putn((tcsh_number_t)Strlen(np))); in Dgetdol()
695 length += Strlen(vp->vec[i]); in Dgetdol()
843 size_t len = (Strlen(cp) + 1 - lhlen + rhlen); in setDolp()
H A Dtw.color.c285 len = Strlen(xv); in parseLSCOLORS()
338 len = Strlen(value); in parseLS_COLORS()
H A Dtw.help.c97 curdir = xmalloc((Strlen(thpath) + 1) * sizeof (*curdir)); in do_help()
H A Dtw.parse.c934 size_t name_length = Strlen(target); /* Length of prefix (file name) */ in tw_collect_items()
1014 size_t exti = Strlen(item.s); in tw_collect_items()
2139 maxwidth = max(maxwidth, (unsigned int) Strlen(items[i])); in find_rows()
2188 w = Strlen(items[i]); in print_by_column()
2312 len = Strlen(str); in tgetenv()
2315 if (Strlen(*var) >= len && (*var)[len] == '=') { in tgetenv()
H A Dsh.h1113 #define Strlen(a) strlen(a) macro
1136 #define Strlen(a) wcslen(a) macro
1146 #define Strlen(a) s_strlen(a) macro
H A Dtc.str.c457 size = (Strlen(s) + 1) * sizeof(*n);
710 DO_STRBUF(Strbuf, Char, Strlen);
H A Ded.chared.c652 buf_len = Strlen(buf); in c_expand()
1036 len = Strlen(pattern); in c_search_line()
1430 n = Strlen(c); in e_insert_str()
1434 c_delafter(Argument * Strlen(c)); in e_insert_str()
1500 if ((len = (int) Strlen(s)) <= 0) in InsertStr()
2249 len = Strlen(KillRing[YankPos].buf); in e_yank_kill()
2309 ins_len = Strlen(KillRing[YankPos].buf); in e_yank_pop()
H A Dtw.init.c180 len = Strlen(name) + 2; in tw_cmd_add()
247 len = Strlen(name); in tw_cmd_cmd()
H A Dtc.printf.c275 f_width = f_width - Strlen(Bp); in doprnt()
H A Dtc.func.c1316 size_t p_len = Strlen(upause); in insert()
1318 cmd_len = Strlen(pl->word); in insert()
1564 tcache[tlength++].hlen = Strlen(hd); in gettilde()
1601 (Strncmp(p, h, j = Strlen(h)) == 0) && in getusername()
H A Dtc.os.c130 spaths[i] = xmalloc((Strlen(pathvars[i]) + strlen(val) + 2) * in dosetpath()
781 len += Strlen(v[i]) + (v[i+1] != NULL); in dobs2cmd()
1459 short len = Strlen(s); in llib()
H A Dsh.exp.c862 strF = xmalloc((2 + Strlen(strdev) + Strlen(strino)) in filetest()
H A Dsh.lex.c849 lhsb.len = Strlen(lhsb.s); /* lhsb.s wasn't changed */ in getsub()
1229 lhsb.len = Strlen(lhsb.s); /* lhsb.s wasn't changed */ in gethent()
1267 lhsb.len = Strlen(lhsb.s); /* lhsb.s wasn't changed */ in gethent()
H A Ded.refresh.c116 addlitlen = Strlen(addlitptr); in MakeLiteral()
245 lh = Strlen(Vdisplay[lv]) - 1; in Draw()
H A Dtc.bind.c128 in.len = Strlen(in.buf); in dobindkey()
H A Dtw.comp.c464 wl = xmalloc(((Strlen(line) + 1) / 2 + 2) * sizeof (*wl)); in tw_complete()
H A Dsh.set.c1215 if (Strlen(dstr1) != 256) { in update_dspmbyte_vars()
1218 Strlen(dstr1)); in update_dspmbyte_vars()
/freebsd/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]->name) + 1); in parse_getfmt()
H A Dparsestreams.c123 Strlen( in Strlen() function
304 if (Strlen(t) >= (S - s)) in xxxinit()
/freebsd/contrib/libedit/
H A Dhistory.c66 #define Strlen(s) strlen(s) macro
84 #define Strlen(s) wcslen(s) macro
420 elen = Strlen(evp->str); in history_def_add()
421 slen = Strlen(str); in history_def_add()
961 size_t len = Strlen(str); in history_prev_string()
979 size_t len = Strlen(str); in history_next_string()
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingFile.c748 static int checkBounds(int Idx, int Strlen) { in checkBounds() argument
749 assert(Idx <= Strlen && "Indexing past string null terminator"); in checkBounds()
750 return Idx <= Strlen; in checkBounds()

12