Home
last modified time | relevance | path

Searched refs:mem2 (Results 1 – 25 of 35) sorted by relevance

12

/external/syslinux/core/lwip/src/core/
Dmem.c370 struct mem *mem, *mem2; in mem_trim() local
418 mem2 = (struct mem *)(void *)&ram[mem->next]; in mem_trim()
419 if(mem2->used == 0) { in mem_trim()
423 next = mem2->next; in mem_trim()
426 if (lfree == mem2) { in mem_trim()
429 mem2 = (struct mem *)(void *)&ram[ptr2]; in mem_trim()
430 mem2->used = 0; in mem_trim()
432 mem2->next = next; in mem_trim()
434 mem2->prev = ptr; in mem_trim()
440 if (mem2->next != MEM_SIZE_ALIGNED) { in mem_trim()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dmemcmp-1.ll22 ; Check memcmp(mem1, mem2, 0) -> 0.
24 define i32 @test_simplify2(i8* %mem1, i8* %mem2) {
26 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 0)
31 ;; Check memcmp(mem1, mem2, 1) -> *(unsigned char*)mem1 - *(unsigned char*)mem2.
33 define i32 @test_simplify3(i8* %mem1, i8* %mem2) {
35 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 1)
38 ; CHECK: [[LOAD2:%[a-z]+]] = load i8, i8* %mem2, align 1
45 ; Check memcmp(mem1, mem2, size) -> cnst, where all arguments are constants.
50 %mem2 = getelementptr [8 x i8], [8 x i8]* @hello_u, i32 0, i32 0
51 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 3)
[all …]
Dmemmove-1.ll9 ; Check memmove(mem1, mem2, size) -> llvm.memmove(mem1, mem2, size, 1).
11 define i8* @test_simplify1(i8* %mem1, i8* %mem2, i32 %size) {
13 %ret = call i8* @memmove(i8* %mem1, i8* %mem2, i32 %size)
Dmemcpy-1.ll9 ; Check memcpy(mem1, mem2, size) -> llvm.memcpy(mem1, mem2, size, 1).
11 define i8* @test_simplify1(i8* %mem1, i8* %mem2, i32 %size) {
13 %ret = call i8* @memcpy(i8* %mem1, i8* %mem2, i32 %size)
Dmemmove-2.ll11 define i8 @test_no_simplify1(i8* %mem1, i8* %mem2, i32 %size) {
13 %ret = call i8 @memmove(i8* %mem1, i8* %mem2, i32 %size)
Dmemcpy-2.ll11 define i8 @test_no_simplify1(i8* %mem1, i8* %mem2, i32 %size) {
13 %ret = call i8 @memcpy(i8* %mem1, i8* %mem2, i32 %size)
/external/valgrind/none/tests/mips32/
DMemCpyTest.c31 unsigned int mem2[100]; variable
37 mem2[i] = 0; in main()
52 : "r" (mem1), "r" (mem2) in main()
56 printf("0x%x, 0x%x, 0x%x, 0x%x\n", mem2[i], mem2[i+1], in main()
57 mem2[i+2], mem2[i+3]); in main()
DLoadStore1.c17 unsigned int mem2[] = { variable
65 : "r" (mem2), "r" (RTval) \
336 ppMem0(mem2, 12); in main()
338 ppMem0(mem2, 12); in main()
340 ppMem0(mem2, 12); in main()
342 ppMem0(mem2, 12); in main()
344 ppMem0(mem2, 12); in main()
346 ppMem0(mem2, 12); in main()
348 ppMem0(mem2, 12); in main()
350 ppMem0(mem2, 12); in main()
[all …]
DLoadStore.c17 unsigned int mem2[] = { variable
65 : "r" (mem2), "r" (RTval) \
336 ppMem0(mem2, 12); in main()
338 ppMem0(mem2, 12); in main()
340 ppMem0(mem2, 12); in main()
342 ppMem0(mem2, 12); in main()
344 ppMem0(mem2, 12); in main()
346 ppMem0(mem2, 12); in main()
348 ppMem0(mem2, 12); in main()
350 ppMem0(mem2, 12); in main()
[all …]
/external/libchrome/base/memory/
Dref_counted_memory_unittest.cc33 scoped_refptr<RefCountedMemory> mem2; in TEST() local
36 mem2 = new RefCountedBytes(data2, 3); in TEST()
38 EXPECT_EQ(3U, mem2->size()); in TEST()
39 EXPECT_EQ(12U, mem2->front()[0]); in TEST()
40 EXPECT_EQ(11U, mem2->front()[1]); in TEST()
41 EXPECT_EQ(99U, mem2->front()[2]); in TEST()
64 scoped_refptr<RefCountedMemory> mem2 = RefCountedBytes::TakeVector(&d2); in TEST() local
66 EXPECT_TRUE(mem1->Equals(mem2)); in TEST()
72 EXPECT_FALSE(mem2->Equals(mem3)); in TEST()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/
Ddestroy_at.pass.cpp49 void* mem2 = std::malloc(sizeof(Counted)); in main() local
50 assert(mem1 && mem2); in main()
53 Counted* ptr2 = ::new(mem2) Counted(); in main()
60 std::free(mem2); in main()
64 void* mem2 = std::malloc(sizeof(DCounted)); in main() local
65 assert(mem1 && mem2); in main()
68 DCounted* ptr2 = ::new(mem2) DCounted(); in main()
76 std::free(mem2); in main()
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/
Dextended_types.pass.cpp36 int mem2() const { return ++count; } in mem2() function
45 int mem2(int x) const { return count += x; } in mem2() function
53 int mem2(int x, int y) const { return count += (x + y); } in mem2() function
101 mem2_t mem2 = &T::mem2; in test_ext_int_0() local
142 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
150 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
158 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
166 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
213 mem2_t mem2 = &T::mem2; in test_ext_int_1() local
251 assert(6 == ex::apply(mem2, t)); in test_ext_int_1()
[all …]
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
Dapply_extended_types.pass.cpp36 int mem2() const { return ++count; } in mem2() function
45 int mem2(int x) const { return count += x; } in mem2() function
53 int mem2(int x, int y) const { return count += (x + y); } in mem2() function
100 mem2_t mem2 = &T::mem2; in test_ext_int_0() local
141 assert(1 == std::apply(mem2, t)); in test_ext_int_0()
149 assert(1 == std::apply(mem2, t)); in test_ext_int_0()
157 assert(1 == std::apply(mem2, t)); in test_ext_int_0()
165 assert(1 == std::apply(mem2, t)); in test_ext_int_0()
212 mem2_t mem2 = &T::mem2; in test_ext_int_1() local
250 assert(6 == std::apply(mem2, t)); in test_ext_int_1()
[all …]
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp41 void mem2() const {count += 2;} in mem2() function
109 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
119 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
146 int mem2() const {return 4;} in mem2() function
180 assert(std::bind(&A_int_1::mem2, _1)(A_int_1()) == 4); in test_int_1()
181 assert(std::bind(&A_int_1::mem2, A_int_1())() == 4); in test_int_1()
183 assert(std::bind(&A_int_1::mem2, _1)(&a) == 4); in test_int_1()
184 assert(std::bind(&A_int_1::mem2, &a)() == 4); in test_int_1()
215 void mem2(int i) const {count += i;} in mem2() function
Dinvoke_lvalue.pass.cpp41 void mem2() const {count += 2;} in mem2() function
117 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
128 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
156 int mem2() const {return 4;} in mem2() function
195 assert(std::bind(&A_int_1::mem2, _1)(A_int_1()) == 4); in test_int_1()
196 assert(std::bind(&A_int_1::mem2, A_int_1())() == 4); in test_int_1()
198 assert(std::bind(&A_int_1::mem2, _1)(ap) == 4); in test_int_1()
199 assert(std::bind(&A_int_1::mem2, ap)() == 4); in test_int_1()
231 void mem2(int i) const {count += i;} in mem2() function
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/
Dinvoke.pass.cpp39 void mem2() const {++count;} in mem2() function
87 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
116 int mem2() const {return 4;} in mem2() function
154 int (A_int_1::*fp)() const = &A_int_1::mem2; in test_int_1()
191 void mem2(int i) const {count += i;} in mem2() function
243 void (A_void_2::*fp)(int) const = &A_void_2::mem2; in test_void_2()
272 int mem2(int i) const {return i+2;} in mem2() function
313 int (A_int_2::*fp)(int) const = &A_int_2::mem2; in testint_2()
/external/valgrind/none/tests/mips64/
Dload_store_multiple.c17 unsigned int mem2[] = { variable
64 : "r" (mem2), "r" (RTval) \
330 ppMem2(mem2, 12); in main()
332 ppMem2(mem2, 12); in main()
334 ppMem2(mem2, 12); in main()
336 ppMem2(mem2, 12); in main()
338 ppMem2(mem2, 12); in main()
340 ppMem2(mem2, 12); in main()
342 ppMem2(mem2, 12); in main()
344 ppMem2(mem2, 12); in main()
[all …]
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
Dinvoke.pass.cpp113 void mem2() const {++count;} in mem2() function
162 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1()
192 int mem2() const {return 4;} in mem2() function
231 int (A_int_1::*fp)() const = &A_int_1::mem2; in test_int_1()
270 void mem2(int i) const {count += i;} in mem2() function
323 void (A_void_2::*fp)(int) const = &A_void_2::mem2; in test_void_2()
353 int mem2(int i) const {return i+2;} in mem2() function
394 int (A_int_2::*fp)(int) const = &A_int_2::mem2; in test_int_2()
/external/llvm/test/Transforms/CodeGenPrepare/X86/
Dextend-sink-hoist.ll8 define i128 @sink(i64* %mem1, i64* %mem2) {
21 %l2 = load i64, i64* %mem2
29 define i64 @hoist(i32* %mem1, i32* %mem2) {
42 %l2 = load i32, i32* %mem2
/external/clang/test/CodeGenCXX/
Dfloat128-declarations.cpp56 __float128 mem2; member
67 func1t(f1l) + s1.mem2 - f1n + f2n; in main()
Dvalue-init.cpp74 int S::*mem2; member
82 return s->*S().mem2; in test()
/external/libopus/celt/
Dpitch.c113 opus_val32 mem0, mem1, mem2, mem3, mem4; in celt_fir5() local
121 mem2=mem[2]; in celt_fir5()
129 sum = MAC16_16(sum,num2,mem2); in celt_fir5()
133 mem3 = mem2; in celt_fir5()
134 mem2 = mem1; in celt_fir5()
141 mem[2]=mem2; in celt_fir5()
/external/speex/libspeex/
Dfilters.c411 VARDECL(spx_mem_t *mem2); in compute_impulse_response()
413 ALLOC(mem2, ord, spx_mem_t); in compute_impulse_response()
422 mem1[i] = mem2[i] = 0; in compute_impulse_response()
427 y[i] = PSHR32(ADD32(SHL32(EXTEND32(y1),LPC_SHIFT+1),mem2[0]),LPC_SHIFT); in compute_impulse_response()
432 mem2[j] = MAC16_16(mem2[j+1], ak[j],ny2i); in compute_impulse_response()
435 mem2[ord-1] = MULT16_16(ak[ord-1],ny2i); in compute_impulse_response()
477 …px_word16_t *a, spx_word16_t *y, int N, int M, spx_word16_t *mem1, spx_word16_t *mem2, char *stack) in qmf_synth() argument
499 xx2[N2+i] = mem2[2*i+1]; in qmf_synth()
565 mem2[2*i+1] = xx2[i]; in qmf_synth()
/external/clang/test/SemaTemplate/
Dcrash.cpp8 void S<T>::mem2() { in mem2() function in S
/external/llvm/test/CodeGen/ARM/
Datomic-op.ll310 define i32 @load_load_add_acquire(i32* %mem1, i32* %mem2) nounwind {
313 %val2 = load atomic i32, i32* %mem2 acquire, align 4
334 define void @store_store_release(i32* %mem1, i32 %val1, i32* %mem2, i32 %val2) {
337 store atomic i32 %val2, i32* %mem2 release, align 4
355 define void @load_fence_store_monotonic(i32* %mem1, i32* %mem2) {
359 store atomic i32 %val, i32* %mem2 monotonic, align 4

12