signal_darwin_amd64.go 208 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796
  1. // Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_darwin_amd64.go -pkgname signal', DO NOT EDIT.
  2. package signal
  3. import (
  4. "math"
  5. "reflect"
  6. "sync/atomic"
  7. "unsafe"
  8. )
  9. var _ = math.Pi
  10. var _ reflect.Kind
  11. var _ atomic.Value
  12. var _ unsafe.Pointer
  13. const (
  14. BUS_ADRALN = 1 // signal.h:241:1:
  15. BUS_ADRERR = 2 // signal.h:242:1:
  16. BUS_NOOP = 0 // signal.h:239:1:
  17. BUS_OBJERR = 3 // signal.h:243:1:
  18. CLD_CONTINUED = 6 // signal.h:258:1:
  19. CLD_DUMPED = 3 // signal.h:255:1:
  20. CLD_EXITED = 1 // signal.h:253:1:
  21. CLD_KILLED = 2 // signal.h:254:1:
  22. CLD_NOOP = 0 // signal.h:251:1:
  23. CLD_STOPPED = 5 // signal.h:257:1:
  24. CLD_TRAPPED = 4 // signal.h:256:1:
  25. FPE_FLTDIV = 1 // signal.h:221:1:
  26. FPE_FLTINV = 5 // signal.h:225:1:
  27. FPE_FLTOVF = 2 // signal.h:222:1:
  28. FPE_FLTRES = 4 // signal.h:224:1:
  29. FPE_FLTSUB = 6 // signal.h:226:1:
  30. FPE_FLTUND = 3 // signal.h:223:1:
  31. FPE_INTDIV = 7 // signal.h:227:1:
  32. FPE_INTOVF = 8 // signal.h:228:1:
  33. FPE_NOOP = 0 // signal.h:219:1:
  34. FP_CHOP = 3 // _structs.h:112:1:
  35. FP_PREC_24B = 0 // _structs.h:103:1:
  36. FP_PREC_53B = 2 // _structs.h:104:1:
  37. FP_PREC_64B = 3 // _structs.h:105:1:
  38. FP_RND_DOWN = 1 // _structs.h:110:1:
  39. FP_RND_NEAR = 0 // _structs.h:109:1:
  40. FP_RND_UP = 2 // _structs.h:111:1:
  41. FP_STATE_BYTES = 512 // _structs.h:276:1:
  42. ILL_BADSTK = 8 // signal.h:215:1:
  43. ILL_COPROC = 7 // signal.h:214:1:
  44. ILL_ILLADR = 5 // signal.h:212:1:
  45. ILL_ILLOPC = 1 // signal.h:208:1:
  46. ILL_ILLOPN = 4 // signal.h:211:1:
  47. ILL_ILLTRP = 2 // signal.h:209:1:
  48. ILL_NOOP = 0 // signal.h:206:1:
  49. ILL_PRVOPC = 3 // signal.h:210:1:
  50. ILL_PRVREG = 6 // signal.h:213:1:
  51. MINSIGSTKSZ = 32768 // signal.h:340:1:
  52. NSIG = 32 // signal.h:79:1:
  53. POLL_ERR = 4 // signal.h:264:1:
  54. POLL_HUP = 6 // signal.h:266:1:
  55. POLL_IN = 1 // signal.h:261:1:
  56. POLL_MSG = 3 // signal.h:263:1:
  57. POLL_OUT = 2 // signal.h:262:1:
  58. POLL_PRI = 5 // signal.h:265:1:
  59. SA_64REGSET = 0x0200 // signal.h:308:1:
  60. SA_NOCLDSTOP = 0x0008 // signal.h:301:1:
  61. SA_NOCLDWAIT = 0x0020 // signal.h:303:1:
  62. SA_NODEFER = 0x0010 // signal.h:302:1:
  63. SA_ONSTACK = 0x0001 // signal.h:298:1:
  64. SA_RESETHAND = 0x0004 // signal.h:300:1:
  65. SA_RESTART = 0x0002 // signal.h:299:1:
  66. SA_SIGINFO = 0x0040 // signal.h:304:1:
  67. SA_USERSPACE_MASK = 127 // signal.h:314:1:
  68. SA_USERTRAMP = 0x0100 // signal.h:306:1:
  69. SEGV_ACCERR = 2 // signal.h:235:1:
  70. SEGV_MAPERR = 1 // signal.h:234:1:
  71. SEGV_NOOP = 0 // signal.h:232:1:
  72. SIGABRT = 6 // signal.h:89:1:
  73. SIGALRM = 14 // signal.h:102:1:
  74. SIGBUS = 10 // signal.h:98:1:
  75. SIGCHLD = 20 // signal.h:108:1:
  76. SIGCONT = 19 // signal.h:107:1:
  77. SIGEMT = 7 // signal.h:94:1:
  78. SIGEV_NONE = 0 // signal.h:164:1:
  79. SIGEV_SIGNAL = 1 // signal.h:165:1:
  80. SIGEV_THREAD = 3 // signal.h:166:1:
  81. SIGFPE = 8 // signal.h:96:1:
  82. SIGHUP = 1 // signal.h:84:1:
  83. SIGILL = 4 // signal.h:87:1:
  84. SIGINFO = 29 // signal.h:120:1:
  85. SIGINT = 2 // signal.h:85:1:
  86. SIGIO = 23 // signal.h:112:1:
  87. SIGIOT = 6 // signal.h:93:1:
  88. SIGKILL = 9 // signal.h:97:1:
  89. SIGPIPE = 13 // signal.h:101:1:
  90. SIGPROF = 27 // signal.h:117:1:
  91. SIGQUIT = 3 // signal.h:86:1:
  92. SIGSEGV = 11 // signal.h:99:1:
  93. SIGSTKSZ = 131072 // signal.h:341:1:
  94. SIGSTOP = 17 // signal.h:105:1:
  95. SIGSYS = 12 // signal.h:100:1:
  96. SIGTERM = 15 // signal.h:103:1:
  97. SIGTRAP = 5 // signal.h:88:1:
  98. SIGTSTP = 18 // signal.h:106:1:
  99. SIGTTIN = 21 // signal.h:109:1:
  100. SIGTTOU = 22 // signal.h:110:1:
  101. SIGURG = 16 // signal.h:104:1:
  102. SIGUSR1 = 30 // signal.h:122:1:
  103. SIGUSR2 = 31 // signal.h:123:1:
  104. SIGVTALRM = 26 // signal.h:116:1:
  105. SIGWINCH = 28 // signal.h:119:1:
  106. SIGXCPU = 24 // signal.h:114:1:
  107. SIGXFSZ = 25 // signal.h:115:1:
  108. SIG_BLOCK = 1 // signal.h:319:1:
  109. SIG_SETMASK = 3 // signal.h:321:1:
  110. SIG_UNBLOCK = 2 // signal.h:320:1:
  111. SI_ASYNCIO = 0x10004 // signal.h:327:1:
  112. SI_MESGQ = 0x10005 // signal.h:328:1:
  113. SI_QUEUE = 0x10002 // signal.h:325:1:
  114. SI_TIMER = 0x10003 // signal.h:326:1:
  115. SI_USER = 0x10001 // signal.h:324:1:
  116. SS_DISABLE = 0x0004 // signal.h:339:1:
  117. SS_ONSTACK = 0x0001 // signal.h:338:1:
  118. SV_INTERRUPT = 2 // signal.h:355:1:
  119. SV_NOCLDSTOP = 8 // signal.h:358:1:
  120. SV_NODEFER = 16 // signal.h:357:1:
  121. SV_ONSTACK = 1 // signal.h:354:1:
  122. SV_RESETHAND = 4 // signal.h:356:1:
  123. SV_SIGINFO = 64 // signal.h:359:1:
  124. TRAP_BRKPT = 1 // signal.h:246:1:
  125. TRAP_TRACE = 2 // signal.h:247:1:
  126. X_BSD_I386__TYPES_H_ = 0 // _types.h:29:1:
  127. X_BSD_MACHINE_SIGNAL_H_ = 0 // signal.h:29:1:
  128. X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
  129. X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
  130. X_CDEFS_H_ = 0 // cdefs.h:68:1:
  131. X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:745:1:
  132. X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
  133. X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779:1:
  134. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  135. X_FORTIFY_SOURCE = 2 // _types.h:65:1:
  136. X_I386_SIGNAL_H_ = 1 // signal.h:34:1:
  137. X_INT16_T = 0 // _int16_t.h:29:1:
  138. X_INT32_T = 0 // _int32_t.h:29:1:
  139. X_INT64_T = 0 // _int64_t.h:29:1:
  140. X_INT8_T = 0 // _int8_t.h:29:1:
  141. X_INTPTR_T = 0 // _intptr_t.h:29:1:
  142. X_LP64 = 1 // <predefined>:1:1:
  143. X_MACHTYPES_H_ = 0 // types.h:67:1:
  144. X_MACH_I386__STRUCTS_H_ = 0 // _structs.h:33:1:
  145. X_MACH_MACHINE__STRUCTS_H_ = 0 // _structs.h:30:1:
  146. X_MCONTEXT_T = 0 // _mcontext.h:202:1:
  147. X_Nonnull = 0 // cdefs.h:243:1:
  148. X_Null_unspecified = 0 // cdefs.h:246:1:
  149. X_Nullable = 0 // cdefs.h:240:1:
  150. X_PID_T = 0 // _pid_t.h:29:1:
  151. X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1:
  152. X_PTHREAD_T = 0 // _pthread_t.h:29:1:
  153. X_SIGSET_T = 0 // _sigset_t.h:29:1:
  154. X_SIZE_T = 0 // _size_t.h:29:1:
  155. X_SYS_SIGNAL_H_ = 0 // signal.h:70:1:
  156. X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
  157. X_SYS__TYPES_H_ = 0 // _types.h:30:1:
  158. X_UID_T = 0 // _uid_t.h:29:1:
  159. X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
  160. X_USER_SIGNAL_H = 0 // signal.h:59:1:
  161. X_U_INT16_T = 0 // _u_int16_t.h:29:1:
  162. X_U_INT32_T = 0 // _u_int32_t.h:29:1:
  163. X_U_INT64_T = 0 // _u_int64_t.h:29:1:
  164. X_U_INT8_T = 0 // _u_int8_t.h:29:1:
  165. )
  166. type Ptrdiff_t = int64 /* <builtin>:3:26 */
  167. type Size_t = uint64 /* <builtin>:9:23 */
  168. type Wchar_t = int32 /* <builtin>:15:24 */
  169. type X__int128_t = struct {
  170. Flo int64
  171. Fhi int64
  172. } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  173. type X__uint128_t = struct {
  174. Flo uint64
  175. Fhi uint64
  176. } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  177. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  178. type X__float128 = float64 /* <builtin>:47:21 */
  179. var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
  180. // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  181. //
  182. // @APPLE_LICENSE_HEADER_START@
  183. //
  184. // This file contains Original Code and/or Modifications of Original Code
  185. // as defined in and that are subject to the Apple Public Source License
  186. // Version 2.0 (the 'License'). You may not use this file except in
  187. // compliance with the License. Please obtain a copy of the License at
  188. // http://www.opensource.apple.com/apsl/ and read it before using this
  189. // file.
  190. //
  191. // The Original Code and all software distributed under the License are
  192. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  193. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  194. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  195. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  196. // Please see the License for the specific language governing rights and
  197. // limitations under the License.
  198. //
  199. // @APPLE_LICENSE_HEADER_END@
  200. // -
  201. // Copyright (c) 1991, 1993
  202. // The Regents of the University of California. All rights reserved.
  203. //
  204. // Redistribution and use in source and binary forms, with or without
  205. // modification, are permitted provided that the following conditions
  206. // are met:
  207. // 1. Redistributions of source code must retain the above copyright
  208. // notice, this list of conditions and the following disclaimer.
  209. // 2. Redistributions in binary form must reproduce the above copyright
  210. // notice, this list of conditions and the following disclaimer in the
  211. // documentation and/or other materials provided with the distribution.
  212. // 3. All advertising materials mentioning features or use of this software
  213. // must display the following acknowledgement:
  214. // This product includes software developed by the University of
  215. // California, Berkeley and its contributors.
  216. // 4. Neither the name of the University nor the names of its contributors
  217. // may be used to endorse or promote products derived from this software
  218. // without specific prior written permission.
  219. //
  220. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  221. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  222. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  223. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  224. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  225. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  226. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  227. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  228. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  229. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  230. // SUCH DAMAGE.
  231. //
  232. // @(#)signal.h 8.3 (Berkeley) 3/30/94
  233. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  234. //
  235. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  236. //
  237. // This file contains Original Code and/or Modifications of Original Code
  238. // as defined in and that are subject to the Apple Public Source License
  239. // Version 2.0 (the 'License'). You may not use this file except in
  240. // compliance with the License. The rights granted to you under the License
  241. // may not be used to create, or enable the creation or redistribution of,
  242. // unlawful or unlicensed copies of an Apple operating system, or to
  243. // circumvent, violate, or enable the circumvention or violation of, any
  244. // terms of an Apple operating system software license agreement.
  245. //
  246. // Please obtain a copy of the License at
  247. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  248. //
  249. // The Original Code and all software distributed under the License are
  250. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  251. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  252. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  253. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  254. // Please see the License for the specific language governing rights and
  255. // limitations under the License.
  256. //
  257. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  258. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  259. // Copyright (c) 1991, 1993
  260. // The Regents of the University of California. All rights reserved.
  261. //
  262. // This code is derived from software contributed to Berkeley by
  263. // Berkeley Software Design, Inc.
  264. //
  265. // Redistribution and use in source and binary forms, with or without
  266. // modification, are permitted provided that the following conditions
  267. // are met:
  268. // 1. Redistributions of source code must retain the above copyright
  269. // notice, this list of conditions and the following disclaimer.
  270. // 2. Redistributions in binary form must reproduce the above copyright
  271. // notice, this list of conditions and the following disclaimer in the
  272. // documentation and/or other materials provided with the distribution.
  273. // 3. All advertising materials mentioning features or use of this software
  274. // must display the following acknowledgement:
  275. // This product includes software developed by the University of
  276. // California, Berkeley and its contributors.
  277. // 4. Neither the name of the University nor the names of its contributors
  278. // may be used to endorse or promote products derived from this software
  279. // without specific prior written permission.
  280. //
  281. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  282. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  283. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  284. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  285. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  286. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  287. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  288. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  289. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  290. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  291. // SUCH DAMAGE.
  292. //
  293. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  294. // This SDK is designed to work with clang and specific versions of
  295. // gcc >= 4.0 with Apple's patch sets
  296. // Compatibility with compilers and environments that don't support compiler
  297. // feature checking function-like macros.
  298. // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  299. // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  300. // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
  301. // in between its arguments. __CONCAT can also concatenate double-quoted
  302. // strings produced by the __STRING macro, but this only works with ANSI C.
  303. // In non-ANSI C environments, new programs will want ANSI-only C keywords
  304. // deleted from the program and old programs will want them left alone.
  305. // When using a compiler other than gcc, programs using the ANSI C keywords
  306. // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
  307. // When using "gcc -traditional", we assume that this is the intent; if
  308. // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
  309. // __unused denotes variables and functions that may not be used, preventing
  310. // the compiler from warning about it if not used.
  311. // __used forces variables and functions to be included even if it appears
  312. // to the compiler that they are not used (and would thust be discarded).
  313. // __cold marks code used for debugging or that is rarely taken
  314. // and tells the compiler to optimize for size and outline code.
  315. // __deprecated causes the compiler to produce a warning when encountering
  316. // code using the deprecated functionality.
  317. // __deprecated_msg() does the same, and compilers that support it will print
  318. // a message along with the deprecation warning.
  319. // This may require turning on such warning with the -Wdeprecated flag.
  320. // __deprecated_enum_msg() should be used on enums, and compilers that support
  321. // it will print the deprecation warning.
  322. // __kpi_deprecated() specifically indicates deprecation of kernel programming
  323. // interfaces in Kernel.framework used by KEXTs.
  324. // __unavailable causes the compiler to error out when encountering
  325. // code using the tagged function of variable.
  326. // Delete pseudo-keywords wherever they are not available or needed.
  327. // We use `__restrict' as a way to define the `restrict' type qualifier
  328. // without disturbing older software that is unaware of C99 keywords.
  329. // Compatibility with compilers and environments that don't support the
  330. // nullability feature.
  331. // __disable_tail_calls causes the compiler to not perform tail call
  332. // optimization inside the marked function.
  333. // __not_tail_called causes the compiler to prevent tail call optimization
  334. // on statically bound calls to the function. It has no effect on indirect
  335. // calls. Virtual functions, objective-c methods, and functions marked as
  336. // "always_inline" cannot be marked as __not_tail_called.
  337. // __result_use_check warns callers of a function that not using the function
  338. // return value is a bug, i.e. dismissing malloc() return value results in a
  339. // memory leak.
  340. // __swift_unavailable causes the compiler to mark a symbol as specifically
  341. // unavailable in Swift, regardless of any other availability in C.
  342. // __abortlike is the attribute to put on functions like abort() that are
  343. // typically used to mark assertions. These optimize the codegen
  344. // for outlining while still maintaining debugability.
  345. // Declaring inline functions within headers is error-prone due to differences
  346. // across various versions of the C language and extensions. __header_inline
  347. // can be used to declare inline functions within system headers. In cases
  348. // where you want to force inlining instead of letting the compiler make
  349. // the decision, you can use __header_always_inline.
  350. //
  351. // Be aware that using inline for functions which compilers may also provide
  352. // builtins can behave differently under various compilers. If you intend to
  353. // provide an inline version of such a function, you may want to use a macro
  354. // instead.
  355. //
  356. // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
  357. // support c99 inline in some cases:
  358. // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
  359. // Compiler-dependent macros that bracket portions of code where the
  360. // "-Wunreachable-code" warning should be ignored. Please use sparingly.
  361. // Compiler-dependent macros to declare that functions take printf-like
  362. // or scanf-like arguments. They are null except for versions of gcc
  363. // that are known to support the features properly. Functions declared
  364. // with these attributes will cause compilation warnings if there is a
  365. // mismatch between the format string and subsequent function parameter
  366. // types.
  367. // Source compatibility only, ID string not emitted in object file
  368. // __alloc_size can be used to label function arguments that represent the
  369. // size of memory that the function allocates and returns. The one-argument
  370. // form labels a single argument that gives the allocation size (where the
  371. // arguments are numbered from 1):
  372. //
  373. // void *malloc(size_t __size) __alloc_size(1);
  374. //
  375. // The two-argument form handles the case where the size is calculated as the
  376. // product of two arguments:
  377. //
  378. // void *calloc(size_t __count, size_t __size) __alloc_size(1,2);
  379. // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
  380. //
  381. // DEFAULT By default newly complied code will get POSIX APIs plus
  382. // Apple API extensions in scope.
  383. //
  384. // Most users will use this compilation environment to avoid
  385. // behavioral differences between 32 and 64 bit code.
  386. //
  387. // LEGACY Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
  388. // API extensions in scope.
  389. //
  390. // This is generally equivalent to the Tiger release compilation
  391. // environment, except that it cannot be applied to 64 bit code;
  392. // its use is discouraged.
  393. //
  394. // We expect this environment to be deprecated in the future.
  395. //
  396. // STRICT Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
  397. // available APIs to exactly the set of APIs defined by the
  398. // corresponding standard, based on the value defined.
  399. //
  400. // A correct, portable definition for _POSIX_C_SOURCE is 200112L.
  401. // A correct, portable definition for _XOPEN_SOURCE is 600L.
  402. //
  403. // Apple API extensions are not visible in this environment,
  404. // which can cause Apple specific code to fail to compile,
  405. // or behave incorrectly if prototypes are not in scope or
  406. // warnings about missing prototypes are not enabled or ignored.
  407. //
  408. // In any compilation environment, for correct symbol resolution to occur,
  409. // function prototypes must be in scope. It is recommended that all Apple
  410. // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
  411. // compiler flags to their projects to be warned when a function is being
  412. // used without a prototype in scope.
  413. // These settings are particular to each product.
  414. // Platform: MacOSX
  415. // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
  416. // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
  417. // legacy code to use the old symbol, thus maintaining binary compatibility
  418. // while new code can use a standards compliant version of the same function.
  419. //
  420. // __DARWIN_ALIAS is used by itself if the function signature has not
  421. // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
  422. // if the signature has changed. Because the __LP64__ environment
  423. // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
  424. // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
  425. //
  426. // As a special case, when XCode is used to target a specific version of the
  427. // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  428. // will be defined by the compiler, with the digits representing major version
  429. // time 100 + minor version times 10 (e.g. 10.5 := 1050). If we are targeting
  430. // pre-10.5, and it is the default compilation environment, revert the
  431. // compilation environment to pre-__DARWIN_UNIX03.
  432. // symbol suffixes used for symbol versioning
  433. // symbol versioning macros
  434. // symbol release macros
  435. // Copyright (c) 2010 Apple Inc. All rights reserved.
  436. //
  437. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  438. //
  439. // This file contains Original Code and/or Modifications of Original Code
  440. // as defined in and that are subject to the Apple Public Source License
  441. // Version 2.0 (the 'License'). You may not use this file except in
  442. // compliance with the License. The rights granted to you under the License
  443. // may not be used to create, or enable the creation or redistribution of,
  444. // unlawful or unlicensed copies of an Apple operating system, or to
  445. // circumvent, violate, or enable the circumvention or violation of, any
  446. // terms of an Apple operating system software license agreement.
  447. //
  448. // Please obtain a copy of the License at
  449. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  450. //
  451. // The Original Code and all software distributed under the License are
  452. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  453. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  454. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  455. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  456. // Please see the License for the specific language governing rights and
  457. // limitations under the License.
  458. //
  459. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  460. // POSIX.1 requires that the macros we test be defined before any standard
  461. // header file is included. This permits us to convert values for feature
  462. // testing, as necessary, using only _POSIX_C_SOURCE.
  463. //
  464. // Here's a quick run-down of the versions:
  465. // defined(_POSIX_SOURCE) 1003.1-1988
  466. // _POSIX_C_SOURCE == 1L 1003.1-1990
  467. // _POSIX_C_SOURCE == 2L 1003.2-1992 C Language Binding Option
  468. // _POSIX_C_SOURCE == 199309L 1003.1b-1993
  469. // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
  470. // and the omnibus ISO/IEC 9945-1: 1996
  471. // _POSIX_C_SOURCE == 200112L 1003.1-2001
  472. // _POSIX_C_SOURCE == 200809L 1003.1-2008
  473. //
  474. // In addition, the X/Open Portability Guide, which is now the Single UNIX
  475. // Specification, defines a feature-test macro which indicates the version of
  476. // that specification, and which subsumes _POSIX_C_SOURCE.
  477. // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
  478. // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
  479. // Deal with various X/Open Portability Guides and Single UNIX Spec.
  480. // Deal with all versions of POSIX. The ordering relative to the tests above is
  481. // important.
  482. // POSIX C deprecation macros
  483. // Copyright (c) 2010 Apple Inc. All rights reserved.
  484. //
  485. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  486. //
  487. // This file contains Original Code and/or Modifications of Original Code
  488. // as defined in and that are subject to the Apple Public Source License
  489. // Version 2.0 (the 'License'). You may not use this file except in
  490. // compliance with the License. The rights granted to you under the License
  491. // may not be used to create, or enable the creation or redistribution of,
  492. // unlawful or unlicensed copies of an Apple operating system, or to
  493. // circumvent, violate, or enable the circumvention or violation of, any
  494. // terms of an Apple operating system software license agreement.
  495. //
  496. // Please obtain a copy of the License at
  497. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  498. //
  499. // The Original Code and all software distributed under the License are
  500. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  501. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  502. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  503. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  504. // Please see the License for the specific language governing rights and
  505. // limitations under the License.
  506. //
  507. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  508. // Set a single macro which will always be defined and can be used to determine
  509. // the appropriate namespace. For POSIX, these values will correspond to
  510. // _POSIX_C_SOURCE value. Currently there are two additional levels corresponding
  511. // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
  512. // If the developer has neither requested a strict language mode nor a version
  513. // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
  514. // of __DARWIN_C_FULL.
  515. // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
  516. // c99 still want long longs. While not perfect, we allow long longs for
  517. // g++.
  518. // ****************************************
  519. //
  520. // Public darwin-specific feature macros
  521. //
  522. // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
  523. // structures modified for 64-bit inodes (like struct stat) will be used.
  524. // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
  525. // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
  526. // (and non-zero). There is no struct stat64 either, as the regular
  527. // struct stat will already be the 64-bit version.
  528. // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
  529. // in 10.5 exists; no pre-10.5 variants are available.
  530. // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
  531. // are available (the legacy BSD APIs are not available)
  532. // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
  533. // and specifies the conformance level (3 is SUSv3)
  534. // This macro casts away the qualifier from the variable
  535. //
  536. // Note: use at your own risk, removing qualifiers can result in
  537. // catastrophic run-time failures.
  538. // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
  539. // used from other compilation units, but not other libraries or executables.
  540. // Architecture validation for current SDK
  541. // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
  542. //
  543. // This provides more advanced type checking on compilers supporting
  544. // the proper extensions, even in C.
  545. // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
  546. //
  547. // @APPLE_LICENSE_HEADER_START@
  548. //
  549. // This file contains Original Code and/or Modifications of Original Code
  550. // as defined in and that are subject to the Apple Public Source License
  551. // Version 2.0 (the 'License'). You may not use this file except in
  552. // compliance with the License. Please obtain a copy of the License at
  553. // http://www.opensource.apple.com/apsl/ and read it before using this
  554. // file.
  555. //
  556. // The Original Code and all software distributed under the License are
  557. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  558. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  559. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  560. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  561. // Please see the License for the specific language governing rights and
  562. // limitations under the License.
  563. //
  564. // @APPLE_LICENSE_HEADER_END@
  565. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  566. //
  567. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  568. //
  569. // This file contains Original Code and/or Modifications of Original Code
  570. // as defined in and that are subject to the Apple Public Source License
  571. // Version 2.0 (the 'License'). You may not use this file except in
  572. // compliance with the License. The rights granted to you under the License
  573. // may not be used to create, or enable the creation or redistribution of,
  574. // unlawful or unlicensed copies of an Apple operating system, or to
  575. // circumvent, violate, or enable the circumvention or violation of, any
  576. // terms of an Apple operating system software license agreement.
  577. //
  578. // Please obtain a copy of the License at
  579. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  580. //
  581. // The Original Code and all software distributed under the License are
  582. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  583. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  584. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  585. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  586. // Please see the License for the specific language governing rights and
  587. // limitations under the License.
  588. //
  589. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  590. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  591. //
  592. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  593. //
  594. // This file contains Original Code and/or Modifications of Original Code
  595. // as defined in and that are subject to the Apple Public Source License
  596. // Version 2.0 (the 'License'). You may not use this file except in
  597. // compliance with the License. The rights granted to you under the License
  598. // may not be used to create, or enable the creation or redistribution of,
  599. // unlawful or unlicensed copies of an Apple operating system, or to
  600. // circumvent, violate, or enable the circumvention or violation of, any
  601. // terms of an Apple operating system software license agreement.
  602. //
  603. // Please obtain a copy of the License at
  604. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  605. //
  606. // The Original Code and all software distributed under the License are
  607. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  608. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  609. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  610. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  611. // Please see the License for the specific language governing rights and
  612. // limitations under the License.
  613. //
  614. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  615. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  616. // Copyright (c) 1991, 1993
  617. // The Regents of the University of California. All rights reserved.
  618. //
  619. // This code is derived from software contributed to Berkeley by
  620. // Berkeley Software Design, Inc.
  621. //
  622. // Redistribution and use in source and binary forms, with or without
  623. // modification, are permitted provided that the following conditions
  624. // are met:
  625. // 1. Redistributions of source code must retain the above copyright
  626. // notice, this list of conditions and the following disclaimer.
  627. // 2. Redistributions in binary form must reproduce the above copyright
  628. // notice, this list of conditions and the following disclaimer in the
  629. // documentation and/or other materials provided with the distribution.
  630. // 3. All advertising materials mentioning features or use of this software
  631. // must display the following acknowledgement:
  632. // This product includes software developed by the University of
  633. // California, Berkeley and its contributors.
  634. // 4. Neither the name of the University nor the names of its contributors
  635. // may be used to endorse or promote products derived from this software
  636. // without specific prior written permission.
  637. //
  638. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  639. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  640. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  641. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  642. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  643. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  644. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  645. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  646. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  647. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  648. // SUCH DAMAGE.
  649. //
  650. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  651. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  652. //
  653. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  654. //
  655. // This file contains Original Code and/or Modifications of Original Code
  656. // as defined in and that are subject to the Apple Public Source License
  657. // Version 2.0 (the 'License'). You may not use this file except in
  658. // compliance with the License. The rights granted to you under the License
  659. // may not be used to create, or enable the creation or redistribution of,
  660. // unlawful or unlicensed copies of an Apple operating system, or to
  661. // circumvent, violate, or enable the circumvention or violation of, any
  662. // terms of an Apple operating system software license agreement.
  663. //
  664. // Please obtain a copy of the License at
  665. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  666. //
  667. // The Original Code and all software distributed under the License are
  668. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  669. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  670. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  671. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  672. // Please see the License for the specific language governing rights and
  673. // limitations under the License.
  674. //
  675. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  676. // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  677. //
  678. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  679. //
  680. // This file contains Original Code and/or Modifications of Original Code
  681. // as defined in and that are subject to the Apple Public Source License
  682. // Version 2.0 (the 'License'). You may not use this file except in
  683. // compliance with the License. The rights granted to you under the License
  684. // may not be used to create, or enable the creation or redistribution of,
  685. // unlawful or unlicensed copies of an Apple operating system, or to
  686. // circumvent, violate, or enable the circumvention or violation of, any
  687. // terms of an Apple operating system software license agreement.
  688. //
  689. // Please obtain a copy of the License at
  690. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  691. //
  692. // The Original Code and all software distributed under the License are
  693. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  694. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  695. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  696. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  697. // Please see the License for the specific language governing rights and
  698. // limitations under the License.
  699. //
  700. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  701. // This header file contains integer types. It's intended to also contain
  702. // flotaing point and other arithmetic types, as needed, later.
  703. type X__int8_t = int8 /* _types.h:37:33 */
  704. type X__uint8_t = uint8 /* _types.h:41:33 */
  705. type X__int16_t = int16 /* _types.h:42:33 */
  706. type X__uint16_t = uint16 /* _types.h:43:33 */
  707. type X__int32_t = int32 /* _types.h:44:33 */
  708. type X__uint32_t = uint32 /* _types.h:45:33 */
  709. type X__int64_t = int64 /* _types.h:46:33 */
  710. type X__uint64_t = uint64 /* _types.h:47:33 */
  711. type X__darwin_intptr_t = int64 /* _types.h:49:33 */
  712. type X__darwin_natural_t = uint32 /* _types.h:50:33 */
  713. // The rune type below is declared to be an ``int'' instead of the more natural
  714. // ``unsigned long'' or ``long''. Two things are happening here. It is not
  715. // unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
  716. // it looks like 10646 will be a 31 bit standard. This means that if your
  717. // ints cannot hold 32 bits, you will be in trouble. The reason an int was
  718. // chosen over a long is that the is*() and to*() routines take ints (says
  719. // ANSI C), but they use __darwin_ct_rune_t instead of int. By changing it
  720. // here, you lose a bit of ANSI conformance, but your programs will still
  721. // work.
  722. //
  723. // NOTE: rune_t is not covered by ANSI nor other standards, and should not
  724. // be instantiated outside of lib/libc/locale. Use wchar_t. wchar_t and
  725. // rune_t must be the same type. Also wint_t must be no narrower than
  726. // wchar_t, and should also be able to hold all members of the largest
  727. // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
  728. type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
  729. // mbstate_t is an opaque object to keep conversion state, during multibyte
  730. // stream conversions. The content must not be referenced by user programs.
  731. type X__mbstate_t = struct {
  732. F__ccgo_pad1 [0]uint64
  733. F__mbstate8 [128]int8
  734. } /* _types.h:79:3 */
  735. type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
  736. type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2
  737. type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof()
  738. type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list
  739. type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t
  740. type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t
  741. type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t
  742. type X__darwin_clock_t = uint64 /* _types.h:117:33 */ // clock()
  743. type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh)
  744. type X__darwin_ssize_t = int64 /* _types.h:119:33 */ // byte count or error
  745. type X__darwin_time_t = int64 /* _types.h:120:33 */ // time()
  746. // Type definitions; takes common type definitions that must be used
  747. // in multiple header files due to [XSI], removes them from the system
  748. // space, and puts them in the implementation space.
  749. type X__darwin_blkcnt_t = X__int64_t /* _types.h:55:25 */ // total blocks
  750. type X__darwin_blksize_t = X__int32_t /* _types.h:56:25 */ // preferred block size
  751. type X__darwin_dev_t = X__int32_t /* _types.h:57:25 */ // dev_t
  752. type X__darwin_fsblkcnt_t = uint32 /* _types.h:58:25 */ // Used by statvfs and fstatvfs
  753. type X__darwin_fsfilcnt_t = uint32 /* _types.h:59:25 */ // Used by statvfs and fstatvfs
  754. type X__darwin_gid_t = X__uint32_t /* _types.h:60:25 */ // [???] process and group IDs
  755. type X__darwin_id_t = X__uint32_t /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
  756. type X__darwin_ino64_t = X__uint64_t /* _types.h:62:25 */ // [???] Used for 64 bit inodes
  757. type X__darwin_ino_t = X__darwin_ino64_t /* _types.h:64:26 */ // [???] Used for inodes
  758. type X__darwin_mach_port_name_t = X__darwin_natural_t /* _types.h:68:28 */ // Used by mach
  759. type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
  760. type X__darwin_mode_t = X__uint16_t /* _types.h:70:25 */ // [???] Some file attributes
  761. type X__darwin_off_t = X__int64_t /* _types.h:71:25 */ // [???] Used for file sizes
  762. type X__darwin_pid_t = X__int32_t /* _types.h:72:25 */ // [???] process and group IDs
  763. type X__darwin_sigset_t = X__uint32_t /* _types.h:73:25 */ // [???] signal set
  764. type X__darwin_suseconds_t = X__int32_t /* _types.h:74:25 */ // [???] microseconds
  765. type X__darwin_uid_t = X__uint32_t /* _types.h:75:25 */ // [???] user IDs
  766. type X__darwin_useconds_t = X__uint32_t /* _types.h:76:25 */ // [???] microseconds
  767. type X__darwin_uuid_t = [16]uint8 /* _types.h:77:25 */
  768. type X__darwin_uuid_string_t = [37]int8 /* _types.h:78:17 */
  769. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  770. //
  771. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  772. //
  773. // This file contains Original Code and/or Modifications of Original Code
  774. // as defined in and that are subject to the Apple Public Source License
  775. // Version 2.0 (the 'License'). You may not use this file except in
  776. // compliance with the License. The rights granted to you under the License
  777. // may not be used to create, or enable the creation or redistribution of,
  778. // unlawful or unlicensed copies of an Apple operating system, or to
  779. // circumvent, violate, or enable the circumvention or violation of, any
  780. // terms of an Apple operating system software license agreement.
  781. //
  782. // Please obtain a copy of the License at
  783. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  784. //
  785. // The Original Code and all software distributed under the License are
  786. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  787. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  788. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  789. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  790. // Please see the License for the specific language governing rights and
  791. // limitations under the License.
  792. //
  793. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  794. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  795. //
  796. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  797. //
  798. // This file contains Original Code and/or Modifications of Original Code
  799. // as defined in and that are subject to the Apple Public Source License
  800. // Version 2.0 (the 'License'). You may not use this file except in
  801. // compliance with the License. The rights granted to you under the License
  802. // may not be used to create, or enable the creation or redistribution of,
  803. // unlawful or unlicensed copies of an Apple operating system, or to
  804. // circumvent, violate, or enable the circumvention or violation of, any
  805. // terms of an Apple operating system software license agreement.
  806. //
  807. // Please obtain a copy of the License at
  808. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  809. //
  810. // The Original Code and all software distributed under the License are
  811. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  812. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  813. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  814. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  815. // Please see the License for the specific language governing rights and
  816. // limitations under the License.
  817. //
  818. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  819. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  820. // Copyright (c) 1991, 1993
  821. // The Regents of the University of California. All rights reserved.
  822. //
  823. // This code is derived from software contributed to Berkeley by
  824. // Berkeley Software Design, Inc.
  825. //
  826. // Redistribution and use in source and binary forms, with or without
  827. // modification, are permitted provided that the following conditions
  828. // are met:
  829. // 1. Redistributions of source code must retain the above copyright
  830. // notice, this list of conditions and the following disclaimer.
  831. // 2. Redistributions in binary form must reproduce the above copyright
  832. // notice, this list of conditions and the following disclaimer in the
  833. // documentation and/or other materials provided with the distribution.
  834. // 3. All advertising materials mentioning features or use of this software
  835. // must display the following acknowledgement:
  836. // This product includes software developed by the University of
  837. // California, Berkeley and its contributors.
  838. // 4. Neither the name of the University nor the names of its contributors
  839. // may be used to endorse or promote products derived from this software
  840. // without specific prior written permission.
  841. //
  842. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  843. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  844. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  845. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  846. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  847. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  848. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  849. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  850. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  851. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  852. // SUCH DAMAGE.
  853. //
  854. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  855. // pthread opaque structures
  856. type X__darwin_pthread_handler_rec = struct {
  857. F__routine uintptr
  858. F__arg uintptr
  859. F__next uintptr
  860. } /* _pthread_types.h:57:1 */
  861. type X_opaque_pthread_attr_t = struct {
  862. F__sig int64
  863. F__opaque [56]int8
  864. } /* _pthread_types.h:63:1 */
  865. type X_opaque_pthread_cond_t = struct {
  866. F__sig int64
  867. F__opaque [40]int8
  868. } /* _pthread_types.h:68:1 */
  869. type X_opaque_pthread_condattr_t = struct {
  870. F__sig int64
  871. F__opaque [8]int8
  872. } /* _pthread_types.h:73:1 */
  873. type X_opaque_pthread_mutex_t = struct {
  874. F__sig int64
  875. F__opaque [56]int8
  876. } /* _pthread_types.h:78:1 */
  877. type X_opaque_pthread_mutexattr_t = struct {
  878. F__sig int64
  879. F__opaque [8]int8
  880. } /* _pthread_types.h:83:1 */
  881. type X_opaque_pthread_once_t = struct {
  882. F__sig int64
  883. F__opaque [8]int8
  884. } /* _pthread_types.h:88:1 */
  885. type X_opaque_pthread_rwlock_t = struct {
  886. F__sig int64
  887. F__opaque [192]int8
  888. } /* _pthread_types.h:93:1 */
  889. type X_opaque_pthread_rwlockattr_t = struct {
  890. F__sig int64
  891. F__opaque [16]int8
  892. } /* _pthread_types.h:98:1 */
  893. type X_opaque_pthread_t = struct {
  894. F__sig int64
  895. F__cleanup_stack uintptr
  896. F__opaque [8176]int8
  897. } /* _pthread_types.h:103:1 */
  898. type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t /* _pthread_types.h:109:39 */
  899. type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t /* _pthread_types.h:110:39 */
  900. type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t /* _pthread_types.h:111:43 */
  901. type X__darwin_pthread_key_t = uint64 /* _pthread_types.h:112:23 */
  902. type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t /* _pthread_types.h:113:40 */
  903. type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t /* _pthread_types.h:114:44 */
  904. type X__darwin_pthread_once_t = X_opaque_pthread_once_t /* _pthread_types.h:115:39 */
  905. type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t /* _pthread_types.h:116:41 */
  906. type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
  907. type X__darwin_pthread_t = uintptr /* _pthread_types.h:118:34 */
  908. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  909. //
  910. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  911. //
  912. // This file contains Original Code and/or Modifications of Original Code
  913. // as defined in and that are subject to the Apple Public Source License
  914. // Version 2.0 (the 'License'). You may not use this file except in
  915. // compliance with the License. The rights granted to you under the License
  916. // may not be used to create, or enable the creation or redistribution of,
  917. // unlawful or unlicensed copies of an Apple operating system, or to
  918. // circumvent, violate, or enable the circumvention or violation of, any
  919. // terms of an Apple operating system software license agreement.
  920. //
  921. // Please obtain a copy of the License at
  922. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  923. //
  924. // The Original Code and all software distributed under the License are
  925. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  926. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  927. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  928. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  929. // Please see the License for the specific language governing rights and
  930. // limitations under the License.
  931. //
  932. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  933. type X__darwin_nl_item = int32 /* _types.h:40:14 */
  934. type X__darwin_wctrans_t = int32 /* _types.h:41:14 */
  935. type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
  936. // Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
  937. //
  938. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  939. //
  940. // This file contains Original Code and/or Modifications of Original Code
  941. // as defined in and that are subject to the Apple Public Source License
  942. // Version 2.0 (the 'License'). You may not use this file except in
  943. // compliance with the License. The rights granted to you under the License
  944. // may not be used to create, or enable the creation or redistribution of,
  945. // unlawful or unlicensed copies of an Apple operating system, or to
  946. // circumvent, violate, or enable the circumvention or violation of, any
  947. // terms of an Apple operating system software license agreement.
  948. //
  949. // Please obtain a copy of the License at
  950. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  951. //
  952. // The Original Code and all software distributed under the License are
  953. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  954. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  955. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  956. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  957. // Please see the License for the specific language governing rights and
  958. // limitations under the License.
  959. //
  960. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  961. // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  962. // Copyright (c) 1982, 1986, 1989, 1991, 1993
  963. // The Regents of the University of California. All rights reserved.
  964. // (c) UNIX System Laboratories, Inc.
  965. // All or some portions of this file are derived from material licensed
  966. // to the University of California by American Telephone and Telegraph
  967. // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  968. // the permission of UNIX System Laboratories, Inc.
  969. //
  970. // Redistribution and use in source and binary forms, with or without
  971. // modification, are permitted provided that the following conditions
  972. // are met:
  973. // 1. Redistributions of source code must retain the above copyright
  974. // notice, this list of conditions and the following disclaimer.
  975. // 2. Redistributions in binary form must reproduce the above copyright
  976. // notice, this list of conditions and the following disclaimer in the
  977. // documentation and/or other materials provided with the distribution.
  978. // 3. All advertising materials mentioning features or use of this software
  979. // must display the following acknowledgement:
  980. // This product includes software developed by the University of
  981. // California, Berkeley and its contributors.
  982. // 4. Neither the name of the University nor the names of its contributors
  983. // may be used to endorse or promote products derived from this software
  984. // without specific prior written permission.
  985. //
  986. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  987. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  988. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  989. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  990. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  991. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  992. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  993. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  994. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  995. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  996. // SUCH DAMAGE.
  997. //
  998. // @(#)signal.h 8.2 (Berkeley) 1/21/94
  999. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1000. //
  1001. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1002. //
  1003. // This file contains Original Code and/or Modifications of Original Code
  1004. // as defined in and that are subject to the Apple Public Source License
  1005. // Version 2.0 (the 'License'). You may not use this file except in
  1006. // compliance with the License. The rights granted to you under the License
  1007. // may not be used to create, or enable the creation or redistribution of,
  1008. // unlawful or unlicensed copies of an Apple operating system, or to
  1009. // circumvent, violate, or enable the circumvention or violation of, any
  1010. // terms of an Apple operating system software license agreement.
  1011. //
  1012. // Please obtain a copy of the License at
  1013. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1014. //
  1015. // The Original Code and all software distributed under the License are
  1016. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1017. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1018. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1019. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1020. // Please see the License for the specific language governing rights and
  1021. // limitations under the License.
  1022. //
  1023. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1024. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1025. // Copyright (c) 1991, 1993
  1026. // The Regents of the University of California. All rights reserved.
  1027. //
  1028. // This code is derived from software contributed to Berkeley by
  1029. // Berkeley Software Design, Inc.
  1030. //
  1031. // Redistribution and use in source and binary forms, with or without
  1032. // modification, are permitted provided that the following conditions
  1033. // are met:
  1034. // 1. Redistributions of source code must retain the above copyright
  1035. // notice, this list of conditions and the following disclaimer.
  1036. // 2. Redistributions in binary form must reproduce the above copyright
  1037. // notice, this list of conditions and the following disclaimer in the
  1038. // documentation and/or other materials provided with the distribution.
  1039. // 3. All advertising materials mentioning features or use of this software
  1040. // must display the following acknowledgement:
  1041. // This product includes software developed by the University of
  1042. // California, Berkeley and its contributors.
  1043. // 4. Neither the name of the University nor the names of its contributors
  1044. // may be used to endorse or promote products derived from this software
  1045. // without specific prior written permission.
  1046. //
  1047. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1048. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1049. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1050. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1051. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1052. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1053. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1054. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1055. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1056. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1057. // SUCH DAMAGE.
  1058. //
  1059. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1060. // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  1061. //
  1062. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1063. //
  1064. // This file contains Original Code and/or Modifications of Original Code
  1065. // as defined in and that are subject to the Apple Public Source License
  1066. // Version 2.0 (the 'License'). You may not use this file except in
  1067. // compliance with the License. The rights granted to you under the License
  1068. // may not be used to create, or enable the creation or redistribution of,
  1069. // unlawful or unlicensed copies of an Apple operating system, or to
  1070. // circumvent, violate, or enable the circumvention or violation of, any
  1071. // terms of an Apple operating system software license agreement.
  1072. //
  1073. // Please obtain a copy of the License at
  1074. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1075. //
  1076. // The Original Code and all software distributed under the License are
  1077. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1078. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1079. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1080. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1081. // Please see the License for the specific language governing rights and
  1082. // limitations under the License.
  1083. //
  1084. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1085. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  1086. //
  1087. // @APPLE_LICENSE_HEADER_START@
  1088. //
  1089. // This file contains Original Code and/or Modifications of Original Code
  1090. // as defined in and that are subject to the Apple Public Source License
  1091. // Version 2.0 (the 'License'). You may not use this file except in
  1092. // compliance with the License. Please obtain a copy of the License at
  1093. // http://www.opensource.apple.com/apsl/ and read it before using this
  1094. // file.
  1095. //
  1096. // The Original Code and all software distributed under the License are
  1097. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1098. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1099. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1100. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1101. // Please see the License for the specific language governing rights and
  1102. // limitations under the License.
  1103. //
  1104. // @APPLE_LICENSE_HEADER_END@
  1105. //
  1106. // These macros are for use in OS header files. They enable function prototypes
  1107. // and Objective-C methods to be tagged with the OS version in which they
  1108. // were first available; and, if applicable, the OS version in which they
  1109. // became deprecated.
  1110. //
  1111. // The desktop Mac OS X and iOS each have different version numbers.
  1112. // The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  1113. // and iOS version numbers. For instance:
  1114. // __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  1115. // means the function/method was first available on Mac OS X 10.2 on the desktop
  1116. // and first available in iOS 2.0 on the iPhone.
  1117. //
  1118. // If a function is available on one platform, but not the other a _NA (not
  1119. // applicable) parameter is used. For instance:
  1120. // __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  1121. // means that the function/method was first available on Mac OS X 10.3, and it
  1122. // currently not implemented on the iPhone.
  1123. //
  1124. // At some point, a function/method may be deprecated. That means Apple
  1125. // recommends applications stop using the function, either because there is a
  1126. // better replacement or the functionality is being phased out. Deprecated
  1127. // functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  1128. // macro which specifies the OS version where the function became available
  1129. // as well as the OS version in which it became deprecated. For instance:
  1130. // __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  1131. // means that the function/method was introduced in Mac OS X 10.0, then
  1132. // became deprecated beginning in Mac OS X 10.5. On iOS the function
  1133. // has never been available.
  1134. //
  1135. // For these macros to function properly, a program must specify the OS version range
  1136. // it is targeting. The min OS version is specified as an option to the compiler:
  1137. // -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  1138. // when building for the iPhone. The upper bound for the OS version is rarely needed,
  1139. // but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  1140. // Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  1141. //
  1142. // Examples:
  1143. //
  1144. // A function available in Mac OS X 10.5 and later, but not on the phone:
  1145. //
  1146. // extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  1147. //
  1148. //
  1149. // An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  1150. //
  1151. // @interface MyClass : NSObject
  1152. // -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  1153. // @end
  1154. //
  1155. //
  1156. // An enum available on the phone, but not available on Mac OS X:
  1157. //
  1158. // #if __IPHONE_OS_VERSION_MIN_REQUIRED
  1159. // enum { myEnum = 1 };
  1160. // #endif
  1161. // Note: this works when targeting the Mac OS X platform because
  1162. // __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  1163. //
  1164. //
  1165. // An enum with values added in different iPhoneOS versions:
  1166. //
  1167. // enum {
  1168. // myX = 1, // Usable on iPhoneOS 2.1 and later
  1169. // myY = 2, // Usable on iPhoneOS 3.0 and later
  1170. // myZ = 3, // Usable on iPhoneOS 3.0 and later
  1171. // ...
  1172. // Note: you do not want to use #if with enumeration values
  1173. // when a client needs to see all values at compile time
  1174. // and use runtime logic to only use the viable values.
  1175. //
  1176. //
  1177. // It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  1178. // source base that can be compiled to target a range of OS versions. It is best
  1179. // to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  1180. // That is because you might get compiled on an old OS that does not define a later
  1181. // OS version macro, and in the C preprocessor undefined values evaluate to zero
  1182. // in expresssions, which could cause the #if expression to evaluate in an unexpected
  1183. // way.
  1184. //
  1185. // #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  1186. // // code only compiled when targeting Mac OS X and not iPhone
  1187. // // note use of 1050 instead of __MAC_10_5
  1188. // #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  1189. // // code in here might run on pre-Leopard OS
  1190. // #else
  1191. // // code here can assume Leopard or later
  1192. // #endif
  1193. // #endif
  1194. //
  1195. //
  1196. // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  1197. // in an upcoming release. This soft deprecation is an intermediate step before formal
  1198. // deprecation to notify developers about the API before compiler warnings are generated.
  1199. // You can find all places in your code that use soft deprecated API by redefining the
  1200. // value of this macro to your current minimum deployment target, for example:
  1201. // (macOS)
  1202. // clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  1203. // (iOS)
  1204. // clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  1205. // __MAC_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  1206. // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  1207. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  1208. //
  1209. // @APPLE_LICENSE_HEADER_START@
  1210. //
  1211. // This file contains Original Code and/or Modifications of Original Code
  1212. // as defined in and that are subject to the Apple Public Source License
  1213. // Version 2.0 (the 'License'). You may not use this file except in
  1214. // compliance with the License. Please obtain a copy of the License at
  1215. // http://www.opensource.apple.com/apsl/ and read it before using this
  1216. // file.
  1217. //
  1218. // The Original Code and all software distributed under the License are
  1219. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1220. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1221. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1222. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1223. // Please see the License for the specific language governing rights and
  1224. // limitations under the License.
  1225. //
  1226. // @APPLE_LICENSE_HEADER_END@
  1227. //
  1228. // File: AvailabilityInternal.h
  1229. //
  1230. // Contains: implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  1231. //
  1232. // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  1233. // make sure a default max version is set
  1234. //
  1235. // Macros for defining which versions/platform a given symbol can be used.
  1236. //
  1237. // @see http://clang.llvm.org/docs/AttributeReference.html#availability
  1238. //
  1239. // Evaluate to nothing for compilers that don't support availability.
  1240. // Swift compiler version
  1241. // Allows for project-agnostic “epochs” for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  1242. // Example:
  1243. //
  1244. // #if __swift_compiler_version_at_least(800, 2, 20)
  1245. // - (nonnull NSString *)description;
  1246. // #else
  1247. // - (NSString *)description;
  1248. // #endif
  1249. // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  1250. // for use to document app extension usage
  1251. // for use marking APIs available info for Mac OSX
  1252. // for use marking APIs available info for iOS
  1253. // for use marking APIs available info for tvOS
  1254. // for use marking APIs available info for Watch OS
  1255. // for use marking APIs unavailable for swift
  1256. //
  1257. // Macros for defining which versions/platform a given symbol can be used.
  1258. //
  1259. // @see http://clang.llvm.org/docs/AttributeReference.html#availability
  1260. //
  1261. // * Note that these macros are only compatible with clang compilers that
  1262. // * support the following target selection options:
  1263. // *
  1264. // * -mmacosx-version-min
  1265. // * -miphoneos-version-min
  1266. // * -mwatchos-version-min
  1267. // * -mtvos-version-min
  1268. //
  1269. // Evaluate to nothing for compilers that don't support availability.
  1270. // If SPI decorations have not been defined elsewhere, disable them.
  1271. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1272. //
  1273. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1274. //
  1275. // This file contains Original Code and/or Modifications of Original Code
  1276. // as defined in and that are subject to the Apple Public Source License
  1277. // Version 2.0 (the 'License'). You may not use this file except in
  1278. // compliance with the License. The rights granted to you under the License
  1279. // may not be used to create, or enable the creation or redistribution of,
  1280. // unlawful or unlicensed copies of an Apple operating system, or to
  1281. // circumvent, violate, or enable the circumvention or violation of, any
  1282. // terms of an Apple operating system software license agreement.
  1283. //
  1284. // Please obtain a copy of the License at
  1285. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1286. //
  1287. // The Original Code and all software distributed under the License are
  1288. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1289. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1290. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1291. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1292. // Please see the License for the specific language governing rights and
  1293. // limitations under the License.
  1294. //
  1295. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1296. // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
  1297. //
  1298. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1299. //
  1300. // This file contains Original Code and/or Modifications of Original Code
  1301. // as defined in and that are subject to the Apple Public Source License
  1302. // Version 2.0 (the 'License'). You may not use this file except in
  1303. // compliance with the License. The rights granted to you under the License
  1304. // may not be used to create, or enable the creation or redistribution of,
  1305. // unlawful or unlicensed copies of an Apple operating system, or to
  1306. // circumvent, violate, or enable the circumvention or violation of, any
  1307. // terms of an Apple operating system software license agreement.
  1308. //
  1309. // Please obtain a copy of the License at
  1310. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1311. //
  1312. // The Original Code and all software distributed under the License are
  1313. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1314. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1315. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1316. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1317. // Please see the License for the specific language governing rights and
  1318. // limitations under the License.
  1319. //
  1320. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1321. // Copyright (c) 1992 NeXT Computer, Inc.
  1322. //
  1323. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1324. //
  1325. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1326. //
  1327. // This file contains Original Code and/or Modifications of Original Code
  1328. // as defined in and that are subject to the Apple Public Source License
  1329. // Version 2.0 (the 'License'). You may not use this file except in
  1330. // compliance with the License. The rights granted to you under the License
  1331. // may not be used to create, or enable the creation or redistribution of,
  1332. // unlawful or unlicensed copies of an Apple operating system, or to
  1333. // circumvent, violate, or enable the circumvention or violation of, any
  1334. // terms of an Apple operating system software license agreement.
  1335. //
  1336. // Please obtain a copy of the License at
  1337. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1338. //
  1339. // The Original Code and all software distributed under the License are
  1340. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1341. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1342. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1343. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1344. // Please see the License for the specific language governing rights and
  1345. // limitations under the License.
  1346. //
  1347. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1348. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1349. // Copyright (c) 1991, 1993
  1350. // The Regents of the University of California. All rights reserved.
  1351. //
  1352. // This code is derived from software contributed to Berkeley by
  1353. // Berkeley Software Design, Inc.
  1354. //
  1355. // Redistribution and use in source and binary forms, with or without
  1356. // modification, are permitted provided that the following conditions
  1357. // are met:
  1358. // 1. Redistributions of source code must retain the above copyright
  1359. // notice, this list of conditions and the following disclaimer.
  1360. // 2. Redistributions in binary form must reproduce the above copyright
  1361. // notice, this list of conditions and the following disclaimer in the
  1362. // documentation and/or other materials provided with the distribution.
  1363. // 3. All advertising materials mentioning features or use of this software
  1364. // must display the following acknowledgement:
  1365. // This product includes software developed by the University of
  1366. // California, Berkeley and its contributors.
  1367. // 4. Neither the name of the University nor the names of its contributors
  1368. // may be used to endorse or promote products derived from this software
  1369. // without specific prior written permission.
  1370. //
  1371. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1372. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1373. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1374. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1375. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1376. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1377. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1378. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1379. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1380. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1381. // SUCH DAMAGE.
  1382. //
  1383. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1384. type Sig_atomic_t = int32 /* signal.h:39:13 */
  1385. // Language spec sez we must list exactly one parameter, even though we
  1386. // actually supply three. Ugh!
  1387. // SIG_HOLD is chosen to avoid KERN_SIG_* values in <sys/signalvar.h>
  1388. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1389. //
  1390. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1391. //
  1392. // This file contains Original Code and/or Modifications of Original Code
  1393. // as defined in and that are subject to the Apple Public Source License
  1394. // Version 2.0 (the 'License'). You may not use this file except in
  1395. // compliance with the License. The rights granted to you under the License
  1396. // may not be used to create, or enable the creation or redistribution of,
  1397. // unlawful or unlicensed copies of an Apple operating system, or to
  1398. // circumvent, violate, or enable the circumvention or violation of, any
  1399. // terms of an Apple operating system software license agreement.
  1400. //
  1401. // Please obtain a copy of the License at
  1402. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1403. //
  1404. // The Original Code and all software distributed under the License are
  1405. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1406. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1407. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1408. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1409. // Please see the License for the specific language governing rights and
  1410. // limitations under the License.
  1411. //
  1412. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1413. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1414. //
  1415. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1416. //
  1417. // This file contains Original Code and/or Modifications of Original Code
  1418. // as defined in and that are subject to the Apple Public Source License
  1419. // Version 2.0 (the 'License'). You may not use this file except in
  1420. // compliance with the License. The rights granted to you under the License
  1421. // may not be used to create, or enable the creation or redistribution of,
  1422. // unlawful or unlicensed copies of an Apple operating system, or to
  1423. // circumvent, violate, or enable the circumvention or violation of, any
  1424. // terms of an Apple operating system software license agreement.
  1425. //
  1426. // Please obtain a copy of the License at
  1427. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1428. //
  1429. // The Original Code and all software distributed under the License are
  1430. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1431. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1432. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1433. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1434. // Please see the License for the specific language governing rights and
  1435. // limitations under the License.
  1436. //
  1437. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1438. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1439. //
  1440. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1441. //
  1442. // This file contains Original Code and/or Modifications of Original Code
  1443. // as defined in and that are subject to the Apple Public Source License
  1444. // Version 2.0 (the 'License'). You may not use this file except in
  1445. // compliance with the License. The rights granted to you under the License
  1446. // may not be used to create, or enable the creation or redistribution of,
  1447. // unlawful or unlicensed copies of an Apple operating system, or to
  1448. // circumvent, violate, or enable the circumvention or violation of, any
  1449. // terms of an Apple operating system software license agreement.
  1450. //
  1451. // Please obtain a copy of the License at
  1452. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1453. //
  1454. // The Original Code and all software distributed under the License are
  1455. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1456. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1457. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1458. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1459. // Please see the License for the specific language governing rights and
  1460. // limitations under the License.
  1461. //
  1462. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1463. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1464. //
  1465. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1466. //
  1467. // This file contains Original Code and/or Modifications of Original Code
  1468. // as defined in and that are subject to the Apple Public Source License
  1469. // Version 2.0 (the 'License'). You may not use this file except in
  1470. // compliance with the License. The rights granted to you under the License
  1471. // may not be used to create, or enable the creation or redistribution of,
  1472. // unlawful or unlicensed copies of an Apple operating system, or to
  1473. // circumvent, violate, or enable the circumvention or violation of, any
  1474. // terms of an Apple operating system software license agreement.
  1475. //
  1476. // Please obtain a copy of the License at
  1477. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1478. //
  1479. // The Original Code and all software distributed under the License are
  1480. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1481. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1482. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1483. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1484. // Please see the License for the specific language governing rights and
  1485. // limitations under the License.
  1486. //
  1487. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1488. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1489. // Copyright (c) 1991, 1993
  1490. // The Regents of the University of California. All rights reserved.
  1491. //
  1492. // This code is derived from software contributed to Berkeley by
  1493. // Berkeley Software Design, Inc.
  1494. //
  1495. // Redistribution and use in source and binary forms, with or without
  1496. // modification, are permitted provided that the following conditions
  1497. // are met:
  1498. // 1. Redistributions of source code must retain the above copyright
  1499. // notice, this list of conditions and the following disclaimer.
  1500. // 2. Redistributions in binary form must reproduce the above copyright
  1501. // notice, this list of conditions and the following disclaimer in the
  1502. // documentation and/or other materials provided with the distribution.
  1503. // 3. All advertising materials mentioning features or use of this software
  1504. // must display the following acknowledgement:
  1505. // This product includes software developed by the University of
  1506. // California, Berkeley and its contributors.
  1507. // 4. Neither the name of the University nor the names of its contributors
  1508. // may be used to endorse or promote products derived from this software
  1509. // without specific prior written permission.
  1510. //
  1511. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1512. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1513. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1514. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1515. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1516. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1517. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1518. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1519. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1520. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1521. // SUCH DAMAGE.
  1522. //
  1523. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1524. // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  1525. //
  1526. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1527. //
  1528. // This file contains Original Code and/or Modifications of Original Code
  1529. // as defined in and that are subject to the Apple Public Source License
  1530. // Version 2.0 (the 'License'). You may not use this file except in
  1531. // compliance with the License. The rights granted to you under the License
  1532. // may not be used to create, or enable the creation or redistribution of,
  1533. // unlawful or unlicensed copies of an Apple operating system, or to
  1534. // circumvent, violate, or enable the circumvention or violation of, any
  1535. // terms of an Apple operating system software license agreement.
  1536. //
  1537. // Please obtain a copy of the License at
  1538. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1539. //
  1540. // The Original Code and all software distributed under the License are
  1541. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1542. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1543. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1544. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1545. // Please see the License for the specific language governing rights and
  1546. // limitations under the License.
  1547. //
  1548. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1549. // Copyright (c) 2017 Apple Inc. All rights reserved.
  1550. //
  1551. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1552. //
  1553. // This file contains Original Code and/or Modifications of Original Code
  1554. // as defined in and that are subject to the Apple Public Source License
  1555. // Version 2.0 (the 'License'). You may not use this file except in
  1556. // compliance with the License. The rights granted to you under the License
  1557. // may not be used to create, or enable the creation or redistribution of,
  1558. // unlawful or unlicensed copies of an Apple operating system, or to
  1559. // circumvent, violate, or enable the circumvention or violation of, any
  1560. // terms of an Apple operating system software license agreement.
  1561. //
  1562. // Please obtain a copy of the License at
  1563. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1564. //
  1565. // The Original Code and all software distributed under the License are
  1566. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1567. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1568. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1569. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1570. // Please see the License for the specific language governing rights and
  1571. // limitations under the License.
  1572. //
  1573. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1574. // Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved.
  1575. //
  1576. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1577. //
  1578. // This file contains Original Code and/or Modifications of Original Code
  1579. // as defined in and that are subject to the Apple Public Source License
  1580. // Version 2.0 (the 'License'). You may not use this file except in
  1581. // compliance with the License. The rights granted to you under the License
  1582. // may not be used to create, or enable the creation or redistribution of,
  1583. // unlawful or unlicensed copies of an Apple operating system, or to
  1584. // circumvent, violate, or enable the circumvention or violation of, any
  1585. // terms of an Apple operating system software license agreement.
  1586. //
  1587. // Please obtain a copy of the License at
  1588. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1589. //
  1590. // The Original Code and all software distributed under the License are
  1591. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1592. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1593. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1594. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1595. // Please see the License for the specific language governing rights and
  1596. // limitations under the License.
  1597. //
  1598. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1599. // @OSF_COPYRIGHT@
  1600. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1601. //
  1602. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1603. //
  1604. // This file contains Original Code and/or Modifications of Original Code
  1605. // as defined in and that are subject to the Apple Public Source License
  1606. // Version 2.0 (the 'License'). You may not use this file except in
  1607. // compliance with the License. The rights granted to you under the License
  1608. // may not be used to create, or enable the creation or redistribution of,
  1609. // unlawful or unlicensed copies of an Apple operating system, or to
  1610. // circumvent, violate, or enable the circumvention or violation of, any
  1611. // terms of an Apple operating system software license agreement.
  1612. //
  1613. // Please obtain a copy of the License at
  1614. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1615. //
  1616. // The Original Code and all software distributed under the License are
  1617. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1618. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1619. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1620. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1621. // Please see the License for the specific language governing rights and
  1622. // limitations under the License.
  1623. //
  1624. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1625. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1626. // Copyright (c) 1991, 1993
  1627. // The Regents of the University of California. All rights reserved.
  1628. //
  1629. // This code is derived from software contributed to Berkeley by
  1630. // Berkeley Software Design, Inc.
  1631. //
  1632. // Redistribution and use in source and binary forms, with or without
  1633. // modification, are permitted provided that the following conditions
  1634. // are met:
  1635. // 1. Redistributions of source code must retain the above copyright
  1636. // notice, this list of conditions and the following disclaimer.
  1637. // 2. Redistributions in binary form must reproduce the above copyright
  1638. // notice, this list of conditions and the following disclaimer in the
  1639. // documentation and/or other materials provided with the distribution.
  1640. // 3. All advertising materials mentioning features or use of this software
  1641. // must display the following acknowledgement:
  1642. // This product includes software developed by the University of
  1643. // California, Berkeley and its contributors.
  1644. // 4. Neither the name of the University nor the names of its contributors
  1645. // may be used to endorse or promote products derived from this software
  1646. // without specific prior written permission.
  1647. //
  1648. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1649. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1650. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1651. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1652. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1653. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1654. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1655. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1656. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1657. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1658. // SUCH DAMAGE.
  1659. //
  1660. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1661. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1662. //
  1663. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1664. //
  1665. // This file contains Original Code and/or Modifications of Original Code
  1666. // as defined in and that are subject to the Apple Public Source License
  1667. // Version 2.0 (the 'License'). You may not use this file except in
  1668. // compliance with the License. The rights granted to you under the License
  1669. // may not be used to create, or enable the creation or redistribution of,
  1670. // unlawful or unlicensed copies of an Apple operating system, or to
  1671. // circumvent, violate, or enable the circumvention or violation of, any
  1672. // terms of an Apple operating system software license agreement.
  1673. //
  1674. // Please obtain a copy of the License at
  1675. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1676. //
  1677. // The Original Code and all software distributed under the License are
  1678. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1679. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1680. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1681. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1682. // Please see the License for the specific language governing rights and
  1683. // limitations under the License.
  1684. //
  1685. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1686. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1687. // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
  1688. //
  1689. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1690. //
  1691. // This file contains Original Code and/or Modifications of Original Code
  1692. // as defined in and that are subject to the Apple Public Source License
  1693. // Version 2.0 (the 'License'). You may not use this file except in
  1694. // compliance with the License. The rights granted to you under the License
  1695. // may not be used to create, or enable the creation or redistribution of,
  1696. // unlawful or unlicensed copies of an Apple operating system, or to
  1697. // circumvent, violate, or enable the circumvention or violation of, any
  1698. // terms of an Apple operating system software license agreement.
  1699. //
  1700. // Please obtain a copy of the License at
  1701. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1702. //
  1703. // The Original Code and all software distributed under the License are
  1704. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1705. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1706. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1707. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1708. // Please see the License for the specific language governing rights and
  1709. // limitations under the License.
  1710. //
  1711. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1712. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1713. // Copyright (c) 1990, 1993
  1714. // The Regents of the University of California. All rights reserved.
  1715. //
  1716. // Redistribution and use in source and binary forms, with or without
  1717. // modification, are permitted provided that the following conditions
  1718. // are met:
  1719. // 1. Redistributions of source code must retain the above copyright
  1720. // notice, this list of conditions and the following disclaimer.
  1721. // 2. Redistributions in binary form must reproduce the above copyright
  1722. // notice, this list of conditions and the following disclaimer in the
  1723. // documentation and/or other materials provided with the distribution.
  1724. // 3. All advertising materials mentioning features or use of this software
  1725. // must display the following acknowledgement:
  1726. // This product includes software developed by the University of
  1727. // California, Berkeley and its contributors.
  1728. // 4. Neither the name of the University nor the names of its contributors
  1729. // may be used to endorse or promote products derived from this software
  1730. // without specific prior written permission.
  1731. //
  1732. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1733. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1734. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1735. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1736. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1737. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1738. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1739. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1740. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1741. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1742. // SUCH DAMAGE.
  1743. //
  1744. // @(#)types.h 8.3 (Berkeley) 1/5/94
  1745. // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  1746. //
  1747. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1748. //
  1749. // This file contains Original Code and/or Modifications of Original Code
  1750. // as defined in and that are subject to the Apple Public Source License
  1751. // Version 2.0 (the 'License'). You may not use this file except in
  1752. // compliance with the License. The rights granted to you under the License
  1753. // may not be used to create, or enable the creation or redistribution of,
  1754. // unlawful or unlicensed copies of an Apple operating system, or to
  1755. // circumvent, violate, or enable the circumvention or violation of, any
  1756. // terms of an Apple operating system software license agreement.
  1757. //
  1758. // Please obtain a copy of the License at
  1759. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1760. //
  1761. // The Original Code and all software distributed under the License are
  1762. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1763. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1764. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1765. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1766. // Please see the License for the specific language governing rights and
  1767. // limitations under the License.
  1768. //
  1769. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1770. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1771. //
  1772. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1773. //
  1774. // This file contains Original Code and/or Modifications of Original Code
  1775. // as defined in and that are subject to the Apple Public Source License
  1776. // Version 2.0 (the 'License'). You may not use this file except in
  1777. // compliance with the License. The rights granted to you under the License
  1778. // may not be used to create, or enable the creation or redistribution of,
  1779. // unlawful or unlicensed copies of an Apple operating system, or to
  1780. // circumvent, violate, or enable the circumvention or violation of, any
  1781. // terms of an Apple operating system software license agreement.
  1782. //
  1783. // Please obtain a copy of the License at
  1784. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1785. //
  1786. // The Original Code and all software distributed under the License are
  1787. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1788. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1789. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1790. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1791. // Please see the License for the specific language governing rights and
  1792. // limitations under the License.
  1793. //
  1794. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1795. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1796. // Copyright (c) 1991, 1993
  1797. // The Regents of the University of California. All rights reserved.
  1798. //
  1799. // This code is derived from software contributed to Berkeley by
  1800. // Berkeley Software Design, Inc.
  1801. //
  1802. // Redistribution and use in source and binary forms, with or without
  1803. // modification, are permitted provided that the following conditions
  1804. // are met:
  1805. // 1. Redistributions of source code must retain the above copyright
  1806. // notice, this list of conditions and the following disclaimer.
  1807. // 2. Redistributions in binary form must reproduce the above copyright
  1808. // notice, this list of conditions and the following disclaimer in the
  1809. // documentation and/or other materials provided with the distribution.
  1810. // 3. All advertising materials mentioning features or use of this software
  1811. // must display the following acknowledgement:
  1812. // This product includes software developed by the University of
  1813. // California, Berkeley and its contributors.
  1814. // 4. Neither the name of the University nor the names of its contributors
  1815. // may be used to endorse or promote products derived from this software
  1816. // without specific prior written permission.
  1817. //
  1818. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1819. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1820. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1821. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1822. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1823. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1824. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1825. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1826. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1827. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1828. // SUCH DAMAGE.
  1829. //
  1830. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1831. // Basic integral types. Omit the typedef if
  1832. // not possible for a machine/compiler combination.
  1833. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1834. //
  1835. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1836. //
  1837. // This file contains Original Code and/or Modifications of Original Code
  1838. // as defined in and that are subject to the Apple Public Source License
  1839. // Version 2.0 (the 'License'). You may not use this file except in
  1840. // compliance with the License. The rights granted to you under the License
  1841. // may not be used to create, or enable the creation or redistribution of,
  1842. // unlawful or unlicensed copies of an Apple operating system, or to
  1843. // circumvent, violate, or enable the circumvention or violation of, any
  1844. // terms of an Apple operating system software license agreement.
  1845. //
  1846. // Please obtain a copy of the License at
  1847. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1848. //
  1849. // The Original Code and all software distributed under the License are
  1850. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1851. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1852. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1853. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1854. // Please see the License for the specific language governing rights and
  1855. // limitations under the License.
  1856. //
  1857. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1858. type Int8_t = int8 /* _int8_t.h:30:33 */
  1859. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1860. //
  1861. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1862. //
  1863. // This file contains Original Code and/or Modifications of Original Code
  1864. // as defined in and that are subject to the Apple Public Source License
  1865. // Version 2.0 (the 'License'). You may not use this file except in
  1866. // compliance with the License. The rights granted to you under the License
  1867. // may not be used to create, or enable the creation or redistribution of,
  1868. // unlawful or unlicensed copies of an Apple operating system, or to
  1869. // circumvent, violate, or enable the circumvention or violation of, any
  1870. // terms of an Apple operating system software license agreement.
  1871. //
  1872. // Please obtain a copy of the License at
  1873. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1874. //
  1875. // The Original Code and all software distributed under the License are
  1876. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1877. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1878. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1879. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1880. // Please see the License for the specific language governing rights and
  1881. // limitations under the License.
  1882. //
  1883. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1884. type Int16_t = int16 /* _int16_t.h:30:33 */
  1885. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1886. //
  1887. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1888. //
  1889. // This file contains Original Code and/or Modifications of Original Code
  1890. // as defined in and that are subject to the Apple Public Source License
  1891. // Version 2.0 (the 'License'). You may not use this file except in
  1892. // compliance with the License. The rights granted to you under the License
  1893. // may not be used to create, or enable the creation or redistribution of,
  1894. // unlawful or unlicensed copies of an Apple operating system, or to
  1895. // circumvent, violate, or enable the circumvention or violation of, any
  1896. // terms of an Apple operating system software license agreement.
  1897. //
  1898. // Please obtain a copy of the License at
  1899. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1900. //
  1901. // The Original Code and all software distributed under the License are
  1902. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1903. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1904. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1905. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1906. // Please see the License for the specific language governing rights and
  1907. // limitations under the License.
  1908. //
  1909. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1910. type Int32_t = int32 /* _int32_t.h:30:33 */
  1911. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1912. //
  1913. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1914. //
  1915. // This file contains Original Code and/or Modifications of Original Code
  1916. // as defined in and that are subject to the Apple Public Source License
  1917. // Version 2.0 (the 'License'). You may not use this file except in
  1918. // compliance with the License. The rights granted to you under the License
  1919. // may not be used to create, or enable the creation or redistribution of,
  1920. // unlawful or unlicensed copies of an Apple operating system, or to
  1921. // circumvent, violate, or enable the circumvention or violation of, any
  1922. // terms of an Apple operating system software license agreement.
  1923. //
  1924. // Please obtain a copy of the License at
  1925. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1926. //
  1927. // The Original Code and all software distributed under the License are
  1928. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1929. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1930. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1931. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1932. // Please see the License for the specific language governing rights and
  1933. // limitations under the License.
  1934. //
  1935. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1936. type Int64_t = int64 /* _int64_t.h:30:33 */
  1937. // Copyright (c) 2016 Apple Inc. All rights reserved.
  1938. //
  1939. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1940. //
  1941. // This file contains Original Code and/or Modifications of Original Code
  1942. // as defined in and that are subject to the Apple Public Source License
  1943. // Version 2.0 (the 'License'). You may not use this file except in
  1944. // compliance with the License. The rights granted to you under the License
  1945. // may not be used to create, or enable the creation or redistribution of,
  1946. // unlawful or unlicensed copies of an Apple operating system, or to
  1947. // circumvent, violate, or enable the circumvention or violation of, any
  1948. // terms of an Apple operating system software license agreement.
  1949. //
  1950. // Please obtain a copy of the License at
  1951. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1952. //
  1953. // The Original Code and all software distributed under the License are
  1954. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1955. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1956. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1957. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1958. // Please see the License for the specific language governing rights and
  1959. // limitations under the License.
  1960. //
  1961. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1962. type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
  1963. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1964. //
  1965. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1966. //
  1967. // This file contains Original Code and/or Modifications of Original Code
  1968. // as defined in and that are subject to the Apple Public Source License
  1969. // Version 2.0 (the 'License'). You may not use this file except in
  1970. // compliance with the License. The rights granted to you under the License
  1971. // may not be used to create, or enable the creation or redistribution of,
  1972. // unlawful or unlicensed copies of an Apple operating system, or to
  1973. // circumvent, violate, or enable the circumvention or violation of, any
  1974. // terms of an Apple operating system software license agreement.
  1975. //
  1976. // Please obtain a copy of the License at
  1977. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1978. //
  1979. // The Original Code and all software distributed under the License are
  1980. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1981. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1982. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1983. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1984. // Please see the License for the specific language governing rights and
  1985. // limitations under the License.
  1986. //
  1987. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1988. type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
  1989. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1990. //
  1991. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1992. //
  1993. // This file contains Original Code and/or Modifications of Original Code
  1994. // as defined in and that are subject to the Apple Public Source License
  1995. // Version 2.0 (the 'License'). You may not use this file except in
  1996. // compliance with the License. The rights granted to you under the License
  1997. // may not be used to create, or enable the creation or redistribution of,
  1998. // unlawful or unlicensed copies of an Apple operating system, or to
  1999. // circumvent, violate, or enable the circumvention or violation of, any
  2000. // terms of an Apple operating system software license agreement.
  2001. //
  2002. // Please obtain a copy of the License at
  2003. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2004. //
  2005. // The Original Code and all software distributed under the License are
  2006. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2007. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2008. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2009. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2010. // Please see the License for the specific language governing rights and
  2011. // limitations under the License.
  2012. //
  2013. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2014. type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
  2015. // Copyright (c) 2012 Apple Inc. All rights reserved.
  2016. //
  2017. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2018. //
  2019. // This file contains Original Code and/or Modifications of Original Code
  2020. // as defined in and that are subject to the Apple Public Source License
  2021. // Version 2.0 (the 'License'). You may not use this file except in
  2022. // compliance with the License. The rights granted to you under the License
  2023. // may not be used to create, or enable the creation or redistribution of,
  2024. // unlawful or unlicensed copies of an Apple operating system, or to
  2025. // circumvent, violate, or enable the circumvention or violation of, any
  2026. // terms of an Apple operating system software license agreement.
  2027. //
  2028. // Please obtain a copy of the License at
  2029. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2030. //
  2031. // The Original Code and all software distributed under the License are
  2032. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2033. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2034. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2035. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2036. // Please see the License for the specific language governing rights and
  2037. // limitations under the License.
  2038. //
  2039. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2040. type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
  2041. type Register_t = Int64_t /* types.h:87:33 */
  2042. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2043. //
  2044. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2045. //
  2046. // This file contains Original Code and/or Modifications of Original Code
  2047. // as defined in and that are subject to the Apple Public Source License
  2048. // Version 2.0 (the 'License'). You may not use this file except in
  2049. // compliance with the License. The rights granted to you under the License
  2050. // may not be used to create, or enable the creation or redistribution of,
  2051. // unlawful or unlicensed copies of an Apple operating system, or to
  2052. // circumvent, violate, or enable the circumvention or violation of, any
  2053. // terms of an Apple operating system software license agreement.
  2054. //
  2055. // Please obtain a copy of the License at
  2056. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2057. //
  2058. // The Original Code and all software distributed under the License are
  2059. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2060. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2061. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2062. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2063. // Please see the License for the specific language governing rights and
  2064. // limitations under the License.
  2065. //
  2066. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2067. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2068. //
  2069. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2070. //
  2071. // This file contains Original Code and/or Modifications of Original Code
  2072. // as defined in and that are subject to the Apple Public Source License
  2073. // Version 2.0 (the 'License'). You may not use this file except in
  2074. // compliance with the License. The rights granted to you under the License
  2075. // may not be used to create, or enable the creation or redistribution of,
  2076. // unlawful or unlicensed copies of an Apple operating system, or to
  2077. // circumvent, violate, or enable the circumvention or violation of, any
  2078. // terms of an Apple operating system software license agreement.
  2079. //
  2080. // Please obtain a copy of the License at
  2081. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2082. //
  2083. // The Original Code and all software distributed under the License are
  2084. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2085. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2086. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2087. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2088. // Please see the License for the specific language governing rights and
  2089. // limitations under the License.
  2090. //
  2091. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2092. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2093. type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
  2094. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2095. //
  2096. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2097. //
  2098. // This file contains Original Code and/or Modifications of Original Code
  2099. // as defined in and that are subject to the Apple Public Source License
  2100. // Version 2.0 (the 'License'). You may not use this file except in
  2101. // compliance with the License. The rights granted to you under the License
  2102. // may not be used to create, or enable the creation or redistribution of,
  2103. // unlawful or unlicensed copies of an Apple operating system, or to
  2104. // circumvent, violate, or enable the circumvention or violation of, any
  2105. // terms of an Apple operating system software license agreement.
  2106. //
  2107. // Please obtain a copy of the License at
  2108. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2109. //
  2110. // The Original Code and all software distributed under the License are
  2111. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2112. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2113. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2114. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2115. // Please see the License for the specific language governing rights and
  2116. // limitations under the License.
  2117. //
  2118. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2119. type Uintptr_t = uint64 /* _uintptr_t.h:30:33 */
  2120. // These types are used for reserving the largest possible size.
  2121. type User_addr_t = U_int64_t /* types.h:97:33 */
  2122. type User_size_t = U_int64_t /* types.h:98:33 */
  2123. type User_ssize_t = Int64_t /* types.h:99:33 */
  2124. type User_long_t = Int64_t /* types.h:100:33 */
  2125. type User_ulong_t = U_int64_t /* types.h:101:33 */
  2126. type User_time_t = Int64_t /* types.h:102:33 */
  2127. type User_off_t = Int64_t /* types.h:103:33 */
  2128. // This defines the size of syscall arguments after copying into the kernel:
  2129. type Syscall_arg_t = U_int64_t /* types.h:111:33 */
  2130. // i386 is the structure that is exported to user threads for
  2131. // use in status/mutate calls. This structure should never change.
  2132. //
  2133. type X__darwin_i386_thread_state = struct {
  2134. F__eax uint32
  2135. F__ebx uint32
  2136. F__ecx uint32
  2137. F__edx uint32
  2138. F__edi uint32
  2139. F__esi uint32
  2140. F__ebp uint32
  2141. F__esp uint32
  2142. F__ss uint32
  2143. F__eflags uint32
  2144. F__eip uint32
  2145. F__cs uint32
  2146. F__ds uint32
  2147. F__es uint32
  2148. F__fs uint32
  2149. F__gs uint32
  2150. } /* _structs.h:46:1 */
  2151. // This structure should be double-word aligned for performance
  2152. type X__darwin_fp_control = struct {
  2153. F__ccgo_pad1 [0]uint16
  2154. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2155. } /* _structs.h:92:1 */
  2156. type X__darwin_fp_control_t = X__darwin_fp_control /* _structs.h:117:28 */
  2157. // Status word.
  2158. type X__darwin_fp_status = struct {
  2159. F__ccgo_pad1 [0]uint16
  2160. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2161. } /* _structs.h:150:1 */
  2162. type X__darwin_fp_status_t = X__darwin_fp_status /* _structs.h:167:27 */
  2163. // defn of 80bit x87 FPU or MMX register
  2164. type X__darwin_mmst_reg = struct {
  2165. F__mmst_reg [10]int8
  2166. F__mmst_rsrv [6]int8
  2167. } /* _structs.h:194:1 */
  2168. // defn of 128 bit XMM regs
  2169. type X__darwin_xmm_reg = struct{ F__xmm_reg [16]int8 } /* _structs.h:213:1 */
  2170. // defn of 256 bit YMM regs
  2171. type X__darwin_ymm_reg = struct{ F__ymm_reg [32]int8 } /* _structs.h:229:1 */
  2172. // defn of 512 bit ZMM regs
  2173. type X__darwin_zmm_reg = struct{ F__zmm_reg [64]int8 } /* _structs.h:245:1 */
  2174. type X__darwin_opmask_reg = struct{ F__opmask_reg [8]int8 } /* _structs.h:259:1 */
  2175. // Floating point state.
  2176. type X__darwin_i386_float_state = struct {
  2177. F__fpu_reserved [2]int32
  2178. F__fpu_fcw struct {
  2179. F__ccgo_pad1 [0]uint16
  2180. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2181. }
  2182. F__fpu_fsw struct {
  2183. F__ccgo_pad1 [0]uint16
  2184. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2185. }
  2186. F__fpu_ftw X__uint8_t
  2187. F__fpu_rsrv1 X__uint8_t
  2188. F__fpu_fop X__uint16_t
  2189. F__fpu_ip X__uint32_t
  2190. F__fpu_cs X__uint16_t
  2191. F__fpu_rsrv2 X__uint16_t
  2192. F__fpu_dp X__uint32_t
  2193. F__fpu_ds X__uint16_t
  2194. F__fpu_rsrv3 X__uint16_t
  2195. F__fpu_mxcsr X__uint32_t
  2196. F__fpu_mxcsrmask X__uint32_t
  2197. F__fpu_stmm0 struct {
  2198. F__mmst_reg [10]int8
  2199. F__mmst_rsrv [6]int8
  2200. }
  2201. F__fpu_stmm1 struct {
  2202. F__mmst_reg [10]int8
  2203. F__mmst_rsrv [6]int8
  2204. }
  2205. F__fpu_stmm2 struct {
  2206. F__mmst_reg [10]int8
  2207. F__mmst_rsrv [6]int8
  2208. }
  2209. F__fpu_stmm3 struct {
  2210. F__mmst_reg [10]int8
  2211. F__mmst_rsrv [6]int8
  2212. }
  2213. F__fpu_stmm4 struct {
  2214. F__mmst_reg [10]int8
  2215. F__mmst_rsrv [6]int8
  2216. }
  2217. F__fpu_stmm5 struct {
  2218. F__mmst_reg [10]int8
  2219. F__mmst_rsrv [6]int8
  2220. }
  2221. F__fpu_stmm6 struct {
  2222. F__mmst_reg [10]int8
  2223. F__mmst_rsrv [6]int8
  2224. }
  2225. F__fpu_stmm7 struct {
  2226. F__mmst_reg [10]int8
  2227. F__mmst_rsrv [6]int8
  2228. }
  2229. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2230. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2231. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2232. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2233. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2234. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2235. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2236. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2237. F__fpu_rsrv4 [224]int8
  2238. F__fpu_reserved1 int32
  2239. } /* _structs.h:281:1 */
  2240. type X__darwin_i386_avx_state = struct {
  2241. F__fpu_reserved [2]int32
  2242. F__fpu_fcw struct {
  2243. F__ccgo_pad1 [0]uint16
  2244. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2245. }
  2246. F__fpu_fsw struct {
  2247. F__ccgo_pad1 [0]uint16
  2248. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2249. }
  2250. F__fpu_ftw X__uint8_t
  2251. F__fpu_rsrv1 X__uint8_t
  2252. F__fpu_fop X__uint16_t
  2253. F__fpu_ip X__uint32_t
  2254. F__fpu_cs X__uint16_t
  2255. F__fpu_rsrv2 X__uint16_t
  2256. F__fpu_dp X__uint32_t
  2257. F__fpu_ds X__uint16_t
  2258. F__fpu_rsrv3 X__uint16_t
  2259. F__fpu_mxcsr X__uint32_t
  2260. F__fpu_mxcsrmask X__uint32_t
  2261. F__fpu_stmm0 struct {
  2262. F__mmst_reg [10]int8
  2263. F__mmst_rsrv [6]int8
  2264. }
  2265. F__fpu_stmm1 struct {
  2266. F__mmst_reg [10]int8
  2267. F__mmst_rsrv [6]int8
  2268. }
  2269. F__fpu_stmm2 struct {
  2270. F__mmst_reg [10]int8
  2271. F__mmst_rsrv [6]int8
  2272. }
  2273. F__fpu_stmm3 struct {
  2274. F__mmst_reg [10]int8
  2275. F__mmst_rsrv [6]int8
  2276. }
  2277. F__fpu_stmm4 struct {
  2278. F__mmst_reg [10]int8
  2279. F__mmst_rsrv [6]int8
  2280. }
  2281. F__fpu_stmm5 struct {
  2282. F__mmst_reg [10]int8
  2283. F__mmst_rsrv [6]int8
  2284. }
  2285. F__fpu_stmm6 struct {
  2286. F__mmst_reg [10]int8
  2287. F__mmst_rsrv [6]int8
  2288. }
  2289. F__fpu_stmm7 struct {
  2290. F__mmst_reg [10]int8
  2291. F__mmst_rsrv [6]int8
  2292. }
  2293. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2294. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2295. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2296. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2297. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2298. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2299. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2300. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2301. F__fpu_rsrv4 [224]int8
  2302. F__fpu_reserved1 int32
  2303. F__avx_reserved1 [64]int8
  2304. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  2305. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  2306. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  2307. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  2308. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  2309. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  2310. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  2311. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  2312. } /* _structs.h:318:1 */
  2313. type X__darwin_i386_avx512_state = struct {
  2314. F__fpu_reserved [2]int32
  2315. F__fpu_fcw struct {
  2316. F__ccgo_pad1 [0]uint16
  2317. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2318. }
  2319. F__fpu_fsw struct {
  2320. F__ccgo_pad1 [0]uint16
  2321. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2322. }
  2323. F__fpu_ftw X__uint8_t
  2324. F__fpu_rsrv1 X__uint8_t
  2325. F__fpu_fop X__uint16_t
  2326. F__fpu_ip X__uint32_t
  2327. F__fpu_cs X__uint16_t
  2328. F__fpu_rsrv2 X__uint16_t
  2329. F__fpu_dp X__uint32_t
  2330. F__fpu_ds X__uint16_t
  2331. F__fpu_rsrv3 X__uint16_t
  2332. F__fpu_mxcsr X__uint32_t
  2333. F__fpu_mxcsrmask X__uint32_t
  2334. F__fpu_stmm0 struct {
  2335. F__mmst_reg [10]int8
  2336. F__mmst_rsrv [6]int8
  2337. }
  2338. F__fpu_stmm1 struct {
  2339. F__mmst_reg [10]int8
  2340. F__mmst_rsrv [6]int8
  2341. }
  2342. F__fpu_stmm2 struct {
  2343. F__mmst_reg [10]int8
  2344. F__mmst_rsrv [6]int8
  2345. }
  2346. F__fpu_stmm3 struct {
  2347. F__mmst_reg [10]int8
  2348. F__mmst_rsrv [6]int8
  2349. }
  2350. F__fpu_stmm4 struct {
  2351. F__mmst_reg [10]int8
  2352. F__mmst_rsrv [6]int8
  2353. }
  2354. F__fpu_stmm5 struct {
  2355. F__mmst_reg [10]int8
  2356. F__mmst_rsrv [6]int8
  2357. }
  2358. F__fpu_stmm6 struct {
  2359. F__mmst_reg [10]int8
  2360. F__mmst_rsrv [6]int8
  2361. }
  2362. F__fpu_stmm7 struct {
  2363. F__mmst_reg [10]int8
  2364. F__mmst_rsrv [6]int8
  2365. }
  2366. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2367. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2368. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2369. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2370. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2371. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2372. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2373. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2374. F__fpu_rsrv4 [224]int8
  2375. F__fpu_reserved1 int32
  2376. F__avx_reserved1 [64]int8
  2377. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  2378. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  2379. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  2380. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  2381. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  2382. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  2383. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  2384. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  2385. F__fpu_k0 struct{ F__opmask_reg [8]int8 }
  2386. F__fpu_k1 struct{ F__opmask_reg [8]int8 }
  2387. F__fpu_k2 struct{ F__opmask_reg [8]int8 }
  2388. F__fpu_k3 struct{ F__opmask_reg [8]int8 }
  2389. F__fpu_k4 struct{ F__opmask_reg [8]int8 }
  2390. F__fpu_k5 struct{ F__opmask_reg [8]int8 }
  2391. F__fpu_k6 struct{ F__opmask_reg [8]int8 }
  2392. F__fpu_k7 struct{ F__opmask_reg [8]int8 }
  2393. F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 }
  2394. F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 }
  2395. F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 }
  2396. F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 }
  2397. F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 }
  2398. F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 }
  2399. F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 }
  2400. F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 }
  2401. } /* _structs.h:364:1 */
  2402. type X__darwin_i386_exception_state = struct {
  2403. F__trapno X__uint16_t
  2404. F__cpu X__uint16_t
  2405. F__err X__uint32_t
  2406. F__faultvaddr X__uint32_t
  2407. } /* _structs.h:575:1 */
  2408. type X__darwin_x86_debug_state32 = struct {
  2409. F__dr0 uint32
  2410. F__dr1 uint32
  2411. F__dr2 uint32
  2412. F__dr3 uint32
  2413. F__dr4 uint32
  2414. F__dr5 uint32
  2415. F__dr6 uint32
  2416. F__dr7 uint32
  2417. } /* _structs.h:595:1 */
  2418. type X__x86_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:622:1 */
  2419. // 64 bit versions of the above
  2420. type X__darwin_x86_thread_state64 = struct {
  2421. F__rax X__uint64_t
  2422. F__rbx X__uint64_t
  2423. F__rcx X__uint64_t
  2424. F__rdx X__uint64_t
  2425. F__rdi X__uint64_t
  2426. F__rsi X__uint64_t
  2427. F__rbp X__uint64_t
  2428. F__rsp X__uint64_t
  2429. F__r8 X__uint64_t
  2430. F__r9 X__uint64_t
  2431. F__r10 X__uint64_t
  2432. F__r11 X__uint64_t
  2433. F__r12 X__uint64_t
  2434. F__r13 X__uint64_t
  2435. F__r14 X__uint64_t
  2436. F__r15 X__uint64_t
  2437. F__rip X__uint64_t
  2438. F__rflags X__uint64_t
  2439. F__cs X__uint64_t
  2440. F__fs X__uint64_t
  2441. F__gs X__uint64_t
  2442. } /* _structs.h:633:1 */
  2443. // 64 bit versions of the above (complete)
  2444. type X__darwin_x86_thread_full_state64 = struct {
  2445. F__ss64 struct {
  2446. F__rax X__uint64_t
  2447. F__rbx X__uint64_t
  2448. F__rcx X__uint64_t
  2449. F__rdx X__uint64_t
  2450. F__rdi X__uint64_t
  2451. F__rsi X__uint64_t
  2452. F__rbp X__uint64_t
  2453. F__rsp X__uint64_t
  2454. F__r8 X__uint64_t
  2455. F__r9 X__uint64_t
  2456. F__r10 X__uint64_t
  2457. F__r11 X__uint64_t
  2458. F__r12 X__uint64_t
  2459. F__r13 X__uint64_t
  2460. F__r14 X__uint64_t
  2461. F__r15 X__uint64_t
  2462. F__rip X__uint64_t
  2463. F__rflags X__uint64_t
  2464. F__cs X__uint64_t
  2465. F__fs X__uint64_t
  2466. F__gs X__uint64_t
  2467. }
  2468. F__ds X__uint64_t
  2469. F__es X__uint64_t
  2470. F__ss X__uint64_t
  2471. F__gsbase X__uint64_t
  2472. } /* _structs.h:691:1 */
  2473. type X__darwin_x86_float_state64 = struct {
  2474. F__fpu_reserved [2]int32
  2475. F__fpu_fcw struct {
  2476. F__ccgo_pad1 [0]uint16
  2477. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2478. }
  2479. F__fpu_fsw struct {
  2480. F__ccgo_pad1 [0]uint16
  2481. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2482. }
  2483. F__fpu_ftw X__uint8_t
  2484. F__fpu_rsrv1 X__uint8_t
  2485. F__fpu_fop X__uint16_t
  2486. F__fpu_ip X__uint32_t
  2487. F__fpu_cs X__uint16_t
  2488. F__fpu_rsrv2 X__uint16_t
  2489. F__fpu_dp X__uint32_t
  2490. F__fpu_ds X__uint16_t
  2491. F__fpu_rsrv3 X__uint16_t
  2492. F__fpu_mxcsr X__uint32_t
  2493. F__fpu_mxcsrmask X__uint32_t
  2494. F__fpu_stmm0 struct {
  2495. F__mmst_reg [10]int8
  2496. F__mmst_rsrv [6]int8
  2497. }
  2498. F__fpu_stmm1 struct {
  2499. F__mmst_reg [10]int8
  2500. F__mmst_rsrv [6]int8
  2501. }
  2502. F__fpu_stmm2 struct {
  2503. F__mmst_reg [10]int8
  2504. F__mmst_rsrv [6]int8
  2505. }
  2506. F__fpu_stmm3 struct {
  2507. F__mmst_reg [10]int8
  2508. F__mmst_rsrv [6]int8
  2509. }
  2510. F__fpu_stmm4 struct {
  2511. F__mmst_reg [10]int8
  2512. F__mmst_rsrv [6]int8
  2513. }
  2514. F__fpu_stmm5 struct {
  2515. F__mmst_reg [10]int8
  2516. F__mmst_rsrv [6]int8
  2517. }
  2518. F__fpu_stmm6 struct {
  2519. F__mmst_reg [10]int8
  2520. F__mmst_rsrv [6]int8
  2521. }
  2522. F__fpu_stmm7 struct {
  2523. F__mmst_reg [10]int8
  2524. F__mmst_rsrv [6]int8
  2525. }
  2526. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2527. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2528. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2529. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2530. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2531. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2532. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2533. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2534. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  2535. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  2536. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  2537. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  2538. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  2539. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  2540. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  2541. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  2542. F__fpu_rsrv4 [96]int8
  2543. F__fpu_reserved1 int32
  2544. } /* _structs.h:714:1 */
  2545. type X__darwin_x86_avx_state64 = struct {
  2546. F__fpu_reserved [2]int32
  2547. F__fpu_fcw struct {
  2548. F__ccgo_pad1 [0]uint16
  2549. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2550. }
  2551. F__fpu_fsw struct {
  2552. F__ccgo_pad1 [0]uint16
  2553. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2554. }
  2555. F__fpu_ftw X__uint8_t
  2556. F__fpu_rsrv1 X__uint8_t
  2557. F__fpu_fop X__uint16_t
  2558. F__fpu_ip X__uint32_t
  2559. F__fpu_cs X__uint16_t
  2560. F__fpu_rsrv2 X__uint16_t
  2561. F__fpu_dp X__uint32_t
  2562. F__fpu_ds X__uint16_t
  2563. F__fpu_rsrv3 X__uint16_t
  2564. F__fpu_mxcsr X__uint32_t
  2565. F__fpu_mxcsrmask X__uint32_t
  2566. F__fpu_stmm0 struct {
  2567. F__mmst_reg [10]int8
  2568. F__mmst_rsrv [6]int8
  2569. }
  2570. F__fpu_stmm1 struct {
  2571. F__mmst_reg [10]int8
  2572. F__mmst_rsrv [6]int8
  2573. }
  2574. F__fpu_stmm2 struct {
  2575. F__mmst_reg [10]int8
  2576. F__mmst_rsrv [6]int8
  2577. }
  2578. F__fpu_stmm3 struct {
  2579. F__mmst_reg [10]int8
  2580. F__mmst_rsrv [6]int8
  2581. }
  2582. F__fpu_stmm4 struct {
  2583. F__mmst_reg [10]int8
  2584. F__mmst_rsrv [6]int8
  2585. }
  2586. F__fpu_stmm5 struct {
  2587. F__mmst_reg [10]int8
  2588. F__mmst_rsrv [6]int8
  2589. }
  2590. F__fpu_stmm6 struct {
  2591. F__mmst_reg [10]int8
  2592. F__mmst_rsrv [6]int8
  2593. }
  2594. F__fpu_stmm7 struct {
  2595. F__mmst_reg [10]int8
  2596. F__mmst_rsrv [6]int8
  2597. }
  2598. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2599. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2600. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2601. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2602. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2603. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2604. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2605. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2606. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  2607. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  2608. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  2609. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  2610. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  2611. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  2612. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  2613. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  2614. F__fpu_rsrv4 [96]int8
  2615. F__fpu_reserved1 int32
  2616. F__avx_reserved1 [64]int8
  2617. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  2618. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  2619. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  2620. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  2621. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  2622. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  2623. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  2624. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  2625. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  2626. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  2627. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  2628. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  2629. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  2630. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  2631. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  2632. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  2633. } /* _structs.h:765:1 */
  2634. type X__darwin_x86_avx512_state64 = struct {
  2635. F__fpu_reserved [2]int32
  2636. F__fpu_fcw struct {
  2637. F__ccgo_pad1 [0]uint16
  2638. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2639. }
  2640. F__fpu_fsw struct {
  2641. F__ccgo_pad1 [0]uint16
  2642. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2643. }
  2644. F__fpu_ftw X__uint8_t
  2645. F__fpu_rsrv1 X__uint8_t
  2646. F__fpu_fop X__uint16_t
  2647. F__fpu_ip X__uint32_t
  2648. F__fpu_cs X__uint16_t
  2649. F__fpu_rsrv2 X__uint16_t
  2650. F__fpu_dp X__uint32_t
  2651. F__fpu_ds X__uint16_t
  2652. F__fpu_rsrv3 X__uint16_t
  2653. F__fpu_mxcsr X__uint32_t
  2654. F__fpu_mxcsrmask X__uint32_t
  2655. F__fpu_stmm0 struct {
  2656. F__mmst_reg [10]int8
  2657. F__mmst_rsrv [6]int8
  2658. }
  2659. F__fpu_stmm1 struct {
  2660. F__mmst_reg [10]int8
  2661. F__mmst_rsrv [6]int8
  2662. }
  2663. F__fpu_stmm2 struct {
  2664. F__mmst_reg [10]int8
  2665. F__mmst_rsrv [6]int8
  2666. }
  2667. F__fpu_stmm3 struct {
  2668. F__mmst_reg [10]int8
  2669. F__mmst_rsrv [6]int8
  2670. }
  2671. F__fpu_stmm4 struct {
  2672. F__mmst_reg [10]int8
  2673. F__mmst_rsrv [6]int8
  2674. }
  2675. F__fpu_stmm5 struct {
  2676. F__mmst_reg [10]int8
  2677. F__mmst_rsrv [6]int8
  2678. }
  2679. F__fpu_stmm6 struct {
  2680. F__mmst_reg [10]int8
  2681. F__mmst_rsrv [6]int8
  2682. }
  2683. F__fpu_stmm7 struct {
  2684. F__mmst_reg [10]int8
  2685. F__mmst_rsrv [6]int8
  2686. }
  2687. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2688. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2689. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2690. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2691. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2692. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2693. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2694. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2695. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  2696. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  2697. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  2698. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  2699. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  2700. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  2701. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  2702. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  2703. F__fpu_rsrv4 [96]int8
  2704. F__fpu_reserved1 int32
  2705. F__avx_reserved1 [64]int8
  2706. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  2707. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  2708. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  2709. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  2710. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  2711. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  2712. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  2713. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  2714. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  2715. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  2716. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  2717. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  2718. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  2719. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  2720. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  2721. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  2722. F__fpu_k0 struct{ F__opmask_reg [8]int8 }
  2723. F__fpu_k1 struct{ F__opmask_reg [8]int8 }
  2724. F__fpu_k2 struct{ F__opmask_reg [8]int8 }
  2725. F__fpu_k3 struct{ F__opmask_reg [8]int8 }
  2726. F__fpu_k4 struct{ F__opmask_reg [8]int8 }
  2727. F__fpu_k5 struct{ F__opmask_reg [8]int8 }
  2728. F__fpu_k6 struct{ F__opmask_reg [8]int8 }
  2729. F__fpu_k7 struct{ F__opmask_reg [8]int8 }
  2730. F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 }
  2731. F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 }
  2732. F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 }
  2733. F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 }
  2734. F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 }
  2735. F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 }
  2736. F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 }
  2737. F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 }
  2738. F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 }
  2739. F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 }
  2740. F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 }
  2741. F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 }
  2742. F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 }
  2743. F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 }
  2744. F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 }
  2745. F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 }
  2746. F__fpu_zmm16 struct{ F__zmm_reg [64]int8 }
  2747. F__fpu_zmm17 struct{ F__zmm_reg [64]int8 }
  2748. F__fpu_zmm18 struct{ F__zmm_reg [64]int8 }
  2749. F__fpu_zmm19 struct{ F__zmm_reg [64]int8 }
  2750. F__fpu_zmm20 struct{ F__zmm_reg [64]int8 }
  2751. F__fpu_zmm21 struct{ F__zmm_reg [64]int8 }
  2752. F__fpu_zmm22 struct{ F__zmm_reg [64]int8 }
  2753. F__fpu_zmm23 struct{ F__zmm_reg [64]int8 }
  2754. F__fpu_zmm24 struct{ F__zmm_reg [64]int8 }
  2755. F__fpu_zmm25 struct{ F__zmm_reg [64]int8 }
  2756. F__fpu_zmm26 struct{ F__zmm_reg [64]int8 }
  2757. F__fpu_zmm27 struct{ F__zmm_reg [64]int8 }
  2758. F__fpu_zmm28 struct{ F__zmm_reg [64]int8 }
  2759. F__fpu_zmm29 struct{ F__zmm_reg [64]int8 }
  2760. F__fpu_zmm30 struct{ F__zmm_reg [64]int8 }
  2761. F__fpu_zmm31 struct{ F__zmm_reg [64]int8 }
  2762. } /* _structs.h:833:1 */
  2763. type X__darwin_x86_exception_state64 = struct {
  2764. F__trapno X__uint16_t
  2765. F__cpu X__uint16_t
  2766. F__err X__uint32_t
  2767. F__faultvaddr X__uint64_t
  2768. } /* _structs.h:1172:1 */
  2769. type X__darwin_x86_debug_state64 = struct {
  2770. F__dr0 X__uint64_t
  2771. F__dr1 X__uint64_t
  2772. F__dr2 X__uint64_t
  2773. F__dr3 X__uint64_t
  2774. F__dr4 X__uint64_t
  2775. F__dr5 X__uint64_t
  2776. F__dr6 X__uint64_t
  2777. F__dr7 X__uint64_t
  2778. } /* _structs.h:1192:1 */
  2779. type X__darwin_x86_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:1220:1 */
  2780. type X__darwin_mcontext32 = struct {
  2781. F__es struct {
  2782. F__trapno X__uint16_t
  2783. F__cpu X__uint16_t
  2784. F__err X__uint32_t
  2785. F__faultvaddr X__uint32_t
  2786. }
  2787. F__ss struct {
  2788. F__eax uint32
  2789. F__ebx uint32
  2790. F__ecx uint32
  2791. F__edx uint32
  2792. F__edi uint32
  2793. F__esi uint32
  2794. F__ebp uint32
  2795. F__esp uint32
  2796. F__ss uint32
  2797. F__eflags uint32
  2798. F__eip uint32
  2799. F__cs uint32
  2800. F__ds uint32
  2801. F__es uint32
  2802. F__fs uint32
  2803. F__gs uint32
  2804. }
  2805. F__fs struct {
  2806. F__fpu_reserved [2]int32
  2807. F__fpu_fcw struct {
  2808. F__ccgo_pad1 [0]uint16
  2809. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2810. }
  2811. F__fpu_fsw struct {
  2812. F__ccgo_pad1 [0]uint16
  2813. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2814. }
  2815. F__fpu_ftw X__uint8_t
  2816. F__fpu_rsrv1 X__uint8_t
  2817. F__fpu_fop X__uint16_t
  2818. F__fpu_ip X__uint32_t
  2819. F__fpu_cs X__uint16_t
  2820. F__fpu_rsrv2 X__uint16_t
  2821. F__fpu_dp X__uint32_t
  2822. F__fpu_ds X__uint16_t
  2823. F__fpu_rsrv3 X__uint16_t
  2824. F__fpu_mxcsr X__uint32_t
  2825. F__fpu_mxcsrmask X__uint32_t
  2826. F__fpu_stmm0 struct {
  2827. F__mmst_reg [10]int8
  2828. F__mmst_rsrv [6]int8
  2829. }
  2830. F__fpu_stmm1 struct {
  2831. F__mmst_reg [10]int8
  2832. F__mmst_rsrv [6]int8
  2833. }
  2834. F__fpu_stmm2 struct {
  2835. F__mmst_reg [10]int8
  2836. F__mmst_rsrv [6]int8
  2837. }
  2838. F__fpu_stmm3 struct {
  2839. F__mmst_reg [10]int8
  2840. F__mmst_rsrv [6]int8
  2841. }
  2842. F__fpu_stmm4 struct {
  2843. F__mmst_reg [10]int8
  2844. F__mmst_rsrv [6]int8
  2845. }
  2846. F__fpu_stmm5 struct {
  2847. F__mmst_reg [10]int8
  2848. F__mmst_rsrv [6]int8
  2849. }
  2850. F__fpu_stmm6 struct {
  2851. F__mmst_reg [10]int8
  2852. F__mmst_rsrv [6]int8
  2853. }
  2854. F__fpu_stmm7 struct {
  2855. F__mmst_reg [10]int8
  2856. F__mmst_rsrv [6]int8
  2857. }
  2858. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2859. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2860. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2861. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2862. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2863. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2864. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2865. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2866. F__fpu_rsrv4 [224]int8
  2867. F__fpu_reserved1 int32
  2868. }
  2869. } /* _mcontext.h:39:1 */
  2870. type X__darwin_mcontext_avx32 = struct {
  2871. F__es struct {
  2872. F__trapno X__uint16_t
  2873. F__cpu X__uint16_t
  2874. F__err X__uint32_t
  2875. F__faultvaddr X__uint32_t
  2876. }
  2877. F__ss struct {
  2878. F__eax uint32
  2879. F__ebx uint32
  2880. F__ecx uint32
  2881. F__edx uint32
  2882. F__edi uint32
  2883. F__esi uint32
  2884. F__ebp uint32
  2885. F__esp uint32
  2886. F__ss uint32
  2887. F__eflags uint32
  2888. F__eip uint32
  2889. F__cs uint32
  2890. F__ds uint32
  2891. F__es uint32
  2892. F__fs uint32
  2893. F__gs uint32
  2894. }
  2895. F__fs struct {
  2896. F__fpu_reserved [2]int32
  2897. F__fpu_fcw struct {
  2898. F__ccgo_pad1 [0]uint16
  2899. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2900. }
  2901. F__fpu_fsw struct {
  2902. F__ccgo_pad1 [0]uint16
  2903. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2904. }
  2905. F__fpu_ftw X__uint8_t
  2906. F__fpu_rsrv1 X__uint8_t
  2907. F__fpu_fop X__uint16_t
  2908. F__fpu_ip X__uint32_t
  2909. F__fpu_cs X__uint16_t
  2910. F__fpu_rsrv2 X__uint16_t
  2911. F__fpu_dp X__uint32_t
  2912. F__fpu_ds X__uint16_t
  2913. F__fpu_rsrv3 X__uint16_t
  2914. F__fpu_mxcsr X__uint32_t
  2915. F__fpu_mxcsrmask X__uint32_t
  2916. F__fpu_stmm0 struct {
  2917. F__mmst_reg [10]int8
  2918. F__mmst_rsrv [6]int8
  2919. }
  2920. F__fpu_stmm1 struct {
  2921. F__mmst_reg [10]int8
  2922. F__mmst_rsrv [6]int8
  2923. }
  2924. F__fpu_stmm2 struct {
  2925. F__mmst_reg [10]int8
  2926. F__mmst_rsrv [6]int8
  2927. }
  2928. F__fpu_stmm3 struct {
  2929. F__mmst_reg [10]int8
  2930. F__mmst_rsrv [6]int8
  2931. }
  2932. F__fpu_stmm4 struct {
  2933. F__mmst_reg [10]int8
  2934. F__mmst_rsrv [6]int8
  2935. }
  2936. F__fpu_stmm5 struct {
  2937. F__mmst_reg [10]int8
  2938. F__mmst_rsrv [6]int8
  2939. }
  2940. F__fpu_stmm6 struct {
  2941. F__mmst_reg [10]int8
  2942. F__mmst_rsrv [6]int8
  2943. }
  2944. F__fpu_stmm7 struct {
  2945. F__mmst_reg [10]int8
  2946. F__mmst_rsrv [6]int8
  2947. }
  2948. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2949. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2950. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2951. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2952. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2953. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2954. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2955. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2956. F__fpu_rsrv4 [224]int8
  2957. F__fpu_reserved1 int32
  2958. F__avx_reserved1 [64]int8
  2959. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  2960. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  2961. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  2962. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  2963. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  2964. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  2965. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  2966. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  2967. }
  2968. } /* _mcontext.h:47:1 */
  2969. type X__darwin_mcontext_avx512_32 = struct {
  2970. F__es struct {
  2971. F__trapno X__uint16_t
  2972. F__cpu X__uint16_t
  2973. F__err X__uint32_t
  2974. F__faultvaddr X__uint32_t
  2975. }
  2976. F__ss struct {
  2977. F__eax uint32
  2978. F__ebx uint32
  2979. F__ecx uint32
  2980. F__edx uint32
  2981. F__edi uint32
  2982. F__esi uint32
  2983. F__ebp uint32
  2984. F__esp uint32
  2985. F__ss uint32
  2986. F__eflags uint32
  2987. F__eip uint32
  2988. F__cs uint32
  2989. F__ds uint32
  2990. F__es uint32
  2991. F__fs uint32
  2992. F__gs uint32
  2993. }
  2994. F__fs struct {
  2995. F__fpu_reserved [2]int32
  2996. F__fpu_fcw struct {
  2997. F__ccgo_pad1 [0]uint16
  2998. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2999. }
  3000. F__fpu_fsw struct {
  3001. F__ccgo_pad1 [0]uint16
  3002. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3003. }
  3004. F__fpu_ftw X__uint8_t
  3005. F__fpu_rsrv1 X__uint8_t
  3006. F__fpu_fop X__uint16_t
  3007. F__fpu_ip X__uint32_t
  3008. F__fpu_cs X__uint16_t
  3009. F__fpu_rsrv2 X__uint16_t
  3010. F__fpu_dp X__uint32_t
  3011. F__fpu_ds X__uint16_t
  3012. F__fpu_rsrv3 X__uint16_t
  3013. F__fpu_mxcsr X__uint32_t
  3014. F__fpu_mxcsrmask X__uint32_t
  3015. F__fpu_stmm0 struct {
  3016. F__mmst_reg [10]int8
  3017. F__mmst_rsrv [6]int8
  3018. }
  3019. F__fpu_stmm1 struct {
  3020. F__mmst_reg [10]int8
  3021. F__mmst_rsrv [6]int8
  3022. }
  3023. F__fpu_stmm2 struct {
  3024. F__mmst_reg [10]int8
  3025. F__mmst_rsrv [6]int8
  3026. }
  3027. F__fpu_stmm3 struct {
  3028. F__mmst_reg [10]int8
  3029. F__mmst_rsrv [6]int8
  3030. }
  3031. F__fpu_stmm4 struct {
  3032. F__mmst_reg [10]int8
  3033. F__mmst_rsrv [6]int8
  3034. }
  3035. F__fpu_stmm5 struct {
  3036. F__mmst_reg [10]int8
  3037. F__mmst_rsrv [6]int8
  3038. }
  3039. F__fpu_stmm6 struct {
  3040. F__mmst_reg [10]int8
  3041. F__mmst_rsrv [6]int8
  3042. }
  3043. F__fpu_stmm7 struct {
  3044. F__mmst_reg [10]int8
  3045. F__mmst_rsrv [6]int8
  3046. }
  3047. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3048. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3049. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3050. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3051. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3052. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3053. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3054. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3055. F__fpu_rsrv4 [224]int8
  3056. F__fpu_reserved1 int32
  3057. F__avx_reserved1 [64]int8
  3058. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  3059. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  3060. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  3061. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  3062. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  3063. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  3064. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  3065. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  3066. F__fpu_k0 struct{ F__opmask_reg [8]int8 }
  3067. F__fpu_k1 struct{ F__opmask_reg [8]int8 }
  3068. F__fpu_k2 struct{ F__opmask_reg [8]int8 }
  3069. F__fpu_k3 struct{ F__opmask_reg [8]int8 }
  3070. F__fpu_k4 struct{ F__opmask_reg [8]int8 }
  3071. F__fpu_k5 struct{ F__opmask_reg [8]int8 }
  3072. F__fpu_k6 struct{ F__opmask_reg [8]int8 }
  3073. F__fpu_k7 struct{ F__opmask_reg [8]int8 }
  3074. F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 }
  3075. F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 }
  3076. F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 }
  3077. F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 }
  3078. F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 }
  3079. F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 }
  3080. F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 }
  3081. F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 }
  3082. }
  3083. } /* _mcontext.h:56:1 */
  3084. type X__darwin_mcontext64 = struct {
  3085. F__es struct {
  3086. F__trapno X__uint16_t
  3087. F__cpu X__uint16_t
  3088. F__err X__uint32_t
  3089. F__faultvaddr X__uint64_t
  3090. }
  3091. F__ss struct {
  3092. F__rax X__uint64_t
  3093. F__rbx X__uint64_t
  3094. F__rcx X__uint64_t
  3095. F__rdx X__uint64_t
  3096. F__rdi X__uint64_t
  3097. F__rsi X__uint64_t
  3098. F__rbp X__uint64_t
  3099. F__rsp X__uint64_t
  3100. F__r8 X__uint64_t
  3101. F__r9 X__uint64_t
  3102. F__r10 X__uint64_t
  3103. F__r11 X__uint64_t
  3104. F__r12 X__uint64_t
  3105. F__r13 X__uint64_t
  3106. F__r14 X__uint64_t
  3107. F__r15 X__uint64_t
  3108. F__rip X__uint64_t
  3109. F__rflags X__uint64_t
  3110. F__cs X__uint64_t
  3111. F__fs X__uint64_t
  3112. F__gs X__uint64_t
  3113. }
  3114. F__fs struct {
  3115. F__fpu_reserved [2]int32
  3116. F__fpu_fcw struct {
  3117. F__ccgo_pad1 [0]uint16
  3118. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3119. }
  3120. F__fpu_fsw struct {
  3121. F__ccgo_pad1 [0]uint16
  3122. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3123. }
  3124. F__fpu_ftw X__uint8_t
  3125. F__fpu_rsrv1 X__uint8_t
  3126. F__fpu_fop X__uint16_t
  3127. F__fpu_ip X__uint32_t
  3128. F__fpu_cs X__uint16_t
  3129. F__fpu_rsrv2 X__uint16_t
  3130. F__fpu_dp X__uint32_t
  3131. F__fpu_ds X__uint16_t
  3132. F__fpu_rsrv3 X__uint16_t
  3133. F__fpu_mxcsr X__uint32_t
  3134. F__fpu_mxcsrmask X__uint32_t
  3135. F__fpu_stmm0 struct {
  3136. F__mmst_reg [10]int8
  3137. F__mmst_rsrv [6]int8
  3138. }
  3139. F__fpu_stmm1 struct {
  3140. F__mmst_reg [10]int8
  3141. F__mmst_rsrv [6]int8
  3142. }
  3143. F__fpu_stmm2 struct {
  3144. F__mmst_reg [10]int8
  3145. F__mmst_rsrv [6]int8
  3146. }
  3147. F__fpu_stmm3 struct {
  3148. F__mmst_reg [10]int8
  3149. F__mmst_rsrv [6]int8
  3150. }
  3151. F__fpu_stmm4 struct {
  3152. F__mmst_reg [10]int8
  3153. F__mmst_rsrv [6]int8
  3154. }
  3155. F__fpu_stmm5 struct {
  3156. F__mmst_reg [10]int8
  3157. F__mmst_rsrv [6]int8
  3158. }
  3159. F__fpu_stmm6 struct {
  3160. F__mmst_reg [10]int8
  3161. F__mmst_rsrv [6]int8
  3162. }
  3163. F__fpu_stmm7 struct {
  3164. F__mmst_reg [10]int8
  3165. F__mmst_rsrv [6]int8
  3166. }
  3167. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3168. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3169. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3170. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3171. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3172. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3173. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3174. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3175. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3176. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3177. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3178. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3179. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3180. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3181. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3182. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3183. F__fpu_rsrv4 [96]int8
  3184. F__fpu_reserved1 int32
  3185. }
  3186. F__ccgo_pad1 [4]byte
  3187. } /* _mcontext.h:97:1 */
  3188. type X__darwin_mcontext64_full = struct {
  3189. F__es struct {
  3190. F__trapno X__uint16_t
  3191. F__cpu X__uint16_t
  3192. F__err X__uint32_t
  3193. F__faultvaddr X__uint64_t
  3194. }
  3195. F__ss struct {
  3196. F__ss64 struct {
  3197. F__rax X__uint64_t
  3198. F__rbx X__uint64_t
  3199. F__rcx X__uint64_t
  3200. F__rdx X__uint64_t
  3201. F__rdi X__uint64_t
  3202. F__rsi X__uint64_t
  3203. F__rbp X__uint64_t
  3204. F__rsp X__uint64_t
  3205. F__r8 X__uint64_t
  3206. F__r9 X__uint64_t
  3207. F__r10 X__uint64_t
  3208. F__r11 X__uint64_t
  3209. F__r12 X__uint64_t
  3210. F__r13 X__uint64_t
  3211. F__r14 X__uint64_t
  3212. F__r15 X__uint64_t
  3213. F__rip X__uint64_t
  3214. F__rflags X__uint64_t
  3215. F__cs X__uint64_t
  3216. F__fs X__uint64_t
  3217. F__gs X__uint64_t
  3218. }
  3219. F__ds X__uint64_t
  3220. F__es X__uint64_t
  3221. F__ss X__uint64_t
  3222. F__gsbase X__uint64_t
  3223. }
  3224. F__fs struct {
  3225. F__fpu_reserved [2]int32
  3226. F__fpu_fcw struct {
  3227. F__ccgo_pad1 [0]uint16
  3228. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3229. }
  3230. F__fpu_fsw struct {
  3231. F__ccgo_pad1 [0]uint16
  3232. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3233. }
  3234. F__fpu_ftw X__uint8_t
  3235. F__fpu_rsrv1 X__uint8_t
  3236. F__fpu_fop X__uint16_t
  3237. F__fpu_ip X__uint32_t
  3238. F__fpu_cs X__uint16_t
  3239. F__fpu_rsrv2 X__uint16_t
  3240. F__fpu_dp X__uint32_t
  3241. F__fpu_ds X__uint16_t
  3242. F__fpu_rsrv3 X__uint16_t
  3243. F__fpu_mxcsr X__uint32_t
  3244. F__fpu_mxcsrmask X__uint32_t
  3245. F__fpu_stmm0 struct {
  3246. F__mmst_reg [10]int8
  3247. F__mmst_rsrv [6]int8
  3248. }
  3249. F__fpu_stmm1 struct {
  3250. F__mmst_reg [10]int8
  3251. F__mmst_rsrv [6]int8
  3252. }
  3253. F__fpu_stmm2 struct {
  3254. F__mmst_reg [10]int8
  3255. F__mmst_rsrv [6]int8
  3256. }
  3257. F__fpu_stmm3 struct {
  3258. F__mmst_reg [10]int8
  3259. F__mmst_rsrv [6]int8
  3260. }
  3261. F__fpu_stmm4 struct {
  3262. F__mmst_reg [10]int8
  3263. F__mmst_rsrv [6]int8
  3264. }
  3265. F__fpu_stmm5 struct {
  3266. F__mmst_reg [10]int8
  3267. F__mmst_rsrv [6]int8
  3268. }
  3269. F__fpu_stmm6 struct {
  3270. F__mmst_reg [10]int8
  3271. F__mmst_rsrv [6]int8
  3272. }
  3273. F__fpu_stmm7 struct {
  3274. F__mmst_reg [10]int8
  3275. F__mmst_rsrv [6]int8
  3276. }
  3277. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3278. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3279. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3280. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3281. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3282. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3283. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3284. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3285. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3286. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3287. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3288. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3289. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3290. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3291. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3292. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3293. F__fpu_rsrv4 [96]int8
  3294. F__fpu_reserved1 int32
  3295. }
  3296. F__ccgo_pad1 [4]byte
  3297. } /* _mcontext.h:105:1 */
  3298. type X__darwin_mcontext_avx64 = struct {
  3299. F__es struct {
  3300. F__trapno X__uint16_t
  3301. F__cpu X__uint16_t
  3302. F__err X__uint32_t
  3303. F__faultvaddr X__uint64_t
  3304. }
  3305. F__ss struct {
  3306. F__rax X__uint64_t
  3307. F__rbx X__uint64_t
  3308. F__rcx X__uint64_t
  3309. F__rdx X__uint64_t
  3310. F__rdi X__uint64_t
  3311. F__rsi X__uint64_t
  3312. F__rbp X__uint64_t
  3313. F__rsp X__uint64_t
  3314. F__r8 X__uint64_t
  3315. F__r9 X__uint64_t
  3316. F__r10 X__uint64_t
  3317. F__r11 X__uint64_t
  3318. F__r12 X__uint64_t
  3319. F__r13 X__uint64_t
  3320. F__r14 X__uint64_t
  3321. F__r15 X__uint64_t
  3322. F__rip X__uint64_t
  3323. F__rflags X__uint64_t
  3324. F__cs X__uint64_t
  3325. F__fs X__uint64_t
  3326. F__gs X__uint64_t
  3327. }
  3328. F__fs struct {
  3329. F__fpu_reserved [2]int32
  3330. F__fpu_fcw struct {
  3331. F__ccgo_pad1 [0]uint16
  3332. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3333. }
  3334. F__fpu_fsw struct {
  3335. F__ccgo_pad1 [0]uint16
  3336. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3337. }
  3338. F__fpu_ftw X__uint8_t
  3339. F__fpu_rsrv1 X__uint8_t
  3340. F__fpu_fop X__uint16_t
  3341. F__fpu_ip X__uint32_t
  3342. F__fpu_cs X__uint16_t
  3343. F__fpu_rsrv2 X__uint16_t
  3344. F__fpu_dp X__uint32_t
  3345. F__fpu_ds X__uint16_t
  3346. F__fpu_rsrv3 X__uint16_t
  3347. F__fpu_mxcsr X__uint32_t
  3348. F__fpu_mxcsrmask X__uint32_t
  3349. F__fpu_stmm0 struct {
  3350. F__mmst_reg [10]int8
  3351. F__mmst_rsrv [6]int8
  3352. }
  3353. F__fpu_stmm1 struct {
  3354. F__mmst_reg [10]int8
  3355. F__mmst_rsrv [6]int8
  3356. }
  3357. F__fpu_stmm2 struct {
  3358. F__mmst_reg [10]int8
  3359. F__mmst_rsrv [6]int8
  3360. }
  3361. F__fpu_stmm3 struct {
  3362. F__mmst_reg [10]int8
  3363. F__mmst_rsrv [6]int8
  3364. }
  3365. F__fpu_stmm4 struct {
  3366. F__mmst_reg [10]int8
  3367. F__mmst_rsrv [6]int8
  3368. }
  3369. F__fpu_stmm5 struct {
  3370. F__mmst_reg [10]int8
  3371. F__mmst_rsrv [6]int8
  3372. }
  3373. F__fpu_stmm6 struct {
  3374. F__mmst_reg [10]int8
  3375. F__mmst_rsrv [6]int8
  3376. }
  3377. F__fpu_stmm7 struct {
  3378. F__mmst_reg [10]int8
  3379. F__mmst_rsrv [6]int8
  3380. }
  3381. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3382. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3383. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3384. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3385. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3386. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3387. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3388. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3389. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3390. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3391. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3392. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3393. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3394. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3395. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3396. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3397. F__fpu_rsrv4 [96]int8
  3398. F__fpu_reserved1 int32
  3399. F__avx_reserved1 [64]int8
  3400. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  3401. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  3402. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  3403. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  3404. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  3405. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  3406. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  3407. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  3408. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  3409. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  3410. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  3411. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  3412. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  3413. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  3414. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  3415. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  3416. }
  3417. F__ccgo_pad1 [4]byte
  3418. } /* _mcontext.h:113:1 */
  3419. type X__darwin_mcontext_avx64_full = struct {
  3420. F__es struct {
  3421. F__trapno X__uint16_t
  3422. F__cpu X__uint16_t
  3423. F__err X__uint32_t
  3424. F__faultvaddr X__uint64_t
  3425. }
  3426. F__ss struct {
  3427. F__ss64 struct {
  3428. F__rax X__uint64_t
  3429. F__rbx X__uint64_t
  3430. F__rcx X__uint64_t
  3431. F__rdx X__uint64_t
  3432. F__rdi X__uint64_t
  3433. F__rsi X__uint64_t
  3434. F__rbp X__uint64_t
  3435. F__rsp X__uint64_t
  3436. F__r8 X__uint64_t
  3437. F__r9 X__uint64_t
  3438. F__r10 X__uint64_t
  3439. F__r11 X__uint64_t
  3440. F__r12 X__uint64_t
  3441. F__r13 X__uint64_t
  3442. F__r14 X__uint64_t
  3443. F__r15 X__uint64_t
  3444. F__rip X__uint64_t
  3445. F__rflags X__uint64_t
  3446. F__cs X__uint64_t
  3447. F__fs X__uint64_t
  3448. F__gs X__uint64_t
  3449. }
  3450. F__ds X__uint64_t
  3451. F__es X__uint64_t
  3452. F__ss X__uint64_t
  3453. F__gsbase X__uint64_t
  3454. }
  3455. F__fs struct {
  3456. F__fpu_reserved [2]int32
  3457. F__fpu_fcw struct {
  3458. F__ccgo_pad1 [0]uint16
  3459. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3460. }
  3461. F__fpu_fsw struct {
  3462. F__ccgo_pad1 [0]uint16
  3463. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3464. }
  3465. F__fpu_ftw X__uint8_t
  3466. F__fpu_rsrv1 X__uint8_t
  3467. F__fpu_fop X__uint16_t
  3468. F__fpu_ip X__uint32_t
  3469. F__fpu_cs X__uint16_t
  3470. F__fpu_rsrv2 X__uint16_t
  3471. F__fpu_dp X__uint32_t
  3472. F__fpu_ds X__uint16_t
  3473. F__fpu_rsrv3 X__uint16_t
  3474. F__fpu_mxcsr X__uint32_t
  3475. F__fpu_mxcsrmask X__uint32_t
  3476. F__fpu_stmm0 struct {
  3477. F__mmst_reg [10]int8
  3478. F__mmst_rsrv [6]int8
  3479. }
  3480. F__fpu_stmm1 struct {
  3481. F__mmst_reg [10]int8
  3482. F__mmst_rsrv [6]int8
  3483. }
  3484. F__fpu_stmm2 struct {
  3485. F__mmst_reg [10]int8
  3486. F__mmst_rsrv [6]int8
  3487. }
  3488. F__fpu_stmm3 struct {
  3489. F__mmst_reg [10]int8
  3490. F__mmst_rsrv [6]int8
  3491. }
  3492. F__fpu_stmm4 struct {
  3493. F__mmst_reg [10]int8
  3494. F__mmst_rsrv [6]int8
  3495. }
  3496. F__fpu_stmm5 struct {
  3497. F__mmst_reg [10]int8
  3498. F__mmst_rsrv [6]int8
  3499. }
  3500. F__fpu_stmm6 struct {
  3501. F__mmst_reg [10]int8
  3502. F__mmst_rsrv [6]int8
  3503. }
  3504. F__fpu_stmm7 struct {
  3505. F__mmst_reg [10]int8
  3506. F__mmst_rsrv [6]int8
  3507. }
  3508. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3509. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3510. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3511. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3512. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3513. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3514. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3515. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3516. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3517. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3518. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3519. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3520. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3521. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3522. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3523. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3524. F__fpu_rsrv4 [96]int8
  3525. F__fpu_reserved1 int32
  3526. F__avx_reserved1 [64]int8
  3527. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  3528. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  3529. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  3530. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  3531. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  3532. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  3533. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  3534. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  3535. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  3536. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  3537. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  3538. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  3539. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  3540. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  3541. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  3542. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  3543. }
  3544. F__ccgo_pad1 [4]byte
  3545. } /* _mcontext.h:121:1 */
  3546. type X__darwin_mcontext_avx512_64 = struct {
  3547. F__es struct {
  3548. F__trapno X__uint16_t
  3549. F__cpu X__uint16_t
  3550. F__err X__uint32_t
  3551. F__faultvaddr X__uint64_t
  3552. }
  3553. F__ss struct {
  3554. F__rax X__uint64_t
  3555. F__rbx X__uint64_t
  3556. F__rcx X__uint64_t
  3557. F__rdx X__uint64_t
  3558. F__rdi X__uint64_t
  3559. F__rsi X__uint64_t
  3560. F__rbp X__uint64_t
  3561. F__rsp X__uint64_t
  3562. F__r8 X__uint64_t
  3563. F__r9 X__uint64_t
  3564. F__r10 X__uint64_t
  3565. F__r11 X__uint64_t
  3566. F__r12 X__uint64_t
  3567. F__r13 X__uint64_t
  3568. F__r14 X__uint64_t
  3569. F__r15 X__uint64_t
  3570. F__rip X__uint64_t
  3571. F__rflags X__uint64_t
  3572. F__cs X__uint64_t
  3573. F__fs X__uint64_t
  3574. F__gs X__uint64_t
  3575. }
  3576. F__fs struct {
  3577. F__fpu_reserved [2]int32
  3578. F__fpu_fcw struct {
  3579. F__ccgo_pad1 [0]uint16
  3580. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3581. }
  3582. F__fpu_fsw struct {
  3583. F__ccgo_pad1 [0]uint16
  3584. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3585. }
  3586. F__fpu_ftw X__uint8_t
  3587. F__fpu_rsrv1 X__uint8_t
  3588. F__fpu_fop X__uint16_t
  3589. F__fpu_ip X__uint32_t
  3590. F__fpu_cs X__uint16_t
  3591. F__fpu_rsrv2 X__uint16_t
  3592. F__fpu_dp X__uint32_t
  3593. F__fpu_ds X__uint16_t
  3594. F__fpu_rsrv3 X__uint16_t
  3595. F__fpu_mxcsr X__uint32_t
  3596. F__fpu_mxcsrmask X__uint32_t
  3597. F__fpu_stmm0 struct {
  3598. F__mmst_reg [10]int8
  3599. F__mmst_rsrv [6]int8
  3600. }
  3601. F__fpu_stmm1 struct {
  3602. F__mmst_reg [10]int8
  3603. F__mmst_rsrv [6]int8
  3604. }
  3605. F__fpu_stmm2 struct {
  3606. F__mmst_reg [10]int8
  3607. F__mmst_rsrv [6]int8
  3608. }
  3609. F__fpu_stmm3 struct {
  3610. F__mmst_reg [10]int8
  3611. F__mmst_rsrv [6]int8
  3612. }
  3613. F__fpu_stmm4 struct {
  3614. F__mmst_reg [10]int8
  3615. F__mmst_rsrv [6]int8
  3616. }
  3617. F__fpu_stmm5 struct {
  3618. F__mmst_reg [10]int8
  3619. F__mmst_rsrv [6]int8
  3620. }
  3621. F__fpu_stmm6 struct {
  3622. F__mmst_reg [10]int8
  3623. F__mmst_rsrv [6]int8
  3624. }
  3625. F__fpu_stmm7 struct {
  3626. F__mmst_reg [10]int8
  3627. F__mmst_rsrv [6]int8
  3628. }
  3629. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3630. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3631. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3632. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3633. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3634. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3635. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3636. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3637. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3638. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3639. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3640. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3641. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3642. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3643. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3644. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3645. F__fpu_rsrv4 [96]int8
  3646. F__fpu_reserved1 int32
  3647. F__avx_reserved1 [64]int8
  3648. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  3649. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  3650. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  3651. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  3652. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  3653. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  3654. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  3655. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  3656. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  3657. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  3658. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  3659. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  3660. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  3661. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  3662. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  3663. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  3664. F__fpu_k0 struct{ F__opmask_reg [8]int8 }
  3665. F__fpu_k1 struct{ F__opmask_reg [8]int8 }
  3666. F__fpu_k2 struct{ F__opmask_reg [8]int8 }
  3667. F__fpu_k3 struct{ F__opmask_reg [8]int8 }
  3668. F__fpu_k4 struct{ F__opmask_reg [8]int8 }
  3669. F__fpu_k5 struct{ F__opmask_reg [8]int8 }
  3670. F__fpu_k6 struct{ F__opmask_reg [8]int8 }
  3671. F__fpu_k7 struct{ F__opmask_reg [8]int8 }
  3672. F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 }
  3673. F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 }
  3674. F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 }
  3675. F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 }
  3676. F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 }
  3677. F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 }
  3678. F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 }
  3679. F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 }
  3680. F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 }
  3681. F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 }
  3682. F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 }
  3683. F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 }
  3684. F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 }
  3685. F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 }
  3686. F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 }
  3687. F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 }
  3688. F__fpu_zmm16 struct{ F__zmm_reg [64]int8 }
  3689. F__fpu_zmm17 struct{ F__zmm_reg [64]int8 }
  3690. F__fpu_zmm18 struct{ F__zmm_reg [64]int8 }
  3691. F__fpu_zmm19 struct{ F__zmm_reg [64]int8 }
  3692. F__fpu_zmm20 struct{ F__zmm_reg [64]int8 }
  3693. F__fpu_zmm21 struct{ F__zmm_reg [64]int8 }
  3694. F__fpu_zmm22 struct{ F__zmm_reg [64]int8 }
  3695. F__fpu_zmm23 struct{ F__zmm_reg [64]int8 }
  3696. F__fpu_zmm24 struct{ F__zmm_reg [64]int8 }
  3697. F__fpu_zmm25 struct{ F__zmm_reg [64]int8 }
  3698. F__fpu_zmm26 struct{ F__zmm_reg [64]int8 }
  3699. F__fpu_zmm27 struct{ F__zmm_reg [64]int8 }
  3700. F__fpu_zmm28 struct{ F__zmm_reg [64]int8 }
  3701. F__fpu_zmm29 struct{ F__zmm_reg [64]int8 }
  3702. F__fpu_zmm30 struct{ F__zmm_reg [64]int8 }
  3703. F__fpu_zmm31 struct{ F__zmm_reg [64]int8 }
  3704. }
  3705. F__ccgo_pad1 [4]byte
  3706. } /* _mcontext.h:130:1 */
  3707. type X__darwin_mcontext_avx512_64_full = struct {
  3708. F__es struct {
  3709. F__trapno X__uint16_t
  3710. F__cpu X__uint16_t
  3711. F__err X__uint32_t
  3712. F__faultvaddr X__uint64_t
  3713. }
  3714. F__ss struct {
  3715. F__ss64 struct {
  3716. F__rax X__uint64_t
  3717. F__rbx X__uint64_t
  3718. F__rcx X__uint64_t
  3719. F__rdx X__uint64_t
  3720. F__rdi X__uint64_t
  3721. F__rsi X__uint64_t
  3722. F__rbp X__uint64_t
  3723. F__rsp X__uint64_t
  3724. F__r8 X__uint64_t
  3725. F__r9 X__uint64_t
  3726. F__r10 X__uint64_t
  3727. F__r11 X__uint64_t
  3728. F__r12 X__uint64_t
  3729. F__r13 X__uint64_t
  3730. F__r14 X__uint64_t
  3731. F__r15 X__uint64_t
  3732. F__rip X__uint64_t
  3733. F__rflags X__uint64_t
  3734. F__cs X__uint64_t
  3735. F__fs X__uint64_t
  3736. F__gs X__uint64_t
  3737. }
  3738. F__ds X__uint64_t
  3739. F__es X__uint64_t
  3740. F__ss X__uint64_t
  3741. F__gsbase X__uint64_t
  3742. }
  3743. F__fs struct {
  3744. F__fpu_reserved [2]int32
  3745. F__fpu_fcw struct {
  3746. F__ccgo_pad1 [0]uint16
  3747. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3748. }
  3749. F__fpu_fsw struct {
  3750. F__ccgo_pad1 [0]uint16
  3751. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3752. }
  3753. F__fpu_ftw X__uint8_t
  3754. F__fpu_rsrv1 X__uint8_t
  3755. F__fpu_fop X__uint16_t
  3756. F__fpu_ip X__uint32_t
  3757. F__fpu_cs X__uint16_t
  3758. F__fpu_rsrv2 X__uint16_t
  3759. F__fpu_dp X__uint32_t
  3760. F__fpu_ds X__uint16_t
  3761. F__fpu_rsrv3 X__uint16_t
  3762. F__fpu_mxcsr X__uint32_t
  3763. F__fpu_mxcsrmask X__uint32_t
  3764. F__fpu_stmm0 struct {
  3765. F__mmst_reg [10]int8
  3766. F__mmst_rsrv [6]int8
  3767. }
  3768. F__fpu_stmm1 struct {
  3769. F__mmst_reg [10]int8
  3770. F__mmst_rsrv [6]int8
  3771. }
  3772. F__fpu_stmm2 struct {
  3773. F__mmst_reg [10]int8
  3774. F__mmst_rsrv [6]int8
  3775. }
  3776. F__fpu_stmm3 struct {
  3777. F__mmst_reg [10]int8
  3778. F__mmst_rsrv [6]int8
  3779. }
  3780. F__fpu_stmm4 struct {
  3781. F__mmst_reg [10]int8
  3782. F__mmst_rsrv [6]int8
  3783. }
  3784. F__fpu_stmm5 struct {
  3785. F__mmst_reg [10]int8
  3786. F__mmst_rsrv [6]int8
  3787. }
  3788. F__fpu_stmm6 struct {
  3789. F__mmst_reg [10]int8
  3790. F__mmst_rsrv [6]int8
  3791. }
  3792. F__fpu_stmm7 struct {
  3793. F__mmst_reg [10]int8
  3794. F__mmst_rsrv [6]int8
  3795. }
  3796. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3797. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3798. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3799. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3800. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3801. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3802. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3803. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3804. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3805. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3806. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3807. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3808. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3809. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3810. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3811. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3812. F__fpu_rsrv4 [96]int8
  3813. F__fpu_reserved1 int32
  3814. F__avx_reserved1 [64]int8
  3815. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  3816. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  3817. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  3818. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  3819. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  3820. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  3821. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  3822. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  3823. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  3824. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  3825. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  3826. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  3827. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  3828. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  3829. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  3830. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  3831. F__fpu_k0 struct{ F__opmask_reg [8]int8 }
  3832. F__fpu_k1 struct{ F__opmask_reg [8]int8 }
  3833. F__fpu_k2 struct{ F__opmask_reg [8]int8 }
  3834. F__fpu_k3 struct{ F__opmask_reg [8]int8 }
  3835. F__fpu_k4 struct{ F__opmask_reg [8]int8 }
  3836. F__fpu_k5 struct{ F__opmask_reg [8]int8 }
  3837. F__fpu_k6 struct{ F__opmask_reg [8]int8 }
  3838. F__fpu_k7 struct{ F__opmask_reg [8]int8 }
  3839. F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 }
  3840. F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 }
  3841. F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 }
  3842. F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 }
  3843. F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 }
  3844. F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 }
  3845. F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 }
  3846. F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 }
  3847. F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 }
  3848. F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 }
  3849. F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 }
  3850. F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 }
  3851. F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 }
  3852. F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 }
  3853. F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 }
  3854. F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 }
  3855. F__fpu_zmm16 struct{ F__zmm_reg [64]int8 }
  3856. F__fpu_zmm17 struct{ F__zmm_reg [64]int8 }
  3857. F__fpu_zmm18 struct{ F__zmm_reg [64]int8 }
  3858. F__fpu_zmm19 struct{ F__zmm_reg [64]int8 }
  3859. F__fpu_zmm20 struct{ F__zmm_reg [64]int8 }
  3860. F__fpu_zmm21 struct{ F__zmm_reg [64]int8 }
  3861. F__fpu_zmm22 struct{ F__zmm_reg [64]int8 }
  3862. F__fpu_zmm23 struct{ F__zmm_reg [64]int8 }
  3863. F__fpu_zmm24 struct{ F__zmm_reg [64]int8 }
  3864. F__fpu_zmm25 struct{ F__zmm_reg [64]int8 }
  3865. F__fpu_zmm26 struct{ F__zmm_reg [64]int8 }
  3866. F__fpu_zmm27 struct{ F__zmm_reg [64]int8 }
  3867. F__fpu_zmm28 struct{ F__zmm_reg [64]int8 }
  3868. F__fpu_zmm29 struct{ F__zmm_reg [64]int8 }
  3869. F__fpu_zmm30 struct{ F__zmm_reg [64]int8 }
  3870. F__fpu_zmm31 struct{ F__zmm_reg [64]int8 }
  3871. }
  3872. F__ccgo_pad1 [4]byte
  3873. } /* _mcontext.h:138:1 */
  3874. type Mcontext_t = uintptr /* _mcontext.h:204:33 */
  3875. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3876. //
  3877. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3878. //
  3879. // This file contains Original Code and/or Modifications of Original Code
  3880. // as defined in and that are subject to the Apple Public Source License
  3881. // Version 2.0 (the 'License'). You may not use this file except in
  3882. // compliance with the License. The rights granted to you under the License
  3883. // may not be used to create, or enable the creation or redistribution of,
  3884. // unlawful or unlicensed copies of an Apple operating system, or to
  3885. // circumvent, violate, or enable the circumvention or violation of, any
  3886. // terms of an Apple operating system software license agreement.
  3887. //
  3888. // Please obtain a copy of the License at
  3889. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3890. //
  3891. // The Original Code and all software distributed under the License are
  3892. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3893. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3894. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3895. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3896. // Please see the License for the specific language governing rights and
  3897. // limitations under the License.
  3898. //
  3899. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3900. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3901. //
  3902. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3903. //
  3904. // This file contains Original Code and/or Modifications of Original Code
  3905. // as defined in and that are subject to the Apple Public Source License
  3906. // Version 2.0 (the 'License'). You may not use this file except in
  3907. // compliance with the License. The rights granted to you under the License
  3908. // may not be used to create, or enable the creation or redistribution of,
  3909. // unlawful or unlicensed copies of an Apple operating system, or to
  3910. // circumvent, violate, or enable the circumvention or violation of, any
  3911. // terms of an Apple operating system software license agreement.
  3912. //
  3913. // Please obtain a copy of the License at
  3914. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3915. //
  3916. // The Original Code and all software distributed under the License are
  3917. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3918. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3919. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3920. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3921. // Please see the License for the specific language governing rights and
  3922. // limitations under the License.
  3923. //
  3924. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3925. type Pthread_attr_t = X__darwin_pthread_attr_t /* _pthread_attr_t.h:31:33 */
  3926. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3927. //
  3928. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3929. //
  3930. // This file contains Original Code and/or Modifications of Original Code
  3931. // as defined in and that are subject to the Apple Public Source License
  3932. // Version 2.0 (the 'License'). You may not use this file except in
  3933. // compliance with the License. The rights granted to you under the License
  3934. // may not be used to create, or enable the creation or redistribution of,
  3935. // unlawful or unlicensed copies of an Apple operating system, or to
  3936. // circumvent, violate, or enable the circumvention or violation of, any
  3937. // terms of an Apple operating system software license agreement.
  3938. //
  3939. // Please obtain a copy of the License at
  3940. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3941. //
  3942. // The Original Code and all software distributed under the License are
  3943. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3944. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3945. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3946. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3947. // Please see the License for the specific language governing rights and
  3948. // limitations under the License.
  3949. //
  3950. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3951. // Structure used in sigaltstack call.
  3952. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  3953. //
  3954. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3955. //
  3956. // This file contains Original Code and/or Modifications of Original Code
  3957. // as defined in and that are subject to the Apple Public Source License
  3958. // Version 2.0 (the 'License'). You may not use this file except in
  3959. // compliance with the License. The rights granted to you under the License
  3960. // may not be used to create, or enable the creation or redistribution of,
  3961. // unlawful or unlicensed copies of an Apple operating system, or to
  3962. // circumvent, violate, or enable the circumvention or violation of, any
  3963. // terms of an Apple operating system software license agreement.
  3964. //
  3965. // Please obtain a copy of the License at
  3966. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3967. //
  3968. // The Original Code and all software distributed under the License are
  3969. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3970. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3971. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3972. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3973. // Please see the License for the specific language governing rights and
  3974. // limitations under the License.
  3975. //
  3976. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3977. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3978. // Copyright (c) 1991, 1993
  3979. // The Regents of the University of California. All rights reserved.
  3980. //
  3981. // This code is derived from software contributed to Berkeley by
  3982. // Berkeley Software Design, Inc.
  3983. //
  3984. // Redistribution and use in source and binary forms, with or without
  3985. // modification, are permitted provided that the following conditions
  3986. // are met:
  3987. // 1. Redistributions of source code must retain the above copyright
  3988. // notice, this list of conditions and the following disclaimer.
  3989. // 2. Redistributions in binary form must reproduce the above copyright
  3990. // notice, this list of conditions and the following disclaimer in the
  3991. // documentation and/or other materials provided with the distribution.
  3992. // 3. All advertising materials mentioning features or use of this software
  3993. // must display the following acknowledgement:
  3994. // This product includes software developed by the University of
  3995. // California, Berkeley and its contributors.
  3996. // 4. Neither the name of the University nor the names of its contributors
  3997. // may be used to endorse or promote products derived from this software
  3998. // without specific prior written permission.
  3999. //
  4000. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4001. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4002. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4003. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4004. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4005. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4006. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4007. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4008. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4009. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4010. // SUCH DAMAGE.
  4011. //
  4012. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  4013. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4014. //
  4015. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4016. //
  4017. // This file contains Original Code and/or Modifications of Original Code
  4018. // as defined in and that are subject to the Apple Public Source License
  4019. // Version 2.0 (the 'License'). You may not use this file except in
  4020. // compliance with the License. The rights granted to you under the License
  4021. // may not be used to create, or enable the creation or redistribution of,
  4022. // unlawful or unlicensed copies of an Apple operating system, or to
  4023. // circumvent, violate, or enable the circumvention or violation of, any
  4024. // terms of an Apple operating system software license agreement.
  4025. //
  4026. // Please obtain a copy of the License at
  4027. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4028. //
  4029. // The Original Code and all software distributed under the License are
  4030. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4031. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4032. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4033. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4034. // Please see the License for the specific language governing rights and
  4035. // limitations under the License.
  4036. //
  4037. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4038. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4039. type X__darwin_sigaltstack = struct {
  4040. Fss_sp uintptr
  4041. Fss_size X__darwin_size_t
  4042. Fss_flags int32
  4043. F__ccgo_pad1 [4]byte
  4044. } /* _sigaltstack.h:42:1 */
  4045. type Stack_t = X__darwin_sigaltstack /* _sigaltstack.h:48:33 */ // [???] signal stack
  4046. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4047. //
  4048. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4049. //
  4050. // This file contains Original Code and/or Modifications of Original Code
  4051. // as defined in and that are subject to the Apple Public Source License
  4052. // Version 2.0 (the 'License'). You may not use this file except in
  4053. // compliance with the License. The rights granted to you under the License
  4054. // may not be used to create, or enable the creation or redistribution of,
  4055. // unlawful or unlicensed copies of an Apple operating system, or to
  4056. // circumvent, violate, or enable the circumvention or violation of, any
  4057. // terms of an Apple operating system software license agreement.
  4058. //
  4059. // Please obtain a copy of the License at
  4060. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4061. //
  4062. // The Original Code and all software distributed under the License are
  4063. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4064. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4065. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4066. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4067. // Please see the License for the specific language governing rights and
  4068. // limitations under the License.
  4069. //
  4070. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4071. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4072. //
  4073. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4074. //
  4075. // This file contains Original Code and/or Modifications of Original Code
  4076. // as defined in and that are subject to the Apple Public Source License
  4077. // Version 2.0 (the 'License'). You may not use this file except in
  4078. // compliance with the License. The rights granted to you under the License
  4079. // may not be used to create, or enable the creation or redistribution of,
  4080. // unlawful or unlicensed copies of an Apple operating system, or to
  4081. // circumvent, violate, or enable the circumvention or violation of, any
  4082. // terms of an Apple operating system software license agreement.
  4083. //
  4084. // Please obtain a copy of the License at
  4085. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4086. //
  4087. // The Original Code and all software distributed under the License are
  4088. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4089. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4090. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4091. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4092. // Please see the License for the specific language governing rights and
  4093. // limitations under the License.
  4094. //
  4095. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4096. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4097. // Copyright (c) 1991, 1993
  4098. // The Regents of the University of California. All rights reserved.
  4099. //
  4100. // This code is derived from software contributed to Berkeley by
  4101. // Berkeley Software Design, Inc.
  4102. //
  4103. // Redistribution and use in source and binary forms, with or without
  4104. // modification, are permitted provided that the following conditions
  4105. // are met:
  4106. // 1. Redistributions of source code must retain the above copyright
  4107. // notice, this list of conditions and the following disclaimer.
  4108. // 2. Redistributions in binary form must reproduce the above copyright
  4109. // notice, this list of conditions and the following disclaimer in the
  4110. // documentation and/or other materials provided with the distribution.
  4111. // 3. All advertising materials mentioning features or use of this software
  4112. // must display the following acknowledgement:
  4113. // This product includes software developed by the University of
  4114. // California, Berkeley and its contributors.
  4115. // 4. Neither the name of the University nor the names of its contributors
  4116. // may be used to endorse or promote products derived from this software
  4117. // without specific prior written permission.
  4118. //
  4119. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4120. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4121. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4122. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4123. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4124. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4125. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4126. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4127. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4128. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4129. // SUCH DAMAGE.
  4130. //
  4131. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  4132. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4133. //
  4134. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4135. //
  4136. // This file contains Original Code and/or Modifications of Original Code
  4137. // as defined in and that are subject to the Apple Public Source License
  4138. // Version 2.0 (the 'License'). You may not use this file except in
  4139. // compliance with the License. The rights granted to you under the License
  4140. // may not be used to create, or enable the creation or redistribution of,
  4141. // unlawful or unlicensed copies of an Apple operating system, or to
  4142. // circumvent, violate, or enable the circumvention or violation of, any
  4143. // terms of an Apple operating system software license agreement.
  4144. //
  4145. // Please obtain a copy of the License at
  4146. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4147. //
  4148. // The Original Code and all software distributed under the License are
  4149. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4150. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4151. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4152. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4153. // Please see the License for the specific language governing rights and
  4154. // limitations under the License.
  4155. //
  4156. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4157. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4158. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4159. //
  4160. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4161. //
  4162. // This file contains Original Code and/or Modifications of Original Code
  4163. // as defined in and that are subject to the Apple Public Source License
  4164. // Version 2.0 (the 'License'). You may not use this file except in
  4165. // compliance with the License. The rights granted to you under the License
  4166. // may not be used to create, or enable the creation or redistribution of,
  4167. // unlawful or unlicensed copies of an Apple operating system, or to
  4168. // circumvent, violate, or enable the circumvention or violation of, any
  4169. // terms of an Apple operating system software license agreement.
  4170. //
  4171. // Please obtain a copy of the License at
  4172. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4173. //
  4174. // The Original Code and all software distributed under the License are
  4175. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4176. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4177. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4178. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4179. // Please see the License for the specific language governing rights and
  4180. // limitations under the License.
  4181. //
  4182. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4183. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4184. //
  4185. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4186. //
  4187. // This file contains Original Code and/or Modifications of Original Code
  4188. // as defined in and that are subject to the Apple Public Source License
  4189. // Version 2.0 (the 'License'). You may not use this file except in
  4190. // compliance with the License. The rights granted to you under the License
  4191. // may not be used to create, or enable the creation or redistribution of,
  4192. // unlawful or unlicensed copies of an Apple operating system, or to
  4193. // circumvent, violate, or enable the circumvention or violation of, any
  4194. // terms of an Apple operating system software license agreement.
  4195. //
  4196. // Please obtain a copy of the License at
  4197. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4198. //
  4199. // The Original Code and all software distributed under the License are
  4200. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4201. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4202. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4203. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4204. // Please see the License for the specific language governing rights and
  4205. // limitations under the License.
  4206. //
  4207. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4208. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4209. //
  4210. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4211. //
  4212. // This file contains Original Code and/or Modifications of Original Code
  4213. // as defined in and that are subject to the Apple Public Source License
  4214. // Version 2.0 (the 'License'). You may not use this file except in
  4215. // compliance with the License. The rights granted to you under the License
  4216. // may not be used to create, or enable the creation or redistribution of,
  4217. // unlawful or unlicensed copies of an Apple operating system, or to
  4218. // circumvent, violate, or enable the circumvention or violation of, any
  4219. // terms of an Apple operating system software license agreement.
  4220. //
  4221. // Please obtain a copy of the License at
  4222. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4223. //
  4224. // The Original Code and all software distributed under the License are
  4225. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4226. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4227. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4228. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4229. // Please see the License for the specific language governing rights and
  4230. // limitations under the License.
  4231. //
  4232. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4233. type X__darwin_ucontext = struct {
  4234. Fuc_onstack int32
  4235. Fuc_sigmask X__darwin_sigset_t
  4236. Fuc_stack struct {
  4237. Fss_sp uintptr
  4238. Fss_size X__darwin_size_t
  4239. Fss_flags int32
  4240. F__ccgo_pad1 [4]byte
  4241. }
  4242. Fuc_link uintptr
  4243. Fuc_mcsize X__darwin_size_t
  4244. Fuc_mcontext uintptr
  4245. } /* _ucontext.h:42:1 */
  4246. // user context
  4247. type Ucontext_t = X__darwin_ucontext /* _ucontext.h:56:33 */ // [???] user context
  4248. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4249. //
  4250. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4251. //
  4252. // This file contains Original Code and/or Modifications of Original Code
  4253. // as defined in and that are subject to the Apple Public Source License
  4254. // Version 2.0 (the 'License'). You may not use this file except in
  4255. // compliance with the License. The rights granted to you under the License
  4256. // may not be used to create, or enable the creation or redistribution of,
  4257. // unlawful or unlicensed copies of an Apple operating system, or to
  4258. // circumvent, violate, or enable the circumvention or violation of, any
  4259. // terms of an Apple operating system software license agreement.
  4260. //
  4261. // Please obtain a copy of the License at
  4262. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4263. //
  4264. // The Original Code and all software distributed under the License are
  4265. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4266. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4267. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4268. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4269. // Please see the License for the specific language governing rights and
  4270. // limitations under the License.
  4271. //
  4272. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4273. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4274. //
  4275. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4276. //
  4277. // This file contains Original Code and/or Modifications of Original Code
  4278. // as defined in and that are subject to the Apple Public Source License
  4279. // Version 2.0 (the 'License'). You may not use this file except in
  4280. // compliance with the License. The rights granted to you under the License
  4281. // may not be used to create, or enable the creation or redistribution of,
  4282. // unlawful or unlicensed copies of an Apple operating system, or to
  4283. // circumvent, violate, or enable the circumvention or violation of, any
  4284. // terms of an Apple operating system software license agreement.
  4285. //
  4286. // Please obtain a copy of the License at
  4287. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4288. //
  4289. // The Original Code and all software distributed under the License are
  4290. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4291. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4292. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4293. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4294. // Please see the License for the specific language governing rights and
  4295. // limitations under the License.
  4296. //
  4297. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4298. type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */
  4299. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4300. //
  4301. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4302. //
  4303. // This file contains Original Code and/or Modifications of Original Code
  4304. // as defined in and that are subject to the Apple Public Source License
  4305. // Version 2.0 (the 'License'). You may not use this file except in
  4306. // compliance with the License. The rights granted to you under the License
  4307. // may not be used to create, or enable the creation or redistribution of,
  4308. // unlawful or unlicensed copies of an Apple operating system, or to
  4309. // circumvent, violate, or enable the circumvention or violation of, any
  4310. // terms of an Apple operating system software license agreement.
  4311. //
  4312. // Please obtain a copy of the License at
  4313. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4314. //
  4315. // The Original Code and all software distributed under the License are
  4316. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4317. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4318. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4319. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4320. // Please see the License for the specific language governing rights and
  4321. // limitations under the License.
  4322. //
  4323. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4324. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4325. //
  4326. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4327. //
  4328. // This file contains Original Code and/or Modifications of Original Code
  4329. // as defined in and that are subject to the Apple Public Source License
  4330. // Version 2.0 (the 'License'). You may not use this file except in
  4331. // compliance with the License. The rights granted to you under the License
  4332. // may not be used to create, or enable the creation or redistribution of,
  4333. // unlawful or unlicensed copies of an Apple operating system, or to
  4334. // circumvent, violate, or enable the circumvention or violation of, any
  4335. // terms of an Apple operating system software license agreement.
  4336. //
  4337. // Please obtain a copy of the License at
  4338. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4339. //
  4340. // The Original Code and all software distributed under the License are
  4341. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4342. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4343. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4344. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4345. // Please see the License for the specific language governing rights and
  4346. // limitations under the License.
  4347. //
  4348. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4349. type Sigset_t = X__darwin_sigset_t /* _sigset_t.h:31:41 */
  4350. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4351. //
  4352. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4353. //
  4354. // This file contains Original Code and/or Modifications of Original Code
  4355. // as defined in and that are subject to the Apple Public Source License
  4356. // Version 2.0 (the 'License'). You may not use this file except in
  4357. // compliance with the License. The rights granted to you under the License
  4358. // may not be used to create, or enable the creation or redistribution of,
  4359. // unlawful or unlicensed copies of an Apple operating system, or to
  4360. // circumvent, violate, or enable the circumvention or violation of, any
  4361. // terms of an Apple operating system software license agreement.
  4362. //
  4363. // Please obtain a copy of the License at
  4364. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4365. //
  4366. // The Original Code and all software distributed under the License are
  4367. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4368. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4369. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4370. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4371. // Please see the License for the specific language governing rights and
  4372. // limitations under the License.
  4373. //
  4374. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4375. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4376. //
  4377. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4378. //
  4379. // This file contains Original Code and/or Modifications of Original Code
  4380. // as defined in and that are subject to the Apple Public Source License
  4381. // Version 2.0 (the 'License'). You may not use this file except in
  4382. // compliance with the License. The rights granted to you under the License
  4383. // may not be used to create, or enable the creation or redistribution of,
  4384. // unlawful or unlicensed copies of an Apple operating system, or to
  4385. // circumvent, violate, or enable the circumvention or violation of, any
  4386. // terms of an Apple operating system software license agreement.
  4387. //
  4388. // Please obtain a copy of the License at
  4389. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4390. //
  4391. // The Original Code and all software distributed under the License are
  4392. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4393. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4394. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4395. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4396. // Please see the License for the specific language governing rights and
  4397. // limitations under the License.
  4398. //
  4399. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4400. type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
  4401. type Sigval = struct {
  4402. F__ccgo_pad1 [0]uint64
  4403. Fsival_int int32
  4404. F__ccgo_pad2 [4]byte
  4405. } /* signal.h:158:1 */
  4406. type Sigevent = struct {
  4407. Fsigev_notify int32
  4408. Fsigev_signo int32
  4409. Fsigev_value struct {
  4410. F__ccgo_pad1 [0]uint64
  4411. Fsival_int int32
  4412. F__ccgo_pad2 [4]byte
  4413. }
  4414. Fsigev_notify_function uintptr
  4415. Fsigev_notify_attributes uintptr
  4416. } /* signal.h:168:1 */
  4417. type X__siginfo = struct {
  4418. Fsi_signo int32
  4419. Fsi_errno int32
  4420. Fsi_code int32
  4421. Fsi_pid Pid_t
  4422. Fsi_uid Uid_t
  4423. Fsi_status int32
  4424. Fsi_addr uintptr
  4425. Fsi_value struct {
  4426. F__ccgo_pad1 [0]uint64
  4427. Fsival_int int32
  4428. F__ccgo_pad2 [4]byte
  4429. }
  4430. Fsi_band int64
  4431. F__pad [7]uint64
  4432. } /* signal.h:177:9 */
  4433. type Siginfo_t = X__siginfo /* signal.h:188:3 */
  4434. // When the signal is SIGILL or SIGFPE, si_addr contains the address of
  4435. // the faulting instruction.
  4436. // When the signal is SIGSEGV or SIGBUS, si_addr contains the address of
  4437. // the faulting memory reference. Although for x86 there are cases of SIGSEGV
  4438. // for which si_addr cannot be determined and is NULL.
  4439. // If the signal is SIGCHLD, the si_pid field will contain the child process ID,
  4440. // si_status contains the exit value or signal and
  4441. // si_uid contains the real user ID of the process that sent the signal.
  4442. // Values for si_code
  4443. // Codes for SIGILL
  4444. // Codes for SIGFPE
  4445. // Codes for SIGSEGV
  4446. // Codes for SIGBUS
  4447. // Codes for SIGTRAP
  4448. // Codes for SIGCHLD
  4449. // Codes for SIGPOLL
  4450. // union for signal handlers
  4451. type X__sigaction_u = struct{ F__sa_handler uintptr } /* signal.h:269:1 */
  4452. // Signal vector template for Kernel user boundary
  4453. type X__sigaction = struct {
  4454. F__sigaction_u struct{ F__sa_handler uintptr }
  4455. Fsa_tramp uintptr
  4456. Fsa_mask Sigset_t
  4457. Fsa_flags int32
  4458. } /* signal.h:276:1 */
  4459. // Signal vector "template" used in sigaction call.
  4460. type Sigaction = struct {
  4461. F__sigaction_u struct{ F__sa_handler uintptr }
  4462. Fsa_mask Sigset_t
  4463. Fsa_flags int32
  4464. } /* signal.h:286:1 */
  4465. // if SA_SIGINFO is set, sa_sigaction is to be used instead of sa_handler.
  4466. // This will provide 64bit register set in a 32bit user address space
  4467. // the following are the only bits we support from user space, the
  4468. // rest are for kernel use only.
  4469. // Flags for sigprocmask:
  4470. // POSIX 1003.1b required values.
  4471. type Sig_t = uintptr /* signal.h:331:14 */ // type of signal function
  4472. // Structure used in sigaltstack call.
  4473. // 4.3 compatibility:
  4474. // Signal vector "template" used in sigvec call.
  4475. type Sigvec = struct {
  4476. Fsv_handler uintptr
  4477. Fsv_mask int32
  4478. Fsv_flags int32
  4479. } /* signal.h:348:1 */
  4480. // Structure used in sigstack call.
  4481. type Sigstack = struct {
  4482. Fss_sp uintptr
  4483. Fss_onstack int32
  4484. F__ccgo_pad1 [4]byte
  4485. } /* signal.h:367:1 */
  4486. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4487. //
  4488. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4489. //
  4490. // This file contains Original Code and/or Modifications of Original Code
  4491. // as defined in and that are subject to the Apple Public Source License
  4492. // Version 2.0 (the 'License'). You may not use this file except in
  4493. // compliance with the License. The rights granted to you under the License
  4494. // may not be used to create, or enable the creation or redistribution of,
  4495. // unlawful or unlicensed copies of an Apple operating system, or to
  4496. // circumvent, violate, or enable the circumvention or violation of, any
  4497. // terms of an Apple operating system software license agreement.
  4498. //
  4499. // Please obtain a copy of the License at
  4500. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4501. //
  4502. // The Original Code and all software distributed under the License are
  4503. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4504. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4505. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4506. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4507. // Please see the License for the specific language governing rights and
  4508. // limitations under the License.
  4509. //
  4510. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4511. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4512. //
  4513. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4514. //
  4515. // This file contains Original Code and/or Modifications of Original Code
  4516. // as defined in and that are subject to the Apple Public Source License
  4517. // Version 2.0 (the 'License'). You may not use this file except in
  4518. // compliance with the License. The rights granted to you under the License
  4519. // may not be used to create, or enable the creation or redistribution of,
  4520. // unlawful or unlicensed copies of an Apple operating system, or to
  4521. // circumvent, violate, or enable the circumvention or violation of, any
  4522. // terms of an Apple operating system software license agreement.
  4523. //
  4524. // Please obtain a copy of the License at
  4525. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4526. //
  4527. // The Original Code and all software distributed under the License are
  4528. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4529. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4530. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4531. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4532. // Please see the License for the specific language governing rights and
  4533. // limitations under the License.
  4534. //
  4535. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4536. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4537. //
  4538. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4539. //
  4540. // This file contains Original Code and/or Modifications of Original Code
  4541. // as defined in and that are subject to the Apple Public Source License
  4542. // Version 2.0 (the 'License'). You may not use this file except in
  4543. // compliance with the License. The rights granted to you under the License
  4544. // may not be used to create, or enable the creation or redistribution of,
  4545. // unlawful or unlicensed copies of an Apple operating system, or to
  4546. // circumvent, violate, or enable the circumvention or violation of, any
  4547. // terms of an Apple operating system software license agreement.
  4548. //
  4549. // Please obtain a copy of the License at
  4550. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4551. //
  4552. // The Original Code and all software distributed under the License are
  4553. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4554. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4555. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4556. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4557. // Please see the License for the specific language governing rights and
  4558. // limitations under the License.
  4559. //
  4560. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4561. type Pthread_t = X__darwin_pthread_t /* _pthread_t.h:31:28 */
  4562. var _ int8 /* gen.c:2:13: */