/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getopt_long.c | 259 equivFound = (ch == long_options[long_i].val); 278 equivFound = ((long_options[long_i].val != 0) && 279 (strchr(options, long_options[long_i].val) 401 * XXX: GNU sets optopt to val regardless of flag 404 optopt = long_options[match].val; 434 * XXX: GNU sets optopt to val regardless of flag 437 optopt = long_options[match].val; 446 *long_options[match].flag = long_options[match].val; 449 optopt = long_options[match].val;
|
/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | saslint.h | 74 #define RETURN(conn, val) { if(conn && (val) < SASL_OK) \ 75 (conn)->error_code = (val); \ 76 return (val); } 86 #define INTERROR(conn, val) {\ 88 "Internal Error %d in " __FILE__ " near line %d", (val),\ 90 RETURN(conn, (val)) } 98 #define INTERROR(conn, val) {\ 99 if(conn) _sasl_log((conn), SASL_LOG_ERR, "Internal Error: %d", (val)); \ 100 RETURN(conn, (val)) } [all...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 47 #define les(val) ((((val)&0xFF)<<8)|(((val)>>8)&0xFF)) 48 #define lel(val) (((unsigned)(les((val)&0x0000FFFF))<<16) | \ 49 (les((unsigned)((val)&0xffff0000)>>16))) 51 #define les(val) (val) 52 #define lel(val) (val) [all...] |
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | ipmi_sdr.c | 39 #define tos32(val, bits) ((val & ((1<<((bits)-1)))) ? (-((val) & \ 40 (1<<((bits)-1))) | (val)) : (val)) 635 ipmi_sdr_conv_reading(ipmi_sdr_full_sensor_t *sensor, uint8_t val, argument 647 *result = (double)(((m * val) + 651 if (val & 0x80) 652 val++; 655 *result = (double)(((m * (int8_t)val) [all...] |
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 511 char *str, *loc, val; local 572 val = *loc; 579 *loc = val; 584 *loc = val; 697 scf_value_t *val = NULL; local 717 (val = scf_value_create(hdl)) == NULL) 767 scf_iter_next_value(iter, val) != 1) 770 if ((len = scf_value_get_astring(val, NULL, 0)) < 0) 774 if (scf_value_get_astring(val, state, len + 1) < 0) 789 scf_value_destroy(val); [all...] |
H A D | mem.c | 197 uint64_t val; local 217 if (nvlist_lookup_uint64(in, FM_FMRI_MEM_OFFSET, &val) == 0) { 220 } else if (nvlist_lookup_uint64(in, FM_FMRI_MEM_PHYSADDR, &val) == 0) { 256 len = snprintf(NULL, 0, format, prefix, escunum, val) + 1; 264 (void) snprintf(buf, len, format, prefix, escunum, val);
|
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/ |
H A D | bay_subr.c | 440 char *val = NULL; local 463 rv = nvlist_lookup_string(auth, FM_FMRI_AUTH_V1_CHASSIS_NM, &val); 464 if (rv == 0 && val != NULL) { 465 bcopy(val, prod, strlen(val) + 1); 473 val = NULL; 474 rv = nvlist_lookup_string(auth, FM_FMRI_AUTH_V1_CHASSIS_SN, &val); 475 if (rv == 0 && val != NULL) { 476 bcopy(val, ch_sn, strlen(val) [all...] |
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | eepro100.c | 288 int val, boguscnt = 64*4; /* <64 usec. to complete, typ 27 ticks */ local 295 val = inl(ioaddr + SCBCtrlMDI); 297 printf(" mdio_write() timed out with val = %X.\n", val); 300 } while (! (val & 0x10000000)); 301 return val & 0xffff; 311 int val, boguscnt = 64*4; /* <64 usec. to complete, typ 27 ticks */ local 316 val = inl(ioaddr + SCBCtrlMDI); 319 printf( " mdio_read() timed out with val = %X.\n", val); [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | Dumpvalue.pm | 164 my $val = $v; 166 $val = &{'overload::StrVal'}($v) 169 ($address) = $val =~ /(0x[0-9a-f]+)\)$/ ; 326 my ($package, $off, $key, $val, $all) = @_; 327 local(*stab) = $val; 398 my ($key,$val); 408 while (($key,$val) = each(%stab)) { 412 $self->globUsage(\$val, $key) 414 and ref(\$val) eq 'GLOB'; 416 $self->dumpglob($package, 0,$key, $val); [all...] |
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getnetgrent.c | 365 char *val; local 371 &val, &vallen, &yperr); 395 if ((p = strpbrk(val, "#\n")) != 0) { 398 p = val; 400 /* Parse val into triples and recursive netgroup references */ 411 /* Finished processing this particular val */ 485 /* End of inner loop over val[] */ 486 free(val); 724 char *val; local 778 &val, [all...] |
H A D | getexecattr.c | 268 char *val; local 282 key, &val, &vallen, &ypstatus); 293 char *val_save = val; 295 massage_netdb((const char **)&val, &vallen); 296 res = _exec_nis_parse((const char *)val,
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IPC/SysV/ |
H A D | Semaphore.pm | 116 my($key,$val); 117 $ds->$key($val) 118 while(($key,$val) = each %arg); 143 my $val = shift; 144 semctl($$self,$sem,SETVAL,$val);
|
/osnet-11/usr/src/lib/libnetcfg/common/ |
H A D | libnetcfg_files.c | 210 char *val, *next = str; local 217 while ((val = netcfg_tokenize_by_unescaped_delim(next, 219 if (strcasecmp(val, NETCFG_TRUE_STRING) == 0) { 221 } else if (strcasecmp(val, NETCFG_FALSE_STRING) == 0) { 251 char *val, *next = str; local 258 while ((val = netcfg_tokenize_by_unescaped_delim(next, 260 buf[nelem] = (int32_t)atol(val); 285 char *val, *next = str; local 292 while ((val = netcfg_tokenize_by_unescaped_delim(next, 294 buf[nelem] = (uint32_t)atol(val); 319 char *val, *next = str; local 353 char *val, *next = str; local 387 char *val, *next = str; local [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | nvdisc.c | 251 static void assign(Namval_t *np,const char* val,int flags,Namfun_t *handle) argument 261 if(val && (tp=nv_type(np)) && (nr=nv_open(val,sh.var_tree,NV_VARNAME|NV_ARRAY|NV_NOADD|NV_NOFAIL)) && tp==nv_type(nr)) 275 if(val || isblocked(bp,type)) 279 nv_putv(np,val,flags,handle); 290 nv_putval(SH_VALNOD, val, (flags&NV_INTEGER)?flags:NV_NOFREE); 309 if(val) 333 nv_putv(np,val,flags,handle); 342 nv_putv(np, val, flags, handle); 603 static void putdisc(Namval_t* np, const char* val, in argument 781 put_notify(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 838 num_clone(register Namval_t *np, void *val) argument 908 const char *val = mp->nvalue.cp; local 995 clone_putv(Namval_t *np,const char* val,int flags,Namfun_t *handle) argument 1272 put_table(register Namval_t* np, const char* val, int flags, Namfun_t* fp) argument [all...] |
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | vfprintf.c | 272 #define GETASTER(val) \ 289 val = GETARG(int); \ 295 val = GETARG(int); \ 499 double val; local 514 val = GETARG(double); 542 prec, val); 544 sprintf(out, fmt, width, prec, val); 549 val); 551 sprintf(out, fmt, width, val);
|
/osnet-11/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 292 unsigned val = 0; local 297 val ^= i; 298 val <<= 1; 302 return val; 3036 * username-value = qdstr-val cnonce = "cnonce" "=" <"> 3037 * cnonce-value <"> cnonce-value = qdstr-val nonce-count = "nc" 3065 unsigned val = hash(username) % text->reauth->size; local 3069 if (text->reauth->e[val].authid && 3070 !strcmp(username, text->reauth->e[val].authid)) { 3072 _plug_strdup(sparams->utils, text->reauth->e[val] 3520 unsigned val = hash(username) % text->reauth->size; local 4810 unsigned val; local 5018 unsigned val = hash(params->serverFQDN) % text->reauth->size; local 5069 unsigned val = hash(params->serverFQDN) % text->reauth->size; local [all...] |
/osnet-11/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 139 scf_value_t *val; local 176 if ((val = scf_value_create(h)) == NULL) { 184 for (numvals = 0; (iterret = scf_iter_next_value(iter, val)) == 1; 195 if (scf_value_get_boolean(val, 201 if (scf_value_get_count(val, 207 if (scf_value_get_integer(val, 213 if (scf_value_get_time(val, 221 if ((valsize = scf_value_get_astring(val, NULL, 0)) == 229 if (scf_value_get_astring(val, 245 if ((valsize = scf_value_get_ustring(val, NUL 964 scf_value_t *val = NULL; local 1451 scf_value_t *val = scf_value_create(simple_h->h); local 3718 scf_value_t *val = NULL; local [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_gss.c | 48 uint8_t *val; member in struct:smbfs_session_key_t 435 if ((ssnkey->val = calloc(1, len)) == NULL) 439 bcopy(buf, ssnkey->val, ssnkey->len); 453 free(ssnkey->val); 534 (void) memcpy(ctx->ct_ssn_key, ssn_key.val, len); 544 (void) memcpy(ctx->ct_mackey, ssn_key.val,
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | flowattr.c | 179 long val; local 181 val = strtol(attr_val, &endp, 10); 182 if (val < 1 || val > MAX_PORT || *endp != '\0') 186 fdesc->fd_local_port = htons((uint16_t)val); 189 fdesc->fd_remote_port = htons((uint16_t)val);
|
H A D | libdlwlan.c | 891 find_name_by_val(uint_t val, val_desc_t *vdp, uint_t cnt, char **strp) argument 896 if (val == vdp[i].vd_val) { 919 dladm_wlan_val2str(uint_t val, val_desc_t *vdp, uint_t cnt, char *buf) argument 923 if (!find_name_by_val(val, vdp, cnt, &s)) 1013 uint_t val; local 1015 if (!find_val_by_name(str, secmode_vals, VALCNT(secmode_vals), &val)) 1018 *secmode = (dladm_wlan_secmode_t)val; 1025 uint_t val; local 1027 if (!find_val_by_name(str, strength_vals, VALCNT(strength_vals), &val)) 1030 *strength = (dladm_wlan_strength_t)val; 1037 uint_t val; local 1056 uint_t val; local 1068 uint_t val; local 1080 uint_t val; local 1610 add_new_property(scf_handle_t *handle, const char *prop_name, scf_type_t type, const char *val, scf_transaction_t *tx) argument [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_pragma.c | 325 char *opt, *val; local 329 "malformed #pragma %s <option>=<val>\n", prname); 339 if ((val = strchr(opt, '=')) != NULL) 340 *val++ = '\0'; 342 if (dtrace_setopt(dtp, opt, val) == -1) { 343 if (val == NULL) { 350 opt, val, dtrace_errmsg(dtp, dtrace_errno(dtp)));
|
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/ |
H A D | mm.c | 42 void *val; member in struct:grub_efiemu_memrequest 195 cur->val = curptr; 221 return cur->val; 334 int val = grub_efiemu_get_memory_map (memory_map_size, local 338 if (val == 1) 340 if (val == -1)
|
/osnet-11/usr/src/grub/grub-0.97/lib/ |
H A D | getopt.c | 501 `flag' field is nonzero, the value of the option's `val' field 719 optopt = pfound->val; 734 optopt = pfound->val; 743 *(pfound->flag) = pfound->val; 746 return pfound->val; 915 *(pfound->flag) = pfound->val; 918 return pfound->val;
|
/osnet-11/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 298 current->val = GET16(p); 303 if (current->val == (*nextp)->val) { 306 } else if (current->val > (*nextp)->val) { 359 *write_speed = max(*write_speed, (*speeds)[0].val);
|
/osnet-11/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_inittab.c | 476 int dig, val; local 486 dig = val = 0; 493 val = (val << 4) + chr - '0'; 495 val = (val << 4) + chr - 506 *outbuf++ = val; 508 dig = val = 0; 649 int dig, val, inchr; local 660 dig = val [all...] |