Searched refs:mem (Results 101 - 125 of 818) sorted by relevance

1234567891011>>

/external/libunwind/tests/
H A DGtest-dyn1.c174 void *mem; local
179 mem = malloc (getpagesize ());
184 printf ("old code @ %p, new code @ %p\n", (void *) fdesc.code, mem);
186 memcpy (mem, (void *) fdesc.code, MAX_FUNC_SIZE);
187 mprotect ((void *) ((long) mem & ~(getpagesize () - 1)),
190 flush_cache (mem, MAX_FUNC_SIZE);
203 di.start_ip = (long) mem;
204 di.end_ip = (long) mem + 16*region->insn_count/3;
213 fdesc.code = (long) mem;
/external/libexif/libexif/
H A Dexif-loader.c84 ExifMem *mem; member in struct:_ExifLoader
98 d = exif_mem_alloc (l->mem, i);
319 ExifMem *mem = exif_mem_new_default (); local
320 ExifLoader *l = exif_loader_new_mem (mem);
322 exif_mem_unref (mem);
328 exif_loader_new_mem (ExifMem *mem) argument
332 if (!mem)
335 loader = exif_mem_alloc (mem, sizeof (ExifLoader));
340 loader->mem = mem;
356 ExifMem *mem; local
[all...]
H A Dexif-mnote-data-priv.h70 ExifMem *mem; member in struct:_ExifMnoteData
74 void exif_mnote_data_construct (ExifMnoteData *, ExifMem *mem);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform.h500 bool IsAppMemImpl(uptr mem) { argument
502 return (mem >= Mapping::kHeapMemBeg && mem < Mapping::kHeapMemEnd) ||
504 (mem >= Mapping::kMidAppMemBeg && mem < Mapping::kMidAppMemEnd) ||
506 (mem >= Mapping::kLoAppMemBeg && mem < Mapping::kLoAppMemEnd) ||
507 (mem >= Mapping::kHiAppMemBeg && mem < Mapping::kHiAppMemEnd);
509 return mem >
514 IsAppMem(uptr mem) argument
534 IsShadowMemImpl(uptr mem) argument
539 IsShadowMem(uptr mem) argument
559 IsMetaMemImpl(uptr mem) argument
564 IsMetaMem(uptr mem) argument
[all...]
H A Dtsan_rtl_proc.cc22 void *mem = InternalAlloc(sizeof(Processor)); local
23 internal_memset(mem, 0, sizeof(Processor));
24 Processor *proc = new(mem) Processor;
/external/kmod/libkmod/
H A Dlibkmod-signature.c109 const char *mem; local
116 mem = kmod_file_get_contents(file);
120 if (memcmp(SIG_MAGIC, mem + size, strlen(SIG_MAGIC)) != 0)
126 modsig = (struct module_signature *)(mem + size);
137 sig_info->key_id = mem + size;
141 sig_info->signer = mem + size;
/external/swiftshader/third_party/LLVM/tools/lto/
H A Dlto.cpp68 bool lto_module_is_object_file_in_memory(const void* mem, size_t length) argument
70 return LTOModule::isBitcodeFile(mem, length);
77 bool lto_module_is_object_file_in_memory_for_target(const void* mem, argument
80 return LTOModule::isBitcodeFileForTarget(mem, length, target_triplet_prefix);
120 lto_module_t lto_module_create_from_memory(const void* mem, size_t length) argument
122 return LTOModule::makeLTOModule(mem, length, sLastErrorString);
/external/clang/test/Analysis/
H A Dregion-store.c33 int mem; member in struct:X
39 return l.mem; // no-warning
/external/libchrome/base/memory/
H A Dmanual_constructor.h39 static void operator delete[](void* mem) { argument
40 AlignedFree(mem);
/external/ltp/testcases/kernel/mem/include/
H A Dlibmem.mk19 MEM_SRCDIR := $(abs_top_srcdir)/testcases/kernel/mem
22 MEM_DIR := $(top_builddir)/testcases/kernel/mem
/external/skia/tests/
H A DCodecPriv.h14 inline bool decode_memory(const void* mem, size_t size, SkBitmap* bm) { argument
15 std::unique_ptr<SkCodec> codec(SkCodec::NewFromData(SkData::MakeWithoutCopy(mem, size)));
/external/syslinux/core/lwip/src/core/
H A Dstats.c45 #include "lwip/mem.h"
65 lwip_stats.mem.name = "MEM";
113 stats_display_mem(struct stats_mem *mem, char *name) argument
116 LWIP_PLATFORM_DIAG(("avail: %"U32_F"\n\t", (u32_t)mem->avail));
117 LWIP_PLATFORM_DIAG(("used: %"U32_F"\n\t", (u32_t)mem->used));
118 LWIP_PLATFORM_DIAG(("max: %"U32_F"\n\t", (u32_t)mem->max));
119 LWIP_PLATFORM_DIAG(("err: %"U32_F"\n", (u32_t)mem->err));
124 stats_display_memp(struct stats_mem *mem, int index) argument
131 stats_display_mem(mem, memp_names[index]);
/external/boringssl/include/openssl/
H A Dcrypto.h21 * mem.h. */
22 #include <openssl/mem.h>
/external/boringssl/src/crypto/asn1/
H A Da_print.c60 #include <openssl/mem.h>
/external/boringssl/src/include/openssl/
H A Dcrypto.h21 * mem.h. */
22 #include <openssl/mem.h>
/external/clang/test/SemaCXX/
H A Dptrtomember.cpp6 int mem(int);
/external/fio/os/
H A Dos-freebsd.h87 unsigned long long mem; local
88 size_t len = sizeof(mem);
90 sysctl(mib, 2, &mem, &len, NULL, 0);
91 return mem;
/external/kernel-headers/original/uapi/linux/
H A Dkexec.h55 const void *mem; member in struct:kexec_segment
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb_lmr.c28 void ldmx_full_section(unsigned long *mem, int section) argument
34 ptr = &mem[(SECTION_LONGS * section) + i];
50 int ebb_lmr_section_test(unsigned long *mem) argument
61 ldmx_full_section(mem, i);
/external/syslinux/efi/
H A Dmem.c5 #include <mem/malloc.h>
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_persistent_allocator.h59 uptr mem = (uptr)MmapOrDie(allocsz, "stack depot"); local
60 atomic_store(&region_end, mem + allocsz, memory_order_release);
61 atomic_store(&region_pos, mem, memory_order_release);
/external/curl/lib/
H A Dsendf.h68 const void *mem, size_t len, CURLcode *code);
77 const void *mem, size_t len,
83 const void *mem, size_t len,
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkMemUtil.cpp57 void* mapMemory (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags) argument
60 VK_CHECK(vkd.mapMemory(device, mem, offset, size, flags, &hostPtr));
151 SimpleAllocation (Move<VkDeviceMemory> mem, MovePtr<HostPtr> hostPtr);
159 SimpleAllocation::SimpleAllocation (Move<VkDeviceMemory> mem, MovePtr<HostPtr> hostPtr)
160 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL)
161 , m_memHolder (mem)
181 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); local
185 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u));
187 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr));
201 Move<VkDeviceMemory> mem local
[all...]
/external/elfutils/libdw/
H A Dlibdw_alloc.c46 2 * minsize + offsetof (struct libdw_memblock, mem)));
51 uintptr_t result = ((uintptr_t) newp->mem + align - 1) & ~(align - 1);
53 newp->size = size - offsetof (struct libdw_memblock, mem);
/external/libdrm/tests/util/
H A Dpattern.c180 static void fill_smpte_yuv_packed(const struct util_yuv_info *yuv, void *mem, argument
212 unsigned char *y_mem = (yuv->order & YUV_YC) ? mem : mem + 1;
213 unsigned char *c_mem = (yuv->order & YUV_CY) ? mem : mem + 1;
279 static void fill_smpte_rgb16(const struct util_rgb_info *rgb, void *mem, argument
316 ((uint16_t *)mem)[x] = colors_top[x * 7 / width];
317 mem += stride;
322 ((uint16_t *)mem)[x] = colors_middle[x * 7 / width];
323 mem
340 fill_smpte_rgb24(const struct util_rgb_info *rgb, void *mem, unsigned int width, unsigned int height, unsigned int stride) argument
403 fill_smpte_rgb32(const struct util_rgb_info *rgb, void *mem, unsigned int width, unsigned int height, unsigned int stride) argument
643 fill_tiles_yuv_packed(const struct util_format_info *info, void *mem, unsigned int width, unsigned int height, unsigned int stride) argument
675 fill_tiles_rgb16(const struct util_format_info *info, void *mem, unsigned int width, unsigned int height, unsigned int stride) argument
701 fill_tiles_rgb24(const struct util_format_info *info, void *mem, unsigned int width, unsigned int height, unsigned int stride) argument
723 fill_tiles_rgb32(const struct util_format_info *info, void *mem, unsigned int width, unsigned int height, unsigned int stride) argument
[all...]

Completed in 1807 milliseconds

1234567891011>>