Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 25 of 84) sorted by relevance

1234

/device/google/contexthub/firmware/os/cpu/cortexm4/
DappSupport.c35 …int32_t *ofstP, uint32_t type, uint32_t flashAddr, uint32_t ramAddr, uint32_t *mem, uint32_t value) in handleRelNumber() argument
56 mem[where] += base; in handleRelNumber()
61 …(const uint8_t *relStart, const uint8_t *relEnd, uint32_t flashStart, uint32_t ramStart, void *mem) in handleRelocs() argument
72 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel)) in handleRelocs()
82 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel)) in handleRelocs()
92 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel + MAX_16_BIT_NUM)) in handleRelocs()
101 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel + MAX_8_BIT_NUM)) in handleRelocs()
111 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, 0)) in handleRelocs()
146 uint8_t *mem = heapAlloc(sect->bss_end); in cpuAppLoad() local
148 if (!mem) in cpuAppLoad()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregexec.c596 stk->u.mem.num = (int)(mnum);\
597 stk->u.mem.pstr = (s);\
598 stk->u.mem.start = mem_start_stk[mnum];\
599 stk->u.mem.end = mem_end_stk[mnum];\
608 stk->u.mem.num = (mnum);\
609 stk->u.mem.pstr = (s);\
610 stk->u.mem.start = mem_start_stk[mnum];\
611 stk->u.mem.end = mem_end_stk[mnum];\
619 stk->u.mem.num = (mnum);\
629 && k->u.mem.num == (mnum)) {\
[all …]
/device/google/contexthub/sensorhal/
Ddirectchannel.cpp41 AshmemDirectChannel::AshmemDirectChannel(const struct sensors_direct_mem_t *mem) : mAshmemFd(0) { in AshmemDirectChannel() argument
42 mAshmemFd = mem->handle->data[0]; in AshmemDirectChannel()
49 if ((size_t)::ashmem_get_size_region(mAshmemFd) != mem->size) { in AshmemDirectChannel()
54 mSize = mem->size; in AshmemDirectChannel()
56 mBase = ::mmap(NULL, mem->size, PROT_WRITE, MAP_SHARED, mAshmemFd, 0); in AshmemDirectChannel()
269 GrallocDirectChannel::GrallocDirectChannel(const struct sensors_direct_mem_t *mem) in GrallocDirectChannel() argument
271 if (mem->handle == nullptr) { in GrallocDirectChannel()
277 mNativeHandle = ::native_handle_clone(mem->handle); in GrallocDirectChannel()
291 GRALLOC_USAGE_SW_WRITE_OFTEN, 0, 0, mem->size, 1, &mBase); in GrallocDirectChannel()
303 mSize = mem->size; in GrallocDirectChannel()
[all …]
Ddirectchannel.h34 virtual bool memoryMatches(const struct sensors_direct_mem_t *mem) const = 0;
50 AshmemDirectChannel(const struct sensors_direct_mem_t *mem);
52 bool memoryMatches(const struct sensors_direct_mem_t *mem) const override;
89 GrallocDirectChannel(const struct sensors_direct_mem_t *mem);
91 bool memoryMatches(const struct sensors_direct_mem_t *mem) const override;
Dsensors.cpp137 const struct sensors_direct_mem_t *mem, int32_t channel_handle) { in register_direct_channel() argument
138 if (mem) { in register_direct_channel()
140 return mHubConnection->addDirectChannel(mem); in register_direct_channel()
196 const struct sensors_direct_mem_t* mem, int channel_handle) { in RegisterDirectChannelWrapper() argument
198 mem, channel_handle); in RegisterDirectChannelWrapper()
Dsensors.h71 const struct sensors_direct_mem_t* mem, int channel_handle);
102 const struct sensors_direct_mem_t* mem, int channel_handle);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dmemoryobject.c242 PyMemoryViewObject *mem; in PyMemoryView_GetContiguous() local
254 mem = PyObject_GC_New(PyMemoryViewObject, &PyMemoryView_Type); in PyMemoryView_GetContiguous()
255 if (mem == NULL) in PyMemoryView_GetContiguous()
258 view = &mem->view; in PyMemoryView_GetContiguous()
267 Py_DECREF(mem); in PyMemoryView_GetContiguous()
274 mem->base = obj; in PyMemoryView_GetContiguous()
275 _PyObject_GC_TRACK(mem); in PyMemoryView_GetContiguous()
276 return (PyObject *)mem; in PyMemoryView_GetContiguous()
280 Py_DECREF(mem); in PyMemoryView_GetContiguous()
288 Py_DECREF(mem); in PyMemoryView_GetContiguous()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dmemoryobject.c242 PyMemoryViewObject *mem; in PyMemoryView_GetContiguous() local
254 mem = PyObject_GC_New(PyMemoryViewObject, &PyMemoryView_Type); in PyMemoryView_GetContiguous()
255 if (mem == NULL) in PyMemoryView_GetContiguous()
258 view = &mem->view; in PyMemoryView_GetContiguous()
267 Py_DECREF(mem); in PyMemoryView_GetContiguous()
274 mem->base = obj; in PyMemoryView_GetContiguous()
275 _PyObject_GC_TRACK(mem); in PyMemoryView_GetContiguous()
276 return (PyObject *)mem; in PyMemoryView_GetContiguous()
280 Py_DECREF(mem); in PyMemoryView_GetContiguous()
288 Py_DECREF(mem); in PyMemoryView_GetContiguous()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/include/lib/
Dutils.h48 void zero_normalmem(void *mem, u_register_t length);
61 void zeromem(void *mem, u_register_t length);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Ddynload_win.c64 #define DWORD_AT(mem) (*(DWORD *)(mem)) argument
65 #define WORD_AT(mem) (*(WORD *)(mem)) argument
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/gdbstub/
Dgdbstub.c358 const unsigned char *mem = mem_; in mem2hex() local
365 unsigned long addr = (unsigned long)mem; in mem2hex()
372 mem++; in mem2hex()
389 uint8_t *mem = mem_; in hex2mem() local
393 if ((unsigned long)mem >= 0xece80000) in hex2mem()
402 unsigned long addr = (unsigned long)mem; in hex2mem()
413 mem++; in hex2mem()
418 return mem; in hex2mem()
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/
Dext.c275 BIO *mem = BIO_new(BIO_s_mem()); in ext_new_key() local
276 if (i2d_PUBKEY_bio(mem, k) <= 0) { in ext_new_key()
281 sz = BIO_read(mem, p, 4096); in ext_new_key()
/device/google/cuttlefish/guest/hals/camera/
DExif.cpp75 ExifMem* mem = exif_mem_new_default(); in allocateEntry() local
76 ExifEntry* entry = exif_entry_new_mem(mem); in allocateEntry()
79 entry->data = reinterpret_cast<unsigned char*>(exif_mem_alloc(mem, size)); in allocateEntry()
85 exif_mem_unref(mem); in allocateEntry()
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
Dstdlib.mk11 mem.c \
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Ddomain.te1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
/device/google/bonito-sepolicy/vendor/qcom/common/
Ddomain.te1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
/device/generic/goldfish/camera/
DExif.cpp72 ExifMem* mem = exif_mem_new_default(); in allocateEntry() local
73 ExifEntry* entry = exif_entry_new_mem(mem); in allocateEntry()
76 entry->data = reinterpret_cast<unsigned char*>(exif_mem_alloc(mem, size)); in allocateEntry()
82 exif_mem_unref(mem); in allocateEntry()
/device/linaro/hikey/hifi/xaf/host-apf/
DAndroid.mk25 utest/xaf-mem-test.c
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
Dxmltok.h288 XmlInitUnknownEncoding(void *mem,
308 XmlInitUnknownEncodingNS(void *mem,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
Dxmltok.h288 XmlInitUnknownEncoding(void *mem,
308 XmlInitUnknownEncodingNS(void *mem,
/device/mediatek/wembley-sepolicy/r_non_plat/
Dmtkbootanimation.te27 # Purpose : access to sec mem proc interface.
/device/mediatek/wembley-sepolicy/non_plat/
Dmtkbootanimation.te27 # Purpose : access to sec mem proc interface.
/device/linaro/dragonboard/db845c/firmware/
DAndroid.mk47 K2026090.mem
Ddevice.mk44 K2026090.mem
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dstropmodule.c1028 mymemfind(const char *mem, Py_ssize_t len, const char *pat, Py_ssize_t pat_len) in mymemfind() argument
1036 if (mem[ii] == pat[0] && in mymemfind()
1038 memcmp(&mem[ii+1], &pat[1], pat_len-1) == 0)) { in mymemfind()
1053 mymemcnt(const char *mem, Py_ssize_t len, const char *pat, Py_ssize_t pat_len) in mymemcnt() argument
1059 offset = mymemfind(mem, len, pat, pat_len); in mymemcnt()
1062 mem += offset + pat_len; in mymemcnt()

1234