Searched refs:field_dcl (Results 1 – 4 of 4) sorted by relevance
/php-src/ext/ffi/ |
H A D | ffi.g | 272 {zend_ffi_dcl field_dcl = common_field_dcl;} 273 attributes(&field_dcl)? 274 struct_declarator(struct_dcl, &field_dcl) 279 struct_declarator(zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl): 283 ( declarator(field_dcl, &name, &name_len) 286 attributes(field_dcl)? 287 {zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits);} 289 attributes(field_dcl)? 290 {zend_ffi_add_field(struct_dcl, name, name_len, field_dcl);} 294 {zend_ffi_add_bit_field(struct_dcl, NULL, 0, field_dcl, &bits);}
|
H A D | php_ffi.h | 222 …fi_add_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *field_dcl); 223 void zend_ffi_add_anonymous_field(zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl); 224 …d_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *field_dcl, zend_ffi_val *b…
|
H A D | ffi.c | 6134 zend_ffi_finalize_type(field_dcl); 6137 zend_ffi_cleanup_dcl(field_dcl); 6156 field->type = field_dcl->type; 6179 zend_ffi_finalize_type(field_dcl); 6182 zend_ffi_cleanup_dcl(field_dcl); 6192 zend_ffi_cleanup_dcl(field_dcl); 6235 field_dcl->type = NULL; 6249 zend_ffi_cleanup_dcl(field_dcl); 6254 zend_ffi_cleanup_dcl(field_dcl); 6284 zend_ffi_cleanup_dcl(field_dcl); [all …]
|
H A D | ffi_parser.c | 324 static int parse_struct_declarator(int sym, zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl); 2482 zend_ffi_dcl field_dcl = common_field_dcl; in parse_struct_declaration() local 2484 sym = parse_attributes(sym, &field_dcl); in parse_struct_declaration() 2486 sym = parse_struct_declarator(sym, struct_dcl, &field_dcl); in parse_struct_declaration() 2494 static int parse_struct_declarator(int sym, zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl) { in parse_struct_declarator() argument 2499 sym = parse_declarator(sym, field_dcl, &name, &name_len); in parse_struct_declarator() 2504 sym = parse_attributes(sym, field_dcl); in parse_struct_declarator() 2506 zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits); in parse_struct_declarator() 2509 sym = parse_attributes(sym, field_dcl); in parse_struct_declarator() 2511 zend_ffi_add_field(struct_dcl, name, name_len, field_dcl); in parse_struct_declarator() [all …]
|
Completed in 51 milliseconds