/dragonfly/contrib/less/ |
H A D | filename.c | 183 len = (int) strlen(s) + 3; in shell_quote() 226 len = (int) (strlen(dirname) + strlen(filename) + 2); in dirfile() 368 to += strlen(to); in fexpand() 412 len = (int) strlen(s) + 4; in fcomplete() 534 p = buf + strlen(buf); in readfd() 569 int len = (int) (strlen(shell) + strlen(esccmd) + 5); in shellcmd() 671 n = (int) (strlen(drive) + strlen(dir) + strlen(fnd.GLOB_NAME) + 1); in lglob() 721 if (strlen(esc) == 0) in lglob() 734 len = (int) (strlen(lessecho) + strlen(filename) + (7*strlen(metachars())) + 24); in lglob() 878 len = (int) (strlen(lessopen) + strlen(qfilename) + 2); in open_altfile() [all …]
|
/dragonfly/usr.sbin/nghook/ |
H A D | main.c | 189 snprintf(sbuf + strlen(sbuf), in WriteAscii() 190 sizeof(sbuf) - strlen(sbuf), in WriteAscii() 193 snprintf(sbuf + strlen(sbuf), in WriteAscii() 194 sizeof(sbuf) - strlen(sbuf), " "); in WriteAscii() 195 snprintf(sbuf + strlen(sbuf), sizeof(sbuf) - strlen(sbuf), " "); in WriteAscii() 200 snprintf(sbuf + strlen(sbuf), in WriteAscii() 203 snprintf(sbuf + strlen(sbuf), in WriteAscii() 204 sizeof(sbuf) - strlen(sbuf), " "); in WriteAscii() 205 snprintf(sbuf + strlen(sbuf), in WriteAscii() 206 sizeof(sbuf) - strlen(sbuf), "\n"); in WriteAscii() [all …]
|
/dragonfly/sys/contrib/dev/acpica/source/compiler/ |
H A D | cvcompiler.c | 218 FinalLineToken[strlen(FinalLineToken)-1] = 0; in CvProcessComment() 271 UtLocalCacheCalloc (strlen (CommentString) + in CvProcessComment() 346 strlen (CommentString) + 3 + 1); in CvProcessCommentType2() 360 strlen (CommentString) + 3] = 0; in CvProcessCommentType2() 408 TotalCommentLength += strlen (Op->Asl.Filename) + 3; in CvCalculateCommentLengths() 422 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths() 435 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths() 445 CommentLength = strlen (Op->Asl.InlineComment)+3; in CvCalculateCommentLengths() 453 CommentLength = strlen(Op->Asl.EndNodeComment)+3; in CvCalculateCommentLengths() 945 Size = strlen (ToAdd); in CvAppendInlineComment() [all …]
|
/dragonfly/sbin/ipfw3/ |
H A D | ipfw3sync.c | 303 if (!strncmp(*av, "edge", strlen(*av))) { in sync_main() 307 } else if (!strncmp(*av, "show", strlen(*av))) { in sync_main() 309 if (!strncmp(*av, "config", strlen(*av))) { in sync_main() 316 } else if (!strncmp(*av, "start", strlen(*av))) { in sync_main() 318 if (!strncmp(*av, "edge", strlen(*av))) { in sync_main() 323 } else if (!strncmp(*av, "stop", strlen(*av))) { in sync_main() 325 if (!strncmp(*av, "edge", strlen(*av))) { in sync_main() 330 } else if (!strncmp(*av, "clear", strlen(*av))) { in sync_main() 332 if (!strncmp(*av, "edge", strlen(*av))) { in sync_main() 337 } else if (!strncmp(*av, "test", strlen(*av))) { in sync_main() [all …]
|
/dragonfly/contrib/nvi2/cl/ |
H A D | cl_term.c | 102 CHAR2INT(sp, t, strlen(t), wp, wlen); in cl_term_init() 106 if (seq_set(sp, name, strlen(tkp->name), ts, strlen(t), in cl_term_init() 123 CHAR2INT(sp, t, strlen(t), wp, wlen); in cl_term_init() 126 if (seq_set(sp, name, strlen(tkp->name), ts, strlen(t), in cl_term_init() 147 CHAR2INT(sp, t, strlen(t), wp, wlen); in cl_term_init() 149 if (seq_set(sp, name, strlen(tkp->name), in cl_term_init() 150 ts, strlen(t), NULL, 0, in cl_term_init() 156 CHAR2INT(sp, t, strlen(t), wp, wlen); in cl_term_init() 161 ts, strlen(t), output, strlen(tkp->output), in cl_term_init() 238 p == (char *)-1 || strlen(p) == 0) in cl_pfmap() [all …]
|
/dragonfly/lib/libcrypt/ |
H A D | crypt-md5.c | 54 if(!strncmp(sp,magic,strlen(magic))) in crypt_md5() 55 sp += strlen(magic); in crypt_md5() 67 MD5Update(&ctx,pw,strlen(pw)); in crypt_md5() 70 MD5Update(&ctx,magic,strlen(magic)); in crypt_md5() 77 MD5Update(&ctx1,pw,strlen(pw)); in crypt_md5() 79 MD5Update(&ctx1,pw,strlen(pw)); in crypt_md5() 88 for (i = strlen(pw); i ; i >>= 1) in crypt_md5() 109 MD5Update(&ctx1,pw,strlen(pw)); in crypt_md5() 117 MD5Update(&ctx1,pw,strlen(pw)); in crypt_md5() 122 MD5Update(&ctx1,pw,strlen(pw)); in crypt_md5() [all …]
|
/dragonfly/sbin/fsck_hammer2/ |
H A D | destroy.c | 254 if (src_dirent && namlen == strlen(src_dirent)) { in modify_blockref() 335 bscan->embed.dirent.namlen = strlen(dst_dirent); in modify_dirent_embedded() 343 src_dirent, (int)strlen(src_dirent), in modify_dirent_embedded() 344 dst_dirent, (int)strlen(dst_dirent)); in modify_dirent_embedded() 379 if (strlen(dst_dirent) > sizeof(media->buf)) { in modify_dirent() 386 dst_dirent, (int)strlen(dst_dirent), in modify_dirent() 394 bscan->embed.dirent.namlen = strlen(dst_dirent); in modify_dirent() 409 src_dirent, (int)strlen(src_dirent), in modify_dirent() 410 dst_dirent, (int)strlen(dst_dirent)); in modify_dirent() 454 if (strlen(src_dirent) > HAMMER2_PBUFSIZE) { in init_args() [all …]
|
/dragonfly/lib/libalias/ |
H A D | alias_smedia.c | 124 search_str_len = strlen(search_str); in search_string() 174 while (port_dlen > strlen(port_str)) { in alias_rtsp_out() 264 memcpy(port_newdata, stemp, strlen(stemp)); in alias_rtsp_out() 265 port_newdata += strlen(stemp); in alias_rtsp_out() 273 memcpy(port_newdata, stemp, strlen(stemp)); in alias_rtsp_out() 274 port_newdata += strlen(stemp); in alias_rtsp_out() 391 if (dlen >= strlen(setup)) { in AliasHandleRtspOut() 397 if (dlen >= strlen(pna)) { in AliasHandleRtspOut() 398 if (memcmp(data, pna, strlen(pna)) == 0) { in AliasHandleRtspOut() 408 if (dlen >= strlen(str200)) { in AliasHandleRtspOut() [all …]
|
/dragonfly/sbin/ip6fw/ |
H A D | ip6fw.c | 557 if (ac && !strncmp(*av,"any",strlen(*av))) { in fill_ip6() 859 if (!strncmp(*av,"accept",strlen(*av)) in add() 860 || !strncmp(*av,"pass",strlen(*av)) in add() 861 || !strncmp(*av,"allow",strlen(*av)) in add() 903 } else if ((!strncmp(*av,"deny",strlen(*av)) in add() 904 || !strncmp(*av,"drop",strlen(*av)))) { in add() 920 if (ac && !strncmp(*av,"log",strlen(*av))) { in add() 996 if (!strncmp(*av,"in",strlen(*av))) { in add() 1000 if (!strncmp(*av,"out",strlen(*av))) { in add() 1069 if (!strncmp(*av,"setup",strlen(*av))) { in add() [all …]
|
/dragonfly/tools/regression/usr.sbin/installer/libaura/dict3/ |
H A D | dict3.c | 25 snprintf(first, strlen("first") + 1, "%s", "first"); in dict_create() 26 snprintf(second, strlen("second") + 1, "%s", "second"); in dict_create() 28 aura_dict_store(d, key, strlen(key), first, strlen("first") + 1); in dict_create() 29 aura_dict_store(d, key, strlen(key), second, strlen("second") + 1); in dict_create() 45 aura_dict_fetch(d, "key", strlen("key"), (void **)&v, &len); in main()
|
/dragonfly/usr.sbin/yp_mkdb/ |
H A D | yp_mkdb.c | 216 data.size = strlen(mastername); in main() 223 data.size = strlen(buf); in main() 230 data.size = strlen(infilename); in main() 238 data.size = strlen(outfilename); in main() 246 data.size = strlen(domain); in main() 261 sizeof(buf) - strlen(buf), ifp); in main() 291 if (strlen(keybuf) > YPMAXRECORD) { in main() 296 if (!strlen(keybuf)) { in main() 301 if (strlen(datbuf) > YPMAXRECORD) { in main() 307 key.size = strlen(keybuf); in main() [all …]
|
/dragonfly/contrib/binutils-2.34/binutils/ |
H A D | wrstabs.c | 1122 buf = (char *) xmalloc (strlen (target) + strlen (base) + 3); in stab_offset_type() 1206 len = strlen (domain) + strlen (return_type) + 10; in stab_method_type() 1367 + strlen (s) in stab_struct_field() 1427 buf = (char *) xmalloc (strlen (first) + strlen (fields) + 2); in stab_end_struct_type() 1505 + strlen (s) in stab_class_static_member() 1889 buf = (char *) xmalloc (strlen (name) + strlen (s) + 20); in stab_typdef() 1933 buf = (char *) xmalloc (strlen (tag) + strlen (s) + 3); in stab_tag() 1994 buf = (char *) xmalloc (strlen (name) + strlen (s) + 20); in stab_typed_constant() 2064 buf = (char *) xmalloc (strlen (name) + strlen (s) + 3); in stab_variable() 2088 buf = (char *) xmalloc (strlen (name) + strlen (rettype) + 3); in stab_start_function() [all …]
|
/dragonfly/contrib/binutils-2.27/binutils/ |
H A D | wrstabs.c | 1122 buf = (char *) xmalloc (strlen (target) + strlen (base) + 3); in stab_offset_type() 1206 len = strlen (domain) + strlen (return_type) + 10; in stab_method_type() 1367 + strlen (s) in stab_struct_field() 1427 buf = (char *) xmalloc (strlen (first) + strlen (fields) + 2); in stab_end_struct_type() 1509 + strlen (s) in stab_class_static_member() 1893 buf = (char *) xmalloc (strlen (name) + strlen (s) + 20); in stab_typdef() 1937 buf = (char *) xmalloc (strlen (tag) + strlen (s) + 3); in stab_tag() 1998 buf = (char *) xmalloc (strlen (name) + strlen (s) + 20); in stab_typed_constant() 2068 buf = (char *) xmalloc (strlen (name) + strlen (s) + 3); in stab_variable() 2092 buf = (char *) xmalloc (strlen (name) + strlen (rettype) + 3); in stab_start_function() [all …]
|
/dragonfly/usr.sbin/ngctl/ |
H A D | main.c | 339 if (strncasecmp(s, cmd->cmd, strlen(s)) == 0) in MatchCommand() 345 if (strlen(cmd->aliases[a]) >= strlen(s)) { in MatchCommand() 436 len = strlen(buf); in HelpCmd() 473 snprintf(sbuf + strlen(sbuf), in DumpAscii() 474 sizeof(sbuf) - strlen(sbuf), in DumpAscii() 477 snprintf(sbuf + strlen(sbuf), in DumpAscii() 478 sizeof(sbuf) - strlen(sbuf), " "); in DumpAscii() 481 snprintf(sbuf + strlen(sbuf), sizeof(sbuf) - strlen(sbuf), " "); in DumpAscii() 486 snprintf(sbuf + strlen(sbuf), in DumpAscii() 489 snprintf(sbuf + strlen(sbuf), in DumpAscii() [all …]
|
/dragonfly/contrib/cvs-1.12/src/ |
H A D | server.c | 202 tmp = xmalloc (strlen (base_dir) + strlen (dir) + 100); in create_adm_p() 1260 if (alloc_pending (80 + strlen (gDirname) + strlen (CVSADM))) in dirswitch() 1276 if (alloc_pending (80 + strlen (gDirname) + strlen (CVSADM_REP))) in dirswitch() 1285 if (alloc_pending (80 + strlen (gDirname) + strlen (CVSADM_REP))) in dirswitch() 1303 if (alloc_pending (80 + strlen (gDirname) + strlen (CVSADM_REP))) in dirswitch() 1314 if (alloc_pending (80 + strlen (gDirname) + strlen (CVSADM_REP))) in dirswitch() 1324 if (alloc_pending (80 + strlen (gDirname) + strlen (CVSADM_REP))) in dirswitch() 1689 strlen (pending_error_text) + strlen (arg) + 30); in receive_file() 3037 p = xrealloc (p, strlen (p) + 1 + strlen (arg) + 1); in serve_argumentx() 4390 len = (strlen (name) + strlen (version) + strlen (options) + 80); in server_register() [all …]
|
/dragonfly/usr.sbin/installer/libaura/ |
H A D | test.c | 59 if (strlen(k) > 0) in main() 60 k[strlen(k) - 1] = '\0'; in main() 76 if (strlen(v) > 0) in main() 77 v[strlen(v) - 1] = '\0'; in main() 78 aura_dict_fetch(d, k, strlen(k) + 1, &rv, &rv_len); in main() 84 aura_dict_store(d, k, strlen(k) + 1, v, strlen(v) + 1); in main()
|
/dragonfly/usr.bin/whereis/ |
H A D | whereis.c | 236 s += strlen(cpp[i]) + 1; in colonify() 402 s = strlen(name); in main() 416 s = strlen(name); in main() 439 olen = strlen(bin); in main() 440 nlen = strlen(cp); in main() 503 s = strlen(buf); in main() 513 olen = strlen(man); in main() 514 nlen = strlen(cp2); in main() 552 olen = strlen(src); in main() 553 nlen = strlen(cp); in main() [all …]
|
/dragonfly/sbin/rconfig/ |
H A D | subs.c | 105 *lenp = strlen(*bufp); in udp_transact() 111 *lenp = strlen(*bufp); in udp_transact() 137 *lenp = strlen(*bufp); in udp_transact() 145 *lenp = strlen(buf); in udp_transact() 149 *lenp = strlen(*bufp); in udp_transact() 172 *lenp = strlen(*bufp); in tcp_transact() 177 *lenp = strlen(*bufp); in tcp_transact() 190 *lenp = strlen(*bufp); in tcp_transact() 207 n = strlen(buf); in tcp_transact() 235 *lenp = strlen(*bufp); in tcp_transact() [all …]
|
/dragonfly/usr.sbin/ppp/ |
H A D | ip.c | 373 len = strlen(dbuff); in FilterCheck() 387 len = strlen(dbuff); in FilterCheck() 591 loglen += strlen(logbuf + loglen); in PacketCheck() 601 loglen += strlen(logbuf + loglen); in PacketCheck() 604 loglen += strlen(logbuf + loglen); in PacketCheck() 615 loglen += strlen(logbuf + loglen); in PacketCheck() 618 loglen += strlen(logbuf + loglen); in PacketCheck() 636 loglen += strlen(logbuf + loglen); in PacketCheck() 640 loglen += strlen(logbuf + loglen); in PacketCheck() 689 loglen += strlen(logbuf + loglen); in PacketCheck() [all …]
|
/dragonfly/usr.sbin/nscd/agents/ |
H A D | passwd.c | 53 strlen(pwd->pw_name) + 1; in passwd_marshal_func() 57 desired_size += strlen(pwd->pw_class) + 1; in passwd_marshal_func() 59 desired_size += strlen(pwd->pw_gecos) + 1; in passwd_marshal_func() 61 desired_size += strlen(pwd->pw_dir) + 1; in passwd_marshal_func() 63 desired_size += strlen(pwd->pw_shell) + 1; in passwd_marshal_func() 79 size = strlen(new_pwd.pw_name); in passwd_marshal_func() 86 size = strlen(new_pwd.pw_passwd); in passwd_marshal_func() 93 size = strlen(new_pwd.pw_class); in passwd_marshal_func() 100 size = strlen(new_pwd.pw_gecos); in passwd_marshal_func() 107 size = strlen(new_pwd.pw_dir); in passwd_marshal_func() [all …]
|
/dragonfly/contrib/tnftp/src/ |
H A D | complete.c | 93 wordlen = strlen(word); in complete_ambiguous() 110 matchlen = strlen(lastmatch); in complete_ambiguous() 146 wordlen = strlen(word); in complete_command() 149 if (wordlen > strlen(c->c_name)) in complete_command() 203 len = strlen(file); in complete_local() 210 if (len > strlen(dp->d_name)) in complete_local() 258 wordlen = strlen(word); in complete_option() 261 if (wordlen > strlen(o->name)) in complete_option() 345 if (strlen(file) > strlen(cp)) in complete_remote() 347 if (strncmp(file, cp, strlen(file)) == 0) in complete_remote() [all …]
|
/dragonfly/usr.bin/xargs/ |
H A D | strnsubst.c | 52 maxsize = strlen(s1) + 1; in strnsubst() 61 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) { in strnsubst() 70 if ((strlen(s2) + strlen(s1) + strlen(replstr) - in strnsubst() 71 strlen(match) + 1) > maxsize) { in strnsubst() 78 s1 = this + strlen(match); in strnsubst()
|
/dragonfly/stand/boot/common/ |
H A D | rel_open.c | 94 len = strlen(path); in chdir() 101 dlen = strlen(DirBase); in chdir() 163 ptr = malloc(strlen(DirBase) + strlen(path) + 1); in rel_open() 195 ptr = malloc(strlen(DirBase) + strlen(path) + 1); in rel_stat() 221 rootpath = malloc(strlen(path) + sizeof("/boot")); in rel_rootpath() 224 rootpath = malloc(strlen(DirBase) + strlen(path) + in rel_rootpath()
|
/dragonfly/sbin/restore/ |
H A D | interactive.c | 121 if (strncmp(cmd, "add", strlen(cmd)) != 0) in runcmdshell() 134 if (strncmp(cmd, "cd", strlen(cmd)) != 0) in runcmdshell() 175 if (strncmp(cmd, "help", strlen(cmd)) != 0) in runcmdshell() 202 if (strncmp(cmd, "ls", strlen(cmd)) != 0) in runcmdshell() 210 if (strncmp(cmd, "pwd", strlen(cmd)) != 0) in runcmdshell() 221 if (strncmp(cmd, "quit", strlen(cmd)) != 0) in runcmdshell() 225 if (strncmp(cmd, "xit", strlen(cmd)) != 0) in runcmdshell() 439 if (strlen(canonname) + strlen(rawname) >= len) { in canon() 500 len = strlen(basename) + 1; in printlist() 504 single.len = strlen(single.fname); in printlist() [all …]
|
/dragonfly/lib/libnetgraph/ |
H A D | debug.c | 293 snprintf(buf + strlen(buf), in _NgDebugBytes() 294 sizeof(buf) - strlen(buf), "%02x ", ptr[k]); in _NgDebugBytes() 296 snprintf(buf + strlen(buf), in _NgDebugBytes() 297 sizeof(buf) - strlen(buf), " "); in _NgDebugBytes() 298 snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " "); in _NgDebugBytes() 304 snprintf(buf + strlen(buf), in _NgDebugBytes() 305 sizeof(buf) - strlen(buf), in _NgDebugBytes() 308 snprintf(buf + strlen(buf), in _NgDebugBytes() 309 sizeof(buf) - strlen(buf), " "); in _NgDebugBytes()
|