Searched refs:cdef (Results 1 – 25 of 38) sorted by relevance
12
/PHP-8.0/ext/ffi/tests/ |
H A D | 015.phpt | 10 FFI::cdef("struct DIR; static struct DIR dir;"); 16 FFI::cdef("struct DIR; static struct DIR *ptr;"); 22 FFI::cdef("struct DIR; typedef struct DIR DIR; static DIR dir;"); 28 FFI::cdef("struct DIR; typedef struct DIR DIR; static DIR *ptr;"); 34 FFI::cdef("struct DIR; static struct DIR foo();"); 40 FFI::cdef("struct DIR; static struct DIR* foo();"); 46 FFI::cdef("struct DIR; static void foo(struct DIR);"); 52 FFI::cdef("struct DIR; static void foo(struct DIR*);");
|
H A D | 028.phpt | 10 FFI::cdef("struct _x {int a; int b[0];};"); 16 FFI::cdef("struct _x {int a; int b[];};"); 22 FFI::cdef("struct _x {int a[0]; int b;};"); 28 FFI::cdef("struct _x {int a[]; int b;};"); 34 FFI::cdef("struct _x { struct {int a; int b[];}; int c;};"); 40 FFI::cdef("union _x {int a; int b[];};");
|
H A D | 027.phpt | 16 FFI::cdef("static int (*foo)[*];"); 22 FFI::cdef("typedef int foo[*];"); 28 FFI::cdef("static void foo(int[*][*]);"); 49 FFI::cdef("struct _x {int a; int b[];};"); 55 $f = FFI::cdef("typedef int(*foo)[];"); 61 $f = FFI::cdef("typedef int foo[][2];"); 67 $f = FFI::cdef("typedef int foo[];"); 73 $f = FFI::cdef("static int foo(int[]);");
|
H A D | bug79096.phpt | 21 $ffi = FFI::cdef($header); 24 $ffi = FFI::cdef($header, 'php_zend_test.dll'); 26 $ffi = FFI::cdef($header, ffi_get_php_dll_name());
|
H A D | bug79532.phpt | 17 $ffi = FFI::cdef($header); 20 $ffi = FFI::cdef($header, 'php_zend_test.dll'); 22 $ffi = FFI::cdef($header, ffi_get_php_dll_name());
|
H A D | 013.phpt | 26 FFI::cdef("static int foo(int)[5];"); 32 FFI::cdef("static int foo[5](int);"); 38 FFI::cdef("static int foo(int)(int);"); 44 FFI::cdef("typedef int foo[2][];"); 50 FFI::cdef("typedef int foo[][2];");
|
H A D | 016.phpt | 10 FFI::cdef("struct X {void x();};"); 16 FFI::cdef("struct X {struct X x;};"); 22 FFI::cdef("struct X {struct X *ptr;};");
|
H A D | 043.phpt | 9 FFI::cdef(" 17 #0 %s043.php(2): FFI::cdef('%s')
|
H A D | bug79576.phpt | 11 FFI::cdef('struct tree *get_tree(const oid *, size_t, struct tree *);'); 16 FFI::cdef('struct tree *get_tree(oid, size_t, struct tree *);'); 21 FFI::cdef('
|
H A D | bug77632.phpt | 7 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6"); 16 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
|
H A D | 019.phpt | 10 FFI::cdef("static int foo(int[]);"); 16 FFI::cdef("static int foo(int bar(int));");
|
H A D | utils.inc | 6 return FFI::cdef($code, $lib); 8 return FFI::cdef($code);
|
H A D | bug79177.phpt | 17 $ffi = FFI::cdef($header); 20 $ffi = FFI::cdef($header, 'php_zend_test.dll'); 22 $ffi = FFI::cdef($header, ffi_get_php_dll_name());
|
H A D | 018.phpt | 10 FFI::cdef("struct X {struct X x[2];};"); 16 FFI::cdef("struct X {struct X *ptr[2];};");
|
H A D | bug77632b.phpt | 8 FFI::cdef("extern void *zend_printf;", ffi_get_php_dll_name()); 18 $libc = FFI::cdef("extern size_t (*zend_printf)(const char *format, ...);", ffi_get_php_dll_name());
|
H A D | bug80847.phpt | 26 $ffi = FFI::cdef($header); 29 $ffi = FFI::cdef($header, 'php_zend_test.dll'); 31 $ffi = FFI::cdef($header, ffi_get_php_dll_name());
|
H A D | bug78270_1.phpt | 15 FFI::cdef(<<<EOC 25 $ffi = FFI::cdef(<<<EOC
|
H A D | 200.phpt | 8 FFI::cdef("void* zend_write;", ffi_get_php_dll_name()); 19 $zend = FFI::cdef("
|
H A D | bug77768.phpt | 7 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6"); 16 $x = FFI::cdef("
|
H A D | bug78543.phpt | 7 $ffi = FFI::cdef(' struct test { int dummy; }; ');
|
H A D | bug78270_2.phpt | 10 FFI::cdef(<<<EOC 33 $ffi = FFI::cdef($signature);
|
H A D | bug80186.phpt | 9 $ffi = FFI::cdef('typedef int dummy;');
|
H A D | 029.phpt | 9 $ffi = FFI::cdef("
|
H A D | bug79749.phpt | 9 $ffi = FFI::cdef('typedef int dummy;');
|
H A D | bug77706.phpt | 7 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6"); 30 $ffi = FFI::cdef($header, 'libc.so.6');
|
Completed in 17 milliseconds
12