Lines Matching refs:name_len
328 static int parse_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len);
330 …ic int parse_parameter_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len);
356 static int parse_ID(int sym, const char **name, size_t *name_len);
2080 size_t name_len; in parse_declarations() local
2083 sym = parse_declarator(sym, &dcl, &name, &name_len); in parse_declarations()
2105 zend_ffi_declare(name, name_len, &dcl); in parse_declarations()
2109 sym = parse_declarator(sym, &dcl, &name, &name_len); in parse_declarations()
2116 zend_ffi_declare(name, name_len, &dcl); in parse_declarations()
2293 size_t name_len; in parse_type_specifier() local
2370 sym = parse_ID(sym, &name, &name_len); in parse_type_specifier()
2372 zend_ffi_resolve_typedef(name, name_len, dcl); in parse_type_specifier()
2395 size_t name_len; in parse_struct_or_union_specifier() local
2396 sym = parse_ID(sym, &name, &name_len); in parse_struct_or_union_specifier()
2397 zend_ffi_declare_tag(name, name_len, dcl, 1); in parse_struct_or_union_specifier()
2400 zend_ffi_declare_tag(name, name_len, dcl, 0); in parse_struct_or_union_specifier()
2496 size_t name_len = 0; in parse_struct_declarator() local
2499 sym = parse_declarator(sym, field_dcl, &name, &name_len); in parse_struct_declarator()
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()
2536 size_t name_len; in parse_enum_specifier() local
2537 sym = parse_ID(sym, &name, &name_len); in parse_enum_specifier()
2539 zend_ffi_declare_tag(name, name_len, dcl, 0); in parse_enum_specifier()
2550 zend_ffi_declare_tag(name, name_len, dcl, 1); in parse_enum_specifier()
2622 size_t name_len; in parse_enumerator() local
2624 sym = parse_ID(sym, &name, &name_len); in parse_enumerator()
2629 zend_ffi_add_enum_val(enum_dcl, name, name_len, &val, min, max, last); in parse_enumerator()
2633 static int parse_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len) { in parse_declarator() argument
2640 sym = parse_ID(sym, name, name_len); in parse_declarator()
2646 sym = parse_declarator(sym, &nested_dcl, name, name_len); in parse_declarator()
2687 …c int parse_parameter_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len) { in parse_parameter_declarator() argument
2698 sym = parse_parameter_declarator(sym, &nested_dcl, name, name_len); in parse_parameter_declarator()
2705 sym = parse_ID(sym, name, name_len); in parse_parameter_declarator()
2928 size_t name_len = 0; in parse_parameter_declaration() local
2933 sym = parse_parameter_declarator(sym, ¶m_dcl, &name, &name_len); in parse_parameter_declaration()
2934 zend_ffi_add_arg(args, name, name_len, ¶m_dcl); in parse_parameter_declaration()
2947 size_t name_len; in parse_attributes() local
2983 sym = parse_ID(sym, &name, &name_len); in parse_attributes()
2987 zend_ffi_add_msvc_attribute_value(dcl, name, name_len, &val); in parse_attributes()
3028 size_t name_len; in parse_attrib() local
3034 sym = parse_ID(sym, &name, &name_len); in parse_attrib()
3036 zend_ffi_add_attribute(dcl, name, name_len); in parse_attrib()
3042 zend_ffi_add_attribute_value(dcl, name, name_len, 0, &val); in parse_attrib()
3047 zend_ffi_add_attribute_value(dcl, name, name_len, ++n, &val); in parse_attrib()
3140 size_t name_len; in parse_designation() local
3152 sym = parse_ID(sym, &name, &name_len); in parse_designation()
3380 size_t name_len; in parse_unary_expression() local
3384 sym = parse_ID(sym, &name, &name_len); in parse_unary_expression()
3385 zend_ffi_resolve_const(name, name_len, val); in parse_unary_expression()
3408 sym = parse_ID(sym, &name, &name_len); in parse_unary_expression()
3412 sym = parse_ID(sym, &name, &name_len); in parse_unary_expression()
3544 static int parse_ID(int sym, const char **name, size_t *name_len) { in parse_ID() argument
3548 *name = (const char*)yy_text; *name_len = yy_pos - yy_text; in parse_ID()