Searched refs:cdef (Results 1 – 25 of 51) sorted by relevance
123
/PHP-8.2/ext/ffi/tests/ |
H A D | gh12905.phpt | 9 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6"); 22 $ffi = FFI::cdef("", "libc.so.6"); 28 <!-- init FFI::cdef() --> 29 <FFI::cdef> 30 </FFI::cdef>
|
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 | 19 $ffi = FFI::cdef($header); 22 $ffi = FFI::cdef($header, 'php_zend_test.dll'); 24 $ffi = FFI::cdef($header, ffi_get_php_dll_name());
|
H A D | bug79532.phpt | 15 $ffi = FFI::cdef($header); 18 $ffi = FFI::cdef($header, 'php_zend_test.dll'); 20 $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 | cdef_new.phpt | 2 Definitions should not leak when using FFI::cdef()->new(...) 7 $struct = \FFI::cdef()->new('struct Example { uint32_t x; }');
|
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 | bug79177.phpt | 15 $ffi = FFI::cdef($header); 18 $ffi = FFI::cdef($header, 'php_zend_test.dll'); 20 $ffi = FFI::cdef($header, ffi_get_php_dll_name());
|
H A D | bug79576.phpt | 12 FFI::cdef('struct tree *get_tree(const oid *, size_t, struct tree *);'); 17 FFI::cdef('struct tree *get_tree(oid, size_t, struct tree *);'); 22 FFI::cdef('
|
H A D | 043.phpt | 9 FFI::cdef(" 17 #0 %s043.php(2): FFI::cdef('%s')
|
H A D | bug77632.phpt | 8 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6"); 17 $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 | 018.phpt | 10 FFI::cdef("struct X {struct X x[2];};"); 16 FFI::cdef("struct X {struct X *ptr[2];};");
|
H A D | utils.inc | 6 return FFI::cdef($code, $lib); 8 return FFI::cdef($code);
|
H A D | bug80847.phpt | 27 $ffi = FFI::cdef($header); 30 $ffi = FFI::cdef($header, 'php_zend_test.dll'); 32 $ffi = FFI::cdef($header, ffi_get_php_dll_name());
|
H A D | bug77632b.phpt | 9 FFI::cdef("extern void *zend_printf;", ffi_get_php_dll_name()); 19 $libc = FFI::cdef("extern size_t (*zend_printf)(const char *format, ...);", ffi_get_php_dll_name());
|
H A D | gh10568.phpt | 8 $libc = FFI::cdef("void strlen(const char *s);", "libc.so.6"); 18 $libc = FFI::cdef("void strlen(const char *s);", "libc.so.6");
|
H A D | bug_gh9090.phpt | 23 $ffi = FFI::cdef($h); 26 $ffi = FFI::cdef($h, 'php_zend_test.dll'); 28 $ffi = FFI::cdef($h, ffi_get_php_dll_name());
|
H A D | bug78270_1.phpt | 17 FFI::cdef(<<<EOC 27 $ffi = FFI::cdef(<<<EOC
|
H A D | trampoline_reset.phpt | 8 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6"); 31 $ffi = FFI::cdef($header, 'libc.so.6');
|
H A D | gh14626.phpt | 17 $ffi = FFI::cdef(<<<C 24 $ptr = FFI::cdef()->cast("char*", $addr);
|
H A D | 200.phpt | 9 FFI::cdef("void* zend_write;", ffi_get_php_dll_name()); 20 $zend = FFI::cdef("
|
H A D | bug77768.phpt | 8 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6"); 17 $x = FFI::cdef("
|
Completed in 31 milliseconds
123