/freebsd/usr.sbin/ypldap/ |
H A D | entries.c | 70 ue->ue_line[strlen(ue->ue_line)] = ':'; in flatten_entries() 72 len = strlen(ue->ue_line) + 1; in flatten_entries() 105 ge->ge_line[strlen(ge->ge_line)] = ':'; in flatten_entries() 107 len = strlen(ge->ge_line) + 1; in flatten_entries()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | fsync.cc | 99 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 133 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 169 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 197 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 222 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 244 ssize_t bufsize = strlen(CONTENTS); in TEST_F() 267 ssize_t bufsize = strlen(CONTENTS); in TEST_F()
|
/freebsd/usr.bin/finger/ |
H A D | lprint.c | 126 strlen(pn->office) + strlen(pn->officephone) + in lprint() 164 if ((len = strlen(w->tty)) > maxlen) in lprint() 183 maxlen - (int)strlen(w->tty) + 1, ","); in lprint() 216 if (LINE_LEN < (cpr + 6 + strlen(w->host))) in lprint() 253 lenthis = strlen(str); in demi_print() 302 if (sb.st_size <= (off_t)(LINE_LEN - strlen(header) - 5)) { in show_text()
|
/freebsd/contrib/ofed/libibumad/ |
H A D | sysfs.h | 61 if (out_len < (strlen(path) + 1)) in path_to_sysctl() 82 path_to_sysctl(str, strlen(str) + 1, alloca(strlen(str) + 1))
|
/freebsd/contrib/sendmail/src/ |
H A D | usersmtp.c | 379 l1 = strlen(s1); 380 l2 = strlen(s2); 408 l1 = strlen(h1); 484 if (strlen(line) < 5) 678 len = strlen(line); 1252 l = strlen(h) + strlen(realm) + 2; 1399 len = strlen(p); 1515 len = strlen(item); 1566 len = strlen(list) - strlen(rem); 1580 len = strlen(needle) - strlen(rem) - 1; [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-esp.c | 397 len = strlen(hex) / 2; in espprint_decode_hex() 435 if (strlen(decode) > strlen("-hmac96") && in espprint_decode_encalgo() 436 !strcmp(decode + strlen(decode) - strlen("-hmac96"), in espprint_decode_encalgo() 442 if (strlen(decode) > strlen("-cbc") && in espprint_decode_encalgo() 443 !strcmp(decode + strlen(decode) - strlen("-cbc"), "-cbc")) { in espprint_decode_encalgo() 470 i = strlen(colon); in espprint_decode_encalgo() 535 ilen = strlen(icookie); in esp_print_decode_ikeline() 536 rlen = strlen(rcookie); in esp_print_decode_ikeline()
|
/freebsd/lib/libc/db/test/btree.tests/ |
H A D | main.c | 204 lbuf[strlen(lbuf) - 1] = '\0'; 282 data.size = strlen(data.data); 308 key.size = strlen(argv[1]) + 1; 348 key.size = strlen(argv[1]) + 1; 406 key.size = strlen(argv[1]) + 1; 452 data.size = strlen(data.data); 482 data.size = strlen(data.data); 508 key.size = strlen(argv[1]) + 1; 510 data.size = strlen(argv[2]) + 1; 537 key.size = strlen(argv[1]) + 1; [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_helpers.c | 46 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, NULL) < 0) { in wpa_command() 72 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), resp, &len, NULL) < 0) { in wpa_command_resp() 142 (strncmp(pos + 1, event, strlen(event)) == 0 || in get_wpa_cli_event2() 144 strncmp(pos + 1, event2, strlen(event2)) == 0))) in get_wpa_cli_event2() 183 flen = strlen(field); in get_wpa_status() 223 && strlen(ip) > 0) { in wait_ip_addr()
|
/freebsd/tools/tools/netrate/httpd/ |
H A D | httpd.c | 136 header_iovec[0].iov_len = strlen(HTTP_OK); in http_serve() 138 header_iovec[1].iov_len = strlen(HTTP_SERVER1); in http_serve() 140 header_iovec[2].iov_len = strlen(statep->utsname.sysname); in http_serve() 142 header_iovec[3].iov_len = strlen(HTTP_SERVER2); in http_serve() 144 header_iovec[4].iov_len = strlen(HTTP_CONNECTION); in http_serve() 146 header_iovec[5].iov_len = strlen(HTTP_CONTENT); in http_serve()
|
/freebsd/crypto/heimdal/appl/ftp/ftpd/ |
H A D | ls.c | 585 if(strlen(fi[i].user) > max_user) in list_files() 586 max_user = strlen(fi[i].user); in list_files() 587 if(strlen(fi[i].group) > max_group) in list_files() 588 max_group = strlen(fi[i].group); in list_files() 590 max_major = strlen(fi[i].major); in list_files() 592 max_minor = strlen(fi[i].minor); in list_files() 594 max_size = strlen(fi[i].size); in list_files() 595 if(strlen(fi[i].date) > max_date) in list_files() 596 max_date = strlen(fi[i].date); in list_files() 648 if(strlen(fi[i].filename) > max_len) in list_files() [all …]
|
/freebsd/lib/libc/tests/string/ |
H A D | strerror_test.c | 106 iret = strerror_r(EPERM, buf, strlen("Operation not permitted")); in ATF_TC_BODY() 117 iret = strerror_r(-1, buf, strlen("Unknown error: -1")); in ATF_TC_BODY() 128 iret = strerror_r(-2, buf, strlen("Unknown error: -2") - 1); in ATF_TC_BODY() 139 iret = strerror_r(-2, buf, strlen("Unknown error: -2") - 2); in ATF_TC_BODY() 150 iret = strerror_r(12345, buf, strlen("Unknown error: 12345")); in ATF_TC_BODY()
|
/freebsd/lib/libc/tests/stdlib/ |
H A D | strfmon_test.c | 48 if (strlen(ts) == 0) in ATF_TC_BODY() 51 if (strlen(ts) < 2) in ATF_TC_BODY() 62 actual[strlen(expected)] = '\0'; in ATF_TC_BODY() 139 actual[strlen(actual) - 1] = '\0'; in ATF_TC_BODY() 182 actual[strlen(actual) - 1] = '\0'; in ATF_TC_BODY()
|
/freebsd/usr.bin/iscsictl/ |
H A D | iscsictl.c | 111 namelen = _POSIX_HOST_NAME_MAX + strlen(DEFAULT_IQN); in default_initiator_name() 117 error = gethostname(name + strlen(DEFAULT_IQN), in default_initiator_name() 118 namelen - strlen(DEFAULT_IQN)); in default_initiator_name() 179 if (strlen(name) >= MAX_NAME_LEN) { in valid_iscsi_name() 191 for (i = strlen("iqn."); name[i] != '\0'; i++) { in valid_iscsi_name() 209 if (strlen(name) != strlen("eui.") + 16) in valid_iscsi_name() 213 for (i = strlen("eui."); name[i] != '\0'; i++) { in valid_iscsi_name() 222 if (strlen(name) > strlen("naa.") + 32) in valid_iscsi_name() 226 for (i = strlen("naa."); name[i] != '\0'; i++) { in valid_iscsi_name() 783 if ((size_t)(end - optarg) != strlen(optarg)) in main() [all …]
|
/freebsd/libexec/tftpd/ |
H A D | tftp-io.c | 195 bp += strlen(filename); in send_wrq() 198 size += strlen(filename) + 1; in send_wrq() 201 bp += strlen(mode); in send_wrq() 204 size += strlen(mode) + 1; in send_wrq() 243 bp += strlen(filename); in send_rrq() 246 size += strlen(filename) + 1; in send_rrq() 249 bp += strlen(mode); in send_rrq() 252 size += strlen(mode) + 1; in send_rrq()
|
/freebsd/contrib/kyua/cli/ |
H A D | cmd_db_exec_test.cpp | 82 "BLOB", sqlite::blob(contents, std::strlen(contents)), in ATF_TEST_CASE_BODY() 83 F("BLOB of %s bytes") % strlen(contents)); in ATF_TEST_CASE_BODY() 143 insert.bind(":v2", sqlite::blob(memory, std::strlen(memory))); in ATF_TEST_CASE_BODY() 149 (F("A string,BLOB of %s bytes") % std::strlen(memory)).str(), in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/wireguard-tools/ |
H A D | ipc-uapi-unix.h | 103 len = strlen(ent->d_name); in userspace_get_wireguard_interfaces() 104 if (len <= strlen(SOCK_SUFFIX)) in userspace_get_wireguard_interfaces() 106 end = &ent->d_name[len - strlen(SOCK_SUFFIX)]; in userspace_get_wireguard_interfaces() 107 if (strncmp(end, SOCK_SUFFIX, strlen(SOCK_SUFFIX))) in userspace_get_wireguard_interfaces()
|
/freebsd/stand/uboot/ |
H A D | uboot_fdt.c | 136 strncmp(env + (strlen(env) - 4), "addr", 4) == 0) { in fdt_platform_fixups() 146 len = strlen(STRINGIFY(TMP_MAX_ETH)) + in fdt_platform_fixups() 147 strlen("ethernet") + 1; in fdt_platform_fixups() 177 i = strlen(env) - 7; in fdt_platform_fixups()
|
/freebsd/usr.bin/newkey/ |
H A D | newkey.c | 181 strlen(name), name, strlen(pkent), pkent)); in setpublicmap() 184 strlen(name), name, strlen(pkent), pkent)); in setpublicmap()
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_zip_stream.c | 145 assertEqualInt(i2(p + 28), strlen(file_name)); /* Pathname length */ in DEFINE_TEST() 152 assertEqualMem(p + 46, file_name, strlen(file_name)); /* Pathname */ in DEFINE_TEST() 153 p = extension_start = central_header + 46 + strlen(file_name); in DEFINE_TEST() 201 assertEqualInt(i2(p + 26), strlen(file_name)); /* Pathname length */ in DEFINE_TEST() 203 assertEqualMem(p + 30, file_name, strlen(file_name)); /* Pathname */ in DEFINE_TEST() 204 p = extension_start = local_header + 30 + strlen(file_name); in DEFINE_TEST()
|
/freebsd/lib/libutil/ |
H A D | trimdomain.c | 66 memmove(domain, s + 1, strlen(s + 1) + 1); in trimdomain() 69 dlen = strlen(domain); in trimdomain() 84 (len = strlen(s + dlen + 1)) < (size_t)(end - s)) { in trimdomain()
|
H A D | pw_util.c | 97 if (strlen(dir) >= sizeof(passwd_dir)) { in pw_init() 113 if (strlen(master) >= sizeof(masterpasswd)) { in pw_init() 545 len = strlen(line); in pw_copy() 574 len = strlen(line); in pw_copy() 610 len += strlen(pw->pw_name) + 1; in pw_dup() 612 len += strlen(pw->pw_passwd) + 1; in pw_dup() 614 len += strlen(pw->pw_class) + 1; in pw_dup() 616 len += strlen(pw->pw_gecos) + 1; in pw_dup() 618 len += strlen(pw->pw_dir) + 1; in pw_dup() 620 len += strlen(pw->pw_shell) + 1; in pw_dup()
|
/freebsd/contrib/dialog/ |
H A D | columns.c | 57 result += strlen(mark); in next_col() 68 int mark = (int) strlen(column_separator()); in split_row() 82 offset = (unsigned) strlen(source); in split_row() 109 size_t len = strlen(*value); in dlg_align_columns()
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | test_soft_pkcs11.c | 55 search_data[0].ulValueLen = strlen(id); in find_object() 164 ret = (*func->C_Sign)(session, (CK_BYTE *)sighash, strlen(sighash), in main() 176 (CK_BYTE *)sighash, strlen(sighash)); in main() 197 ret = (*func->C_Encrypt)(session, (CK_BYTE *)sighash, strlen(sighash), in main() 216 if (ct_memcmp(sighash, outdata, strlen(sighash)) != 0) in main()
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | safe_sprintf.c | 65 fmt_len = strlen(fmt) + 1; in _nc_printf_length() 116 fmt_len += strlen(fmt_arg); in _nc_printf_length() 123 f = strlen(format); in _nc_printf_length() 161 prec = (int) strlen(pval); in _nc_printf_length() 202 len += (int) strlen(buffer); in _nc_printf_length()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2-encoding.c | 99 size_t cc_len = strlen(prefix); \ in decode_string() 109 size_t cc_len = strlen(prefix); \ in decode_string() 145 if (sodium_base642bin((buf), (max_len), str, strlen(str), NULL, \ in decode_string() 245 size_t pp_len = strlen(str); \ in encode_string() 268 sb_len = strlen(dst); \ in encode_string()
|