Home
last modified time | relevance | path

Searched refs:memory (Results 1 – 7 of 7) sorted by relevance

/system/core/libbacktrace/
Dbacktrace_test.cpp900 void InitMemory(uint8_t* memory, size_t bytes) { in InitMemory() argument
902 memory[i] = i; in InitMemory()
903 if (memory[i] == '\0') { in InitMemory()
906 memory[i] = 23; in InitMemory()
919 uint8_t* memory; in ThreadReadTest() local
920 if (posix_memalign(reinterpret_cast<void**>(&memory), pagesize, 2 * pagesize) != 0) { in ThreadReadTest()
924 if (mprotect(&memory[pagesize], pagesize, PROT_NONE) != 0) { in ThreadReadTest()
929 InitMemory(memory, pagesize); in ThreadReadTest()
931 thread_data->data = memory; in ThreadReadTest()
942 if (mprotect(&memory[pagesize], pagesize, PROT_READ | PROT_WRITE) != 0) { in ThreadReadTest()
[all …]
/system/core/rootdir/
Dinit.rc37 # Create cgroup mount point for memory
39 mkdir /sys/fs/cgroup/memory 0750 root system
40 mount cgroup none /sys/fs/cgroup/memory memory
41 write /sys/fs/cgroup/memory/memory.move_charge_at_immigrate 1
42 chown root system /sys/fs/cgroup/memory/tasks
43 chmod 0660 /sys/fs/cgroup/memory/tasks
44 mkdir /sys/fs/cgroup/memory/sw 0750 root system
45 write /sys/fs/cgroup/memory/sw/memory.swappiness 100
46 write /sys/fs/cgroup/memory/sw/memory.move_charge_at_immigrate 1
47 chown root system /sys/fs/cgroup/memory/sw/tasks
[all …]
/system/bt/doc/
Dstyle_guide.md24 memory layout, sizes, byte order, etc. As a result, some operations are
114 ### Contiguous memory structs
116 to be allocated in contiguous memory with its containing struct.
170 lightweight memory bounds checks that can help track down memory errors.
/system/bt/bta/hf_client/
Dbta_hf_client_int.h253 extern void bta_hf_client_send_at_atd(char *number, UINT32 memory);
Dbta_hf_client_at.c1652 void bta_hf_client_send_at_atd(char *number, UINT32 memory) in bta_hf_client_send_at_atd() argument
1662 at_len = snprintf(buf, sizeof(buf), "ATD>%u;\r", memory); in bta_hf_client_send_at_atd()
/system/core/fastboot/
Dfastboot_protocol.txt113 "download:%08x" Write data to memory which will be later used
/system/core/libutils/
DREADME231 and trailing undefined overlay values are discarded to reduce the memory