/external/pffft/ |
D | pf_carrier.cpp | 41 void generate_dc_f(float* output, int size) in generate_dc_f() argument 46 output[i++]=(127.0F / 128.0F); in generate_dc_f() 47 output[i++]=0.0F; in generate_dc_f() 52 void generate_dc_s16(short* output, int size) in generate_dc_s16() argument 57 output[i++]=SHRT_MAX; in generate_dc_s16() 58 output[i++]=0; in generate_dc_s16() 63 void generate_pos_fs4_f(float* output, int size) in generate_pos_fs4_f() argument 70 output[i++]=(127.0F / 128.0F); in generate_pos_fs4_f() 71 output[i++]=0.0F; in generate_pos_fs4_f() 73 output[i++]=0.0F; in generate_pos_fs4_f() [all …]
|
/external/libvpx/libvpx/vpx_dsp/ |
D | fwd_txfm.c | 15 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride) { in vpx_fdct4x4_c() argument 70 out = output; in vpx_fdct4x4_c() 76 for (j = 0; j < 4; ++j) output[j + i * 4] = (output[j + i * 4] + 1) >> 2; in vpx_fdct4x4_c() 81 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride) { in vpx_fdct4x4_1_c() argument 87 output[0] = sum * 2; in vpx_fdct4x4_1_c() 90 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride) { in vpx_fdct8x8_c() argument 165 out = output; in vpx_fdct8x8_c() 170 for (j = 0; j < 8; ++j) output[j + i * 8] /= 2; in vpx_fdct8x8_c() 174 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride) { in vpx_fdct8x8_1_c() argument 180 output[0] = sum; in vpx_fdct8x8_1_c() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_sys_settrace.py | 14 def __init__(self, output, value): argument 15 self.output = output 19 self.output.append(self.value) 22 self.output.append(-self.value) 26 def __init__(self, output, value): argument 27 self.output = output 31 self.output.append(self.value) 34 self.output.append(-self.value) 768 def no_jump_to_non_integers(output): argument 770 output.append(2) [all …]
|
/external/mesa3d/src/amd/compiler/ |
D | aco_print_ir.cpp | 60 static void print_reg_class(const RegClass rc, FILE *output) in print_reg_class() argument 63 case RegClass::s1: fprintf(output, " s1: "); return; in print_reg_class() 64 case RegClass::s2: fprintf(output, " s2: "); return; in print_reg_class() 65 case RegClass::s3: fprintf(output, " s3: "); return; in print_reg_class() 66 case RegClass::s4: fprintf(output, " s4: "); return; in print_reg_class() 67 case RegClass::s6: fprintf(output, " s6: "); return; in print_reg_class() 68 case RegClass::s8: fprintf(output, " s8: "); return; in print_reg_class() 69 case RegClass::s16: fprintf(output, "s16: "); return; in print_reg_class() 70 case RegClass::v1: fprintf(output, " v1: "); return; in print_reg_class() 71 case RegClass::v2: fprintf(output, " v2: "); return; in print_reg_class() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_sys_settrace.py | 12 def __init__(self, output, value): argument 13 self.output = output 17 self.output.append(self.value) 20 self.output.append(-self.value) 520 def no_jump_to_non_integers(output): argument 522 output.append(2) 524 output.append('integer' in str(e)) 557 output = [] 559 func(output) 562 func(output) [all …]
|
/external/pigweed/pw_rpc/py/pw_rpc/ |
D | codegen.py | 46 output: OutputFile, includes: IncludesGenerator, 51 output.write_line(f'// {os.path.basename(output.name())} automatically ' 53 output.write_line(f'// on {datetime.now().isoformat()}') 54 output.write_line('// clang-format off') 55 output.write_line('#pragma once\n') 57 output.write_line('#include <array>') 58 output.write_line('#include <cstdint>') 59 output.write_line('#include <type_traits>\n') 69 output.write_line(include_line) 71 output.write_line() [all …]
|
D | codegen_nanopb.py | 43 output: OutputFile) -> None: 50 output.write_line( 55 with output.indent(4): 56 output.write_line(f'0x{method_id:08x}, // Hash of "{method.name()}"') 57 output.write_line(f'{req_fields},') 58 output.write_line(f'{res_fields}),') 61 def _generate_server_writer_alias(output: OutputFile) -> None: 62 output.write_line('template <typename T>') 63 output.write_line('using ServerWriter = ::pw::rpc::ServerWriter<T>;') 67 output: OutputFile) -> None: [all …]
|
/external/libvpx/libvpx/test/ |
D | vpxenc.sh | 129 local output="${VPX_TEST_OUTPUT_DIR}/vp8.ivf" 134 --output="${output}" 136 if [ ! -e "${output}" ]; then 146 local output="${VPX_TEST_OUTPUT_DIR}/vp8.webm" 150 --output="${output}" 152 if [ ! -e "${output}" ]; then 162 local output="${VPX_TEST_OUTPUT_DIR}/vp8_rt.webm" 165 --output="${output}" 166 if [ ! -e "${output}" ]; then 176 local output="${VPX_TEST_OUTPUT_DIR}/vp8.webm" [all …]
|
/external/XNNPACK/src/x8-zip/ |
D | xm-sse2.c | 18 uint8_t* output) in xnn_x8_zip_xm_ukernel__sse2() argument 24 uint8_t* last_output = (uint8_t*) ((uintptr_t) output + (m - 4)); in xnn_x8_zip_xm_ukernel__sse2() 54 *((uint32_t*) output) = _mm_cvtsi128_si32(vxyzw0); in xnn_x8_zip_xm_ukernel__sse2() 55 output = (uint8_t*) ((uintptr_t) output + m); in xnn_x8_zip_xm_ukernel__sse2() 57 *((uint32_t*) output) = _mm_cvtsi128_si32(vxyzw0); in xnn_x8_zip_xm_ukernel__sse2() 58 output = (uint8_t*) ((uintptr_t) output + m); in xnn_x8_zip_xm_ukernel__sse2() 60 *((uint32_t*) output) = _mm_cvtsi128_si32(vxyzw0); in xnn_x8_zip_xm_ukernel__sse2() 61 output = (uint8_t*) ((uintptr_t) output + m); in xnn_x8_zip_xm_ukernel__sse2() 63 *((uint32_t*) output) = _mm_cvtsi128_si32(vxyzw0); in xnn_x8_zip_xm_ukernel__sse2() 64 output = (uint8_t*) ((uintptr_t) output + m); in xnn_x8_zip_xm_ukernel__sse2() [all …]
|
D | xm-neon.c | 18 uint8_t* output) in xnn_x8_zip_xm_ukernel__neon() argument 24 uint8_t* last_output = (uint8_t*) ((uintptr_t) output + (m - 4)); in xnn_x8_zip_xm_ukernel__neon() 47 … vst1_lane_u32(__builtin_assume_aligned(output, 1), vreinterpret_u32_u16(vxyzw_lo.val[0]), 0); in xnn_x8_zip_xm_ukernel__neon() 48 output = (uint8_t*) ((uintptr_t) output + m); in xnn_x8_zip_xm_ukernel__neon() 50 … vst1_lane_u32(__builtin_assume_aligned(output, 1), vreinterpret_u32_u16(vxyzw_lo.val[0]), 1); in xnn_x8_zip_xm_ukernel__neon() 51 output = (uint8_t*) ((uintptr_t) output + m); in xnn_x8_zip_xm_ukernel__neon() 53 … vst1_lane_u32(__builtin_assume_aligned(output, 1), vreinterpret_u32_u16(vxyzw_lo.val[1]), 0); in xnn_x8_zip_xm_ukernel__neon() 54 output = (uint8_t*) ((uintptr_t) output + m); in xnn_x8_zip_xm_ukernel__neon() 56 … vst1_lane_u32(__builtin_assume_aligned(output, 1), vreinterpret_u32_u16(vxyzw_lo.val[1]), 1); in xnn_x8_zip_xm_ukernel__neon() 57 output = (uint8_t*) ((uintptr_t) output + m); in xnn_x8_zip_xm_ukernel__neon() [all …]
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_ENUMOUTPUT.c | 40 struct v4l2_output output; in test_VIDIOC_ENUMOUTPUT() local 46 memset(&output, 0xff, sizeof(output)); in test_VIDIOC_ENUMOUTPUT() 47 output.index = i; in test_VIDIOC_ENUMOUTPUT() 48 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMOUTPUT, &output); in test_VIDIOC_ENUMOUTPUT() 57 CU_ASSERT_EQUAL(output.index, i); in test_VIDIOC_ENUMOUTPUT() 59 CU_ASSERT(0 < strlen((char *)output.name)); in test_VIDIOC_ENUMOUTPUT() 61 ((char *)output.name, sizeof(output.name))); in test_VIDIOC_ENUMOUTPUT() 66 CU_ASSERT(valid_v4l2_std_id(output.std)); in test_VIDIOC_ENUMOUTPUT() 67 CU_ASSERT_EQUAL(output.reserved[0], 0); in test_VIDIOC_ENUMOUTPUT() 68 CU_ASSERT_EQUAL(output.reserved[1], 0); in test_VIDIOC_ENUMOUTPUT() [all …]
|
/external/pigweed/pw_base64/ |
D | base64_test.cc | 284 char output[32]; in TEST() local 289 output); in TEST() 290 output[size] = '\0'; in TEST() 291 EXPECT_STREQ(data.encoded_data, output); in TEST() 296 char output[128]; in TEST() local 301 output); in TEST() 302 output[size] = '\0'; in TEST() 303 EXPECT_STREQ(data.encoded_data, output); in TEST() 309 char output[5] = {}; in TEST() local 311 EXPECT_EQ(0u, Encode(data, std::span(output, 3))); in TEST() [all …]
|
/external/libaom/libaom/test/ |
D | aomenc.sh | 85 local output="${AV1_IVF_FILE}" 87 output="${AOM_TEST_OUTPUT_DIR}/av1_test.ivf" 92 --output="${output}" 94 if [ ! -e "${output}" ]; then 103 local output="${AV1_OBU_ANNEXB_FILE}" 105 output="${AOM_TEST_OUTPUT_DIR}/av1_test.annexb.obu" 111 --output="${output}" 113 if [ ! -e "${output}" ]; then 122 local output="${AV1_OBU_SEC5_FILE}" 124 output="${AOM_TEST_OUTPUT_DIR}/av1_test.section5.obu" [all …]
|
/external/libchrome/base/strings/ |
D | string_number_conversions_unittest.cc | 75 std::string output; in TEST() member 84 EXPECT_EQ(cases[i].output, NumberToString(cases[i].input)); in TEST() 93 std::string output; in TEST() member 107 EXPECT_EQ(cases[i].output, NumberToString(cases[i].input)); in TEST() 113 int output; in TEST() member 143 int output = cases[i].output ^ 1; // Ensure StringToInt wrote something. in TEST() local 144 EXPECT_EQ(cases[i].success, StringToInt(cases[i].input, &output)); in TEST() 145 EXPECT_EQ(cases[i].output, output); in TEST() 148 output = cases[i].output ^ 1; // Ensure StringToInt wrote something. in TEST() 149 EXPECT_EQ(cases[i].success, StringToInt(utf16_input, &output)); in TEST() [all …]
|
/external/webrtc/common_audio/ |
D | fir_filter_unittest.cc | 32 const float* output, in VerifyOutput() argument 35 0, memcmp(expected_output, output, length * sizeof(expected_output[0]))); in VerifyOutput() 42 float output[kInputLength]; in TEST() local 45 filter->Filter(kInput, kInputLength, output); in TEST() 47 VerifyOutput(kInput, output, kInputLength); in TEST() 52 float output[kInputLength]; in TEST() local 55 filter->Filter(kInput, kInputLength, output); in TEST() 57 EXPECT_FLOAT_EQ(5.f, output[0]); in TEST() 58 EXPECT_FLOAT_EQ(20.f, output[3]); in TEST() 59 EXPECT_FLOAT_EQ(25.f, output[4]); in TEST() [all …]
|
/external/googletest/googlemock/test/ |
D | gmock_output_test.py | 64 def RemoveReportHeaderAndFooter(output): argument 67 output = re.sub(r'.*gtest_main.*\n', '', output) 68 output = re.sub(r'\[.*\d+ tests.*\n', '', output) 69 output = re.sub(r'\[.* test environment .*\n', '', output) 70 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output) 71 output = re.sub(r'.* FAILED TESTS\n', '', output) 72 return output 75 def RemoveLocations(output): argument 88 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output) 91 def NormalizeErrorMarker(output): argument [all …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | ClassFileWriter.java | 76 private ByteStream output; field in ClassFileWriter 89 output = new ByteStream(512); in ClassFileWriter() 90 output.writeInt(0xCAFEBABE); // magic in ClassFileWriter() 91 output.writeShort(minor); in ClassFileWriter() 92 output.writeShort(major); in ClassFileWriter() 93 constPool = new ConstPoolWriter(output); in ClassFileWriter() 130 output.writeShort(accessFlags); in end() 131 output.writeShort(thisClass); in end() 132 output.writeShort(superClass); in end() 134 output.writeShort(0); in end() [all …]
|
/external/libchrome/base/ |
D | base64url_unittest.cc | 15 std::string output; in TEST() local 17 &output); in TEST() 20 EXPECT_EQ("aGVsbG8_d29ybGQ=", output); in TEST() 23 Base64UrlEncode("??", Base64UrlEncodePolicy::INCLUDE_PADDING, &output); in TEST() 24 EXPECT_EQ("Pz8=", output); in TEST() 26 Base64UrlEncode("", Base64UrlEncodePolicy::INCLUDE_PADDING, &output); in TEST() 27 EXPECT_EQ("", output); in TEST() 31 std::string output; in TEST() local 32 Base64UrlEncode("hello?world", Base64UrlEncodePolicy::OMIT_PADDING, &output); in TEST() 35 EXPECT_EQ("aGVsbG8_d29ybGQ", output); in TEST() [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | zip_writer.cc | 155 io::CodedOutputStream output(raw_output_); in Write() local 156 output.WriteLittleEndian32(0x04034b50); // magic in Write() 157 WriteShort(&output, 10); // version needed to extract in Write() 158 WriteShort(&output, 0); // flags in Write() 159 WriteShort(&output, 0); // compression method: stored in Write() 160 WriteShort(&output, 0); // last modified time in Write() 161 WriteShort(&output, kDosEpoch); // last modified date in Write() 162 output.WriteLittleEndian32(info.crc32); // crc-32 in Write() 163 output.WriteLittleEndian32(info.size); // compressed size in Write() 164 output.WriteLittleEndian32(info.size); // uncompressed size in Write() [all …]
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 103 StringBuilder output; in doPost() local 142 StringBuilder output = new StringBuilder( in getOutputForFile() local 145 output.append("<TABLE align=center border=1>"); in getOutputForFile() 146 output.append("<TH align=center>ID</TH>"); in getOutputForFile() 147 output.append("<TH align=center>Raw phone number</TH>"); in getOutputForFile() 148 output.append("<TH align=center>Pretty formatting</TH>"); in getOutputForFile() 149 output.append("<TH align=center>International format</TH>"); in getOutputForFile() 156 output.append("<TR>"); in getOutputForFile() 157 output.append("<TD align=center>").append(phoneNumberId).append(" </TD> \n"); in getOutputForFile() 158 output.append("<TD align=center>").append( in getOutputForFile() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/ |
D | protoc-gen-upbdefs.cc | 28 void GenerateMessageDefAccessor(const protobuf::Descriptor* d, Output& output) { in GenerateMessageDefAccessor() argument 29 output("UPB_INLINE const upb_msgdef *$0_getmsgdef(upb_symtab *s) {\n", in GenerateMessageDefAccessor() 31 output(" _upb_symtab_loaddefinit(s, &$0);\n", DefInitSymbol(d->file())); in GenerateMessageDefAccessor() 32 output(" return upb_symtab_lookupmsg(s, \"$0\");\n", d->full_name()); in GenerateMessageDefAccessor() 33 output("}\n"); in GenerateMessageDefAccessor() 34 output("\n"); in GenerateMessageDefAccessor() 37 GenerateMessageDefAccessor(d->nested_type(i), output); in GenerateMessageDefAccessor() 41 void WriteDefHeader(const protobuf::FileDescriptor* file, Output& output) { in WriteDefHeader() argument 42 EmitFileWarning(file, output); in WriteDefHeader() 44 output( in WriteDefHeader() [all …]
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/propagation/ |
D | TagContextDeserializationTest.java | 81 ByteArrayDataOutput output = ByteStreams.newDataOutput(); in testDeserializeTooLargeByteArrayThrowException() local 82 output.write(SerializationUtils.VERSION_ID); in testDeserializeTooLargeByteArrayThrowException() 95 encodeTagToOutput(str, str, output); in testDeserializeTooLargeByteArrayThrowException() 99 encodeTagToOutput("last", "last1", output); in testDeserializeTooLargeByteArrayThrowException() 101 byte[] bytes = output.toByteArray(); in testDeserializeTooLargeByteArrayThrowException() 112 ByteArrayDataOutput output = ByteStreams.newDataOutput(); in testDeserializeTooLargeByteArrayThrowException_WithDuplicateTagKeys() local 113 output.write(SerializationUtils.VERSION_ID); in testDeserializeTooLargeByteArrayThrowException_WithDuplicateTagKeys() 126 encodeTagToOutput("key_", str, output); in testDeserializeTooLargeByteArrayThrowException_WithDuplicateTagKeys() 130 encodeTagToOutput("key_", "last1", output); in testDeserializeTooLargeByteArrayThrowException_WithDuplicateTagKeys() 132 byte[] bytes = output.toByteArray(); in testDeserializeTooLargeByteArrayThrowException_WithDuplicateTagKeys() [all …]
|
/external/webrtc/modules/audio_processing/aec3/ |
D | moving_average_unittest.cc | 26 std::array<float, num_elem> output; in TEST() local 28 ma.Average(data1, output); in TEST() 29 EXPECT_NEAR(output[0], data1[0] / 3.0f, e); in TEST() 30 EXPECT_NEAR(output[1], data1[1] / 3.0f, e); in TEST() 31 EXPECT_NEAR(output[2], data1[2] / 3.0f, e); in TEST() 32 EXPECT_NEAR(output[3], data1[3] / 3.0f, e); in TEST() 34 ma.Average(data2, output); in TEST() 35 EXPECT_NEAR(output[0], (data1[0] + data2[0]) / 3.0f, e); in TEST() 36 EXPECT_NEAR(output[1], (data1[1] + data2[1]) / 3.0f, e); in TEST() 37 EXPECT_NEAR(output[2], (data1[2] + data2[2]) / 3.0f, e); in TEST() [all …]
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/html/ |
D | HTMLFormatterTest.java | 39 private MemoryMultiReportOutput output; field in HTMLFormatterTest 45 output = new MemoryMultiReportOutput(); in setup() 50 output.assertAllClosed(); in teardown() 55 driver.sendNestedGroups(formatter.createVisitor(output)); in testStructureWithNestedGroups() 56 output.assertFile("index.html"); in testStructureWithNestedGroups() 57 output.assertFile("group1/index.html"); in testStructureWithNestedGroups() 58 output.assertFile("group1/group/index.html"); in testStructureWithNestedGroups() 59 output.assertFile("group1/group/bundle/index.html"); in testStructureWithNestedGroups() 60 output.assertFile("bundle/index.html"); in testStructureWithNestedGroups() 65 driver.sendGroup(formatter.createVisitor(output)); in testStructureWithGroup() [all …]
|
/external/webrtc/rtc_base/ |
D | message_digest_unittest.cc | 28 char output[16]; in TEST() local 29 EXPECT_EQ(sizeof(output), in TEST() 30 ComputeDigest(DIGEST_MD5, "abc", 3, output, sizeof(output))); in TEST() 32 hex_encode(output, sizeof(output))); in TEST() 34 ComputeDigest(DIGEST_MD5, "abc", 3, output, sizeof(output) - 1)); in TEST() 50 char output[20]; in TEST() local 51 EXPECT_EQ(sizeof(output), in TEST() 52 ComputeDigest(DIGEST_SHA_1, "abc", 3, output, sizeof(output))); in TEST() 54 hex_encode(output, sizeof(output))); in TEST() 56 ComputeDigest(DIGEST_SHA_1, "abc", 3, output, sizeof(output) - 1)); in TEST() [all …]
|