Home
last modified time | relevance | path

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

12345678910>>...173

/external/webrtc/webrtc/base/
Dbyteorder.h30 inline void Set8(void* memory, size_t offset, uint8_t v) { in Set8() argument
31 static_cast<uint8_t*>(memory)[offset] = v; in Set8() local
34 inline uint8_t Get8(const void* memory, size_t offset) { in Get8() argument
35 return static_cast<const uint8_t*>(memory)[offset]; in Get8()
38 inline void SetBE16(void* memory, uint16_t v) { in SetBE16() argument
39 Set8(memory, 0, static_cast<uint8_t>(v >> 8)); in SetBE16()
40 Set8(memory, 1, static_cast<uint8_t>(v >> 0)); in SetBE16()
43 inline void SetBE32(void* memory, uint32_t v) { in SetBE32() argument
44 Set8(memory, 0, static_cast<uint8_t>(v >> 24)); in SetBE32()
45 Set8(memory, 1, static_cast<uint8_t>(v >> 16)); in SetBE32()
[all …]
/external/linux-kselftest/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then
26 echo $msg memory hotplug is not supported >&2
30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then
31 echo $msg no hot-pluggable memory >&2
43 for memory in $SYSFS/devices/system/memory/memory*; do
44 if grep -q 1 $memory/removable &&
45 grep -q $state $memory/state; then
46 echo ${memory##/*/memory}
63 grep -q online $SYSFS/devices/system/memory/memory$1/state
68 grep -q offline $SYSFS/devices/system/memory/memory$1/state
[all …]
/external/llvm/test/MC/Mips/eva/
Dinvalid-noeva-wrong-error.s22 …cachee 31, 255($7) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed of…
23 …cachee 0, -256($4) # CHECK: :[[@LINE]]:22: error: expected memory with 9-bit signed of…
24 …cachee 5, -140($4) # CHECK: :[[@LINE]]:22: error: expected memory with 9-bit signed of…
25 …lbe $10,-256($25) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit s…
26 …lbe $13,255($15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit s…
27 …lbe $11,146($14) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit s…
28 …lbue $13,-256($v1) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit s…
29 …lbue $13,255($v0) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit s…
30 …lbue $13,-190($v1) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit s…
31 …lhe $13,-256($s5) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit s…
[all …]
Dinvalid_R6.s9 …lwle $s6,255($15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit sig…
10 …lwle $s7,-256($10) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit sig…
11 …lwle $s7,-176($13) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit sig…
12 …lwre $zero,255($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit sig…
13 …lwre $zero,-256($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit sig…
14 …lwre $zero,-176($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit sig…
15 …swle $9,255($s1) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit sig…
16 …swle $10,-256($s3) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit sig…
17 …swle $8,131($s5) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit sig…
18 …swre $s4,255($13) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit sig…
[all …]
Dinvalid.s13 lle $4, 8($33) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
14 lle $4, 512($5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
15 lle $4, -513($5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
17 lwe $4, 8($33) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
18 lwe $4, 512($5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
19 lwe $4, -513($5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
21 sbe $4, 8($33) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
22 sbe $4, 512($5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
23 sbe $4, -513($5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
25 sce $4, 8($33) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
[all …]
/external/libchrome/base/memory/
Dshared_memory_unittest.cc73 SharedMemory memory; in CleanUp() local
74 memory.Delete(s_test_name_); in CleanUp()
80 SharedMemory memory; in ThreadMain() local
81 bool rv = memory.CreateNamedDeprecated(s_test_name_, true, kDataSize); in ThreadMain()
83 rv = memory.Map(kDataSize); in ThreadMain()
85 int* ptr = static_cast<int*>(memory.memory()) + id_; in ThreadMain()
96 memory.Close(); in ThreadMain()
162 EXPECT_NE(memory1.memory(), memory2.memory()); // Compare the pointers. in TEST_P()
165 ASSERT_NE(memory1.memory(), static_cast<void*>(nullptr)); in TEST_P()
166 ASSERT_NE(memory2.memory(), static_cast<void*>(nullptr)); in TEST_P()
[all …]
Dshared_memory_region_unittest.cc20 bool IsMemoryFilledWithByte(const void* memory, size_t size, char byte) { in IsMemoryFilledWithByte() argument
21 const char* start_ptr = static_cast<const char*>(memory); in IsMemoryFilledWithByte()
39 memset(rw_mapping_.memory(), 'G', kRegionSize); in SetUp()
40 EXPECT_TRUE(IsMemoryFilledWithByte(rw_mapping_.memory(), kRegionSize, 'G')); in SetUp()
70 EXPECT_NE(this->rw_mapping_.memory(), mapping.memory()); in TYPED_TEST()
71 EXPECT_EQ(memcmp(this->rw_mapping_.memory(), mapping.memory(), kRegionSize), in TYPED_TEST()
75 memset(this->rw_mapping_.memory(), '#', kRegionSize); in TYPED_TEST()
76 EXPECT_EQ(memcmp(this->rw_mapping_.memory(), mapping.memory(), kRegionSize), in TYPED_TEST()
86 IsMemoryFilledWithByte(this->rw_mapping_.memory(), kRegionSize, 'G')); in TYPED_TEST()
93 EXPECT_NE(this->rw_mapping_.memory(), mapping.memory()); in TYPED_TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Druntime_conv2d_mkl.cc44 using mkldnn::memory;
68 memory::dims conv1_src_dim = {ToInt(input_batch), ToInt(input_channels), in MKLConvImpl()
70 memory::dims conv1_weights_dim = {ToInt(kernel_filters), in MKLConvImpl()
73 memory::dims conv1_dst_dim = {ToInt(input_batch), ToInt(kernel_filters), in MKLConvImpl()
75 memory::dims conv1_strides = {ToInt(row_stride), ToInt(col_stride)}; in MKLConvImpl()
77 memory::dims conv1_dilates = {ToInt(rhs_row_dilation - 1), in MKLConvImpl()
79 memory::dims conv1_padding_l = {ToInt(padding_top), ToInt(padding_left)}; in MKLConvImpl()
80 memory::dims conv1_padding_r = {ToInt(padding_bottom), ToInt(padding_right)}; in MKLConvImpl()
87 memory({{{conv1_src_dim}, memory::data_type::f32, memory::format::nhwc}, in MKLConvImpl()
90 auto user_weights_memory = memory( in MKLConvImpl()
[all …]
/external/freetype/builds/amiga/src/base/
Dftsystem.c89 APTR memory ) in Free_VecPooled() argument
91 ULONG *realmem = (ULONG *)memory - 1; in Free_VecPooled()
141 ft_alloc( FT_Memory memory, in ft_alloc() argument
145 return AllocVecPooled( memory->user, size ); in ft_alloc()
147 return Alloc_VecPooled( memory->user, size ); in ft_alloc()
173 ft_realloc( FT_Memory memory, in ft_realloc() argument
181 new_block = AllocVecPooled ( memory->user, new_size ); in ft_realloc()
183 new_block = Alloc_VecPooled ( memory->user, new_size ); in ft_realloc()
190 FreeVecPooled ( memory->user, block ); in ft_realloc()
192 Free_VecPooled ( memory->user, block ); in ft_realloc()
[all …]
/external/freetype/builds/vms/
Dftsystem.c96 ft_alloc( FT_Memory memory, in ft_alloc() argument
99 FT_UNUSED( memory ); in ft_alloc()
126 ft_realloc( FT_Memory memory, in ft_realloc() argument
131 FT_UNUSED( memory ); in ft_realloc()
152 ft_free( FT_Memory memory, in ft_free() argument
155 FT_UNUSED( memory ); in ft_free()
284 ft_mem_debug_init( FT_Memory memory );
287 ft_mem_debug_done( FT_Memory memory );
297 FT_Memory memory; in FT_New_Memory() local
300 memory = (FT_Memory)malloc( sizeof ( *memory ) ); in FT_New_Memory()
[all …]
/external/freetype/src/pshinter/
Dpshrec.c51 FT_Memory memory ) in ps_hint_table_done() argument
63 FT_Memory memory ) in ps_hint_table_ensure() argument
83 FT_Memory memory, in ps_hint_table_alloc() argument
96 error = ps_hint_table_ensure( table, count, memory ); in ps_hint_table_alloc()
125 FT_Memory memory ) in ps_mask_done() argument
138 FT_Memory memory ) in ps_mask_ensure() argument
187 FT_Memory memory ) in ps_mask_set_bit() argument
195 error = ps_mask_ensure( mask, idx + 1, memory ); in ps_mask_set_bit()
213 FT_Memory memory ) in ps_mask_table_done() argument
220 ps_mask_done( mask, memory ); in ps_mask_table_done()
[all …]
/external/freetype/src/base/
Dftsystem.c71 ft_alloc( FT_Memory memory, in ft_alloc() argument
74 FT_UNUSED( memory ); in ft_alloc()
105 ft_realloc( FT_Memory memory, in ft_realloc() argument
110 FT_UNUSED( memory ); in ft_realloc()
133 ft_free( FT_Memory memory, in ft_free() argument
136 FT_UNUSED( memory ); in ft_free()
289 ft_mem_debug_init( FT_Memory memory );
292 ft_mem_debug_done( FT_Memory memory );
302 FT_Memory memory; in FT_New_Memory() local
305 memory = (FT_Memory)ft_smalloc( sizeof ( *memory ) ); in FT_New_Memory()
[all …]
/external/ImageMagick/MagickCore/
Dmemory.c254 *memory; in AcquireAlignedMemory() local
258 memory=NULL; in AcquireAlignedMemory()
265 if (posix_memalign(&memory,alignment,extent) != 0) in AcquireAlignedMemory()
266 memory=NULL; in AcquireAlignedMemory()
268 memory=_aligned_malloc(extent,alignment); in AcquireAlignedMemory()
291 memory=(void *) AlignedExtent((size_t) p+sizeof(void *),alignment); in AcquireAlignedMemory()
292 *((void **) memory-1)=p; in AcquireAlignedMemory()
297 return(memory); in AcquireAlignedMemory()
475 *memory; in AcquireMagickMemory() local
478 memory=memory_methods.acquire_memory_handler(size == 0 ? 1UL : size); in AcquireMagickMemory()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dmkl_pooling_ops_common.h28 using mkldnn::memory;
38 using mkldnn::memory;
46 memory::dims src_dims;
47 memory::dims dst_dims;
48 memory::dims filter_dims;
49 memory::dims strides;
50 memory::dims padding_left;
51 memory::dims padding_right;
55 MklPoolingParams(memory::dims src_dims, memory::dims dst_dims, in MklPoolingParams()
56 memory::dims filter_dims, memory::dims strides, in MklPoolingParams()
[all …]
Dmkl_conv_grad_filter_ops.cc44 using mkldnn::memory;
52 memory::dims src_dims;
53 memory::dims diff_filter_dims;
54 memory::dims diff_bias_dims;
55 memory::dims diff_dst_dims;
56 memory::dims strides;
57 memory::dims dilations;
58 memory::dims padding_left;
59 memory::dims padding_right;
62 MklConvBwdFilterParams(memory::dims src_dims, memory::dims diff_filter_dims, in MklConvBwdFilterParams()
[all …]
Dmkl_conv_grad_input_ops.cc55 memory::dims diff_src_dims;
56 memory::dims filter_dims;
57 memory::dims diff_dst_dims;
58 memory::dims strides;
59 memory::dims dilations;
60 memory::dims padding_left;
61 memory::dims padding_right;
64 MklConvBwdInputParams(memory::dims diff_src_dims, memory::dims filter_dims, in MklConvBwdInputParams()
65 memory::dims diff_dst_dims, memory::dims strides, in MklConvBwdInputParams()
66 memory::dims dilations, memory::dims padding_left, in MklConvBwdInputParams()
[all …]
/external/freetype/builds/unix/
Dftsystem.c97 ft_alloc( FT_Memory memory, in ft_alloc() argument
100 FT_UNUSED( memory ); in ft_alloc()
127 ft_realloc( FT_Memory memory, in ft_realloc() argument
132 FT_UNUSED( memory ); in ft_realloc()
153 ft_free( FT_Memory memory, in ft_free() argument
156 FT_UNUSED( memory ); in ft_free()
376 ft_mem_debug_init( FT_Memory memory );
379 ft_mem_debug_done( FT_Memory memory );
389 FT_Memory memory; in FT_New_Memory() local
392 memory = (FT_Memory)malloc( sizeof ( *memory ) ); in FT_New_Memory()
[all …]
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_stat_test.sh64 echo 1 > memory.use_hierarchy
67 echo $PAGESIZE > memory.limit_in_bytes
68 echo $((PAGESIZE*2)) > subgroup/memory.limit_in_bytes
80 echo 0 > memory.use_hierarchy
83 echo $PAGESIZE > memory.limit_in_bytes
84 echo $((PAGESIZE*2)) > subgroup/memory.limit_in_bytes
101 echo 1 > memory.use_hierarchy
104 echo $PAGESIZE > memory.limit_in_bytes
105 echo $PAGESIZE > memory.memsw.limit_in_bytes
106 echo $((PAGESIZE*2)) > subgroup/memory.limit_in_bytes
[all …]
/external/tensorflow/tensorflow/core/util/
Dmkl_util.h66 using mkldnn::memory;
416 TensorFormat MklDnn3DDataFormatToTFDataFormat(memory::format format);
417 TensorFormat MklDnnDataFormatToTFDataFormat(memory::format format);
418 memory::dims CalculateTFStrides(const memory::dims& dims_tf_order);
419 memory::desc CreateBlockedMemDescHelper(const memory::dims& dim,
420 const memory::dims& strides,
421 memory::data_type dtype);
432 memory::format tf_data_format_ = memory::format::format_undef;
433 memory::data_type T_ = memory::data_type::data_undef;
460 inline bool CompareMklDnnLayouts(const memory::desc& md1, in CompareMklDnnLayouts()
[all …]
/external/swiftshader/src/Common/
DMemory.cpp103 void *memory = allocateRaw(bytes, alignment); in allocate() local
105 if(memory) in allocate()
107 memset(memory, 0, bytes); in allocate()
110 return memory; in allocate()
113 void deallocate(void *memory) in deallocate() argument
116 free(memory); in deallocate()
118 if(memory) in deallocate()
120 unsigned char *aligned = (unsigned char*)memory; in deallocate()
128 void clear(uint16_t *memory, uint16_t element, size_t count) in clear() argument
131 __stosw(memory, element, count); in clear()
[all …]
/external/swiftshader/src/System/
DMemory.cpp103 void *memory = allocateRaw(bytes, alignment); in allocate() local
105 if(memory) in allocate()
107 memset(memory, 0, bytes); in allocate()
110 return memory; in allocate()
113 void deallocate(void *memory) in deallocate() argument
116 free(memory); in deallocate()
118 if(memory) in deallocate()
120 unsigned char *aligned = (unsigned char*)memory; in deallocate()
128 void clear(uint16_t *memory, uint16_t element, size_t count) in clear() argument
131 __stosw(memory, element, count); in clear()
[all …]
/external/webrtc/webrtc/modules/audio_conference_mixer/source/
Dmemory_pool_posix.h26 int32_t PopMemory(MemoryType*& memory);
27 int32_t PushMemory(MemoryType*& memory);
70 int32_t MemoryPoolImpl<MemoryType>::PopMemory(MemoryType*& memory) in PopMemory() argument
75 memory = NULL; in PopMemory()
83 memory = NULL; in PopMemory()
87 memory = _memoryPool.front(); in PopMemory()
94 int32_t MemoryPoolImpl<MemoryType>::PushMemory(MemoryType*& memory) in PushMemory() argument
96 if(memory == NULL) in PushMemory()
106 delete memory; in PushMemory() local
107 memory = NULL; in PushMemory()
[all …]
/external/tensorflow/tensorflow/core/lib/core/
Darena_test.cc50 char* memory = a.Alloc(100); in TEST() local
51 ASSERT_NE(memory, nullptr); in TEST()
52 TestMemory(memory, 100); in TEST()
55 memory = a.Alloc(100); in TEST()
56 ASSERT_NE(memory, nullptr); in TEST()
57 TestMemory(memory, 100); in TEST()
78 char* memory = a.Alloc(1024); in TEST() local
79 ASSERT_NE(memory, nullptr); in TEST()
80 TestMemory(memory, 1024); in TEST()
94 char* memory = a.Alloc(768); in TEST() local
[all …]
/external/llvm/test/MC/Mips/micromips/
Dinvalid.s19 cachee 0, -513($7) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
20 cachee 0, 512($7) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
40 prefe 0, -513($7) # CHECK: :[[@LINE]]:12: error: expected memory with 9-bit signed offset
41 prefe 0, 512($7) # CHECK: :[[@LINE]]:12: error: expected memory with 9-bit signed offset
57 swe $2, -513($gp) # CHECK: :[[@LINE]]:11: error: expected memory with 9-bit signed offset
58 swe $2, 512($gp) # CHECK: :[[@LINE]]:11: error: expected memory with 9-bit signed offset
60 swe $2, 8($33) # CHECK: :[[@LINE]]:11: error: expected memory with 9-bit signed offset
67 lle $4, 8($33) # CHECK: :[[@LINE]]:11: error: expected memory with 9-bit signed offset
68 lle $4, 512($5) # CHECK: :[[@LINE]]:11: error: expected memory with 9-bit signed offset
69 lle $4, -513($5) # CHECK: :[[@LINE]]:11: error: expected memory with 9-bit signed offset
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c41 #define DEREF(memory, type) *(type*)(memory) argument
111 void* memory, VALUE value) { in native_slot_set() argument
112 native_slot_set_value_and_case(type, type_class, memory, value, NULL, 0); in native_slot_set()
116 void* memory, VALUE value, in native_slot_set_value_and_case() argument
128 DEREF(memory, float) = NUM2DBL(value); in native_slot_set_value_and_case()
134 DEREF(memory, double) = NUM2DBL(value); in native_slot_set_value_and_case()
145 DEREF(memory, int8_t) = val; in native_slot_set_value_and_case()
154 DEREF(memory, VALUE) = value; in native_slot_set_value_and_case()
165 DEREF(memory, VALUE) = value; in native_slot_set_value_and_case()
186 DEREF(memory, int32_t) = int_val; in native_slot_set_value_and_case()
[all …]

12345678910>>...173