HomeSort by relevance Sort by last modified time
    Searched refs:add1 (Results 1 - 25 of 72) sorted by null

1 2 3

  /prebuilts/go/darwin-x86/test/bench/garbage/
peano.go 26 func add1(x *Number) *Number { func
39 return add(add1(x), sub1(y))
52 return add1(zero())
63 return add1(gen(n - 1))
89 check(add1(zero()), 1)
99 check(mul(gen(3), add1(zero())), 3)
100 check(mul(add1(zero()), gen(4)), 4)
104 check(fact(add1(zero())), 1)
  /prebuilts/go/darwin-x86/test/
peano.go 25 func add1(x *Number) *Number { func
40 return add(add1(x), sub1(y))
53 return add1(zero())
64 return add1(gen(n - 1))
91 check(add1(zero()), 1)
101 check(mul(gen(3), add1(zero())), 3)
102 check(mul(add1(zero()), gen(4)), 4)
106 check(fact(add1(zero())), 1)
inline.go 18 return (*byte)(add1(unsafe.Pointer(p), n)) // ERROR "inlining call to add1"
21 func add1(p unsafe.Pointer, x uintptr) unsafe.Pointer { // ERROR "can inline add1" "leaking param: p to result" func
26 return add2(x, 1) // ERROR "inlining call to add2" "inlining call to add1"
  /prebuilts/go/linux-x86/test/bench/garbage/
peano.go 26 func add1(x *Number) *Number { func
39 return add(add1(x), sub1(y))
52 return add1(zero())
63 return add1(gen(n - 1))
89 check(add1(zero()), 1)
99 check(mul(gen(3), add1(zero())), 3)
100 check(mul(add1(zero()), gen(4)), 4)
104 check(fact(add1(zero())), 1)
  /prebuilts/go/linux-x86/test/
peano.go 25 func add1(x *Number) *Number { func
40 return add(add1(x), sub1(y))
53 return add1(zero())
64 return add1(gen(n - 1))
91 check(add1(zero()), 1)
101 check(mul(gen(3), add1(zero())), 3)
102 check(mul(add1(zero()), gen(4)), 4)
106 check(fact(add1(zero())), 1)
inline.go 18 return (*byte)(add1(unsafe.Pointer(p), n)) // ERROR "inlining call to add1"
21 func add1(p unsafe.Pointer, x uintptr) unsafe.Pointer { // ERROR "can inline add1" "leaking param: p to result" func
26 return add2(x, 1) // ERROR "inlining call to add2" "inlining call to add1"
  /art/compiler/optimizing/
scheduler_test.cc 91 // add1 Add [c1, c2]
92 // add2 Add [add1, c2]
93 // mul Mul [add1, add2]
95 // div Div [add1, div_check]
96 // array_get1 ArrayGet [array, add1]
97 // array_set1 ArraySet [array, add1, add2]
98 // array_get2 ArrayGet [array, add1]
99 // array_set2 ArraySet [array, add1, add2]
107 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); local
108 HInstruction* add2 = new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, c2)
227 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, i, c1); local
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
qpisf_2s.c 251 isf_q[i] = add1(isf_q[i], dico21_isf[indice[2] * 3 + i]);
252 isf_q[i + 3] = add1(isf_q[i + 3], dico22_isf[indice[3] * 3 + i]);
253 isf_q[i + 6] = add1(isf_q[i + 6], dico23_isf[indice[4] * 3 + i]);
254 isf_q[i + 9] = add1(isf_q[i + 9], dico24_isf[indice[5] * 3 + i]);
259 isf_q[i + 12] = add1(isf_q[i + 12], dico25_isf[indice[6] * 4 + i]);
265 isf_q[i] = add1(tmp, mean_isf[i]);
266 isf_q[i] = add1(isf_q[i], vo_mult(MU, past_isfq[i]));
296 isf_q[i] = add1(vo_mult(ALPHA, isfold[i]), vo_mult(ONE_ALPHA, ref_isf[i]));
302 tmp = add1(ref_isf[i], vo_mult(past_isfq[i], MU)); /* predicted ISF */
344 isf_q[i] = add1(isf_q[i], dico21_isf_36b[indice[2] * 5 + i])
    [all...]
isp_isf.c 54 isf[i] = add1(isf[i], (ind << 7));
83 isp[i] = add1(table[ind], (Word16)((L_tmp >> 8)));
q_pulse.c 68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask))));
72 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask))));
85 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask))));
94 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask))));
222 tmp = add1((Word16)((vo_L_mult(3, n_1) >> 1)), 1);
282 tmp = add1((N << 1), 1); /* index += quant_3p_3N1(posB[0], posB[1], posB[2], n_1) << ((2*N)+1);*/
290 tmp = add1((N << 1), 1); /* index += quant_3p_3N1(posB[0], posB[1], posB[2], n_1) <<((2*N)+1); */
298 tmp = add1((N << 1), 1); /* index += quant_3p_3N1(posB[0], posB[1], posB[2], n_1) << ((2*N)+1); */
304 tmp = add1((N << 1), 1); /* index = quant_3p_3N1(posA[0], posA[1], posA[2], n_1) << ((2*N)+1); */
309 tmp = add1((N << 1), 1); /* index = quant_3p_3N1(posA[0], posA[1], posA[2], n_1) << ((2*N)+1); *
    [all...]
voicefac.c 77 ener1 = add1(add1(ener1, ener2), 1);
c2t64fx.c 82 s = L_shl(s, add1(exp, 5));
242 ps2 = add1(ps1, dn[i1]);
243 alp2 = add1(alp1, add1(*p1++, *p2++));
291 *index = add1((i0 << 6), i1);
294 y[i] = vo_shr_r(add1((*p0++), (*p1++)), 3);
wb_vad.c 68 res = add1(res, (ex2 << 6));
69 res = vo_sub(add1(res, 127), (mant >> 8));
90 temp1 = add1(data[0], vo_mult(COEFF5_1, temp0));
94 temp2 = add1(data[1], vo_mult(COEFF5_2, temp0));
118 temp2 = add1(*data, vo_mult(COEFF3, temp1));
304 stat_rat = add1(stat_rat, shr(temp, (8 - exp)));
336 st->ave_level[i] = add1(st->ave_level[i], vo_mult_r(alpha, vo_sub(level[i], st->ave_level[i])));
427 st->bckr_est[i] = add1(-2, add(st->bckr_est[i],vo_mult_r(alpha_down, temp)));
435 st->bckr_est[i] = add1(bckr_add, add1(st->bckr_est[i],vo_mult_r(alpha_up, temp)))
    [all...]
c4t64fx.c 606 ps = add1(add1(add1(dn[ix], dn[iy]), dn[i]), dn[j]);
632 vec[i] = add1(add1(add1(*p0++, *p1++), *p2++), *p3++);
693 vec[i] += add1((*p0++), (*p1++));
694 vec[i+1] += add1((*p0++), (*p1++));
695 vec[i+2] += add1((*p0++), (*p1++));
696 vec[i+3] += add1((*p0++), (*p1++))
    [all...]
  /art/libartbase/base/
transform_iterator_test.cc 44 auto add1 = [](const ValueHolder& h) { return h.value + 1; }; local
48 using vector_titer = decltype(MakeTransformIterator(input.begin(), add1));
55 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), add1));
62 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), add1));
69 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), add1));
76 std::copy(MakeTransformIterator(input.begin(), add1),
77 MakeTransformIterator(input.end(), add1),
82 std::copy(MakeTransformIterator(input.cbegin(), add1),
83 MakeTransformIterator(input.cend(), add1),
88 std::copy(MakeTransformIterator(input.rbegin(), add1),
    [all...]
  /prebuilts/go/darwin-x86/doc/play/
peano.go 32 func add1(x *Number) *Number { func
46 return add(add1(x), sub1(y))
58 return add1(zero())
68 return add1(gen(n - 1))
  /prebuilts/go/linux-x86/doc/play/
peano.go 32 func add1(x *Number) *Number { func
46 return add(add1(x), sub1(y))
58 return add1(zero())
68 return add1(gen(n - 1))
  /external/tensorflow/tensorflow/compiler/xla/service/gpu/
hlo_schedule_test.cc 125 HloInstruction* add1 = builder.AddInstruction( local
130 HloInstruction::CreateBinary(f32_2x2_, HloOpcode::kAdd, add1, add2));
136 EXPECT_EQ(streams->StreamNumberForHlo(*add1),
138 EXPECT_EQ(streams->StreamNumberForHlo(*add1),
144 HloVec({add1, add2, add3}));
146 // Parameters x,y,z are mutually unordered, while add1, add2 and add3 are
149 EXPECT_TRUE(order->ExecutesBefore(x, add1));
152 EXPECT_TRUE(order->ExecutesBefore(y, add1));
157 EXPECT_TRUE(order->ExecutesBefore(add1, add3));
159 // The HLO graph does not define an ordering for add1 and add2, but thei
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_addrhashmap.h 266 AddBucket *add1 = (AddBucket*)InternalAlloc(newsize); local
267 internal_memset(add1, 0, newsize);
268 add1->cap = (newsize - sizeof(*add)) / sizeof(add->cells[0]) + 1;
269 add1->size = add->size;
270 internal_memcpy(add1->cells, add->cells, add->size * sizeof(add->cells[0]));
272 atomic_store(&b->add, (uptr)add1, memory_order_relaxed);
273 add = add1;
  /external/tensorflow/tensorflow/contrib/tensorrt/segment/
segment_test.cc 129 // add0 add1
143 TF_Operation* add1 = Add(feed, feed, graph, s, "add1"); local
145 TF_Operation* add2 = Add(add0, add1, graph, s, "add2");
160 MakeCandidateFn({"add0", "add1", "add2", "add3", "add4"}),
166 std::vector<string> expected{"add0", "add1", "add2", "add3", "add4"};
184 // add0 add1
198 TF_Operation* add1 = Add(feed, feed, graph, s, "add1"); local
200 TF_Operation* add2 = Add(add0, add1, graph, s, "add2")
246 TF_Operation* add1 = Add(feed, feed, graph, s, "add1"); local
320 TF_Operation* add1 = Add(add0, add0, graph, s, "add1"); local
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/service/
bfloat16_conversion_folding_test.cc 95 HloInstruction* add1 = builder.AddInstruction( local
97 builder.AddInstruction(HloInstruction::CreateConvert(bf16_shape, add1));
104 EXPECT_EQ(computation->root_instruction(), add1);
106 EXPECT_EQ(add1->shape().element_type(), BF16);
107 EXPECT_EQ(add1->operand(0), add0);
  /prebuilts/go/darwin-x86/src/testing/
sub_test.go 25 add1 = 0
42 {typ: add1, running: 1, waiting: 0, started: true},
48 {typ: add1, running: 1, waiting: 0, started: true},
49 {typ: add1, running: 1, waiting: 1, started: false},
52 {typ: add1, running: 1, waiting: 0, started: true},
57 {typ: add1, running: 1, waiting: 0, started: true},
58 {typ: add1, running: 2, waiting: 0, started: true},
59 {typ: add1, running: 3, waiting: 0, started: true},
60 {typ: add1, running: 3, waiting: 1, started: false},
61 {typ: add1, running: 3, waiting: 2, started: false}
    [all...]
  /prebuilts/go/linux-x86/src/testing/
sub_test.go 25 add1 = 0
42 {typ: add1, running: 1, waiting: 0, started: true},
48 {typ: add1, running: 1, waiting: 0, started: true},
49 {typ: add1, running: 1, waiting: 1, started: false},
52 {typ: add1, running: 1, waiting: 0, started: true},
57 {typ: add1, running: 1, waiting: 0, started: true},
58 {typ: add1, running: 2, waiting: 0, started: true},
59 {typ: add1, running: 3, waiting: 0, started: true},
60 {typ: add1, running: 3, waiting: 1, started: false},
61 {typ: add1, running: 3, waiting: 2, started: false}
    [all...]
  /external/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/
MachO_ARM64_relocations.s 58 # rtdyld-check: decode_operand(add1, 2) = (tgt+8)[11:2] << 2
62 add1: label
  /external/clang/test/Sema/
block-return.c 7 short (^add1)(void) = ^{ return y+1; }; // expected-error {{incompatible block pointer types initializing 'short (^)(void)' with an expression of type 'int (^)(void)'}}

Completed in 825 milliseconds

1 2 3