/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_new.py | 4 new = test_support.import_module('new', deprecated=True)
variable 12 m = new.module('Spam')
20 # new.classobj()
21 C = new.classobj('Spam', (Spam.Eggs,), {'get_more_yolks': get_more_yolks})
23 # new.instance()
24 c = new.instance(C, {'yolks': 3})
26 o = new.instance(C)
27 self.assertEqual(o.__dict__, {}, "new __dict__ should be empty")
29 o = new.instance(C, None) [all...] |
/external/autotest/cli/ |
atest_migrate_host | 9 new = frontend.AFE(web_server='http://' + sys.argv[2]) variable 24 new_host = new.create_host(hostname=hostname, locked=True) 30 if not new.get_labels(name=label.name): 32 new_label = new.create_label(name=label.name, 41 new_users = [user.login for user in new.get_users()] 45 new_acls = new.get_acls(name=acl.name) 49 new_acl = new.create_acl(name=acl.name, description=acl.description) 60 # Enable the new host
|
/external/capstone/ |
utils.c | 69 void *new = cs_mem_malloc(len); local 71 if (new == NULL) 74 return (char *)memmove(new, str, len);
|
/external/clang/test/Analysis/ |
new-with-exceptions.cpp | 9 // This is the standard placement new. 10 inline void* operator new(size_t, void* __p) throw() 16 void *operator new(size_t) throw(); 20 void *operator new(size_t) noexcept; 24 void *operator new(size_t); 28 void *operator new(size_t) throw(int); 32 clang_analyzer_eval(new NoThrow); // expected-warning{{UNKNOWN}} 33 clang_analyzer_eval(new NoExcept); // expected-warning{{UNKNOWN}} 35 clang_analyzer_eval(new DefaultThrow); // expected-warning{{TRUE}} 36 clang_analyzer_eval(new ExplicitThrow); // expected-warning{{TRUE} [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_allocator_internal.h | 63 inline void *operator new(__sanitizer::operator_new_size_type size,
|
/external/icu/icu4c/source/test/perf/perldriver/ |
Dataset.pm | 17 # Create a new Dataset with the given data. 18 sub new { subroutine 30 my $stats = Statistics::Descriptive::Full->new(); 73 # Divide two Datasets and return a new one, maintaining the 74 # mean+/-error. The new Dataset has no data points. 84 my $result = Dataset->new(); 91 # subtracts two Datasets and return a new one, maintaining the 92 # mean+/-error. The new Dataset has no data points. 97 my $result = Dataset->new(); 104 # adds two Datasets and return a new one, maintaining th [all...] |
/external/icu/icu4j/perf-tests/perldriver/ |
Dataset.pm | 15 # Create a new Dataset with the given data. 16 sub new { subroutine 28 my $stats = Statistics::Descriptive::Full->new(); 71 # Divide two Datasets and return a new one, maintaining the 72 # mean+/-error. The new Dataset has no data points. 82 my $result = Dataset->new(); 89 # subtracts two Datasets and return a new one, maintaining the 90 # mean+/-error. The new Dataset has no data points. 95 my $result = Dataset->new(); 102 # adds two Datasets and return a new one, maintaining th [all...] |
/external/ipsec-tools/src/racoon/ |
genlist.c | 44 struct genlist *new = calloc(sizeof(struct genlist), 1); local 45 TAILQ_INIT(new); 46 return new;
|
str2val.c | 55 caddr_t new; local 59 if ((new = racoon_malloc(len)) == 0) return(0); 62 snprintf(&new[j], len - j, "%02x", (u_char)buf[i]); 65 new[j++] = ' '; 66 new[j] = '\0'; 69 new[j] = '\0'; 71 return(new);
|
/external/libchrome/base/memory/ |
manual_constructor.h | 36 static void* operator new[](size_t size) { 58 new(space_.void_data()) Type(std::forward<Ts>(params)...);
|
/external/libnetfilter_conntrack/qa/ |
ct_events_reliable.c | 10 static int new, update, destroy; variable 17 new++; 24 printf("%d events received (%d new, %d update, %d destroy)\n", 25 events, new, update, destroy); 32 printf("%d events received (%d new, %d update, %d destroy)\n", 33 events, new, update, destroy);
|
/external/llvm/include/llvm/IR/ |
GlobalVariable.h | 36 void *operator new(size_t, unsigned) = delete; 49 void *operator new(size_t s) { 50 return User::operator new(s, 1);
|
/external/llvm/include/llvm/Support/ |
RecyclingAllocator.h | 63 inline void *operator new(size_t size,
|
/external/llvm/lib/MC/ |
MCSymbol.cpp | 25 void *MCSymbol::operator new(size_t s, const StringMapEntry<bool> *Name,
|
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/ |
shmdt01.c | 74 int new; variable
|
/external/lzma/CPP/Common/ |
NewHandler.cpp | 45 operator new(size_t size)
69 operator new[](size_t size)
101 void * __cdecl operator new(size_t size)
|
/external/python/cpython2/Lib/ |
hashlib.py | 9 new(name, string='') - returns a new hash object implementing the 14 than using new(): 20 to find out what algorithm names can be passed to new(). 58 # This tuple and __get_builtin_constructor() must be modified if a new 67 __all__ = __always_supported + ('new', 'algorithms_guaranteed', 76 return _sha.new 79 return _md5.new 113 """new(name, string='') - Return a new hashing object using the named algorithm 140 new = __py_new variable [all...] |
hmac.py | 31 """Create a new HMAC object. 36 A hashlib constructor returning a new hash object. 50 self.digest_cons = lambda d='': digestmod.new(d) 125 def new(key, msg = None, digestmod = None): function 126 """Create a new hashing object and return it.
|
/external/python/cpython2/Lib/test/ |
test_new.py | 4 new = test_support.import_module('new', deprecated=True) variable 12 m = new.module('Spam') 20 # new.classobj() 21 C = new.classobj('Spam', (Spam.Eggs,), {'get_more_yolks': get_more_yolks}) 23 # new.instance() 24 c = new.instance(C, {'yolks': 3}) 26 o = new.instance(C) 27 self.assertEqual(o.__dict__, {}, "new __dict__ should be empty") 29 o = new.instance(C, None [all...] |
/external/python/cpython3/Lib/ |
hashlib.py | 7 new(name, data=b'', **kwargs) - returns a new hash object implementing the 12 than using new(name): 19 to find out what algorithm names can be passed to new(). 56 # This tuple and __get_builtin_constructor() must be modified if a new 67 __all__ = __always_supported + ('new', 'algorithms_guaranteed', 132 """new(name, data=b'', **kwargs) - Return a new hashing object using the 139 """new(name, data=b'') - Return a new hashing object using the named algorithm 165 new = __py_new variable [all...] |
hmac.py | 27 """Create a new HMAC object. 32 A hashlib constructor returning a new hash object. *OR* 33 A hash name suitable for hashlib.new(). 52 self.digest_cons = lambda d=b'': _hashlib.new(digestmod, d) 54 self.digest_cons = lambda d=b'': digestmod.new(d) 133 def new(key, msg = None, digestmod = None): function 134 """Create a new hashing object and return it.
|
/external/skia/src/core/ |
SkColorLookUpTable.h | 35 void* operator new(size_t size) = delete; 36 void* operator new(size_t, void* p) { return p; }
|
/external/skia/src/gpu/ops/ |
GrOp.cpp | 49 void* GrOp::operator new(size_t size) {
|
/external/skqp/src/core/ |
SkColorLookUpTable.h | 35 void* operator new(size_t size) = delete; 36 void* operator new(size_t, void* p) { return p; }
|
/external/skqp/src/gpu/ops/ |
GrOp.cpp | 49 void* GrOp::operator new(size_t size) {
|