repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
waleedmashaqbeh/freequartz
CoreGraphics/CGContextDelegate.c
<reponame>waleedmashaqbeh/freequartz /* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
waleedmashaqbeh/freequartz
CoreFoundation/CFUUID.c
<filename>CoreFoundation/CFUUID.c /* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original Apple so...
waleedmashaqbeh/freequartz
CoreFoundation/dist/include/CoreFoundation/CFUnicodePrecomposition.h
/* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original Apple source release can be found by revie...
waleedmashaqbeh/freequartz
CoreFoundation/CFWindowsMessageQueue.c
<gh_stars>10-100 /* * Copyright (c) 2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file ex...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UIImageView.h
<reponame>waleedmashaqbeh/freequartz<gh_stars>10-100 #import <Foundation/Foundation.h> #import <UIKit/UIView.h> #import <UIKit/UIKitDefines.h> @class UIImage; UIKIT_EXTERN_CLASS @interface UIImageView : UIView { } - (id)initWithImage:(UIImage *)image; - (id)initWithImage:(UIImage *)image highlightedImage:(UIImage *)...
waleedmashaqbeh/freequartz
CoreGraphics/CGColor.c
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreGraphics/include/CoreGraphics/CGDirectDisplay.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreFoundation/include/CoreFoundation/CFCalendar.h
<gh_stars>10-100 /* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original Apple source release can ...
waleedmashaqbeh/freequartz
Foundation/include/Foundation/FoundationErrors.h
#import <Foundation/NSObject.h> enum { NSFileNoSuchFileError = 4, NSFileLockingError = 255, NSFileReadUnknownError = 256, NSFileReadNoPermissionError = 257, NSFileReadInvalidFileNameError = 258, NSFileReadCorruptFileError = 259, NSFileReadNoSuchFileError = 260, NSFileReadInapplicableStringEnco...
waleedmashaqbeh/freequartz
CoreFoundation/CFURL.c
<filename>CoreFoundation/CFURL.c /* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original Apple sou...
waleedmashaqbeh/freequartz
CoreFoundation/examples/CFMessagePort/client.c
#include <CoreFoundation/CoreFoundation.h> main() { CFMessagePortRef remote = CFMessagePortCreateRemote(NULL, CFSTR("MyPort")); char *message = "Hello, world!"; CFDataRef data, returnData = NULL; data = CFDataCreate(NULL, (const UInt8 *)message, strlen(message)+1); if (kCFMessagePortSuccess ==...
waleedmashaqbeh/freequartz
CoreFoundation/include/mach_support/vproc_priv.h
<filename>CoreFoundation/include/mach_support/vproc_priv.h<gh_stars>10-100 #ifndef _VPROC_PRIVATE_H_ #define _VPROC_PRIVATE_H_ /* * Copyright (c) 2006 Apple Computer, Inc. All rights reserved. * * @APPLE_APACHE_LICENSE_HEADER_START@ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may no...
waleedmashaqbeh/freequartz
CoreGraphics/modules/libRIP/RIP.h
<reponame>waleedmashaqbeh/freequartz /* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
waleedmashaqbeh/freequartz
CoreFoundation/examples/CFTest/source/main/stdafx.h
<gh_stars>10-100 /* Add local class declarations to this file. */ #ifndef _STDAFX #define _STDAFX #ifdef _CFTEST_ #ifdef __WIN32__ #include <MacTypes.h> #endif #endif #ifdef __MWERKS__ #include <afxwin.h> #endif #endif
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UIViewController.h
#import <Foundation/Foundation.h> #import <UIKit/UIKitDefines.h> #import <UIKit/UIApplication.h> @class UIView; @class UIBarButtonItem, UITabBarItem; @class UISearchDisplayController; typedef enum { UIModalTransitionStyleCoverVertical = 0, UIModalTransitionStyleFlipHorizontal, UIModalTransitionStyleCrossDisso...
waleedmashaqbeh/freequartz
CoreFoundation/dist/include/CoreFoundation/CFStreamInternal.h
/* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original Apple source release can be found by revie...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UIApplication.h
<reponame>waleedmashaqbeh/freequartz<filename>UIKit/include/UIKit/UIApplication.h #import <Foundation/Foundation.h> #import <CoreGraphics/CoreGraphics.h> #import <UIKit/UIKitDefines.h> #import <UIKit/UIResponder.h> #import <UIKit/UIInterface.h> #import <UIKit/UIDevice.h> #import <UIKit/UIAlert.h> typedef enum { U...
waleedmashaqbeh/freequartz
CoreGraphics/CGDefaultsPriv.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreGraphics/modules/libOGLES/libOGLES.c
<reponame>waleedmashaqbeh/freequartz<filename>CoreGraphics/modules/libOGLES/libOGLES.c /* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UITouch.h
#import <Foundation/Foundation.h> #import <CoreGraphics/CoreGraphics.h> #import <UIKit/UIKitDefines.h> @class UIView, UIWindow; typedef enum { UITouchPhaseBegan, UITouchPhaseMoved, UITouchPhaseStationary, UITouchPhaseEnded, UITouchPhaseCancelled, ...
waleedmashaqbeh/freequartz
CoreGraphics/modules/libCGR/libCGR.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
posix4win/include/stdbool.h
<filename>posix4win/include/stdbool.h /* * Copyright (c) 2007 Apple Inc. * All rights reserved. * */ #ifndef __STDBOOL_H__ #define __STDBOOL_H__ 1 #define __bool_true_false_are_defined 1 #ifndef __cplusplus #define false 0 #define true 1 #define bool _Bool #ifndef COCOTRON typedef unsigned char _Boo...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UISearchDisplayController.h
<filename>UIKit/include/UIKit/UISearchDisplayController.h #import <Foundation/Foundation.h> #import <UIKit/UIView.h> #import <UIKit/UIKitDefines.h> #import <UIKit/UILabel.h> @class UISearchBar, UITableView, UIViewController; @protocol UITableViewDataSource, UITableViewDelegate, UISearchDisplayDelegate; UIKIT_EXTERN_C...
waleedmashaqbeh/freequartz
CoreGraphics/include/CoreGraphics/CGGeometry.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreGraphics/CGRenderingState.c
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UINibLoading.h
<reponame>waleedmashaqbeh/freequartz #import <Foundation/Foundation.h> #import <UIKit/UIKitDefines.h> UIKIT_EXTERN NSString * const UINibExternalObjects; @interface NSBundle(UINibLoadingAdditions) - (NSArray *)loadNibNamed:(NSString *)name owner:(id)owner options:(NSDictionary *)options; @end @interface NSObject(UIN...
waleedmashaqbeh/freequartz
CoreGraphics/tests/TestCoreGraphics/DemoApp.h
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved // #pragma once //...
waleedmashaqbeh/freequartz
CoreGraphics/CGLibrary.c
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UITabBarController.h
#import <Foundation/Foundation.h> #import <UIKit/UIViewController.h> #import <UIKit/UIKitDefines.h> #import <UIKit/UITabBar.h> @class UIView, UIImage, UINavigationController, UITabBarItem; @protocol UITabBarControllerDelegate; UIKIT_EXTERN_CLASS @interface UITabBarController : UIViewController <UITabBarDelegate, NSCo...
waleedmashaqbeh/freequartz
CoreGraphics/modules/libRIP/RIPContext.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreFoundation/include/CoreFoundation/CFMachPort.h
<gh_stars>10-100 /* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original Apple source release can ...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UIWebView.h
#import <Foundation/Foundation.h> #import <UIKit/UIView.h> #import <UIKit/UIKitDefines.h> #import <UIKit/UIDataDetectors.h> enum { UIWebViewNavigationTypeLinkClicked, UIWebViewNavigationTypeFormSubmitted, UIWebViewNavigationTypeBackForward, UIWebViewNavigationTypeReload, UIWebViewNavigationTypeFor...
waleedmashaqbeh/freequartz
CoreGraphics/CGTypesPriv.c
<reponame>waleedmashaqbeh/freequartz /* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
waleedmashaqbeh/freequartz
CoreFoundation/dist/include/CoreFoundation/CFXMLInputStream.h
/* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original Apple source release can be found by revie...
waleedmashaqbeh/freequartz
CoreFoundation/CFVersion.c
/* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original Apple source release can be found by revie...
waleedmashaqbeh/freequartz
CoreFoundation/examples/CFLocalServer/Protocol.h
/* * Copyright (c) 2009 <NAME> <<EMAIL>> * All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the BSD-style license (see below). * * For information about changes from the original Apple source release can be found by re...
waleedmashaqbeh/freequartz
CoreGraphics/modules/libCGR/libCGR_cairo.c
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreGraphics/include/CoreGraphics/CGPDFObject.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreGraphics/modules/libRIP/RIPDevice.c
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreGraphics/include/CoreGraphics/CGPDFScanner.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreFoundation/CFStringEncodingConverter.c
<reponame>waleedmashaqbeh/freequartz /* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original Apple...
waleedmashaqbeh/freequartz
CoreFoundation/examples/CFLocalServer/Common.c
/* * Copyright (c) 2009 <NAME> <<EMAIL>> * Copyright (c) 2009 <NAME> <<EMAIL>> * All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the BSD-style license (see below). * * For information about changes from the origin...
waleedmashaqbeh/freequartz
CoreGraphics/include/CoreGraphics/CGPath.h
<reponame>waleedmashaqbeh/freequartz /* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UIBarButtonItem.h
#import <CoreGraphics/CoreGraphics.h> #import <Foundation/Foundation.h> #import <UIKit/UIBarItem.h> #import <UIKit/UIKitDefines.h> typedef enum { UIBarButtonItemStylePlain, UIBarButtonItemStyleBordered, UIBarButtonItemStyleDone, } UIBarButtonItemStyle; typedef enum { UIBarButtonSystemItemDone, ...
waleedmashaqbeh/freequartz
CoreFoundation/icu/unicode/uregex.h
<filename>CoreFoundation/icu/unicode/uregex.h /* ********************************************************************** * Copyright (C) 2004-2008, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * file name: re...
waleedmashaqbeh/freequartz
CoreFoundation/include/CoreFoundation/CFStorage.h
/* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original Apple source release can be found by revie...
waleedmashaqbeh/freequartz
CoreFoundation/tests/date_test.c
/* * date_test.c * CFLite * * A compilation of various examples from the "Date and Times Programming Guide for CoreFoundation". * * http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFDatesAndTimes/CFDatesAndTimes.html * */ #include <stdio.h> #include <CoreFoundation/CoreFoundation.h> bo...
waleedmashaqbeh/freequartz
CoreFoundation/CFDateFormatter.c
<filename>CoreFoundation/CFDateFormatter.c /* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see below). * * For information about changes from the original...
waleedmashaqbeh/freequartz
CoreGraphics/CGBlt.c
<filename>CoreGraphics/CGBlt.c /* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UITabBar.h
<reponame>waleedmashaqbeh/freequartz #import <Foundation/Foundation.h> #import <UIKit/UIKitDefines.h> #import <UIKit/UIView.h> @class UITabBarItem; @protocol UITabBarDelegate; UIKIT_EXTERN_CLASS @interface UITabBar : UIView { struct { } _uitabBarFlags; } - (BOOL)isCustomizing; - (void)beginCustomizi...
waleedmashaqbeh/freequartz
CoreGraphics/CGColorTransformBase.c
<reponame>waleedmashaqbeh/freequartz<filename>CoreGraphics/CGColorTransformBase.c /* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UIScreen.h
#import <Foundation/Foundation.h> #import <CoreGraphics/CoreGraphics.h> #import <UIKit/UIKitDefines.h> UIKIT_EXTERN_CLASS @interface UIScreen : NSObject { } + (UIScreen *)mainScreen; #ifdef OBJC2 @property(nonatomic,readonly) CGRect bounds; @property(nonatomic,readonly) CGRect applicationFrame; #else /* OBJC2 ...
waleedmashaqbeh/freequartz
posix4win/include/bits/utsname.h
#ifndef _SYS_UTSNAME_H # error "Never include <bits/utsname.h> directly; use <sys/utsname.h> instead." #endif /* Length of the entries in `struct utsname' is 65. */ #define _UTSNAME_LENGTH 65 /* Linux provides as additional information in the `struct utsname' the name of the current domain. Define _UTSNA...
waleedmashaqbeh/freequartz
CoreGraphics/include/CoreGraphics/CGPDFArray.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreFoundation/include/CoreFoundation/CFBase.h
<reponame>waleedmashaqbeh/freequartz /* * Copyright (c) 2008-2009 <NAME> <<EMAIL>>. All rights reserved. * Copyright (c) 2009 <NAME> <<EMAIL>>. All rights reserved. * * This source code is a modified version of the CoreFoundation sources released by Apple Inc. under * the terms of the APSL version 2.0 (see b...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UIImage.h
#import <Foundation/Foundation.h> #import <CoreGraphics/CoreGraphics.h> #import <UIKit/UIKitDefines.h> #import <UIKit/UIColor.h> typedef enum { UIImageOrientationUp, UIImageOrientationDown, UIImageOrientationLeft, UIImageOrientationRight, UIImageOrientationU...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UITextInputTraits.h
<reponame>waleedmashaqbeh/freequartz<filename>UIKit/include/UIKit/UITextInputTraits.h #import <Foundation/Foundation.h> typedef enum { UITextAutocapitalizationTypeNone, UITextAutocapitalizationTypeWords, UITextAutocapitalizationTypeSentences, UITextAutocapitalizationTypeAllCharacters, } UITextAutocapi...
waleedmashaqbeh/freequartz
CoreGraphics/CGDash.c
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreGraphics/CGDataProviderPriv.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreFoundation/examples/CFTest/source/shared/CFUtils.h
#ifndef _H_CFUtils #define _H_CFUtils #include <vector> #include <map> #include <CoreFoundation/CoreFoundation.h> #ifndef _CFTEST_ #include "XPlatConditionals.h" #endif #define loop(_n) for (long _indexS = 0, _maxS = (_n); _indexS < _maxS; _indexS++) #define loop2(_n) for (long _index2S = 0, _max2S = (_n); _...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UIControl.h
<gh_stars>10-100 #import <Foundation/Foundation.h> #import <UIKit/UIView.h> #import <UIKit/UIKitDefines.h> enum { UIControlEventTouchDown = 1 << 0, UIControlEventTouchDownRepeat = 1 << 1, UIControlEventTouchDragInside = 1 << 2, UIControlEventTouchDragOutside = 1 << ...
waleedmashaqbeh/freequartz
CoreGraphics/CGLibraryPriv.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreGraphics/CGPath.c
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreGraphics/CGStylePriv.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
ImageIO/include/ImageIO/ImageIO.h
<filename>ImageIO/include/ImageIO/ImageIO.h /**************************************************************************** ** ** Copyright (C) 2010 Smartmobili. ** All rights reserved. ** Contact: Smartmobili (<EMAIL>) ** ** This file is part of the ImageIO module of the freequartz Toolkit. ** ** ** GNU Lesser...
waleedmashaqbeh/freequartz
CoreFoundation/CFFileDescriptor.c
<reponame>waleedmashaqbeh/freequartz<filename>CoreFoundation/CFFileDescriptor.c /* * Copyright (c) 2009 <NAME>. All rights reserved. * * Created by <NAME> on 02/03/2009. * This source code is a reverse-engineered implementation of the notification center from * Apple's core foundation library. * * The PureFound...
waleedmashaqbeh/freequartz
CoreGraphics/include/CoreGraphics/CoreGraphics.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreGraphics/CGDirectDisplay.c
<reponame>waleedmashaqbeh/freequartz /* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
waleedmashaqbeh/freequartz
CoreGraphics/include/CoreGraphics/CGPDFDictionary.h
/* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
waleedmashaqbeh/freequartz
CoreFoundation/examples/CFRunLoopTimerExample/CFRunLoopTimerExample.c
<reponame>waleedmashaqbeh/freequartz<gh_stars>10-100 /* * Copyright (c) 2009 Nuovation System Designs, LLC * All rights reserved. * * Description: * This file implements a trivial CFRunLoopTimer example that * fires N timers every T[n] seconds for up to L seconds. */ /* * Copyright (c) 2003,...
waleedmashaqbeh/freequartz
CoreGraphics/CGColorSpace.c
<filename>CoreGraphics/CGColorSpace.c<gh_stars>10-100 /* Copyright 2010 Smartmobili SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/L...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UILocalizedIndexedCollation.h
#import <Foundation/Foundation.h> #import <UIKit/UIKitDefines.h> UIKIT_EXTERN_CLASS @interface UILocalizedIndexedCollation : NSObject { } + (id)currentCollation; - (NSInteger)sectionForSectionIndexTitleAtIndex:(NSInteger)indexTitleIndex; - (NSInteger)sectionForObject:(id)object collationStringSelector:(SEL)selector;...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UINavigationController.h
#import <Foundation/Foundation.h> #import <CoreGraphics/CoreGraphics.h> #import <UIKit/UIViewController.h> #import <UIKit/UIKitDefines.h> #import <UIKit/UIInterface.h> #import <UIKit/UIGeometry.h> UIKIT_EXTERN const CGFloat UINavigationControllerHideShowBarDuration; @class UIView, UINavigationBar, UINavigationItem,...
waleedmashaqbeh/freequartz
CoreFoundation/include/mach_support/bootstrap_priv.h
<gh_stars>10-100 #ifndef _BOOTSTRAP_PRIVATE_H_ #define _BOOTSTRAP_PRIVATE_H_ /* * Copyright (c) 2007 Apple Inc. All rights reserved. * * @APPLE_APACHE_LICENSE_HEADER_START@ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
waleedmashaqbeh/freequartz
UIKit/include/UIKit/UIPageControl.h
#import <Foundation/Foundation.h> #import <UIKit/UIControl.h> #import <UIKit/UIKitDefines.h> UIKIT_EXTERN_CLASS @interface UIPageControl : UIControl { struct { } _uipageControlFlags; } - (void)updateCurrentPageDisplay; - (CGSize)sizeForNumberOfPages:(NSInteger)pageCount; #i...
xbarin02/wt-compressor
libx.c
<filename>libx.c #include "libx.h" #include <assert.h> #include <stdint.h> enum { BIO_MODE_READ, BIO_MODE_WRITE }; struct bio { uint32_t *ptr; /* pointer to memory */ void *end; uint32_t b; /* bit buffer */ size_t c; /* bit counter */ }; static struct context { size_t freq[256]; /* char -> f...
xbarin02/wt-compressor
x.c
<reponame>xbarin02/wt-compressor #define _POSIX_C_SOURCE 2 #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <string.h> #include <libgen.h> #include <unistd.h> #include "libx.h" void fload(void *ptr, size_t size, FILE *stream) { if (fread(ptr, 1, size, stream) < size) { abort(...
xbarin02/wt-compressor
libx.h
#ifndef LIBX_H_ #define LIBX_H_ #include <stddef.h> void init(); void *compress(void *iptr, size_t isize, void *optr); void *decompress(void *iptr, size_t isize, void *optr); #endif /* LIBX_H_ */
ghsecuritylab/bk7231_rtt_sdk
samples/webnet/upload_upload.c
<filename>samples/webnet/upload_upload.c #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <rtthread.h> #include <webnet.h> #include <module.h> #include <dfs_posix.h> /** * upload file. */ static const char * sd_upload = "/webnet/SD"; static const char * upload_dir = "upload"...
ghsecuritylab/bk7231_rtt_sdk
beken378/driver/security/security.c
#include "sys_config.h" #if (CFG_SOC_NAME == SOC_BK7221U) #include "rtos_pub.h" #include "uart_pub.h" #include "arm_arch.h" #include "icu_pub.h" #include "intc_pub.h" #include "drv_model_pub.h" #include "security_pub.h" #include "security.h" static volatile unsigned long sgul_security_flag = 0; int security_aes_init...
ghsecuritylab/bk7231_rtt_sdk
beken378/func/user_driver/BkDriverFlash.c
/** ****************************************************************************** * @file BkDriverFlash.h * @brief This file provides all the headers of Flash operation functions. ****************************************************************************** * * The MIT License * Copyright (c) 2017 BEKEN...
ghsecuritylab/bk7231_rtt_sdk
rt-thread/src/memleak.h
#ifndef __MEMLEAK_H__ #define __MEMLEAK_H__ #include <stdlib.h> #include <stdio.h> #include "rtconfig.h" #ifdef MEM_LEAK_CHECK #define memleak_log rt_kprintf #define MAX_MEMLEAK_NUM 60 int list_memleak_insert(const char *thread, const char* function, void* mem, int size, int line); int list_memleak_dele...
ghsecuritylab/bk7231_rtt_sdk
rt-thread/components/lwp/lwp_mem.c
<filename>rt-thread/components/lwp/lwp_mem.c /* * File : lwp_mem.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2012, RT-Thread Development Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the F...
ghsecuritylab/bk7231_rtt_sdk
beken378/driver/pwm/bk_timer.c
#include "include.h" #include "arm_arch.h" #include "bk_timer_pub.h" #include "bk_timer.h" #include "drv_model_pub.h" #include "intc_pub.h" #include "icu_pub.h" #include "uart_pub.h" #if (CFG_SOC_NAME != SOC_BK7231) static SDD_OPERATIONS bk_timer_op = { bk_timer_ctrl }; void (*p_TIMER_Int_Handler[TIMER_CHANNEL_...
ghsecuritylab/bk7231_rtt_sdk
drivers/wlan/drv_wlan_fast_connect.h
<reponame>ghsecuritylab/bk7231_rtt_sdk #ifndef __DRV_WLAN_FAST_CONNECT_H__ #define __DRV_WLAN_FAST_CONNECT_H__ #define FLASH_FAST_DATA_ADDR (0x1FF000) struct wlan_fast_connect { unsigned char ssid[32]; unsigned char bssid[6]; unsigned char channel; unsigned char security; unsigned char psk[...
ghsecuritylab/bk7231_rtt_sdk
packages/webnet/module/module_log.c
<filename>packages/webnet/module/module_log.c /* * File : module_log.c * This file is part of RT-Thread RTOS/WebNet Server * COPYRIGHT (C) 2011, Shanghai Real-Thread Technology Co., Ltd * * All rights reserved. * * Change Logs: * Date Author Notes * 2011-08-02 Bernard the first ve...
ghsecuritylab/bk7231_rtt_sdk
beken378/func/power_save/mcu_ps.h
<reponame>ghsecuritylab/bk7231_rtt_sdk #ifndef _MCU_PS_H_ #define _MCU_PS_H_ //#define MCU_PS_DEBUG #ifdef MCU_PS_DEBUG #define MCU_PS_PRT os_printf #else #define MCU_PS_PRT os_null_printf #endif typedef struct { UINT32 first_tick; UINT32 prev_tick; UINT64 first_tsf; } M...
ghsecuritylab/bk7231_rtt_sdk
drivers/drv_sys_ctrl.c
#include <rthw.h> #include <rtthread.h> #include <rtdevice.h> #include "typedef.h" #include "drv_sys_ctrl.h" #include "sys_ctrl.h" struct _sys_ctrl_dev { struct rt_device parent; }; static struct _sys_ctrl_dev sys_ctrl_dev; static rt_err_t rt_sys_ctrl_control(rt_device_t dev, int cmd, void *args) { return s...
ghsecuritylab/bk7231_rtt_sdk
packages/webnet/webnet.c
<reponame>ghsecuritylab/bk7231_rtt_sdk<filename>packages/webnet/webnet.c /* * File : webnet.c * This file is part of RT-Thread RTOS/WebNet Server * COPYRIGHT (C) 2011, Shanghai Real-Thread Technology Co., Ltd * * All rights reserved. * * Change Logs: * Date Author Notes * 2011-08-02 Be...
ghsecuritylab/bk7231_rtt_sdk
packages/webnet/module.h
<reponame>ghsecuritylab/bk7231_rtt_sdk /* * File : module.h * This file is part of RT-Thread RTOS/WebNet Server * COPYRIGHT (C) 2011, Shanghai Real-Thread Technology Co., Ltd * * All rights reserved. * * Change Logs: * Date Author Notes * 2011-08-02 Bernard the first version * 20...
ghsecuritylab/bk7231_rtt_sdk
drivers/drv_icu.c
<filename>drivers/drv_icu.c<gh_stars>10-100 #include <rthw.h> #include <rtthread.h> #include <rtdevice.h> #include "typedef.h" #include "drv_icu.h" #include "icu.h" struct _icu_dev { struct rt_device parent; }; static struct _icu_dev icu_dev; static rt_err_t rt_icu_control(rt_device_t dev, int cmd, void *args) ...
ghsecuritylab/bk7231_rtt_sdk
packages/webclient/webclient_file.c
<gh_stars>10-100 #include <stdint.h> #include <stdlib.h> #include <rtthread.h> #include "webclient.h" #include "webclient_internal.h" #ifdef RT_USING_FINSH #include <finsh.h> #endif #ifdef RT_USING_DFS #include <dfs_posix.h> int webclient_get_file(const char* URI, const char* filename) { int fd = -1; size_t...
ghsecuritylab/bk7231_rtt_sdk
samples/webnet/cgi_helloworld.c
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <rtthread.h> #include <webnet.h> #include <module.h> void cgi_hello_handler(struct webnet_session* session) { const char* mimetype; static const char* status = "<html><head><title> SystemStatus </title>" ...
ghsecuritylab/bk7231_rtt_sdk
beken378/func/misc/fake_clock.c
#include "include.h" #include "fake_clock_pub.h" #include "pwm_pub.h" #include "icu_pub.h" #include "drv_model_pub.h" #include "uart_pub.h" #if CFG_SUPPORT_ALIOS #include "rtos_pub.h" #include "ll.h" #include "k_api.h" #else #include "sys_rtos.h" #include "arm_arch.h" #endif #include "power_save_pub.h" #if CFG_BK7221...
ghsecuritylab/bk7231_rtt_sdk
samples/webnet/cgi_mem.c
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <rtthread.h> #include <webnet.h> #include <module.h> extern void rt_memory_mem(rt_uint32_t *total,rt_uint32_t *used); void cgi_mem_handler(struct webnet_session* session) { webnet_session_printf(session, "cgi_mem_handler"); ...
ghsecuritylab/bk7231_rtt_sdk
packages/webnet/webnet.h
<gh_stars>10-100 /* * File : webnet.h * This file is part of RT-Thread RTOS/WebNet Server * COPYRIGHT (C) 2011, Shanghai Real-Thread Technology Co., Ltd * * All rights reserved. * * Change Logs: * Date Author Notes * 2011-08-02 Bernard the first version * * Release 1.0.3 * 2012...
ghsecuritylab/bk7231_rtt_sdk
drivers/psram.h
/** ************************************************************************************** * @file psram.h * @brief Driver API PSRAM * * @author Aixing.Li * @version V1.0.0 * * &copy; 2017 BEKEN Corporation Ltd. All rights reserved. ************************************************************************...
ghsecuritylab/bk7231_rtt_sdk
rt-thread/components/libc/libdl/dlfcn.h
<filename>rt-thread/components/libc/libdl/dlfcn.h #ifndef __DLFCN_H_ #define __DLFCN_H_ #define RTLD_LAZY 0x00000 #define RTLD_NOW 0x00001 #define RTLD_LOCAL 0x00000 #define RTLD_GLOBAL 0x10000 #define RTLD_DEFAULT ((void*)1) #define RTLD_NEXT ((void*)2) void *dlopen (const char *file...
ghsecuritylab/bk7231_rtt_sdk
rt-thread/components/drivers/ble/ble_cmd.h
<filename>rt-thread/components/drivers/ble/ble_cmd.h #ifndef _BLE_CMD_H_ #define _BLE_CMD_H_ #endif/*_BLE_CMD_H_*/
ghsecuritylab/bk7231_rtt_sdk
packages/mbedtls/examples/tls_app_test.c
<reponame>ghsecuritylab/bk7231_rtt_sdk<filename>packages/mbedtls/examples/tls_app_test.c /* * File : tls_app_test.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006 - 2018, RT-Thread Development Team * * This program is free software; you can redistribute it and/or modify * it under the terms of ...