Lines Matching refs:name_len

272 static int parse_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len);
274 …ic int parse_parameter_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len);
300 static int parse_ID(int sym, const char **name, size_t *name_len);
2023 size_t name_len; in parse_declarations() local
2026 sym = parse_declarator(sym, &dcl, &name, &name_len); in parse_declarations()
2048 zend_ffi_declare(name, name_len, &dcl); in parse_declarations()
2052 sym = parse_declarator(sym, &dcl, &name, &name_len); in parse_declarations()
2059 zend_ffi_declare(name, name_len, &dcl); in parse_declarations()
2232 size_t name_len; in parse_type_specifier() local
2309 sym = parse_ID(sym, &name, &name_len); in parse_type_specifier()
2311 zend_ffi_resolve_typedef(name, name_len, dcl); in parse_type_specifier()
2334 size_t name_len; in parse_struct_or_union_specifier() local
2335 sym = parse_ID(sym, &name, &name_len); in parse_struct_or_union_specifier()
2336 zend_ffi_declare_tag(name, name_len, dcl, 1); in parse_struct_or_union_specifier()
2339 zend_ffi_declare_tag(name, name_len, dcl, 0); in parse_struct_or_union_specifier()
2435 size_t name_len = 0; in parse_struct_declarator() local
2438 sym = parse_declarator(sym, field_dcl, &name, &name_len); in parse_struct_declarator()
2445 zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits); in parse_struct_declarator()
2450 zend_ffi_add_field(struct_dcl, name, name_len, field_dcl); in parse_struct_declarator()
2475 size_t name_len; in parse_enum_specifier() local
2476 sym = parse_ID(sym, &name, &name_len); in parse_enum_specifier()
2478 zend_ffi_declare_tag(name, name_len, dcl, 0); in parse_enum_specifier()
2489 zend_ffi_declare_tag(name, name_len, dcl, 1); in parse_enum_specifier()
2561 size_t name_len; in parse_enumerator() local
2563 sym = parse_ID(sym, &name, &name_len); in parse_enumerator()
2568 zend_ffi_add_enum_val(enum_dcl, name, name_len, &val, min, max, last); in parse_enumerator()
2572 static int parse_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len) { in parse_declarator() argument
2579 sym = parse_ID(sym, name, name_len); in parse_declarator()
2585 sym = parse_declarator(sym, &nested_dcl, name, name_len); in parse_declarator()
2626 …c int parse_parameter_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len) { in parse_parameter_declarator() argument
2637 sym = parse_parameter_declarator(sym, &nested_dcl, name, name_len); in parse_parameter_declarator()
2644 sym = parse_ID(sym, name, name_len); in parse_parameter_declarator()
2867 size_t name_len = 0; in parse_parameter_declaration() local
2872 sym = parse_parameter_declarator(sym, &param_dcl, &name, &name_len); in parse_parameter_declaration()
2873 zend_ffi_add_arg(args, name, name_len, &param_dcl); in parse_parameter_declaration()
2886 size_t name_len; in parse_attributes() local
2922 sym = parse_ID(sym, &name, &name_len); in parse_attributes()
2926 zend_ffi_add_msvc_attribute_value(dcl, name, name_len, &val); in parse_attributes()
2967 size_t name_len; in parse_attrib() local
2973 sym = parse_ID(sym, &name, &name_len); in parse_attrib()
2975 zend_ffi_add_attribute(dcl, name, name_len); in parse_attrib()
2981 zend_ffi_add_attribute_value(dcl, name, name_len, 0, &val); in parse_attrib()
2986 zend_ffi_add_attribute_value(dcl, name, name_len, ++n, &val); in parse_attrib()
3079 size_t name_len; in parse_designation() local
3091 sym = parse_ID(sym, &name, &name_len); in parse_designation()
3319 size_t name_len; in parse_unary_expression() local
3323 sym = parse_ID(sym, &name, &name_len); in parse_unary_expression()
3324 zend_ffi_resolve_const(name, name_len, val); in parse_unary_expression()
3347 sym = parse_ID(sym, &name, &name_len); in parse_unary_expression()
3351 sym = parse_ID(sym, &name, &name_len); in parse_unary_expression()
3483 static int parse_ID(int sym, const char **name, size_t *name_len) { in parse_ID() argument
3487 *name = (const char*)yy_text; *name_len = yy_pos - yy_text; in parse_ID()