/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
TeeOutputStream.java | 13 private OutputStream output1; field in class:TeeOutputStream 19 * @param output1 the output stream that is wrapped. 20 * @param output2 a secondary stream that anything written to output1 is also written to. 22 public TeeOutputStream(OutputStream output1, OutputStream output2) 24 this.output1 = output1; 31 this.output1.write(buf); 38 this.output1.write(buf, off, len); 45 this.output1.write(b); 52 this.output1.flush() [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue124/ |
DumpTest.java | 34 String output1 = yaml.dumpAsMap(bean); local 35 // System.out.println(output1); 36 assertEquals("a: aaa\nnumbers:\n- 1\n- 2\n- 3\n", output1); 45 String output1 = yaml.dumpAs(bean, new Tag("!!foo.bar"), FlowStyle.BLOCK); local 46 assertEquals("!!foo.bar\na: aaa\nnumbers:\n- 1\n- 2\n- 3\n", output1); 52 String output1 = yaml.dumpAs(bean, new Tag("!!foo.bar"), FlowStyle.FLOW); local 53 assertEquals("!!foo.bar {a: aaa, numbers: [1, 2, 3]}\n", output1); 59 String output1 = yaml.dumpAs(bean, new Tag("!!foo.bar"), FlowStyle.AUTO); local 60 assertEquals("!!foo.bar\na: aaa\nnumbers: [1, 2, 3]\n", output1); 66 String output1 = yaml.dumpAs(bean, new Tag("!!foo.bar"), null) local 75 String output1 = yaml.dumpAs(bean, new Tag("!!foo2.bar2"), null); local 82 String output1 = yaml.dumpAs(bean, null, FlowStyle.BLOCK); local [all...] |
/external/snakeyaml/src/test/java/org/pyyaml/ |
PyRecursiveTest.java | 39 String output1 = yaml.dump(value); local 40 assertTrue(output1.contains("!!org.pyyaml.AnInstance")); 41 assertTrue(output1.contains("&id001")); 42 assertTrue(output1.contains("&id002")); 43 assertTrue(output1.contains("*id001")); 44 assertTrue(output1.contains("*id002")); 45 assertTrue(output1.contains("foo")); 46 assertTrue(output1.contains("bar")); 47 Map<AnInstance, AnInstance> value2 = (Map<AnInstance, AnInstance>) yaml.load(output1); 62 String output1 = yaml.dump(value) local 80 String output1 = yaml.dump(value); local 102 String output1 = yaml.dump(value); local 121 String output1 = yaml.dump(value); local [all...] |
/external/llvm/test/DebugInfo/Inputs/ |
dwarfdump-test.cc | 26 // $ cp <output> output1.dwz 28 // $ dwz -m output.dwz -r output1.dwz output2.dwz
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
filter_ar_fast_q12_armv7.S | 85 smulbb r6, r10, r9 @ output1 = coefficients[0] * data_in[i]; 86 sub r6, r7 @ output1 -= sum1; 97 sub r6, r8 @ output1 -= sum1; 139 smulbb r6, r10, r9 @ output1 = coefficients[0] * data_in[i]; 140 sub r6, r7 @ output1 -= sum1; 141 sub r6, r8 @ output1 -= sum1; 167 @ int32_t output1 = 0; 185 @ output1 = coefficients[0] * data_in[i]; 186 @ output1 -= sum1; 188 @ output1 = WEBRTC_SPL_SAT(134215679, output1, -134217728) [all...] |
/external/libchrome/crypto/ |
sha2_unittest.cc | 24 uint8_t output1[crypto::kSHA256Length]; local 25 crypto::SHA256HashString(input1, output1, sizeof(output1)); 27 EXPECT_EQ(expected1[i], static_cast<int>(output1[i])); 49 std::string output1 = crypto::SHA256HashString(input1); local 50 ASSERT_EQ(crypto::kSHA256Length, output1.size()); 52 EXPECT_EQ(expected1[i], static_cast<uint8_t>(output1[i]));
|
secure_hash_unittest.cc | 51 uint8_t output1[crypto::kSHA256Length]; local 67 ctx1->Finish(output1, sizeof(output1)); 76 EXPECT_EQ(0, memcmp(output1, output2, crypto::kSHA256Length));
|
/external/libweave/third_party/chromium/crypto/ |
sha2_unittest.cc | 23 uint8_t output1[crypto::kSHA256Length]; local 24 crypto::SHA256HashString(input1, output1, sizeof(output1)); 26 EXPECT_EQ(expected1[i], static_cast<int>(output1[i])); 48 std::string output1 = crypto::SHA256HashString(input1); local 49 ASSERT_EQ(crypto::kSHA256Length, output1.size()); 51 EXPECT_EQ(expected1[i], static_cast<uint8_t>(output1[i]));
|
/device/google/dragon/audio/hal/dsp/ |
.dsp_util.c.swp | 42 ? ? ? z Z : ? ? ? ? ? ? ? s Y ? % ? ? ? ? ? ? ? ~ s b ) ? ? ? g d b 6 5 . - #endif #define interleave_stereo interleave_stereo } } *output++ = max(-32768, min(32767, (int)(f * 32768.0f))); f += (f > 0) ? (0.5f / 32768.0f) : (-0.5f / 32768.0f); f = *input2++; *output++ = max(-32768, min(32767, (int)(f * 32768.0f))); f += (f > 0) ? (0.5f / 32768.0f) : (-0.5f / 32768.0f); f = *input1++; float f; while (frames--) { /* The remaining samples */ } ); "q0", "q1", "q2", "q3", "q4", "memory", "cc" : /* clobber */ [neg]"w"(neg) [pos]"w"(pos), [output]"3"(output), [input2]"2"(input2), [input1]"1"(input1), [chunk]"0"(chunk), : /* input */ "=r"(output) "=r"(input2), "=r"(input1), "=r"(chunk), : /* output */ "bne 1b \n" "vst2.16 {d2-d3}, [%[output]]! \n" "vqmovn.s32 d3, q2 \n" "vqmovn.s32 d2, q1 \n" "vcvt.s32.f32 q2, q2, #15 \n" "vcvt.s32.f32 q1, q1, #15 \n" "vadd.f32 q2, q2, q4 \n" "vadd.f32 q1, q1, q3 \n" "vbsl q4, %q[pos], %q[neg] \n" "vbsl q3, %q[pos], %q[neg] \n" "vcgt.f32 q4, q2, q0 \n" "vcgt.f32 q3, q1, q0 \n" */ * input, then truncate. * to positive input, and adding -0.5 to the negative /* We try to round to the nearest number by adding 0.5 "subs %[chunk], #1 \n" "vld1.32 {d4-d5}, [%[input2]]! \n" "vld1.32 {d2-d3}, [%[input1]]! \n" "1: \n" "veor q0, q0, q0 \n" __asm__ __volatile__ ( if (chunk) { frames &= 3; int chunk = frames >> 2; float32x4_t neg = vdupq_n_f32(-0.5f / 32768.0f); float32x4_t pos = vdupq_n_f32(0.5f / 32768.0f); /* L0 L1 L2 L3, R0 R1 R2 R3 -> L0 R0 L1 R1, L2 R2 L3 R3 */ /* Process 4 frames (8 samples) each loop. */ { int16_t *output, int frames) static void interleave_stereo(float *input1, float *input2, #define deinterleave_stereo deinterleave_stereo } } *output2++ = *input++ / 32768.0f; *output1++ = *input++ / 32768.0f; while (frames--) { /* The remaining samples. */ } ); "q0", "q1", "q2", "q3", "memory", "cc" : /* clobber */ : /* input */ [output2]"+r"(output2) [output1]"+r"(output1), [input]"+r"(input), [chunk]"+r"(chunk), : /* output */ "bne 1b \n" "vst1.32 {d0-d3}, [%[output1]]! \n" "vst1.32 {d4-d7}, [%[output2]]! \n" "vcvt.f32.s32 q0, q0, #15 \n" "vcvt.f32.s32 q1, q1, #15 \n" "vcvt.f32.s32 q2, q2, #15 \n" "vcvt.f32.s32 q3, q3, #15 \n" "vmovl.s16 q0, d0 \n" "vmovl.s16 q1, d1 \n" "vmovl.s16 q2, d2 \n" "vmovl.s16 q3, d3 \n" "subs %[chunk], #1 \n" "vld2.16 {d0-d3}, [%[input]]! \n" "1: \n" __asm__ __volatile__ ( if (chunk) { frames &= 7; int chunk = frames >> 3; /* L0 R0 L1 R1 L2 R2 L3 R3... -> L0 L1 L2 L3... R0 R1 R2 R3... */ /* Process 8 frames (16 samples) each loop. */ { float *output2, int frames) static void deinterleave_stereo(int16_t *input, float *output1, #include <arm_neon.h> |