Home
last modified time | relevance | path

Searched refs:scratch (Results 51 – 75 of 151) sorted by relevance

1234567

/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Ddhkeys.c207 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 Ddrmach.il.cpp73 .register %g2, #scratch
74 .register %g3, #scratch
/illumos-gate/usr/src/cmd/od/
H A Dod.c217 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 Dsnoop_dhcp.c274 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 Dipfd.c570 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 Dpromif_io.c320 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 Dlux_util.c1180 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 Dhotplug.c1069 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 Ddhcpv4.c418 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 Dmemcpy.S59 / %edx scratch register
60 / %eax scratch register
/illumos-gate/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c116 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 Dkdb5_util.c443 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 Dmem_cache.c522 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 Ddf.c772 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 Dnetwork.c917 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 Daccept_sec_context.c313 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 Dstack_sparcv9.S36 .register %g2, #scratch
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcpucmds.h56 cpc_buf_t ***data2, cpc_buf_t ***scratch);
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_snap.c453 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 Dsbdp.il.cpp73 .register %g2, #scratch
74 .register %g3, #scratch
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c2150 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 Dipsec_util.c1885 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 Dipsecesp.c727 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 Ddes_impl.c723 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 Dipf_include.sh321 scratch=`echo "$1" | sed -e "s/^${PREFIX_IF}//"`
323 ifconfig $scratch >/dev/null 2>&1 || return 1
324 echo $scratch | sed -e 's/:.*//'

1234567