Searched refs:output_name (Results 1 - 3 of 3) sorted by relevance

/system/media/camera/docs/
H A Dmetadata_parser_xml.py290 def render(self, template, output_name=None):
301 output_name: path to the output file, or None to use stdout
320 if output_name is None:
323 file(output_name, "w").write(tpl_data.encode('utf-8'))
337 output_name = sys.argv[3] if len(sys.argv) > 3 else None variable in class:MetadataParserXml
339 parser.render(template_name, output_name)
/system/sepolicy/tools/fc_sort/
H A Dfc_sort.c319 char *input_name, *output_name, *line_buf; local
337 output_name = (argc >= 3) ? argv[2] : NULL;
528 if (output_name) {
529 if (!(out_file = fopen(output_name, "w"))) {
561 if (output_name) {
/system/core/adb/
H A Dadb.cpp556 const char* output_name = nStdHandle == STD_OUTPUT_HANDLE ? "stdout" : "stderr"; local
561 fprintf(stderr, "adb: failed to get file descriptor for %s: %s\n", output_name,
574 fprintf(stderr, "adb: failed to duplicate file descriptor for %s: %s\n", output_name,
582 fprintf(stderr, "adb: failed to set binary mode for duplicate of %s: %s\n", output_name,
590 fprintf(stderr, "adb: failed to open duplicate stream for %s: %s\n", output_name,
599 fprintf(stderr, "adb: failed to unbuffer %s: %s\n", output_name, strerror(errno));
616 fprintf(stderr, "adb: failed to read from %s: %s\n", output_name,
628 bytes_read, output_name);

Completed in 682 milliseconds