| /osnet-11/usr/src/lib/libc/port/gen/ |
| H A D | llog10.c | 37 llog10(dl_t val) argument 39 dl_t result; local 41 result = lzero; 42 val = ldivide(val, lten); 44 while (val.dl_hop != 0 || val.dl_lop != 0) { 45 val = ldivide(val, lten); 46 result [all...] |
| /osnet-11/usr/src/cmd/hal/addons/network-devices/ |
| H A D | cache.c | 39 gboolean result = FALSE; local 42 time_t *val = value; local 44 HAL_DEBUG(("test stale: %s (%d > %d)", name, args->timestamp, *val)); 45 if (args->timestamp > *val) { 63 result = TRUE; 69 return (result); 88 gboolean result; local 90 time_t *val; local 96 result = g_hash_table_lookup_extended(seen, name, 97 (gpointer)&key, (gpointer)&val); [all...] |
| /osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/XS/APItest/ |
| H A D | APItest.xs | 43 HE *result; 50 result = hv_store_ent(hash, key, copy, 0); 52 if (!result) { 58 RETVAL = SvREFCNT_inc(HeVAL(result)); 69 SV **result; 77 result = hv_store(hash, key, UTF8KLEN(key_sv, len), copy, 0); 79 if (!result) { 85 RETVAL = SvREFCNT_inc(*result); 95 SV **result; 101 result [all...] |
| /osnet-11/usr/src/cmd/ldap/ns_ldap/ |
| H A D | printResult.c | 41 char *val; local 45 val = entry->attr_pair[j]->attrvalue[k]; 50 if (memcmp(val, NS_LDAP_BASE64_TAG, 52 val = val + NS_LDAP_BASE64_TAG_LEN; 57 cp, colon, val); 64 _printResult(ns_ldap_result_t *result) { argument 68 if (result == NULL) { 71 curEntry = result->entry; 72 for (i = 0; i < result [all...] |
| /osnet-11/usr/src/lib/libsasl/lib/ |
| H A D | config.c | 96 int result; local 110 result = _sasl_strdup(filename, &gctx->config_path, NULL); 111 if (result != SASL_OK) 158 result = SASL_NOMEM; 171 result = _sasl_strdup(key, 175 if (result!=SASL_OK) 178 result = _sasl_strdup(key, 181 if (result!=SASL_OK) return result; 184 result 283 const char *val = sasl_config_getstring(gctx, key, (char *)0); local 300 const char *val = sasl_config_getstring(gctx, key, (char *)0); local [all...] |
| H A D | auxprop.c | 187 int result; local 216 result = prop_setvals(retval, retval->values[i].name, 218 if(result != SASL_OK) 229 return result; 390 struct propval *val; local 391 for(val = ctx->values; val->name; val++) { 392 if(!strcmp(*curname,val->name)) { 394 memcpy(cur, val, sizeo 473 struct propval *val; local 517 struct propval *val; local 566 struct propval *val; local 761 const char **val = values; local 762 int result = SASL_OK; local 798 int result; local 853 int result, out_version; local [all...] |
| /osnet-11/usr/src/grub/grub2/grub-core/normal/ |
| H A D | color.c | 62 int result = 1; local 68 return result; 75 return result; 102 result = 0; 106 return result; 129 const char *val) 131 if (grub_parse_color_name_pair (&color_normal, val)) 136 return grub_strdup (val); 142 const char *val) 144 if (grub_parse_color_name_pair (&color_highlight, val)) 128 grub_env_write_color_normal(struct grub_env_var *var __attribute__ ((unused)), const char *val) argument 141 grub_env_write_color_highlight(struct grub_env_var *var __attribute__ ((unused)), const char *val) argument [all...] |
| /osnet-11/usr/src/lib/libpool/common/ |
| H A D | pool_value.c | 67 pool_value_get_uint64(const pool_value_t *pv, uint64_t *result) argument 73 *result = pv->pv_u.u; 82 pool_value_get_int64(const pool_value_t *pv, int64_t *result) argument 88 *result = pv->pv_u.i; 98 pool_value_get_double(const pool_value_t *pv, double *result) argument 104 *result = pv->pv_u.d; 113 pool_value_get_bool(const pool_value_t *pv, uchar_t *result) argument 119 *result = pv->pv_u.b; 128 pool_value_get_string(const pool_value_t *pv, const char **result) argument 134 *result 153 pool_value_set_uint64(pool_value_t *pv, uint64_t val) argument 166 pool_value_set_int64(pool_value_t *pv, int64_t val) argument 180 pool_value_set_double(pool_value_t *pv, double val) argument 193 pool_value_set_bool(pool_value_t *pv, uchar_t val) argument 206 pool_value_set_string(pool_value_t *pv, const char *val) argument 229 pool_value_t *val; local [all...] |
| H A D | pool.c | 184 int result; local 195 result = conf->pc_prov->pc_set_binding(conf, pool_name, idtype, id); 199 return (result); 210 char *result; local 228 result = conf->pc_prov->pc_get_resource_binding(conf, type, pid); 231 return (result); 242 char *result; local 253 result = conf->pc_prov->pc_get_binding(conf, pid); 256 return (result); 333 pool_value_t val local 853 pool_get_property(const pool_conf_t *conf, const pool_elem_t *pe, const char *name, pool_value_t *val) argument 889 pool_get_ns_property(const pool_elem_t *pe, const char *name, pool_value_t *val) argument 913 pool_put_property(pool_conf_t *conf, pool_elem_t *pe, const char *name, const pool_value_t *val) argument 982 pool_value_t *val; local 1020 pool_put_ns_property(pool_elem_t *pe, const char *name, const pool_value_t *val) argument 1049 pool_put_any_property(pool_elem_t *pe, const char *name, const pool_value_t *val) argument 1069 pool_put_any_ns_property(pool_elem_t *pe, const char *name, const pool_value_t *val) argument 1164 pool_value_t val = POOL_VALUE_INITIALIZER; local 1225 pool_value_t val = POOL_VALUE_INITIALIZER; local 1342 pool_value_t val = POOL_VALUE_INITIALIZER; local 1731 pool_value_t val = POOL_VALUE_INITIALIZER; local 1821 pool_value_t val = POOL_VALUE_INITIALIZER; local 1859 pool_t **result = NULL; local 1968 pool_resource_t **result = NULL; local 2395 pool_value_t val = POOL_VALUE_INITIALIZER; local 2401 &val); local 2404 &val); local 2458 pool_value_t val = POOL_VALUE_INITIALIZER; local 2469 &val); local 2472 &val); local 2634 pool_resource_t **result = NULL; local 2710 pool_component_t **result = NULL; local 2809 pool_value_t val = POOL_VALUE_INITIALIZER; local 2870 pool_value_t val = POOL_VALUE_INITIALIZER; local [all...] |
| /osnet-11/usr/src/lib/libpower/common/ |
| H A D | pm_smf.c | 90 pm_smf_listprop(nvlist_t **result, const char *instance) argument 126 * from the result set. 134 /* Add the value, if any, to the result list */ 135 err = pm_result_add(result, PM_AUTHORITY_SMF, 191 char *val; local 217 val = strdup(nvpair_name(nvp)); 218 propname = pm_parse_propname(val, &pgname); 245 free(val); 249 free(val); 252 if (nvpair_value_string(nvp, &val) ! 312 void *result; local 352 int64_t *val = local 386 pm_smf_add_pgname(nvlist_t *result, const char *instance) argument 456 pm_smf_validate(scf_simple_prop_t *prop, const char *val, void **result) argument 483 pm_smf_validate_authority(scf_simple_prop_t *prop, const char *val, void **result) argument 510 pm_smf_validate_boolean(scf_simple_prop_t *prop, const char *val, void **result) argument 549 pm_smf_validate_integer(scf_simple_prop_t *prop, const char *val, void **result) argument [all...] |
| /osnet-11/usr/src/lib/pam_modules/unix_auth/ |
| H A D | unix_auth.c | 74 char *val = NULL; local 82 val = kva_match(uattr->attr, USERATTR_LOCK_AFTER_RETRIES_KW); 84 if (val != NULL) { 85 if (isdigit(*val)) { 86 retval = min(FAILCOUNT_MASK, atoi(val)); 88 do_lock = (strcasecmp(val, "yes") == 0); 204 int result; local 245 result = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep); 246 if (result == PAM_SUCCESS && auth_rep != NULL) { 274 result [all...] |
| /osnet-11/usr/src/grub/grub2/grub-core/script/ |
| H A D | execute.c | 192 struct grub_script_argv result = { 0, 0, 0 }; local 194 if (grub_script_argv_next (&result)) 204 if (grub_script_argv_split_append (&result, v)) 208 if (grub_script_argv_append (&result, v, grub_strlen (v))) 214 if (grub_script_argv_append (&result, 0, 0)) 221 if (grub_script_argv_append (&result, buffer, grub_strlen (buffer))) 229 if (i != 0 && grub_script_argv_next (&result)) 232 if (grub_script_argv_split_append (&result, scope->argv.args[i])) 237 if (i != 0 && grub_script_argv_append (&result, " ", 1)) 240 if (grub_script_argv_append (&result, scop 294 grub_script_env_set(const char *name, const char *val) argument 310 struct grub_script_argv result = { 0, 0, 0 }; local 695 const char *result; local 720 grub_err_t result; local 755 int result; local [all...] |
| /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; 556 uchar_t *result = NULL; local 618 result 649 int dig, val, inchr; local 1029 validate_servervalue(ushort_t optcode, const char *result) argument 1059 char *resultp, *result = NULL; local [all...] |
| /osnet-11/usr/src/lib/libc/port/i18n/ |
| H A D | gettext_real.c | 62 char *cur_locale, *cur_domain, *result, *nlspath; local 127 DFLTMSG(result, msgid1, msgid2, n, plural); 128 return (result); 141 DFLTMSG(result, msgid1, msgid2, n, plural); 142 return (result); 156 DFLTMSG(result, msgid1, msgid2, n, plural); 157 return (result); 166 DFLTMSG(result, msgid1, msgid2, n, plural); 167 return (result); 215 DFLTMSG(result, msgid 788 _textdomain_u(const char *domain, char *result) argument 849 int val; local 1006 char *result; local 1070 char *result; local [all...] |
| /osnet-11/usr/src/lib/libdns_sd/java/com/apple/dnssd/ |
| H A D | TXTRecord.java | 250 /** Converts the result of getValue() to a string in the platform default character set. */ 276 /** Converts the result of getValue() to a string in the platform default character set.<P> 285 byte[] val = this.getValue( forKey); 286 return val != null ? new String( val) : null; 295 String a, result = null; 300 String val = this.getValueAsString( i); 301 if ( val != null) 302 av += "=" + val + "}"; 305 if ( result [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)) 377 * The end result is that entities without names cannot be looked up, but will 635 ipmi_sdr_conv_reading(ipmi_sdr_full_sensor_t *sensor, uint8_t val, argument 636 double *result) 647 *result = (double)(((m * val) [all...] |
| /osnet-11/usr/src/lib/passwdutil/ |
| H A D | ldap_attr.c | 64 #define NEW_ATTR(p, i, attr, val) \ 66 p[i] = new_attr(attr, (val)); \ 500 * attr_addmod(attrs, idx, item, val) 555 char *pwd, *val; local 587 val = malloc(cryptlen); 588 if (val == NULL) 590 (void) snprintf(val, cryptlen, 614 val = malloc(cryptlen); 615 if (val == NULL) { 618 (void) snprintf(val, cryptle 1055 int result = NS_LDAP_OP_FAILED; local [all...] |
| /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; 521 * Returns SASL_OK on success, SASL_BUFOVER if result won't fit 1825 int result; local 1898 result = _plug_buf_alloc(text->utils, &text->decode_once_buf, 1901 if (result != SASL_OK) 1902 return result; 1907 result 2134 int result; local 2180 int result; local 2390 char *result; local 2567 int result; local 2852 int result; local 3065 unsigned val = hash(username) % text->reauth->size; local 3520 unsigned val = hash(username) % text->reauth->size; local 3875 char *result; local 3968 int result; local 4227 int result = SASL_OK; local 4624 int result = SASL_OK; local 4809 int result = SASL_FAIL; local 4810 unsigned val; local 4889 int result = SASL_FAIL; local 4962 int result = SASL_FAIL; 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/libadutils/common/ |
| H A D | libadutils.h | 64 * This callback routine is used to process the result of 69 * qid - Query ID that corresponds to the result. 145 extern void adutils_set_debug(enum ad_debug item, int val); 156 extern void adutils_freeresult(adutils_result_t **result); 160 adutils_result_t **result); 164 adutils_result_t *result); 169 extern boolean_t adutils_bv_uint(BerValue *bval, unsigned int *result); 181 const char *edomain, adutils_result_t **result,
|
| /osnet-11/usr/src/lib/nsswitch/nis/common/ |
| H A D | nis_common.c | 129 const char *val = *valp; local 132 if ((last = memchr(val, '#', vallen)) == 0) { 133 last = val + vallen; 135 for (first = val; first < last && isspace(*first); first++) { 227 char *val; local 231 if ((res = _nss_nis_ypmatch(be->domain, map, key, &val, &vallen, 239 parsestat = validate_passwd_ids(&val, &vallen, 1); 241 parsestat = validate_group_ids(&val, &vallen, 1); 243 free(val); 247 free_ptr = val; 283 char *val; local 410 nss_status_t result; member in struct:cb_data [all...] |
| /osnet-11/usr/src/lib/fm/libdiagcode/common/ |
| H A D | diagcode.c | 112 static void bitv_setlo(bitv *bv, unsigned bits, unsigned val); 113 static void bitv_shiftin(bitv *bv, unsigned bits, unsigned val); 117 static int bitv_mul(bitv *bv, unsigned long long val); 118 static int bitv_add(bitv *bv, unsigned long long val); 119 static int bitv_sub(bitv *bv, unsigned long long val); 120 static int bitv_ge(const bitv *bv, unsigned long long val); 123 static void crc(unsigned long *crcp, unsigned val); 697 * buildcode -- given the val from the dictionary, create the diagcode 865 unsigned val; local 867 for (val 1153 bitv_setlo(bitv *bv, unsigned bits, unsigned val) argument 1185 bitv_shiftin(bitv *bv, unsigned bits, unsigned val) argument 1256 bitv_mul(bitv *bv, unsigned long long val) argument 1258 unsigned short result; local 1308 bitv_add(bitv *bv, unsigned long long val) argument 1311 unsigned short result; local 1339 bitv_sub(bitv *bv, unsigned long long val) argument 1372 bitv_ge(const bitv *bv, unsigned long long val) argument 1399 unsigned long long val; local 1520 crc(unsigned long *crcp, unsigned val) argument [all...] |
| /osnet-11/usr/src/grub/grub2/grub-core/efiemu/ |
| H A D | mm.c | 25 subsequent calls with the same handle return the same result. You can't request any additional memory once you're in the second phase 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) 529 grub_efi_memory_descriptor_t *result; local 537 result = (grub_efi_memory_descriptor_t *) 539 if (!result || !scanline_event [all...] |
| /osnet-11/usr/src/lib/libradproto/common/ |
| H A D | radproto_adr.c | 145 adr_type_t *result = zalloc(sizeof (adr_type_t)); 146 if (result == NULL) 148 result->t_type = ttype; 149 result->adr_t_name = NULL; 150 result->t_size = 0; 151 result->t_dynamic = B_TRUE; 158 result->t_aux.t_array = atype; 166 result->adr_t_name = name; 168 if (!xdr_u_int(xdrs, &result->t_size) || 169 (result 321 adr_typeset_t *result; local 539 adr_object_t *result = zalloc(sizeof (adr_object_t)); local 1046 xdr_unembed_optdata(adr_data_t **data, adr_type_t *t, uint_t len, char *val) argument [all...] |
| /osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/ |
| H A D | x86pi_subr.c | 96 int result; local 101 result = sysinfo(SI_HOSTNAME, hostname, sizeof (hostname)); 103 if (result == -1) { 153 int result; local 196 result = topo_node_set_auth_chassis(mod, auth, t_node); 197 if (result != 0) { 217 int result; local 232 (void) topo_node_fru_set(t_node, NULL, 0, &result); 250 result = topo_node_fru_set(t_node, frufmri, 0, &err); 251 if (result ! 267 int result; local 298 int result; local 685 int *val; local [all...] |
| /osnet-11/usr/src/lib/fm/libasr/common/ |
| H A D | asr_audit.c | 180 int32_t val; local 181 (void) nvpair_value_int32(nvp, &val); 182 (void) asr_buf_append(value, " %d", val); 187 uint32_t val; local 188 (void) nvpair_value_uint32(nvp, &val); 189 (void) asr_buf_append(value, " 0x%x", val); 194 int64_t val; local 195 (void) nvpair_value_int64(nvp, &val); 196 (void) asr_buf_append(value, " %lld", (longlong_t)val); 201 uint64_t val; local 208 double val; local 215 char *val; local 222 nvlist_t *val; local 236 int32_t *val; local 246 uint32_t *val; local 256 int64_t *val; local 266 uint64_t *val; local 276 char **val; local 307 asr_buf_t *val, *buf; local 920 int result = 0; local [all...] |