/external/libsepol/tests/ |
H A D | test-common.c | 188 unsigned int i, j, new, found = 0; local 203 new = 0; 207 new = 1; 210 if (new == 0) { 213 CU_ASSERT(new == 1); 229 int j, new, found = 0; local 246 new = 0; 250 new = 1; 253 if (new == 0) { 256 CU_ASSERT(new [all...] |
/external/libvorbis/lib/ |
H A D | lsp.c | 317 double new=0.f,delta; local 325 ppp = new*ppp + pp; 326 pp = new*pp + p; 327 p = new*p + defl[i-1]; 344 new -= delta; 348 if(fabs(delta/new)<10e-12)break; 352 r[m-1]=new; 357 defl[i-1]+=new*defl[i];
|
/external/llvm/include/llvm/Support/ |
H A D | Allocator.h | 204 if (!CurPtr) // Start a new slab if we haven't allocated one already. 239 // Otherwise, start a new slab and try again. 303 /// \brief Allocate a new slab and move the bump pointers over into the new 408 void *operator new(size_t Size,
|
/external/llvm/lib/Support/ |
H A D | MemoryBuffer.cpp | 28 #include <new> 72 void *operator new(size_t N, const NamedBufferAlloc &Alloc) { 73 char *Mem = static_cast<char *>(operator new(N + Alloc.Name.size() + 1)); 102 return new (NamedBufferAlloc(BufferName)) 118 /// getNewUninitMemBuffer - Allocate a new MemoryBuffer of the specified size 131 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); 141 return new (Mem) MemoryBufferMem(StringRef(Buf, Size), true); 144 /// getNewMemBuffer - Allocate a new MemoryBuffer of the specified size that 344 new (NamedBufferAlloc(Filename)) 353 // new(st [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_emulate_loops.c | 79 struct rc_instruction *new = rc_alloc_instruction(c); local 80 memcpy(new, ptr, sizeof(struct rc_instruction)); 81 rc_insert_instruction(append_to, new); 82 append_to = new;
|
H A D | radeon_variable.c | 279 struct rc_variable * new = local 281 memset(new, 0, sizeof(struct rc_variable)); 282 new->C = c; 283 new->Dst.File = DstFile; 284 new->Dst.Index = DstIndex; 285 new->Dst.WriteMask = DstWriteMask; 287 new->Inst = reader_data->Writer; 288 new->ReaderCount = reader_data->ReaderCount; 289 new->Readers = reader_data->Readers; 291 return new; [all...] |
/external/mesa3d/src/glsl/ |
H A D | ir_function_detect_recursion.cpp | 143 /* Callers of this ralloc-based new need not call delete. It's 145 static void* operator new(size_t size, void *ctx) 192 f = new(mem_ctx) function(sig); 225 call_node *node = new(mem_ctx) call_node; 231 node = new(mem_ctx) call_node;
|
H A D | list.h | 79 /* Callers of this ralloc-based new need not call delete. It's 81 static void* operator new(size_t size, void *ctx) 288 /* Callers of this ralloc-based new need not call delete. It's 290 static void* operator new(size_t size, void *ctx)
|
/external/mesa3d/src/glx/ |
H A D | indirect_glx.c | 162 indirect_unbind_context(struct glx_context *gc, struct glx_context *new) argument 168 if (gc == new) 175 if (!new || new->isDirect || new->psc->dpy != dpy) { 339 * \todo Eliminate \c __glXInitVertexArrayState. Replace it with a new 395 /* Fill in the new context */
|
/external/skia/include/core/ |
H A D | SkPostConfig.h | 100 # define SkNEW(type_name) (new type_name) 101 # define SkNEW_ARGS(type_name, args) (new type_name args) 102 # define SkNEW_ARRAY(type_name, count) (new type_name[(count)]) 103 # define SkNEW_PLACEMENT(buf, type_name) (new (buf) type_name) 104 # define SkNEW_PLACEMENT_ARGS(buf, type_name, args) (new (buf) type_name args) 262 void * operator new( 269 void * operator new[]( 284 # define DEBUG_CLIENTBLOCK new( _CLIENT_BLOCK, __FILE__, __LINE__, 0) 286 # define DEBUG_CLIENTBLOCK new( _CLIENT_BLOCK, __FILE__, __LINE__) 288 # define new DEBUG_CLIENTBLOC macro [all...] |
H A D | SkTArray.h | 11 #include <new> 52 template <typename T, bool MEM_COPY> void* operator new(size_t, SkTArray<T, MEM_COPY>*, int); 81 * Copies one array to another. The new array will be heap allocated. 88 * Creates a SkTArray by copying contents of a standard C array. The new 176 * Adds 1 new default-initialized T value and returns it by reference. Note 187 * Version of above that uses a copy constructor to initialize the new item 197 * the start of that new range. Note: this address is only valid until the 403 // the new objects. 445 friend void* operator new<T>(size_t, SkTArray*, int); 467 void* operator new(size_ [all...] |
/external/skia/include/gpu/ |
H A D | GrEffect.h | 26 * new draw operations separately from ownership within a deferred drawing queue. When the 31 * GrEffectRefs created by new are placed in a per-thread managed pool. The pool is destroyed when 46 void* operator new(size_t size); 49 void* operator new(size_t size, void* placement) { 50 return ::operator new(size, placement); 178 void* operator new(size_t size); 181 void* operator new(size_t size, void* placement) { 182 return ::operator new(size, placement);
|
/external/skia/tests/ |
H A D | GrMemoryPoolTest.cpp | 17 // A is the top of an inheritance tree of classes that overload op new and 31 void* operator new(size_t size) { 33 return ::operator new(size); 55 GrMemoryPool* pool = new GrMemoryPool(preallocSize, minAllocSize); 115 fB = new B(); 165 return new A; 167 return new B; 169 return new C; 171 return new D; 173 return new [all...] |
/external/srec/portable/src/ |
H A D | pmemory_ext.c | 39 void* operator new(size_t size) function 293 /* PSOSIM's license manager calls new() before PSOS is running */ 348 * This is useful for checking that each new has a corresponding delete once 358 /* PortMemGetCount() : return the accumulated new & delete counts */
|
/external/stlport/stlport/stl/config/ |
H A D | _evc.h | 114 // when using MFC, disable another placement new declaration, since there is one in wcealt.h 223 /* Workaround when using MFCCE and using <new> together: MFCCE's wcealt.h doesn't 224 * check for __PLACEMENT_NEW_INLINE before defining operator new, so when <new> 226 * "function 'void *__cdecl operator new(unsigned int,void *)' already has a body". 245 // evc3 has new, but no explicit header 295 // define placement new and delete operator 296 // note: when MFCCE headers are included first, don't define the new operator, 301 inline void *__cdecl operator new(size_t, void *_P) { return (_P); }
|
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | regcache.c | 227 Bool new; local 228 VG_(dmemcpy) (register_data_for_supply (n, 0, &new), 230 if (new) 236 Bool new; local 239 VG_(dmemcpy) (register_data_for_supply (n, 0, &new), 241 if (new)
|
/external/yaffs2/yaffs2/ |
H A D | devextras.h | 29 #define new newHack macro 70 * Insert a new entry between two known consecutive entries. 75 static __inline__ void __list_add(struct list_head *new, argument 79 next->prev = new; 80 new->next = next; 81 new->prev = prev; 82 prev->next = new; 86 * list_add - add a new entry 87 * @new: new entr 93 list_add(struct list_head *new, struct list_head *head) argument 106 list_add_tail(struct list_head *new, struct list_head *head) argument 266 #undef new macro [all...] |
/external/clang/test/SemaCXX/ |
H A D | dllexport.cpp | 207 __declspec(dllexport) void* operator new(__SIZE_TYPE__ n); 569 __declspec(dllexport) void* operator new(__SIZE_TYPE__); 570 __declspec(dllexport) void* operator new[](__SIZE_TYPE__); 574 void* ExportAlloc::operator new(__SIZE_TYPE__ n) { return malloc(n); } 575 void* ExportAlloc::operator new[](__SIZE_TYPE__ n) { return malloc(n); }
|
H A D | new-delete.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify %s -triple=i686-pc-linux-gnu -Wno-new-returns-null 14 // A special new, to verify that the global version isn't used. 15 void* operator new(size_t, S*); // expected-note {{candidate}} 24 inline void *operator new(size_t) { // no warning, due to __attribute__((used)) 29 void* operator new(const size_t); // expected-note 2 {{candidate}} 30 void* operator new(size_t, int*); // expected-note 3 {{candidate}} 31 void* operator new(size_t, float*); // expected-note 3 {{candidate}} 32 void* operator new(size_t, S); // expected-note 2 {{candidate}} 38 int *pi = new int; 39 float *pf = new (p [all...] |
/external/llvm/include/llvm/MC/ |
H A D | MCContext.h | 198 /// to process a new module 206 /// CreateLinkerPrivateTempSymbol - Create and return a new linker temporary 210 /// CreateTempSymbol - Create and return a new assembler temporary symbol 434 // operator new and delete aren't allowed inside namespaces. 436 /// @brief Placement new for using the MCContext's allocator. 438 /// This placement form of operator new uses the MCContext's allocator for 439 /// obtaining memory. It is a non-throwing new, which means that it returns 445 /// IntegerLiteral *Ex = new (Context) IntegerLiteral(arguments); 447 /// IntegerLiteral *Ex2 = new (Context, 8) IntegerLiteral(arguments); 458 inline void *operator new(size_ [all...] |
/external/bluetooth/bluedroid/main/ |
H A D | bte_main.c | 256 int new; local 264 new = (hci_logging_enabled == TRUE) || (hci_logging_config == TRUE); 266 if ((old == new) || bt_disabled || (bt_hc_if == NULL)) { 270 bt_hc_if->logging(new ? BT_HC_LOGGING_ON : BT_HC_LOGGING_OFF, hci_logfile, hci_save_log);
|
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
H A D | goobsdiff.c | 157 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize) argument 162 if(old[i]!=new[i]) break; 168 u_char *new,off_t newsize,off_t st,off_t en,off_t *pos) 173 x=matchlen(old+I[st],oldsize-I[st],new,newsize); 174 y=matchlen(old+I[en],oldsize-I[en],new,newsize); 186 if(memcmp(old+I[x],new,MIN(oldsize-I[x],newsize))<0) { 187 return search(I,old,oldsize,new,newsize,x,en,pos); 189 return search(I,old,oldsize,new,newsize,st,x,pos); 335 u_char *old,*new; local 371 ((new 167 search(off_t *I,u_char *old,off_t oldsize, u_char *new,off_t newsize,off_t st,off_t en,off_t *pos) argument [all...] |
/external/chromium_org/sandbox/win/src/ |
H A D | policy_engine_opcodes.h | 209 // Better define placement new in the class instead of relying on the 211 void* operator new(size_t, void* location) {
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | InlineBox.cpp | 67 void* InlineBox::operator new(size_t sz)
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | StringImpl.h | 121 void* operator new(size_t); 122 void* operator new(size_t, void* ptr) { return ptr; }; 560 // There can only be a start of a new line if there are more characters 574 // But, there's only a start of a new line if there are more
|