Home
last modified time | relevance | path

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

/php-src/ext/ffi/
H A Dphp_ffi.h221 void zend_ffi_add_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *…
222 void zend_ffi_add_anonymous_field(zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl);
223 void zend_ffi_add_bit_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_d…
H A Dffi.g261 struct_declaration(zend_ffi_dcl *struct_dcl):
265 {zend_ffi_add_anonymous_field(struct_dcl, &common_field_dcl);}
266 | struct_declarator(struct_dcl, &common_field_dcl)
270 struct_declarator(struct_dcl, &field_dcl)
275 struct_declarator(zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl):
283 {zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits);}
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 Dffi_parser.c265 static int parse_struct_declaration(int sym, zend_ffi_dcl *struct_dcl);
266 static int parse_struct_declarator(int sym, zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl);
2410 static int parse_struct_declaration(int sym, zend_ffi_dcl *struct_dcl) { in parse_struct_declaration() argument
2414 zend_ffi_add_anonymous_field(struct_dcl, &common_field_dcl); in parse_struct_declaration()
2416 sym = parse_struct_declarator(sym, struct_dcl, &common_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
2443 zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits); in parse_struct_declarator()
2448 zend_ffi_add_field(struct_dcl, name, name_len, field_dcl); in parse_struct_declarator()
2455 zend_ffi_add_bit_field(struct_dcl, NULL, 0, field_dcl, &bits); in parse_struct_declarator()
H A Dffi.c6080 void zend_ffi_add_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *… argument
6083 zend_ffi_type *struct_type = ZEND_FFI_TYPE(struct_dcl->type);
6124 void zend_ffi_add_anonymous_field(zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl) /* {{{ */ argument
6126 zend_ffi_type *struct_type = ZEND_FFI_TYPE(struct_dcl->type);
6192 void zend_ffi_add_bit_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_d… argument
6194 zend_ffi_type *struct_type = ZEND_FFI_TYPE(struct_dcl->type);

Completed in 36 milliseconds