Searched refs:properties (Results 1 - 25 of 40) sorted by relevance

12

/PHP_TRUNK/ext/mysqli/tests/
H A Dreflection_tools.inc31 if ($properties = $class->getProperties()) {
33 foreach ($properties as $prop)
41 if ($properties = $class->getDefaultProperties()) {
42 ksort($properties, SORT_STRING);
43 foreach ($properties as $name => $v)
47 if ($properties = $class->getStaticProperties()) {
48 ksort($properties, SORT_STRING);
49 foreach ($properties as $name => $v)
/PHP_TRUNK/ext/simplexml/
H A Dphp_simplexml.h60 HashTable *properties; member in struct:__anon201
H A Dsimplexml.c286 attr = node ? node->properties : NULL;
503 attr = node ? node->properties : NULL;
516 attr = node->properties;
551 zend_error(E_WARNING, "It is not yet possible to assign complex types to %s", attribs ? "attributes" : "properties");
761 attr = node ? node->properties : NULL;
889 attr = node ? node->properties : NULL;
1064 } else if (sxe->properties) {
1065 zend_hash_clean(sxe->properties);
1066 rv = sxe->properties;
1070 sxe->properties
[all...]
/PHP_TRUNK/Zend/
H A Dzend.c266 HashTable *properties = NULL; local
272 properties = Z_OBJPROP_P(expr);
274 if (properties) {
275 if (++properties->u.v.nApplyCount>1) {
277 properties->u.v.nApplyCount--;
280 print_flat_hash(properties);
281 properties->u.v.nApplyCount--;
318 HashTable *properties; local
326 if ((properties = Z_OBJDEBUG_P(expr, is_temp)) == NULL) {
329 if (++properties
[all...]
H A Dzend_execute.c837 if (EXPECTED(zobj->properties != NULL)) {
838 property = zend_hash_find(zobj->properties, Z_STR_P(property_name));
845 if (EXPECTED(zobj->properties == NULL)) {
859 zend_hash_add_new(zobj->properties, Z_STR_P(property_name), value);
1467 } else if (EXPECTED(zobj->properties != NULL)) {
1468 retval = zend_hash_find(zobj->properties, Z_STR_P(prop_ptr));
H A Dzend_objects.c34 object->properties = NULL;
56 if (object->properties) {
57 zend_array_destroy(object->properties);
58 FREE_HASHTABLE(object->properties);
152 if (old_object->properties) {
157 if (!new_object->properties) {
158 ALLOC_HASHTABLE(new_object->properties);
159 zend_hash_init(new_object->properties, zend_hash_num_elements(old_object->properties), NULL, ZVAL_PTR_DTOR, 0);
162 ZEND_HASH_FOREACH_KEY_VAL(old_object->properties, num_ke
[all...]
H A Dzend_builtin_functions.c1050 * properties, returned to user */
1061 Returns an array of default properties of the class. */
1084 Returns an array of object properties */
1089 HashTable *properties; local
1107 properties = Z_OBJ_HT_P(obj)->get_properties(obj);
1109 if (properties == NULL) {
1115 array_init_size(return_value, zend_hash_num_elements(properties));
1117 ZEND_HASH_FOREACH_STR_KEY_VAL_IND(properties, key, value) {
H A Dzend_API.c1112 ZEND_API void zend_merge_properties(zval *obj, HashTable *properties) /* {{{ */ argument
1120 ZEND_HASH_FOREACH_STR_KEY_VAL(properties, key, value) {
1238 object->properties = NULL;
1243 ZEND_API void object_properties_init_ex(zend_object *object, HashTable *properties) /* {{{ */ argument
1245 object->properties = properties;
1251 ZEND_HASH_FOREACH_STR_KEY_VAL(properties, key, prop) {
1265 ZEND_API void object_properties_load(zend_object *object, HashTable *properties) /* {{{ */ argument
1271 ZEND_HASH_FOREACH_STR_KEY_VAL(properties, key, prop) {
1280 if (object->properties) {
1313 object_properties_init_ex(Z_OBJ_P(arg), properties); local
[all...]
H A Dzend_API.h362 #define object_and_properties_init(arg, ce, properties) _object_and_properties_init((arg), (ce), (properties) ZEND_FILE_LINE_CC)
366 ZEND_API int _object_and_properties_init(zval *arg, zend_class_entry *ce, HashTable *properties ZEND_FILE_LINE_DC);
368 ZEND_API void object_properties_init_ex(zend_object *object, HashTable *properties);
369 ZEND_API void object_properties_load(zend_object *object, HashTable *properties);
371 ZEND_API void zend_merge_properties(zval *obj, HashTable *properties);
H A Dzend_object_handlers.c57 if we have __get and property that is not part of the properties array is
60 if we have __set and property that is not part of the properties array is
65 recursion and enable accessors to change properties array.
73 if (!zobj->properties) {
77 ALLOC_HASHTABLE(zobj->properties);
78 zend_hash_init(zobj->properties, ce->default_properties_count, NULL, ZVAL_PTR_DTOR, 0);
87 zend_hash_add_new(zobj->properties, prop_info->name, &zv);
100 zend_hash_add(zobj->properties, prop_info->name, &zv);
113 if (!zobj->properties) {
116 return zobj->properties;
[all...]
/PHP_TRUNK/ext/dom/
H A Dcharacterdata.c217 if ((nodep->content == (xmlChar *) &(nodep->properties)) ||
224 nodep->properties = NULL;
H A Ddocumentfragment.c94 prop = tree->properties;
H A Ddom_iterators.c288 curnode = (xmlNodePtr) nodep->properties;
H A Dnamednodemap.c104 curnode = nodep->properties;
234 curnode = (xmlNodePtr)nodep->properties;
H A Dnode.c1389 if (n->properties != NULL) {
1390 node->properties = xmlCopyPropList(node, n->properties);
1465 if (nodep->properties) {
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c160 if (object->properties) {
161 object->properties = NULL;
241 php_libxml_node_free_list((xmlNodePtr) node->properties);
256 php_libxml_node_free_list((xmlNodePtr) node->properties);
1286 php_libxml_node_free_list((xmlNodePtr) node->properties);
H A Dphp_libxml.h80 HashTable *properties; member in struct:_php_libxml_node_object
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c108 if (xml->properties) { \
109 null = get_attribute(xml->properties, "nil"); \
124 if (xml->properties) { \
125 null = get_attribute(xml->properties, "nil"); \
294 xmlAttrPtr attr = node_ptr->properties;
526 xmlAttrPtr type_attr = get_attribute_ex(data->properties,"type", XSI_NAMESPACE);
565 xmlAttrPtr type_attr = get_attribute_ex(data->properties,"type", XSI_NAMESPACE);
1537 xmlAttrPtr val = get_attribute(data->properties, attr->name);
2487 (attr = get_attribute(data->properties,"arrayType")) &&
2507 } else if ((attr = get_attribute(data->properties,"itemTyp
[all...]
H A Dphp_packet_soap.c82 attr = env->properties;
130 attr = body->properties;
158 attr = head->properties;
H A Dphp_schema.c117 new_tns = get_attribute(schema->properties, "targetNamespace");
128 new_tns = get_attribute(schema->properties, "targetNamespace");
181 tns = get_attribute(schema->properties, "targetNamespace");
192 location = get_attribute(trav->properties, "schemaLocation");
212 location = get_attribute(trav->properties, "schemaLocation");
234 ns = get_attribute(trav->properties, "namespace");
235 location = get_attribute(trav->properties, "schemaLocation");
310 ns = get_attribute(simpleType->properties, "targetNamespace");
315 name = get_attribute(simpleType->properties, "name");
416 itemType = get_attribute(listType->properties, "itemTyp
[all...]
H A Dphp_sdl.c216 if ((attr = get_attribute_ex(node->properties, "required", WSDL_NAMESPACE)) != NULL &&
358 targetNamespace = get_attribute(definitions->properties, "targetNamespace");
384 xmlAttrPtr tmp = get_attribute(trav->properties, "location");
400 xmlAttrPtr name = get_attribute(trav->properties, "name");
410 xmlAttrPtr name = get_attribute(trav->properties, "name");
420 xmlAttrPtr name = get_attribute(trav->properties, "name");
430 xmlAttrPtr name = get_attribute(trav->properties, "name");
452 tmp = get_attribute(header->properties, "message");
467 tmp = get_attribute(header->properties, "part");
480 tmp = get_attribute(header->properties, "us
[all...]
H A Dphp_xml.c285 attr = get_attribute_ex(node->properties, attribute, attr_ns);
298 xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns);
/PHP_TRUNK/ext/spl/
H A Dspl_array.c92 if (!intern->std.properties) {
95 return intern->std.properties;
100 if (!intern->std.properties) {
103 return intern->std.properties;
782 php_error_docref(NULL, E_RECOVERABLE_ERROR, "Cannot append properties to objects, use %s::offsetSet() instead", Z_OBJCE_P(object)->name->val);
855 if (!intern->std.properties) {
859 if (HASH_OF(&intern->array) == intern->std.properties) {
860 return intern->std.properties;
864 ZEND_INIT_SYMTABLE_EX(intern->debug_info, zend_hash_num_elements(intern->std.properties) + 1, 0);
869 zend_hash_copy(intern->debug_info, intern->std.properties, (copy_ctor_func_
[all...]
H A Dspl_heap.c518 if (!intern->std.properties) {
524 ZEND_INIT_SYMTABLE_EX(intern->debug_info, zend_hash_num_elements(intern->std.properties) + 1, 0);
529 zend_hash_copy(intern->debug_info, intern->std.properties, (copy_ctor_func_t) zval_add_ref);
615 zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer ensured.", 0);
640 zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer ensured.", 0);
669 zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer ensured.", 0);
700 zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer ensured.", 0);
742 zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer ensured.", 0);
862 zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer ensured.", 0);
932 zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties ar
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c815 if (!obj->std.properties) {
819 zend_hash_str_update(obj->std.properties, "value", sizeof("value") - 1, &temp);
825 if (!obj->std.properties) {
829 zend_hash_str_update(obj->std.properties, "errorBuffer", sizeof("errorBuffer") - 1, &temp);
845 if (!obj->std.properties) {
850 ADD_PROPERTY_STRINGL(obj->std.properties, value, buf.bp, buf.size ? buf.size-1 : 0);
853 ADD_PROPERTY_STRING(obj->std.properties, name, tidyNodeGetName(obj->node));
854 ADD_PROPERTY_LONG(obj->std.properties, type, tidyNodeGetType(obj->node));
855 ADD_PROPERTY_LONG(obj->std.properties, line, tidyNodeLine(obj->node));
856 ADD_PROPERTY_LONG(obj->std.properties, colum
[all...]

Completed in 51 milliseconds

12