HomeSort by relevance Sort by last modified time
    Searched full:memory (Results 176 - 200 of 21927) sorted by null

1 2 3 4 5 6 78 91011>>

  /system/extras/perfprofd/quipper/kernel-headers/tools/perf/
perf.h 23 #define rmb() asm volatile("lock; addl $0,0(%%esp)" : : : "memory")
24 #define cpu_relax() asm volatile("rep; nop" : : : "memory");
33 #define rmb() asm volatile("lfence" : : : "memory")
34 #define cpu_relax() asm volatile("rep; nop" : : : "memory");
43 #define rmb() asm volatile("sync" : : : "memory")
44 #define cpu_relax() asm volatile("" : : : "memory");
49 #define rmb() asm volatile("bcr 15,0" : : : "memory")
50 #define cpu_relax() asm volatile("" : : : "memory");
55 #define rmb() asm volatile("synco" : : : "memory")
58 #define rmb() asm volatile("" : : : "memory")
    [all...]
  /frameworks/base/docs/html/guide/topics/renderscript/
advanced.jd 23 <a href="#mem-allocation">Memory Allocation APIs</a>
26 <a href="#memory">Working with Memory</a>
28 <li><a href="#allocating-mem">Allocating and binding memory to the RenderScript</a></li>
30 <li><a href="#read-write">Reading and writing to memory</a></li>
44 present to facilitate communication and memory management between the two levels of code.
46 different layers of code as well as how memory is shared between the Android VM and
73 <li>Memory allocation request features</li>
94 and constructors that allow you to allocate and work with memory for pointers that are defined in
123 <code>struct</code>, which allows you to allocate memory for one or more instances of thi
    [all...]
  /external/autotest/client/tests/memory_api/
