/external/chromium_org/third_party/angle_dx11/src/compiler/ |
PoolAlloc.h | 45 TAllocation(size_t size, unsigned char* mem, TAllocation* prev = 0) : 46 size(size), mem(mem), prevAlloc(prev) { 81 unsigned char* preGuard() const { return mem + headerSize(); } 86 unsigned char* mem; // beginning of our allocation (pts to header) member in class:TAllocation
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
trietest.c | 822 int32_t mem[UTRIE_DUMMY_SIZE/4]; local 839 utrie_unserializeDummy(&trie, mem, sizeof(mem), initialValue, leadUnitValue, make16BitTrie, &errorCode);
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
toolutil.cpp | 219 UToolMemory *mem; local 225 mem=(UToolMemory *)uprv_malloc(sizeof(UToolMemory)+initialCapacity*size); 226 if(mem==NULL) { 230 mem->array=mem->staticArray; 232 uprv_strcpy(mem->name, name); 233 mem->capacity=initialCapacity; 234 mem->maxCapacity=maxCapacity; 235 mem->size=size; 236 mem->idx=0 [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
repair.cc | 200 MemTable* mem = new MemTable(icmp_); local 201 mem->Ref(); 210 status = WriteBatchInternal::InsertInto(&batch, mem); 226 Iterator* iter = mem->NewIterator(); 229 mem->Unref(); 230 mem = NULL;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
httpbase_unittest.cc | 72 HttpBaseTest() : mem(NULL), obtain_stream(false), http_stream(NULL) { } 120 MemoryStream* mem; member in class:talk_base::HttpBaseTest 150 mem = new MemoryStream; 151 data.document.reset(mem); 194 EXPECT_EQ(mem, data.document.get()); 197 mem->GetSize(&length); 199 EXPECT_TRUE(0 == memcmp(expected_data, mem->GetBuffer(), length)); 281 // Note: we could just call data.set_success("text/plain", mem), but that 283 mem = new MemoryStream(document_data); 284 data.document.reset(mem); [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
webpenc.c | 188 uint8_t* mem; local 224 mem = (uint8_t*)WebPSafeMalloc(size, sizeof(*mem)); 225 if (mem == NULL) { 229 enc = (VP8Encoder*)mem; 230 mem = (uint8_t*)DO_ALIGN(mem + sizeof(*enc)); 236 enc->yuv_in_ = (uint8_t*)mem; 237 mem += YUV_SIZE; 238 enc->yuv_out_ = (uint8_t*)mem; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_program.h | 97 struct nouveau_heap *mem; member in struct:nv50_program
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
imports.c | 88 void *mem; local 89 int err = posix_memalign(& mem, alignment, bytes); 92 return mem; 127 void *mem; local 129 mem = _mesa_align_malloc(bytes, alignment); 130 if (mem != NULL) { 131 (void) memset(mem, 0, bytes); 134 return mem; 136 void *mem; 138 mem = _aligned_malloc(bytes, alignment) [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
pitch.c | 111 opus_val16 lpc[4], mem[4]={0,0,0,0}; local 164 celt_fir(x_lp, lpc, x_lp, len>>1, 4, mem); 166 mem[0]=0; 168 celt_fir(x_lp, lpc, x_lp, len>>1, 1, mem);
|
/external/chromium_org/third_party/sqlite/src/src/ |
mem2.c | 78 ** into a single structure named "mem". This is to keep the 123 } mem; variable in typeref:struct:__anon16187 135 mem.nAlloc[i]++; 136 mem.nCurrent[i]++; 137 if( mem.nCurrent[i]>mem.mxCurrent[i] ){ 138 mem.mxCurrent[i] = mem.nCurrent[i]; 141 mem.nCurrent[i]--; 142 assert( mem.nCurrent[i]>=0 ) [all...] |
test_init.c | 34 sqlite3_mem_methods mem; member in struct:Wrapped 37 int mem_init; /* True if mem subsystem is initalized */ 38 int mem_fail; /* True to fail mem subsystem inialization */ 50 rc = wrapped.mem.xInit(wrapped.mem.pAppData); 58 wrapped.mem.xShutdown(wrapped.mem.pAppData); 61 static void *wrMemMalloc(int n) {return wrapped.mem.xMalloc(n);} 62 static void wrMemFree(void *p) {wrapped.mem.xFree(p);} 63 static void *wrMemRealloc(void *p, int n) {return wrapped.mem.xRealloc(p, n); [all...] |
/external/chromium_org/v8/src/ia32/ |
lithium-gap-resolver-ia32.cc | 438 Operand mem = local 441 __ xor_(reg, mem); 442 __ xor_(mem, reg); 443 __ xor_(reg, mem); 445 __ mov(tmp, mem); 446 __ mov(mem, reg);
|
/external/clang/test/SemaCXX/ |
member-expr.cpp | 7 static int mem; member in class:X 18 x.mem = 1; 19 xp->mem = 2;
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 143 const llvm::MemoryBuffer *mem = PPOpts.RemappedFileBuffers[i].second; local 144 OS << mem->getBuffer();
|
/external/clang/tools/libclang/ |
CXLoadedDiagnostic.cpp | 51 char *mem = Alloc.Allocate<char>(Blob.size() + 1); local 52 memcpy(mem, Blob.data(), Blob.size()); 53 mem[Blob.size()] = '\0'; 54 return mem;
|
/external/compiler-rt/lib/asan/ |
asan_thread.cc | 47 void *mem = MmapOrDie(sizeof(AsanThreadContext), "AsanThreadContext"); local 48 return new(mem) AsanThreadContext(tid);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stackdepot.cc | 101 uptr mem = (uptr)MmapOrDie(allocsz, "stack depot"); local 103 atomic_store(&depot.region_end, mem + allocsz, memory_order_release); 104 atomic_store(&depot.region_pos, mem, memory_order_release);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_thread_registry_test.cc | 26 void *mem = tctx_allocator.Allocate(sizeof(TCTX)); local 27 return new(mem) TCTX(tid);
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_platform_linux.cc | 103 uptr mem[6] = {}; local 119 mem[0] += rss; 121 mem[file ? 1 : 2] += rss; 123 mem[file ? 1 : 2] += rss; 125 mem[3] += rss; 127 mem[4] += rss; 129 mem[5] += rss; 138 total >> 20, mem[0] >> 20, mem[1] >> 20, mem[2] >> 20 [all...] |
/external/doclava/src/com/google/doclava/ |
LinkReference.java | 140 String mem; local 143 mem = text.substring(1, linkend); 146 mem = text.substring(pound + 1, linkend); 149 mem = null; 156 if (mem != null) { 157 index = mem.indexOf('('); 161 len = mem.length(); 172 char c = mem.charAt(i); 182 if (mem.length() > i+2 && mem.charAt(i+1) == '.' && mem.charAt(i+2) == '.') [all...] |
/external/elfutils/libelf/ |
elf_begin.c | 534 } mem; local 537 ssize_t nread = pread_retry (fildes, mem.header, 547 Elf_Kind kind = determine_kind (mem.header, nread); 556 if ((size_t) nread >= (mem.header[EI_CLASS] == ELFCLASS32 558 return file_read_elf (fildes, NULL, mem.header, offset, maxsize, cmd, [all...] |
/external/grub/stage2/ |
boot.c | 322 /* Check the mem= option to limit memory used for initrd. */ 324 char *mem; local 326 mem = grub_strstr (arg, "mem="); 327 if (mem) 329 char *value = mem + 4; 397 between two options and a space after a "mem=" option isn't 401 That is, copy "mem=XXX" to the end of the command-line, and 412 the "mem" option to the kernel command line. This has its 419 enough. The "mem" option is added if neither of th [all...] |
/external/icu4c/test/cintltst/ |
trietest.c | 823 int32_t mem[UTRIE_DUMMY_SIZE/4]; local 840 utrie_unserializeDummy(&trie, mem, sizeof(mem), initialValue, leadUnitValue, make16BitTrie, &errorCode);
|
/external/icu4c/tools/toolutil/ |
toolutil.cpp | 223 UToolMemory *mem; local 229 mem=(UToolMemory *)uprv_malloc(sizeof(UToolMemory)+initialCapacity*size); 230 if(mem==NULL) { 234 mem->array=mem->staticArray; 236 uprv_strcpy(mem->name, name); 237 mem->capacity=initialCapacity; 238 mem->maxCapacity=maxCapacity; 239 mem->size=size; 240 mem->idx=0 [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_MifStdFormat.c | 331 void *mem = NULL; local 359 PH_FRINFC_MFSTD_FMT_AUTH_SEND_BUF_DEF(mem); 364 PH_FRINFC_MFSTD_FMT_AUTH_SEND_BUF_NFCSECT_KEYA(mem); 369 PH_FRINFC_MFSTD_FMT_AUTH_SEND_BUF_SCRT_KEY(mem); 375 PH_FRINFC_MFSTD_FMT_AUTH_SEND_BUF_MADSECT_KEYA(mem); 515 PHNFC_UNUSED_VARIABLE(mem); 862 uint32_t mem = PH_FRINFC_MFSTD_FMT_VAL_0; local [all...] |