/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nis.c | 144 line += strlen(line); in interpret_nisbind() 163 line += strlen(line); in interpret_nisbind() 266 line += strlen(line); in interpret_nis() 314 line += strlen(line); in interpret_nis() 329 line += strlen(line); in interpret_nis() 349 line += strlen(line); in interpret_nis() 358 line += strlen(line); in interpret_nis() 365 line += strlen(line); in interpret_nis() 372 line += strlen(line); in interpret_nis()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | state.cc | 68 int len = strlen(np->string_mb); in escape_target_name() 148 make_state_lockfile = getmem(strlen(make_state->string_mb) + strlen(".lock") + 1); in write_state_file() 227 strlen(make_version->string_mb), in write_state_file() 232 strlen(current_make_version->string_mb), in write_state_file() 279 strlen(built_last_make_run->string_mb), in write_state_file() 337 n = strlen(cp-> in write_state_file() 421 strlen(dependency->name->string_mb), in print_auto_depes() 427 if ((*line_length += (int) strlen(dependency->name->string_mb) + 1) > 450) { in print_auto_depes()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | files.c | 53 if (STRNEQU(Lp_Temp, file, strlen(Lp_Temp)) || in chfiles() 54 STRNEQU(Lp_Tmp, file, strlen(Lp_Tmp))) in chfiles() 66 if (STRNEQU(Lp_Temp, file, strlen(Lp_Temp))) in chfiles() 69 file + strlen(Lp_Temp) + 1, NULL); in chfiles() 203 if ((STRNEQU(Lp_Temp, *file, strlen(Lp_Temp)) || in rmfiles() 204 STRNEQU(Lp_Tmp, *file, strlen(Lp_Tmp))) && in rmfiles() 369 if (strlen(prefix) > (size_t) 6) in _alloc_files() 398 file = (char *)Realloc(file, strlen(file) + in _alloc_files() 399 strlen(LP_PAPIATTRNAME) + 1); in _alloc_files()
|
/illumos-gate/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 240 (void) write(STDERR, myname, (uint_t)strlen(myname)); in warn() 241 (void) write(STDERR, between, (uint_t)strlen(between)); in warn() 242 (void) write(STDERR, what, (uint_t)strlen(what)); in warn() 243 (void) write(STDERR, between, (uint_t)strlen(between)); in warn() 244 (void) write(STDERR, why, (uint_t)strlen(why)); in warn() 245 (void) write(STDERR, after, (uint_t)strlen(after)); in warn()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | getserv.c | 82 l1 = strlen(e1->key.serv.proto); in servname_compar() 83 l2 = strlen(e2->key.serv.proto); in servname_compar() 93 l1 = strlen(e1->key.serv.serv.name); in servname_compar() 94 l2 = strlen(e2->key.serv.serv.name); in servname_compar() 128 l1 = strlen(e1->key.serv.proto); in servport_compar() 129 l2 = strlen(e2->key.serv.proto); in servport_compar()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_impl.h | 214 ((strlen(x) > strlen(y)) && \ 215 (strncmp(x, y, strlen(y)) == 0) && \ 216 ((x[strlen(y)] == '/') || \ 217 (x[strlen(y)] == ':') || \ 218 (x[strlen(y) - 1] == '/')))
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getprotoent_r.c | 144 len += strlen(pe->p_aliases[i]) + 1; in copy_protoent() 146 len += strlen(pe->p_name) + 1; in copy_protoent() 160 n = strlen(pe->p_name) + 1; in copy_protoent() 168 n = strlen(pe->p_aliases[i]) + 1; in copy_protoent() 189 if ((n = strlen(pe->p_name) + 1) < (eob - cp)) { in copy_protoent() 201 if ((n = strlen(pe->p_aliases[i]) + 1) < (eob - cp)) { in copy_protoent()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/ |
H A D | chat.c | 260 return dup_mem (s, strlen (s) + 1); 635 rep_len = strlen(report_buffer); 1015 write(2, s, strlen(s)); 1045 if (strlen(s1) > strlen(s) 1066 if (strlen(s1) > strlen(s) 1096 if (strlen(s1) > strlen(s) || strlen(s1) > sizeof fail_buffer - 1) 1116 if (strlen(s1) > strlen(s) || strlen(s1) > sizeof fail_buffer - 1) 1343 write(2, s, strlen(s)); 1362 len = strlen(string); 1671 n = strlen((char *)p); [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_utils.c | 429 len = strlen(DEVICES_DIR); in walk_tree() 431 len + strlen(SLASH)) == 0) { in walk_tree() 689 len += (strlen(sp->str)); in msg_common() 703 len += strlen(s) + strlen(t); in msg_common() 805 len = strlen(DEVICES_DIR); in path_apid_state_change() 807 len + strlen(SLASH)) == 0) { in path_apid_state_change() 861 strlen(apidp->dyncomp)) { in path_apid_state_change() 902 strlen(DEVICES_DIR) + in path_apid_state_change() 1140 larg.len = strlen(node_path); in physpath_to_devlink() 1185 hba_len = strlen(l_hba); in hba_dev_cmp() [all …]
|
H A D | cfga_rcm.c | 281 if ((w = strlen(rcm_info_rsrc(tuple))) > w_rsrc) in scsi_rcm_info_table() 283 if ((w = strlen(infostr)) > w_info) in scsi_rcm_info_table() 293 if ((w = strlen(rsrc)) > w_rsrc) in scsi_rcm_info_table() 297 if ((w = strlen(info)) > w_info) in scsi_rcm_info_table() 316 newtable = realloc(*table, strlen(*table) + table_size); in scsi_rcm_info_table() 327 w = strlen(rsrc); in scsi_rcm_info_table() 336 w = strlen(info); in scsi_rcm_info_table() 360 (void) sprintf(&((*table)[strlen(*table)]), in scsi_rcm_info_table()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | makedbm.c | 180 if (strlen(argv[1]) != 1) { 240 if ((int)strlen(last_slash+1) <= MAXALIASLEN) 253 if ((int)strlen(last_slash+1) <= NAME_MAX) 272 if ((int)strlen(last_slash+1) <= MAXALIASLEN) 280 if ((int)strlen(outfile) <= NAME_MAX) 290 if ((int)strlen(last_slash+1) <= MAXALIASLEN) 380 cnt = strlen(buf) - 1; /* erase trailing newline */ 385 cnt = strlen(p) - 1; 405 content.dsize = strlen(p) - 1; /* erase trailing newline */ 560 key.dsize = strlen(str1); [all …]
|
H A D | mkalias.c | 97 CopyName(h, middle+1, strlen(middle + 1)); in IsQualified() 104 CopyName(h, s, strlen(s)); in IsQualified() 177 part.dsize = strlen(userpart) + 1; in ProcessMap() 183 value.dsize = strlen(address) + 1; in ProcessMap() 197 key.dsize = strlen(user) + 1; in ProcessMap() 280 value.dsize = strlen(value.dptr); in AddYPEntries() 287 value.dsize = strlen(value.dptr); in AddYPEntries()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | multiboot.c | 261 mb_info->boot_loader_name = mb_malloc(strlen(bootprog_info) + 1); in multiboot_exec() 264 strlen(bootprog_info) + 1); in multiboot_exec() 321 len = strlen(mfp->f_name) + 1; in multiboot_exec() 322 len += strlen(mfp->f_type) + 5 + 1; in multiboot_exec() 324 len += strlen(mfp->f_args) + 1; in multiboot_exec() 340 mb_mod[num].cmdline = mb_malloc(strlen(cmdline)+1); in multiboot_exec() 341 i386_copyin(cmdline, mb_mod[num].cmdline, strlen(cmdline)+1); in multiboot_exec() 404 len = strlen(fp->f_name) + 1; in multiboot_exec() 406 len += strlen(fp->f_args) + 1; in multiboot_exec() 427 mb_info->cmdline = mb_malloc(strlen(cmdline)+1); in multiboot_exec() [all …]
|
/illumos-gate/usr/src/cmd/pools/poold/ |
H A D | poold.c | 152 (void) vsnprintf(line + strlen(line), sizeof (line) - strlen(line), in pu_output() 155 if (line[strlen(line) - 1] != '\n') in pu_output() 156 (void) snprintf(line + strlen(line), sizeof (line) - in pu_output() 157 strlen(line), gettext(ERRNO_FMT), strerror(err)); in pu_output() 159 line[strlen(line) - 1] = 0; in pu_output() 516 vm_opts[nopts].optionString = malloc(len = strlen(classpath) + in main() 517 strlen("-Djava.class.path=") + 1); in main() 523 vm_opts[nopts].optionString = malloc(len = strlen(libpath) + in main() 524 strlen("-Djava.library.path=") + 1); in main() 570 if (strlen(log_severity) > 0) { in main()
|
/illumos-gate/usr/src/cmd/make/lib/vroot/ |
H A D | report.cc | 155 len = strlen(sfile); in close_file() 167 if (buf[strlen(buf)-1] == '\n') { in close_file() 271 if (strcmp(curdir, sdir) != 0 && strlen(iflag) > 2 && in report_search_path() 275 newiflag = (char *)malloc(strlen(iflag) + strlen(curdir) + 2); in report_search_path() 297 if (strlen(filename) == 0) { in report_dependency() 319 target_being_reported_for= (char *)malloc((unsigned)(strlen(p+1)+1)); in report_dependency()
|
/illumos-gate/usr/src/cmd/split/ |
H A D | split.c | 115 if (strlen(&argv[i][1]) != in main() 208 if (strlen(tail) > (stbuf.f_namemax - suffix_length)) { in main() 218 if (((int)strlen(output_file_name) + suffix_length) > FILENAME_MAX) { in main() 238 if ((fname = (char *)malloc(strlen(output_file_name) + in main() 248 while (i < (int)strlen(output_file_name) + suffix_length) { in main() 354 i = strlen(name) - 1; in next_file_name() 356 while (i >= (int)(strlen(name) - suffix_length)) { in next_file_name()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | putparam.c | 107 n = strlen(param); in putparam() 121 ptlen = (strlen(param)+strlen(value)+2)*(sizeof (char)); in putparam() 122 pt = (char *)calloc(strlen(param)+strlen(value)+2, sizeof (char)); in putparam()
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_master.c | 67 domlen = strlen(domain); in yp_master() 68 maplen = strlen(map); in yp_master() 129 domlen = strlen(domain); in __yp_master_rsvdport() 130 maplen = strlen(map); in __yp_master_rsvdport() 205 if (!retval && ((*master = malloc(strlen(resp.master) + 1)) == NULL)) in domaster()
|
/illumos-gate/usr/src/lib/libnls/common/ |
H A D | nlsenv.c | 83 envname, charaddr, strlen(charaddr)); in nlsenv() 86 if ((int)strlen(charaddr) & 1) in nlsenv() 89 length = (strlen(charaddr) + 1) / 2; in nlsenv() 209 if (strlen(charaddr) & 1) in nlsc2addr()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nss_dbdefs.c | 99 len = (int)strlen(buf); in _nss_XbyY_fgets() 564 len2 = strlen(pe->name) + 1; in nss_pack_key2str() 566 len3 = strlen(pe->type) + 1; in nss_pack_key2str() 568 len4 = strlen(pe->id) + 1; in nss_pack_key2str() 639 len3 += strlen(*cv++) + 1; in nss_pack_key2str() 645 len3 += strlen(*cv++) + 1; in nss_pack_key2str() 675 len3 = strlen(*cv) + 1; in nss_pack_key2str() 690 len3 = strlen(*cv) + 1; in nss_pack_key2str() 705 len3 = strlen(*cv) + 1; in nss_pack_key2str() 720 len3 = strlen(*cv) + 1; in nss_pack_key2str() [all …]
|
/illumos-gate/usr/src/cmd/dispadmin/ |
H A D | rtdispadmin.c | 261 (wslength = strspn(buf, " \t\n")) == strlen(buf) || 267 if ((int)strlen(tokp) > 4) { 275 } else if (strlen(tokp) == 4) { 286 } else if (strlen(tokp) == 3) { 293 if ((int)strlen(tokp) > 1) { 301 } else if (strlen(tokp) == 1) { 332 (wslength = strspn(buf, " \t\n")) == strlen(buf) || 370 (wslength = strspn(buf, " \t\n")) != strlen(buf) &&
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | fulldevnm.c | 136 len = strlen(cwd) + strlen(path) + 2; in getfullname() 204 if ((new_path = malloc(strlen(cp))) == NULL) in getblkcomplete() 222 if ((new_path = malloc(strlen(cp))) == NULL) in getblkcomplete() 258 if ((new_path = malloc(strlen(cp)+2)) == NULL) in getrawcomplete() 277 if ((new_path = malloc(strlen(cp)+2)) == NULL) in getrawcomplete() 392 if ((new_path = malloc(strlen(cp))) == NULL) { in getfullblkname() 470 if ((new_path = malloc(strlen(cp)+2)) == NULL) { in getfullrawname()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | socks.c | 206 hlen = strlen(host); in socks_connect() 293 if (strcspn(host, "\r\n\t []:") != strlen(host)) in socks_connect() 308 r = strlen(buf); in socks_connect() 322 b64_ntop((unsigned char *)buf, strlen(buf), resp, in socks_connect() 329 r = strlen(buf); in socks_connect() 341 strncmp(buf, HTTP_10_407, strlen(HTTP_10_407)) == 0) { in socks_connect() 349 strlen(HTTP_10_200)) != 0 && strncmp(buf, HTTP_11_200, in socks_connect() 350 strlen(HTTP_11_200)) != 0) in socks_connect()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | unknown.c | 67 *(ctoday + strlen(ctoday) - 1) = '\0'; /* no ending \n */ 101 sz = strlen(ebuf); 113 || write(fds[1], ebuf, strlen(ebuf)) != strlen(ebuf)
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | pelton.c | 96 } else if (strncmp(path, PEL_PCIX_SLOT2, strlen(PEL_PCIX_SLOT2)) == 0) { in get_slot_number() 99 } else if (strncmp(path, PEL_PCIX_SLOT1, strlen(PEL_PCIX_SLOT1)) == 0) { in get_slot_number() 102 } else if (strncmp(path, PEL_PCIX_SLOT0, strlen(PEL_PCIX_SLOT0)) == 0) { in get_slot_number() 115 strlen(PEL_NETWORK_1_PATH)) == 0) { in pelton_get_network_instance() 118 strlen(PEL_NETWORK_3_PATH)) == 0) { in pelton_get_network_instance() 121 strlen(PEL_NETWORK_0_PATH)) == 0) { in pelton_get_network_instance() 124 strlen(PEL_NETWORK_2_PATH)) == 0) { in pelton_get_network_instance() 262 if (strlen(pci_card.name) > 24) in pelton_pci_callback() 267 if (strlen(pci_card.model) > 10) in pelton_pci_callback() 373 if (strlen(device_path) > 38) in pelton_hw_rev_callback()
|