memory_api.c 7 /* This file includes a simple set of memory allocation calls that
8 * a user space program can use to allocate/free or move memory mappings.
53 perror("Failed to allocate memory using sbrk\n");
57 printf("Successfully allocated sbrk memory %d bytes @%p\n",
69 perror("Failed to allocate anon private memory using mmap\n");
73 printf("Successfully allocated anon mmap memory %d bytes @%p\n",
79 perror("Failed to W protect memory using mprotect\n");
90 perror("Failed to RW protect memory using mprotect\n");
109 perror("Failed to remap expand anon private memory\n");
129 perror("Could not unmap and free memory\n")
    [all...]
mremaps.c 7 /* This program allocates memory with multiple calls to remap. This
41 perror("Failed to allocate anon private memory using mmap\n");
51 perror("Failed to remap expand anon private memory\n");
60 perror("Could not unmap and free memory\n");
69 perror("Failed to allocate anon private memory using mmap\n");
  /external/ceres-solver/cmake/
FindSharedPtr.cmake 37 # SHARED_PTR_TR1_MEMORY_HEADER: True if <tr1/memory> header is to be used
38 # for the shared_ptr object, otherwise use <memory>.
44 CHECK_INCLUDE_FILE_CXX(memory HAVE_STD_MEMORY_HEADER)
46 # Finding the memory header doesn't mean that shared_ptr is in std
53 CHECK_CXX_SOURCE_COMPILES("#include <memory>
61 MESSAGE("-- Found shared_ptr in std namespace using <memory> header.")
64 CHECK_CXX_SOURCE_COMPILES("#include <memory>
71 MESSAGE("-- Found shared_ptr in std::tr1 namespace using <memory> header.")
80 # <tr1/memory> is to be included for this. And what makes things
81 # even more tricky is that gcc does have <memory> header, s
    [all...]
  /external/llvm/lib/Target/AMDGPU/
AMDGPU.h 110 /// various memory regions on the hardware. On the CPU
111 /// all of the address spaces point to the same memory,
113 /// a separate piece of memory that is unique from other
114 /// memory locations.
117 PRIVATE_ADDRESS = 0, ///< Address space for private memory.
118 GLOBAL_ADDRESS = 1, ///< Address space for global memory (RAT0, VTX0).
119 CONSTANT_ADDRESS = 2, ///< Address space for constant memory
120 LOCAL_ADDRESS = 3, ///< Address space for local memory.
121 FLAT_ADDRESS = 4, ///< Address space for flat memory.
122 REGION_ADDRESS = 5, ///< Address space for region memory
    [all...]
  /external/skia/src/gpu/vk/
GrVkMemory.cpp 35 VkDeviceMemory* memory) {
54 memory));
64 VkDeviceMemory* memory) {
72 if (!alloc_device_memory(gpu, &memReqs, flags, memory)) {
76 // Bind Memory to queue
77 VkResult err = GR_VK_CALL(interface, BindBufferMemory(device, buffer, *memory, 0));
79 GR_VK_CALL(interface, FreeMemory(device, *memory, nullptr));
88 VkDeviceMemory* memory) {
95 if (!alloc_device_memory(gpu, &memReqs, flags, memory)) {
99 // Bind Memory to queu
    [all...]
  /external/clang/test/Analysis/
malloc-overflow.c 9 return malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
14 return malloc(sizeof(int) * n); // // expected-warning {{the computation of the size of the memory allocation may overflow}}
29 return malloc(s->n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
35 return malloc(s2.n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
40 return malloc((n + 1) * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
62 int * x = malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
70 int * x = malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
79 int * x = malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
112 return malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
stack-addr-ps.cpp 7 return s; // expected-warning{{Address of stack memory associated with local variable 's' returned}} expected-warning{{reference to stack memory associated with local variable 's' returned}}
13 return s2; // expected-warning{{Address of stack memory associated with local variable 's1' returned}} expected-warning {{reference to stack memory associated with local variable 's1' returned}}
20 return s3; // expected-warning{{Address of stack memory associated with local variable 's1' returned}} expected-warning {{reference to stack memory associated with local variable 's1' returned}}
29 const int &get_reference1() { return get_value(); } // expected-warning{{Address of stack memory associated with temporary object of type 'int' returned}} expected-warning {{returning reference to local temporary}}
33 return x; // expected-warning{{Address of stack memory associated with temporary object of type 'int' returned}} expected-warning {{returning reference to local temporary}}
39 return x2; // expected-warning{{Address of stack memory associated with temporary object of type 'int' returned}} expected-warning {{returning reference to local temporary}}
51 return &x2; // expected-warning{{Address of stack memory associated with local variable 'x1' returned}} expected-warning {{address of stack memory associat (…)
    [all...]
  /frameworks/base/core/java/android/hardware/location/
MemoryRegion.java 36 * get the capacity of the memory region in bytes
38 * @return int - the memory capacity in bytes
45 * get the free capacity of the memory region in bytes
54 * Is the memory readable
56 * @return boolean - true if memory is readable, false otherwise
63 * Is the memory writable
65 * @return boolean - true if memory is writable, false otherwise
72 * Is the memory executable
74 * @return boolean - true if memory is executable, false
  /external/autotest/client/site_tests/graphics_dEQP/expectations/sandybridge/
dEQP-GLES3.stress.Unknown.bz2 
  /external/clang/test/CodeGenCXX/
sanitize-dtor-repress-aliasing.cpp 1 // Test -fsanitize-memory-use-after-dtor
2 // RUN: %clang_cc1 -fsanitize=memory -O1 -fsanitize-memory-use-after-dtor -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -fsanitize=memory -O2 -fsanitize-memory-use-after-dtor -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
sanitize-dtor-tail-call.cpp 1 // Test -fsanitize-memory-use-after-dtor
2 // RUN: %clang_cc1 -fsanitize=memory -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
  /external/llvm/test/CodeGen/WebAssembly/
memory-addr32.ll 3 ; Test that basic memory operations assemble as expected with 32-bit addresses.
8 declare i32 @llvm.wasm.memory.size.i32() nounwind readonly
9 declare void @llvm.wasm.grow.memory.i32(i32) nounwind
16 %a = call i32 @llvm.wasm.memory.size.i32()
25 call void @llvm.wasm.grow.memory.i32(i32 %n)
memory-addr64.ll 3 ; Test that basic memory operations assemble as expected with 64-bit addresses.
8 declare i64 @llvm.wasm.memory.size.i64() nounwind readonly
9 declare void @llvm.wasm.grow.memory.i64(i64) nounwind
16 %a = call i64 @llvm.wasm.memory.size.i64()
25 call void @llvm.wasm.grow.memory.i64(i64 %n)
  /frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
LVCS_Init.c 33 /* This function is used for memory allocation and free. It can be called in */
36 /* hInstance = NULL Returns the memory requirements */
37 /* hInstance = Instance handle Returns the memory requirements and */
40 /* When this function is called for memory allocation (hInstance=NULL) it is */
43 /* When called for memory allocation the memory base address pointers are NULL on */
47 /* capabilities are ignored and the memory table returns the allocated memory and */
52 /* pMemoryTable Pointer to an empty memory definition table */
73 * Fill in the memory tabl
    [all...]
  /docs/source.android.com/src/devices/tech/config/
low-ram.jd 30 to help OEMs optimize and configure Android 4.4 for low-memory devices. Several
36 <h3 id="opt-mgmt">Improved memory management</h3>
38 <li>Validated memory-saving kernel configurations: Kernel Same-page Merging
46 <li>Tuned memory use of low-RAM devices: tighter out-of-memory (OOM) adjustment
50 <h3 id="opt-mem">Reduced system memory</h3>
62 Added a new Developer Option to show memory state and application memory usage
63 ranked by how often they run and amount of memory consumed.
69 when running on low memory devices and choose to disable large-RAM features
    [all...]
  /frameworks/base/docs/html/topic/performance/
memory-overview.jd 1 page.title=Overview of Android Memory Management
2 page.tags=ram,memory,paging,mmap
12 <li><a href="#SharingRAM">Sharing Memory</a></li>
13 <li><a href="#AllocatingRAM">Allocating and Reclaiming App Memory</a></li>
14 <li><a href="#RestrictingMemory">Restricting App Memory</a></li>
19 <li><a href="{@docRoot}training/articles/memory.html">Manage Your App's Memory</a>
31 and <a href="http://en.wikipedia.org/wiki/Memory-mapped_files" class="external-link">memory-mapping</a>
32 (mmapping) to manage memory. This means that any memory an ap
    [all...]
  /hardware/ti/omap3/dspbridge/inc/
