Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 25 of 69) sorted by path

123

/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Dextends.c124 free(buf2); in do_extends()
125 buf2 = NULL; in do_extends()
140 free(buf2); in do_extends()
141 buf2 = NULL; in do_extends()
192 free(buf2); in do_extends()
193 buf2 = NULL; in do_extends()
259 free(buf2); in do_extends()
333 buf2 = line_to_buf(buf2, buf); in arch_match()
337 buf2 = line_to_buf(buf2, buf); in arch_match()
377 free(buf2); in arch_match()
[all …]
H A Dfrontend.c159 char *buf2 = NULL; in read_spec() local
203 while (meta_info.mi_nlines = readline(&buf2, spec_fp)) { in read_spec()
206 if (!non_empty(buf2)) { in read_spec()
207 free(buf2); in read_spec()
208 buf2 = NULL; in read_spec()
211 p = realloc(value, sizeof (char)*(strlen(buf2)+1)); in read_spec()
218 split(buf2, key, value); in read_spec()
307 free(buf2); in read_spec()
308 buf2 = NULL; in read_spec()
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y1916 char buf2[BUFSIZ]; in decl_ToString() local
1923 decl_ToString(buf2, DTS_DECL, argp, in decl_ToString()
1925 sprintf(bend, " %s", buf2); in decl_ToString()
2192 char buf2[BUFSIZ]; in decl_ToFormal() local
2198 decl_ToString(buf2, DTS_DECL, argp, in decl_ToFormal()
2200 sprintf(bend, " %s", buf2); in decl_ToFormal()
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c42 char buf1[BUFSIZE], buf2[BUFSIZE]; variable
55 cur = buf2; in main()
/illumos-gate/usr/src/cmd/auditreduce/
H A Dmain.c786 char buf1[15], buf2[15]; in rename_outfile() local
794 derive_str(f_end, buf2); in rename_outfile()
810 (void) strcat(f_newfile, buf2); in rename_outfile()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c1173 char buf1[3000], buf2[3000]; in changevol() local
1281 (void) snprintf(buf2, sizeof (buf2), gettext( in changevol()
1283 if (query(buf2)) { in changevol()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c2581 char buf2[128]; in target_print() local
2596 (void) snprintf(buf2, sizeof (buf2), " %dms", in target_print()
2598 (void) strlcat(buf, buf2, sizeof (buf)); in target_print()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c1490 char buf1[PREFIX_STATESTRLEN], buf2[PREFIX_STATESTRLEN]; in prefix_update_k() local
1501 prefix_print_state(pr->pr_state, buf2, sizeof (buf2))); in prefix_update_k()
1526 prefix_print_state(pr->pr_state, buf2, in prefix_update_k()
1527 sizeof (buf2))); in prefix_update_k()
1897 char buf1[PREFIX_STATESTRLEN], buf2[PREFIX_STATESTRLEN]; in prefix_print() local
1903 prefix_print_state(pr->pr_state, buf2, sizeof (buf2)), in prefix_print()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dinput.c41 static char buf2[INET6_ADDRSTRLEN]; variable
232 (void *)&n->rip6_prefix, buf2, in rip_input()
233 sizeof (buf2)), in rip_input()
345 buf2, sizeof (buf2)), in rip_input()
372 buf2, sizeof (buf2)), in rip_input()
416 (void *)&n->rip6_prefix, buf2, in rip_input()
417 sizeof (buf2)), in rip_input()
H A Dtables.c85 char buf2[INET6_ADDRSTRLEN]; in log_change() local
89 (void) inet_ntop(AF_INET6, (void *) &orig->rt_router, buf2, in log_change()
90 sizeof (buf2)); in log_change()
95 buf1, buf2, in log_change()
107 char buf2[INET6_ADDRSTRLEN]; in log_single() local
110 (void) inet_ntop(AF_INET6, (void *)&rt->rt_router, buf2, sizeof (buf2)); in log_single()
113 buf1, buf2, in log_single()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c612 char buf[PARMS_MAXLINELEN], buf2[PARMS_MAXLINELEN]; in parse_parms() local
860 if (0 > parse_quote(&p, "|", &delim, buf2, in parse_parms()
861 sizeof (buf2)) || !gethost(buf2, &addr)) in parse_parms()
872 0 > parse_quote(&p, "|", &delim, buf2, in parse_parms()
873 sizeof (buf2)) || in parse_parms()
874 !getnet(buf2, &tg->tgate_nets[i].net, in parse_parms()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c7728 char buf2[IPQOS_CONF_LINEBUF_SZ+1]; in read_tfile_ver() local
7747 buf, buf2) == 2) && in read_tfile_ver()
7764 if ((version = ver_str_to_int(buf2)) == -1) { in read_tfile_ver()
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c2164 char buf2[PROJECT_BUFSZ]; in ex() member
2343 bufs.p.buf2, sizeof (bufs.p.buf2))) { in ex()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c243 char buf2[BUFSIZ]; in strcoll_() local
246 tstostr(buf2, s2); in strcoll_()
247 return (strcoll(buf1, buf2)); in strcoll_()
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c226 char buf1[BUFSIZ], buf2[BUFSIZ]; in main() local
426 j = fread(buf2, 1, BUFSIZ, input[1]); in main()
451 if (buf1[j] != buf2[j]) in main()
1468 char buf1[BUFSIZ], buf2[BUFSIZ]; in compare() local
1536 if ((j = readlink(file2, buf2, BUFSIZ)) == -1) { in compare()
1543 if (strncmp(buf1, buf2, i) == 0) in compare()
1591 j = read(f2, buf2, BUFSIZ); in compare()
1604 if (buf1[j] != buf2[j]) in compare()
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c7277 char buf[DLADM_SECOBJ_VAL_MAX], buf2[DLADM_SECOBJ_VAL_MAX]; in get_secobj_val() local
7283 len2 = get_secobj_from_tty(2, obj_name, buf2); in get_secobj_val()
7284 if (len != len2 || memcmp(buf, buf2, len) != 0) in get_secobj_val()
/illumos-gate/usr/src/cmd/fm/fmstat/common/
H A Dfmstat.c621 char buf1[32], buf2[32], n[32]; in stat_one_serd() local
627 asi->asi_count, time2str(buf2, sizeof (buf2), asi->asi_delta), in stat_one_serd()
/illumos-gate/usr/src/cmd/fs.d/nfs/rp_basic/
H A Dlibnfs_basic.c103 char *p, *sp, *dp, buf2[SYMLINK_MAX]; in get_fs_locations() local
167 dp = buf2; in get_fs_locations()
168 bzero(buf2, sizeof (buf2)); in get_fs_locations()
192 printf("get_fs_locations: host %s\n", buf2); in get_fs_locations()
208 str_to_utf8(buf2, in get_fs_locations()
211 dp = buf2; in get_fs_locations()
212 bzero(buf2, sizeof (buf2)); in get_fs_locations()
220 printf("get_fs_locations: path %s\n", buf2); in get_fs_locations()
222 (void) make_pathname4(buf2, &fsl_array[i].rootpath); in get_fs_locations()
225 dp = buf2; in get_fs_locations()
[all …]
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c158 static char buf2[MAXBSIZE]; variable
567 bzero(buf2, sectorsize); in wtvolseq()
569 maketag(tp, (struct tag *)buf2); in wtvolseq()
574 wtfs(blk1, sectorsize, buf2); in wtvolseq()
892 bzero(buf2, sectorsize); in volseqinit()
894 maketag(tp, (struct tag *)buf2); in volseqinit()
895 wtfs(nextblock, sectorsize, buf2); in volseqinit()
900 maketag(tp, (struct tag *)buf2); in volseqinit()
901 wtfs(fssize, sectorsize, buf2); in volseqinit()
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice_info.c1197 char buf2[256]; in end() local
1223 strncpy (buf2, existing_string, sizeof (buf2)); in end()
1224 strncat (buf2, buf, sizeof (buf2) - strlen(buf2)); in end()
1226 strncpy (buf2, buf, sizeof (buf2)); in end()
1228 hal_device_property_set_string (pc->device, pc->merge_key, buf2); in end()
1235 char buf2[256]; in end() local
1261 strncpy (buf2, buf, sizeof (buf2)); in end()
1262 strncat (buf2, existing_string, sizeof (buf2) - strlen(buf2)); in end()
1264 strncpy (buf2, buf, sizeof (buf2)); in end()
1266 hal_device_property_set_string (pc->device, pc->merge_key, buf2); in end()
/illumos-gate/usr/src/cmd/lockstat/
H A Dlockstat.c1814 char buf[256], buf2[256]; in report_trace() local
1836 format_symbol(buf2, lsp->ls_caller, 0)); in report_trace()
/illumos-gate/usr/src/cmd/logadm/
H A Dmain.c793 char *buf2; in rotateto() local
799 buf2 = fn_s(newfile); in rotateto()
802 if (buf1 != NULL && buf2 != NULL) { in rotateto()
804 buf1, buf2, n); in rotateto()
807 if (hasn && lstat(buf2, &stbuf) != -1) in rotateto()
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c365 char buf2[32]; in limit_values() local
380 (void) sprintf(s2 = buf2, "%lld", rp->rlim_max); in limit_values()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c2499 char *buf2; in dup_err() local
2508 if (buf2 = (char *)malloc(n)) { in dup_err()
2510 n = vsnprintf(buf2, n, format, ap); in dup_err()
2514 rcm_log_message(level, buf2); in dup_err()
2515 return (buf2); in dup_err()
2517 free(buf2); in dup_err()
/illumos-gate/usr/src/cmd/refer/
H A Drefer6.c32 char buf1[BUFSIZ], buf2[50]; in putref() local
86 tx = revauth(tx, buf2); in putref()

123