obj 459 Zend/zend_API.c zval obj; obj 460 Zend/zend_API.c if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, IS_STRING) == SUCCESS) { obj 462 Zend/zend_API.c ZVAL_COPY_VALUE(arg, &obj); obj 1069 Zend/zend_API.c ZEND_API void zend_merge_properties(zval *obj, HashTable *properties) /* {{{ */ obj 1071 Zend/zend_API.c const zend_object_handlers *obj_ht = Z_OBJ_HT_P(obj); obj 1076 Zend/zend_API.c EG(scope) = Z_OBJCE_P(obj); obj 1082 Zend/zend_API.c obj_ht->write_property(obj, &member, value, NULL); obj 3250 Zend/zend_API.c zval *obj = NULL; obj 3254 Zend/zend_API.c obj = zend_hash_index_find(Z_ARRVAL_P(callable), 0); obj 3259 Zend/zend_API.c if (obj == NULL || method == NULL) { obj 3268 Zend/zend_API.c ZVAL_DEREF(obj); obj 3269 Zend/zend_API.c if (Z_TYPE_P(obj) == IS_STRING) { obj 3274 Zend/zend_API.c *callable_name = zend_string_alloc(Z_STRLEN_P(obj) + Z_STRLEN_P(method) + sizeof("::") - 1, 0); obj 3276 Zend/zend_API.c memcpy(ptr, Z_STRVAL_P(obj), Z_STRLEN_P(obj)); obj 3277 Zend/zend_API.c ptr += Z_STRLEN_P(obj); obj 3287 Zend/zend_API.c if (!zend_is_callable_check_class(Z_STR_P(obj), fcc, &strict_class, error)) { obj 3291 Zend/zend_API.c } else if (Z_TYPE_P(obj) == IS_OBJECT) { obj 3293 Zend/zend_API.c !IS_OBJ_VALID(EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(obj)])) { obj 3297 Zend/zend_API.c fcc->calling_scope = Z_OBJCE_P(obj); /* TBFixed: what if it's overloaded? */ obj 3299 Zend/zend_API.c fcc->object = Z_OBJ_P(obj); obj 3336 Zend/zend_API.c if (!obj || (!Z_ISREF_P(obj)? obj 3337 Zend/zend_API.c (Z_TYPE_P(obj) != IS_STRING && Z_TYPE_P(obj) != IS_OBJECT) : obj 3338 Zend/zend_API.c (Z_TYPE_P(Z_REFVAL_P(obj)) != IS_STRING && Z_TYPE_P(Z_REFVAL_P(obj)) != IS_OBJECT))) { obj 388 Zend/zend_API.h ZEND_API void zend_merge_properties(zval *obj, HashTable *properties); obj 158 Zend/zend_builtin_functions.c ZEND_ARG_INFO(0, obj) obj 931 Zend/zend_builtin_functions.c zval *obj = NULL; obj 933 Zend/zend_builtin_functions.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "|o!", &obj) == FAILURE) { obj 937 Zend/zend_builtin_functions.c if (!obj) { obj 946 Zend/zend_builtin_functions.c RETURN_STR_COPY(Z_OBJCE_P(obj)->name); obj 1006 Zend/zend_builtin_functions.c zval *obj; obj 1014 Zend/zend_builtin_functions.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "zS|b", &obj, &class_name, &allow_string) == FAILURE) { obj 1019 Zend/zend_builtin_functions.c Z_PARAM_ZVAL(obj) obj 1032 Zend/zend_builtin_functions.c if (allow_string && Z_TYPE_P(obj) == IS_STRING) { obj 1033 Zend/zend_builtin_functions.c instance_ce = zend_lookup_class(Z_STR_P(obj)); obj 1037 Zend/zend_builtin_functions.c } else if (Z_TYPE_P(obj) == IS_OBJECT) { obj 1038 Zend/zend_builtin_functions.c instance_ce = Z_OBJCE_P(obj); obj 1158 Zend/zend_builtin_functions.c zval *obj; obj 1165 Zend/zend_builtin_functions.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "o", &obj) == FAILURE) { obj 1170 Zend/zend_builtin_functions.c Z_PARAM_OBJECT(obj) obj 1174 Zend/zend_builtin_functions.c if (Z_OBJ_HT_P(obj)->get_properties == NULL) { obj 1178 Zend/zend_builtin_functions.c properties = Z_OBJ_HT_P(obj)->get_properties(obj); obj 1184 Zend/zend_builtin_functions.c zobj = Z_OBJ_P(obj); obj 284 Zend/zend_closures.c ZEND_API const zend_function *zend_get_closure_method_def(zval *obj) /* {{{ */ obj 286 Zend/zend_closures.c zend_closure *closure = (zend_closure *)Z_OBJ_P(obj); obj 291 Zend/zend_closures.c ZEND_API zval* zend_get_closure_this_ptr(zval *obj) /* {{{ */ obj 293 Zend/zend_closures.c zend_closure *closure = (zend_closure *)Z_OBJ_P(obj); obj 392 Zend/zend_closures.c int zend_closure_get_closure(zval *obj, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zend_object **obj_ptr) /* {{{ */ obj 396 Zend/zend_closures.c if (Z_TYPE_P(obj) != IS_OBJECT) { obj 400 Zend/zend_closures.c closure = (zend_closure *)Z_OBJ_P(obj); obj 473 Zend/zend_closures.c static HashTable *zend_closure_get_gc(zval *obj, zval **table, int *n) /* {{{ */ obj 475 Zend/zend_closures.c zend_closure *closure = (zend_closure *)Z_OBJ_P(obj); obj 33 Zend/zend_closures.h ZEND_API zend_function *zend_get_closure_invoke_method(zend_object *obj); obj 34 Zend/zend_closures.h ZEND_API const zend_function *zend_get_closure_method_def(zval *obj); obj 35 Zend/zend_closures.h ZEND_API zval* zend_get_closure_this_ptr(zval *obj); obj 290 Zend/zend_compile.h #define OBJ_PROP(obj, offset) \ obj 291 Zend/zend_compile.h ((zval*)((char*)(obj) + offset)) obj 292 Zend/zend_compile.h #define OBJ_PROP_NUM(obj, num) \ obj 293 Zend/zend_compile.h (&(obj)->properties_table[(num)]) obj 198 Zend/zend_exceptions.c zval obj; obj 204 Zend/zend_exceptions.c Z_OBJ(obj) = object = zend_objects_new(class_type); obj 205 Zend/zend_exceptions.c Z_OBJ_HT(obj) = &default_exception_handlers; obj 216 Zend/zend_exceptions.c base_ce = i_get_exception_base(&obj); obj 219 Zend/zend_exceptions.c zend_update_property_string(base_ce, &obj, "file", sizeof("file")-1, zend_get_executed_filename()); obj 220 Zend/zend_exceptions.c zend_update_property_long(base_ce, &obj, "line", sizeof("line")-1, zend_get_executed_lineno()); obj 222 Zend/zend_exceptions.c zend_update_property_str(base_ce, &obj, "file", sizeof("file")-1, filename); obj 223 Zend/zend_exceptions.c zend_update_property_long(base_ce, &obj, "line", sizeof("line")-1, zend_get_compiled_lineno()); obj 225 Zend/zend_exceptions.c zend_update_property(base_ce, &obj, "trace", sizeof("trace")-1, &trace); obj 951 Zend/zend_exceptions.c zend_object *obj; obj 956 Zend/zend_exceptions.c obj = zend_throw_exception(exception_ce, message, code); obj 958 Zend/zend_exceptions.c return obj; obj 965 Zend/zend_exceptions.c zend_object *obj = zend_throw_exception(exception_ce, message, code); obj 966 Zend/zend_exceptions.c ZVAL_OBJ(&ex, obj); obj 968 Zend/zend_exceptions.c return obj; obj 1101 Zend/zend_execute.c zend_object *obj; obj 1106 Zend/zend_execute.c obj = Z_OBJ_P(object); obj 1108 Zend/zend_execute.c if (GC_REFCOUNT(obj) == 1) { obj 1114 Zend/zend_execute.c OBJ_RELEASE(obj); obj 1357 Zend/zend_execute.c zval rv, obj; obj 1361 Zend/zend_execute.c ZVAL_OBJ(&obj, Z_OBJ_P(object)); obj 1362 Zend/zend_execute.c Z_ADDREF(obj); obj 1363 Zend/zend_execute.c z = Z_OBJ_HT(obj)->read_property(&obj, property, BP_VAR_R, cache_slot, &rv); obj 1365 Zend/zend_execute.c OBJ_RELEASE(Z_OBJ(obj)); obj 1389 Zend/zend_execute.c Z_OBJ_HT(obj)->write_property(&obj, property, &z_copy, cache_slot); obj 1390 Zend/zend_execute.c OBJ_RELEASE(Z_OBJ(obj)); obj 1404 Zend/zend_execute.c zval *z, obj; obj 1406 Zend/zend_execute.c ZVAL_OBJ(&obj, Z_OBJ_P(object)); obj 1407 Zend/zend_execute.c Z_ADDREF(obj); obj 1408 Zend/zend_execute.c z = Z_OBJ_HT(obj)->read_property(&obj, property, BP_VAR_R, cache_slot, &rv); obj 1410 Zend/zend_execute.c OBJ_RELEASE(Z_OBJ(obj)); obj 1433 Zend/zend_execute.c Z_OBJ_HT(obj)->write_property(&obj, property, z, cache_slot); obj 1434 Zend/zend_execute.c OBJ_RELEASE(Z_OBJ(obj)); obj 1447 Zend/zend_execute.c zval rv, obj; obj 1450 Zend/zend_execute.c ZVAL_OBJ(&obj, Z_OBJ_P(object)); obj 1451 Zend/zend_execute.c Z_ADDREF(obj); obj 1452 Zend/zend_execute.c if (EXPECTED(Z_OBJ_HT(obj)->read_property)) { obj 1453 Zend/zend_execute.c z = Z_OBJ_HT(obj)->read_property(&obj, property, BP_VAR_R, cache_slot, &rv); obj 1455 Zend/zend_execute.c OBJ_RELEASE(Z_OBJ(obj)); obj 1471 Zend/zend_execute.c Z_OBJ_HT(obj)->write_property(&obj, property, z, cache_slot); obj 1482 Zend/zend_execute.c OBJ_RELEASE(Z_OBJ(obj)); obj 97 Zend/zend_gc.c zend_object *obj = (zend_object *) ref; obj 101 Zend/zend_gc.c obj->ce->name->val, obj->handle); obj 313 Zend/zend_gc.c zend_object *obj = (zend_object*)ref; obj 315 Zend/zend_gc.c if (EXPECTED(IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle]) && obj 316 Zend/zend_gc.c (get_gc = obj->handlers->get_gc) != NULL)) { obj 321 Zend/zend_gc.c ZVAL_OBJ(&tmp, obj); obj 423 Zend/zend_gc.c zend_object *obj = (zend_object*)ref; obj 425 Zend/zend_gc.c if (EXPECTED(IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle]) && obj 426 Zend/zend_gc.c (get_gc = obj->handlers->get_gc) != NULL)) { obj 431 Zend/zend_gc.c ZVAL_OBJ(&tmp, obj); obj 551 Zend/zend_gc.c zend_object *obj = (zend_object*)ref; obj 553 Zend/zend_gc.c if (EXPECTED(IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle]) && obj 554 Zend/zend_gc.c (get_gc = obj->handlers->get_gc) != NULL)) { obj 559 Zend/zend_gc.c ZVAL_OBJ(&tmp, obj); obj 716 Zend/zend_gc.c zend_object *obj = (zend_object*)ref; obj 718 Zend/zend_gc.c if (EXPECTED(IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle]) && obj 719 Zend/zend_gc.c (get_gc = obj->handlers->get_gc) != NULL)) { obj 732 Zend/zend_gc.c if (obj->handlers->dtor_obj && obj 733 Zend/zend_gc.c ((obj->handlers->dtor_obj != zend_objects_destroy_object) || obj 734 Zend/zend_gc.c (obj->ce->destructor != NULL))) { obj 737 Zend/zend_gc.c ZVAL_OBJ(&tmp, obj); obj 903 Zend/zend_gc.c zend_object *obj = (zend_object*)ref; obj 905 Zend/zend_gc.c if (EXPECTED(IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle]) && obj 906 Zend/zend_gc.c (get_gc = obj->handlers->get_gc) != NULL)) { obj 911 Zend/zend_gc.c ZVAL_OBJ(&tmp, obj); obj 1059 Zend/zend_gc.c zend_object *obj = (zend_object*)p; obj 1061 Zend/zend_gc.c if (IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle]) && obj 1062 Zend/zend_gc.c !(GC_FLAGS(obj) & IS_OBJ_DESTRUCTOR_CALLED)) { obj 1063 Zend/zend_gc.c GC_TRACE_REF(obj, "calling destructor"); obj 1064 Zend/zend_gc.c GC_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; obj 1065 Zend/zend_gc.c if (obj->handlers->dtor_obj) { obj 1066 Zend/zend_gc.c GC_REFCOUNT(obj)++; obj 1067 Zend/zend_gc.c obj->handlers->dtor_obj(obj); obj 1068 Zend/zend_gc.c GC_REFCOUNT(obj)--; obj 1096 Zend/zend_gc.c zend_object *obj = (zend_object*)p; obj 1099 Zend/zend_gc.c IS_OBJ_VALID(EG(objects_store).object_buckets[obj->handle])) { obj 1100 Zend/zend_gc.c GC_TYPE(obj) = IS_NULL; obj 1101 Zend/zend_gc.c if (!(GC_FLAGS(obj) & IS_OBJ_FREE_CALLED)) { obj 1102 Zend/zend_gc.c GC_FLAGS(obj) |= IS_OBJ_FREE_CALLED; obj 1103 Zend/zend_gc.c if (obj->handlers->free_obj) { obj 1104 Zend/zend_gc.c GC_REFCOUNT(obj)++; obj 1105 Zend/zend_gc.c obj->handlers->free_obj(obj); obj 1106 Zend/zend_gc.c GC_REFCOUNT(obj)--; obj 1109 Zend/zend_gc.c SET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[obj->handle], EG(objects_store).free_list_head); obj 1110 Zend/zend_gc.c EG(objects_store).free_list_head = obj->handle; obj 1111 Zend/zend_gc.c p = current->ref = (zend_refcounted*)(((char*)obj) - obj->handlers->offset); obj 43 Zend/zend_interfaces.h #define zend_call_method_with_0_params(obj, obj_ce, fn_proxy, function_name, retval) \ obj 44 Zend/zend_interfaces.h zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL) obj 46 Zend/zend_interfaces.h #define zend_call_method_with_1_params(obj, obj_ce, fn_proxy, function_name, retval, arg1) \ obj 47 Zend/zend_interfaces.h zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, NULL) obj 49 Zend/zend_interfaces.h #define zend_call_method_with_2_params(obj, obj_ce, fn_proxy, function_name, retval, arg1, arg2) \ obj 50 Zend/zend_interfaces.h zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 2, arg1, arg2) obj 1589 Zend/zend_object_handlers.c int zend_std_get_closure(zval *obj, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zend_object **obj_ptr) /* {{{ */ obj 1594 Zend/zend_object_handlers.c if (Z_TYPE_P(obj) != IS_OBJECT) { obj 1598 Zend/zend_object_handlers.c ce = Z_OBJCE_P(obj); obj 1612 Zend/zend_object_handlers.c *obj_ptr = Z_OBJ_P(obj); obj 118 Zend/zend_object_handlers.h typedef int (*zend_object_get_closure_t)(zval *obj, zend_class_entry **ce_ptr, union _zend_function **fptr_ptr, zend_object **obj_ptr); obj 88 Zend/zend_objects.c zval obj; obj 132 Zend/zend_objects.c ZVAL_OBJ(&obj, object); obj 133 Zend/zend_objects.c Z_ADDREF(obj); obj 148 Zend/zend_objects.c zend_call_method_with_0_params(&obj, object->ce, &destructor, ZEND_DESTRUCTOR_FUNC_NAME, NULL); obj 156 Zend/zend_objects.c zval_ptr_dtor(&obj); obj 51 Zend/zend_objects_API.c zend_object *obj = *obj_ptr; obj 53 Zend/zend_objects_API.c if (IS_OBJ_VALID(obj)) { obj 54 Zend/zend_objects_API.c if (!(GC_FLAGS(obj) & IS_OBJ_DESTRUCTOR_CALLED)) { obj 55 Zend/zend_objects_API.c GC_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; obj 56 Zend/zend_objects_API.c GC_REFCOUNT(obj)++; obj 57 Zend/zend_objects_API.c obj->handlers->dtor_obj(obj); obj 58 Zend/zend_objects_API.c GC_REFCOUNT(obj)--; obj 73 Zend/zend_objects_API.c zend_object *obj = *obj_ptr; obj 75 Zend/zend_objects_API.c if (IS_OBJ_VALID(obj)) { obj 76 Zend/zend_objects_API.c GC_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; obj 85 Zend/zend_objects_API.c zend_object **obj_ptr, **end, *obj; obj 97 Zend/zend_objects_API.c obj = *obj_ptr; obj 98 Zend/zend_objects_API.c if (IS_OBJ_VALID(obj)) { obj 99 Zend/zend_objects_API.c if (!(GC_FLAGS(obj) & IS_OBJ_FREE_CALLED)) { obj 100 Zend/zend_objects_API.c GC_FLAGS(obj) |= IS_OBJ_FREE_CALLED; obj 101 Zend/zend_objects_API.c if (obj->handlers->free_obj) { obj 102 Zend/zend_objects_API.c GC_REFCOUNT(obj)++; obj 103 Zend/zend_objects_API.c obj->handlers->free_obj(obj); obj 104 Zend/zend_objects_API.c GC_REFCOUNT(obj)--; obj 218 Zend/zend_objects_API.c ZEND_API void zend_object_store_ctor_failed(zend_object *obj) obj 220 Zend/zend_objects_API.c GC_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; obj 41 Zend/zend_objects_API.h #define OBJ_RELEASE(obj) zend_object_release(obj) obj 75 Zend/zend_objects_API.h static zend_always_inline void zend_object_release(zend_object *obj) obj 77 Zend/zend_objects_API.h if (--GC_REFCOUNT(obj) == 0) { obj 78 Zend/zend_objects_API.h zend_objects_store_del(obj); obj 79 Zend/zend_objects_API.h } else if (UNEXPECTED(!GC_INFO(obj))) { obj 80 Zend/zend_objects_API.h gc_possible_root((zend_refcounted*)obj); obj 107 Zend/zend_types.h zend_object *obj; obj 530 Zend/zend_types.h #define Z_OBJ(zval) (zval).value.obj obj 55 Zend/zend_variables.c zend_object *obj = (zend_object*)p; obj 57 Zend/zend_variables.c OBJ_RELEASE(obj); obj 107 Zend/zend_variables.c zend_object *obj = (zend_object*)p; obj 109 Zend/zend_variables.c zend_objects_store_del(obj); obj 2900 Zend/zend_vm_def.h zend_object *obj; obj 2961 Zend/zend_vm_def.h obj = Z_OBJ_P(object); obj 2962 Zend/zend_vm_def.h called_scope = obj->ce; obj 2966 Zend/zend_vm_def.h zend_object *orig_obj = obj; obj 2968 Zend/zend_vm_def.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 2976 Zend/zend_vm_def.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), ((OP2_TYPE == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 2979 Zend/zend_vm_def.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 2988 Zend/zend_vm_def.h EXPECTED(obj == orig_obj)) { obj 2995 Zend/zend_vm_def.h obj = NULL; obj 2999 Zend/zend_vm_def.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 3003 Zend/zend_vm_def.h fbc, opline->extended_value, called_scope, obj); obj 3290 Zend/zend_vm_def.h zval *obj; obj 3292 Zend/zend_vm_def.h obj = zend_hash_index_find(Z_ARRVAL_P(function_name), 0); obj 3295 Zend/zend_vm_def.h if (!obj || !method) { obj 3301 Zend/zend_vm_def.h ZVAL_DEREF(obj); obj 3302 Zend/zend_vm_def.h if (Z_TYPE_P(obj) != IS_STRING && Z_TYPE_P(obj) != IS_OBJECT) { obj 3315 Zend/zend_vm_def.h if (Z_TYPE_P(obj) == IS_STRING) { obj 3317 Zend/zend_vm_def.h called_scope = zend_fetch_class_by_name(Z_STR_P(obj), NULL, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); obj 3352 Zend/zend_vm_def.h called_scope = Z_OBJCE_P(obj); obj 3353 Zend/zend_vm_def.h object = Z_OBJ_P(obj); obj 3355 Zend/zend_vm_def.h fbc = Z_OBJ_HT_P(obj)->get_method(&object, Z_STR_P(method), NULL); obj 4969 Zend/zend_vm_def.h zval *obj; obj 4975 Zend/zend_vm_def.h obj = GET_OP1_OBJ_ZVAL_PTR_UNDEF(BP_VAR_R); obj 4977 Zend/zend_vm_def.h if (OP1_TYPE == IS_UNUSED && UNEXPECTED(Z_OBJ_P(obj) == NULL)) { obj 4984 Zend/zend_vm_def.h (OP1_TYPE != IS_UNUSED && UNEXPECTED(Z_TYPE_P(obj) != IS_OBJECT))) { obj 4985 Zend/zend_vm_def.h if ((OP1_TYPE & (IS_VAR|IS_CV)) && Z_ISREF_P(obj)) { obj 4986 Zend/zend_vm_def.h obj = Z_REFVAL_P(obj); obj 4987 Zend/zend_vm_def.h if (EXPECTED(Z_TYPE_P(obj) == IS_OBJECT)) { obj 4991 Zend/zend_vm_def.h if (OP1_TYPE == IS_CV && UNEXPECTED(Z_TYPE_P(obj) == IS_UNDEF)) { obj 4992 Zend/zend_vm_def.h GET_OP1_UNDEF_CV(obj, BP_VAR_R); obj 5003 Zend/zend_vm_def.h ce = Z_OBJCE_P(obj); obj 5005 Zend/zend_vm_def.h clone_call = Z_OBJ_HT_P(obj)->clone_obj; obj 5037 Zend/zend_vm_def.h ZVAL_OBJ(EX_VAR(opline->result.var), clone_call(obj)); obj 2036 Zend/zend_vm_execute.h zval *obj; obj 2038 Zend/zend_vm_execute.h obj = zend_hash_index_find(Z_ARRVAL_P(function_name), 0); obj 2041 Zend/zend_vm_execute.h if (!obj || !method) { obj 2047 Zend/zend_vm_execute.h ZVAL_DEREF(obj); obj 2048 Zend/zend_vm_execute.h if (Z_TYPE_P(obj) != IS_STRING && Z_TYPE_P(obj) != IS_OBJECT) { obj 2061 Zend/zend_vm_execute.h if (Z_TYPE_P(obj) == IS_STRING) { obj 2063 Zend/zend_vm_execute.h called_scope = zend_fetch_class_by_name(Z_STR_P(obj), NULL, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); obj 2098 Zend/zend_vm_execute.h called_scope = Z_OBJCE_P(obj); obj 2099 Zend/zend_vm_execute.h object = Z_OBJ_P(obj); obj 2101 Zend/zend_vm_execute.h fbc = Z_OBJ_HT_P(obj)->get_method(&object, Z_STR_P(method), NULL); obj 2459 Zend/zend_vm_execute.h zval *obj; obj 2461 Zend/zend_vm_execute.h obj = zend_hash_index_find(Z_ARRVAL_P(function_name), 0); obj 2464 Zend/zend_vm_execute.h if (!obj || !method) { obj 2470 Zend/zend_vm_execute.h ZVAL_DEREF(obj); obj 2471 Zend/zend_vm_execute.h if (Z_TYPE_P(obj) != IS_STRING && Z_TYPE_P(obj) != IS_OBJECT) { obj 2484 Zend/zend_vm_execute.h if (Z_TYPE_P(obj) == IS_STRING) { obj 2486 Zend/zend_vm_execute.h called_scope = zend_fetch_class_by_name(Z_STR_P(obj), NULL, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); obj 2521 Zend/zend_vm_execute.h called_scope = Z_OBJCE_P(obj); obj 2522 Zend/zend_vm_execute.h object = Z_OBJ_P(obj); obj 2524 Zend/zend_vm_execute.h fbc = Z_OBJ_HT_P(obj)->get_method(&object, Z_STR_P(method), NULL); obj 2715 Zend/zend_vm_execute.h zval *obj; obj 2717 Zend/zend_vm_execute.h obj = zend_hash_index_find(Z_ARRVAL_P(function_name), 0); obj 2720 Zend/zend_vm_execute.h if (!obj || !method) { obj 2726 Zend/zend_vm_execute.h ZVAL_DEREF(obj); obj 2727 Zend/zend_vm_execute.h if (Z_TYPE_P(obj) != IS_STRING && Z_TYPE_P(obj) != IS_OBJECT) { obj 2740 Zend/zend_vm_execute.h if (Z_TYPE_P(obj) == IS_STRING) { obj 2742 Zend/zend_vm_execute.h called_scope = zend_fetch_class_by_name(Z_STR_P(obj), NULL, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); obj 2777 Zend/zend_vm_execute.h called_scope = Z_OBJCE_P(obj); obj 2778 Zend/zend_vm_execute.h object = Z_OBJ_P(obj); obj 2780 Zend/zend_vm_execute.h fbc = Z_OBJ_HT_P(obj)->get_method(&object, Z_STR_P(method), NULL); obj 3399 Zend/zend_vm_execute.h zval *obj; obj 3405 Zend/zend_vm_execute.h obj = EX_CONSTANT(opline->op1); obj 3407 Zend/zend_vm_execute.h if (IS_CONST == IS_UNUSED && UNEXPECTED(Z_OBJ_P(obj) == NULL)) { obj 3414 Zend/zend_vm_execute.h (IS_CONST != IS_UNUSED && UNEXPECTED(Z_TYPE_P(obj) != IS_OBJECT))) { obj 3415 Zend/zend_vm_execute.h if ((IS_CONST & (IS_VAR|IS_CV)) && Z_ISREF_P(obj)) { obj 3416 Zend/zend_vm_execute.h obj = Z_REFVAL_P(obj); obj 3417 Zend/zend_vm_execute.h if (EXPECTED(Z_TYPE_P(obj) == IS_OBJECT)) { obj 3421 Zend/zend_vm_execute.h if (IS_CONST == IS_CV && UNEXPECTED(Z_TYPE_P(obj) == IS_UNDEF)) { obj 3422 Zend/zend_vm_execute.h GET_OP1_UNDEF_CV(obj, BP_VAR_R); obj 3433 Zend/zend_vm_execute.h ce = Z_OBJCE_P(obj); obj 3435 Zend/zend_vm_execute.h clone_call = Z_OBJ_HT_P(obj)->clone_obj; obj 3467 Zend/zend_vm_execute.h ZVAL_OBJ(EX_VAR(opline->result.var), clone_call(obj)); obj 5496 Zend/zend_vm_execute.h zend_object *obj; obj 5557 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 5558 Zend/zend_vm_execute.h called_scope = obj->ce; obj 5562 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 5564 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 5572 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), ((IS_CONST == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 5575 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 5584 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 5591 Zend/zend_vm_execute.h obj = NULL; obj 5595 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 5599 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 9242 Zend/zend_vm_execute.h zend_object *obj; obj 9303 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 9304 Zend/zend_vm_execute.h called_scope = obj->ce; obj 9308 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 9310 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 9318 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), ((IS_CV == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 9321 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 9330 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 9337 Zend/zend_vm_execute.h obj = NULL; obj 9341 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 9345 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 11064 Zend/zend_vm_execute.h zend_object *obj; obj 11125 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 11126 Zend/zend_vm_execute.h called_scope = obj->ce; obj 11130 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 11132 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 11140 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), (((IS_TMP_VAR|IS_VAR) == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 11143 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 11152 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 11159 Zend/zend_vm_execute.h obj = NULL; obj 11163 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 11167 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 22786 Zend/zend_vm_execute.h zval *obj; obj 22792 Zend/zend_vm_execute.h obj = _get_obj_zval_ptr_unused(execute_data); obj 22794 Zend/zend_vm_execute.h if (IS_UNUSED == IS_UNUSED && UNEXPECTED(Z_OBJ_P(obj) == NULL)) { obj 22801 Zend/zend_vm_execute.h (IS_UNUSED != IS_UNUSED && UNEXPECTED(Z_TYPE_P(obj) != IS_OBJECT))) { obj 22802 Zend/zend_vm_execute.h if ((IS_UNUSED & (IS_VAR|IS_CV)) && Z_ISREF_P(obj)) { obj 22803 Zend/zend_vm_execute.h obj = Z_REFVAL_P(obj); obj 22804 Zend/zend_vm_execute.h if (EXPECTED(Z_TYPE_P(obj) == IS_OBJECT)) { obj 22808 Zend/zend_vm_execute.h if (IS_UNUSED == IS_CV && UNEXPECTED(Z_TYPE_P(obj) == IS_UNDEF)) { obj 22809 Zend/zend_vm_execute.h GET_OP1_UNDEF_CV(obj, BP_VAR_R); obj 22820 Zend/zend_vm_execute.h ce = Z_OBJCE_P(obj); obj 22822 Zend/zend_vm_execute.h clone_call = Z_OBJ_HT_P(obj)->clone_obj; obj 22854 Zend/zend_vm_execute.h ZVAL_OBJ(EX_VAR(opline->result.var), clone_call(obj)); obj 23772 Zend/zend_vm_execute.h zend_object *obj; obj 23833 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 23834 Zend/zend_vm_execute.h called_scope = obj->ce; obj 23838 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 23840 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 23848 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), ((IS_CONST == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 23851 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 23860 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 23867 Zend/zend_vm_execute.h obj = NULL; obj 23871 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 23875 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 26187 Zend/zend_vm_execute.h zend_object *obj; obj 26248 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 26249 Zend/zend_vm_execute.h called_scope = obj->ce; obj 26253 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 26255 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 26263 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), ((IS_CV == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 26266 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 26275 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 26282 Zend/zend_vm_execute.h obj = NULL; obj 26286 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 26290 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 27679 Zend/zend_vm_execute.h zend_object *obj; obj 27740 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 27741 Zend/zend_vm_execute.h called_scope = obj->ce; obj 27745 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 27747 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 27755 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), (((IS_TMP_VAR|IS_VAR) == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 27758 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 27767 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 27774 Zend/zend_vm_execute.h obj = NULL; obj 27778 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 27782 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 28970 Zend/zend_vm_execute.h zval *obj; obj 28976 Zend/zend_vm_execute.h obj = _get_zval_ptr_cv_undef(execute_data, opline->op1.var); obj 28978 Zend/zend_vm_execute.h if (IS_CV == IS_UNUSED && UNEXPECTED(Z_OBJ_P(obj) == NULL)) { obj 28985 Zend/zend_vm_execute.h (IS_CV != IS_UNUSED && UNEXPECTED(Z_TYPE_P(obj) != IS_OBJECT))) { obj 28986 Zend/zend_vm_execute.h if ((IS_CV & (IS_VAR|IS_CV)) && Z_ISREF_P(obj)) { obj 28987 Zend/zend_vm_execute.h obj = Z_REFVAL_P(obj); obj 28988 Zend/zend_vm_execute.h if (EXPECTED(Z_TYPE_P(obj) == IS_OBJECT)) { obj 28992 Zend/zend_vm_execute.h if (IS_CV == IS_CV && UNEXPECTED(Z_TYPE_P(obj) == IS_UNDEF)) { obj 28993 Zend/zend_vm_execute.h GET_OP1_UNDEF_CV(obj, BP_VAR_R); obj 29004 Zend/zend_vm_execute.h ce = Z_OBJCE_P(obj); obj 29006 Zend/zend_vm_execute.h clone_call = Z_OBJ_HT_P(obj)->clone_obj; obj 29038 Zend/zend_vm_execute.h ZVAL_OBJ(EX_VAR(opline->result.var), clone_call(obj)); obj 31937 Zend/zend_vm_execute.h zend_object *obj; obj 31998 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 31999 Zend/zend_vm_execute.h called_scope = obj->ce; obj 32003 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 32005 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 32013 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), ((IS_CONST == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 32016 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 32025 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 32032 Zend/zend_vm_execute.h obj = NULL; obj 32036 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 32040 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 37021 Zend/zend_vm_execute.h zend_object *obj; obj 37082 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 37083 Zend/zend_vm_execute.h called_scope = obj->ce; obj 37087 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 37089 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 37097 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), ((IS_CV == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 37100 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 37109 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 37116 Zend/zend_vm_execute.h obj = NULL; obj 37120 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 37124 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 39601 Zend/zend_vm_execute.h zend_object *obj; obj 39662 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 39663 Zend/zend_vm_execute.h called_scope = obj->ce; obj 39667 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 39669 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 39677 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), (((IS_TMP_VAR|IS_VAR) == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 39680 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 39689 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 39696 Zend/zend_vm_execute.h obj = NULL; obj 39700 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 39704 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 40552 Zend/zend_vm_execute.h zval *obj; obj 40558 Zend/zend_vm_execute.h obj = _get_zval_ptr_var(opline->op1.var, execute_data, &free_op1); obj 40560 Zend/zend_vm_execute.h if ((IS_TMP_VAR|IS_VAR) == IS_UNUSED && UNEXPECTED(Z_OBJ_P(obj) == NULL)) { obj 40567 Zend/zend_vm_execute.h ((IS_TMP_VAR|IS_VAR) != IS_UNUSED && UNEXPECTED(Z_TYPE_P(obj) != IS_OBJECT))) { obj 40568 Zend/zend_vm_execute.h if (((IS_TMP_VAR|IS_VAR) & (IS_VAR|IS_CV)) && Z_ISREF_P(obj)) { obj 40569 Zend/zend_vm_execute.h obj = Z_REFVAL_P(obj); obj 40570 Zend/zend_vm_execute.h if (EXPECTED(Z_TYPE_P(obj) == IS_OBJECT)) { obj 40574 Zend/zend_vm_execute.h if ((IS_TMP_VAR|IS_VAR) == IS_CV && UNEXPECTED(Z_TYPE_P(obj) == IS_UNDEF)) { obj 40575 Zend/zend_vm_execute.h GET_OP1_UNDEF_CV(obj, BP_VAR_R); obj 40586 Zend/zend_vm_execute.h ce = Z_OBJCE_P(obj); obj 40588 Zend/zend_vm_execute.h clone_call = Z_OBJ_HT_P(obj)->clone_obj; obj 40620 Zend/zend_vm_execute.h ZVAL_OBJ(EX_VAR(opline->result.var), clone_call(obj)); obj 41836 Zend/zend_vm_execute.h zend_object *obj; obj 41897 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 41898 Zend/zend_vm_execute.h called_scope = obj->ce; obj 41902 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 41904 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 41912 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), ((IS_CONST == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 41915 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 41924 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 41931 Zend/zend_vm_execute.h obj = NULL; obj 41935 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 41939 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 43984 Zend/zend_vm_execute.h zend_object *obj; obj 44045 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 44046 Zend/zend_vm_execute.h called_scope = obj->ce; obj 44050 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 44052 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 44060 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), ((IS_CV == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 44063 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 44072 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 44079 Zend/zend_vm_execute.h obj = NULL; obj 44083 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 44087 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 45130 Zend/zend_vm_execute.h zend_object *obj; obj 45191 Zend/zend_vm_execute.h obj = Z_OBJ_P(object); obj 45192 Zend/zend_vm_execute.h called_scope = obj->ce; obj 45196 Zend/zend_vm_execute.h zend_object *orig_obj = obj; obj 45198 Zend/zend_vm_execute.h if (UNEXPECTED(obj->handlers->get_method == NULL)) { obj 45206 Zend/zend_vm_execute.h fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), (((IS_TMP_VAR|IS_VAR) == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); obj 45209 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); obj 45218 Zend/zend_vm_execute.h EXPECTED(obj == orig_obj)) { obj 45225 Zend/zend_vm_execute.h obj = NULL; obj 45229 Zend/zend_vm_execute.h GC_REFCOUNT(obj)++; /* For $this pointer */ obj 45233 Zend/zend_vm_execute.h fbc, opline->extended_value, called_scope, obj); obj 37 ext/com_dotnet/com_com.c php_com_dotnet_object *obj; obj 57 ext/com_dotnet/com_com.c obj = CDNO_FETCH(object); obj 62 ext/com_dotnet/com_com.c &obj->code_page, &typelib_name, &typelib_name_len) && obj 65 ext/com_dotnet/com_com.c &module_name, &module_name_len, &server_params, &obj->code_page, obj 120 ext/com_dotnet/com_com.c moniker = php_com_string_to_olestring(module_name, module_name_len, obj->code_page); obj 127 ext/com_dotnet/com_com.c info.pwszName = php_com_string_to_olestring(server_name, server_name_len, obj->code_page); obj 130 ext/com_dotnet/com_com.c authid.User = php_com_string_to_olestring(user_name, -1, obj->code_page); obj 183 ext/com_dotnet/com_com.c NULL, &IID_IDispatch, (LPVOID*)&V_DISPATCH(&obj->v)); obj 186 ext/com_dotnet/com_com.c V_VT(&obj->v) = VT_DISPATCH; obj 206 ext/com_dotnet/com_com.c V_DISPATCH(&obj->v) = (IDispatch*)qi.pItf; obj 207 ext/com_dotnet/com_com.c V_VT(&obj->v) = VT_DISPATCH; obj 210 ext/com_dotnet/com_com.c res = CoCreateInstance(&clsid, NULL, CLSCTX_SERVER, &IID_IDispatch, (LPVOID*)&V_DISPATCH(&obj->v)); obj 212 ext/com_dotnet/com_com.c V_VT(&obj->v) = VT_DISPATCH; obj 238 ext/com_dotnet/com_com.c if (FAILED(IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo)) && typelib_name) { obj 242 ext/com_dotnet/com_com.c TL = php_com_load_typelib_via_cache(typelib_name, obj->code_page, &cached); obj 246 ext/com_dotnet/com_com.c php_com_import_typelib(TL, mode, obj->code_page); obj 251 ext/com_dotnet/com_com.c ITypeLib_GetTypeInfo(TL, 0, &obj->typeinfo); obj 254 ext/com_dotnet/com_com.c } else if (obj->typeinfo && COMG(autoreg_on)) { obj 257 ext/com_dotnet/com_com.c if (SUCCEEDED(ITypeInfo_GetContainingTypeLib(obj->typeinfo, &TL, &idx))) { obj 262 ext/com_dotnet/com_com.c typelib_name = php_com_olestring_to_string(name, &typelib_name_len, obj->code_page); obj 265 ext/com_dotnet/com_com.c php_com_import_typelib(TL, mode, obj->code_page); obj 273 ext/com_dotnet/com_com.c php_com_import_typelib(TL, mode, obj->code_page); obj 292 ext/com_dotnet/com_com.c IDispatch *obj = NULL; obj 315 ext/com_dotnet/com_com.c res = IUnknown_QueryInterface(unk, &IID_IDispatch, &obj); obj 319 ext/com_dotnet/com_com.c } else if (obj) { obj 321 ext/com_dotnet/com_com.c php_com_wrap_dispatch(return_value, obj, (int)code_page); obj 326 ext/com_dotnet/com_com.c if (obj) { obj 327 ext/com_dotnet/com_com.c IDispatch_Release(obj); obj 330 ext/com_dotnet/com_com.c IUnknown_Release(obj); obj 338 ext/com_dotnet/com_com.c HRESULT php_com_invoke_helper(php_com_dotnet_object *obj, DISPID id_member, obj 345 ext/com_dotnet/com_com.c hr = IDispatch_Invoke(V_DISPATCH(&obj->v), id_member, obj 355 ext/com_dotnet/com_com.c source = php_com_olestring_to_string(e.bstrSource, &source_len, obj->code_page); obj 359 ext/com_dotnet/com_com.c desc = php_com_olestring_to_string(e.bstrDescription, &desc_len, obj->code_page); obj 416 ext/com_dotnet/com_com.c HRESULT php_com_get_id_of_name(php_com_dotnet_object *obj, char *name, obj 427 ext/com_dotnet/com_com.c if (obj->id_of_name_cache && NULL != (tmp = zend_hash_str_find(obj->id_of_name_cache, name, namelen))) { obj 432 ext/com_dotnet/com_com.c olename = php_com_string_to_olestring(name, namelen, obj->code_page); obj 434 ext/com_dotnet/com_com.c if (obj->typeinfo) { obj 435 ext/com_dotnet/com_com.c hr = ITypeInfo_GetIDsOfNames(obj->typeinfo, &olename, 1, dispid); obj 437 ext/com_dotnet/com_com.c hr = IDispatch_GetIDsOfNames(V_DISPATCH(&obj->v), &IID_NULL, &olename, 1, LOCALE_SYSTEM_DEFAULT, dispid); obj 440 ext/com_dotnet/com_com.c ITypeInfo_Release(obj->typeinfo); obj 441 ext/com_dotnet/com_com.c obj->typeinfo = NULL; obj 445 ext/com_dotnet/com_com.c hr = IDispatch_GetIDsOfNames(V_DISPATCH(&obj->v), &IID_NULL, &olename, 1, LOCALE_SYSTEM_DEFAULT, dispid); obj 453 ext/com_dotnet/com_com.c if (!obj->id_of_name_cache) { obj 454 ext/com_dotnet/com_com.c ALLOC_HASHTABLE(obj->id_of_name_cache); obj 455 ext/com_dotnet/com_com.c zend_hash_init(obj->id_of_name_cache, 2, NULL, NULL, 0); obj 458 ext/com_dotnet/com_com.c zend_hash_str_update(obj->id_of_name_cache, name, namelen, &tmp); obj 465 ext/com_dotnet/com_com.c int php_com_do_invoke_byref(php_com_dotnet_object *obj, zend_internal_function *f, obj 479 ext/com_dotnet/com_com.c hr = php_com_get_id_of_name(obj, f->function_name->val, f->function_name->len, &dispid); obj 510 ext/com_dotnet/com_com.c php_com_variant_from_zval(&byref_vals[j], &args[nargs - i - 1], obj->code_page); obj 525 ext/com_dotnet/com_com.c php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); obj 532 ext/com_dotnet/com_com.c php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); obj 548 ext/com_dotnet/com_com.c hr = php_com_invoke_helper(obj, dispid, flags, &disp_params, v, 0, 0); obj 565 ext/com_dotnet/com_com.c obj->code_page); obj 571 ext/com_dotnet/com_com.c obj->code_page); obj 591 ext/com_dotnet/com_com.c int php_com_do_invoke_by_id(php_com_dotnet_object *obj, DISPID dispid, obj 606 ext/com_dotnet/com_com.c php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); obj 621 ext/com_dotnet/com_com.c hr = php_com_invoke_helper(obj, dispid, flags, &disp_params, v, silent, allow_noarg); obj 638 ext/com_dotnet/com_com.c int php_com_do_invoke(php_com_dotnet_object *obj, char *name, size_t namelen, obj 646 ext/com_dotnet/com_com.c hr = php_com_get_id_of_name(obj, name, namelen, &dispid); obj 657 ext/com_dotnet/com_com.c return php_com_do_invoke_by_id(obj, dispid, flags, v, nargs, args, 0, allow_noarg); obj 694 ext/com_dotnet/com_com.c php_com_dotnet_object *obj; obj 705 ext/com_dotnet/com_com.c obj = CDNO_FETCH(object); obj 720 ext/com_dotnet/com_com.c typeinfo = php_com_locate_typeinfo(typelibname, obj, dispname, 1); obj 727 ext/com_dotnet/com_com.c if (php_com_process_typeinfo(typeinfo, id_to_name, 0, &obj->sink_id, obj->code_page)) { obj 730 ext/com_dotnet/com_com.c obj->sink_dispatch = php_com_wrapper_export_as_sink(sinkobject, &obj->sink_id, id_to_name); obj 733 ext/com_dotnet/com_com.c php_com_object_enable_event_sink(obj, TRUE); obj 757 ext/com_dotnet/com_com.c php_com_dotnet_object *obj = NULL; obj 767 ext/com_dotnet/com_com.c CDNO_FETCH_VERIFY(obj, arg1); obj 773 ext/com_dotnet/com_com.c typeinfo = php_com_locate_typeinfo(typelibname, obj, ifacename, wantsink ? 1 : 0); obj 775 ext/com_dotnet/com_com.c php_com_process_typeinfo(typeinfo, NULL, 1, NULL, obj ? obj->code_page : COMG(code_page)); obj 189 ext/com_dotnet/com_dotnet.c php_com_dotnet_object *obj; obj 243 ext/com_dotnet/com_dotnet.c obj = CDNO_FETCH(object); obj 248 ext/com_dotnet/com_dotnet.c &obj->code_page)) { obj 253 ext/com_dotnet/com_dotnet.c oletype = php_com_string_to_olestring(datatype_name, datatype_name_len, obj->code_page); obj 254 ext/com_dotnet/com_dotnet.c oleassembly = php_com_string_to_olestring(assembly_name, assembly_name_len, obj->code_page); obj 278 ext/com_dotnet/com_dotnet.c hr = IUnknown_QueryInterface(V_UNKNOWN(&unwrapped), &IID_IDispatch, &V_DISPATCH(&obj->v)); obj 281 ext/com_dotnet/com_dotnet.c V_VT(&obj->v) = VT_DISPATCH; obj 284 ext/com_dotnet/com_dotnet.c IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); obj 289 ext/com_dotnet/com_dotnet.c V_DISPATCH(&obj->v) = V_DISPATCH(&unwrapped); obj 290 ext/com_dotnet/com_dotnet.c V_VT(&obj->v) = VT_DISPATCH; obj 293 ext/com_dotnet/com_dotnet.c IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); obj 34 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj; obj 40 ext/com_dotnet/com_handlers.c obj = CDNO_FETCH(object); obj 42 ext/com_dotnet/com_handlers.c if (V_VT(&obj->v) == VT_DISPATCH) { obj 47 ext/com_dotnet/com_handlers.c res = php_com_do_invoke(obj, Z_STRVAL_P(member), Z_STRLEN_P(member), obj 51 ext/com_dotnet/com_handlers.c php_com_zval_from_variant(rv, &v, obj->code_page); obj 65 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj; obj 68 ext/com_dotnet/com_handlers.c obj = CDNO_FETCH(object); obj 70 ext/com_dotnet/com_handlers.c if (V_VT(&obj->v) == VT_DISPATCH) { obj 74 ext/com_dotnet/com_handlers.c if (SUCCESS == php_com_do_invoke(obj, Z_STRVAL_P(member), Z_STRLEN_P(member), obj 85 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj; obj 90 ext/com_dotnet/com_handlers.c obj = CDNO_FETCH(object); obj 92 ext/com_dotnet/com_handlers.c if (V_VT(&obj->v) == VT_DISPATCH) { obj 95 ext/com_dotnet/com_handlers.c if (SUCCESS == php_com_do_invoke_by_id(obj, DISPID_VALUE, obj 97 ext/com_dotnet/com_handlers.c php_com_zval_from_variant(rv, &v, obj->code_page); obj 100 ext/com_dotnet/com_handlers.c } else if (V_ISARRAY(&obj->v)) { obj 103 ext/com_dotnet/com_handlers.c if (SafeArrayGetDim(V_ARRAY(&obj->v)) == 1) { obj 104 ext/com_dotnet/com_handlers.c if (php_com_safearray_get_elem(&obj->v, &v, (LONG)Z_LVAL_P(offset))) { obj 105 ext/com_dotnet/com_handlers.c php_com_wrap_variant(rv, &v, obj->code_page); obj 121 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj; obj 126 ext/com_dotnet/com_handlers.c obj = CDNO_FETCH(object); obj 128 ext/com_dotnet/com_handlers.c if (V_VT(&obj->v) == VT_DISPATCH) { obj 134 ext/com_dotnet/com_handlers.c if (SUCCESS == php_com_do_invoke_by_id(obj, DISPID_VALUE, obj 138 ext/com_dotnet/com_handlers.c } else if (V_ISARRAY(&obj->v)) { obj 142 ext/com_dotnet/com_handlers.c if (SafeArrayGetDim(V_ARRAY(&obj->v)) == 1) { obj 143 ext/com_dotnet/com_handlers.c if (FAILED(SafeArrayGetVartype(V_ARRAY(&obj->v), &vt)) || vt == VT_EMPTY) { obj 144 ext/com_dotnet/com_handlers.c vt = V_VT(&obj->v) & ~VT_ARRAY; obj 151 ext/com_dotnet/com_handlers.c php_com_variant_from_zval(&v, value, obj->code_page); obj 158 ext/com_dotnet/com_handlers.c res = SafeArrayPutElement(V_ARRAY(&obj->v), &indices, &v); obj 160 ext/com_dotnet/com_handlers.c res = SafeArrayPutElement(V_ARRAY(&obj->v), &indices, &v.lVal); obj 194 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj; obj 196 ext/com_dotnet/com_handlers.c obj = CDNO_FETCH(object); obj 198 ext/com_dotnet/com_handlers.c if (V_VT(&obj->v) == VT_DISPATCH) { obj 200 ext/com_dotnet/com_handlers.c if (SUCCEEDED(php_com_get_id_of_name(obj, Z_STRVAL_P(member), Z_STRLEN_P(member), &dispid))) { obj 263 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj = (php_com_dotnet_object*)*object_ptr; obj 265 ext/com_dotnet/com_handlers.c if (V_VT(&obj->v) != VT_DISPATCH) { obj 269 ext/com_dotnet/com_handlers.c if (FAILED(php_com_get_id_of_name(obj, name->val, name->len, &dummy))) { obj 274 ext/com_dotnet/com_handlers.c if (obj->method_cache == NULL || NULL == (fptr = zend_hash_find_ptr(obj->method_cache, name))) { obj 278 ext/com_dotnet/com_handlers.c f.scope = obj->ce; obj 286 ext/com_dotnet/com_handlers.c if (obj->typeinfo) { obj 296 ext/com_dotnet/com_handlers.c if (SUCCEEDED(ITypeInfo_GetTypeComp(obj->typeinfo, &comp))) { obj 297 ext/com_dotnet/com_handlers.c olename = php_com_string_to_olestring(name->val, name->len, obj->code_page); obj 340 ext/com_dotnet/com_handlers.c if (!obj->method_cache) { obj 341 ext/com_dotnet/com_handlers.c ALLOC_HASHTABLE(obj->method_cache); obj 342 ext/com_dotnet/com_handlers.c zend_hash_init(obj->method_cache, 2, NULL, function_dtor, 0); obj 345 ext/com_dotnet/com_handlers.c zend_hash_update_mem(obj->method_cache, name, &f, sizeof(f)); obj 364 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj = (php_com_dotnet_object*)object; obj 369 ext/com_dotnet/com_handlers.c if (V_VT(&obj->v) != VT_DISPATCH) { obj 382 ext/com_dotnet/com_handlers.c if (SUCCESS == php_com_do_invoke_byref(obj, (zend_internal_function*)EX(func), DISPATCH_METHOD|DISPATCH_PROPERTYGET, &v, nargs, args)) { obj 383 ext/com_dotnet/com_handlers.c php_com_zval_from_variant(return_value, &v, obj->code_page); obj 397 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj = (php_com_dotnet_object *) object; obj 402 ext/com_dotnet/com_handlers.c f.function_name = obj->ce->name; \ obj 403 ext/com_dotnet/com_handlers.c f.scope = obj->ce; \ obj 410 ext/com_dotnet/com_handlers.c switch (obj->ce->name->val[0]) { obj 429 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj = (php_com_dotnet_object *)object; obj 431 ext/com_dotnet/com_handlers.c return zend_string_copy(obj->ce->name); obj 469 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj; obj 474 ext/com_dotnet/com_handlers.c obj = CDNO_FETCH(readobj); obj 478 ext/com_dotnet/com_handlers.c if (V_VT(&obj->v) == VT_DISPATCH) { obj 479 ext/com_dotnet/com_handlers.c if (SUCCESS != php_com_do_invoke_by_id(obj, DISPID_VALUE, obj 481 ext/com_dotnet/com_handlers.c VariantCopy(&v, &obj->v); obj 484 ext/com_dotnet/com_handlers.c VariantCopy(&v, &obj->v); obj 511 ext/com_dotnet/com_handlers.c php_com_zval_from_variant(writeobj, &v, obj->code_page); obj 525 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj; obj 528 ext/com_dotnet/com_handlers.c obj = CDNO_FETCH(object); obj 530 ext/com_dotnet/com_handlers.c if (!V_ISARRAY(&obj->v)) { obj 534 ext/com_dotnet/com_handlers.c SafeArrayGetLBound(V_ARRAY(&obj->v), 1, &lbound); obj 535 ext/com_dotnet/com_handlers.c SafeArrayGetUBound(V_ARRAY(&obj->v), 1, &ubound); obj 571 ext/com_dotnet/com_handlers.c void php_com_object_enable_event_sink(php_com_dotnet_object *obj, int enable) obj 573 ext/com_dotnet/com_handlers.c if (obj->sink_dispatch) { obj 577 ext/com_dotnet/com_handlers.c if (SUCCEEDED(IDispatch_QueryInterface(V_DISPATCH(&obj->v), obj 581 ext/com_dotnet/com_handlers.c &obj->sink_id, &point))) { obj 584 ext/com_dotnet/com_handlers.c IConnectionPoint_Advise(point, (IUnknown*)obj->sink_dispatch, &obj->sink_cookie); obj 586 ext/com_dotnet/com_handlers.c IConnectionPoint_Unadvise(point, obj->sink_cookie); obj 597 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj = (php_com_dotnet_object*)object; obj 599 ext/com_dotnet/com_handlers.c if (obj->typeinfo) { obj 600 ext/com_dotnet/com_handlers.c ITypeInfo_Release(obj->typeinfo); obj 601 ext/com_dotnet/com_handlers.c obj->typeinfo = NULL; obj 604 ext/com_dotnet/com_handlers.c if (obj->sink_dispatch) { obj 605 ext/com_dotnet/com_handlers.c php_com_object_enable_event_sink(obj, FALSE); obj 606 ext/com_dotnet/com_handlers.c IDispatch_Release(obj->sink_dispatch); obj 607 ext/com_dotnet/com_handlers.c obj->sink_dispatch = NULL; obj 610 ext/com_dotnet/com_handlers.c VariantClear(&obj->v); obj 612 ext/com_dotnet/com_handlers.c if (obj->method_cache) { obj 613 ext/com_dotnet/com_handlers.c zend_hash_destroy(obj->method_cache); obj 614 ext/com_dotnet/com_handlers.c FREE_HASHTABLE(obj->method_cache); obj 616 ext/com_dotnet/com_handlers.c if (obj->id_of_name_cache) { obj 617 ext/com_dotnet/com_handlers.c zend_hash_destroy(obj->id_of_name_cache); obj 618 ext/com_dotnet/com_handlers.c FREE_HASHTABLE(obj->id_of_name_cache); obj 648 ext/com_dotnet/com_handlers.c php_com_dotnet_object *obj; obj 651 ext/com_dotnet/com_handlers.c obj = emalloc(sizeof(*obj)); obj 652 ext/com_dotnet/com_handlers.c memset(obj, 0, sizeof(*obj)); obj 654 ext/com_dotnet/com_handlers.c VariantInit(&obj->v); obj 655 ext/com_dotnet/com_handlers.c obj->code_page = CP_ACP; obj 656 ext/com_dotnet/com_handlers.c obj->ce = ce; obj 658 ext/com_dotnet/com_handlers.c zend_object_std_init(&obj->zo, ce); obj 659 ext/com_dotnet/com_handlers.c obj->zo.handlers = &php_com_object_handlers; obj 661 ext/com_dotnet/com_handlers.c return (zend_object*)obj; obj 140 ext/com_dotnet/com_iterator.c php_com_dotnet_object *obj; obj 152 ext/com_dotnet/com_iterator.c obj = CDNO_FETCH(object); obj 154 ext/com_dotnet/com_iterator.c if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { obj 155 ext/com_dotnet/com_iterator.c php_error_docref(NULL, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->v)); obj 166 ext/com_dotnet/com_iterator.c I->code_page = obj->code_page; obj 171 ext/com_dotnet/com_iterator.c if (V_ISARRAY(&obj->v)) { obj 175 ext/com_dotnet/com_iterator.c dims = SafeArrayGetDim(V_ARRAY(&obj->v)); obj 185 ext/com_dotnet/com_iterator.c VariantCopy(&I->safe_array, &obj->v); obj 203 ext/com_dotnet/com_iterator.c if (FAILED(IDispatch_Invoke(V_DISPATCH(&obj->v), DISPID_NEWENUM, obj 52 ext/com_dotnet/com_misc.c php_com_dotnet_object *obj; obj 54 ext/com_dotnet/com_misc.c obj = emalloc(sizeof(*obj)); obj 55 ext/com_dotnet/com_misc.c memset(obj, 0, sizeof(*obj)); obj 56 ext/com_dotnet/com_misc.c obj->code_page = codepage; obj 57 ext/com_dotnet/com_misc.c obj->ce = php_com_variant_class_entry; obj 58 ext/com_dotnet/com_misc.c obj->zo.ce = php_com_variant_class_entry; obj 60 ext/com_dotnet/com_misc.c VariantInit(&obj->v); obj 61 ext/com_dotnet/com_misc.c V_VT(&obj->v) = VT_DISPATCH; obj 62 ext/com_dotnet/com_misc.c V_DISPATCH(&obj->v) = disp; obj 64 ext/com_dotnet/com_misc.c IDispatch_AddRef(V_DISPATCH(&obj->v)); obj 65 ext/com_dotnet/com_misc.c IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); obj 67 ext/com_dotnet/com_misc.c zend_object_std_init(&obj->zo, php_com_variant_class_entry); obj 68 ext/com_dotnet/com_misc.c obj->zo.handlers = &php_com_object_handlers; obj 69 ext/com_dotnet/com_misc.c ZVAL_OBJ(z, &obj->zo); obj 75 ext/com_dotnet/com_misc.c php_com_dotnet_object *obj; obj 77 ext/com_dotnet/com_misc.c obj = emalloc(sizeof(*obj)); obj 78 ext/com_dotnet/com_misc.c memset(obj, 0, sizeof(*obj)); obj 79 ext/com_dotnet/com_misc.c obj->code_page = codepage; obj 80 ext/com_dotnet/com_misc.c obj->ce = php_com_variant_class_entry; obj 81 ext/com_dotnet/com_misc.c obj->zo.ce = php_com_variant_class_entry; obj 83 ext/com_dotnet/com_misc.c VariantInit(&obj->v); obj 84 ext/com_dotnet/com_misc.c VariantCopyInd(&obj->v, v); obj 85 ext/com_dotnet/com_misc.c obj->modified = 0; obj 87 ext/com_dotnet/com_misc.c if ((V_VT(&obj->v) == VT_DISPATCH) && (V_DISPATCH(&obj->v) != NULL)) { obj 88 ext/com_dotnet/com_misc.c IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); obj 91 ext/com_dotnet/com_misc.c zend_object_std_init(&obj->zo, php_com_variant_class_entry); obj 92 ext/com_dotnet/com_misc.c obj->zo.handlers = &php_com_object_handlers; obj 93 ext/com_dotnet/com_misc.c ZVAL_OBJ(z, &obj->zo); obj 652 ext/com_dotnet/com_persist.c php_com_dotnet_object *obj = NULL; obj 666 ext/com_dotnet/com_persist.c obj = CDNO_FETCH(zobj); obj 668 ext/com_dotnet/com_persist.c if (V_VT(&obj->v) != VT_DISPATCH || V_DISPATCH(&obj->v) == NULL) { obj 674 ext/com_dotnet/com_persist.c helper->unk = (IUnknown*)V_DISPATCH(&obj->v); obj 676 ext/com_dotnet/com_persist.c helper->codepage = obj->code_page; obj 695 ext/com_dotnet/com_persist.c static void helper_free_storage(zend_object *obj) obj 697 ext/com_dotnet/com_persist.c php_com_persist_helper *object = (php_com_persist_helper*)obj; obj 715 ext/com_dotnet/com_persist.c static zend_object* helper_clone(zval *obj) obj 717 ext/com_dotnet/com_persist.c php_com_persist_helper *clone, *object = (php_com_persist_helper*)Z_OBJ_P(obj); obj 43 ext/com_dotnet/com_saproxy.c php_com_dotnet_object *obj; obj 98 ext/com_dotnet/com_saproxy.c if (V_VT(&proxy->obj->v) == VT_DISPATCH) { obj 115 ext/com_dotnet/com_saproxy.c res = php_com_do_invoke(proxy->obj, Z_STRVAL(proxy->indices[0]), obj 120 ext/com_dotnet/com_saproxy.c php_com_zval_from_variant(rv, &v, proxy->obj->code_page); obj 129 ext/com_dotnet/com_saproxy.c } else if (!V_ISARRAY(&proxy->obj->v)) { obj 139 ext/com_dotnet/com_saproxy.c sa = V_ARRAY(&proxy->obj->v); obj 178 ext/com_dotnet/com_saproxy.c vt = V_VT(&proxy->obj->v) & ~VT_ARRAY; obj 191 ext/com_dotnet/com_saproxy.c php_com_wrap_variant(rv, &v, proxy->obj->code_page); obj 213 ext/com_dotnet/com_saproxy.c if (V_VT(&proxy->obj->v) == VT_DISPATCH) { obj 227 ext/com_dotnet/com_saproxy.c if (SUCCESS == php_com_do_invoke(proxy->obj, Z_STRVAL(proxy->indices[0]), obj 235 ext/com_dotnet/com_saproxy.c } else if (V_ISARRAY(&proxy->obj->v)) { obj 239 ext/com_dotnet/com_saproxy.c dims = SafeArrayGetDim(V_ARRAY(&proxy->obj->v)); obj 251 ext/com_dotnet/com_saproxy.c if (FAILED(SafeArrayGetVartype(V_ARRAY(&proxy->obj->v), &vt)) || vt == VT_EMPTY) { obj 252 ext/com_dotnet/com_saproxy.c vt = V_VT(&proxy->obj->v) & ~VT_ARRAY; obj 256 ext/com_dotnet/com_saproxy.c php_com_variant_from_zval(&v, value, proxy->obj->code_page); obj 263 ext/com_dotnet/com_saproxy.c res = SafeArrayPutElement(V_ARRAY(&proxy->obj->v), indices, &v); obj 265 ext/com_dotnet/com_saproxy.c res = SafeArrayPutElement(V_ARRAY(&proxy->obj->v), indices, &v.lVal); obj 356 ext/com_dotnet/com_saproxy.c if (!V_ISARRAY(&proxy->obj->v)) { obj 360 ext/com_dotnet/com_saproxy.c SafeArrayGetLBound(V_ARRAY(&proxy->obj->v), proxy->dimensions, &lbound); obj 361 ext/com_dotnet/com_saproxy.c SafeArrayGetUBound(V_ARRAY(&proxy->obj->v), proxy->dimensions, &ubound); obj 433 ext/com_dotnet/com_saproxy.c proxy->obj = rel->obj; obj 437 ext/com_dotnet/com_saproxy.c proxy->obj = CDNO_FETCH(com_object); obj 485 ext/com_dotnet/com_saproxy.c sa = V_ARRAY(&I->proxy->obj->v); obj 488 ext/com_dotnet/com_saproxy.c vt = V_VT(&I->proxy->obj->v) & ~VT_ARRAY; obj 500 ext/com_dotnet/com_saproxy.c php_com_wrap_variant(&I->data, &v, I->proxy->obj->code_page); obj 561 ext/com_dotnet/com_saproxy.c SafeArrayGetLBound(V_ARRAY(&proxy->obj->v), proxy->dimensions, &I->imin); obj 562 ext/com_dotnet/com_saproxy.c SafeArrayGetUBound(V_ARRAY(&proxy->obj->v), proxy->dimensions, &I->imax); obj 264 ext/com_dotnet/com_typeinfo.c ITypeInfo *php_com_locate_typeinfo(char *typelibname, php_com_dotnet_object *obj, char *dispname, int sink) obj 271 ext/com_dotnet/com_typeinfo.c if (obj) { obj 276 ext/com_dotnet/com_typeinfo.c if (SUCCEEDED(IDispatch_QueryInterface(V_DISPATCH(&obj->v), &IID_IProvideClassInfo2, (void**)&pci2))) { obj 280 ext/com_dotnet/com_typeinfo.c if (!gotguid && SUCCEEDED(IDispatch_QueryInterface(V_DISPATCH(&obj->v), &IID_IProvideClassInfo, (void**)&pci))) { obj 287 ext/com_dotnet/com_typeinfo.c if (obj->typeinfo) { obj 288 ext/com_dotnet/com_typeinfo.c ITypeInfo_AddRef(obj->typeinfo); obj 289 ext/com_dotnet/com_typeinfo.c return obj->typeinfo; obj 291 ext/com_dotnet/com_typeinfo.c IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &typeinfo); obj 296 ext/com_dotnet/com_typeinfo.c } else if (dispname && obj->typeinfo) { obj 299 ext/com_dotnet/com_typeinfo.c ITypeInfo_GetContainingTypeLib(obj->typeinfo, &typelib, &idx); obj 301 ext/com_dotnet/com_typeinfo.c IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &typeinfo); obj 102 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 122 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(z); obj 123 ext/com_dotnet/com_variant.c if (V_VT(&obj->v) == VT_DISPATCH) { obj 126 ext/com_dotnet/com_variant.c if (V_DISPATCH(&obj->v)) { obj 127 ext/com_dotnet/com_variant.c IDispatch_AddRef(V_DISPATCH(&obj->v)); obj 129 ext/com_dotnet/com_variant.c V_DISPATCH(v) = V_DISPATCH(&obj->v); obj 133 ext/com_dotnet/com_variant.c V_VARIANTREF(v) = &obj->v; obj 440 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 449 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(object); obj 459 ext/com_dotnet/com_variant.c obj->code_page = (int)codepage; obj 463 ext/com_dotnet/com_variant.c php_com_variant_from_zval(&obj->v, zvalue, obj->code_page); obj 467 ext/com_dotnet/com_variant.c if ((ZEND_NUM_ARGS() >= 2) && (vt != V_VT(&obj->v))) { obj 474 ext/com_dotnet/com_variant.c if ((vt & VT_ARRAY) && (V_VT(&obj->v) & VT_ARRAY)) { obj 484 ext/com_dotnet/com_variant.c res = VariantChangeType(&obj->v, &obj->v, 0, (VARTYPE)vt); obj 499 ext/com_dotnet/com_variant.c if (V_VT(&obj->v) != VT_DISPATCH && obj->typeinfo) { obj 500 ext/com_dotnet/com_variant.c ITypeInfo_Release(obj->typeinfo); obj 501 ext/com_dotnet/com_variant.c obj->typeinfo = NULL; obj 511 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 518 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zobj); obj 521 ext/com_dotnet/com_variant.c if (obj->typeinfo) { obj 522 ext/com_dotnet/com_variant.c ITypeInfo_Release(obj->typeinfo); obj 523 ext/com_dotnet/com_variant.c obj->typeinfo = NULL; obj 525 ext/com_dotnet/com_variant.c if (obj->sink_dispatch) { obj 526 ext/com_dotnet/com_variant.c php_com_object_enable_event_sink(obj, FALSE); obj 527 ext/com_dotnet/com_variant.c IDispatch_Release(obj->sink_dispatch); obj 528 ext/com_dotnet/com_variant.c obj->sink_dispatch = NULL; obj 531 ext/com_dotnet/com_variant.c VariantClear(&obj->v); obj 533 ext/com_dotnet/com_variant.c php_com_variant_from_zval(&obj->v, zvalue, obj->code_page); obj 535 ext/com_dotnet/com_variant.c obj->modified = 1; obj 555 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 566 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zleft); obj 567 ext/com_dotnet/com_variant.c vleft = &obj->v; obj 568 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zright); obj 569 ext/com_dotnet/com_variant.c vright = &obj->v; obj 573 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zleft); obj 574 ext/com_dotnet/com_variant.c vleft = &obj->v; obj 579 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zright); obj 580 ext/com_dotnet/com_variant.c vright = &obj->v; obj 763 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 772 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zleft); obj 773 ext/com_dotnet/com_variant.c vleft = &obj->v; obj 861 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 870 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zleft); obj 871 ext/com_dotnet/com_variant.c vleft = &obj->v; obj 896 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 909 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zleft); obj 910 ext/com_dotnet/com_variant.c vleft = &obj->v; obj 911 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zright); obj 912 ext/com_dotnet/com_variant.c vright = &obj->v; obj 916 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zleft); obj 917 ext/com_dotnet/com_variant.c vleft = &obj->v; obj 923 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zright); obj 924 ext/com_dotnet/com_variant.c vright = &obj->v; obj 953 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 961 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zleft); obj 963 ext/com_dotnet/com_variant.c if (SUCCEEDED(VariantChangeType(&vres, &obj->v, 0, VT_DATE))) { obj 1033 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 1039 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zobj); obj 1041 ext/com_dotnet/com_variant.c RETURN_LONG(V_VT(&obj->v)); obj 1050 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 1058 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zobj); obj 1060 ext/com_dotnet/com_variant.c res = VariantChangeType(&obj->v, &obj->v, 0, (VARTYPE)vt); obj 1063 ext/com_dotnet/com_variant.c if (vt != VT_DISPATCH && obj->typeinfo) { obj 1064 ext/com_dotnet/com_variant.c ITypeInfo_Release(obj->typeinfo); obj 1065 ext/com_dotnet/com_variant.c obj->typeinfo = NULL; obj 1085 ext/com_dotnet/com_variant.c php_com_dotnet_object *obj; obj 1094 ext/com_dotnet/com_variant.c obj = CDNO_FETCH(zobj); obj 1097 ext/com_dotnet/com_variant.c res = VariantChangeType(&vres, &obj->v, 0, (VARTYPE)vt); obj 1100 ext/com_dotnet/com_variant.c php_com_wrap_variant(return_value, &vres, obj->code_page); obj 298 ext/com_dotnet/com_wrapper.c php_com_dotnet_object *obj = CDNO_FETCH(¶ms[i]); obj 299 ext/com_dotnet/com_wrapper.c VARIANT *srcvar = &obj->v; obj 301 ext/com_dotnet/com_wrapper.c if ((V_VT(dstvar) & VT_BYREF) && obj->modified ) { obj 630 ext/com_dotnet/com_wrapper.c php_com_dotnet_object *obj = CDNO_FETCH(val); obj 632 ext/com_dotnet/com_wrapper.c if (obj == NULL) obj 635 ext/com_dotnet/com_wrapper.c if (V_VT(&obj->v) == VT_DISPATCH && V_DISPATCH(&obj->v)) { obj 636 ext/com_dotnet/com_wrapper.c IDispatch_AddRef(V_DISPATCH(&obj->v)); obj 637 ext/com_dotnet/com_wrapper.c return V_DISPATCH(&obj->v); obj 66 ext/com_dotnet/php_com_dotnet_internal.h #define CDNO_FETCH_VERIFY(obj, zv) do { \ obj 71 ext/com_dotnet/php_com_dotnet_internal.h obj = (php_com_dotnet_object*)Z_OBJ_P(zv); \ obj 83 ext/com_dotnet/php_com_dotnet_internal.h void php_com_object_enable_event_sink(php_com_dotnet_object *obj, int enable); obj 105 ext/com_dotnet/php_com_dotnet_internal.h HRESULT php_com_invoke_helper(php_com_dotnet_object *obj, DISPID id_member, obj 107 ext/com_dotnet/php_com_dotnet_internal.h HRESULT php_com_get_id_of_name(php_com_dotnet_object *obj, char *name, obj 109 ext/com_dotnet/php_com_dotnet_internal.h int php_com_do_invoke_by_id(php_com_dotnet_object *obj, DISPID dispid, obj 111 ext/com_dotnet/php_com_dotnet_internal.h int php_com_do_invoke(php_com_dotnet_object *obj, char *name, size_t namelen, obj 113 ext/com_dotnet/php_com_dotnet_internal.h int php_com_do_invoke_byref(php_com_dotnet_object *obj, zend_internal_function *f, obj 178 ext/com_dotnet/php_com_dotnet_internal.h ITypeInfo *php_com_locate_typeinfo(char *typelibname, php_com_dotnet_object *obj, char *dispname, int sink); obj 604 ext/date/php_date.c php_date_obj *obj; \ obj 615 ext/date/php_date.c obj = Z_PHPDATE_P(object); \ obj 3969 ext/date/php_date.c php_interval_obj *obj; obj 3982 ext/date/php_date.c obj = Z_PHPINTERVAL_P(object); obj 3984 ext/date/php_date.c if (!obj->initialized) { obj 3994 ext/date/php_date.c value = obj->diff->n; \ obj 4035 ext/date/php_date.c php_interval_obj *obj; obj 4046 ext/date/php_date.c obj = Z_PHPINTERVAL_P(object); obj 4048 ext/date/php_date.c if (!obj->initialized) { obj 4058 ext/date/php_date.c obj->diff->n = zval_get_long(value); \ obj 142 ext/date/php_date.h static inline php_date_obj *php_date_obj_from_obj(zend_object *obj) { obj 143 ext/date/php_date.h return (php_date_obj*)((char*)(obj) - XtOffsetOf(php_date_obj, std)); obj 160 ext/date/php_date.h static inline php_timezone_obj *php_timezone_obj_from_obj(zend_object *obj) { obj 161 ext/date/php_date.h return (php_timezone_obj*)((char*)(obj) - XtOffsetOf(php_timezone_obj, std)); obj 173 ext/date/php_date.h static inline php_interval_obj *php_interval_obj_from_obj(zend_object *obj) { obj 174 ext/date/php_date.h return (php_interval_obj*)((char*)(obj) - XtOffsetOf(php_interval_obj, std)); obj 191 ext/date/php_date.h static inline php_period_obj *php_period_obj_from_obj(zend_object *obj) { obj 192 ext/date/php_date.h return (php_period_obj*)((char*)(obj) - XtOffsetOf(php_period_obj, std)); obj 98 ext/dom/attr.c int dom_attr_name_read(dom_object *obj, zval *retval) obj 102 ext/dom/attr.c attrp = (xmlAttrPtr) dom_object_get_node(obj); obj 121 ext/dom/attr.c int dom_attr_specified_read(dom_object *obj, zval *retval) obj 135 ext/dom/attr.c int dom_attr_value_read(dom_object *obj, zval *retval) obj 137 ext/dom/attr.c xmlAttrPtr attrp = (xmlAttrPtr) dom_object_get_node(obj); obj 156 ext/dom/attr.c int dom_attr_value_write(dom_object *obj, zval *newval) obj 159 ext/dom/attr.c xmlAttrPtr attrp = (xmlAttrPtr) dom_object_get_node(obj); obj 185 ext/dom/attr.c int dom_attr_owner_element_read(dom_object *obj, zval *retval) obj 189 ext/dom/attr.c nodep = dom_object_get_node(obj); obj 202 ext/dom/attr.c php_dom_create_object(nodeparent, retval, obj); obj 214 ext/dom/attr.c int dom_attr_schema_type_info_read(dom_object *obj, zval *retval) obj 79 ext/dom/characterdata.c int dom_characterdata_data_read(dom_object *obj, zval *retval) obj 81 ext/dom/characterdata.c xmlNodePtr nodep = dom_object_get_node(obj); obj 99 ext/dom/characterdata.c int dom_characterdata_data_write(dom_object *obj, zval *newval) obj 101 ext/dom/characterdata.c xmlNode *nodep = dom_object_get_node(obj); obj 124 ext/dom/characterdata.c int dom_characterdata_length_read(dom_object *obj, zval *retval) obj 126 ext/dom/characterdata.c xmlNodePtr nodep = dom_object_get_node(obj); obj 244 ext/dom/document.c int dom_document_doctype_read(dom_object *obj, zval *retval) obj 246 ext/dom/document.c xmlDoc *docp = (xmlDocPtr) dom_object_get_node(obj); obj 260 ext/dom/document.c php_dom_create_object((xmlNodePtr) dtdptr, retval, obj); obj 271 ext/dom/document.c int dom_document_implementation_read(dom_object *obj, zval *retval) obj 284 ext/dom/document.c int dom_document_document_element_read(dom_object *obj, zval *retval) obj 286 ext/dom/document.c xmlDoc *docp = (xmlDocPtr) dom_object_get_node(obj); obj 300 ext/dom/document.c php_dom_create_object(root, retval, obj); obj 310 ext/dom/document.c int dom_document_encoding_read(dom_object *obj, zval *retval) obj 312 ext/dom/document.c xmlDoc *docp = (xmlDocPtr) dom_object_get_node(obj); obj 331 ext/dom/document.c int dom_document_encoding_write(dom_object *obj, zval *newval) obj 333 ext/dom/document.c xmlDoc *docp = (xmlDocPtr) dom_object_get_node(obj); obj 367 ext/dom/document.c int dom_document_standalone_read(dom_object *obj, zval *retval) obj 371 ext/dom/document.c docp = (xmlDocPtr) dom_object_get_node(obj); obj 382 ext/dom/document.c int dom_document_standalone_write(dom_object *obj, zval *newval) obj 384 ext/dom/document.c xmlDoc *docp = (xmlDocPtr) dom_object_get_node(obj); obj 405 ext/dom/document.c int dom_document_version_read(dom_object *obj, zval *retval) obj 407 ext/dom/document.c xmlDoc *docp = (xmlDocPtr) dom_object_get_node(obj); obj 426 ext/dom/document.c int dom_document_version_write(dom_object *obj, zval *newval) obj 428 ext/dom/document.c xmlDoc *docp = (xmlDocPtr) dom_object_get_node(obj); obj 455 ext/dom/document.c int dom_document_strict_error_checking_read(dom_object *obj, zval *retval) obj 457 ext/dom/document.c if (obj->document) { obj 458 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 466 ext/dom/document.c int dom_document_strict_error_checking_write(dom_object *obj, zval *newval) obj 469 ext/dom/document.c if (obj->document) { obj 470 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 482 ext/dom/document.c int dom_document_format_output_read(dom_object *obj, zval *retval) obj 484 ext/dom/document.c if (obj->document) { obj 485 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 493 ext/dom/document.c int dom_document_format_output_write(dom_object *obj, zval *newval) obj 495 ext/dom/document.c if (obj->document) { obj 496 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 507 ext/dom/document.c int dom_document_validate_on_parse_read(dom_object *obj, zval *retval) obj 509 ext/dom/document.c if (obj->document) { obj 510 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 518 ext/dom/document.c int dom_document_validate_on_parse_write(dom_object *obj, zval *newval) obj 520 ext/dom/document.c if (obj->document) { obj 521 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 532 ext/dom/document.c int dom_document_resolve_externals_read(dom_object *obj, zval *retval) obj 534 ext/dom/document.c if (obj->document) { obj 535 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 543 ext/dom/document.c int dom_document_resolve_externals_write(dom_object *obj, zval *newval) obj 545 ext/dom/document.c if (obj->document) { obj 546 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 557 ext/dom/document.c int dom_document_preserve_whitespace_read(dom_object *obj, zval *retval) obj 559 ext/dom/document.c if (obj->document) { obj 560 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 568 ext/dom/document.c int dom_document_preserve_whitespace_write(dom_object *obj, zval *newval) obj 570 ext/dom/document.c if (obj->document) { obj 571 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 582 ext/dom/document.c int dom_document_recover_read(dom_object *obj, zval *retval) obj 584 ext/dom/document.c if (obj->document) { obj 585 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 593 ext/dom/document.c int dom_document_recover_write(dom_object *obj, zval *newval) obj 595 ext/dom/document.c if (obj->document) { obj 596 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 607 ext/dom/document.c int dom_document_substitue_entities_read(dom_object *obj, zval *retval) obj 609 ext/dom/document.c if (obj->document) { obj 610 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 618 ext/dom/document.c int dom_document_substitue_entities_write(dom_object *obj, zval *newval) obj 620 ext/dom/document.c if (obj->document) { obj 621 ext/dom/document.c dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); obj 634 ext/dom/document.c int dom_document_document_uri_read(dom_object *obj, zval *retval) obj 636 ext/dom/document.c xmlDoc *docp = (xmlDocPtr) dom_object_get_node(obj); obj 654 ext/dom/document.c int dom_document_document_uri_write(dom_object *obj, zval *newval) obj 656 ext/dom/document.c xmlDoc *docp = (xmlDocPtr) dom_object_get_node(obj); obj 683 ext/dom/document.c int dom_document_config_read(dom_object *obj, zval *retval) obj 46 ext/dom/documenttype.c int dom_documenttype_name_read(dom_object *obj, zval *retval) obj 48 ext/dom/documenttype.c xmlDtdPtr dtdptr = (xmlDtdPtr) dom_object_get_node(obj); obj 67 ext/dom/documenttype.c int dom_documenttype_entities_read(dom_object *obj, zval *retval) obj 69 ext/dom/documenttype.c xmlDtdPtr doctypep = (xmlDtdPtr) dom_object_get_node(obj); obj 83 ext/dom/documenttype.c dom_namednode_iter(obj, XML_ENTITY_NODE, intern, entityht, NULL, NULL); obj 95 ext/dom/documenttype.c int dom_documenttype_notations_read(dom_object *obj, zval *retval) obj 97 ext/dom/documenttype.c xmlDtdPtr doctypep = (xmlDtdPtr) dom_object_get_node(obj); obj 111 ext/dom/documenttype.c dom_namednode_iter(obj, XML_NOTATION_NODE, intern, notationht, NULL, NULL); obj 123 ext/dom/documenttype.c int dom_documenttype_public_id_read(dom_object *obj, zval *retval) obj 125 ext/dom/documenttype.c xmlDtdPtr dtdptr = (xmlDtdPtr) dom_object_get_node(obj); obj 148 ext/dom/documenttype.c int dom_documenttype_system_id_read(dom_object *obj, zval *retval) obj 150 ext/dom/documenttype.c xmlDtdPtr dtdptr = (xmlDtdPtr) dom_object_get_node(obj); obj 172 ext/dom/documenttype.c int dom_documenttype_internal_subset_read(dom_object *obj, zval *retval) obj 174 ext/dom/documenttype.c xmlDtdPtr dtdptr = (xmlDtdPtr) dom_object_get_node(obj); obj 25 ext/dom/dom_properties.h int dom_attr_name_read(dom_object *obj, zval *retval); obj 26 ext/dom/dom_properties.h int dom_attr_specified_read(dom_object *obj, zval *retval); obj 27 ext/dom/dom_properties.h int dom_attr_value_read(dom_object *obj, zval *retval); obj 28 ext/dom/dom_properties.h int dom_attr_value_write(dom_object *obj, zval *newval); obj 29 ext/dom/dom_properties.h int dom_attr_owner_element_read(dom_object *obj, zval *retval); obj 30 ext/dom/dom_properties.h int dom_attr_schema_type_info_read(dom_object *obj, zval *retval); obj 33 ext/dom/dom_properties.h int dom_characterdata_data_read(dom_object *obj, zval *retval); obj 34 ext/dom/dom_properties.h int dom_characterdata_data_write(dom_object *obj, zval *newval); obj 35 ext/dom/dom_properties.h int dom_characterdata_length_read(dom_object *obj, zval *retval); obj 38 ext/dom/dom_properties.h int dom_document_doctype_read(dom_object *obj, zval *retval); obj 39 ext/dom/dom_properties.h int dom_document_implementation_read(dom_object *obj, zval *retval); obj 40 ext/dom/dom_properties.h int dom_document_document_element_read(dom_object *obj, zval *retval); obj 41 ext/dom/dom_properties.h int dom_document_actual_encoding_read(dom_object *obj, zval *retval); obj 42 ext/dom/dom_properties.h int dom_document_actual_encoding_write(dom_object *obj, zval *newval); obj 43 ext/dom/dom_properties.h int dom_document_encoding_read(dom_object *obj, zval *retval); obj 44 ext/dom/dom_properties.h int dom_document_encoding_write(dom_object *obj, zval *newval); obj 45 ext/dom/dom_properties.h int dom_document_standalone_read(dom_object *obj, zval *retval); obj 46 ext/dom/dom_properties.h int dom_document_standalone_write(dom_object *obj, zval *newval); obj 47 ext/dom/dom_properties.h int dom_document_version_read(dom_object *obj, zval *retval); obj 48 ext/dom/dom_properties.h int dom_document_version_write(dom_object *obj, zval *newval); obj 49 ext/dom/dom_properties.h int dom_document_strict_error_checking_read(dom_object *obj, zval *retval); obj 50 ext/dom/dom_properties.h int dom_document_strict_error_checking_write(dom_object *obj, zval *newval); obj 51 ext/dom/dom_properties.h int dom_document_document_uri_read(dom_object *obj, zval *retval); obj 52 ext/dom/dom_properties.h int dom_document_document_uri_write(dom_object *obj, zval *newval); obj 53 ext/dom/dom_properties.h int dom_document_config_read(dom_object *obj, zval *retval); obj 54 ext/dom/dom_properties.h int dom_document_format_output_read(dom_object *obj, zval *retval); obj 55 ext/dom/dom_properties.h int dom_document_format_output_write(dom_object *obj, zval *newval); obj 56 ext/dom/dom_properties.h int dom_document_validate_on_parse_read(dom_object *obj, zval *retval); obj 57 ext/dom/dom_properties.h int dom_document_validate_on_parse_write(dom_object *obj, zval *newval); obj 58 ext/dom/dom_properties.h int dom_document_resolve_externals_read(dom_object *obj, zval *retval); obj 59 ext/dom/dom_properties.h int dom_document_resolve_externals_write(dom_object *obj, zval *newval); obj 60 ext/dom/dom_properties.h int dom_document_preserve_whitespace_read(dom_object *obj, zval *retval); obj 61 ext/dom/dom_properties.h int dom_document_preserve_whitespace_write(dom_object *obj, zval *newval); obj 62 ext/dom/dom_properties.h int dom_document_recover_read(dom_object *obj, zval *retval); obj 63 ext/dom/dom_properties.h int dom_document_recover_write(dom_object *obj, zval *newval); obj 64 ext/dom/dom_properties.h int dom_document_substitue_entities_read(dom_object *obj, zval *retval); obj 65 ext/dom/dom_properties.h int dom_document_substitue_entities_write(dom_object *obj, zval *newval); obj 68 ext/dom/dom_properties.h int dom_documenttype_name_read(dom_object *obj, zval *retval); obj 69 ext/dom/dom_properties.h int dom_documenttype_entities_read(dom_object *obj, zval *retval); obj 70 ext/dom/dom_properties.h int dom_documenttype_notations_read(dom_object *obj, zval *retval); obj 71 ext/dom/dom_properties.h int dom_documenttype_public_id_read(dom_object *obj, zval *retval); obj 72 ext/dom/dom_properties.h int dom_documenttype_system_id_read(dom_object *obj, zval *retval); obj 73 ext/dom/dom_properties.h int dom_documenttype_internal_subset_read(dom_object *obj, zval *retval); obj 76 ext/dom/dom_properties.h int dom_domerror_severity_read(dom_object *obj, zval *retval); obj 77 ext/dom/dom_properties.h int dom_domerror_message_read(dom_object *obj, zval *retval); obj 78 ext/dom/dom_properties.h int dom_domerror_type_read(dom_object *obj, zval *retval); obj 79 ext/dom/dom_properties.h int dom_domerror_related_exception_read(dom_object *obj, zval *retval); obj 80 ext/dom/dom_properties.h int dom_domerror_related_data_read(dom_object *obj, zval *retval); obj 81 ext/dom/dom_properties.h int dom_domerror_location_read(dom_object *obj, zval *retval); obj 84 ext/dom/dom_properties.h int dom_domimplementationlist_length_read(dom_object *obj, zval *retval); obj 87 ext/dom/dom_properties.h int dom_domlocator_line_number_read(dom_object *obj, zval *retval); obj 88 ext/dom/dom_properties.h int dom_domlocator_column_number_read(dom_object *obj, zval *retval); obj 89 ext/dom/dom_properties.h int dom_domlocator_offset_read(dom_object *obj, zval *retval); obj 90 ext/dom/dom_properties.h int dom_domlocator_related_node_read(dom_object *obj, zval *retval); obj 91 ext/dom/dom_properties.h int dom_domlocator_uri_read(dom_object *obj, zval *retval); obj 94 ext/dom/dom_properties.h int dom_domstringlist_length_read(dom_object *obj, zval *retval); obj 97 ext/dom/dom_properties.h int dom_element_tag_name_read(dom_object *obj, zval *retval); obj 98 ext/dom/dom_properties.h int dom_element_schema_type_info_read(dom_object *obj, zval *retval); obj 101 ext/dom/dom_properties.h int dom_entity_public_id_read(dom_object *obj, zval *retval); obj 102 ext/dom/dom_properties.h int dom_entity_system_id_read(dom_object *obj, zval *retval); obj 103 ext/dom/dom_properties.h int dom_entity_notation_name_read(dom_object *obj, zval *retval); obj 104 ext/dom/dom_properties.h int dom_entity_actual_encoding_read(dom_object *obj, zval *retval); obj 105 ext/dom/dom_properties.h int dom_entity_actual_encoding_write(dom_object *obj, zval *newval); obj 106 ext/dom/dom_properties.h int dom_entity_encoding_read(dom_object *obj, zval *retval); obj 107 ext/dom/dom_properties.h int dom_entity_encoding_write(dom_object *obj, zval *newval); obj 108 ext/dom/dom_properties.h int dom_entity_version_read(dom_object *obj, zval *retval); obj 109 ext/dom/dom_properties.h int dom_entity_version_write(dom_object *obj, zval *newval); obj 112 ext/dom/dom_properties.h int dom_namednodemap_length_read(dom_object *obj, zval *retval); obj 115 ext/dom/dom_properties.h int dom_namelist_length_read(dom_object *obj, zval *retval); obj 118 ext/dom/dom_properties.h int dom_node_node_name_read(dom_object *obj, zval *retval); obj 119 ext/dom/dom_properties.h int dom_node_node_value_read(dom_object *obj, zval *retval); obj 120 ext/dom/dom_properties.h int dom_node_node_value_write(dom_object *obj, zval *newval); obj 121 ext/dom/dom_properties.h int dom_node_node_type_read(dom_object *obj, zval *retval); obj 122 ext/dom/dom_properties.h int dom_node_parent_node_read(dom_object *obj, zval *retval); obj 123 ext/dom/dom_properties.h int dom_node_child_nodes_read(dom_object *obj, zval *retval); obj 124 ext/dom/dom_properties.h int dom_node_first_child_read(dom_object *obj, zval *retval); obj 125 ext/dom/dom_properties.h int dom_node_last_child_read(dom_object *obj, zval *retval); obj 126 ext/dom/dom_properties.h int dom_node_previous_sibling_read(dom_object *obj, zval *retval); obj 127 ext/dom/dom_properties.h int dom_node_next_sibling_read(dom_object *obj, zval *retval); obj 128 ext/dom/dom_properties.h int dom_node_attributes_read(dom_object *obj, zval *retval); obj 129 ext/dom/dom_properties.h int dom_node_owner_document_read(dom_object *obj, zval *retval); obj 130 ext/dom/dom_properties.h int dom_node_namespace_uri_read(dom_object *obj, zval *retval); obj 131 ext/dom/dom_properties.h int dom_node_prefix_read(dom_object *obj, zval *retval); obj 132 ext/dom/dom_properties.h int dom_node_prefix_write(dom_object *obj, zval *newval); obj 133 ext/dom/dom_properties.h int dom_node_local_name_read(dom_object *obj, zval *retval); obj 134 ext/dom/dom_properties.h int dom_node_base_uri_read(dom_object *obj, zval *retval); obj 135 ext/dom/dom_properties.h int dom_node_text_content_read(dom_object *obj, zval *retval); obj 136 ext/dom/dom_properties.h int dom_node_text_content_write(dom_object *obj, zval *newval); obj 139 ext/dom/dom_properties.h int dom_nodelist_length_read(dom_object *obj, zval *retval); obj 144 ext/dom/dom_properties.h int dom_notation_public_id_read(dom_object *obj, zval *retval); obj 145 ext/dom/dom_properties.h int dom_notation_system_id_read(dom_object *obj, zval *retval); obj 148 ext/dom/dom_properties.h int dom_processinginstruction_target_read(dom_object *obj, zval *retval); obj 149 ext/dom/dom_properties.h int dom_processinginstruction_data_read(dom_object *obj, zval *retval); obj 150 ext/dom/dom_properties.h int dom_processinginstruction_data_write(dom_object *obj, zval *newval); obj 153 ext/dom/dom_properties.h int dom_text_whole_text_read(dom_object *obj, zval *retval); obj 156 ext/dom/dom_properties.h int dom_typeinfo_type_name_read(dom_object *obj, zval *retval); obj 157 ext/dom/dom_properties.h int dom_typeinfo_type_namespace_read(dom_object *obj, zval *retval); obj 161 ext/dom/dom_properties.h int dom_xpath_document_read(dom_object *obj, zval *retval); obj 49 ext/dom/domerror.c int dom_domerror_severity_read(dom_object *obj, zval *retval) obj 62 ext/dom/domerror.c int dom_domerror_message_read(dom_object *obj, zval *retval) obj 75 ext/dom/domerror.c int dom_domerror_type_read(dom_object *obj, zval *retval) obj 88 ext/dom/domerror.c int dom_domerror_related_exception_read(dom_object *obj, zval *retval) obj 101 ext/dom/domerror.c int dom_domerror_related_data_read(dom_object *obj, zval *retval) obj 114 ext/dom/domerror.c int dom_domerror_location_read(dom_object *obj, zval *retval) obj 55 ext/dom/domimplementationlist.c int dom_domimplementationlist_length_read(dom_object *obj, zval *retval) obj 49 ext/dom/domlocator.c int dom_domlocator_line_number_read(dom_object *obj, zval *retval) obj 62 ext/dom/domlocator.c int dom_domlocator_column_number_read(dom_object *obj, zval *retval) obj 75 ext/dom/domlocator.c int dom_domlocator_offset_read(dom_object *obj, zval *retval) obj 88 ext/dom/domlocator.c int dom_domlocator_related_node_read(dom_object *obj, zval *retval) obj 101 ext/dom/domlocator.c int dom_domlocator_uri_read(dom_object *obj, zval *retval) obj 55 ext/dom/domstringlist.c int dom_domstringlist_length_read(dom_object *obj, zval *retval) obj 233 ext/dom/element.c int dom_element_tag_name_read(dom_object *obj, zval *retval) obj 239 ext/dom/element.c nodep = dom_object_get_node(obj); obj 267 ext/dom/element.c int dom_element_schema_type_info_read(dom_object *obj, zval *retval) obj 47 ext/dom/entity.c int dom_entity_public_id_read(dom_object *obj, zval *retval) obj 49 ext/dom/entity.c xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); obj 72 ext/dom/entity.c int dom_entity_system_id_read(dom_object *obj, zval *retval) obj 74 ext/dom/entity.c xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); obj 97 ext/dom/entity.c int dom_entity_notation_name_read(dom_object *obj, zval *retval) obj 99 ext/dom/entity.c xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); obj 125 ext/dom/entity.c int dom_entity_actual_encoding_read(dom_object *obj, zval *retval) obj 131 ext/dom/entity.c int dom_entity_actual_encoding_write(dom_object *obj, zval *newval) obj 143 ext/dom/entity.c int dom_entity_encoding_read(dom_object *obj, zval *retval) obj 149 ext/dom/entity.c int dom_entity_encoding_write(dom_object *obj, zval *newval) obj 161 ext/dom/entity.c int dom_entity_version_read(dom_object *obj, zval *retval) obj 167 ext/dom/entity.c int dom_entity_version_write(dom_object *obj, zval *newval) obj 86 ext/dom/namednodemap.c int dom_namednodemap_length_read(dom_object *obj, zval *retval) obj 93 ext/dom/namednodemap.c objmap = (dom_nnodemap_object *)obj->ptr; obj 58 ext/dom/namelist.c int dom_namelist_length_read(dom_object *obj, zval *retval) obj 199 ext/dom/node.c int dom_node_node_name_read(dom_object *obj, zval *retval) obj 206 ext/dom/node.c nodep = dom_object_get_node(obj); obj 286 ext/dom/node.c int dom_node_node_value_read(dom_object *obj, zval *retval) obj 288 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 325 ext/dom/node.c int dom_node_node_value_write(dom_object *obj, zval *newval) obj 327 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 365 ext/dom/node.c int dom_node_node_type_read(dom_object *obj, zval *retval) obj 369 ext/dom/node.c nodep = dom_object_get_node(obj); obj 393 ext/dom/node.c int dom_node_parent_node_read(dom_object *obj, zval *retval) obj 397 ext/dom/node.c nodep = dom_object_get_node(obj); obj 410 ext/dom/node.c php_dom_create_object(nodeparent, retval, obj); obj 421 ext/dom/node.c int dom_node_child_nodes_read(dom_object *obj, zval *retval) obj 423 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 436 ext/dom/node.c dom_namednode_iter(obj, XML_ELEMENT_NODE, intern, NULL, NULL, NULL); obj 449 ext/dom/node.c int dom_node_first_child_read(dom_object *obj, zval *retval) obj 453 ext/dom/node.c nodep = dom_object_get_node(obj); obj 469 ext/dom/node.c php_dom_create_object(first, retval, obj); obj 480 ext/dom/node.c int dom_node_last_child_read(dom_object *obj, zval *retval) obj 484 ext/dom/node.c nodep = dom_object_get_node(obj); obj 500 ext/dom/node.c php_dom_create_object(last, retval, obj); obj 511 ext/dom/node.c int dom_node_previous_sibling_read(dom_object *obj, zval *retval) obj 515 ext/dom/node.c nodep = dom_object_get_node(obj); obj 528 ext/dom/node.c php_dom_create_object(prevsib, retval, obj); obj 539 ext/dom/node.c int dom_node_next_sibling_read(dom_object *obj, zval *retval) obj 543 ext/dom/node.c nodep = dom_object_get_node(obj); obj 555 ext/dom/node.c php_dom_create_object(nextsib, retval, obj); obj 566 ext/dom/node.c int dom_node_attributes_read(dom_object *obj, zval *retval) obj 568 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 579 ext/dom/node.c dom_namednode_iter(obj, XML_ATTRIBUTE_NODE, intern, NULL, NULL, NULL); obj 594 ext/dom/node.c int dom_node_owner_document_read(dom_object *obj, zval *retval) obj 596 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 614 ext/dom/node.c php_dom_create_object((xmlNodePtr) docp, retval, obj); obj 625 ext/dom/node.c int dom_node_namespace_uri_read(dom_object *obj, zval *retval) obj 627 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 664 ext/dom/node.c int dom_node_prefix_read(dom_object *obj, zval *retval) obj 666 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 698 ext/dom/node.c int dom_node_prefix_write(dom_object *obj, zval *newval) obj 706 ext/dom/node.c nodep = dom_object_get_node(obj); obj 749 ext/dom/node.c php_dom_throw_error(NAMESPACE_ERR, dom_get_strict_error(obj->document)); obj 771 ext/dom/node.c int dom_node_local_name_read(dom_object *obj, zval *retval) obj 773 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 796 ext/dom/node.c int dom_node_base_uri_read(dom_object *obj, zval *retval) obj 798 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 824 ext/dom/node.c int dom_node_text_content_read(dom_object *obj, zval *retval) obj 826 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 846 ext/dom/node.c int dom_node_text_content_write(dom_object *obj, zval *newval) obj 848 ext/dom/node.c xmlNode *nodep = dom_object_get_node(obj); obj 54 ext/dom/nodelist.c int dom_nodelist_length_read(dom_object *obj, zval *retval) obj 61 ext/dom/nodelist.c objmap = (dom_nnodemap_object *)obj->ptr; obj 48 ext/dom/notation.c int dom_notation_public_id_read(dom_object *obj, zval *retval) obj 50 ext/dom/notation.c xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); obj 73 ext/dom/notation.c int dom_notation_system_id_read(dom_object *obj, zval *retval) obj 75 ext/dom/notation.c xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); obj 106 ext/dom/php_dom.c typedef int (*dom_read_t)(dom_object *obj, zval *retval); obj 107 ext/dom/php_dom.c typedef int (*dom_write_t)(dom_object *obj, zval *newval); obj 265 ext/dom/php_dom.c PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj) obj 267 ext/dom/php_dom.c if (obj && obj->ptr != NULL) { obj 268 ext/dom/php_dom.c return ((php_libxml_node_ptr *)obj->ptr)->node; obj 276 ext/dom/php_dom.c PHP_DOM_EXPORT dom_object *php_dom_object_get_data(xmlNodePtr obj) obj 278 ext/dom/php_dom.c if (obj && obj->_private != NULL) { obj 279 ext/dom/php_dom.c return (dom_object *) ((php_libxml_node_ptr *) obj->_private)->_private; obj 287 ext/dom/php_dom.c static int dom_read_na(dom_object *obj, zval *retval) obj 295 ext/dom/php_dom.c static int dom_write_na(dom_object *obj, zval *newval) obj 315 ext/dom/php_dom.c dom_object *obj = Z_DOMOBJ_P(object); obj 319 ext/dom/php_dom.c if (!obj->prop_handler || !zend_hash_exists(obj->prop_handler, member_str)) { obj 332 ext/dom/php_dom.c dom_object *obj = Z_DOMOBJ_P(object); obj 337 ext/dom/php_dom.c if (obj->prop_handler != NULL) { obj 338 ext/dom/php_dom.c hnd = zend_hash_find_ptr(obj->prop_handler, member_str); obj 339 ext/dom/php_dom.c } else if (instanceof_function(obj->std.ce, dom_node_class_entry)) { obj 340 ext/dom/php_dom.c php_error(E_WARNING, "Couldn't fetch %s. Node no longer exists", ZSTR_VAL(obj->std.ce->name)); obj 344 ext/dom/php_dom.c int ret = hnd->read_func(obj, rv); obj 363 ext/dom/php_dom.c dom_object *obj = Z_DOMOBJ_P(object); obj 367 ext/dom/php_dom.c if (obj->prop_handler != NULL) { obj 368 ext/dom/php_dom.c hnd = zend_hash_find_ptr(obj->prop_handler, member_str); obj 371 ext/dom/php_dom.c hnd->write_func(obj, value); obj 384 ext/dom/php_dom.c dom_object *obj = Z_DOMOBJ_P(object); obj 389 ext/dom/php_dom.c if (obj->prop_handler != NULL) { obj 390 ext/dom/php_dom.c hnd = zend_hash_find_ptr(obj->prop_handler, member_str); obj 397 ext/dom/php_dom.c } else if (hnd->read_func(obj, &tmp) == SUCCESS) { obj 417 ext/dom/php_dom.c dom_object *obj = Z_DOMOBJ_P(object); obj 419 ext/dom/php_dom.c *prop_handlers = obj->prop_handler, obj 439 ext/dom/php_dom.c if (entry->read_func(obj, &value) == FAILURE || !string_key) { obj 1192 ext/dom/php_dom.c PHP_DOM_EXPORT zend_bool php_dom_create_object(xmlNodePtr obj, zval *return_value, dom_object *domobj) obj 1197 ext/dom/php_dom.c if (!obj) { obj 1202 ext/dom/php_dom.c if ((intern = (dom_object *) php_dom_object_get_data((void *) obj))) { obj 1208 ext/dom/php_dom.c switch (obj->type) { obj 1278 ext/dom/php_dom.c php_error_docref(NULL, E_WARNING, "Unsupported node type: %d", obj->type); obj 1289 ext/dom/php_dom.c if (obj->doc != NULL) { obj 1293 ext/dom/php_dom.c php_libxml_increment_doc_ref((php_libxml_node_object *)intern, obj->doc); obj 1296 ext/dom/php_dom.c php_libxml_increment_node_ptr((php_libxml_node_object *)intern, obj, (void *)intern); obj 77 ext/dom/php_dom.h static inline dom_xpath_object *php_xpath_obj_from_obj(zend_object *obj) { obj 78 ext/dom/php_dom.h return (dom_xpath_object*)((char*)(obj) obj 100 ext/dom/php_dom.h dom_object *dom_object_get_data(xmlNodePtr obj); obj 91 ext/dom/processinginstruction.c int dom_processinginstruction_target_read(dom_object *obj, zval *retval) obj 93 ext/dom/processinginstruction.c xmlNodePtr nodep = dom_object_get_node(obj); obj 112 ext/dom/processinginstruction.c int dom_processinginstruction_data_read(dom_object *obj, zval *retval) obj 117 ext/dom/processinginstruction.c nodep = dom_object_get_node(obj); obj 134 ext/dom/processinginstruction.c int dom_processinginstruction_data_write(dom_object *obj, zval *newval) obj 136 ext/dom/processinginstruction.c xmlNode *nodep = dom_object_get_node(obj); obj 101 ext/dom/text.c int dom_text_whole_text_read(dom_object *obj, zval *retval) obj 106 ext/dom/text.c node = dom_object_get_node(obj); obj 49 ext/dom/typeinfo.c int dom_typeinfo_type_name_read(dom_object *obj, zval *retval) obj 62 ext/dom/typeinfo.c int dom_typeinfo_type_namespace_read(dom_object *obj, zval *retval) obj 36 ext/dom/xml_common.h static inline dom_object *php_dom_obj_from_obj(zend_object *obj) { obj 37 ext/dom/xml_common.h return (dom_object*)((char*)(obj) - XtOffsetOf(dom_object, std)); obj 59 ext/dom/xml_common.h PHP_DOM_EXPORT dom_object *php_dom_object_get_data(xmlNodePtr obj); obj 60 ext/dom/xml_common.h PHP_DOM_EXPORT zend_bool php_dom_create_object(xmlNodePtr obj, zval* return_value, dom_object *domobj); obj 61 ext/dom/xml_common.h PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj); obj 85 ext/dom/xml_common.h #define DOM_RET_OBJ(obj, ret, domobject) \ obj 86 ext/dom/xml_common.h *ret = php_dom_create_object(obj, return_value, domobject) obj 81 ext/dom/xpath.c xmlXPathObjectPtr obj; obj 107 ext/dom/xpath.c obj = valuePop(ctxt); obj 108 ext/dom/xpath.c xmlXPathFreeObject(obj); obj 119 ext/dom/xpath.c obj = valuePop(ctxt); obj 120 ext/dom/xpath.c switch (obj->type) { obj 122 ext/dom/xpath.c ZVAL_STRING(&fci.params[i], (char *)obj->stringval); obj 125 ext/dom/xpath.c ZVAL_BOOL(&fci.params[i], obj->boolval); obj 128 ext/dom/xpath.c ZVAL_DOUBLE(&fci.params[i], obj->floatval); obj 132 ext/dom/xpath.c str = (char *)xmlXPathCastToString(obj); obj 138 ext/dom/xpath.c if (obj->nodesetval && obj->nodesetval->nodeNr > 0) { obj 139 ext/dom/xpath.c for (j = 0; j < obj->nodesetval->nodeNr; j++) { obj 140 ext/dom/xpath.c xmlNodePtr node = obj->nodesetval->nodeTab[j]; obj 168 ext/dom/xpath.c ZVAL_STRING(&fci.params[i], (char *)xmlXPathCastToString(obj)); obj 170 ext/dom/xpath.c xmlXPathFreeObject(obj); obj 176 ext/dom/xpath.c obj = valuePop(ctxt); obj 177 ext/dom/xpath.c if (obj->stringval == NULL) { obj 179 ext/dom/xpath.c xmlXPathFreeObject(obj); obj 188 ext/dom/xpath.c ZVAL_STRING(&fci.function_name, (char *) obj->stringval); obj 189 ext/dom/xpath.c xmlXPathFreeObject(obj); obj 207 ext/dom/xpath.c dom_object *obj; obj 214 ext/dom/xpath.c obj = Z_DOMOBJ_P(&retval); obj 215 ext/dom/xpath.c nodep = dom_object_get_node(obj); obj 298 ext/dom/xpath.c int dom_xpath_document_read(dom_object *obj, zval *retval) obj 301 ext/dom/xpath.c xmlXPathContextPtr ctx = (xmlXPathContextPtr) obj->ptr; obj 307 ext/dom/xpath.c php_dom_create_object((xmlNodePtr) docp, retval, obj); obj 59 ext/fileinfo/fileinfo.c static inline finfo_object *php_finfo_fetch_object(zend_object *obj) { obj 60 ext/fileinfo/fileinfo.c return (finfo_object *)((char*)(obj) - XtOffsetOf(finfo_object, zo)); obj 67 ext/fileinfo/fileinfo.c finfo_object *obj; \ obj 68 ext/fileinfo/fileinfo.c obj = Z_FINFO_P(_object); \ obj 69 ext/fileinfo/fileinfo.c obj->ptr = _ptr; \ obj 74 ext/fileinfo/fileinfo.c finfo_object *obj = Z_FINFO_P(object); \ obj 75 ext/fileinfo/fileinfo.c finfo = obj->ptr; \ obj 254 ext/gmp/gmp.c #define GET_GMP_OBJECT_FROM_OBJ(obj) \ obj 255 ext/gmp/gmp.c ((gmp_object *) ((char *) (obj) - XtOffsetOf(gmp_object, std))) obj 373 ext/gmp/gmp.c static void gmp_free_object_storage(zend_object *obj) /* {{{ */ obj 375 ext/gmp/gmp.c gmp_object *intern = GET_GMP_OBJECT_FROM_OBJ(obj); obj 432 ext/gmp/gmp.c static HashTable *gmp_get_debug_info(zval *obj, int *is_temp) /* {{{ */ obj 434 ext/gmp/gmp.c HashTable *ht, *props = zend_std_get_properties(obj); obj 435 ext/gmp/gmp.c mpz_ptr gmpnum = GET_GMP_FROM_ZVAL(obj); obj 448 ext/gmp/gmp.c static zend_object *gmp_clone_obj(zval *obj) /* {{{ */ obj 450 ext/gmp/gmp.c gmp_object *old_object = GET_GMP_OBJECT_FROM_ZVAL(obj); obj 451 ext/gmp/gmp.c gmp_object *new_object = GET_GMP_OBJECT_FROM_OBJ(gmp_create_object(Z_OBJCE_P(obj))); obj 44 ext/intl/breakiterator/breakiterator_class.h static inline BreakIterator_object *php_intl_breakiterator_fetch_object(zend_object *obj) { obj 45 ext/intl/breakiterator/breakiterator_class.h return (BreakIterator_object *)((char*)(obj) - XtOffsetOf(BreakIterator_object, zo)); obj 41 ext/intl/calendar/calendar_class.h static inline Calendar_object *php_intl_calendar_fetch_object(zend_object *obj) { obj 42 ext/intl/calendar/calendar_class.h return (Calendar_object *)((char*)(obj) - XtOffsetOf(Calendar_object, zo)); obj 46 ext/intl/collator/collator_class.h static inline Collator_object *php_intl_collator_fetch_object(zend_object *obj) { obj 47 ext/intl/collator/collator_class.h return (Collator_object *)((char*)(obj) - XtOffsetOf(Collator_object, zo)); obj 221 ext/intl/collator/collator_convert.c zval* collator_convert_object_to_string( zval* obj, zval *rv ) obj 229 ext/intl/collator/collator_convert.c if( Z_TYPE_P( obj ) != IS_OBJECT ) obj 231 ext/intl/collator/collator_convert.c COLLATOR_CONVERT_RETURN_FAILED( obj ); obj 235 ext/intl/collator/collator_convert.c if( Z_OBJ_HT_P(obj)->get ) obj 237 ext/intl/collator/collator_convert.c zstr = Z_OBJ_HT_P(obj)->get( obj, rv ); obj 245 ext/intl/collator/collator_convert.c COLLATOR_CONVERT_RETURN_FAILED( obj ); obj 257 ext/intl/collator/collator_convert.c else if( Z_OBJ_HT_P(obj)->cast_object ) obj 261 ext/intl/collator/collator_convert.c if( Z_OBJ_HT_P(obj)->cast_object( obj, zstr, IS_STRING CAST_OBJECT_SHOULD_FREE ) == FAILURE ) obj 265 ext/intl/collator/collator_convert.c COLLATOR_CONVERT_RETURN_FAILED( obj ); obj 272 ext/intl/collator/collator_convert.c COLLATOR_CONVERT_RETURN_FAILED( obj ); obj 31 ext/intl/collator/collator_convert.h zval* collator_convert_object_to_string( zval* obj, zval *rv ); obj 57 ext/intl/common/common_enum.h static inline IntlIterator_object *php_intl_iterator_fetch_object(zend_object *obj) { obj 58 ext/intl/common/common_enum.h return (IntlIterator_object *)((char*)(obj) - XtOffsetOf(IntlIterator_object, zo)); obj 32 ext/intl/converter/converter.c zend_object obj; obj 36 ext/intl/converter/converter.c static inline php_converter_object *php_converter_fetch_object(zend_object *obj) { obj 37 ext/intl/converter/converter.c return (php_converter_object *)((char*)(obj) - XtOffsetOf(php_converter_object, obj)); obj 45 ext/intl/converter/converter.c #define THROW_UFAILURE(obj, fname, error) php_converter_throw_failure(obj, error, \ obj 348 ext/intl/converter/converter.c if (objval->obj.ce == php_converter_ce) { obj 1004 ext/intl/converter/converter.c static void php_converter_dtor_object(zend_object *obj) { obj 1005 ext/intl/converter/converter.c php_converter_object *objval = php_converter_fetch_object(obj); obj 1023 ext/intl/converter/converter.c zend_object_std_init(&objval->obj, ce ); obj 1026 ext/intl/converter/converter.c objval->obj.handlers = &php_converter_object_handlers; obj 1029 ext/intl/converter/converter.c return &objval->obj; obj 1036 ext/intl/converter/converter.c object_properties_init(&(objval->obj), ce); obj 1068 ext/intl/converter/converter.c zend_objects_clone_members(&(objval->obj), &(oldobj->obj)); obj 1087 ext/intl/converter/converter.c php_converter_object_handlers.offset = XtOffsetOf(php_converter_object, obj); obj 35 ext/intl/dateformat/dateformat_class.h static inline IntlDateFormatter_object *php_intl_dateformatter_fetch_object(zend_object *obj) { obj 36 ext/intl/dateformat/dateformat_class.h return (IntlDateFormatter_object *)((char*)(obj) - XtOffsetOf(IntlDateFormatter_object, zo)); obj 32 ext/intl/formatter/formatter_class.h static inline NumberFormatter_object *php_intl_number_format_fetch_object(zend_object *obj) { obj 33 ext/intl/formatter/formatter_class.h return (NumberFormatter_object *)((char*)(obj) - XtOffsetOf(NumberFormatter_object, zo)); obj 35 ext/intl/intl_data.h #define INTL_METHOD_INIT_VARS(oclass, obj) \ obj 37 ext/intl/intl_data.h oclass##_object* obj = NULL; \ obj 40 ext/intl/intl_data.h #define INTL_DATA_ERROR(obj) (((intl_object *)(obj))->error) obj 41 ext/intl/intl_data.h #define INTL_DATA_ERROR_P(obj) (&(INTL_DATA_ERROR((obj)))) obj 42 ext/intl/intl_data.h #define INTL_DATA_ERROR_CODE(obj) INTL_ERROR_CODE(INTL_DATA_ERROR((obj))) obj 44 ext/intl/intl_data.h #define INTL_METHOD_FETCH_OBJECT(oclass, obj) \ obj 45 ext/intl/intl_data.h obj = Z_##oclass##_P( object ); \ obj 46 ext/intl/intl_data.h intl_error_reset( INTL_DATA_ERROR_P(obj) ); \ obj 58 ext/intl/intl_data.h #define INTL_METHOD_CHECK_STATUS(obj, msg) \ obj 59 ext/intl/intl_data.h intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \ obj 60 ext/intl/intl_data.h if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ obj 62 ext/intl/intl_data.h intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \ obj 67 ext/intl/intl_data.h #define INTL_METHOD_CHECK_STATUS_OR_NULL(obj, msg) \ obj 68 ext/intl/intl_data.h intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \ obj 69 ext/intl/intl_data.h if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ obj 71 ext/intl/intl_data.h intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \ obj 77 ext/intl/intl_data.h #define INTL_CTOR_CHECK_STATUS(obj, msg) \ obj 78 ext/intl/intl_data.h intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \ obj 79 ext/intl/intl_data.h if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ obj 81 ext/intl/intl_data.h intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \ obj 85 ext/intl/intl_data.h #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \ obj 88 ext/intl/intl_data.h u8str = intl_convert_utf16_to_utf8(ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \ obj 92 ext/intl/intl_data.h INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \ obj 35 ext/intl/msgformat/msgformat_class.h static inline MessageFormatter_object *php_intl_messageformatter_fetch_object(zend_object *obj) { obj 36 ext/intl/msgformat/msgformat_class.h return (MessageFormatter_object *)((char*)(obj) - XtOffsetOf(MessageFormatter_object, zo)); obj 35 ext/intl/resourcebundle/resourcebundle_class.h static inline ResourceBundle_object *php_intl_resourcebundle_fetch_object(zend_object *obj) { obj 36 ext/intl/resourcebundle/resourcebundle_class.h return (ResourceBundle_object *)((char*)(obj) - XtOffsetOf(ResourceBundle_object, zend)); obj 39 ext/intl/spoofchecker/spoofchecker_class.h static inline Spoofchecker_object *php_intl_spoofchecker_fetch_object(zend_object *obj) { obj 40 ext/intl/spoofchecker/spoofchecker_class.h return (Spoofchecker_object *)((char*)(obj) - XtOffsetOf(Spoofchecker_object, zo)); obj 47 ext/intl/timezone/timezone_class.h static inline TimeZone_object *php_intl_timezone_fetch_object(zend_object *obj) { obj 48 ext/intl/timezone/timezone_class.h return (TimeZone_object *)((char*)(obj) - XtOffsetOf(TimeZone_object, zo)); obj 37 ext/intl/transliterator/transliterator_class.h static inline Transliterator_object *php_intl_transliterator_fetch_object(zend_object *obj) { obj 38 ext/intl/transliterator/transliterator_class.h return (Transliterator_object *)((char*)(obj) - XtOffsetOf(Transliterator_object, zo)); obj 88 ext/libxml/php_libxml.h static inline php_libxml_node_object *php_libxml_node_fetch_object(zend_object *obj) { obj 89 ext/libxml/php_libxml.h return (php_libxml_node_object *)((char*)(obj) - obj->handlers->offset); obj 73 ext/mysqli/mysqli.c typedef zval *(*mysqli_read_t)(mysqli_object *obj, zval *rv); obj 74 ext/mysqli/mysqli.c typedef int (*mysqli_write_t)(mysqli_object *obj, zval *newval); obj 283 ext/mysqli/mysqli.c static zval *mysqli_read_na(mysqli_object *obj, zval *retval) obj 291 ext/mysqli/mysqli.c static int mysqli_write_na(mysqli_object *obj, zval *newval) obj 303 ext/mysqli/mysqli.c mysqli_object *obj; obj 306 ext/mysqli/mysqli.c obj = Z_MYSQLI_P(object); obj 314 ext/mysqli/mysqli.c if (obj->prop_handler != NULL) { obj 315 ext/mysqli/mysqli.c hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); obj 319 ext/mysqli/mysqli.c retval = hnd->read_func(obj, rv); obj 340 ext/mysqli/mysqli.c mysqli_object *obj; obj 349 ext/mysqli/mysqli.c obj = Z_MYSQLI_P(object); obj 351 ext/mysqli/mysqli.c if (obj->prop_handler != NULL) { obj 352 ext/mysqli/mysqli.c hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); obj 356 ext/mysqli/mysqli.c hnd->write_func(obj, value); obj 382 ext/mysqli/mysqli.c mysqli_object *obj = Z_MYSQLI_P(object); obj 386 ext/mysqli/mysqli.c if ((p = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member))) != NULL) { obj 422 ext/mysqli/mysqli.c mysqli_object *obj = Z_MYSQLI_P(object); obj 423 ext/mysqli/mysqli.c HashTable *retval, *props = obj->prop_handler; obj 1211 ext/mysqli/mysqli_api.c zval obj; obj 1226 ext/mysqli/mysqli_api.c object_init(&obj); obj 1228 ext/mysqli/mysqli_api.c php_add_field_properties(&obj, field); obj 1229 ext/mysqli/mysqli_api.c add_index_zval(return_value, i, &obj); obj 33 ext/mysqli/mysqli_driver.c static zval *name(mysqli_object *obj, zval *retval) \ obj 40 ext/mysqli/mysqli_driver.c static int name(mysqli_object *obj, zval *value) \ obj 47 ext/mysqli/mysqli_driver.c static zval *name(mysqli_object *obj, zval *retval) \ obj 54 ext/mysqli/mysqli_driver.c static int name(mysqli_object *obj, zval *value) \ obj 61 ext/mysqli/mysqli_driver.c static zval *name(mysqli_object *obj, zval *retval) \ obj 68 ext/mysqli/mysqli_driver.c static int name(mysqli_object *obj, zval *value) \ obj 75 ext/mysqli/mysqli_driver.c static int driver_report_write(mysqli_object *obj, zval *value) obj 85 ext/mysqli/mysqli_driver.c static zval *driver_embedded_read(mysqli_object *obj, zval *retval) obj 97 ext/mysqli/mysqli_driver.c static zval *driver_client_version_read(mysqli_object *obj, zval *retval) obj 105 ext/mysqli/mysqli_driver.c static zval *driver_client_info_read(mysqli_object *obj, zval *retval) obj 113 ext/mysqli/mysqli_driver.c static zval *driver_driver_version_read(mysqli_object *obj, zval *retval) obj 35 ext/mysqli/mysqli_prop.c if (!obj->ptr || ((MYSQLI_RESOURCE *)obj->ptr)->status < value ) { \ obj 43 ext/mysqli/mysqli_prop.c if (!obj->ptr || !(MY_MYSQL *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr) { \ obj 44 ext/mysqli/mysqli_prop.c php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name));\ obj 49 ext/mysqli/mysqli_prop.c p = (MYSQL *)((MY_MYSQL *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr)->mysql;\ obj 54 ext/mysqli/mysqli_prop.c if (!obj->ptr) { \ obj 55 ext/mysqli/mysqli_prop.c php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name));\ obj 60 ext/mysqli/mysqli_prop.c p = (MYSQL_RES *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; \ obj 66 ext/mysqli/mysqli_prop.c if (!obj->ptr) { \ obj 67 ext/mysqli/mysqli_prop.c php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name));\ obj 72 ext/mysqli/mysqli_prop.c p = (MYSQL_STMT *)((MY_STMT *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr)->stmt;\ obj 76 ext/mysqli/mysqli_prop.c static zval *__func(mysqli_object *obj, zval *retval) \ obj 94 ext/mysqli/mysqli_prop.c static zval *__func(mysqli_object *obj, zval *retval)\ obj 112 ext/mysqli/mysqli_prop.c static zval *link_client_version_read(mysqli_object *obj, zval *retval) obj 120 ext/mysqli/mysqli_prop.c static zval *link_client_info_read(mysqli_object *obj, zval *retval) obj 129 ext/mysqli/mysqli_prop.c static zval *link_connect_errno_read(mysqli_object *obj, zval *retval) obj 137 ext/mysqli/mysqli_prop.c static zval *link_connect_error_read(mysqli_object *obj, zval *retval) obj 149 ext/mysqli/mysqli_prop.c static zval *link_affected_rows_read(mysqli_object *obj, zval *retval) obj 156 ext/mysqli/mysqli_prop.c mysql = (MY_MYSQL *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 181 ext/mysqli/mysqli_prop.c static zval *link_error_list_read(mysqli_object *obj, zval *retval) obj 187 ext/mysqli/mysqli_prop.c mysql = (MY_MYSQL *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 238 ext/mysqli/mysqli_prop.c static zval *link_stat_read(mysqli_object *obj, zval *retval) obj 250 ext/mysqli/mysqli_prop.c mysql = (MY_MYSQL *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 272 ext/mysqli/mysqli_prop.c static zval *result_type_read(mysqli_object *obj, zval *retval) obj 277 ext/mysqli/mysqli_prop.c p = (MYSQL_RES *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 289 ext/mysqli/mysqli_prop.c static zval *result_lengths_read(mysqli_object *obj, zval *retval) obj 296 ext/mysqli/mysqli_prop.c p = (MYSQL_RES *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 320 ext/mysqli/mysqli_prop.c static zval *stmt_id_read(mysqli_object *obj, zval *retval) obj 326 ext/mysqli/mysqli_prop.c p = (MY_STMT*)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 338 ext/mysqli/mysqli_prop.c static zval *stmt_affected_rows_read(mysqli_object *obj, zval *retval) obj 345 ext/mysqli/mysqli_prop.c p = (MY_STMT *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 368 ext/mysqli/mysqli_prop.c static zval *stmt_error_list_read(mysqli_object *obj, zval *retval) obj 374 ext/mysqli/mysqli_prop.c stmt = (MY_STMT *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 182 ext/mysqli/mysqli_warning.c mysqli_object *obj = Z_MYSQLI_P(getThis()); obj 184 ext/mysqli/mysqli_warning.c if (obj->ptr) { obj 194 ext/mysqli/mysqli_warning.c ((MYSQLI_RESOURCE *)(obj->ptr))->ptr = w; obj 204 ext/mysqli/mysqli_warning.c zval *mysqli_warning_message(mysqli_object *obj, zval *retval) obj 208 ext/mysqli/mysqli_warning.c if (!obj->ptr || !((MYSQLI_RESOURCE *)(obj->ptr))->ptr) { obj 212 ext/mysqli/mysqli_warning.c w = (MYSQLI_WARNING *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 220 ext/mysqli/mysqli_warning.c zval *mysqli_warning_sqlstate(mysqli_object *obj, zval *retval) obj 224 ext/mysqli/mysqli_warning.c if (!obj->ptr || !((MYSQLI_RESOURCE *)(obj->ptr))->ptr) { obj 228 ext/mysqli/mysqli_warning.c w = (MYSQLI_WARNING *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 236 ext/mysqli/mysqli_warning.c zval *mysqli_warning_errno(mysqli_object *obj, zval *retval) obj 240 ext/mysqli/mysqli_warning.c if (!obj->ptr || !((MYSQLI_RESOURCE *)(obj->ptr))->ptr) { obj 243 ext/mysqli/mysqli_warning.c w = (MYSQLI_WARNING *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; obj 253 ext/mysqli/mysqli_warning.c mysqli_object *obj; obj 266 ext/mysqli/mysqli_warning.c obj = Z_MYSQLI_P(z); obj 268 ext/mysqli/mysqli_warning.c if (obj->zo.ce == mysqli_link_class_entry) { obj 281 ext/mysqli/mysqli_warning.c } else if (obj->zo.ce == mysqli_stmt_class_entry) { obj 149 ext/mysqli/php_mysqli_structs.h static inline mysqli_object *php_mysqli_fetch_object(zend_object *obj) { obj 150 ext/mysqli/php_mysqli_structs.h return (mysqli_object *)((char*)(obj) - XtOffsetOf(mysqli_object, zo)); obj 167 ext/mysqli/php_mysqli_structs.h zval *(*r_func)(mysqli_object *obj, zval *retval); obj 168 ext/mysqli/php_mysqli_structs.h int (*w_func)(mysqli_object *obj, zval *value); obj 661 ext/openssl/openssl.c ASN1_OBJECT * obj; obj 675 ext/openssl/openssl.c obj = X509_NAME_ENTRY_get_object(ne); obj 676 ext/openssl/openssl.c nid = OBJ_obj2nid(obj); obj 3974 ext/openssl/openssl.c ASN1_OBJECT *obj; obj 3993 ext/openssl/openssl.c obj = OBJ_nid2obj(nid); obj 3994 ext/openssl/openssl.c if (obj != NULL) { obj 3995 ext/openssl/openssl.c int oir_len = OBJ_obj2txt(oir_buf, sizeof(oir_buf), obj, 1); obj 3997 ext/openssl/openssl.c ASN1_OBJECT_free(obj); obj 515 ext/pdo/php_pdo_driver.h static inline pdo_dbh_t *php_pdo_dbh_fetch_inner(zend_object *obj) { obj 516 ext/pdo/php_pdo_driver.h return (pdo_dbh_t *)(((pdo_dbh_object_t *)((char*)(obj) - XtOffsetOf(pdo_dbh_object_t, std)))->inner); obj 519 ext/pdo/php_pdo_driver.h static inline pdo_dbh_object_t *php_pdo_dbh_fetch_object(zend_object *obj) { obj 520 ext/pdo/php_pdo_driver.h return (pdo_dbh_object_t *)((char*)(obj) - XtOffsetOf(pdo_dbh_object_t, std)); obj 646 ext/pdo/php_pdo_driver.h static inline pdo_stmt_t *php_pdo_stmt_fetch_object(zend_object *obj) { obj 647 ext/pdo/php_pdo_driver.h return (pdo_stmt_t *)((char*)(obj) - XtOffsetOf(pdo_stmt_t, std)); obj 690 ext/pdo_oci/oci_statement.c zend_object *obj = &stmt->std; obj 694 ext/pdo_oci/oci_statement.c GC_REFCOUNT(obj)--; obj 751 ext/pdo_oci/oci_statement.c zend_object *obj; obj 752 ext/pdo_oci/oci_statement.c obj = &stmt->std; obj 754 ext/pdo_oci/oci_statement.c GC_REFCOUNT(obj)++; obj 1860 ext/phar/phar_object.c zval *obj; obj 1874 ext/phar/phar_object.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|s", &obj, zend_ce_traversable, &base, &base_len) == FAILURE) { obj 1885 ext/phar/phar_object.c pass.c = Z_OBJCE_P(obj); obj 1897 ext/phar/phar_object.c if (SUCCESS == spl_iterator_apply(obj, (spl_iterator_apply_func_t) phar_build, (void *) &pass)) { obj 224 ext/reflection/php_reflection.c zval obj; obj 232 ext/reflection/php_reflection.c static inline reflection_object *reflection_object_from_obj(zend_object *obj) { obj 233 ext/reflection/php_reflection.c return (reflection_object*)((char*)(obj) - XtOffsetOf(reflection_object, zo)); obj 342 ext/reflection/php_reflection.c zval_ptr_dtor(&intern->obj); obj 371 ext/reflection/php_reflection.c static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent); obj 376 ext/reflection/php_reflection.c static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent) obj 390 ext/reflection/php_reflection.c if (obj && Z_TYPE_P(obj) == IS_OBJECT) { obj 537 ext/reflection/php_reflection.c if (obj && Z_TYPE_P(obj) == IS_OBJECT && Z_OBJ_HT_P(obj)->get_properties) { obj 539 ext/reflection/php_reflection.c HashTable *properties = Z_OBJ_HT_P(obj)->get_properties(obj); obj 586 ext/reflection/php_reflection.c if (ce == zend_ce_closure && obj && (len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) obj 588 ext/reflection/php_reflection.c && (closure = zend_get_closure_invoke_method(Z_OBJ_P(obj))) != NULL) obj 1241 ext/reflection/php_reflection.c ZVAL_COPY_VALUE(&intern->obj, closure_object); obj 1263 ext/reflection/php_reflection.c ZVAL_COPY_VALUE(&intern->obj, closure_object); obj 1283 ext/reflection/php_reflection.c ZVAL_COPY_VALUE(&intern->obj, closure_object); obj 1306 ext/reflection/php_reflection.c ZVAL_COPY_VALUE(&intern->obj, closure_object); obj 1648 ext/reflection/php_reflection.c ZVAL_COPY_VALUE(&intern->obj, closure); obj 1650 ext/reflection/php_reflection.c ZVAL_UNDEF(&intern->obj); obj 1711 ext/reflection/php_reflection.c if (!Z_ISUNDEF(intern->obj)) { obj 1712 ext/reflection/php_reflection.c closure_this = zend_get_closure_this_ptr(&intern->obj); obj 1731 ext/reflection/php_reflection.c if (!Z_ISUNDEF(intern->obj)) { obj 1732 ext/reflection/php_reflection.c closure_func = zend_get_closure_method_def(&intern->obj); obj 1752 ext/reflection/php_reflection.c if (!Z_ISUNDEF(intern->obj)) { obj 1754 ext/reflection/php_reflection.c ZVAL_COPY(return_value, &intern->obj); obj 2092 ext/reflection/php_reflection.c reflection_parameter_factory(_copy_function(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, arg_info, i, fptr->common.required_num_args, ¶meter); obj 2169 ext/reflection/php_reflection.c ZVAL_COPY(&intern->obj, generator); obj 2184 ext/reflection/php_reflection.c zend_generator *generator = (zend_generator *) Z_OBJ(Z_REFLECTION_P(getThis())->obj); obj 2219 ext/reflection/php_reflection.c zend_generator *generator = (zend_generator *) Z_OBJ(Z_REFLECTION_P(getThis())->obj); obj 2235 ext/reflection/php_reflection.c zend_generator *generator = (zend_generator *) Z_OBJ(Z_REFLECTION_P(getThis())->obj); obj 2251 ext/reflection/php_reflection.c zend_generator *generator = (zend_generator *) Z_OBJ(Z_REFLECTION_P(getThis())->obj); obj 2275 ext/reflection/php_reflection.c zend_generator *generator = (zend_generator *) Z_OBJ(Z_REFLECTION_P(getThis())->obj); obj 2295 ext/reflection/php_reflection.c zend_generator *generator = (zend_generator *) Z_OBJ(Z_REFLECTION_P(getThis())->obj); obj 2511 ext/reflection/php_reflection.c ZVAL_COPY_VALUE(&intern->obj, reference); obj 2559 ext/reflection/php_reflection.c reflection_function_factory(_copy_function(param->fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, return_value); obj 2561 ext/reflection/php_reflection.c reflection_method_factory(param->fptr->common.scope, _copy_function(param->fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, return_value); obj 2696 ext/reflection/php_reflection.c reflection_type_factory(_copy_function(param->fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, param->arg_info, return_value); obj 3123 ext/reflection/php_reflection.c zval *obj; obj 3132 ext/reflection/php_reflection.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "o", &obj) == FAILURE) { obj 3136 ext/reflection/php_reflection.c if (!instanceof_function(Z_OBJCE_P(obj), mptr->common.scope)) { obj 3142 ext/reflection/php_reflection.c if (Z_OBJCE_P(obj) == zend_ce_closure && obj 3145 ext/reflection/php_reflection.c ZVAL_COPY(return_value, obj); obj 3147 ext/reflection/php_reflection.c zend_create_fake_closure(return_value, mptr, mptr->common.scope, Z_OBJCE_P(obj), obj); obj 3543 ext/reflection/php_reflection.c reflection_type_factory(_copy_function(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, &fptr->common.arg_info[-1], return_value); obj 3690 ext/reflection/php_reflection.c ZVAL_COPY_VALUE(&intern->obj, argument); obj 3881 ext/reflection/php_reflection.c _class_string(&str, ce, &intern->obj, ""); obj 4080 ext/reflection/php_reflection.c if (ce == zend_ce_closure && !Z_ISUNDEF(intern->obj) && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) obj 4082 ext/reflection/php_reflection.c && (mptr = zend_get_closure_invoke_method(Z_OBJ(intern->obj))) != NULL) obj 4088 ext/reflection/php_reflection.c } else if (ce == zend_ce_closure && Z_ISUNDEF(intern->obj) && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) obj 4109 ext/reflection/php_reflection.c static void _addmethod(zend_function *mptr, zend_class_entry *ce, zval *retval, zend_long filter, zval *obj) obj 4115 ext/reflection/php_reflection.c if (ce == zend_ce_closure && obj && (len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) obj 4117 ext/reflection/php_reflection.c && (closure = zend_get_closure_invoke_method(Z_OBJ_P(obj))) != NULL) obj 4137 ext/reflection/php_reflection.c zval *obj = va_arg(args, zval *); obj 4139 ext/reflection/php_reflection.c _addmethod(mptr, ce, retval, filter, obj); obj 4166 ext/reflection/php_reflection.c zend_hash_apply_with_arguments(&ce->function_table, (apply_func_args_t) _addmethod_va, 4, &ce, return_value, filter, intern->obj); obj 4167 ext/reflection/php_reflection.c if (Z_TYPE(intern->obj) != IS_UNDEF && instanceof_function(ce, zend_ce_closure)) { obj 4168 ext/reflection/php_reflection.c zend_function *closure = zend_get_closure_invoke_method(Z_OBJ(intern->obj)); obj 4170 ext/reflection/php_reflection.c _addmethod(closure, ce, return_value, filter, &intern->obj); obj 4199 ext/reflection/php_reflection.c if (Z_TYPE(intern->obj) != IS_UNDEF && Z_OBJ_HANDLER(intern->obj, has_property)) { obj 4201 ext/reflection/php_reflection.c if (Z_OBJ_HANDLER(intern->obj, has_property)(&intern->obj, &property, 2, NULL)) { obj 4234 ext/reflection/php_reflection.c } else if (Z_TYPE(intern->obj) != IS_UNDEF) { obj 4236 ext/reflection/php_reflection.c if (zend_hash_exists(Z_OBJ_HT(intern->obj)->get_properties(&intern->obj), name)) { obj 4363 ext/reflection/php_reflection.c if (Z_TYPE(intern->obj) != IS_UNDEF && (filter & ZEND_ACC_PUBLIC) != 0 && Z_OBJ_HT(intern->obj)->get_properties) { obj 4364 ext/reflection/php_reflection.c HashTable *properties = Z_OBJ_HT(intern->obj)->get_properties(&intern->obj); obj 4486 ext/reflection/php_reflection.c zval obj; obj 4495 ext/reflection/php_reflection.c if (!Z_ISUNDEF(intern->obj)) { obj 4499 ext/reflection/php_reflection.c RETURN_BOOL(Z_OBJ_HANDLER(intern->obj, clone_obj) != NULL); obj 4505 ext/reflection/php_reflection.c if (UNEXPECTED(object_init_ex(&obj, ce) != SUCCESS)) { obj 4508 ext/reflection/php_reflection.c RETVAL_BOOL(Z_OBJ_HANDLER(obj, clone_obj) != NULL); obj 4509 ext/reflection/php_reflection.c zval_dtor(&obj); obj 1833 ext/session/session.c zval *obj = NULL; obj 1838 ext/session/session.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|b", &obj, php_session_iface_entry, ®ister_shutdown) == FAILURE) { obj 1846 ext/session/session.c if ((current_mptr = zend_hash_find_ptr(&Z_OBJCE_P(obj)->function_table, func_name))) { obj 1852 ext/session/session.c Z_ADDREF_P(obj); obj 1853 ext/session/session.c add_next_index_zval(&PS(mod_user_names).names[i], obj); obj 1865 ext/session/session.c if ((current_mptr = zend_hash_find_ptr(&Z_OBJCE_P(obj)->function_table, func_name))) { obj 1870 ext/session/session.c Z_ADDREF_P(obj); obj 1871 ext/session/session.c add_next_index_zval(&PS(mod_user_names).names[i], obj); obj 1885 ext/session/session.c if ((current_mptr = zend_hash_find_ptr(&Z_OBJCE_P(obj)->function_table, func_name))) { obj 1890 ext/session/session.c Z_ADDREF_P(obj); obj 1891 ext/session/session.c add_next_index_zval(&PS(mod_user_names).names[i], obj); obj 44 ext/simplexml/php_simplexml_exports.h static inline php_sxe_object *php_sxe_fetch_object(zend_object *obj) /* {{{ */ { obj 45 ext/simplexml/php_simplexml_exports.h return (php_sxe_object *)((char*)(obj) - XtOffsetOf(php_sxe_object, zo)); obj 101 ext/snmp/php_snmp.h static inline php_snmp_object *php_snmp_fetch_object(zend_object *obj) { obj 102 ext/snmp/php_snmp.h return (php_snmp_object *)((char*)(obj) - XtOffsetOf(php_snmp_object, zo)); obj 1965 ext/snmp/snmp.c php_snmp_object *obj; obj 1969 ext/snmp/snmp.c obj = Z_SNMP_P(object); obj 1980 ext/snmp/snmp.c ret = hnd->read_func(obj, rv); obj 2004 ext/snmp/snmp.c php_snmp_object *obj; obj 2013 ext/snmp/snmp.c obj = Z_SNMP_P(object); obj 2018 ext/snmp/snmp.c hnd->write_func(obj, value); obj 2078 ext/snmp/snmp.c php_snmp_object *obj; obj 2085 ext/snmp/snmp.c obj = Z_SNMP_P(object); obj 2089 ext/snmp/snmp.c if (!hnd->read_func || hnd->read_func(obj, &rv) != SUCCESS) { obj 2095 ext/snmp/snmp.c return obj->zo.properties; obj 200 ext/soap/php_soap.h void add_soap_fault(zval *obj, char *fault_code, char *fault_string, char *fault_actor, zval *fault_detail); obj 52 ext/soap/soap.c static void clear_soap_fault(zval *obj); obj 53 ext/soap/soap.c static void set_soap_fault(zval *obj, char *fault_code_ns, char *fault_code, char *fault_string, char *fault_actor, zval *fault_detail, char *name); obj 54 ext/soap/soap.c static void add_soap_fault_ex(zval *fault, zval *obj, char *fault_code, char *fault_string, char *fault_actor, zval *fault_detail); obj 1340 ext/soap/soap.c zval *obj; obj 1346 ext/soap/soap.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "o", &obj) == FAILURE) { obj 1352 ext/soap/soap.c ZVAL_COPY(&service->soap_object, obj); obj 3260 ext/soap/soap.c static void clear_soap_fault(zval *obj) obj 3262 ext/soap/soap.c if (obj != NULL && Z_TYPE_P(obj) == IS_OBJECT) { obj 3263 ext/soap/soap.c zend_hash_str_del(Z_OBJPROP_P(obj), "__soap_fault", sizeof("__soap_fault")-1); obj 3267 ext/soap/soap.c static void add_soap_fault_ex(zval *fault, zval *obj, char *fault_code, char *fault_string, char *fault_actor, zval *fault_detail) obj 3271 ext/soap/soap.c add_property_zval(obj, "__soap_fault", fault); obj 3275 ext/soap/soap.c void add_soap_fault(zval *obj, char *fault_code, char *fault_string, char *fault_actor, zval *fault_detail) obj 3281 ext/soap/soap.c add_property_zval(obj, "__soap_fault", &fault); obj 3285 ext/soap/soap.c static void set_soap_fault(zval *obj, char *fault_code_ns, char *fault_code, char *fault_string, char *fault_actor, zval *fault_detail, char *name) obj 3287 ext/soap/soap.c if (Z_TYPE_P(obj) != IS_OBJECT) { obj 3288 ext/soap/soap.c object_init_ex(obj, soap_fault_class_entry); obj 3291 ext/soap/soap.c add_property_string(obj, "faultstring", fault_string ? fault_string : ""); obj 3292 ext/soap/soap.c zend_update_property_string(zend_ce_exception, obj, "message", sizeof("message")-1, (fault_string ? fault_string : "")); obj 3298 ext/soap/soap.c add_property_string(obj, "faultcode", fault_code); obj 3299 ext/soap/soap.c add_property_string(obj, "faultcodens", fault_code_ns); obj 3302 ext/soap/soap.c add_property_string(obj, "faultcode", fault_code); obj 3307 ext/soap/soap.c add_property_string(obj, "faultcodens", SOAP_1_1_ENV_NAMESPACE); obj 3311 ext/soap/soap.c add_property_string(obj, "faultcode", "Sender"); obj 3312 ext/soap/soap.c add_property_string(obj, "faultcodens", SOAP_1_2_ENV_NAMESPACE); obj 3314 ext/soap/soap.c add_property_string(obj, "faultcode", "Receiver"); obj 3315 ext/soap/soap.c add_property_string(obj, "faultcodens", SOAP_1_2_ENV_NAMESPACE); obj 3319 ext/soap/soap.c add_property_string(obj, "faultcode", fault_code); obj 3320 ext/soap/soap.c add_property_string(obj, "faultcodens", SOAP_1_2_ENV_NAMESPACE); obj 3322 ext/soap/soap.c add_property_string(obj, "faultcode", fault_code); obj 3328 ext/soap/soap.c add_property_string(obj, "faultactor", fault_actor); obj 3331 ext/soap/soap.c add_property_zval(obj, "detail", fault_detail); obj 3334 ext/soap/soap.c add_property_string(obj, "_name", name); obj 89 ext/spl/php_spl.c zval *obj; obj 93 ext/spl/php_spl.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|b", &obj, &autoload) == FAILURE) { obj 97 ext/spl/php_spl.c if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { obj 102 ext/spl/php_spl.c if (Z_TYPE_P(obj) == IS_STRING) { obj 103 ext/spl/php_spl.c if (NULL == (ce = spl_find_ce_by_name(Z_STR_P(obj), autoload))) { obj 107 ext/spl/php_spl.c ce = Z_OBJCE_P(obj); obj 123 ext/spl/php_spl.c zval *obj; obj 127 ext/spl/php_spl.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|b", &obj, &autoload) == FAILURE) { obj 130 ext/spl/php_spl.c if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { obj 135 ext/spl/php_spl.c if (Z_TYPE_P(obj) == IS_STRING) { obj 136 ext/spl/php_spl.c if (NULL == (ce = spl_find_ce_by_name(Z_STR_P(obj), autoload))) { obj 140 ext/spl/php_spl.c ce = Z_OBJCE_P(obj); obj 152 ext/spl/php_spl.c zval *obj; obj 156 ext/spl/php_spl.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|b", &obj, &autoload) == FAILURE) { obj 159 ext/spl/php_spl.c if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { obj 164 ext/spl/php_spl.c if (Z_TYPE_P(obj) == IS_STRING) { obj 165 ext/spl/php_spl.c if (NULL == (ce = spl_find_ce_by_name(Z_STR_P(obj), autoload))) { obj 169 ext/spl/php_spl.c ce = Z_OBJCE_P(obj); obj 390 ext/spl/php_spl.c zval obj; obj 398 ext/spl/php_spl.c if (!Z_ISUNDEF(alfi->obj)) { obj 399 ext/spl/php_spl.c zval_ptr_dtor(&alfi->obj); obj 429 ext/spl/php_spl.c zend_call_method(Z_ISUNDEF(alfi->obj)? NULL : &alfi->obj, alfi->ce, &alfi->func_ptr, ZSTR_VAL(func_name), ZSTR_LEN(func_name), retval, 1, class_name, NULL); obj 563 ext/spl/php_spl.c ZVAL_OBJ(&alfi.obj, obj_ptr); obj 564 ext/spl/php_spl.c Z_ADDREF(alfi.obj); obj 566 ext/spl/php_spl.c ZVAL_UNDEF(&alfi.obj); obj 580 ext/spl/php_spl.c ZVAL_UNDEF(&spl_alfi.obj); obj 593 ext/spl/php_spl.c Z_DELREF(alfi.obj); obj 728 ext/spl/php_spl.c if (!Z_ISUNDEF(alfi->obj)) { obj 729 ext/spl/php_spl.c Z_ADDREF(alfi->obj); obj 730 ext/spl/php_spl.c add_next_index_zval(&tmp, &alfi->obj); obj 755 ext/spl/php_spl.c zval *obj; obj 757 ext/spl/php_spl.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "o", &obj) == FAILURE) { obj 761 ext/spl/php_spl.c RETURN_NEW_STR(php_spl_object_hash(obj)); obj 765 ext/spl/php_spl.c PHPAPI zend_string *php_spl_object_hash(zval *obj) /* {{{*/ obj 779 ext/spl/php_spl.c hash_handle = SPL_G(hash_mask_handle)^(intptr_t)Z_OBJ_HANDLE_P(obj); obj 888 ext/spl/php_spl.c ZEND_ARG_INFO(0, obj) obj 79 ext/spl/php_spl.h PHPAPI zend_string *php_spl_object_hash(zval *obj); obj 78 ext/spl/spl_array.c static inline spl_array_object *spl_array_from_obj(zend_object *obj) /* {{{ */ { obj 79 ext/spl/spl_array.c return (spl_array_object*)((char*)(obj) - XtOffsetOf(spl_array_object, std)); obj 98 ext/spl/spl_array.c zend_object *obj = Z_OBJ(intern->array); obj 99 ext/spl/spl_array.c if (!obj->properties) { obj 100 ext/spl/spl_array.c rebuild_object_properties(obj); obj 101 ext/spl/spl_array.c } else if (GC_REFCOUNT(obj->properties) > 1) { obj 102 ext/spl/spl_array.c if (EXPECTED(!(GC_FLAGS(obj->properties) & IS_ARRAY_IMMUTABLE))) { obj 103 ext/spl/spl_array.c GC_REFCOUNT(obj->properties)--; obj 105 ext/spl/spl_array.c obj->properties = zend_array_dup(obj->properties); obj 107 ext/spl/spl_array.c return obj->properties; obj 808 ext/spl/spl_array.c static HashTable* spl_array_get_debug_info(zval *obj, int *is_temp) /* {{{ */ obj 813 ext/spl/spl_array.c spl_array_object *intern = Z_SPLARRAY_P(obj); obj 833 ext/spl/spl_array.c base = Z_OBJ_HT_P(obj) == &spl_handler_ArrayIterator obj 844 ext/spl/spl_array.c static HashTable *spl_array_get_gc(zval *obj, zval **gc_data, int *gc_data_count) /* {{{ */ obj 846 ext/spl/spl_array.c spl_array_object *intern = Z_SPLARRAY_P(obj); obj 849 ext/spl/spl_array.c return zend_std_get_properties(obj); obj 107 ext/spl/spl_directory.h static inline spl_filesystem_object *spl_filesystem_from_obj(zend_object *obj) /* {{{ */ { obj 108 ext/spl/spl_directory.h return (spl_filesystem_object*)((char*)(obj) - XtOffsetOf(spl_filesystem_object, std)); obj 114 ext/spl/spl_directory.h static inline spl_filesystem_iterator* spl_filesystem_object_to_iterator(spl_filesystem_object *obj) obj 119 ext/spl/spl_directory.h it->object = (void *)obj; obj 109 ext/spl/spl_dllist.c static inline spl_dllist_object *spl_dllist_from_obj(zend_object *obj) /* {{{ */ { obj 110 ext/spl/spl_dllist.c return (spl_dllist_object*)((char*)(obj) - XtOffsetOf(spl_dllist_object, std)); obj 495 ext/spl/spl_dllist.c static HashTable* spl_dllist_object_get_debug_info(zval *obj, int *is_temp) /* {{{{ */ obj 497 ext/spl/spl_dllist.c spl_dllist_object *intern = Z_SPLDLLIST_P(obj); obj 540 ext/spl/spl_dllist.c static HashTable *spl_dllist_object_get_gc(zval *obj, zval **gc_data, int *gc_data_count) /* {{{ */ obj 542 ext/spl/spl_dllist.c spl_dllist_object *intern = Z_SPLDLLIST_P(obj); obj 558 ext/spl/spl_dllist.c return zend_std_get_properties(obj); obj 76 ext/spl/spl_fixedarray.c static inline spl_fixedarray_object *spl_fixed_array_from_obj(zend_object *obj) /* {{{ */ { obj 77 ext/spl/spl_fixedarray.c return (spl_fixedarray_object*)((char*)(obj) - XtOffsetOf(spl_fixedarray_object, std)); obj 146 ext/spl/spl_fixedarray.c static HashTable* spl_fixedarray_object_get_gc(zval *obj, zval **table, int *n) /* {{{{ */ obj 148 ext/spl/spl_fixedarray.c spl_fixedarray_object *intern = Z_SPLFIXEDARRAY_P(obj); obj 149 ext/spl/spl_fixedarray.c HashTable *ht = zend_std_get_properties(obj); obj 163 ext/spl/spl_fixedarray.c static HashTable* spl_fixedarray_object_get_properties(zval *obj) /* {{{{ */ obj 165 ext/spl/spl_fixedarray.c spl_fixedarray_object *intern = Z_SPLFIXEDARRAY_P(obj); obj 166 ext/spl/spl_fixedarray.c HashTable *ht = zend_std_get_properties(obj); obj 85 ext/spl/spl_heap.c static inline spl_heap_object *spl_heap_from_obj(zend_object *obj) /* {{{ */ { obj 86 ext/spl/spl_heap.c return (spl_heap_object*)((char*)(obj) - XtOffsetOf(spl_heap_object, std)); obj 480 ext/spl/spl_heap.c static HashTable* spl_heap_object_get_debug_info_helper(zend_class_entry *ce, zval *obj, int *is_temp) { /* {{{ */ obj 481 ext/spl/spl_heap.c spl_heap_object *intern = Z_SPLHEAP_P(obj); obj 524 ext/spl/spl_heap.c static HashTable *spl_heap_object_get_gc(zval *obj, zval **gc_data, int *gc_data_count) /* {{{ */ obj 526 ext/spl/spl_heap.c spl_heap_object *intern = Z_SPLHEAP_P(obj); obj 530 ext/spl/spl_heap.c return std_object_handlers.get_properties(obj); obj 534 ext/spl/spl_heap.c static HashTable* spl_heap_object_get_debug_info(zval *obj, int *is_temp) /* {{{ */ obj 536 ext/spl/spl_heap.c return spl_heap_object_get_debug_info_helper(spl_ce_SplHeap, obj, is_temp); obj 540 ext/spl/spl_heap.c static HashTable* spl_pqueue_object_get_debug_info(zval *obj, int *is_temp) /* {{{ */ obj 542 ext/spl/spl_heap.c return spl_heap_object_get_debug_info_helper(spl_ce_SplPriorityQueue, obj, is_temp); obj 130 ext/spl/spl_iterators.c static inline spl_recursive_it_object *spl_recursive_it_from_obj(zend_object *obj) /* {{{ */ { obj 131 ext/spl/spl_iterators.c return (spl_recursive_it_object*)((char*)(obj) - XtOffsetOf(spl_recursive_it_object, std)); obj 3490 ext/spl/spl_iterators.c PHPAPI int spl_iterator_apply(zval *obj, spl_iterator_apply_func_t apply_func, void *puser) obj 3493 ext/spl/spl_iterators.c zend_class_entry *ce = Z_OBJCE_P(obj); obj 3495 ext/spl/spl_iterators.c iter = ce->get_iterator(ce, obj, 0); obj 3581 ext/spl/spl_iterators.c zval *obj; obj 3584 ext/spl/spl_iterators.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|b", &obj, zend_ce_traversable, &use_keys) == FAILURE) { obj 3590 ext/spl/spl_iterators.c if (spl_iterator_apply(obj, use_keys ? spl_iterator_to_array_apply : spl_iterator_to_values_apply, (void*)return_value) != SUCCESS) { obj 3607 ext/spl/spl_iterators.c zval *obj; obj 3610 ext/spl/spl_iterators.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "O", &obj, zend_ce_traversable) == FAILURE) { obj 3614 ext/spl/spl_iterators.c if (spl_iterator_apply(obj, spl_iterator_count_apply, (void*)&count) == SUCCESS) { obj 3621 ext/spl/spl_iterators.c zval *obj; obj 3653 ext/spl/spl_iterators.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "Of|a!", &apply_info.obj, zend_ce_traversable, &apply_info.fci, &apply_info.fcc, &apply_info.args) == FAILURE) { obj 3659 ext/spl/spl_iterators.c if (spl_iterator_apply(apply_info.obj, spl_iterator_func_apply, (void*)&apply_info) == SUCCESS) { obj 170 ext/spl/spl_iterators.h static inline spl_dual_it_object *spl_dual_it_from_obj(zend_object *obj) /* {{{ */ { obj 171 ext/spl/spl_iterators.h return (spl_dual_it_object*)((char*)(obj) - XtOffsetOf(spl_dual_it_object, std)); obj 178 ext/spl/spl_iterators.h PHPAPI int spl_iterator_apply(zval *obj, spl_iterator_apply_func_t apply_func, void *puser); obj 95 ext/spl/spl_observer.c zval obj; obj 99 ext/spl/spl_observer.c static inline spl_SplObjectStorage *spl_object_storage_from_obj(zend_object *obj) /* {{{ */ { obj 100 ext/spl/spl_observer.c return (spl_SplObjectStorage*)((char*)(obj) - XtOffsetOf(spl_SplObjectStorage, std)); obj 120 ext/spl/spl_observer.c static zend_string *spl_object_storage_get_hash(spl_SplObjectStorage *intern, zval *this, zval *obj) { obj 123 ext/spl/spl_observer.c zend_call_method_with_1_params(this, intern->std.ce, &intern->fptr_get_hash, "getHash", &rv, obj); obj 138 ext/spl/spl_observer.c memcpy(ZSTR_VAL(hash), (void*)&Z_OBJ_P(obj), sizeof(zend_object*)); obj 151 ext/spl/spl_observer.c zval_ptr_dtor(&el->obj); obj 161 ext/spl/spl_observer.c spl_SplObjectStorageElement *spl_object_storage_attach(spl_SplObjectStorage *intern, zval *this, zval *obj, zval *inf) /* {{{ */ obj 164 ext/spl/spl_observer.c zend_string *hash = spl_object_storage_get_hash(intern, this, obj); obj 183 ext/spl/spl_observer.c ZVAL_COPY(&element.obj, obj); obj 194 ext/spl/spl_observer.c int spl_object_storage_detach(spl_SplObjectStorage *intern, zval *this, zval *obj) /* {{{ */ obj 197 ext/spl/spl_observer.c zend_string *hash = spl_object_storage_get_hash(intern, this, obj); obj 211 ext/spl/spl_observer.c spl_object_storage_attach(intern, this, &element->obj, &element->inf); obj 271 ext/spl/spl_observer.c static HashTable* spl_object_storage_debug_info(zval *obj, int *is_temp) /* {{{ */ obj 273 ext/spl/spl_observer.c spl_SplObjectStorage *intern = Z_SPLOBJSTORAGE_P(obj); obj 283 ext/spl/spl_observer.c props = Z_OBJPROP_P(obj); obj 292 ext/spl/spl_observer.c md5str = php_spl_object_hash(&element->obj); obj 297 ext/spl/spl_observer.c add_assoc_zval_ex(&tmp, "obj", sizeof("obj") - 1, &element->obj); obj 312 ext/spl/spl_observer.c static HashTable *spl_object_storage_get_gc(zval *obj, zval **table, int *n) /* {{{ */ obj 315 ext/spl/spl_observer.c spl_SplObjectStorage *intern = Z_SPLOBJSTORAGE_P(obj); obj 324 ext/spl/spl_observer.c ZVAL_COPY_VALUE(&intern->gcdata[i++], &element->obj); obj 331 ext/spl/spl_observer.c return std_object_handlers.get_properties(obj); obj 369 ext/spl/spl_observer.c int spl_object_storage_contains(spl_SplObjectStorage *intern, zval *this, zval *obj) /* {{{ */ obj 372 ext/spl/spl_observer.c zend_string *hash = spl_object_storage_get_hash(intern, this, obj); obj 386 ext/spl/spl_observer.c zval *obj, *inf = NULL; obj 390 ext/spl/spl_observer.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "o|z!", &obj, &inf) == FAILURE) { obj 393 ext/spl/spl_observer.c spl_object_storage_attach(intern, getThis(), obj, inf); obj 400 ext/spl/spl_observer.c zval *obj; obj 403 ext/spl/spl_observer.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "o", &obj) == FAILURE) { obj 406 ext/spl/spl_observer.c spl_object_storage_detach(intern, getThis(), obj); obj 416 ext/spl/spl_observer.c zval *obj; obj 418 ext/spl/spl_observer.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "o", &obj) == FAILURE) { obj 422 ext/spl/spl_observer.c RETURN_NEW_STR(php_spl_object_hash(obj)); obj 430 ext/spl/spl_observer.c zval *obj; obj 435 ext/spl/spl_observer.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "o", &obj) == FAILURE) { obj 439 ext/spl/spl_observer.c hash = spl_object_storage_get_hash(intern, getThis(), obj); obj 461 ext/spl/spl_observer.c zval *obj; obj 465 ext/spl/spl_observer.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "O", &obj, spl_ce_SplObjectStorage) == FAILURE) { obj 469 ext/spl/spl_observer.c other = Z_SPLOBJSTORAGE_P(obj); obj 480 ext/spl/spl_observer.c zval *obj; obj 485 ext/spl/spl_observer.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "O", &obj, spl_ce_SplObjectStorage) == FAILURE) { obj 489 ext/spl/spl_observer.c other = Z_SPLOBJSTORAGE_P(obj); obj 493 ext/spl/spl_observer.c if (spl_object_storage_detach(intern, getThis(), &element->obj) == FAILURE) { obj 508 ext/spl/spl_observer.c zval *obj; obj 513 ext/spl/spl_observer.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "O", &obj, spl_ce_SplObjectStorage) == FAILURE) { obj 517 ext/spl/spl_observer.c other = Z_SPLOBJSTORAGE_P(obj); obj 520 ext/spl/spl_observer.c if (!spl_object_storage_contains(other, getThis(), &element->obj)) { obj 521 ext/spl/spl_observer.c spl_object_storage_detach(intern, getThis(), &element->obj); obj 536 ext/spl/spl_observer.c zval *obj; obj 539 ext/spl/spl_observer.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "o", &obj) == FAILURE) { obj 542 ext/spl/spl_observer.c RETURN_BOOL(spl_object_storage_contains(intern, getThis(), obj)); obj 625 ext/spl/spl_observer.c ZVAL_COPY(return_value, &element->obj); obj 710 ext/spl/spl_observer.c php_var_serialize(&buf, &element->obj, &var_hash); obj 816 ext/spl/spl_observer.c if (!Z_ISUNDEF(pelement->obj)) { obj 817 ext/spl/spl_observer.c var_push_dtor(&var_hash, &pelement->obj); obj 821 ext/spl/spl_observer.c var_replace(&var_hash, &entry, &element->obj); obj 1021 ext/spl/spl_observer.c it = &element->obj; obj 1044 ext/spl/spl_observer.c it = &element->obj; obj 1074 ext/spl/spl_observer.c it = &element->obj; obj 1110 ext/spl/spl_observer.c it = &element->obj; obj 85 ext/sqlite3/php_sqlite3_structs.h static inline php_sqlite3_db_object *php_sqlite3_db_from_obj(zend_object *obj) { obj 86 ext/sqlite3/php_sqlite3_structs.h return (php_sqlite3_db_object*)((char*)(obj) - XtOffsetOf(php_sqlite3_db_object, zo)); obj 117 ext/sqlite3/php_sqlite3_structs.h static inline php_sqlite3_result *php_sqlite3_result_from_obj(zend_object *obj) { obj 118 ext/sqlite3/php_sqlite3_structs.h return (php_sqlite3_result*)((char*)(obj) - XtOffsetOf(php_sqlite3_result, zo)); obj 136 ext/sqlite3/php_sqlite3_structs.h static inline php_sqlite3_stmt *php_sqlite3_stmt_from_obj(zend_object *obj) { obj 137 ext/sqlite3/php_sqlite3_structs.h return (php_sqlite3_stmt*)((char*)(obj) - XtOffsetOf(php_sqlite3_stmt, zo)); obj 4953 ext/standard/basic_functions.c zval *obj, *method; obj 4958 ext/standard/basic_functions.c && (obj = zend_hash_index_find(Z_ARRVAL_P(function), 0)) != NULL obj 4960 ext/standard/basic_functions.c && Z_TYPE_P(obj) == IS_OBJECT obj 4962 ext/standard/basic_functions.c php_error_docref(NULL, E_WARNING, "Unable to call %s::%s() - function does not exist", ZSTR_VAL(Z_OBJCE_P(obj)->name), Z_STRVAL_P(method)); obj 131 ext/standard/user_filters.c zval *obj = &thisfilter->abstract; obj 135 ext/standard/user_filters.c if (obj == NULL) { obj 143 ext/standard/user_filters.c obj, obj 153 ext/standard/user_filters.c zval_ptr_dtor(obj); obj 166 ext/standard/user_filters.c zval *obj = &thisfilter->abstract; obj 178 ext/standard/user_filters.c if (!zend_hash_str_exists(Z_OBJPROP_P(obj), "stream", sizeof("stream")-1)) { obj 184 ext/standard/user_filters.c add_property_zval(obj, "stream", &tmp); obj 204 ext/standard/user_filters.c obj, obj 246 ext/standard/user_filters.c Z_OBJ_HANDLER_P(obj, unset_property)(obj, &zpropname, NULL); obj 268 ext/standard/user_filters.c zval obj, zfilter; obj 332 ext/standard/user_filters.c object_init_ex(&obj, fdat->ce); obj 335 ext/standard/user_filters.c add_property_string(&obj, "filtername", (char*)filtername); obj 339 ext/standard/user_filters.c add_property_zval(&obj, "params", filterparams); obj 341 ext/standard/user_filters.c add_property_null(&obj, "params"); obj 348 ext/standard/user_filters.c &obj, obj 364 ext/standard/user_filters.c zval_ptr_dtor(&obj); obj 375 ext/standard/user_filters.c ZVAL_COPY_VALUE(&filter->abstract, &obj); obj 376 ext/standard/user_filters.c add_property_zval(&obj, "filter", &zfilter); obj 49 ext/tidy/tidy.c PHPTidyObj *obj; \ obj 60 ext/tidy/tidy.c obj = Z_TIDY_P(object); \ obj 63 ext/tidy/tidy.c PHPTidyObj *obj; \ obj 68 ext/tidy/tidy.c obj = Z_TIDY_P(object); \ obj 197 ext/tidy/tidy.c static inline PHPTidyObj *php_tidy_fetch_object(zend_object *obj) { obj 198 ext/tidy/tidy.c return (PHPTidyObj *)((char*)(obj) - XtOffsetOf(PHPTidyObj, std)); obj 741 ext/tidy/tidy.c PHPTidyObj *obj; obj 757 ext/tidy/tidy.c obj = Z_TIDY_P(in); obj 759 ext/tidy/tidy.c tidySaveBuffer (obj->ptdoc->doc, &output); obj 774 ext/tidy/tidy.c PHPTidyObj *obj; obj 790 ext/tidy/tidy.c obj = Z_TIDY_P(in); obj 792 ext/tidy/tidy.c if (obj->ptdoc) { obj 793 ext/tidy/tidy.c tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf); obj 808 ext/tidy/tidy.c static void tidy_doc_update_properties(PHPTidyObj *obj) obj 815 ext/tidy/tidy.c tidySaveBuffer (obj->ptdoc->doc, &output); obj 818 ext/tidy/tidy.c if (!obj->std.properties) { obj 819 ext/tidy/tidy.c rebuild_object_properties(&obj->std); obj 822 ext/tidy/tidy.c zend_hash_str_update(obj->std.properties, "value", sizeof("value") - 1, &temp); obj 827 ext/tidy/tidy.c if (obj->ptdoc->errbuf->size) { obj 828 ext/tidy/tidy.c if (!obj->std.properties) { obj 829 ext/tidy/tidy.c rebuild_object_properties(&obj->std); obj 831 ext/tidy/tidy.c ZVAL_STRINGL(&temp, (char*)obj->ptdoc->errbuf->bp, obj->ptdoc->errbuf->size-1); obj 832 ext/tidy/tidy.c zend_hash_str_update(obj->std.properties, "errorBuffer", sizeof("errorBuffer") - 1, &temp); obj 836 ext/tidy/tidy.c static void tidy_add_default_properties(PHPTidyObj *obj, tidy_obj_type type) obj 848 ext/tidy/tidy.c if (!obj->std.properties) { obj 849 ext/tidy/tidy.c rebuild_object_properties(&obj->std); obj 852 ext/tidy/tidy.c tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf); obj 853 ext/tidy/tidy.c ADD_PROPERTY_STRINGL(obj->std.properties, value, buf.bp, buf.size ? buf.size-1 : 0); obj 856 ext/tidy/tidy.c ADD_PROPERTY_STRING(obj->std.properties, name, tidyNodeGetName(obj->node)); obj 857 ext/tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, type, tidyNodeGetType(obj->node)); obj 858 ext/tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, line, tidyNodeLine(obj->node)); obj 859 ext/tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, column, tidyNodeColumn(obj->node)); obj 860 ext/tidy/tidy.c ADD_PROPERTY_BOOL(obj->std.properties, proprietary, tidyNodeIsProp(obj->ptdoc->doc, obj->node)); obj 862 ext/tidy/tidy.c switch(tidyNodeGetType(obj->node)) { obj 870 ext/tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, id, tidyNodeGetId(obj->node)); obj 873 ext/tidy/tidy.c tempattr = tidyAttrFirst(obj->node); obj 889 ext/tidy/tidy.c zend_hash_str_update(obj->std.properties, "attribute", sizeof("attribute") - 1, &attribute); obj 891 ext/tidy/tidy.c tempnode = tidyGetChild(obj->node); obj 900 ext/tidy/tidy.c newobj->ptdoc = obj->ptdoc; obj 912 ext/tidy/tidy.c zend_hash_str_update(obj->std.properties, "child", sizeof("child") - 1, &children); obj 917 ext/tidy/tidy.c if (!obj->std.properties) { obj 918 ext/tidy/tidy.c rebuild_object_properties(&obj->std); obj 920 ext/tidy/tidy.c ADD_PROPERTY_NULL(obj->std.properties, errorBuffer); obj 921 ext/tidy/tidy.c ADD_PROPERTY_NULL(obj->std.properties, value); obj 962 ext/tidy/tidy.c node = tidyGetRoot(obj->ptdoc->doc); obj 966 ext/tidy/tidy.c node = tidyGetHtml(obj->ptdoc->doc); obj 970 ext/tidy/tidy.c node = tidyGetHead(obj->ptdoc->doc); obj 974 ext/tidy/tidy.c node = tidyGetBody(obj->ptdoc->doc); obj 989 ext/tidy/tidy.c newobj->ptdoc = obj->ptdoc; obj 1011 ext/tidy/tidy.c static int php_tidy_parse_string(PHPTidyObj *obj, char *string, uint len, char *enc) obj 1016 ext/tidy/tidy.c if (tidySetCharEncoding(obj->ptdoc->doc, enc) < 0) { obj 1022 ext/tidy/tidy.c obj->ptdoc->initialized = 1; obj 1026 ext/tidy/tidy.c if (tidyParseBuffer(obj->ptdoc->doc, &buf) < 0) { obj 1027 ext/tidy/tidy.c php_error_docref(NULL, E_WARNING, "%s", obj->ptdoc->errbuf->bp); obj 1030 ext/tidy/tidy.c tidy_doc_update_properties(obj); obj 1202 ext/tidy/tidy.c PHPTidyObj *obj; obj 1214 ext/tidy/tidy.c obj = Z_TIDY_P(return_value); obj 1216 ext/tidy/tidy.c TIDY_APPLY_CONFIG_ZVAL(obj->ptdoc->doc, options); obj 1218 ext/tidy/tidy.c if (php_tidy_parse_string(obj, ZSTR_VAL(input), (uint)ZSTR_LEN(input), enc) == FAILURE) { obj 1231 ext/tidy/tidy.c if (obj->ptdoc->errbuf && obj->ptdoc->errbuf->bp) { obj 1232 ext/tidy/tidy.c RETURN_STRINGL((char*)obj->ptdoc->errbuf->bp, obj->ptdoc->errbuf->size-1); obj 1247 ext/tidy/tidy.c tidySaveBuffer(obj->ptdoc->doc, &output); obj 1264 ext/tidy/tidy.c PHPTidyObj *obj; obj 1272 ext/tidy/tidy.c obj = Z_TIDY_P(return_value); obj 1284 ext/tidy/tidy.c TIDY_APPLY_CONFIG_ZVAL(obj->ptdoc->doc, options); obj 1286 ext/tidy/tidy.c if (php_tidy_parse_string(obj, ZSTR_VAL(contents), (uint)ZSTR_LEN(contents), enc) == FAILURE) { obj 1301 ext/tidy/tidy.c if (tidyCleanAndRepair(obj->ptdoc->doc) >= 0) { obj 1302 ext/tidy/tidy.c tidy_doc_update_properties(obj); obj 1332 ext/tidy/tidy.c if (obj->ptdoc->initialized && tidyRunDiagnostics(obj->ptdoc->doc) >= 0) { obj 1333 ext/tidy/tidy.c tidy_doc_update_properties(obj); obj 1359 ext/tidy/tidy.c PHPTidyObj *obj; obj 1376 ext/tidy/tidy.c obj = Z_TIDY_P(object); obj 1378 ext/tidy/tidy.c opt = tidyGetOptionByName(obj->ptdoc->doc, optname); obj 1385 ext/tidy/tidy.c if ( (optval = (char *) tidyOptGetDoc(obj->ptdoc->doc, opt)) ) { obj 1406 ext/tidy/tidy.c itOpt = tidyGetOptionList(obj->ptdoc->doc); obj 1411 ext/tidy/tidy.c TidyOption opt = tidyGetNextOption(obj->ptdoc->doc, &itOpt); obj 1414 ext/tidy/tidy.c opt_value = php_tidy_get_opt_val(obj->ptdoc, opt, &optt); obj 1440 ext/tidy/tidy.c RETURN_LONG(tidyStatus(obj->ptdoc->doc)); obj 1450 ext/tidy/tidy.c RETURN_LONG(tidyDetectedHtmlVersion(obj->ptdoc->doc)); obj 1460 ext/tidy/tidy.c RETURN_BOOL(tidyDetectedXhtml(obj->ptdoc->doc)); obj 1470 ext/tidy/tidy.c RETURN_BOOL(tidyDetectedGenericXml(obj->ptdoc->doc)); obj 1480 ext/tidy/tidy.c RETURN_LONG(tidyErrorCount(obj->ptdoc->doc)); obj 1490 ext/tidy/tidy.c RETURN_LONG(tidyWarningCount(obj->ptdoc->doc)); obj 1500 ext/tidy/tidy.c RETURN_LONG(tidyAccessWarningCount(obj->ptdoc->doc)); obj 1510 ext/tidy/tidy.c RETURN_LONG(tidyConfigErrorCount(obj->ptdoc->doc)); obj 1518 ext/tidy/tidy.c PHPTidyObj *obj; obj 1537 ext/tidy/tidy.c obj = Z_TIDY_P(object); obj 1539 ext/tidy/tidy.c opt = tidyGetOptionByName(obj->ptdoc->doc, optname); obj 1546 ext/tidy/tidy.c optval = php_tidy_get_opt_val(obj->ptdoc, opt, &optt); obj 1581 ext/tidy/tidy.c PHPTidyObj *obj; obj 1589 ext/tidy/tidy.c obj = Z_TIDY_P(object); obj 1602 ext/tidy/tidy.c TIDY_APPLY_CONFIG_ZVAL(obj->ptdoc->doc, options); obj 1604 ext/tidy/tidy.c php_tidy_parse_string(obj, ZSTR_VAL(contents), (uint)ZSTR_LEN(contents), enc); obj 1617 ext/tidy/tidy.c PHPTidyObj *obj; obj 1621 ext/tidy/tidy.c obj = Z_TIDY_P(object); obj 1638 ext/tidy/tidy.c TIDY_APPLY_CONFIG_ZVAL(obj->ptdoc->doc, options); obj 1640 ext/tidy/tidy.c if (php_tidy_parse_string(obj, ZSTR_VAL(contents), (uint)ZSTR_LEN(contents), enc) == FAILURE) { obj 1654 ext/tidy/tidy.c PHPTidyObj *obj; obj 1668 ext/tidy/tidy.c obj = Z_TIDY_P(object); obj 1670 ext/tidy/tidy.c TIDY_APPLY_CONFIG_ZVAL(obj->ptdoc->doc, options); obj 1672 ext/tidy/tidy.c if(php_tidy_parse_string(obj, ZSTR_VAL(input), (uint)ZSTR_LEN(input), enc) == SUCCESS) { obj 1718 ext/tidy/tidy.c if (tidyGetChild(obj->node)) { obj 1732 ext/tidy/tidy.c if (obj->node && tidyGetNext(obj->node)) { obj 1746 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Comment) { obj 1760 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) & (TidyNode_Start | TidyNode_End | TidyNode_StartEnd)) { obj 1774 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Text) { obj 1788 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Jste) { obj 1802 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Asp) { obj 1816 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Php) { obj 1832 ext/tidy/tidy.c parent_node = tidyGetParent(obj->node); obj 1838 ext/tidy/tidy.c newobj->ptdoc = obj->ptdoc; obj 439 ext/wddx/wddx.c static void php_wddx_serialize_object(wddx_packet *packet, zval *obj) obj 454 ext/wddx/wddx.c if (call_user_function_ex(CG(function_table), obj, &fname, &retval, 0, 0, 1, NULL) == SUCCESS) { obj 458 ext/wddx/wddx.c PHP_SET_CLASS_ATTRIBUTES(obj); obj 470 ext/wddx/wddx.c objhash = Z_OBJPROP_P(obj); obj 488 ext/wddx/wddx.c PHP_SET_CLASS_ATTRIBUTES(obj); obj 500 ext/wddx/wddx.c objhash = Z_OBJPROP_P(obj); obj 502 ext/wddx/wddx.c if (ent == obj) { obj 866 ext/wddx/wddx.c zval obj; obj 937 ext/wddx/wddx.c object_init_ex(&obj, pce); obj 940 ext/wddx/wddx.c zend_hash_merge(Z_OBJPROP(obj), obj 945 ext/wddx/wddx.c php_store_class_name(&obj, Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); obj 952 ext/wddx/wddx.c ZVAL_COPY_VALUE(&ent2->data, &obj); obj 114 ext/xml/xml.c ZEND_ARG_INFO(1, obj) obj 499 ext/xml/xml.c zval *obj; obj 503 ext/xml/xml.c } else if ((obj = zend_hash_index_find(Z_ARRVAL_P(handler), 0)) != NULL && obj 505 ext/xml/xml.c Z_TYPE_P(obj) == IS_OBJECT && obj 507 ext/xml/xml.c php_error_docref(NULL, E_WARNING, "Unable to call handler %s::%s()", ZSTR_VAL(Z_OBJCE_P(obj)->name), Z_STRVAL_P(method)); obj 46 ext/xmlreader/php_xmlreader.c typedef int (*xmlreader_write_t)(xmlreader_object *obj, zval *newval); obj 73 ext/xmlreader/php_xmlreader.c static int xmlreader_property_reader(xmlreader_object *obj, xmlreader_prop_handler *hnd, zval *rv) obj 78 ext/xmlreader/php_xmlreader.c if (obj->ptr != NULL) { obj 80 ext/xmlreader/php_xmlreader.c retchar = hnd->read_char_func(obj->ptr); obj 83 ext/xmlreader/php_xmlreader.c retint = hnd->read_int_func(obj->ptr); obj 118 ext/xmlreader/php_xmlreader.c xmlreader_object *obj; obj 131 ext/xmlreader/php_xmlreader.c obj = Z_XMLREADER_P(object); obj 133 ext/xmlreader/php_xmlreader.c if (obj->prop_handler != NULL) { obj 134 ext/xmlreader/php_xmlreader.c hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); obj 153 ext/xmlreader/php_xmlreader.c xmlreader_object *obj; obj 166 ext/xmlreader/php_xmlreader.c obj = Z_XMLREADER_P(object); obj 168 ext/xmlreader/php_xmlreader.c if (obj->prop_handler != NULL) { obj 169 ext/xmlreader/php_xmlreader.c hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); obj 173 ext/xmlreader/php_xmlreader.c if (xmlreader_property_reader(obj, hnd, rv) == FAILURE) { obj 193 ext/xmlreader/php_xmlreader.c xmlreader_object *obj; obj 205 ext/xmlreader/php_xmlreader.c obj = Z_XMLREADER_P(object); obj 207 ext/xmlreader/php_xmlreader.c if (obj->prop_handler != NULL) { obj 208 ext/xmlreader/php_xmlreader.c hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); obj 54 ext/xmlreader/php_xmlreader.h static inline xmlreader_object *php_xmlreader_fetch_object(zend_object *obj) { obj 55 ext/xmlreader/php_xmlreader.h return (xmlreader_object *)((char*)(obj) - XtOffsetOf(xmlreader_object, std)); obj 112 ext/xmlwriter/php_xmlwriter.c ze_xmlwriter_object *obj = Z_XMLWRITER_P(object); \ obj 113 ext/xmlwriter/php_xmlwriter.c intern = obj->xmlwriter_ptr; \ obj 52 ext/xmlwriter/php_xmlwriter.h static inline ze_xmlwriter_object *php_xmlwriter_fetch_object(zend_object *obj) { obj 53 ext/xmlwriter/php_xmlwriter.h return (ze_xmlwriter_object *)((char*)(obj) - XtOffsetOf(ze_xmlwriter_object, std)); obj 176 ext/xsl/php_xsl.c zval *xsl_object_get_data(void *obj) obj 179 ext/xsl/php_xsl.c dom_wrapper = ((xsltStylesheetPtr) obj)->_private; obj 185 ext/xsl/php_xsl.c static void xsl_object_set_data(void *obj, zval *wrapper) obj 187 ext/xsl/php_xsl.c ((xsltStylesheetPtr) obj)->_private = wrapper; obj 192 ext/xsl/php_xsl.c void php_xsl_set_object(zval *wrapper, void *obj) obj 197 ext/xsl/php_xsl.c object->ptr = obj; obj 198 ext/xsl/php_xsl.c xsl_object_set_data(obj, wrapper); obj 203 ext/xsl/php_xsl.c void php_xsl_create_object(xsltStylesheetPtr obj, zval *wrapper_in, zval *return_value ) obj 208 ext/xsl/php_xsl.c if (!obj) { obj 214 ext/xsl/php_xsl.c if ((wrapper = xsl_object_get_data((void *) obj))) { obj 231 ext/xsl/php_xsl.c php_xsl_set_object(wrapper, (void *) obj); obj 75 ext/xsl/php_xsl.h static inline xsl_object *php_xsl_fetch_object(zend_object *obj) { obj 76 ext/xsl/php_xsl.h return (xsl_object *)((char*)(obj) - XtOffsetOf(xsl_object, std)); obj 81 ext/xsl/php_xsl.h void php_xsl_set_object(zval *wrapper, void *obj); obj 83 ext/xsl/php_xsl.h void php_xsl_create_object(xsltStylesheetPtr obj, zval *wrapper_in, zval *return_value ); obj 93 ext/xsl/php_xsl.h #define XSL_DOMOBJ_NEW(zval, obj, ret) \ obj 94 ext/xsl/php_xsl.h zval = php_xsl_create_object(obj, ret, zval, return_value); \ obj 186 ext/xsl/xsltprocessor.c xmlXPathObjectPtr obj; obj 219 ext/xsl/xsltprocessor.c obj = valuePop(ctxt); obj 220 ext/xsl/xsltprocessor.c if (obj) { obj 221 ext/xsl/xsltprocessor.c xmlXPathFreeObject(obj); obj 233 ext/xsl/xsltprocessor.c obj = valuePop(ctxt); obj 234 ext/xsl/xsltprocessor.c if (obj == NULL) { obj 238 ext/xsl/xsltprocessor.c switch (obj->type) { obj 240 ext/xsl/xsltprocessor.c ZVAL_STRING(&args[i], (char *)obj->stringval); obj 243 ext/xsl/xsltprocessor.c ZVAL_BOOL(&args[i], obj->boolval); obj 246 ext/xsl/xsltprocessor.c ZVAL_DOUBLE(&args[i], obj->floatval); obj 250 ext/xsl/xsltprocessor.c str = (char*)xmlXPathCastToString(obj); obj 257 ext/xsl/xsltprocessor.c if (obj->nodesetval && obj->nodesetval->nodeNr > 0) { obj 258 ext/xsl/xsltprocessor.c for (j = 0; j < obj->nodesetval->nodeNr; j++) { obj 259 ext/xsl/xsltprocessor.c xmlNodePtr node = obj->nodesetval->nodeTab[j]; obj 290 ext/xsl/xsltprocessor.c str = (char *) xmlXPathCastToString(obj); obj 294 ext/xsl/xsltprocessor.c xmlXPathFreeObject(obj); obj 306 ext/xsl/xsltprocessor.c obj = valuePop(ctxt); obj 307 ext/xsl/xsltprocessor.c if (obj == NULL || obj->stringval == NULL) { obj 309 ext/xsl/xsltprocessor.c xmlXPathFreeObject(obj); obj 319 ext/xsl/xsltprocessor.c ZVAL_STRING(&handler, (char *) obj->stringval); obj 320 ext/xsl/xsltprocessor.c xmlXPathFreeObject(obj); obj 347 ext/xsl/xsltprocessor.c dom_object *obj; obj 354 ext/xsl/xsltprocessor.c obj = Z_DOMOBJ_P(&retval); obj 355 ext/xsl/xsltprocessor.c nodep = dom_object_get_node(obj); obj 372 ext/zip/php_zip.c ze_zip_object *obj = Z_ZIP_P(object); \ obj 373 ext/zip/php_zip.c intern = obj->za; \ obj 437 ext/zip/php_zip.c static char * php_zipobj_get_filename(ze_zip_object *obj) /* {{{ */ obj 440 ext/zip/php_zip.c if (!obj) { obj 444 ext/zip/php_zip.c if (obj->filename) { obj 445 ext/zip/php_zip.c return obj->filename; obj 769 ext/zip/php_zip.c typedef char *(*zip_read_const_char_from_ze_t)(ze_zip_object *obj); obj 792 ext/zip/php_zip.c static zval *php_zip_property_reader(ze_zip_object *obj, zip_prop_handler *hnd, zval *rv) /* {{{ */ obj 798 ext/zip/php_zip.c if (obj && obj->za != NULL) { obj 800 ext/zip/php_zip.c retchar = hnd->read_const_char_func(obj->za, &len); obj 803 ext/zip/php_zip.c retint = hnd->read_int_func(obj->za); obj 810 ext/zip/php_zip.c retchar = hnd->read_const_char_from_obj_func(obj); obj 842 ext/zip/php_zip.c ze_zip_object *obj; obj 855 ext/zip/php_zip.c obj = Z_ZIP_P(object); obj 857 ext/zip/php_zip.c if (obj->prop_handler != NULL) { obj 858 ext/zip/php_zip.c hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); obj 876 ext/zip/php_zip.c ze_zip_object *obj; obj 889 ext/zip/php_zip.c obj = Z_ZIP_P(object); obj 891 ext/zip/php_zip.c if (obj->prop_handler != NULL) { obj 892 ext/zip/php_zip.c hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); obj 896 ext/zip/php_zip.c retval = php_zip_property_reader(obj, hnd, rv); obj 915 ext/zip/php_zip.c ze_zip_object *obj; obj 928 ext/zip/php_zip.c obj = Z_ZIP_P(object); obj 930 ext/zip/php_zip.c if (obj->prop_handler != NULL) { obj 931 ext/zip/php_zip.c hnd = zend_hash_find_ptr(obj->prop_handler, Z_STR_P(member)); obj 939 ext/zip/php_zip.c } else if ((prop = php_zip_property_reader(obj, hnd, &tmp)) != NULL) { obj 963 ext/zip/php_zip.c ze_zip_object *obj; obj 968 ext/zip/php_zip.c obj = Z_ZIP_P(object); obj 971 ext/zip/php_zip.c if (obj->prop_handler == NULL) { obj 975 ext/zip/php_zip.c ZEND_HASH_FOREACH_STR_KEY_PTR(obj->prop_handler, key, hnd) { obj 977 ext/zip/php_zip.c ret = php_zip_property_reader(obj, hnd, &val); obj 2771 ext/zip/php_zip.c ze_zip_object *obj; obj 2787 ext/zip/php_zip.c obj = Z_ZIP_P(self); obj 2789 ext/zip/php_zip.c stream = php_stream_zip_open(obj->filename, ZSTR_VAL(filename), mode STREAMS_CC); obj 86 ext/zip/php_zip.h static inline ze_zip_object *php_zip_fetch_object(zend_object *obj) { obj 87 ext/zip/php_zip.h return (ze_zip_object *)((char*)(obj) - XtOffsetOf(ze_zip_object, zo)); obj 1048 main/SAPI.c SAPI_API int sapi_get_target_uid(uid_t *obj) obj 1051 main/SAPI.c return sapi_module.get_target_uid(obj); obj 1057 main/SAPI.c SAPI_API int sapi_get_target_gid(gid_t *obj) obj 1060 main/SAPI.c return sapi_module.get_target_gid(obj);