Home
last modified time | relevance | path

Searched refs:strcpy (Results 1 – 25 of 1595) sorted by relevance

12345678910>>...64

/illumos-gate/usr/src/cmd/mdb/intel/kmdb/kctl/
H A Dkctl_isadep.c68 (void) strcpy(prop_buf, val); in kctl_ddi_prop_read()
111 (void) strcpy((&pnv[0])->kanv_name, "input-device"); in kctl_pcache_create()
112 (void) strcpy((&pnv[1])->kanv_name, "output-device"); in kctl_pcache_create()
119 (void) strcpy(inputdev, "text"); /* default to screen */ in kctl_pcache_create()
130 (void) strcpy(outputdev, inputdev); in kctl_pcache_create()
132 (void) strcpy(inputdev, "keyboard"); in kctl_pcache_create()
133 (void) strcpy(outputdev, "screen"); in kctl_pcache_create()
141 (void) strcpy((&pnv[i])->kanv_val, "9600,8,n,1,-"); in kctl_pcache_create()
144 (void) strcpy((&pnv[j])->kanv_name, "screen-#rows"); in kctl_pcache_create()
146 (void) strcpy((&pnv[j])->kanv_val, "0"); in kctl_pcache_create()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/shared/
H A Dutils.c99 (void) strcpy(fromfile, from);
101 (void) strcpy(tofile, to);
110 (void) strcpy(savefile, tofile);
111 (void) strcpy(fromfile, from);
113 (void) strcpy(tofile, to);
119 (void) strcpy(fromfile, from);
121 (void) strcpy(tofile, to);
166 (void) strcpy(fromfile, name);
174 (void) strcpy(fromfile, name);
203 (void) strcpy(dbfile, pname);
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinfotocap.c63 extern char *strcpy();
129 (void) strcpy(newvalue, "%r"); in checkparms()
169 (void) strcpy(newvalue, "%d"); in infotocap()
175 (void) strcpy(newvalue, "%2"); in infotocap()
181 (void) strcpy(newvalue, "%3"); in infotocap()
187 (void) strcpy(newvalue, "%2"); in infotocap()
193 (void) strcpy(newvalue, "%3"); in infotocap()
199 (void) strcpy(newvalue, "%."); in infotocap()
209 (void) strcpy(newvalue, "%i"); in infotocap()
213 (void) strcpy(newvalue, "%%"); in infotocap()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_getalias.c124 strcpy(key_alias, key);
132 strcpy(key_alias, key);
136 for (entry = list, strcpy(name, entry->name); entry;
137 entry = entry->nextname, strcpy(name, entry->name)) {
149 strcpy(key_alias, alias);
174 strcpy(key, key_alias);
182 strcpy(key, key_alias);
186 for (entry = list, strcpy(name, entry->name);
187 entry; entry = entry->nextname, strcpy(name, entry->name)) {
196 strcpy(key, longname);
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dvroot.cc83 (void)strcpy(name, path); in add_dir_to_path()
207 (void)strcpy(vroot_data.full_path, filename); in translate_with_thunk()
219 (void)strcpy(vroot_data.vroot_start= p, vp->path); in translate_with_thunk()
221 (void)strcpy(vroot_data.filename_start= p, filename); in translate_with_thunk()
223 (void)strcpy(vroot_data.full_path, filename); in translate_with_thunk()
238 (void)strcpy(vroot_data.path_start= p, pp1->path); in translate_with_thunk()
243 (void)strcpy(vroot_data.path_start= p, in translate_with_thunk()
249 (void)strcpy(vroot_data.filename_start= p, filename); in translate_with_thunk()
251 (void)strcpy(vroot_data.full_path, filename); in translate_with_thunk()
290 (void)strcpy(vroot_data.path_start= p, in translate_with_thunk()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_overflow3.c3 void strcpy(char *to, char *from, int size);
13 strcpy(a, b); in func()
15 strcpy(c, b); in func()
16 strcpy(d, "123"); in func()
17 strcpy(e, "1234"); in func()
18 strcpy(f, "12"); in func()
H A Dsm_strlen2.c2 int strcpy(char *str);
12 strcpy(buf1, input1); in func()
15 strcpy(buf2, input2); in func()
18 strcpy(buf3, input3); in func()
/illumos-gate/usr/src/tools/protocmp/
H A Dprotodir.c53 return (strcpy(curpath, link)); in resolve_relative()
55 (void) strcpy(curpath, source); in resolve_relative()
92 (void) strcpy(p_line, line); in parse_proto_line()
156 (void) strcpy(e->name, file); in parse_proto_line()
193 (void) strcpy(e->owner, owner); in parse_proto_line()
200 (void) strcpy(e->group, group); in parse_proto_line()
244 (void) strcpy(e->name, file); in parse_proto_line()
267 (void) strcpy(p_line, line); in parse_proto_link()
295 (void) strcpy(e->name, file); in parse_proto_link()
303 (void) strcpy(key.name, src); in parse_proto_link()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dis.c273 (void) strcpy(kind, "D type"); in dt_dis_typestr()
276 (void) strcpy(kind, "string"); in dt_dis_typestr()
290 (void) strcpy(ckind, "float"); in dt_dis_typestr()
296 (void) strcpy(ckind, "array"); in dt_dis_typestr()
305 (void) strcpy(ckind, "union"); in dt_dis_typestr()
308 (void) strcpy(ckind, "enum"); in dt_dis_typestr()
481 (void) strcpy(kind, "arr"); in dt_dis()
484 (void) strcpy(kind, "scl"); in dt_dis()
493 (void) strcpy(scope, "glb"); in dt_dis()
496 (void) strcpy(scope, "tls"); in dt_dis()
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dlock.c49 strcpy(tbuf, "Cannot create temp lock file\n"); in lock()
52 strcpy(tbuf, "Error writing pid to lock file\n"); in lock()
55 strcpy(tbuf, "Creation of lockfile failed after 10 tries"); in lock()
58 strcpy(tbuf, "Cannot link temp lockfile to lockfile\n"); in lock()
61 strcpy(tbuf, "Cannot set mandatory file lock on temp lockfile\n"); in lock()
/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_kstat.c145 (void) strcpy(dkp->ns_status.value.c, "failed"); in n2rng_ksupdate()
148 (void) strcpy(dkp->ns_status.value.c, "offline"); in n2rng_ksupdate()
151 (void) strcpy(dkp->ns_status.value.c, "online"); in n2rng_ksupdate()
167 (void) strcpy( in n2rng_ksupdate()
172 (void) strcpy( in n2rng_ksupdate()
177 (void) strcpy( in n2rng_ksupdate()
182 (void) strcpy( in n2rng_ksupdate()
187 (void) strcpy( in n2rng_ksupdate()
/illumos-gate/usr/src/cmd/luxadm/
H A Dsetboot.c175 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); in setprom()
186 (void) strcpy(save_bootdev, pio->oprom_array); in setprom()
214 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); in setprom()
215 (void) strcpy(pio->oprom_array + (int)strlen(BOOTDEV_PROP_NAME) + 1, in setprom()
226 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); in setprom()
242 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); in setprom()
243 (void) strcpy(pio->oprom_array + in setprom()
/illumos-gate/usr/src/lib/libgen/common/
H A Drmdirp.c72 (void) strcpy(d1, d); in rmdirp()
93 (void) strcpy(d1, d); in rmdirp()
101 (void) strcpy(d1, d); in rmdirp()
108 (void) strcpy(d1, d); in rmdirp()
117 (void) strcpy(d1, d); in rmdirp()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dhuron.c74 (void) strcpy(card->slot_str, "0"); in huron_get_slot_number()
77 (void) strcpy(card->slot_str, "1"); in huron_get_slot_number()
81 (void) strcpy(card->slot_str, "0"); in huron_get_slot_number()
85 (void) strcpy(card->slot_str, "1"); in huron_get_slot_number()
89 (void) strcpy(card->slot_str, "2"); in huron_get_slot_number()
93 (void) strcpy(card->slot_str, "3"); in huron_get_slot_number()
97 (void) strcpy(card->slot_str, "4"); in huron_get_slot_number()
101 (void) strcpy(card->slot_str, "5"); in huron_get_slot_number()
188 (void) strcpy(name, ""); in huron_pci_callback()
252 (void) strcpy(model, ""); in huron_pci_callback()
[all …]
H A Dpelton.c70 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type()
72 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type()
74 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type()
76 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type()
96 (void) strcpy(card->slot_str, "0"); in get_slot_number()
99 (void) strcpy(card->slot_str, "2"); in get_slot_number()
102 (void) strcpy(card->slot_str, "3"); in get_slot_number()
105 (void) strcpy(card->slot_str, "1"); in get_slot_number()
190 (void) strcpy(name, ""); in pelton_pci_callback()
250 (void) strcpy(model, ""); in pelton_pci_callback()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dputerror.c55 (void) strcpy(tmp, DEFMSG); in puterror()
63 (void) strcpy(tmp, DEFMSG); in puterror()
71 (void) strcpy(tmp, DEFMSG); in puterror()
79 (void) strcpy(tmp, DEFMSG); in puterror()
85 (void) strcpy(tmp, DEFMSG); in puterror()
H A Dlistdev.c168 (void) strcpy(*pp++, DTAB_ALIAS); in listdev()
174 (void) strcpy(*pp++, DTAB_BDEVICE); in listdev()
180 (void) strcpy(*pp++, DTAB_CDEVICE); in listdev()
186 (void) strcpy(*pp++, DTAB_PATHNAME); in listdev()
193 (void) strcpy(*pp++, attrval->attr); in listdev()
/illumos-gate/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c328 (void) strcpy(opp->oprom_array, var); in set_one()
329 (void) strcpy(opp->oprom_array + varlen, val); in set_one()
397 (void) strcpy(opp->oprom_array, var); /* safe - we know the name */ in i_oemlogo()
430 (void) strcpy(opp->oprom_array, var); /* safe; we know the name */ in i_secure()
436 (void) strcpy(opp->oprom_array + varlen1, val); in i_secure()
440 (void) strcpy(opp2->oprom_array, PASSWORD_PROPERTY); in i_secure()
447 (void) strcpy(opp2->oprom_array + varlen2, in i_secure()
491 (void) strcpy(opp2->oprom_array, MODE_PROPERTY); in i_passwd()
504 (void) strcpy(opp->oprom_array, var); /* Safe; We know the name */ in i_passwd()
508 (void) strcpy(opp->oprom_array + varlen, pwbuf); /* Bounded */ in i_passwd()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c470 strcpy(state, PSVC_ERROR); in psvc_check_temperature_policy_0()
474 strcpy(state, PSVC_ERROR); in psvc_check_temperature_policy_0()
478 strcpy(state, PSVC_ERROR); in psvc_check_temperature_policy_0()
482 strcpy(state, PSVC_ERROR); in psvc_check_temperature_policy_0()
487 strcpy(state, PSVC_OK); in psvc_check_temperature_policy_0()
598 strcpy(state, PSVC_OK); in psvc_ps_hotplug_policy_0()
602 strcpy(state, PSVC_ERROR); in psvc_ps_hotplug_policy_0()
652 strcpy(devpath, in psvc_ps_hotplug_policy_0()
655 strcpy(devpath, in psvc_ps_hotplug_policy_0()
731 strcpy(state, PSVC_ERROR); in psvc_device_fail_notifier_policy_0()
[all …]
/illumos-gate/usr/src/lib/libfru/libgenutil/
H A DStr.cc33 : str_(strcpy(new char[strlen("")+1], "")), in Str()
38 : str_(strcpy(new char[strlen(str)+1], str)), in Str()
50 : str_(strcpy(new char[strlen(rhs.str_)+1], rhs.str_)), in Str()
63 str_ = strcpy(new char[strlen(rhs.str_)+1], rhs.str_); in operator =()
72 str_ = strcpy(new char[strlen(str)+1], str); in operator =()
98 strcpy(tmp, str_); in operator <<()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/
H A Dpsvcpolicy.c410 strcpy(state, PSVC_ERROR); in check_temp()
427 strcpy(state, PSVC_ERROR); in check_temp()
444 strcpy(state, PSVC_ERROR); in check_temp()
461 strcpy(state, PSVC_ERROR); in check_temp()
478 strcpy(state, PSVC_OK); in check_temp()
479 strcpy(fault, PSVC_NO_FAULT); in check_temp()
672 strcpy(state, PSVC_SWITCH_ON); in psvc_switch_fan_onoff_policy_0()
865 strcpy(state, PSVC_OK); in psvc_hotplug_notifier_policy_0()
946 strcpy(state, PSVC_OK); in psvc_fan_hotplug_policy_0()
1123 strcpy(state, PSVC_ERROR); in psvc_device_fail_notifier_policy_0()
[all …]
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dmpath.c165 (void) strcpy(lunstr, charptr1); in g_get_lun_str()
199 (void) strcpy(path0, charptr3); in g_get_lun_number()
208 (void) strcpy(lunarr, charptr1); in g_get_lun_number()
256 (void) strcpy(physical_path, dev_path); in get_pathlist()
279 (void) strcpy(ioc->client, physical_path); in get_pathlist()
441 (void) strcpy(pathlist_p->path_info[i].path_dev, in g_get_pathlist()
461 (void) strcpy(pathlist_p->path_info[i].path_class, in g_get_pathlist()
470 (void) strcpy(pathlist_p->path_info[i]. in g_get_pathlist()
535 strcpy(ioc.phci, client_path); in g_get_pathcount()
594 strcpy(iocsc.client, char_ptr_start); in g_failover()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dmappath.c146 (void) strcpy(path, buffer); in mappath()
161 (void) strcpy(buffer, path); in basepath()
177 (void) strcpy(path, buffer); in basepath()
182 (void) strcpy(buffer, path); in basepath()
187 (void) strcpy(path, buffer); in basepath()
H A Dcanonize.c46 (void) strcpy(pt, pt[1] ? pt+2 : pt+1); in canonize()
65 (void) strcpy(pt, last); in canonize()
71 (void) strcpy(pt, pt+1); in canonize()
91 (void) strcpy(pt, pt+1); in canonize_slashes()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_socks.c443 (void) strcpy(cp, "succeeded"); in put_socks5_res()
446 (void) strcpy(cp, "general SOCKS server failure"); in put_socks5_res()
449 (void) strcpy(cp, "connection not allowed by ruleset"); in put_socks5_res()
452 (void) strcpy(cp, "network unreachable"); in put_socks5_res()
455 (void) strcpy(cp, "host unreachable"); in put_socks5_res()
458 (void) strcpy(cp, "connection refused"); in put_socks5_res()
461 (void) strcpy(cp, "TTL expired"); in put_socks5_res()
464 (void) strcpy(cp, "command not supported"); in put_socks5_res()
467 (void) strcpy(cp, "address type not supported"); in put_socks5_res()

12345678910>>...64