Home
last modified time | relevance | path

Searched refs:lr (Results 1 – 25 of 2220) sorted by relevance

12345678910>>...89

/external/adhd/cras/src/server/
Dlinear_resampler.c35 struct linear_resampler *lr; in linear_resampler_create() local
37 lr = (struct linear_resampler *)calloc(1, sizeof(*lr)); in linear_resampler_create()
38 if (!lr) in linear_resampler_create()
40 lr->num_channels = num_channels; in linear_resampler_create()
41 lr->format_bytes = format_bytes; in linear_resampler_create()
43 linear_resampler_set_rates(lr, src_rate, dst_rate); in linear_resampler_create()
45 return lr; in linear_resampler_create()
48 void linear_resampler_destroy(struct linear_resampler *lr) in linear_resampler_destroy() argument
50 if (lr) in linear_resampler_destroy()
51 free(lr); in linear_resampler_destroy()
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLogRecordTest.java37 private LogRecord lr; field in LogRecordTest
43 lr = new LogRecord(Level.CONFIG, MSG); in setUp()
64 assertNull(lr.getLoggerName()); in testGetSetLoggerName()
65 lr.setLoggerName(null); in testGetSetLoggerName()
66 assertNull(lr.getLoggerName()); in testGetSetLoggerName()
67 lr.setLoggerName("test logger name"); in testGetSetLoggerName()
68 assertEquals("test logger name", lr.getLoggerName()); in testGetSetLoggerName()
72 assertNull(lr.getResourceBundleName()); in testGetSetResourceBundle()
73 assertNull(lr.getResourceBundle()); in testGetSetResourceBundle()
75 lr.setResourceBundle(null); in testGetSetResourceBundle()
[all …]
DSimpleFormatterTest.java35 LogRecord lr; field in SimpleFormatterTest
45 lr = new LogRecord(Level.FINE, MSG); in setUp()
61 lr.setResourceBundle(rb); in testLocalizedFormat()
62 lr.setMessage("msg"); in testLocalizedFormat()
64 String str = sf.format(lr); in testLocalizedFormat()
68 lr.setResourceBundle(null); in testLocalizedFormat()
69 lr.setResourceBundleName("bundles/com/android/java/util/logging/res"); in testLocalizedFormat()
70 lr.setMessage("msg"); in testLocalizedFormat()
71 str = sf.format(lr); in testLocalizedFormat()
77 String str = sf.format(lr);
[all …]
DXMLFormatterTest.java42 LogRecord lr = null; field in XMLFormatterTest
48 lr = new LogRecord(Level.SEVERE, "pattern"); in setUp()
57 lr.setResourceBundle(rb); in testLocalFormat()
58 lr.setMessage("pattern"); in testLocalFormat()
59 String result = formatter.format(lr); in testLocalFormat()
64 lr.setMessage("msg"); in testLocalFormat()
65 result = formatter.format(lr); in testLocalFormat()
70 lr.setMessage("pattern {0, number}"); in testLocalFormat()
71 result = formatter.format(lr); in testLocalFormat()
76 lr.setMessage("bad key"); in testLocalFormat()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dfloat-helpers.s42 ; CHECK-SOFT: .save {r11, lr}
43 ; CHECK-SOFT-NEXT: push {r11, lr}
45 ; CHECK-SOFT-NEXT: pop {r11, lr}
46 ; CHECK-SOFT-NEXT: mov pc, lr
53 ; CHECK-SOFTFP-NEXT: mov pc, lr
57 ; CHECK-HARDFP-SP-NEXT: mov pc, lr
65 ; CHECK-SOFT: .save {r11, lr}
66 ; CHECK-SOFT-NEXT: push {r11, lr}
68 ; CHECK-SOFT-NEXT: pop {r11, lr}
69 ; CHECK-SOFT-NEXT: mov pc, lr
[all …]
D2011-02-04-AntidepMultidef.ll25 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
27 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
28 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
30 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
39 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
41 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
42 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
44 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
53 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
55 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
[all …]
Dt2-shrink-ldrpost.ll12 br i1 %1, label %.lr.ph, label %._crit_edge
14 .lr.ph: ; preds = %.lr.ph, %0
15 %i.04 = phi i32 [ %6, %.lr.ph ], [ 0, %0 ]
16 %.03 = phi i32* [ %2, %.lr.ph ], [ %b, %0 ]
17 %.012 = phi i32* [ %5, %.lr.ph ], [ %a, %0 ]
25 br i1 %exitcond, label %._crit_edge, label %.lr.ph
27 ._crit_edge: ; preds = %.lr.ph, %0
35 br i1 %1, label %.lr.ph, label %._crit_edge
37 .lr.ph: ; preds = %.lr.ph, %0
38 %i.04 = phi i32 [ %6, %.lr.ph ], [ 0, %0 ]
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
D2011-02-04-AntidepMultidef.ll25 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
27 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
28 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
30 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
39 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
41 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
42 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
44 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
53 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
55 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
[all …]
/external/llvm/test/CodeGen/ARM/
D2011-02-04-AntidepMultidef.ll25 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
27 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
28 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
30 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
39 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
41 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
42 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
44 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
53 ; CHECK: umull [[REGISTER:lr|r[0-9]+]],
55 ; CHECK: {{lr|r[0-9]+}}, {{lr|r[0-9]+$}}
[all …]
Dt2-shrink-ldrpost.ll12 br i1 %1, label %.lr.ph, label %._crit_edge
14 .lr.ph: ; preds = %.lr.ph, %0
15 %i.04 = phi i32 [ %6, %.lr.ph ], [ 0, %0 ]
16 %.03 = phi i32* [ %2, %.lr.ph ], [ %b, %0 ]
17 %.012 = phi i32* [ %5, %.lr.ph ], [ %a, %0 ]
25 br i1 %exitcond, label %._crit_edge, label %.lr.ph
27 ._crit_edge: ; preds = %.lr.ph, %0
35 br i1 %1, label %.lr.ph, label %._crit_edge
37 .lr.ph: ; preds = %.lr.ph, %0
38 %i.04 = phi i32 [ %6, %.lr.ph ], [ 0, %0 ]
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/
Datomics.ll11 ; OPT: .lr.ph:
12 ; OPT: %lsr.iv2 = phi i32 addrspace(3)* [ %scevgep3, %.lr.ph ], [ %arg1, %.lr.ph.preheader ]
13 ; OPT: %lsr.iv1 = phi i32 addrspace(3)* [ %scevgep, %.lr.ph ], [ %arg0, %.lr.ph.preheader ]
14 ; OPT: %lsr.iv = phi i32 [ %lsr.iv.next, %.lr.ph ], [ %n, %.lr.ph.preheader ]
23 br i1 %tmp, label %.lr.ph.preheader, label %._crit_edge
25 .lr.ph.preheader: ; preds = %bb
26 br label %.lr.ph
28 ._crit_edge.loopexit: ; preds = %.lr.ph
34 .lr.ph: ; preds = %.lr.ph, %.lr.ph.preheader
35 %indvars.iv = phi i32 [ %indvars.iv.next, %.lr.ph ], [ 0, %.lr.ph.preheader ]
[all …]
Ddifferent-addrspace-addressing-mode-loops.ll9 ; OPT: {{^}}.lr.ph:
10 ; OPT: %lsr.iv2 = phi i8 addrspace(1)* [ %scevgep3, %.lr.ph ], [ %arg1, %.lr.ph.preheader ]
16 br i1 %tmp, label %.lr.ph.preheader, label %._crit_edge
18 .lr.ph.preheader: ; preds = %bb
19 br label %.lr.ph
21 ._crit_edge.loopexit: ; preds = %.lr.ph
27 .lr.ph: ; preds = %.lr.ph, %.lr.ph.preheader
28 %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.lr.ph.preheader ]
40 br i1 %exitcond, label %._crit_edge.loopexit, label %.lr.ph
44 ; OPT: {{^}}.lr.ph.preheader:
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Thumb/
Dldm-stm-postinc.ll9 br i1 %1, label %._crit_edge, label %.lr.ph
11 .lr.ph: ; preds = %.lr.ph, %0
12 %i.02 = phi i32 [ %3, %.lr.ph ], [ 0, %0 ]
13 %.01 = phi i32* [ %4, %.lr.ph ], [ %a, %0 ]
18 br i1 %5, label %._crit_edge, label %.lr.ph
20 ._crit_edge: ; preds = %.lr.ph, %0
21 %i.0.lcssa = phi i32 [ 0, %0 ], [ %3, %.lr.ph ]
29 br i1 %1, label %._crit_edge, label %.lr.ph
31 .lr.ph: ; preds = %.lr.ph, %0
32 %i.02 = phi i32 [ %3, %.lr.ph ], [ 0, %0 ]
[all …]
/external/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/
Ddifferent-addrspace-addressing-mode-loops.ll9 ; OPT: {{^}}.lr.ph:
10 ; OPT: %lsr.iv2 = phi i8 addrspace(1)* [ %scevgep3, %.lr.ph ], [ %arg1, %.lr.ph.preheader ]
16 br i1 %tmp, label %.lr.ph.preheader, label %._crit_edge
18 .lr.ph.preheader: ; preds = %bb
19 br label %.lr.ph
21 ._crit_edge.loopexit: ; preds = %.lr.ph
27 .lr.ph: ; preds = %.lr.ph, %.lr.ph.preheader
28 %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.lr.ph.preheader ]
40 br i1 %exitcond, label %._crit_edge.loopexit, label %.lr.ph
44 ; OPT: {{^}}.lr.ph.preheader:
[all …]
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/kernel_tests/
Dsdca_ops_test.py258 lr = SdcaModel(examples, variables, options)
260 unregularized_loss = lr.unregularized_loss(examples)
261 loss = lr.regularized_loss(examples)
262 predictions = lr.predictions(examples)
265 train_op = lr.minimize()
268 lr.update_weights(train_op).run()
281 0.01, lr.approximate_duality_gap().eval(), rtol=1e-2, atol=1e-2)
306 lr = SdcaModel(examples, variables, options)
308 unregularized_loss = lr.unregularized_loss(examples)
309 loss = lr.regularized_loss(examples)
[all …]
/external/libxaac/decoder/armv7/
Dixheaacd_inv_dit_fft_8pt.s29 STMFD sp!, {r4-r12, lr}
41 LDR lr, [r0, #0x10]
43 QADD r10, lr, r6
44 QSUB r6, lr, r6
50 QSUB lr, r12, r10
61 STMIA sp, {r8, lr}
67 LDR lr, [r0, #0x28]
69 QADD r7, r5, lr
72 QSUB r5, r5, lr
73 LDR lr, [r0, #0x18]
[all …]
/external/selinux/libselinux/src/
Dlabel.c149 struct selabel_lookup_rec *lr, in selabel_fini() argument
156 if (compat_validate(rec, lr, path, lr->lineno)) in selabel_fini()
159 if (translating && !lr->ctx_trans && in selabel_fini()
160 selinux_raw_to_trans_context(lr->ctx_raw, &lr->ctx_trans)) in selabel_fini()
170 struct selabel_lookup_rec *lr; in selabel_lookup_common() local
177 lr = rec->func_lookup(rec, key, type); in selabel_lookup_common()
178 if (!lr) in selabel_lookup_common()
181 if (selabel_fini(rec, lr, translating)) in selabel_lookup_common()
184 return lr; in selabel_lookup_common()
191 struct selabel_lookup_rec *lr; in selabel_lookup_bm_common() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/ARM/
Darm-unroll.ll18 br i1 %1, label %.lr.ph, label %._crit_edge
20 .lr.ph: ; preds = %0, %.lr.ph
21 %i.02 = phi i32 [ %5, %.lr.ph ], [ 0, %0 ]
22 %sum.01 = phi i32 [ %4, %.lr.ph ], [ 0, %0 ]
28 br i1 %exitcond, label %._crit_edge, label %.lr.ph
30 ._crit_edge: ; preds = %.lr.ph, %0
31 %sum.0.lcssa = phi i32 [ 0, %0 ], [ %4, %.lr.ph ]
41 br i1 %1, label %.lr.ph, label %._crit_edge
43 .lr.ph:
44 %i.02 = phi i32 [ %5, %.lr.ph ], [ 0, %0 ]
[all …]
/external/llvm/test/Transforms/LoopVectorize/ARM/
Darm-unroll.ll18 br i1 %1, label %.lr.ph, label %._crit_edge
20 .lr.ph: ; preds = %0, %.lr.ph
21 %i.02 = phi i32 [ %5, %.lr.ph ], [ 0, %0 ]
22 %sum.01 = phi i32 [ %4, %.lr.ph ], [ 0, %0 ]
28 br i1 %exitcond, label %._crit_edge, label %.lr.ph
30 ._crit_edge: ; preds = %.lr.ph, %0
31 %sum.0.lcssa = phi i32 [ 0, %0 ], [ %4, %.lr.ph ]
41 br i1 %1, label %.lr.ph, label %._crit_edge
43 .lr.ph:
44 %i.02 = phi i32 [ %5, %.lr.ph ], [ 0, %0 ]
[all …]
/external/adhd/cras/src/tests/
Dlinear_resampler_unittest.cc24 struct linear_resampler *lr; in TEST() local
34 lr = linear_resampler_create(2, 4, 48000, 48001); in TEST()
37 rc = linear_resampler_resample(lr, in_buf + 4 * in_offset, &count, in TEST()
45 rc = linear_resampler_resample(lr, in_buf + 4 * in_offset, &count, in TEST()
57 linear_resampler_destroy(lr); in TEST()
65 struct linear_resampler *lr; in TEST() local
75 lr = linear_resampler_create(2, 4, 10, 11); in TEST()
78 rc = linear_resampler_resample(lr, in_buf + 4 * in_offset, &count, in TEST()
88 rc = linear_resampler_resample(lr, in_buf + 4 * in_offset, &count, in TEST()
96 rc = linear_resampler_resample(lr, in_buf + 4 * in_offset, &count, in TEST()
[all …]
/external/tensorflow/tensorflow/contrib/training/python/training/
Dsgdr_learning_rate_decay_test.py33 def get_original_values(self, lr, t_e, mult_factor, iter_per_epoch, epochs): argument
42 sh_lr = lr
52 new_lr = lr * (1.0 + math.sin(cur_t)) / 2.0 # lr_min = 0, lr_max = lr
55 sh_lr = lr
62 def get_sgdr_values(self, lr, initial_period_steps, t_mul, iters): argument
68 decay = sgdr_decay(lr, step, initial_period_steps, t_mul)
80 lr = 10.0
86 org_lr = self.get_original_values(lr, init_steps, t_mul, iters, epochs)
87 sgdr_lr = self.get_sgdr_values(lr, init_steps*iters, t_mul, iters*epochs)
98 lr = 0.1
[all …]
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
DLineRegionTest.java39 LineRegion lr = new LineRegion(0d, 0d); in testConstructor() local
40 assertEquals(0d, lr.getMinVal()); in testConstructor()
41 assertEquals(0d, lr.getMaxVal()); in testConstructor()
43 lr = new LineRegion(1.5d, -2d); in testConstructor()
44 assertEquals(-2d, lr.getMinVal()); in testConstructor()
45 assertEquals(1.5d, lr.getMaxVal()); in testConstructor()
47 lr = new LineRegion(10d, 20d); in testConstructor()
48 assertEquals(10d, lr.getMinVal()); in testConstructor()
49 assertEquals(20d, lr.getMaxVal()); in testConstructor()
78 LineRegion lr = new LineRegion(0, 10); in testLength() local
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/Thumb2/
Dthumb2-add.ll5 ; CHECK-NOT: bx lr
7 ; CHECK: bx lr
15 ; CHECK-NOT: bx lr
17 ; CHECK: bx lr
25 ; CHECK-NOT: bx lr
27 ; CHECK: bx lr
35 ; CHECK-NOT: bx lr
37 ; CHECK: bx lr
45 ; CHECK-NOT: bx lr
47 ; CHECK: bx lr
[all …]
/external/llvm/test/CodeGen/Thumb2/
Dthumb2-add.ll5 ; CHECK-NOT: bx lr
7 ; CHECK: bx lr
15 ; CHECK-NOT: bx lr
17 ; CHECK: bx lr
25 ; CHECK-NOT: bx lr
27 ; CHECK: bx lr
35 ; CHECK-NOT: bx lr
37 ; CHECK: bx lr
45 ; CHECK-NOT: bx lr
47 ; CHECK: bx lr
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Thumb2/
Dthumb2-add.ll5 ; CHECK-NOT: bx lr
7 ; CHECK: bx lr
15 ; CHECK-NOT: bx lr
17 ; CHECK: bx lr
25 ; CHECK-NOT: bx lr
27 ; CHECK: bx lr
35 ; CHECK-NOT: bx lr
37 ; CHECK: bx lr
45 ; CHECK-NOT: bx lr
47 ; CHECK: bx lr
[all …]

12345678910>>...89