mem.h 21 * Memory management and address mapping services for the DSP/BIOS Bridge
82 * Allocate memory from the paged or non-paged pools.
85 * type: Type of memory to allocate; one of:
86 * MEM_PAGED: Allocate from pageable memory.
87 * MEM_NONPAGED: Allocate from page locked memory.
89 * Pointer to a block of memory;
90 * NULL if memory couldn't be allocated, if cBytes == 0, or if type is
95 * The returned pointer, if not NULL, points to a valid memory block of
130 * Allocate physically contiguous, uncached memory
134 * pPhysicalAddress: Physical address of allocated memory
    [all...]
  /hardware/ti/omap3/dspbridge/libbridge/inc/
mem.h 21 * Memory management and address mapping services for the DSP/BIOS Bridge
82 * Allocate memory from the paged or non-paged pools.
85 * type: Type of memory to allocate; one of:
86 * MEM_PAGED: Allocate from pageable memory.
87 * MEM_NONPAGED: Allocate from page locked memory.
89 * Pointer to a block of memory;
90 * NULL if memory couldn't be allocated, if cBytes == 0, or if type is
95 * The returned pointer, if not NULL, points to a valid memory block of
130 * Allocate physically contiguous, uncached memory
134 * pPhysicalAddress: Physical address of allocated memory
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/Eq/src/
LVEQNB_Init.c 35 /* This function is used for memory allocation and free. It can be called in */
38 /* hInstance = NULL Returns the memory requirements */
39 /* hInstance = Instance handle Returns the memory requirements and */
42 /* When this function is called for memory allocation (hInstance=NULL) the memory */
45 /* When the function is called for free (hInstance = Instance Handle) the memory */
46 /* table returns the allocated memory and base addresses used during initialisation. */
50 /* pMemoryTable Pointer to an empty memory definition table */
78 * Fill in the memory table
83 * Instance memory
    [all...]
  /external/clang/test/SemaCXX/
return-stack-addr.cpp 5 return &x; // expected-warning {{address of stack memory}}
10 return x; // expected-warning {{address of stack memory}}
15 return &x[i]; // expected-warning {{address of stack memory}}
20 return &i[x]; // expected-warning {{address of stack memory}}
25 return &x[2]; // expected-warning {{address of stack memory}}
30 return x; // expected-warning {{reference to stack memory}}
35 return &*&x; // expected-warning {{address of stack memory}}
40 return (&(*(&x))); // expected-warning {{address of stack memory}}
45 return &*(&x+1); // expected-warning {{address of stack memory}}
50 return &*(&x+1); // expected-warning {{address of stack memory}}
    [all...]
  /external/freetype/src/pshinter/
pshrec.c 51 FT_Memory memory )
63 FT_Memory memory )
83 FT_Memory memory,
96 error = ps_hint_table_ensure( table, count, memory );
125 FT_Memory memory )
138 FT_Memory memory )
187 FT_Memory memory )
195 error = ps_mask_ensure( mask, idx + 1, memory );
213 FT_Memory memory )
220 ps_mask_done( mask, memory );
806 FT_Memory memory = hints->memory; local
867 FT_Memory memory = hints->memory; local
899 FT_Memory memory = hints->memory; local
960 FT_Memory memory = hints->memory; local
1002 FT_Memory memory = hints->memory; local
1047 FT_Memory memory = hints->memory; local
1092 FT_Memory memory = hints->memory; local
    [all...]
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pshinter/
pshrec.c 51 FT_Memory memory )
63 FT_Memory memory )
83 FT_Memory memory,
96 error = ps_hint_table_ensure( table, count, memory );
125 FT_Memory memory )
138 FT_Memory memory )
187 FT_Memory memory )
195 error = ps_mask_ensure( mask, idx + 1, memory );
213 FT_Memory memory )
220 ps_mask_done( mask, memory );
806 FT_Memory memory = hints->memory; local
867 FT_Memory memory = hints->memory; local
899 FT_Memory memory = hints->memory; local
960 FT_Memory memory = hints->memory; local
1002 FT_Memory memory = hints->memory; local
1047 FT_Memory memory = hints->memory; local
1092 FT_Memory memory = hints->memory; local
    [all...]
  /external/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 1 //===- SectionMemoryManager.h - Memory manager for MCJIT/RtDyld -*- C++ -*-===//
10 // This file contains the declaration of a section-based memory manager used by
21 #include "llvm/Support/Memory.h"
24 /// This is a simple memory manager which implements the methods called by
25 /// the RuntimeDyld class to allocate memory for section-based loading of
28 /// This memory manager allocates all section memory as read-write. The
29 /// RuntimeDyld will copy JITed section memory into these allocated blocks
32 /// Any client using this memory manager MUST ensure that section-specific
45 /// \brief Allocates a memory block of (at least) the given size suitable fo
    [all...]

Completed in 694 milliseconds

1 2 3 4 5 6 78 91011>>