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.h222 void zend_ffi_add_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *…
223 void zend_ffi_add_anonymous_field(zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl);
224 void zend_ffi_add_bit_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_d…
H A Dffi.g265 struct_declaration(zend_ffi_dcl *struct_dcl):
269 {zend_ffi_add_anonymous_field(struct_dcl, &common_field_dcl);}
270 | struct_declarator(struct_dcl, &common_field_dcl)
274 struct_declarator(struct_dcl, &field_dcl)
279 struct_declarator(zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl):
287 {zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits);}
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 Dffi_parser.c323 static int parse_struct_declaration(int sym, zend_ffi_dcl *struct_dcl);
324 static int parse_struct_declarator(int sym, zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl);
2473 static int parse_struct_declaration(int sym, zend_ffi_dcl *struct_dcl) { in parse_struct_declaration() argument
2477 zend_ffi_add_anonymous_field(struct_dcl, &common_field_dcl); in parse_struct_declaration()
2479 sym = parse_struct_declarator(sym, struct_dcl, &common_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
2506 zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits); in parse_struct_declarator()
2511 zend_ffi_add_field(struct_dcl, name, name_len, field_dcl); in parse_struct_declarator()
2518 zend_ffi_add_bit_field(struct_dcl, NULL, 0, field_dcl, &bits); in parse_struct_declarator()
H A Dffi.c6127 void zend_ffi_add_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *… argument
6130 zend_ffi_type *struct_type = ZEND_FFI_TYPE(struct_dcl->type);
6171 void zend_ffi_add_anonymous_field(zend_ffi_dcl *struct_dcl, zend_ffi_dcl *field_dcl) /* {{{ */ argument
6173 zend_ffi_type *struct_type = ZEND_FFI_TYPE(struct_dcl->type);
6239 void zend_ffi_add_bit_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_d… argument
6241 zend_ffi_type *struct_type = ZEND_FFI_TYPE(struct_dcl->type);

Completed in 64 milliseconds