/illumos-gate/usr/src/tools/protocmp/ |
H A D | list.c | 110 hash(const char *str) argument 114 for (i = 0; *str != '\0'; ) 115 i += *str++;
|
/illumos-gate/usr/src/ucblib/libtermcap/ |
H A D | termcap.c | 347 tdecode(char *str, char **area) argument 355 while (((c = *str++) != 0) && c != ':') { 359 c = *str++ & 037; 364 c = *str++; 376 c <<= 3, c |= *str++ - '0'; 377 while (--i && isdigit(*str)); 384 str = *area; 386 return (str);
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_ia_open.c | 511 char *str; local 530 for (str = hostname; *str && *str != '.'; ) { 531 str++; 533 if (*str == '.') { 534 *str = '\0';
|
/illumos-gate/usr/src/psm/stand/cpr/common/ |
H A D | support.c | 93 char *str, *default_path; local 99 str = "cpr_reset_properties"; 104 str, default_path); 111 prom_printf("%s: error reading %s\n", str, default_path); 114 prom_printf("%s: bad magic number in %s\n", str, default_path); 124 prom_printf("%s: cannot find \"options\" node\n", str); 146 str, prop->name, prop->value); 161 char *str; local 164 str = "\ncpr_read_cdump:"; 167 prom_printf("%s Error reading cpr dump descriptor\n", str); [all...] |
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | machdep.c | 72 char *fmt, *str; local 75 str = "cb_check_machdep"; 76 CB_VPRINTF((ent_fmt, str, entry)); 84 str, cmach.md_magic, CPR_MACHDEP_MAGIC); 271 char *str, *intf; local 277 str = "cb_mp_setup"; 278 CB_VPRINTF((ent_fmt, str, entry)); 312 prom_printf("\n%s: slave cpu count: %d\n", str, ncpu);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | clone.c | 165 struct streamtab *str; local 210 if ((str = STREAMSTAB(maj)) == NULL) { 243 ASSERT(str == dp->d_str); 250 dp->d_dmp = hold_dm(str, qflag, sqtype); 266 setq(rq, str->st_rdinit, str->st_wrinit, dmp, qflag, sqtype, B_FALSE);
|
H A D | str_conf.c | 205 fmodsw_register(const char *name, struct streamtab *str, int flag) argument 222 if ((err = devflg_to_qflag(str, flag, &qflag, &sqtype)) != 0) 225 fp->f_str = str; 229 fp->f_dmp = hold_dm(str, qflag, sqtype);
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kutil.c | 255 ktli_log(int level, char *str, int a1) argument 258 printf(str, a1);
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfsid_map.h | 75 char str[1]; member in struct:mapid_arg 83 ((offsetof(mapid_arg_t, str[0]) + 1 + (str_length) + 7) & ~ 7) 136 char str[1]; member in struct:mapid_res 144 ((offsetof(mapid_res_t, str[0]) + 1 + (str_length) + 7) & ~ 7)
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ftrace.c | 356 ftrace_0(char *str, caddr_t caller) argument 377 r->ftr_event = str; 390 ftrace_1(char *str, ulong_t arg1, caddr_t caller) argument 411 r->ftr_event = str; 425 ftrace_2(char *str, ulong_t arg1, ulong_t arg2, caddr_t caller) argument 446 r->ftr_event = str; 461 ftrace_3(char *str, ulong_t arg1, ulong_t arg2, ulong_t arg3, caddr_t caller) argument 482 r->ftr_event = str; 498 ftrace_3_notick(char *str, ulong_t arg1, ulong_t arg2, argument 517 r->ftr_event = str; [all...] |
H A D | iscsiboot_prop.c | 53 iscsi_bootprop_print(int level, char *str) argument 55 if (str == NULL) { 59 cmn_err(level, "%s", str);
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | ppm_plat.c | 62 char *str = "ppm_redefine_topspeed"; local 73 "since cpupm interfaces are not initialized", str, 80 "notification before PPMD_CPU_READY", str, 121 char *str = "ppm_change_cpu_power"; local 140 PPMD(D_CPU, ("%s: old %d, new %d\n", str, oldlevel, newlevel)) 149 str, cpup->path, newlevel, ret))
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sftable.c | 31 static char* sffmtint(const char* str, int* v) argument 33 static char* sffmtint(str, v) 34 char* str; 38 for(*v = 0; isdigit(*str); ++str) 39 *v = *v * 10 + (*str - '0'); 41 return (char*)str;
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | set_size.c | 61 char * str, 66 set_size (str, which, putout) 67 char *str; 136 size = strtod(str, &rest); 60 set_size( char * str, int which, int putout ) argument
|
/illumos-gate/usr/src/cmd/lp/lib/oam/ |
H A D | fmtmsg.c | 111 wrap(wchar_t *prefix, wchar_t *suffix, int indent_len, wchar_t *str) 139 for (p = str; *p; ) { 109 wrap(wchar_t *prefix, wchar_t *suffix, int indent_len, wchar_t *str) argument
|
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_nvpair.c | 356 * @param str 369 char **str) 378 error = nvpair_value_string(match, str); 366 get_string( nvlist_t *attrs, char *which, char **str) argument
|
H A D | volume_string.c | 106 char *str = va_arg(vl, char *); local 107 if (str != NULL) { 108 len += strlen(str); 123 char *str = va_arg(vl, char *); local 124 if (str != NULL) { 125 strcat(cat, str); 137 * @param str 155 char *str, 162 if (sscanf(str, "%lld", &lnum) != 1) { 191 * @param str 154 str_to_uint16( char *str, uint16_t *num) argument 206 ll_to_str( long long num, char **str) argument 244 sizestr_to_bytes( char *str, uint64_t *bytes, units_t units[]) argument 313 bytes_to_sizestr( uint64_t bytes, char **str, units_t units[], boolean_t round) argument 376 append_to_string_array( char **array, char *str) argument [all...] |
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | kmem.c | 147 strfree(char *str) argument 149 ASSERT(str != NULL); 150 kmem_free(str, strlen(str) + 1);
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | misc.cc | 492 Wstring str; local 495 str.init(p); 496 wchar_t * wcb = str.get_string();
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | groups.c | 169 const char *str; local 214 str = (char *)isc->is_indata->d_buf; 215 str += sym->st_name; 228 gnu_stt_section = ((sym->st_name == 0) || (*str == '\0')) && 231 str = gisc->is_name; 239 gd.gd_name = str; 247 if (is_header_gensym(str)) {
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | bootrd.c | 52 BRD_MOUNTROOT(struct boot_fs_ops *ops, char *str) argument 54 return (ops->fsw_mountroot(str));
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | collatefile.h | 94 wchar_t str[COLLATE_STR_LEN]; member in struct:collate_chain
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | pathname.c | 104 pn_get_buf(char *str, enum uio_seg seg, struct pathname *pnp, argument 112 error = copyinstr(str, pnp->pn_path, bufsize, &pnp->pn_pathlen); 114 error = copystr(str, pnp->pn_path, bufsize, &pnp->pn_pathlen); 125 pn_get(char *str, enum uio_seg seg, struct pathname *pnp) argument 131 if ((error = pn_get_buf(str, seg, pnp, buf, MAXPATHLEN)) != 0)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | arp.c | 304 char *str = NULL; local 337 str = _link_ntoa(ea, str, ar.xarp_ha.sdl_alen, IFT_OTHER); 338 if (str != NULL) { 340 inet_ntoa(sin->sin_addr), str); 341 free(str);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | out.c | 269 const char *str; local 271 str = dp->string ? dp->string : ""; 272 sz = (*tbl->slen)(str, tbl->arg); 284 const char *str; local 297 str = dp->string ? dp->string : ""; 298 sz = (*tbl->slen)(str, tbl->arg); 307 if (NULL != (cp = strrchr(str, opts->decimal))) { 309 for (ssz = 0, i = 0; cp != &str[i]; i++) { 310 buf[0] = str[i];
|