代码搜索结果
找到约 44,783 项符合
Layout 的代码
struct-layout-1_generate.c
/* Structure layout test generator.
Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
Contributed by Jakub Jelinek .
This file is part of GCC.
GCC is free softwar
struct-layout-encoding-1_generate.c
/* Structure layout test generator.
Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
Contributed by Jakub Jelinek .
This file is part of GCC.
GCC is free softwar
struct-layout-1_test.h
#include "struct-layout-1.h"
#define TX(n, type, attrs, fields, ops) \
type S##n { fields } attrs; \
void test##n (void) \
{ \
if (objc_sizeof_type (@encoding (type S##n)) != siz
bf-ms-layout.c
/* bf-ms-layout.c */
/* Test for MS bitfield layout */
/* Adapted from Donn Terry testcase
posted to GCC-patches
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html *
struct-layout-1_main.c
#include "struct-layout-1.h"
#define TX(n, type, attrs, fields, ops) extern void test##n (void);
#include "struct-layout-1_test.h"
#undef TX
int main (void)
{
#define TX(n, type, attrs, fields, ops)
struct-layout-1_x1.h
#include "struct-layout-1.h"
struct Info info;
int fails;
int intarray[256];
int fn0 (void) { return 0; }
int fn1 (void) { return 1; }
int fn2 (void) { return 2; }
int fn3 (void) { return 3; }
int fn
struct-layout-1_x.c
/* { dg-options "-w" } */
#include "struct-layout-1_x1.h"
#include "struct-layout-1_test.h"
#include "struct-layout-1_x2.h"
#include "struct-layout-1_test.h"
struct-layout-1_y1.h
#include "struct-layout-1.h"
#define F(n, x, v, w) \
if (info.flds[i] != &s##n.x) \
FAIL (n, 50); \
if (info.sizes[i] != sizeof (s##n.x)) \
FAIL (n, 51); \
if (in
struct-layout-1_y.c
/* { dg-options "-w" } */
#include "struct-layout-1_y1.h"
#include "struct-layout-1_test.h"
#include "struct-layout-1_y2.h"
#include "struct-layout-1_test.h"
struct-layout-1_generate.c
/* Structure layout test generator.
Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
Contributed by Jakub Jelinek .
This file is part of GCC.
GCC is free softwar