/illumos-gate/usr/src/lib/pam_modules/dhkeys/ |
H A D | dhkeys.c | 207 char *scratch; in establish_key() local 228 if ((scratch = malloc(scratchlen)) == NULL) in establish_key() 231 if (getpwnam_r(user, &pw, scratch, scratchlen) == NULL) { in establish_key() 346 free(scratch); in establish_key()
|
/illumos-gate/usr/src/uts/sun4u/opl/ml/ |
H A D | drmach.il.cpp | 73 .register %g2, #scratch 74 .register %g3, #scratch
|
/illumos-gate/usr/src/cmd/od/ |
H A D | od.c | 217 char scratch[10]; in do_char() local 243 scratch[0] = v; in do_char() 248 scratch[cnt] = buf->data[which & buf->mask]; in do_char() 254 nb = mbtowc(&wc, scratch, avail); in do_char() 265 scratch[nb] = 0; in do_char() 267 (void) fputs(scratch, stdout); in do_char()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcp.c | 274 char scratch[128]; in show_options() local 454 (void) strcpy(scratch, inet_ntoa(tmp)); in show_options() 460 scratch, inet_ntoa(tmp)); in show_options() 480 (void) sprintf(scratch, in show_options() 484 display_ascii_hex(scratch, &start); in show_options()
|
/illumos-gate/usr/src/cmd/ipf/svc/ |
H A D | ipfd.c | 570 char *fmri, *scratch; in repository_event_wait() local 579 if ((scratch = umem_alloc(max_scf_fmri_size, UMEM_DEFAULT)) == NULL) { in repository_event_wait() 616 (void) strlcpy(scratch, fmri, max_scf_fmri_size); in repository_event_wait() 617 if (scf_parse_svc_fmri(scratch, NULL, NULL, &inst_name, in repository_event_wait()
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_io.c | 320 char scratch[OBP_MAXPATHLEN]; in promif_instance_to_path() local 354 (void) prom_sprintf(scratch, "/%s@%lx%s", name, in promif_instance_to_path() 360 (void) prom_strcpy(buf, scratch); in promif_instance_to_path()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | lux_util.c | 1180 char scratch[MAXPATHLEN]; in get_slash_devices_from_osDevName() local 1209 strcpy(scratch, source+2); in get_slash_devices_from_osDevName() 1211 strcpy(scratch, source); in get_slash_devices_from_osDevName() 1215 (void) strcat(source, scratch); in get_slash_devices_from_osDevName() 1311 cnt = readlink(source, scratch, sizeof (scratch)); in get_slash_devices_from_osDevName() 1320 scratch[cnt] = '\0'; in get_slash_devices_from_osDevName() 1327 if (scratch[0] != '/') { in get_slash_devices_from_osDevName() 1336 (void) strcat(source, scratch); in get_slash_devices_from_osDevName() 1344 strcpy(source, scratch); in get_slash_devices_from_osDevName()
|
H A D | hotplug.c | 1069 char scratch[MAXPATHLEN]; in h_get_physical_name_from_link() local 1099 strcpy(scratch, source+2); in h_get_physical_name_from_link() 1101 strcpy(scratch, source); in h_get_physical_name_from_link() 1105 (void) strcat(source, scratch); in h_get_physical_name_from_link() 1140 cnt = readlink(source, scratch, sizeof (scratch)); in h_get_physical_name_from_link() 1151 scratch[cnt] = '\0'; in h_get_physical_name_from_link() 1158 if (scratch[0] != '/') { in h_get_physical_name_from_link() 1167 (void) strcat(source, scratch); in h_get_physical_name_from_link() 1175 strcpy(source, scratch); in h_get_physical_name_from_link()
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | dhcpv4.c | 418 char scratch[DHCP_MAX_OPT_SIZE + 1]; in prt_server_msg() local 422 bcopy(p->value, scratch, len); in prt_server_msg() 423 scratch[len] = '\0'; in prt_server_msg() 424 printf("%s: Message from server: '%s'\n", s_n, scratch); in prt_server_msg() 901 char scratch[DHCP_MAX_OPT_SIZE + 1]; in dhcp_bound() local 903 bcopy(&dhcp_classid[2], scratch, dhcp_classid[1]); in dhcp_bound() 904 scratch[dhcp_classid[1]] = '\0'; in dhcp_bound() 905 printf("Your machine is of the class: '%s'.\n", scratch); in dhcp_bound()
|
/illumos-gate/usr/src/lib/libc/i386_hwcap1/gen/ |
H A D | memcpy.S | 59 / %edx scratch register 60 / %eax scratch register
|
/illumos-gate/usr/src/grub/grub-0.97/grub/ |
H A D | asmstub.c | 116 char *scratch, *simstack; in grub_stage2() local 148 scratch = malloc (0x100000 + EXTENDED_MEMSIZE + 15); in grub_stage2() 149 assert (scratch); in grub_stage2() 150 grub_scratch_mem = (char *) ((((int) scratch) >> 4) << 4); in grub_stage2() 225 free (scratch); in grub_stage2()
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kdb5_util.c | 443 krb5_data scratch, pwd, seed; in open_db_and_mkey() local 496 retval = krb5_principal2salt(util_context, master_princ, &scratch); in open_db_and_mkey() 515 &pwd, &scratch, &master_key); in open_db_and_mkey() 523 free(scratch.data); in open_db_and_mkey()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | mem_cache.c | 522 uint64_t tag_addr, scratch; in get_tag_addr() local 529 scratch = (uint64_t)(cache_info->way << in get_tag_addr() 531 tag_addr |= scratch; in get_tag_addr() 538 scratch = (uint64_t)(cache_info->way << in get_tag_addr() 540 tag_addr |= scratch; in get_tag_addr()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/df/ |
H A D | df.c | 772 char scratch[MAXPATHLEN]; in findmntent() local 798 if (abspath(cwd, path, scratch) < 0) in findmntent() 800 if (strcmp(scratch, "/") == 0 && chrootpath != NULL) { in findmntent() 806 scratch[0] = '\0'; in findmntent() 808 (void) sprintf(canon, "%s%s", chrootpath ? chrootpath : "", scratch); in findmntent()
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | network.c | 917 krb5_data *scratch; in make_toolong_error() local 931 scratch = malloc(sizeof(*scratch)); in make_toolong_error() 932 if (scratch == NULL) in make_toolong_error() 934 retval = krb5_mk_error(kdc_context, &errpkt, scratch); in make_toolong_error() 936 free(scratch); in make_toolong_error() 940 *out = scratch; in make_toolong_error()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | accept_sec_context.c | 313 krb5_data scratch; local 1267 code = krb5_mk_error(context, &krb_error_data, &scratch); 1271 tmsglen = scratch.length; 1282 TWRITE_STR(ptr, scratch.data, scratch.length); 1283 xfree(scratch.data);
|
/illumos-gate/usr/src/test/os-tests/tests/stackalign/ |
H A D | stack_sparcv9.S | 36 .register %g2, #scratch
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cpucmds.h | 56 cpc_buf_t ***data2, cpc_buf_t ***scratch);
|
/illumos-gate/usr/src/lib/scsi/libses/common/ |
H A D | ses_snap.c | 453 char *scratch; in ses_snap_new() local 560 if ((scratch = mmap(NULL, pages * pagesize, in ses_snap_new() 574 pp->ssp_mmap_base = scratch; in ses_snap_new() 587 scratch += (pages + 1) * pagesize; in ses_snap_new()
|
/illumos-gate/usr/src/uts/sun4u/serengeti/ml/ |
H A D | sbdp.il.cpp | 73 .register %g2, #scratch 74 .register %g3, #scratch
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cc_file.c | 2150 char scratch[sizeof(TKT_ROOT)+6+1]; /* +6 for the scratch part, +1 for in krb5_fcc_generate_new() local 2163 (void) strcpy(scratch, TKT_ROOT); in krb5_fcc_generate_new() 2164 (void) strcat(scratch, "XXXXXX"); in krb5_fcc_generate_new() 2166 ret = mkstemp(scratch); in krb5_fcc_generate_new() 2172 mktemp(scratch); in krb5_fcc_generate_new() 2184 unlink(scratch); in krb5_fcc_generate_new() 2189 data->filename = strdup(scratch); in krb5_fcc_generate_new() 2194 unlink(scratch); in krb5_fcc_generate_new() 2205 unlink(scratch); in krb5_fcc_generate_new() 2215 unlink(scratch); in krb5_fcc_generate_new() [all …]
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 1885 int64_t scratch; in print_lifetimes() local 2008 scratch = MIN(adddelta, usedelta); in print_lifetimes() 2009 if (scratch >= 0) { in print_lifetimes() 2013 PRId64 " seconds%s\n"), scratch, in print_lifetimes() 2014 secs2out(scratch, secs_str, in print_lifetimes() 2021 scratch += wallclock; in print_lifetimes() 2088 scratch = MIN(adddelta, usedelta); in print_lifetimes() 2089 if (scratch >= 0) { in print_lifetimes() 2093 PRId64 " seconds%s\n"), scratch, in print_lifetimes() 2094 secs2out(scratch, secs_str, in print_lifetimes() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecesp.c | 727 mblk_t *scratch; in esp_strip_header() local 751 scratch = data_mp; in esp_strip_header() 752 while (scratch->b_cont != NULL) in esp_strip_header() 753 scratch = scratch->b_cont; in esp_strip_header() 755 ASSERT((scratch->b_wptr - scratch->b_rptr) >= 3); in esp_strip_header() 763 lastbyte = scratch->b_wptr - 1; in esp_strip_header() 1269 mblk_t *scratch; in esp_insert_esp() local 1272 scratch = dupb(split_mp); in esp_insert_esp() 1273 if (scratch == NULL) { in esp_insert_esp() 1280 scratch->b_rptr += wheretodiv; in esp_insert_esp() [all …]
|
/illumos-gate/usr/src/common/crypto/des/ |
H A D | des_impl.c | 723 uint64_t key_so_far, scratch, *currentkey; in des23_keycheck() local 748 if (!keycheck((uint8_t *)&key_so_far, (uint8_t *)&scratch)) { in des23_keycheck() 764 currentkey[j] = scratch; in des23_keycheck()
|
/illumos-gate/usr/src/cmd/svc/shell/ |
H A D | ipf_include.sh | 321 scratch=`echo "$1" | sed -e "s/^${PREFIX_IF}//"` 323 ifconfig $scratch >/dev/null 2>&1 || return 1 324 echo $scratch | sed -e 's/:.*//'
|