Lines Matching refs:zend_throw_error

830 							zend_throw_error(zend_ffi_exception_ce, "Attempt to perform assign of owned C pointer");  in zend_ffi_zval_to_cdata()
840 zend_throw_error(zend_ffi_exception_ce, "Attempt to perform assign pointer to owned C data"); in zend_ffi_zval_to_cdata()
968 zend_throw_error(zend_ffi_exception_ce, "Cannot call callback"); in zend_ffi_callback_trampoline()
1003 zend_throw_error(zend_ffi_exception_ce, "Variadic function closures are not supported"); in zend_ffi_create_callback()
1008 zend_throw_error(zend_ffi_exception_ce, "Attempt to assign an invalid callback, %s", error); in zend_ffi_create_callback()
1014zend_throw_error(zend_ffi_exception_ce, "Attempt to assign an invalid callback, insufficient numbe… in zend_ffi_create_callback()
1020 zend_throw_error(zend_ffi_exception_ce, "Cannot allocate callback"); in zend_ffi_create_callback()
1066 zend_throw_error(zend_ffi_exception_ce, "Cannot prepare callback CIF"); in zend_ffi_create_callback()
1071 zend_throw_error(zend_ffi_exception_ce, "Cannot prepare callback"); in zend_ffi_create_callback()
1108 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_get()
1114 zend_throw_error(zend_ffi_exception_ce, "Only 'cdata' property may be read"); in zend_ffi_cdata_get()
1130 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_set()
1136 zend_throw_error(zend_ffi_exception_ce, "Only 'cdata' property may be set"); in zend_ffi_cdata_set()
1238zend_throw_error(zend_ffi_exception_ce, "Attempt to read field '%s' of non C struct/union", ZSTR_V… in zend_ffi_cdata_read_field()
1245zend_throw_error(zend_ffi_exception_ce, "Attempt to read undefined field '%s' of C struct/union", … in zend_ffi_cdata_read_field()
1258 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_field()
1263 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_field()
1271 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_field()
1307zend_throw_error(zend_ffi_exception_ce, "Attempt to assign field '%s' to uninitialized FFI\\CData … in zend_ffi_cdata_write_field()
1315zend_throw_error(zend_ffi_exception_ce, "Attempt to assign field '%s' of non C struct/union", ZSTR… in zend_ffi_cdata_write_field()
1322zend_throw_error(zend_ffi_exception_ce, "Attempt to assign undefined field '%s' of C struct/union"… in zend_ffi_cdata_write_field()
1335 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_field()
1340 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_field()
1347 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_field()
1353 zend_throw_error(zend_ffi_exception_ce, "Attempt to assign read-only location"); in zend_ffi_cdata_write_field()
1356zend_throw_error(zend_ffi_exception_ce, "Attempt to assign read-only field '%s'", ZSTR_VAL(field_n… in zend_ffi_cdata_write_field()
1382 zend_throw_error(zend_ffi_exception_ce, "C array index out of bounds"); in zend_ffi_cdata_read_dim()
1398 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_dim()
1414 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_dim()
1419 zend_throw_error(zend_ffi_exception_ce, "Attempt to read element of non C array"); in zend_ffi_cdata_read_dim()
1437 zend_throw_error(zend_ffi_exception_ce, "Cannot add next element to object of type FFI\\CData"); in zend_ffi_cdata_write_dim()
1445 zend_throw_error(zend_ffi_exception_ce, "C array index out of bounds"); in zend_ffi_cdata_write_dim()
1453 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_dim()
1462 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_dim()
1467 zend_throw_error(zend_ffi_exception_ce, "Attempt to assign element of non C array"); in zend_ffi_cdata_write_dim()
1472 zend_throw_error(zend_ffi_exception_ce, "Attempt to assign read-only location"); in zend_ffi_cdata_write_dim()
1655 zend_throw_error(zend_ffi_exception_ce, "FFI return struct/union is not implemented"); in zend_ffi_return_unsupported()
1657 zend_throw_error(zend_ffi_exception_ce, "FFI return array is not implemented"); in zend_ffi_return_unsupported()
1659 zend_throw_error(zend_ffi_exception_ce, "FFI internal error. Unsupported return type"); in zend_ffi_return_unsupported()
1668 zend_throw_error(zend_ffi_exception_ce, "FFI passing struct/union is not implemented"); in zend_ffi_pass_unsupported()
1670 zend_throw_error(zend_ffi_exception_ce, "FFI passing array is not implemented"); in zend_ffi_pass_unsupported()
1672 zend_throw_error(zend_ffi_exception_ce, "FFI internal error. Unsupported parameter type"); in zend_ffi_pass_unsupported()
1683zend_throw_error(zend_ffi_exception_ce, "Passing incompatible argument %d of C function '%s'", n +… in zend_ffi_pass_incompatible()
1692zend_throw_error(zend_ffi_exception_ce, "Passing incompatible argument %d of C function '%s', expe… in zend_ffi_pass_incompatible()
1695zend_throw_error(zend_ffi_exception_ce, "Passing incompatible argument %d of C function '%s', expe… in zend_ffi_pass_incompatible()
1698zend_throw_error(zend_ffi_exception_ce, "Passing incompatible argument %d of C function '%s', expe… in zend_ffi_pass_incompatible()
1710 zend_throw_error(zend_ffi_exception_ce, "Incompatible types when assigning"); in zend_ffi_assign_incompatible()
1719zend_throw_error(zend_ffi_exception_ce, "Incompatible types when assigning to type '%s'", buf1.sta… in zend_ffi_assign_incompatible()
1722zend_throw_error(zend_ffi_exception_ce, "Incompatible types when assigning to type '%s' from type … in zend_ffi_assign_incompatible()
1725zend_throw_error(zend_ffi_exception_ce, "Incompatible types when assigning to type '%s' from PHP '… in zend_ffi_assign_incompatible()
1767 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_compare_objects()
1773 zend_throw_error(zend_ffi_exception_ce, "Comparison of incompatible C types"); in zend_ffi_cdata_compare_objects()
1784 zend_throw_error(zend_ffi_exception_ce, "Attempt to count() on non C array"); in zend_ffi_cdata_count_elements()
1955 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_it_get_current_data()
2013 zend_throw_error(zend_ffi_exception_ce, "Attempt to iterate on non C array"); in zend_ffi_cdata_get_iterator()
2044 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_get_debug_info()
2141 zend_throw_error(zend_ffi_exception_ce, "Attempt to call non C function pointer"); in zend_ffi_cdata_get_closure()
2148 zend_throw_error(zend_ffi_exception_ce, "Attempt to call non C function pointer"); in zend_ffi_cdata_get_closure()
2154 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_get_closure()
2270 zend_throw_error(zend_ffi_exception_ce, "Comparison of incompatible C types"); in zend_ffi_ctype_compare_objects()
2489zend_throw_error(zend_ffi_exception_ce, "Attempt to read undefined C variable '%s'", ZSTR_VAL(var_… in zend_ffi_read_var()
2532zend_throw_error(zend_ffi_exception_ce, "Attempt to assign undefined C variable '%s'", ZSTR_VAL(va… in zend_ffi_write_var()
2537zend_throw_error(zend_ffi_exception_ce, "Attempt to assign read-only C variable '%s'", ZSTR_VAL(va… in zend_ffi_write_var()
2630 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_pass_arg()
2731 zend_throw_error(zend_ffi_exception_ce, "Unsupported argument type"); in zend_ffi_pass_var_arg()
2757zend_throw_error(zend_ffi_exception_ce, "Incorrect number of arguments for C function '%s', expect… in ZEND_FUNCTION()
2795 zend_throw_error(zend_ffi_exception_ce, "Cannot prepare callback CIF"); in ZEND_FUNCTION()
2802zend_throw_error(zend_ffi_exception_ce, "Incorrect number of arguments for C function '%s', expect… in ZEND_FUNCTION()
2832 zend_throw_error(zend_ffi_exception_ce, "Cannot prepare callback CIF"); in ZEND_FUNCTION()
2905zend_throw_error(zend_ffi_exception_ce, "Attempt to call undefined C function '%s'", ZSTR_VAL(name… in zend_ffi_get_func()
2942zend_throw_error(zend_ffi_exception_ce, "FFI API is restricted by \"ffi.enable\" configuration dir… in zend_ffi_disabled()
2992 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (%s)", ZSTR_VAL(lib), err); in ZEND_METHOD()
2995 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (Unknown reason)", ZSTR_VAL(lib)); in ZEND_METHOD()
2998 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (%s)", ZSTR_VAL(lib), err); in ZEND_METHOD()
3040 zend_throw_error(zend_ffi_exception_ce, "Failed resolving C variable '%s'", ZSTR_VAL(name)); in ZEND_METHOD()
3050 zend_throw_error(zend_ffi_exception_ce, "Failed resolving C function '%s'", ZSTR_VAL(name)); in ZEND_METHOD()
3270 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', file doesn't exist", filename); in zend_ffi_load()
3279 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', not a regular file", filename); in zend_ffi_load()
3295 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', cannot read_file", filename); in zend_ffi_load()
3326 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s'", filename); in zend_ffi_load()
3340 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (%s)", lib, err); in zend_ffi_load()
3343 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (Unknown reason)", lib); in zend_ffi_load()
3346 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (%s)", lib, err); in zend_ffi_load()
3377 zend_throw_error(zend_ffi_exception_ce, "Failed resolving C variable '%s'", ZSTR_VAL(name)); in zend_ffi_load()
3394 zend_throw_error(zend_ffi_exception_ce, "Failed resolving C function '%s'", ZSTR_VAL(name)); in zend_ffi_load()
3544zend_throw_error(zend_ffi_exception_ce, "FFI::load() doesn't work in conjunction with \"opcache.pr… in ZEND_METHOD()
3572 zend_throw_error(zend_ffi_exception_ce, "Failed loading scope '%s'", ZSTR_VAL(scope_name)); in ZEND_METHOD()
3857 zend_throw_error(zend_ffi_exception_ce, "Cannot instantiate FFI\\CData of zero size"); in ZEND_METHOD()
3894 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in ZEND_METHOD()
3909 zend_throw_error(zend_ffi_exception_ce, "free() non a C pointer"); in ZEND_METHOD()
4071 zend_throw_error(zend_ffi_exception_ce, "attempt to cast to larger type"); in ZEND_METHOD()
4221 zend_throw_error(zend_ffi_exception_ce, "Array of functions is not allowed"); in ZEND_METHOD()
4224 zend_throw_error(zend_ffi_exception_ce, "Only the leftmost array can be undimensioned"); in ZEND_METHOD()
4227 zend_throw_error(zend_ffi_exception_ce, "Array of void type is not allowed"); in ZEND_METHOD()
4230 zend_throw_error(zend_ffi_exception_ce, "Array of incomplete type is not allowed"); in ZEND_METHOD()
4251 zend_throw_error(zend_ffi_exception_ce, "negative array index"); in ZEND_METHOD()
4255 zend_throw_error(zend_ffi_exception_ce, "only the leftmost array can be undimensioned"); in ZEND_METHOD()
4305zend_throw_error(zend_ffi_exception_ce, "FFI::addr() cannot create a reference to a temporary poin… in ZEND_METHOD()
4413 zend_throw_error(zend_ffi_exception_ce, "Attempt to write over data boundary"); in ZEND_METHOD()
4422 zend_throw_error(zend_ffi_exception_ce, "Attempt to read over string boundary"); in ZEND_METHOD()
4433 zend_throw_error(zend_ffi_exception_ce, "Attempt to read over data boundary"); in ZEND_METHOD()
4466 zend_throw_error(zend_ffi_exception_ce, "attempt to read over string boundary"); in ZEND_METHOD()
4477 zend_throw_error(zend_ffi_exception_ce, "attempt to read over data boundary"); in ZEND_METHOD()
4490 zend_throw_error(zend_ffi_exception_ce, "Attempt to read over string boundary"); in ZEND_METHOD()
4501 zend_throw_error(zend_ffi_exception_ce, "Attempt to read over data boundary"); in ZEND_METHOD()
4543 zend_throw_error(zend_ffi_exception_ce, "attempt to write over data boundary"); in ZEND_METHOD()
4576 zend_throw_error(zend_ffi_exception_ce, "attempt to read over data boundary"); in ZEND_METHOD()
4587 zend_throw_error(zend_ffi_exception_ce, "FFI\\Cdata is not a C string"); in ZEND_METHOD()
4616 zend_throw_error(zend_ffi_exception_ce, "FFI\\Cdata is not a pointer"); in ZEND_METHOD()
4712 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not an enumeration"); in ZEND_METHOD()
4731 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not an array"); in ZEND_METHOD()
4752 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not an array"); in ZEND_METHOD()
4771 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a pointer"); in ZEND_METHOD()
4795 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a structure"); in ZEND_METHOD()
4821 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a structure"); in ZEND_METHOD()
4827 zend_throw_error(zend_ffi_exception_ce, "Wrong field name"); in ZEND_METHOD()
4848 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a structure"); in ZEND_METHOD()
4854 zend_throw_error(zend_ffi_exception_ce, "Wrong field name"); in ZEND_METHOD()
4875 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a function"); in ZEND_METHOD()
4894 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a function"); in ZEND_METHOD()
4915 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a function"); in ZEND_METHOD()
4935 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a function"); in ZEND_METHOD()
4940 zend_throw_error(zend_ffi_exception_ce, "Wrong argument number"); in ZEND_METHOD()
4946 zend_throw_error(zend_ffi_exception_ce, "Wrong argument number"); in ZEND_METHOD()
4974 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', bad FFI_SCOPE define", filename); in zend_ffi_parse_directives()
4983zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', FFI_SCOPE defined twice", filename); in zend_ffi_parse_directives()
4997zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', bad FFI_SCOPE define", filename); in zend_ffi_parse_directives()
5021 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', bad FFI_LIB define", filename); in zend_ffi_parse_directives()
5030zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', FFI_LIB defined twice", filename); in zend_ffi_parse_directives()
5044 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', bad FFI_LIB define", filename); in zend_ffi_parse_directives()
5067 zend_throw_error(NULL, "Instantiation of %s is not allowed", ZSTR_VAL(object->ce->name)); in zend_fake_get_constructor()
5074 zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); in zend_bad_array_access()
5106 zend_throw_error(NULL, "Cannot access property of object of type %s", ZSTR_VAL(ce->name)); in zend_bad_property_access()
5146 zend_throw_error(NULL, "Object of type %s does not support method calls", ZSTR_VAL(ce->name)); in zend_fake_get_method()
5178 zend_throw_error(zend_ffi_exception_ce, "Use after free()"); in zend_ffi_use_after_free()