亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? gc.c

?? gcc的組件
?? C
字號:
/* Basic data types for Objective C.   Copyright (C) 1998, 2002 Free Software Foundation, Inc.   Contributed by Ovidiu Predescu.This file is part of GCC.GCC is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GCC is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with GCC; see the file COPYING.  If not, write tothe Free Software Foundation, 51 Franklin Street, Fifth Floor,Boston, MA 02110-1301, USA.  *//* As a special exception, if you link this library with files   compiled with GCC to produce an executable, this does not cause   the resulting executable to be covered by the GNU General Public License.   This exception does not however invalidate any other reasons why   the executable file might be covered by the GNU General Public License.  */#include "tconfig.h"#include "objc/objc.h"#include "objc/encoding.h"#include <assert.h>#include <string.h>#include <stdlib.h>#if OBJC_WITH_GC#include <gc.h>#include <limits.h>/* gc_typed.h uses the following but doesn't declare them */typedef GC_word word;typedef GC_signed_word signed_word;#define BITS_PER_WORD (CHAR_BIT * sizeof (word))#include <gc_typed.h>/* The following functions set up in `mask` the corresponding pointers.   The offset is incremented with the size of the type.  */#define ROUND(V, A) \  ({ typeof (V) __v = (V); typeof (A) __a = (A); \     __a * ((__v+__a - 1)/__a); })#define SET_BIT_FOR_OFFSET(mask, offset) \  GC_set_bit (mask, offset / sizeof (void *))/* Some prototypes */static void__objc_gc_setup_struct (GC_bitmap mask, const char *type, int offset);static void__objc_gc_setup_union (GC_bitmap mask, const char *type, int offset);static void__objc_gc_setup_array (GC_bitmap mask, const char *type, int offset){  int i, len = atoi (type + 1);  while (isdigit (*++type))    /* do nothing */;		/* skip the size of the array */  switch (*type) {  case _C_ARY_B:    for (i = 0; i < len; i++)      __objc_gc_setup_array (mask, type, offset);    break;  case _C_STRUCT_B:    for (i = 0; i < len; i++)      __objc_gc_setup_struct (mask, type, offset);    break;  case _C_UNION_B:    for (i = 0; i < len; i++)      __objc_gc_setup_union (mask, type, offset);    break;  default:    break;  }}static void__objc_gc_setup_struct (GC_bitmap mask, const char *type, int offset){  struct objc_struct_layout layout;  unsigned int position;  const char *mtype;  objc_layout_structure (type, &layout);  while (objc_layout_structure_next_member (&layout))    {      BOOL gc_invisible = NO;      objc_layout_structure_get_info (&layout, &position, NULL, &mtype);      /* Skip the variable name */      if (*mtype == '"')	{	  for (mtype++; *mtype++ != '"';)	    /* do nothing */;	}      if (*mtype == _C_GCINVISIBLE)	{	  gc_invisible = YES;	  mtype++;	}      /* Add to position the offset of this structure */      position += offset;      switch (*mtype) {      case _C_ID:      case _C_CLASS:      case _C_SEL:      case _C_PTR:      case _C_CHARPTR:      case _C_ATOM:	if (! gc_invisible)	  SET_BIT_FOR_OFFSET (mask, position);	break;      case _C_ARY_B:	__objc_gc_setup_array (mask, mtype, position);	break;      case _C_STRUCT_B:	__objc_gc_setup_struct (mask, mtype, position);	break;      case _C_UNION_B:	__objc_gc_setup_union (mask, mtype, position);	break;      default:        break;      }    }}static void__objc_gc_setup_union (GC_bitmap mask, const char *type, int offset){  /* Sub-optimal, quick implementation: assume the union is made of     pointers, set up the mask accordingly. */  int i, size, align;  /* Skip the variable name */  if (*type == '"')    {      for (type++; *type++ != '"';)	/* do nothing */;    }  size = objc_sizeof_type (type);  align = objc_alignof_type (type);  offset = ROUND (offset, align);  for (i = 0; i < size; i += sizeof (void *))    {      SET_BIT_FOR_OFFSET (mask, offset);      offset += sizeof (void *);    }}/* Iterates over the types in the structure that represents the class   encoding and sets the bits in mask according to each ivar type.  */static void__objc_gc_type_description_from_type (GC_bitmap mask, const char *type){  struct objc_struct_layout layout;  unsigned int offset, align;  const char *ivar_type;  objc_layout_structure (type, &layout);  while (objc_layout_structure_next_member (&layout))    {      BOOL gc_invisible = NO;      objc_layout_structure_get_info (&layout, &offset, &align, &ivar_type);      /* Skip the variable name */      if (*ivar_type == '"')	{	  for (ivar_type++; *ivar_type++ != '"';)	    /* do nothing */;	}      if (*ivar_type == _C_GCINVISIBLE)	{	  gc_invisible = YES;	  ivar_type++;	}      switch (*ivar_type) {      case _C_ID:      case _C_CLASS:      case _C_SEL:      case _C_PTR:      case _C_CHARPTR:        if (! gc_invisible)          SET_BIT_FOR_OFFSET (mask, offset);	break;      case _C_ARY_B:	__objc_gc_setup_array (mask, ivar_type, offset);	break;      case _C_STRUCT_B:	__objc_gc_setup_struct (mask, ivar_type, offset);	break;      case _C_UNION_B:	__objc_gc_setup_union (mask, ivar_type, offset);	break;      default:        break;      }    }}/* Computes in *type the full type encoding of this class including   its super classes. '*size' gives the total number of bytes allocated   into *type, '*current' the number of bytes used so far by the   encoding. */static void__objc_class_structure_encoding (Class class, char **type, int *size,                                 int *current){  int i, ivar_count;  struct objc_ivar_list *ivars;  if (! class)    {      strcat (*type, "{");      *current++;      return;    }  /* Add the type encodings of the super classes */  __objc_class_structure_encoding (class->super_class, type, size, current);  ivars = class->ivars;  if (! ivars)    return;  ivar_count = ivars->ivar_count;  for (i = 0; i < ivar_count; i++)    {      struct objc_ivar *ivar = &(ivars->ivar_list[i]);      const char *ivar_type = ivar->ivar_type;      int len = strlen (ivar_type);      if (*current + len + 1 >= *size)        {          /* Increase the size of the encoding string so that it             contains this ivar's type. */          *size = ROUND (*current + len + 1, 10);          *type = objc_realloc (*type, *size);        }      strcat (*type + *current, ivar_type);      *current += len;    }}/* Allocates the memory that will hold the type description for class   and calls the __objc_class_structure_encoding that generates this   value. */void__objc_generate_gc_type_description (Class class){  GC_bitmap mask;  int bits_no, size;  int type_size = 10, current;  char *class_structure_type;  if (! CLS_ISCLASS (class))    return;  /* We have to create a mask in which each bit counts for a pointer member.     We take into consideration all the non-pointer instance variables and we     round them up to the alignment. */  /* The number of bits in the mask is the size of an instance in bytes divided     by the size of a pointer. */  bits_no = (ROUND (class_get_instance_size (class), sizeof (void *))             / sizeof (void *));  size = ROUND (bits_no, BITS_PER_WORD) / BITS_PER_WORD;  mask = objc_atomic_malloc (size * sizeof (int));  memset (mask, 0, size * sizeof (int));  class_structure_type = objc_atomic_malloc (type_size);  *class_structure_type = current = 0;  __objc_class_structure_encoding (class, &class_structure_type,                                   &type_size, &current);  if (current + 1 == type_size)    class_structure_type = objc_realloc (class_structure_type, ++type_size);  strcat (class_structure_type + current, "}");#ifdef DEBUG  printf ("type description for '%s' is %s\n", class->name, class_structure_type);#endif    __objc_gc_type_description_from_type (mask, class_structure_type);  objc_free (class_structure_type);#ifdef DEBUG  printf ("  mask for '%s', type '%s' (bits %d, mask size %d) is:",	  class_structure_type, class->name, bits_no, size);  {    int i;    for (i = 0; i < size; i++)      printf (" %lx", mask[i]);  }  puts ("");#endif  class->gc_object_type = (void *) GC_make_descriptor (mask, bits_no);}/* Returns YES if type denotes a pointer type, NO otherwise */static inline BOOL__objc_ivar_pointer (const char *type){  type = objc_skip_type_qualifiers (type);  return (*type == _C_ID          || *type == _C_CLASS          || *type == _C_SEL          || *type == _C_PTR          || *type == _C_CHARPTR          || *type == _C_ATOM);}/* Mark the instance variable whose name is given by ivarname as a   weak pointer (a pointer hidden to the garbage collector) if   gc_invisible is true. If gc_invisible is false it unmarks the   instance variable and makes it a normal pointer, visible to the   garbage collector.   This operation only makes sense on instance variables that are   pointers.  */voidclass_ivar_set_gcinvisible (Class class, const char *ivarname,                            BOOL gc_invisible){  int i, ivar_count;  struct objc_ivar_list *ivars;  if (! class || ! ivarname)    return;  ivars = class->ivars;  if (! ivars)    return;  ivar_count = ivars->ivar_count;  for (i = 0; i < ivar_count; i++)    {      struct objc_ivar *ivar = &(ivars->ivar_list[i]);      const char *type;      if (! ivar->ivar_name || strcmp (ivar->ivar_name, ivarname))	continue;      assert (ivar->ivar_type);      type = ivar->ivar_type;      /* Skip the variable name */      if (*type == '"')	{	  for (type++; *type++ != '"';)	    /* do nothing */;	}      if (*type == _C_GCINVISIBLE)	{	  char *new_type;	  if (gc_invisible || ! __objc_ivar_pointer (type))	    return;	/* The type of the variable already matches the			   requested gc_invisible type */	  /* The variable is gc_invisible and we have to reverse it */	  new_type = objc_atomic_malloc (strlen (ivar->ivar_type));	  strncpy (new_type, ivar->ivar_type,		   (size_t)(type - ivar->ivar_type));	  strcat (new_type, type + 1);	  ivar->ivar_type = new_type;	}      else	{	  char *new_type;	  if (! gc_invisible || ! __objc_ivar_pointer (type))	    return;	/* The type of the variable already matches the			   requested gc_invisible type */	  /* The variable is gc visible and we have to make it gc_invisible */	  new_type = objc_malloc (strlen (ivar->ivar_type) + 2);	  strncpy (new_type, ivar->ivar_type,		   (size_t)(type - ivar->ivar_type));	  strcat (new_type, "!");	  strcat (new_type, type);	  ivar->ivar_type = new_type;	}      __objc_generate_gc_type_description (class);      return;    }  /* Search the instance variable in the superclasses */  class_ivar_set_gcinvisible (class->super_class, ivarname, gc_invisible);}#else /* !OBJC_WITH_GC */void__objc_generate_gc_type_description (Class class __attribute__ ((__unused__))){}void class_ivar_set_gcinvisible (Class class __attribute__ ((__unused__)),				 const char *ivarname __attribute__ ((__unused__)),				 BOOL gc_invisible __attribute__ ((__unused__))){}#endif /* OBJC_WITH_GC */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品第1页| 成人不卡免费av| 538在线一区二区精品国产| 亚洲综合免费观看高清完整版在线 | 亚洲欧洲美洲综合色网| 成人午夜免费电影| 中文字幕在线不卡视频| 色综合久久久久综合体| 午夜精品久久久久久| 欧美成人激情免费网| 国产成人av福利| 亚洲啪啪综合av一区二区三区| 色综合久久久久久久| 亚洲成人自拍一区| 欧美tickling网站挠脚心| 精品一区二区国语对白| 国产精品情趣视频| 欧洲精品在线观看| 麻豆91小视频| 国产精品国产三级国产aⅴ入口| 色婷婷精品久久二区二区蜜臀av| 天堂蜜桃91精品| 中文字幕av一区二区三区免费看| 色婷婷精品久久二区二区蜜臀av| 蜜臀久久99精品久久久久久9| 日本一区二区视频在线| 欧美三级视频在线观看| 国产精品影视网| 亚洲福利一区二区| 国产女人18毛片水真多成人如厕| 久久久久久久久久久久久女国产乱| 国产99久久久精品| 日韩主播视频在线| 中文字幕一区二区视频| 日韩欧美一二三四区| av成人免费在线观看| 久久精品国产99久久6| 亚洲四区在线观看| 精品剧情v国产在线观看在线| 91蜜桃免费观看视频| 麻豆国产精品官网| 一区二区三区.www| 日本一区二区三区国色天香| 欧美日韩一级二级三级| bt欧美亚洲午夜电影天堂| 精品一区二区三区在线播放视频| 亚洲欧美日韩成人高清在线一区| 久久青草欧美一区二区三区| 欧美老年两性高潮| 色诱视频网站一区| 国产白丝网站精品污在线入口| 日韩高清在线电影| 一区二区三区精品| 国产精品天干天干在观线| 日韩欧美视频一区| 6080亚洲精品一区二区| 色婷婷狠狠综合| 暴力调教一区二区三区| 国产成人在线视频播放| 蜜臀av一区二区在线免费观看 | 欧美一区二区三区视频免费 | 91精品国产色综合久久不卡蜜臀| 91污片在线观看| 成人综合日日夜夜| 国产精品一二三四| 国内精品久久久久影院薰衣草 | 亚洲素人一区二区| 亚洲国产精品成人综合色在线婷婷| 日韩亚洲欧美高清| 91麻豆精品国产综合久久久久久 | 粉嫩嫩av羞羞动漫久久久| 精品综合免费视频观看| 麻豆一区二区在线| 麻豆精品一区二区| 久久99国产精品尤物| 久久9热精品视频| 精品一区二区在线免费观看| 美女视频免费一区| 九一九一国产精品| 国产精品一级在线| 福利电影一区二区| 99国产精品视频免费观看| 不卡视频在线观看| 一本色道久久综合亚洲91| caoporm超碰国产精品| 91女人视频在线观看| 91视频一区二区三区| 欧美午夜宅男影院| 91精品国产综合久久久久| 7799精品视频| 亚洲精品一区二区三区在线观看| 久久蜜臀中文字幕| 国产精品夫妻自拍| 一区二区三区高清在线| 水野朝阳av一区二区三区| 老司机免费视频一区二区| 国产一二精品视频| 97se亚洲国产综合自在线观| 欧美亚洲高清一区二区三区不卡| 4438x亚洲最大成人网| 精品欧美久久久| 日本一二三四高清不卡| 亚洲一区视频在线| 久久精品99国产国产精| 不卡一卡二卡三乱码免费网站| 欧美亚洲综合一区| 亚洲精品在线电影| 亚洲三级视频在线观看| 日韩一区精品视频| 国产精品亚洲人在线观看| 一本到不卡精品视频在线观看| 欧美日韩三级在线| 久久久久久久电影| 亚洲综合一区二区精品导航| 免费成人av在线| av电影天堂一区二区在线观看| 欧美视频在线不卡| 久久综合久久鬼色| 亚洲狠狠爱一区二区三区| 国产专区综合网| 欧美视频中文字幕| 欧美国产乱子伦| 日本成人在线不卡视频| 99久久国产免费看| 日韩精品一区在线| 亚洲欧美激情一区二区| 久久99精品网久久| 一本久道中文字幕精品亚洲嫩| 欧美tickling挠脚心丨vk| 亚洲激情自拍偷拍| 国产成人免费在线观看| 777欧美精品| 亚洲精品视频在线观看网站| 久久99精品久久久久久| 欧美日韩国产一二三| 国产精品三级电影| 裸体一区二区三区| 欧美日韩国产美| 亚洲码国产岛国毛片在线| 国产精华液一区二区三区| 欧美精品第1页| 一区二区三区国产| 99久久精品一区| 中文字幕乱码日本亚洲一区二区| 蜜臀av亚洲一区中文字幕| 在线精品视频免费播放| 国产精品久久久久久一区二区三区 | 日韩欧美一级精品久久| 一区二区激情小说| 99久久99久久精品免费看蜜桃| 久久综合九色综合97_久久久| 日韩专区中文字幕一区二区| 欧洲av在线精品| 亚洲色欲色欲www| 成人午夜免费电影| 国产日韩欧美精品在线| 国产精品一区二区黑丝| 欧美精品一区二区精品网| 日本系列欧美系列| 91精品国产品国语在线不卡| 天天av天天翘天天综合网色鬼国产| 91成人免费在线| 91精品欧美久久久久久动漫 | 国产成人免费在线观看| 欧美精品一区二区久久婷婷| 久久99精品国产麻豆不卡| 欧美变态tickle挠乳网站| 毛片一区二区三区| 337p粉嫩大胆噜噜噜噜噜91av| 麻豆国产精品777777在线| 91精品国产91久久久久久最新毛片 | 一道本成人在线| 亚洲精品中文在线影院| 在线精品视频一区二区| 亚洲国产欧美另类丝袜| 欧美日韩一区二区欧美激情| 亚洲国产精品久久艾草纯爱| 欧美日本一区二区三区四区| 天天色天天操综合| 欧美不卡视频一区| 国产成人啪免费观看软件| 综合网在线视频| 欧美三级乱人伦电影| 日韩国产一区二| 久久先锋影音av鲁色资源| 成人午夜又粗又硬又大| 亚洲激情自拍视频| 欧美一卡二卡在线观看| 国产自产视频一区二区三区| 国产精品久久久久久久久免费丝袜| 91丨九色丨蝌蚪富婆spa| 亚洲va欧美va天堂v国产综合| 91精品在线免费| 国产精品99久久不卡二区| 国产精品福利av| 欧美精三区欧美精三区| 国产美女精品在线| 最新国产の精品合集bt伙计| 欧美色综合影院| 国产精品香蕉一区二区三区|