/external/python/cpython2/Lib/test/ |
D | test_aifc.py | 145 fout = aifc.open(io.BytesIO(), 'wb') 146 self.assertEqual(fout.getmarkers(), None) 147 fout.setmark(1, 0, 'foo1') 148 fout.setmark(1, 1, 'foo2') 149 self.assertEqual(fout.getmark(1), (1, 1, 'foo2')) 150 self.assertEqual(fout.getmarkers(), [(1, 1, 'foo2')]) 151 fout.initfp(None) 154 fout = self.fout = aifc.open(TESTFN, 'wb') 155 fout.aiff() 156 fout.setparams((1, 1, 1, 1, 'NONE', '')) [all …]
|
D | audiotests.py | 42 self.f = self.fout = None 47 if self.fout is not None: 48 self.fout.close() 72 f = self.fout = self.module.open(testfile, 'wb') 159 self.fout = None 220 fout = self.fout = self.module.open(testfile, 'wb') 223 fout.close() 225 fout.close() # do nothing 253 fout = self.fout = self.module.open(TESTFN, 'wb') 254 fout.setparams(f.getparams()) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_aifc.py | 168 self.fout = aifc.open(TESTFN, 'wb') 188 fout = aifc.open(io.BytesIO(), 'wb') 189 fout.setnchannels(1) 190 fout.setframerate(1) 191 fout.setcomptype(comptype, b'') 192 fout.close() 193 self.assertEqual(fout.getsampwidth(), 2) 194 fout.initfp(None) 197 fout = aifc.open(io.BytesIO(), 'wb') 198 self.assertEqual(fout.getmarkers(), None) [all …]
|
/external/tensorflow/tensorflow/lite/tools/ |
D | gen_op_registration_main.cc | 65 std::ofstream fout(filename); in GenerateFileContent() local 69 fout << "#include \"" << tflite_path << "/micro/kernels/micro_ops.h\"\n"; in GenerateFileContent() 71 fout << "#include \"" << tflite_path in GenerateFileContent() 75 fout << "#include \"" << tflite_path in GenerateFileContent() 78 fout << "#include \"" << tflite_path << "/model.h\"\n"; in GenerateFileContent() 79 fout << "#include \"" << tflite_path << "/op_resolver.h\"\n"; in GenerateFileContent() 83 fout << "namespace tflite {\n"; in GenerateFileContent() 84 fout << "namespace ops {\n"; in GenerateFileContent() 85 fout << "namespace custom {\n"; in GenerateFileContent() 86 fout << "// Forward-declarations for the custom ops.\n"; in GenerateFileContent() [all …]
|
/external/flac/src/utils/flactimer/ |
D | main.cpp | 38 static void printtime(FILE *fout, uint64_t nsec, uint64_t total) in printtime() argument 45 fprintf(fout, " %5u.%03u = %02u:%02u:%02u.%03u = %3u%%\n", in printtime() 59 FILE *fout = stderr; in main() local 68 fout = stdout; in main() 73 fout = stdout; in main() 82 fout = fopen(argv[1], "w"); in main() 83 if(!fout) { in main() 91 fprintf(fout, "ERROR, no command!\n\n"); in main() 92 fprintf(fout, usage); in main() 93 fclose(fout); in main() [all …]
|
/external/webp/imageio/ |
D | image_enc.c | 207 int WebPWritePNG(FILE* fout, const WebPDecBuffer* const buffer) { in WebPWritePNG() argument 208 if (fout == NULL || buffer == NULL) return 0; in WebPWritePNG() 220 static int WritePPMPAM(FILE* fout, const WebPDecBuffer* const buffer, in WritePPMPAM() argument 222 if (fout == NULL || buffer == NULL) { in WritePPMPAM() 235 fprintf(fout, "P7\nWIDTH %u\nHEIGHT %u\nDEPTH 4\nMAXVAL 255\n" in WritePPMPAM() 238 fprintf(fout, "P6\n%u %u\n255\n", width, height); in WritePPMPAM() 241 if (fwrite(row, width, bytes_per_px, fout) != bytes_per_px) { in WritePPMPAM() 250 int WebPWritePPM(FILE* fout, const WebPDecBuffer* const buffer) { in WebPWritePPM() argument 251 return WritePPMPAM(fout, buffer, 0); in WebPWritePPM() 254 int WebPWritePAM(FILE* fout, const WebPDecBuffer* const buffer) { in WebPWritePAM() argument [all …]
|
D | image_enc.h | 64 int WebPWritePPM(FILE* fout, const struct WebPDecBuffer* const buffer); 67 int WebPWritePAM(FILE* fout, const struct WebPDecBuffer* const buffer); 70 int WebPWrite16bAsPGM(FILE* fout, const struct WebPDecBuffer* const buffer); 73 int WebPWriteBMP(FILE* fout, const struct WebPDecBuffer* const buffer); 76 int WebPWriteTIFF(FILE* fout, const struct WebPDecBuffer* const buffer); 79 int WebPWriteAlphaPlane(FILE* fout, const struct WebPDecBuffer* const buffer); 84 int WebPWritePGM(FILE* fout, const struct WebPDecBuffer* const buffer); 87 int WebPWriteYUV(FILE* fout, const struct WebPDecBuffer* const buffer); 90 int WebPWrite16bAsPGM(FILE* fout, const struct WebPDecBuffer* const buffer);
|
/external/perfetto/src/tools/ftrace_proto_gen/ |
D | ftrace_descriptor_gen.cc | 26 std::ostream* fout) { in GenerateFtraceDescriptors() argument 37 *fout << R"(/* in GenerateFtraceDescriptors() 54 *fout << "// Autogenerated by:\n"; in GenerateFtraceDescriptors() 55 *fout << std::string("// ") + __FILE__ + "\n"; in GenerateFtraceDescriptors() 56 *fout << "// Do not edit.\n"; in GenerateFtraceDescriptors() 57 *fout << R"( in GenerateFtraceDescriptors() 66 *fout << std::to_string(max_id + 1) + "> descriptors{{"; in GenerateFtraceDescriptors() 74 *fout << "{nullptr, 0, {}},"; in GenerateFtraceDescriptors() 86 *fout << "{\"" + event->name() + "\", " << max_field_id << ", " in GenerateFtraceDescriptors() 94 *fout << "{},"; in GenerateFtraceDescriptors() [all …]
|
D | ftrace_proto_gen.cc | 107 std::ostream* fout) { in GenerateFtraceEventProto() argument 108 *fout << kCopyrightHeader; in GenerateFtraceEventProto() 109 *fout << "// Autogenerated by:\n"; in GenerateFtraceEventProto() 110 *fout << std::string("// ") + __FILE__ + "\n"; in GenerateFtraceEventProto() 111 *fout << "// Do not edit.\n\n"; in GenerateFtraceEventProto() 112 *fout << R"(syntax = "proto2";)" in GenerateFtraceEventProto() 116 *fout << R"(import "protos/perfetto/trace/ftrace/)" << group in GenerateFtraceEventProto() 120 *fout << "import \"protos/perfetto/trace/ftrace/generic.proto\";\n"; in GenerateFtraceEventProto() 121 *fout << "\n"; in GenerateFtraceEventProto() 122 *fout << "package perfetto.protos;\n\n"; in GenerateFtraceEventProto() [all …]
|
/external/jsoncpp/test/ |
D | pyjsontestrunner.py | 25 def valueTreeToString(fout, value, path = '.'): argument 28 fout.write('%s={}\n' % path) 33 valueTreeToString(fout, value[name], path + suffix + name) 35 fout.write('%s=[]\n' % path) 37 valueTreeToString(fout, childValue, path + '[%d]' % index) 39 fout.write('%s="%s"\n' % (path,value)) 41 fout.write('%s=%d\n' % (path,value)) 43 fout.write('%s=%.16g\n' % (path,value)) 45 fout.write('%s=true\n' % path) 47 fout.write('%s=false\n' % path) [all …]
|
/external/libopus/src/ |
D | repacketizer_demo.c | 61 FILE *fin, *fout; in main() local 105 fout = fopen(argv[argc-1], "w"); in main() 106 if(fout==NULL) in main() 130 fclose(fout); in main() 145 fclose(fout); in main() 158 fclose(fout); in main() 171 fclose(fout); in main() 194 if(fwrite(int_field, 1, 4, fout)!=4){ in main() 199 if (fwrite(int_field, 1, 4, fout)!=4) { in main() 203 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) { in main() [all …]
|
/external/mesa3d/src/util/ |
D | os_misc.c | 81 static FILE *fout = NULL; in os_log_message() local 83 if (!fout) { in os_log_message() 96 fout = fopen(filename, mode); in os_log_message() 99 if (!fout) in os_log_message() 100 fout = stderr; in os_log_message() 107 fputs(message, fout); in os_log_message() 108 fflush(fout); in os_log_message() 110 else if (fout != stderr) { in os_log_message() 111 fputs(message, fout); in os_log_message() 112 fflush(fout); in os_log_message() [all …]
|
/external/arm-trusted-firmware/tools/amlogic/ |
D | doimage.c | 46 int fin, fout, ret = -1; in main() local 62 fout = open(argv[2], O_WRONLY | O_CREAT, 0660); in main() 63 if (fout < 0) { in main() 69 if (fdwrite(fout, (uint8_t *)&data, sizeof(data)) < 0) in main() 72 lseek(fout, 8, SEEK_SET); in main() 74 if (fdwrite(fout, (uint8_t *)&data, sizeof(data)) < 0) in main() 77 lseek(fout, 0x200, SEEK_SET); in main() 79 if (fdwrite(fout, buf, len) < 0) in main() 89 close(fout); in main()
|
/external/libgav1/examples/ |
D | gav1_decode.cc | 66 void PrintHelp(FILE* const fout) { in PrintHelp() argument 67 fprintf(fout, in PrintHelp() 70 fprintf(fout, "\n"); in PrintHelp() 71 fprintf(fout, "Options:\n"); in PrintHelp() 72 fprintf(fout, " -h, --help This help message.\n"); in PrintHelp() 73 fprintf(fout, " --threads <positive integer> (Default 1).\n"); in PrintHelp() 74 fprintf(fout, " --frame_parallel.\n"); in PrintHelp() 75 fprintf(fout, in PrintHelp() 77 fprintf(fout, " --skip <integer> Skip initial N frames (Default 0).\n"); in PrintHelp() 78 fprintf(fout, " --version.\n"); in PrintHelp() [all …]
|
/external/brotli/research/ |
D | brotli_decoder.c | 17 FILE* fout; member 25 ctx->fout = 0; in init() 35 if (ctx->fout) fclose(ctx->fout); in cleanup() 56 ctx.fout = fdopen(STDOUT_FILENO, "wb"); in main() 57 if (!ctx.fout) fail(&ctx, "can't open output file"); in main() 74 fwrite(ctx.output_buffer, 1, BUFFER_SIZE, ctx.fout); in main() 75 if (ferror(ctx.fout)) break; in main() 85 fwrite(ctx.output_buffer, 1, next_out - ctx.output_buffer, ctx.fout); in main() 87 if ((result == BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT) || ferror(ctx.fout)) { in main()
|
/external/flac/src/flac/ |
D | foreign_metadata.c | 56 static FLAC__bool copy_data_(FILE *fin, FILE *fout, size_t size, const char **error, const char * c… in copy_data_() argument 66 if(fwrite(buffer, 1, need, fout) < need) { in copy_data_() 76 static FLAC__bool compare_data_(FILE *fin, FILE *fout, size_t size, const char **error, const char … in compare_data_() argument 87 if(fread(buffer_out, 1, need, fout) < need) { in compare_data_() 441 static FLAC__bool write_to_flac_(foreign_metadata_t *fm, FILE *fin, FILE *fout, FLAC__Metadata_Simp… in write_to_flac_() argument 466 if(fseeko(fout, FLAC__metadata_simple_iterator_get_block_offset(it), SEEK_SET) < 0) { in write_to_flac_() 474 if(fwrite(buffer, 1, 1, fout) < 1) { in write_to_flac_() 479 if(fseeko(fout, FLAC__STREAM_METADATA_LENGTH_LEN/8, SEEK_CUR) < 0) { in write_to_flac_() 485 if(fwrite(buffer, 1, ID_LEN, fout) < ID_LEN) { in write_to_flac_() 490 …if(!copy_data_(fin, fout, fm->blocks[block_num].size, error, "read failed in WAVE/AIFF file (011)"… in write_to_flac_() [all …]
|
D | analyze.c | 65 …me_number, FLAC__uint64 frame_offset, FLAC__uint64 frame_bytes, analysis_options aopts, FILE *fout) in flac__analyze_frame() argument 73 …fprintf(fout, "frame=%u\toffset=%" PRIu64 "\tbits=%" PRIu64 "\tblocksize=%u\tsample_rate=%u\tchann… in flac__analyze_frame() 78 …fprintf(fout, "\tsubframe=%u\twasted_bits=%u\ttype=%s", channel, subframe->wasted_bits, FLAC__Subf… in flac__analyze_frame() 81 fprintf(fout, "\tvalue=%" PRId64 "\n", subframe->data.constant.value); in flac__analyze_frame() 85 …fprintf(fout, "\torder=%u\tresidual_type=%s\tpartition_order=%u\n", subframe->data.fixed.order, is… in flac__analyze_frame() 87 fprintf(fout, "\t\twarmup[%u]=%" PRId64 "\n", i, subframe->data.fixed.warmup[i]); in flac__analyze_frame() 92 …fprintf(fout, "\t\tparameter[%u]=ESCAPE, raw_bits=%u\n", i, subframe->data.fixed.entropy_coding_me… in flac__analyze_frame() 94 fprintf(fout, "\t\tparameter[%u]=%u\n", i, parameter); in flac__analyze_frame() 98 fprintf(fout, "\t\tresidual[%u]=%d\n", i, subframe->data.fixed.residual[i]); in flac__analyze_frame() 103 …fprintf(fout, "\torder=%u\tqlp_coeff_precision=%u\tquantization_level=%d\tresidual_type=%s\tpartit… in flac__analyze_frame() [all …]
|
/external/virglrenderer/src/mesa/util/ |
D | os_misc.c | 82 static FILE *fout = NULL; in os_log_message() local 84 if (!fout) { in os_log_message() 97 fout = fopen(filename, mode); in os_log_message() 100 if (!fout) in os_log_message() 101 fout = stderr; in os_log_message() 108 fputs(message, fout); in os_log_message() 109 fflush(fout); in os_log_message() 111 else if (fout != stderr) { in os_log_message() 112 fputs(message, fout); in os_log_message() 113 fflush(fout); in os_log_message() [all …]
|
/external/jsoncpp/src/jsontestrunner/ |
D | main.cpp | 73 static void printValueTree(FILE* fout, Json::Value& value, in printValueTree() argument 76 fprintf(fout, "%s\n", value.getComment(Json::commentBefore).c_str()); in printValueTree() 80 fprintf(fout, "%s=null\n", path.c_str()); in printValueTree() 83 fprintf(fout, "%s=%s\n", path.c_str(), in printValueTree() 87 fprintf(fout, "%s=%s\n", path.c_str(), in printValueTree() 91 fprintf(fout, "%s=%s\n", path.c_str(), in printValueTree() 95 fprintf(fout, "%s=\"%s\"\n", path.c_str(), value.asString().c_str()); in printValueTree() 98 fprintf(fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false"); in printValueTree() 101 fprintf(fout, "%s=[]\n", path.c_str()); in printValueTree() 106 printValueTree(fout, value[index], path + buffer); in printValueTree() [all …]
|
/external/deqp-deps/glslang/Test/ |
D | spv.intOps.vert | 20 out vec4 fout; 26 fout = vec4(0.0); 45 fout.xyz += frexp(v3, i3out); 48 fout.x += frexp(v1, i1out); 51 fout.xy += ldexp(v2, i2); 52 fout.x += ldexp(v1, i1); 70 fout += unpackUnorm4x8(u1); 71 fout += unpackSnorm4x8(u1);
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/ |
D | spv.intOps.vert | 20 out vec4 fout; 26 fout = vec4(0.0); 45 fout.xyz += frexp(v3, i3out); 48 fout.x += frexp(v1, i1out); 51 fout.xy += ldexp(v2, i2); 52 fout.x += ldexp(v1, i1); 70 fout += unpackUnorm4x8(u1); 71 fout += unpackSnorm4x8(u1);
|
/external/rust/crates/libz-sys/src/zlib-ng/test/ |
D | minideflate.c | 38 void deflate_params(FILE *fin, FILE *fout, int32_t read_buf_size, int32_t write_buf_size, int32_t l… in deflate_params() argument 85 fwrite(write_buf, 1, write_buf_size, fout); in deflate_params() 97 fwrite(write_buf, 1, write_buf_size, fout); in deflate_params() 110 fwrite(write_buf, 1, c_stream.next_out - write_buf, fout); in deflate_params() 123 void inflate_params(FILE *fin, FILE *fout, int32_t read_buf_size, int32_t write_buf_size, int32_t w… in inflate_params() argument 171 fwrite(write_buf, 1, write_buf_size, fout); in inflate_params() 183 fwrite(write_buf, 1, write_buf_size, fout); in inflate_params() 196 fwrite(write_buf, 1, d_stream.next_out - write_buf, fout); in inflate_params() 239 FILE *fout = stdout; in main() local 318 fout = fopen(out_file, "wb"); in main() [all …]
|
/external/libopus/celt/arm/ |
D | celt_fft_ne10.c | 113 kiss_fft_cpx *fout) in opus_fft_neon() argument 123 opus_fft_c(st, fin, fout); in opus_fft_neon() 131 NE10_FFT_C2C_1D_TYPE_NEON((NE10_FFT_CPX_TYPE_T *)fout, in opus_fft_neon() 135 NE10_FFT_C2C_1D_TYPE_NEON((NE10_FFT_CPX_TYPE_T *)fout, in opus_fft_neon() 145 kiss_fft_cpx *fout) in opus_ifft_neon() argument 155 opus_ifft_c(st, fin, fout); in opus_ifft_neon() 163 NE10_FFT_C2C_1D_TYPE_NEON((NE10_FFT_CPX_TYPE_T *)fout, in opus_ifft_neon() 167 NE10_FFT_C2C_1D_TYPE_NEON((NE10_FFT_CPX_TYPE_T *)fout, in opus_ifft_neon()
|
/external/flac/src/test_grabbag/cuesheet/ |
D | main.c | 34 FILE *fin, *fout; in do_cuesheet() local 72 if(0 == (fout = flac_fopen(tmpfilename, "w"))) { in do_cuesheet() 77 grabbag__cuesheet_emit(fout, cuesheet, "\"dummy.wav\" WAVE"); in do_cuesheet() 79 fclose(fout); in do_cuesheet() 104 if(0 == (fout = flac_fopen(tmpfilename, "w"))) { in do_cuesheet() 109 grabbag__cuesheet_emit(fout, cuesheet, "\"dummy.wav\" WAVE"); in do_cuesheet() 111 fclose(fout); in do_cuesheet()
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.intOps.vert.out | 14 Name 21 "fout" 43 Decorate 21(fout) Location 2 73 21(fout): 20(ptr) Variable Output 137 Store 21(fout) 23 211 114: 19(fvec4) Load 21(fout) 214 118: 117(ptr) AccessChain 21(fout) 16 217 120: 117(ptr) AccessChain 21(fout) 41 220 123: 117(ptr) AccessChain 21(fout) 122 241 145: 117(ptr) AccessChain 21(fout) 16 244 148: 117(ptr) AccessChain 21(fout) 16 [all …]
|