/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 | 169 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 …]
|
D | audiotests.py | 20 self.f = self.fout = None 25 if self.fout is not None: 26 self.fout.close() 67 f = self.fout = self.module.open(testfile, 'wb') 280 fout = self.fout = self.module.open(testfile, 'wb') 283 fout.close() 285 fout.close() # do nothing 313 fout = self.fout = self.module.open(TESTFN, 'wb') 314 fout.setparams(f.getparams()) 319 fout.writeframes(f.readframes(i)) [all …]
|
/external/tensorflow/tensorflow/lite/tools/ |
D | gen_op_registration_main.cc | 55 std::ofstream fout(filename); in GenerateFileContent() local 57 fout << "#include \"" << tflite_path << "/model.h\"\n"; in GenerateFileContent() 58 fout << "#include \"" << tflite_path << "/op_resolver.h\"\n"; in GenerateFileContent() 60 fout << "namespace tflite {\n"; in GenerateFileContent() 61 fout << "namespace ops {\n"; in GenerateFileContent() 63 fout << "namespace builtin {\n"; in GenerateFileContent() 64 fout << "// Forward-declarations for the builtin ops.\n"; in GenerateFileContent() 66 fout << "TfLiteRegistration* Register_" << op << "();\n"; in GenerateFileContent() 68 fout << "} // namespace builtin\n"; in GenerateFileContent() 72 fout << "namespace custom {\n"; in GenerateFileContent() [all …]
|
/external/virglrenderer/src/gallium/auxiliary/os/ |
D | os_misc.c | 56 static FILE *fout = NULL; in os_log_message() local 58 if (!fout) { in os_log_message() 62 fout = fopen(filename, "w"); in os_log_message() 63 if (!fout) in os_log_message() 64 fout = stderr; in os_log_message() 71 fputs(message, fout); in os_log_message() 72 fflush(fout); in os_log_message() 74 else if (fout != stderr) { in os_log_message() 75 fputs(message, fout); in os_log_message() 76 fflush(fout); in os_log_message() [all …]
|
/external/perfetto/tools/ftrace_proto_gen/ |
D | ftrace_descriptor_gen.cc | 23 std::ostream* fout) { in GenerateFtraceDescriptors() argument 34 *fout << "// Autogenerated by:\n"; in GenerateFtraceDescriptors() 35 *fout << std::string("// ") + __FILE__ + "\n"; in GenerateFtraceDescriptors() 36 *fout << "// Do not edit.\n"; in GenerateFtraceDescriptors() 37 *fout << R"( in GenerateFtraceDescriptors() 46 *fout << std::to_string(max_id + 1) + "> descriptors{{"; in GenerateFtraceDescriptors() 54 *fout << "{nullptr, 0, {}},"; in GenerateFtraceDescriptors() 66 *fout << "{\"" + event->name() + "\", " << max_field_id << ", " in GenerateFtraceDescriptors() 74 *fout << "{},"; in GenerateFtraceDescriptors() 78 *fout << "{\"" + field->name() + "\", ProtoSchemaType::k" + in GenerateFtraceDescriptors() [all …]
|
D | ftrace_proto_gen.cc | 138 std::ostream* fout) { in GenerateFtraceEventProto() argument 139 *fout << "// Autogenerated by:\n"; in GenerateFtraceEventProto() 140 *fout << std::string("// ") + __FILE__ + "\n"; in GenerateFtraceEventProto() 141 *fout << "// Do not edit.\n\n"; in GenerateFtraceEventProto() 142 *fout << R"(syntax = "proto2";)" in GenerateFtraceEventProto() 144 *fout << "option optimize_for = LITE_RUNTIME;\n\n"; in GenerateFtraceEventProto() 147 *fout << R"(import "perfetto/trace/ftrace/)" << group << R"(.proto";)" in GenerateFtraceEventProto() 150 *fout << "import \"perfetto/trace/ftrace/generic.proto\";\n"; in GenerateFtraceEventProto() 151 *fout << "\n"; in GenerateFtraceEventProto() 152 *fout << "package perfetto.protos;\n\n"; in GenerateFtraceEventProto() [all …]
|
/external/jsoncpp/test/ |
D | pyjsontestrunner.py | 18 def valueTreeToString( fout, value, path = '.' ): argument 21 fout.write( '%s={}\n' % path ) 26 valueTreeToString( fout, value[name], path + suffix + name ) 28 fout.write( '%s=[]\n' % path ) 30 valueTreeToString( fout, childValue, path + '[%d]' % index ) 32 fout.write( '%s="%s"\n' % (path,value) ) 34 fout.write( '%s=%d\n' % (path,value) ) 36 fout.write( '%s=%.16g\n' % (path,value) ) 38 fout.write( '%s=true\n' % path ) 40 fout.write( '%s=false\n' % path ) [all …]
|
/external/mesa3d/src/gallium/auxiliary/os/ |
D | os_misc.c | 69 static FILE *fout = NULL; in os_log_message() local 71 if (!fout) { in os_log_message() 84 fout = fopen(filename, mode); in os_log_message() 87 if (!fout) in os_log_message() 88 fout = stderr; in os_log_message() 95 fputs(message, fout); in os_log_message() 96 fflush(fout); in os_log_message() 98 else if (fout != stderr) { in os_log_message() 99 fputs(message, fout); in os_log_message() 100 fflush(fout); in os_log_message() [all …]
|
/external/u-boot/drivers/clk/ |
D | ics8n3qv01.c | 78 static int ics8n3qv01_calc_parameters(uint fout, uint *_mint, uint *_mfrac, in ics8n3qv01_calc_parameters() argument 84 n = (2215000000U + fout / 2) / fout; in ics8n3qv01_calc_parameters() 85 if (fout < 417000000U) in ics8n3qv01_calc_parameters() 86 n = 2 * ((2215000000U / 2 + fout / 2) / fout); in ics8n3qv01_calc_parameters() 88 n = (2215000000U + fout / 2) / fout; in ics8n3qv01_calc_parameters() 93 foutiic = fout - (fout / 10000); in ics8n3qv01_calc_parameters() 110 static ulong ics8n3qv01_set_rate(struct clk *clk, ulong fout) in ics8n3qv01_set_rate() argument 122 priv->rate = fout; in ics8n3qv01_set_rate() 135 fout_prog = (u64)fout * (u64)fout_calc in ics8n3qv01_set_rate()
|
/external/jsoncpp/src/jsontestrunner/ |
D | main.cpp | 63 printValueTree(FILE* fout, Json::Value& value, const std::string& path = ".") { in printValueTree() argument 65 fprintf(fout, "%s\n", value.getComment(Json::commentBefore).c_str()); in printValueTree() 69 fprintf(fout, "%s=null\n", path.c_str()); in printValueTree() 72 fprintf(fout, in printValueTree() 78 fprintf(fout, in printValueTree() 84 fprintf(fout, in printValueTree() 90 fprintf(fout, "%s=\"%s\"\n", path.c_str(), value.asString().c_str()); in printValueTree() 93 fprintf(fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false"); in printValueTree() 96 fprintf(fout, "%s=[]\n", path.c_str()); in printValueTree() 105 printValueTree(fout, value[index], path + buffer); in printValueTree() [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() 55 ctx.fout = fdopen(STDOUT_FILENO, "wb"); in main() 56 if (!ctx.fout) fail(&ctx, "can't open output file"); in main() 73 fwrite(ctx.output_buffer, 1, BUFFER_SIZE, ctx.fout); in main() 74 if (ferror(ctx.fout)) break; in main() 84 fwrite(ctx.output_buffer, 1, next_out - ctx.output_buffer, ctx.fout); in main() 86 if ((result == BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT) || ferror(ctx.fout)) { in main()
|
D | find_opt_references.cc | 77 int right_lcp, FILE* fout) { in PrintReference() argument 86 fputc(1, fout); in PrintReference() 87 fwrite(&idx, sizeof(int), 1, fout); // Position in input. in PrintReference() 88 fwrite(&dist, sizeof(int), 1, fout); // Backward distance. in PrintReference() 164 void ProcessEntries(entry_type* entries, size_t size, FILE* fout) { in ProcessEntries() argument 188 fputc(1, fout); in ProcessEntries() 189 fwrite(&idx, sizeof(int), 1, fout); // Position in input. in ProcessEntries() 190 fwrite(&dist, sizeof(int), 1, fout); // Backward distance. in ProcessEntries() 205 FILE* fout = fopen(argv[2], "w"); in main() local 242 Fn print = std::bind(PrintReference, _1, _2, _3, _4, _5, _6, _7, _8, fout); in main() [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() 133 fclose(fout); in main() 164 if(fwrite(int_field, 1, 4, fout)!=4){ in main() 169 if (fwrite(int_field, 1, 4, fout)!=4) { in main() 173 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) { in main() 189 if (fwrite(int_field, 1, 4, fout)!=4) { in main() 197 if (fwrite(int_field, 1, 4, fout)!=4) { in main() 201 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) { in main() [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/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/u-boot/board/gdsys/common/ |
D | osd.c | 79 static void mpc92469ac_calc_parameters(unsigned int fout, in mpc92469ac_calc_parameters() argument 87 if (fout < 50169600) in mpc92469ac_calc_parameters() 89 else if (fout < 100339199) in mpc92469ac_calc_parameters() 91 else if (fout < 200678399) in mpc92469ac_calc_parameters() 96 a = fout * n + (b / 2); /* add b/2 for proper rounding */ in mpc92469ac_calc_parameters() 104 static void mpc92469ac_set(unsigned screen, unsigned int fout) in mpc92469ac_set() argument 109 mpc92469ac_calc_parameters(fout, &n, &m); in mpc92469ac_set() 166 static void ics8n3qv01_calc_parameters(unsigned int fout, in ics8n3qv01_calc_parameters() argument 176 n = (2215000000U + fout / 2) / fout; in ics8n3qv01_calc_parameters() 180 foutiic = fout - (fout / 10000); in ics8n3qv01_calc_parameters() [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.intOps.vert.out | 14 Name 21 "fout" 58 21(fout): 20(ptr) Variable Output 120 Store 21(fout) 23 188 109: 19(fvec4) Load 21(fout) 191 112: 19(fvec4) Load 21(fout) 193 Store 21(fout) 113 206 130: 129(ptr) AccessChain 21(fout) 16 209 133: 129(ptr) AccessChain 21(fout) 16 220 149: 19(fvec4) Load 21(fout) 223 152: 19(fvec4) Load 21(fout) [all …]
|
/external/toolchain-utils/android_bench_suite/ |
D | gen_json.py | 62 with open(outfile, 'w') as fout: 64 json.dump(obj_null, fout) 87 with get_outfile(outfile, bench) as fout: 88 obj = json.load(fout) 91 with open(outfile, 'w') as fout: 92 json.dump(obj, fout)
|
/external/speex/libspeexdsp/ |
D | testresample.c | 49 float *fin, *fout; in main() local 58 fout = malloc(2*NN*sizeof(float)); in main() 72 speex_resampler_process_float(st, 0, fin, &in_len, fout, &out_len); in main() 74 out[i]=floor(.5+fout[i]); in main() 83 free(fout); in main()
|
/external/u-boot/arch/m68k/cpu/mcf532x/ |
D | speed.c | 114 int fout; in clock_exit_limp() local 123 fout = get_sys_clock(); in clock_exit_limp() 125 return fout; in clock_exit_limp() 145 int fref, temp, fout, mfd; in clock_pll() local 183 fout = ((fref * mfd) / BUSDIV); in clock_pll() 189 fout = ((fref * mfd) / (BUSDIV * 4)); in clock_pll() 247 return fout; in clock_pll()
|
/external/python/cpython2/PCbuild/ |
D | prepare_ssl.py | 74 with open(makefile) as fin, open(asm_makefile, 'w') as fout: 79 fout.write(line) 85 fout.write(line) 87 fout.write('\n') 89 fout.write('asms: $(TMP_D) ') 90 fout.write(' '.join(asms)) 91 fout.write('\n')
|
/external/libopus/celt/ |
D | opus_custom_demo.c | 46 FILE *fin, *fout; in main() local 96 fout = fopen(outFile, "wb+"); in main() 97 if (!fout) in main() 109 fclose(fout); in main() 117 fclose(fout); in main() 185 fwrite(out+skip*channels, sizeof(short), (ret-skip)*channels, fout); in main() 193 fclose(fout); in main()
|
/external/u-boot/arch/arm/mach-s5pc1xx/ |
D | clock.c | 29 unsigned long r, m, p, s, mask, fout; in s5pc100_get_pll_clk() local 70 fout = m * (freq / (p * (1 << s))); in s5pc100_get_pll_clk() 72 return fout; in s5pc100_get_pll_clk() 80 unsigned long r, m, p, s, mask, fout; in s5pc110_get_pll_clk() local 124 fout = m * (freq / (p * (1 << (s - 1)))); in s5pc110_get_pll_clk() 127 fout = m * (freq / (p * (1 << s))); in s5pc110_get_pll_clk() 129 return fout; in s5pc110_get_pll_clk()
|