Lines Matching refs:value_value
3965 len = scf_opaque_encode(data, val->value_value, in commit_value()
3969 len = strlcpy(data, val->value_value, in commit_value()
3972 len = strlen(val->value_value); in commit_value()
4516 c = val->value_value[0]; in scf_value_get_boolean()
4517 assert((c == '0' || c == '1') && val->value_value[1] == 0); in scf_value_get_boolean()
4538 o = strtoull(val->value_value, NULL, 10); in scf_value_get_count()
4557 o = strtoll(val->value_value, NULL, 10); in scf_value_get_integer()
4578 os = strtoll(val->value_value, &p, 10); in scf_value_get_time()
4608 ret = (ssize_t)strlcpy(out, val->value_value, len); in scf_value_get_astring()
4624 ret = (ssize_t)strlcpy(out, val->value_value, len); in scf_value_get_ustring()
4644 (void) memcpy(out, v->value_value, len); in scf_value_get_opaque()
4657 (void) sprintf(v->value_value, "%d", (new != 0)); in scf_value_set_boolean()
4669 (void) sprintf(v->value_value, "%llu", (unsigned long long)new); in scf_value_set_count()
4681 (void) sprintf(v->value_value, "%lld", (long long)new); in scf_value_set_integer()
4698 (void) sprintf(v->value_value, "%lld", (long long)new_sec); in scf_value_set_time()
4700 (void) sprintf(v->value_value, "%lld.%09u", (long long)new_sec, in scf_value_set_time()
4717 if (strlcpy(v->value_value, new, sizeof (v->value_value)) >= in scf_value_set_astring()
4718 sizeof (v->value_value)) { in scf_value_set_astring()
4738 if (strlcpy(v->value_value, new, sizeof (v->value_value)) >= in scf_value_set_ustring()
4739 sizeof (v->value_value)) { in scf_value_set_ustring()
4755 if (len > sizeof (v->value_value)) { in scf_value_set_opaque()
4759 (void) memcpy(v->value_value, new, len); in scf_value_set_opaque()
4808 r = strlcpy(buf, v->value_value, bufsz); in scf_value_get_as_string_common()
4818 (void) scf_opaque_encode(buf, v->value_value, in scf_value_get_as_string_common()
4955 v->value_size = scf_opaque_decode(v->value_value, in scf_value_set_from_string()
4956 str, sizeof (v->value_value)); in scf_value_set_from_string()
4962 (void) strlcpy(v->value_value, str, in scf_value_set_from_string()
4963 sizeof (v->value_value)); in scf_value_set_from_string()
4964 if (!scf_validate_encoded_value(ty, v->value_value)) { in scf_value_set_from_string()
5045 (void) strlcpy(v->value_value, response.rpr_value, in scf_iter_next_value()
5046 sizeof (v->value_value)); in scf_iter_next_value()
5048 v->value_size = scf_opaque_decode(v->value_value, in scf_iter_next_value()
5049 response.rpr_value, sizeof (v->value_value)); in scf_iter_next_value()
5093 (void) strlcpy(v->value_value, response.rpr_value, in scf_property_get_value()
5094 sizeof (v->value_value)); in scf_property_get_value()
5096 v->value_size = scf_opaque_decode(v->value_value, in scf_property_get_value()
5097 response.rpr_value, sizeof (v->value_value)); in scf_property_get_value()