Home
last modified time | relevance | path

Searched refs:field_dcl (Results 1 – 4 of 4) sorted by relevance

/PHP-8.0/ext/ffi/
H A Dffi.g268 {zend_ffi_dcl field_dcl = common_field_dcl;}
269 attributes(&field_dcl)?
270 struct_declarator(struct_dcl, &field_dcl)
275 struct_declarator(zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl):
279 ( declarator(field_dcl, &name, &name_len)
282 attributes(field_dcl)?
283 {zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits);}
285 attributes(field_dcl)?
286 {zend_ffi_add_field(struct_dcl, name, name_len, field_dcl);}
290 {zend_ffi_add_bit_field(struct_dcl, NULL, 0, field_dcl, &bits);}
H A Dphp_ffi.h221 …fi_add_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *field_dcl);
222 void zend_ffi_add_anonymous_field(zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl);
223 …d_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *field_dcl, zend_ffi_val *b…
H A Dffi.c5636 zend_ffi_finalize_type(field_dcl);
5639 zend_ffi_cleanup_dcl(field_dcl);
5658 field->type = field_dcl->type;
5681 zend_ffi_finalize_type(field_dcl);
5684 zend_ffi_cleanup_dcl(field_dcl);
5694 zend_ffi_cleanup_dcl(field_dcl);
5737 field_dcl->type = NULL;
5751 zend_ffi_cleanup_dcl(field_dcl);
5756 zend_ffi_cleanup_dcl(field_dcl);
5786 zend_ffi_cleanup_dcl(field_dcl);
[all …]
H A Dffi_parser.c266 static int parse_struct_declarator(int sym, zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl);
2419 zend_ffi_dcl field_dcl = common_field_dcl; in parse_struct_declaration() local
2421 sym = parse_attributes(sym, &field_dcl); in parse_struct_declaration()
2423 sym = parse_struct_declarator(sym, struct_dcl, &field_dcl); in parse_struct_declaration()
2431 static int parse_struct_declarator(int sym, zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl) { in parse_struct_declarator() argument
2436 sym = parse_declarator(sym, field_dcl, &name, &name_len); in parse_struct_declarator()
2441 sym = parse_attributes(sym, field_dcl); in parse_struct_declarator()
2443 zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits); in parse_struct_declarator()
2446 sym = parse_attributes(sym, field_dcl); in parse_struct_declarator()
2448 zend_ffi_add_field(struct_dcl, name, name_len, field_dcl); in parse_struct_declarator()
[all …]

Completed in 38 milliseconds