Lines Matching refs:data

79  * Since libpool must present its data in a consistent fashion, we have to
81 * during processing and maintain data integrity between processes. Note
275 /* Load up DTD element a-dtype data to improve performance */
573 * Get the data type for an attribute name from the element node. The data
581 xmlChar *data;
594 data = xmlGetProp(node, name);
596 if (data_type != POC_STRING && data == NULL) {
603 uval = strtoull((char *)data, NULL, 0);
612 ival = strtoll((char *)data, NULL, 0);
620 pool_value_set_double(value, atof((const char *)data));
623 if (strcmp((const char *)data, "true") == 0)
629 if (pool_value_set_string(value, data ?
630 (const char *)data : "") != PO_SUCCESS) {
631 xmlFree(data);
639 xmlFree(data);
644 * Set the data type for an attribute name from the element node. The
645 * supplied value is used to update the designated name using the data
717 * Get the data type for a property name from the element node. The data
726 xmlChar *data, *node_data;
753 data = xmlGetProp(path->nodesetval->nodeTab[0],
759 if (strcmp((char *)data, data_type_tags[i]) == 0) {
803 xmlFree(data);
817 * Set the data type for a property name from the element node. The
818 * supplied value is used to update the designated name using the data
855 xmlChar *data;
864 data = xmlGetProp(element, BAD_CAST c_type);
867 if (strcmp((char *)data, data_type_tags[i])
871 xmlFree(data);
1068 * Store a pointer to one of our data types in the _private member of each
1069 * XML data node contained within the passed node. Note this function is
1078 /* Create a data structure of the appropriate type */
1090 xmlChar *data;
1092 data = xmlGetProp(node, BAD_CAST c_type);
1094 res_class = pool_resource_elem_class_from_string((char *)data);
1095 xmlFree(data);
1100 xmlChar *data;
1102 data = xmlGetProp(node, BAD_CAST c_type);
1104 res_class = pool_resource_elem_class_from_string((char *)data);
1105 xmlFree(data);
1110 xmlChar *data;
1112 data = xmlGetProp(node, BAD_CAST c_type);
1115 (char *)data);
1116 xmlFree(data);
1139 * - Free the data provider for this configuration
1598 * Allocate a data provider for the supplied configuration and optionally
1600 * The data provider is the cross over point from the "abstract" configuration
1601 * functions into the data representation specific manipulation routines.
1603 * data provider.
1618 * Initialise data members
1681 * Free the resources for an XML data provider.
1997 * the locks required to ensure data integrity when manipulating a
2109 * to generate the query rather than the other data
2439 * Utility routine for use by quicksort. Assumes that the supplied data
2502 * Build the dtype structures to accelerate data type lookup operations. The
2503 * purpose is to avoid expensive XML manipulations on data which will not
2523 /* Load up the d-type data for each element */
2525 * Store data type information in nested lists
2569 * build_dtype_tbl() parses the supplied data and returns an array (max size
2570 * of 10, increase if required) of dtype_tbl_t structures holding data type
2571 * information for an element. The supplied data is assumed to be in "a-dtype"
2582 xmlChar *data;
2586 * Parse the supplied data, assumed to be in a-dtype format, and
2588 * the data type
2592 if ((data = xmlStrdup(rawdata)) == NULL)
2595 xmlFree(data);
2598 for (tok = strtok_r((char *)data, " ", &lasts); tok != NULL;
2607 xmlFree(data);
2620 xmlFree(data);
2625 xmlFree(data);
2630 * get_fast_dtype() finds the data type for a supplied attribute name on a
2632 * data type information created at library initialisation.