Lines Matching +refs:val +refs:chars
287 pool_value_t val = POOL_VALUE_INITIALIZER;
292 "_next_id", &val) == POC_UINT)
293 (void) pool_value_get_uint64(&val, &nid);
299 pool_value_set_uint64(&val, ++nid);
302 &val));
442 pool_value_t val = POOL_VALUE_INITIALIZER;
448 if (pool_value_set_string(&val, name) != PO_SUCCESS) {
452 (void) pool_xml_set_attr(element, BAD_CAST c_name, &val);
453 if (pool_value_set_string(&val, data_type_tags[type]) != PO_SUCCESS) {
457 (void) pool_xml_set_attr(element, BAD_CAST c_type, &val);
470 pool_value_t *val)
481 val));
485 BAD_CAST property_name_minus_ns(pe, name), val))
488 val));
490 return (pool_xml_get_prop(pxe->pxe_node, BAD_CAST name, val));
508 const pool_value_t *val)
518 val));
522 BAD_CAST property_name_minus_ns(pe, name), val) == PO_FAIL)
524 val));
526 return (pool_xml_set_prop(pxe->pxe_node, BAD_CAST name, val));
1967 pool_value_t val = POOL_VALUE_INITIALIZER;
1970 "pset.ref_id", &val) != POC_STRING)
1972 if (pool_xml_put_property(TO_ELEM(pool), "pool.res", &val) !=
2675 char chars[PAGE_READ_SIZE];
2696 res = fread(chars, 1, size, prov->pxc_file);
2702 chars, res, conf->pc_location)) == NULL) {
2707 while ((res = fread(chars, 1, size, prov->pxc_file)) > 0) {
2708 if (xmlParseChunk(ctxt, chars, res, 0) != 0) {
2714 if (xmlParseChunk(ctxt, chars, 0, 1) != 0) {
2765 pool_value_t val = POOL_VALUE_INITIALIZER;
2768 &val) != POC_UINT) {
2774 pool_value_set_uint64(&val, size);
2776 pool_value_set_uint64(&val, 0);
2778 c_size_prop, &val) != PO_SUCCESS) {