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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? sendmsg.c

?? GUN開(kāi)源阻止下的編譯器GCC
?? C
字號(hào):
/* GNU Objective C Runtime message lookup    Copyright (C) 1993, 1995 Free Software Foundation, Inc.   Contributed by Kresten Krab ThorupThis file is part of GNU CC.GNU CC is free software; you can redistribute it and/or modify it under theterms of the GNU General Public License as published by the Free SoftwareFoundation; either version 2, or (at your option) any later version.GNU CC is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESSFOR A PARTICULAR PURPOSE.  See the GNU General Public License for moredetails.You should have received a copy of the GNU General Public License along withGNU CC; see the file COPYING.  If not, write to the Free SoftwareFoundation, 59 Temple Place - Suite 330,Boston, MA 02111-1307, 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 "runtime.h"#include "sarray.h"#include "encoding.h"/* this is how we hack STRUCT_VALUE to be 1 or 0 */#define gen_rtx(args...) 1#define rtx int#if STRUCT_VALUE == 0#define INVISIBLE_STRUCT_RETURN 1#else#define INVISIBLE_STRUCT_RETURN 0#endif/* The uninstalled dispatch table */struct sarray* __objc_uninstalled_dtable = 0;/* Send +initialize to class */static void __objc_send_initialize(Class);static void __objc_install_dispatch_table_for_class (Class);/* Forward declare some functions */static void __objc_init_install_dtable(id, SEL);static id __objc_word_forward(id, SEL, ...);typedef struct { id many[8]; } __big;#if INVISIBLE_STRUCT_RETURN static __big #elsestatic id#endif__objc_block_forward(id, SEL, ...);static Method_t search_for_method_in_hierarchy (Class class, SEL sel);static Method_t search_for_method_in_list(MethodList_t list, SEL op);id nil_method(id, SEL, ...);idnil_method(id receiver, SEL op, ...){  return receiver;}/* Given a class and selector, return the selector's implementation.  */__inline__IMPget_imp (Class class, SEL sel){  IMP impl;  void* res = sarray_get (class->dtable, (size_t) sel->sel_id);  if(res == __objc_init_install_dtable)    {      __objc_install_dispatch_table_for_class (class);      res = sarray_get (class->dtable, (size_t) sel->sel_id);    }  if (res == 0)    {      const char *t = sel->sel_types;      if (t && (*t == '[' || *t == '(' || *t == '{'))	res = (IMP)__objc_block_forward;      else	res = (IMP)__objc_word_forward;    }  return res;}__inline__ BOOL__objc_responds_to (id object, SEL sel){  void* res = sarray_get (object->class_pointer->dtable, (size_t) sel->sel_id);  if(res == __objc_init_install_dtable)    {      __objc_install_dispatch_table_for_class (object->class_pointer);      res = sarray_get (object->class_pointer->dtable, (size_t) sel->sel_id);    }  return (res != 0);}/* This is the lookup function.  All entries in the table are either a    valid method *or* one of `__objc_missing_method' which calls   forward:: etc, or `__objc_init_install_dtable' which installs the   real dtable */__inline__ IMPobjc_msg_lookup(id receiver, SEL op){  IMP result;  if(receiver)    {      result = sarray_get(receiver->class_pointer->dtable, (sidx)op->sel_id);      if (result == 0)	{	  const char *t = op->sel_types;	  if (t && (*t == '[' || *t == '(' || *t == '{'))	    result = (IMP)__objc_block_forward;	  else	    result = (IMP)__objc_word_forward;	}      return result;    }  else    return nil_method;}IMPobjc_msg_lookup_super (Super_t super, SEL sel){  if (super->self)    return get_imp (super->class, sel);  else    return nil_method;}int method_get_sizeof_arguments (Method*);retval_tobjc_msg_sendv(id object, SEL op, arglist_t arg_frame){  Method* m = class_get_instance_method(object->class_pointer, op);  const char *type;  *((id*)method_get_first_argument (m, arg_frame, &type)) = object;  *((SEL*)method_get_next_argument (arg_frame, &type)) = op;  return __builtin_apply((apply_t)m->method_imp, 			 arg_frame,			 method_get_sizeof_arguments (m));}void __objc_init_dispatch_tables(){  __objc_uninstalled_dtable    = sarray_new(200, __objc_init_install_dtable);}/* This one is a bit hairy.  This function is installed in the    premature dispatch table, and thus called once for each class,   namely when the very first message is send to it.  */static void __objc_init_install_dtable(id receiver, SEL op){  __label__ already_initialized;  IMP imp;  void* args;  void* result;  /* This may happen, if the programmer has taken the address of a      method before the dtable was initialized... too bad for him! */  if(receiver->class_pointer->dtable != __objc_uninstalled_dtable)    goto already_initialized;  if(CLS_ISCLASS(receiver->class_pointer))    {      /* receiver is an ordinary object */      assert(CLS_ISCLASS(receiver->class_pointer));      /* install instance methods table */      __objc_install_dispatch_table_for_class (receiver->class_pointer);      /* call +initialize -- this will in turn install the factory 	 dispatch table if not already done :-) */      __objc_send_initialize(receiver->class_pointer);    }  else    {      /* receiver is a class object */      assert(CLS_ISCLASS((Class)receiver));      assert(CLS_ISMETA(receiver->class_pointer));      /* Install real dtable for factory methods */      __objc_install_dispatch_table_for_class (receiver->class_pointer);      if (strcmp (sel_get_name (op), "initialize"))	__objc_send_initialize((Class)receiver);      else	CLS_SETINITIALIZED((Class)receiver);    }already_initialized:    /* Get real method for this in newly installed dtable */  imp = get_imp(receiver->class_pointer, op);  args = __builtin_apply_args();  result = __builtin_apply((apply_t)imp, args, 96);  if (result)    __builtin_return (result);  else    return;  }/* Install dummy table for class which causes the first message to   that class (or instances hereof) to be initialized properly */void __objc_install_premature_dtable(Class class){  assert(__objc_uninstalled_dtable);  class->dtable = __objc_uninstalled_dtable;}   /* Send +initialize to class if not already done */static void __objc_send_initialize(Class class){  /* This *must* be a class object */  assert(CLS_ISCLASS(class));  assert(!CLS_ISMETA(class));  if (!CLS_ISINITIALIZED(class))    {      CLS_SETINITIALIZED(class);      CLS_SETINITIALIZED(class->class_pointer);            if(class->super_class)	__objc_send_initialize(class->super_class);      {	SEL 	op = sel_register_name ("initialize");	Class	tmpclass = class;	IMP	imp = 0;	while (!imp && tmpclass) {	  MethodList_t method_list = tmpclass->class_pointer->methods;	  while(!imp && method_list) {	    int i;	    Method_t method;	    for (i=0;i<method_list->method_count;i++) {	      method = &(method_list->method_list[i]);	      if (method->method_name->sel_id == op->sel_id) {	        imp = method->method_imp;	        break;	      }	    }	    method_list = method_list->method_next;	  }	  tmpclass = tmpclass->super_class;	}	if (imp)	    (*imp)((id)class, op);		      }    }}  static void__objc_install_dispatch_table_for_class (Class class){  Class super;  MethodList_t mlist;  int counter;  /* If the class has not yet had it's class links resolved, we must      re-compute all class links */  if(!CLS_ISRESOLV(class))    __objc_resolve_class_links();  super = class->super_class;  if (super != 0 && (super->dtable == __objc_uninstalled_dtable))    __objc_install_dispatch_table_for_class (super);  /* Allocate dtable if necessary */  if (super == 0)    {      class->dtable = sarray_new (__objc_selector_max_index, 0);    }  else    class->dtable = sarray_lazy_copy (super->dtable);  for (mlist = class->methods; mlist; mlist = mlist->method_next)    {      counter = mlist->method_count - 1;      while (counter >= 0)        {          Method_t method = &(mlist->method_list[counter]);	  sarray_at_put_safe (class->dtable,			      (sidx) method->method_name->sel_id,			      method->method_imp);          counter -= 1;        }    }}void __objc_update_dispatch_table_for_class (Class class){  Class next;  /* not yet installed -- skip it */  if (class->dtable == __objc_uninstalled_dtable)     return;  sarray_free (class->dtable);	/* release memory */  __objc_install_premature_dtable (class); /* someone might require it... */  __objc_install_dispatch_table_for_class (class); /* could have been lazy... */  if (class->subclass_list)	/* Traverse subclasses */    for (next = class->subclass_list; next; next = next->sibling_class)      __objc_update_dispatch_table_for_class (next);}/* This function adds a method list to a class.  This function is   typically called by another function specific to the run-time.  As   such this function does not worry about thread safe issued.   This one is only called for categories. Class objects have their   methods installed right away, and their selectors are made into   SEL's by the function __objc_register_selectors_from_class. */ voidclass_add_method_list (Class class, MethodList_t list){  int i;  static SEL initialize_sel = 0;  if (!initialize_sel)    initialize_sel = sel_register_name ("initialize");  /* Passing of a linked list is not allowed.  Do multiple calls.  */  assert (!list->method_next);  /* Check for duplicates.  */  for (i = 0; i < list->method_count; ++i)    {      Method_t method = &list->method_list[i];      if (method->method_name)  /* Sometimes these are NULL */	{	  /* This is where selector names are transmogrified to SEL's */	  method->method_name = 	    sel_register_typed_name ((const char*)method->method_name,				     method->method_types);	  if (search_for_method_in_list (class->methods, method->method_name)	      && method->method_name->sel_id != initialize_sel->sel_id)	    {	      /* Duplication. Print a error message an change the method name		 to NULL. */	      fprintf (stderr, "attempt to add a existing method: %s\n",		       sel_get_name(method->method_name));	      method->method_name = 0;	    }	}    }  /* Add the methods to the class's method list.  */  list->method_next = class->methods;  class->methods = list;}Method_tclass_get_instance_method(Class class, SEL op){  return search_for_method_in_hierarchy(class, op);}Method_tclass_get_class_method(MetaClass class, SEL op){  return search_for_method_in_hierarchy(class, op);}/* Search for a method starting from the current class up its hierarchy.   Return a pointer to the method's method structure if found.  NULL   otherwise. */   static Method_tsearch_for_method_in_hierarchy (Class cls, SEL sel){  Method_t method = NULL;  Class class;  if (! sel_is_mapped (sel))    return NULL;  /* Scan the method list of the class.  If the method isn't found in the     list then step to its super class. */  for (class = cls; ((! method) && class); class = class->super_class)    method = search_for_method_in_list (class->methods, sel);  return method;}/* Given a linked list of method and a method's name.  Search for the named   method's method structure.  Return a pointer to the method's method   structure if found.  NULL otherwise. */  static Method_tsearch_for_method_in_list (MethodList_t list, SEL op){  MethodList_t method_list = list;  if (! sel_is_mapped (op))    return NULL;  /* If not found then we'll search the list.  */  while (method_list)    {      int i;      /* Search the method list.  */      for (i = 0; i < method_list->method_count; ++i)        {          Method_t method = &method_list->method_list[i];          if (method->method_name)            if (method->method_name->sel_id == op->sel_id)              return method;        }      /* The method wasn't found.  Follow the link to the next list of         methods.  */      method_list = method_list->method_next;    }  return NULL;}static retval_t __objc_forward (id object, SEL sel, arglist_t args);static id__objc_word_forward (id rcv, SEL op, ...){  void *args, *res;  args = __builtin_apply_args ();  res = __objc_forward (rcv, op, args);  if (res)    __builtin_return (res);  else    return res;}#if INVISIBLE_STRUCT_RETURNstatic __big#elsestatic id#endif__objc_block_forward (id rcv, SEL op, ...){  void *args, *res;  args = __builtin_apply_args ();  res = __objc_forward (rcv, op, args);  if (res)    __builtin_return (res);}/* This function is installed in the dispatch table for all methods which are   not implemented.  Thus, it is called when a selector is not recognized. */static retval_t__objc_forward (id object, SEL sel, arglist_t args){  IMP imp;  static SEL frwd_sel = 0;  SEL err_sel;  /* first try if the object understands forward:: */  if (!frwd_sel)    frwd_sel = sel_get_any_uid("forward::");  if (__objc_responds_to (object, frwd_sel))    {      imp = get_imp(object->class_pointer, frwd_sel);      return (*imp)(object, frwd_sel, sel, args);    }  /* If the object recognizes the doesNotRecognize: method then we're going     to send it. */  err_sel = sel_get_any_uid ("doesNotRecognize:");  if (__objc_responds_to (object, err_sel))    {      imp = get_imp (object->class_pointer, err_sel);      return (*imp) (object, err_sel, sel);    }    /* The object doesn't recognize the method.  Check for responding to     error:.  If it does then sent it. */  {    size_t strlen (const char*);    char msg[256 + strlen ((const char*)sel_get_name (sel))             + strlen ((const char*)object->class_pointer->name)];    sprintf (msg, "(%s) %s does not recognize %s",	     (CLS_ISMETA(object->class_pointer)	      ? "class"	      : "instance" ),             object->class_pointer->name, sel_get_name (sel));    err_sel = sel_get_any_uid ("error:");    if (__objc_responds_to (object, err_sel))      {	imp = get_imp (object->class_pointer, err_sel);	return (*imp) (object, sel_get_any_uid ("error:"), msg);      }    /* The object doesn't respond to doesNotRecognize: or error:;  Therefore,       a default action is taken. */    fprintf (stderr, "fatal: %s\n", msg);    abort ();  }}void __objc_print_dtable_stats(){  int total = 0;  printf("memory usage: (%s)\n",#ifdef OBJC_SPARSE2	 "2-level sparse arrays"#else	 "3-level sparse arrays"#endif	 );  printf("arrays: %d = %ld bytes\n", narrays, (int)narrays*sizeof(struct sarray));  total += narrays*sizeof(struct sarray);  printf("buckets: %d = %ld bytes\n", nbuckets, (int)nbuckets*sizeof(struct sbucket));  total += nbuckets*sizeof(struct sbucket);  printf("idxtables: %d = %ld bytes\n", idxsize, (int)idxsize*sizeof(void*));  total += idxsize*sizeof(void*);  printf("-----------------------------------\n");  printf("total: %d bytes\n", total);  printf("===================================\n");}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩精品一二三区| 久久综合国产精品| 国产精品一区免费视频| 一区二区久久久| 国产欧美精品一区二区三区四区| 欧美性xxxxxxxx| 91麻豆精品国产综合久久久久久 | 精品亚洲成av人在线观看| 日韩一区欧美小说| 国产午夜三级一区二区三| 日韩午夜电影在线观看| 欧美日韩五月天| 色老头久久综合| www.亚洲免费av| 国产精品一卡二| 国产一区二区成人久久免费影院| 日本不卡一二三区黄网| 无码av免费一区二区三区试看| 日韩伦理免费电影| 中文在线一区二区| 欧美国产乱子伦| 久久久99免费| 久久影视一区二区| 精品理论电影在线观看| 91精品国产综合久久久蜜臀图片| 欧美视频你懂的| 欧美日韩在线播放| 欧美亚日韩国产aⅴ精品中极品| av激情成人网| 99精品国产热久久91蜜凸| gogogo免费视频观看亚洲一| 国产成人免费视频一区| 国产成人午夜高潮毛片| 国内不卡的二区三区中文字幕| 青草国产精品久久久久久| 日韩成人免费在线| 奇米色777欧美一区二区| 日本aⅴ免费视频一区二区三区 | 亚洲国产wwwccc36天堂| 亚洲综合区在线| 亚洲亚洲人成综合网络| 一区二区三区在线视频播放 | 国产高清不卡二三区| 国产jizzjizz一区二区| 成人爽a毛片一区二区免费| 福利一区二区在线| jizzjizzjizz欧美| 在线观看日韩电影| 欧美三级中文字幕| 在线不卡中文字幕| 精品美女被调教视频大全网站| 久久久亚洲国产美女国产盗摄| 国产丝袜欧美中文另类| 国产精品麻豆视频| 亚洲欧美视频一区| 午夜视频一区二区| 精品一区二区影视| 成人午夜视频在线| 91美女福利视频| 欧美日韩综合在线| 欧美成人在线直播| 欧美激情一区不卡| 一级中文字幕一区二区| 日本女优在线视频一区二区| 国产乱码精品一区二区三区五月婷| 国产精品一区二区免费不卡 | 亚洲精品免费播放| 日韩精品一级二级| 国产自产视频一区二区三区| 99国产精品久久久| 欧美日韩久久一区| 久久综合九色综合欧美98| 日韩美女精品在线| 日韩av网站在线观看| 国产福利一区二区三区视频| 91麻豆文化传媒在线观看| 欧美一级二级三级蜜桃| 国产精品久久影院| 免费高清视频精品| 成人成人成人在线视频| 5858s免费视频成人| 中文字幕第一区| 日本美女视频一区二区| av男人天堂一区| 欧美电影免费观看高清完整版在线 | 中文无字幕一区二区三区| 亚洲成人av电影在线| 国产99久久久国产精品潘金| 欧美日韩国产综合视频在线观看| 久久精品欧美一区二区三区不卡 | 一区二区日韩av| 国产一区二区三区蝌蚪| 欧美日韩国产美| 国产精品天美传媒沈樵| 美女爽到高潮91| 91黄色在线观看| 亚洲国产精品二十页| 蜜乳av一区二区| 欧美日韩一区二区三区四区五区| 中文在线资源观看网站视频免费不卡 | 美洲天堂一区二卡三卡四卡视频| 91在线视频官网| 久久久久久久精| 男男视频亚洲欧美| 欧美日韩国产在线观看| 亚洲女厕所小便bbb| 成人动漫视频在线| 久久久天堂av| 韩国女主播一区| 日韩欧美亚洲一区二区| 五月婷婷综合在线| 欧美视频三区在线播放| 亚洲黄色小视频| av在线播放不卡| 国产精品天美传媒沈樵| 国产精品66部| 久久久久久久久久久久久女国产乱 | 一区在线观看视频| 国产成人丝袜美腿| 欧美va天堂va视频va在线| 亚洲va国产天堂va久久en| 日本韩国欧美在线| 成人欧美一区二区三区1314| 国产高清不卡二三区| 国产亚洲女人久久久久毛片| 国产一区二区三区日韩| 久久人人爽人人爽| 狠狠色狠狠色综合系列| 精品福利一二区| 欧美日韩免费一区二区三区视频| 国产精品家庭影院| 97国产一区二区| 自拍偷在线精品自拍偷无码专区 | 欧亚洲嫩模精品一区三区| 亚洲另类在线制服丝袜| 91福利社在线观看| 亚洲一区二区三区四区不卡| 在线视频国内自拍亚洲视频| 亚洲制服丝袜一区| 欧美人成免费网站| 老司机免费视频一区二区| 精品三级在线看| 国产精品一区久久久久| 国产精品污网站| 在线视频欧美区| 蜜臀av一区二区在线观看| 精品欧美久久久| 国产69精品久久99不卡| 国产精品你懂的在线| 色域天天综合网| 婷婷成人综合网| 久久影院午夜片一区| a级高清视频欧美日韩| 亚洲综合色视频| 欧美一级免费观看| 激情小说欧美图片| 国产日韩欧美高清在线| 色综合久久综合中文综合网| 亚洲国产综合91精品麻豆 | 亚洲一区二区三区四区五区中文| 欧美精品久久一区二区三区| 狠狠色2019综合网| 亚洲天天做日日做天天谢日日欢| 欧美日韩一区二区在线观看| 国内外成人在线| 亚洲三级电影全部在线观看高清| 欧美精品第1页| 国产成人综合网站| 亚洲自拍都市欧美小说| 日韩精品一区二区三区中文精品| 顶级嫩模精品视频在线看| 亚洲成在线观看| 国产欧美一区二区精品性色超碰 | 亚洲一区二区在线视频| 精品久久久久久久久久久久久久久久久 | 在线观看国产一区二区| 老司机午夜精品| 亚洲精品精品亚洲| 精品剧情v国产在线观看在线| 99久久综合色| 韩国视频一区二区| 亚洲综合激情另类小说区| 精品乱人伦小说| 欧美日韩中字一区| 成人免费高清在线| 九九**精品视频免费播放| 依依成人综合视频| 日本一区二区三区四区| 6080日韩午夜伦伦午夜伦| 99这里只有精品| 久草热8精品视频在线观看| 亚洲一区二区三区四区中文字幕 | 中文字幕av资源一区| 欧美一区二区三区视频| 色综合一个色综合亚洲| 国产激情91久久精品导航| 秋霞午夜av一区二区三区| 亚洲精品欧美综合四区| 国产欧美精品区一区二区三区 | 亚洲狼人国产精品|