/external/capstone/bindings/ocaml/ |
D | Makefile | 5 FLAGS = '-Wall -Wextra -Wwrite-strings' macro 9 ocamlopt -o test_basic -ccopt $(FLAGS) ocaml.o capstone.cmx test_basic.cmx -cclib -l$(LIB) 10 ocamlopt -o test_detail -ccopt $(FLAGS) capstone.cmx ocaml.o test_detail.cmx -cclib -l$(LIB) 11 …ocamlopt -o test_x86 -ccopt $(FLAGS) capstone.cmx ocaml.o x86.cmx x86_const.cmx test_x86.cmx -ccli… 12 …ocamlopt -o test_arm -ccopt $(FLAGS) capstone.cmx ocaml.o arm.cmx arm_const.cmx test_arm.cmx -ccli… 13 …ocamlopt -o test_arm64 -ccopt $(FLAGS) capstone.cmx ocaml.o arm64.cmx arm64_const.cmx test_arm64.c… 14 …ocamlopt -o test_mips -ccopt $(FLAGS) capstone.cmx ocaml.o mips.cmx mips_const.cmx test_mips.cmx -… 15 …ocamlopt -o test_ppc -ccopt $(FLAGS) capstone.cmx ocaml.o ppc.cmx ppc_const.cmx test_ppc.cmx -ccli… 16 …ocamlopt -o test_sparc -ccopt $(FLAGS) capstone.cmx ocaml.o sparc.cmx sparc_const.cmx test_sparc.c… 17 …ocamlopt -o test_systemz -ccopt $(FLAGS) capstone.cmx ocaml.o systemz.cmx sysz_const.cmx test_syst… [all …]
|
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
D | compress-debug-sections-zlib.test | 9 # RUN: llvm-readobj --relocations -S %t-compressed.o | FileCheck %s --check-prefix=CHECK-FLAGS 28 # CHECK-FLAGS: Name: .debug_foo 29 # CHECK-FLAGS-NEXT: Type: SHT_PROGBITS 30 # CHECK-FLAGS-NEXT: Flags [ 31 # CHECK-FLAGS-NEXT: SHF_COMPRESSED 32 # CHECK-FLAGS-NEXT: ] 33 # CHECK-FLAGS-NEXT: Address: 34 # CHECK-FLAGS-NEXT: Offset: 35 # CHECK-FLAGS-NEXT: Size: 35 36 # CHECK-FLAGS-NOT: Name: .debug_foo [all …]
|
D | compress-debug-sections-zlib-gnu.test | 9 # RUN: llvm-readobj --relocations -S %t-compressed.o | FileCheck %s --check-prefix=CHECK-FLAGS 29 # CHECK-FLAGS-NOT: Name: .debug_foo 30 # CHECK-FLAGS: Name: .zdebug_foo 31 # CHECK-FLAGS-NEXT: Type: SHT_PROGBITS 32 # CHECK-FLAGS-NEXT: Flags [ 33 # CHECK-FLAGS-NEXT: ] 34 # CHECK-FLAGS-NEXT: Address: 35 # CHECK-FLAGS-NEXT: Offset: 36 # CHECK-FLAGS-NEXT: Size: 23 38 # CHECK-FLAGS: Name: .notdebug_foo [all …]
|
/external/tensorflow/tensorflow/python/tpu/profiler/ |
D | capture_tpu_profile.py | 36 FLAGS = flags.FLAGS variable 148 if not FLAGS.service_addr and not FLAGS.tpu: 152 if FLAGS.service_addr: 153 if FLAGS.tpu: 156 service_addr = FLAGS.service_addr 160 resolver.TPUClusterResolver([FLAGS.tpu], 161 zone=FLAGS.tpu_zone, 162 project=FLAGS.gcp_project)) 167 ' your TPU.' % (FLAGS.tpu, FLAGS.tpu_zone, FLAGS.gcp_project)) 171 if FLAGS.workers_list is not None: [all …]
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | generate_streaming_test_wav.py | 52 FLAGS = None variable 87 words_list = input_data.prepare_words_list(FLAGS.wanted_words.split(',')) 89 len(words_list), FLAGS.sample_rate, FLAGS.clip_duration_ms, 90 FLAGS.window_size_ms, FLAGS.window_stride_ms, FLAGS.feature_bin_count, 93 '', FLAGS.data_dir, FLAGS.silence_percentage, 10, 94 FLAGS.wanted_words.split(','), FLAGS.validation_percentage, 95 FLAGS.testing_percentage, model_settings, FLAGS.data_dir) 97 output_audio_sample_count = FLAGS.sample_rate * FLAGS.test_duration_seconds 103 FLAGS.clip_duration_ms + background_crossover_ms) 105 (background_segment_duration_ms * FLAGS.sample_rate) / 1000) [all …]
|
D | train.py | 85 FLAGS = None variable 90 tf.compat.v1.logging.set_verbosity(FLAGS.verbosity) 99 len(input_data.prepare_words_list(FLAGS.wanted_words.split(','))), 100 FLAGS.sample_rate, FLAGS.clip_duration_ms, FLAGS.window_size_ms, 101 FLAGS.window_stride_ms, FLAGS.feature_bin_count, FLAGS.preprocess) 103 FLAGS.data_url, FLAGS.data_dir, 104 FLAGS.silence_percentage, FLAGS.unknown_percentage, 105 FLAGS.wanted_words.split(','), FLAGS.validation_percentage, 106 FLAGS.testing_percentage, model_settings, FLAGS.summaries_dir) 109 time_shift_samples = int((FLAGS.time_shift_ms * FLAGS.sample_rate) / 1000) [all …]
|
D | freeze.py | 60 FLAGS = None variable 212 if FLAGS.quantize: 226 FLAGS.wanted_words, FLAGS.sample_rate, FLAGS.clip_duration_ms, 227 FLAGS.clip_stride_ms, FLAGS.window_size_ms, FLAGS.window_stride_ms, 228 FLAGS.feature_bin_count, FLAGS.model_architecture, FLAGS.preprocess) 229 if FLAGS.quantize: 231 models.load_variables_from_checkpoint(sess, FLAGS.start_checkpoint) 237 if FLAGS.save_format == 'graph_def': 238 save_graph_def(FLAGS.output_file, frozen_graph_def) 239 elif FLAGS.save_format == 'saved_model': [all …]
|
/external/skia/tools/skpbench/ |
D | skpbench.py | 102 FLAGS = __argparse.parse_args() variable 103 if FLAGS.adb: 105 _path.init(FLAGS.device_serial, FLAGS.adb_binary) 110 if FLAGS.verbosity >= 5: 139 ARGV = [FLAGS.skpbench, '--verbosity', str(FLAGS.verbosity)] 140 if FLAGS.duration: 141 ARGV.extend(['--duration', str(FLAGS.duration)]) 142 if FLAGS.sample_ms: 143 ARGV.extend(['--sampleMs', str(FLAGS.sample_ms)]) 144 if FLAGS.gpu: [all …]
|
/external/tensorflow/tensorflow/tools/ci_build/ |
D | sizetrack_helper.py | 119 FLAGS = parser.parse_args() variable 124 TABLE_NAME = "{}.{}".format(FLAGS.dataset, FLAGS.table) 125 PROJECT_LEVEL_TABLE_NAME = "{}:{}".format(FLAGS.project, TABLE_NAME) 249 "bq", ["--project_id", FLAGS.project, "--headless", *args], 261 artifact_id=FLAGS.artifact_id, 262 team=FLAGS.team) 295 if FLAGS.upload and FLAGS.artifact: 296 artifact_filename = os.path.basename(FLAGS.artifact.name) 300 bucket=FLAGS.bucket, 301 team=FLAGS.team, [all …]
|
/external/skqp/tools/skpbench/ |
D | skpbench.py | 86 FLAGS = __argparse.parse_args() variable 87 if FLAGS.adb: 89 _path.init(FLAGS.device_serial, FLAGS.adb_binary) 94 if FLAGS.verbosity >= 5: 123 ARGV = [FLAGS.skpbench, '--verbosity', str(FLAGS.verbosity)] 124 if FLAGS.duration: 125 ARGV.extend(['--duration', str(FLAGS.duration)]) 126 if FLAGS.sample_ms: 127 ARGV.extend(['--sampleMs', str(FLAGS.sample_ms)]) 128 if FLAGS.gpu: [all …]
|
/external/ImageMagick/m4/ |
D | ax_prepend_flag.m4 | 7 # AX_PREPEND_FLAG(FLAG, [FLAGS-VARIABLE]) 11 # FLAG is added to the front of the FLAGS-VARIABLE shell variable, with a 14 # If FLAGS-VARIABLE is not specified, the current language's flags (e.g. 15 # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains 16 # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly 37 AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) 38 AS_VAR_SET_IF(FLAGS,[ 39 AS_CASE([" AS_VAR_GET(FLAGS) "], 40 [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], 42 FLAGS="$1 $FLAGS" [all …]
|
D | ax_append_flag.m4 | 7 # AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) 11 # FLAG is appended to the FLAGS-VARIABLE shell variable, with a space 14 # If FLAGS-VARIABLE is not specified, the current language's flags (e.g. 15 # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains 16 # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly 36 AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) 37 AS_VAR_SET_IF(FLAGS,[ 38 AS_CASE([" AS_VAR_GET(FLAGS) "], 39 [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], 41 AS_VAR_APPEND(FLAGS,[" $1"]) [all …]
|
/external/libffi/m4/ |
D | ax_append_flag.m4 | 7 # AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) 11 # FLAG is appended to the FLAGS-VARIABLE shell variable, with a space 14 # If FLAGS-VARIABLE is not specified, the current language's flags (e.g. 15 # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains 16 # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly 36 AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) 37 AS_VAR_SET_IF(FLAGS,[ 38 AS_CASE([" AS_VAR_GET(FLAGS) "], 39 [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], 41 AS_VAR_APPEND(FLAGS,[" $1"]) [all …]
|
/external/expat/conftools/ |
D | ax-append-flag.m4 | 7 # AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) 11 # FLAG is appended to the FLAGS-VARIABLE shell variable, with a space 14 # If FLAGS-VARIABLE is not specified, the current language's flags (e.g. 15 # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains 16 # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly 36 AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) 37 AS_VAR_SET_IF(FLAGS,[ 38 AS_CASE([" AS_VAR_GET(FLAGS) "], 39 [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], 41 AS_VAR_APPEND(FLAGS,[" $1"]) [all …]
|
/external/tensorflow/tensorflow/tools/dockerfiles/ |
D | assembler.py | 49 FLAGS = flags.FLAGS variable 478 with open(FLAGS.spec_file, 'r') as spec_file: 482 partials = gather_existing_partials(FLAGS.partial_dir) 489 FLAGS.spec_file)) 495 all_tags = assemble_tags(tag_spec, FLAGS.arg, FLAGS.release, partials) 498 if FLAGS.construct_dockerfiles: 499 eprint('> Emptying Dockerfile dir "{}"'.format(FLAGS.dockerfile_dir)) 500 shutil.rmtree(FLAGS.dockerfile_dir, ignore_errors=True) 501 mkdir_p(FLAGS.dockerfile_dir) 507 if FLAGS.upload_to_hub: [all …]
|
/external/tensorflow/tensorflow/lite/testing/ |
D | generate_examples.py | 111 options.output_path = FLAGS.output_path 112 options.zip_to_output = FLAGS.zip_to_output 113 options.toco = FLAGS.toco 114 options.known_bugs_are_errors = FLAGS.known_bugs_are_errors 115 options.ignore_converter_errors = FLAGS.ignore_converter_errors 116 options.save_graphdefs = FLAGS.save_graphdefs 117 options.run_with_flex = FLAGS.run_with_flex 118 options.make_edgetpu_tests = FLAGS.make_edgetpu_tests 119 options.make_forward_compat_test = FLAGS.make_forward_compat_test 121 options.no_tests_limit = FLAGS.no_tests_limit [all …]
|
/external/tensorflow/tensorflow/python/tools/ |
D | optimize_for_inference.py | 71 FLAGS = None variable 75 if not gfile.Exists(FLAGS.input): 76 print("Input graph file '" + FLAGS.input + "' does not exist!") 80 with gfile.Open(FLAGS.input, "rb") as f: 82 if FLAGS.frozen_graph: 89 FLAGS.input_names.split(","), 90 FLAGS.output_names.split(","), 91 _parse_placeholder_types(FLAGS.placeholder_type_enum), 92 FLAGS.toco_compatible) 94 if FLAGS.frozen_graph: [all …]
|
/external/tensorflow/tensorflow/lite/python/ |
D | convert_file_to_c_source.py | 26 FLAGS = flags.FLAGS variable 53 with open(FLAGS.input_tflite_file, "rb") as input_handle: 58 array_name=FLAGS.array_variable_name, 59 max_line_width=FLAGS.line_width, 60 include_guard=FLAGS.include_guard, 61 include_path=FLAGS.include_path, 62 use_tensorflow_license=FLAGS.use_tensorflow_license) 64 with open(FLAGS.output_source_file, "w") as source_handle: 67 with open(FLAGS.output_header_file, "w") as header_handle:
|
/external/tensorflow/tensorflow/tools/test/ |
D | run_and_gather_logs.py | 54 FLAGS = None variable 59 build_config.mode = FLAGS.compilation_mode 62 flag for flag in shlex.split(FLAGS.cc_flags) if not flag.startswith("-i") 69 name = FLAGS.name 70 test_name = FLAGS.test_name 71 test_args = FLAGS.test_args 72 benchmark_type = FLAGS.benchmark_type 80 if not FLAGS.test_log_output_dir: 84 if FLAGS.test_log_output_filename: 85 file_name = FLAGS.test_log_output_filename [all …]
|
/external/tensorflow/tensorflow/python/debug/examples/v1/ |
D | debug_tflearn_iris.py | 51 model_dir = FLAGS.model_dir or tempfile.mkdtemp(prefix="debug_tflearn_iris_") 59 if FLAGS.debug and FLAGS.tensorboard_debug_address: 64 if FLAGS.debug: 67 if FLAGS.use_random_config_path else None) 70 ui_type=FLAGS.ui_type, 71 dump_root=FLAGS.dump_root, 73 elif FLAGS.tensorboard_debug_address: 74 hooks.append(tf_debug.TensorBoardDebugHook(FLAGS.tensorboard_debug_address)) 77 classifier.train(training_input_fn, steps=FLAGS.train_steps, hooks=hooks) 81 test_input_fn, steps=FLAGS.eval_steps, hooks=hooks)["accuracy"] [all …]
|
D | debug_fibonacci.py | 31 FLAGS = None variable 39 np.ones([FLAGS.tensor_size] * 2), dtype=tf.int32, name="node_00") 41 np.ones([FLAGS.tensor_size] * 2), dtype=tf.int32, name="node_01") 43 for i in xrange(2, FLAGS.length): 49 if FLAGS.debug and FLAGS.tensorboard_debug_address: 53 if FLAGS.debug: 61 elif FLAGS.tensorboard_debug_address: 63 sess, FLAGS.tensorboard_debug_address) 65 print("Fibonacci number at position %d:\n%s" % (FLAGS.length, sess.run(n1))) 103 FLAGS, unparsed = parser.parse_known_args() variable
|
/external/google-breakpad/m4/ |
D | ax_append_flag.m4 | 7 # AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) 11 # FLAG is appended to the FLAGS-VARIABLE shell variable, with a space 14 # If FLAGS-VARIABLE is not specified, the current language's flags (e.g. 15 # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains 16 # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly 57 AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) 58 AS_VAR_SET_IF(FLAGS,[ 59 AS_CASE([" AS_VAR_GET(FLAGS) "], 60 [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], 62 AS_VAR_APPEND(FLAGS,[" $1"]) [all …]
|
/external/tensorflow/tensorflow/python/debug/examples/v2/ |
D | debug_fibonacci_v2.py | 28 FLAGS = None variable 36 if FLAGS.debug and FLAGS.tensorboard_debug_address: 40 if FLAGS.debug: 43 elif FLAGS.tensorboard_debug_address: 50 n0 = tf.constant(np.ones([FLAGS.tensor_size] * 2), dtype=tf.int32) 51 n1 = tf.constant(np.ones([FLAGS.tensor_size] * 2), dtype=tf.int32) 53 for _ in xrange(2, FLAGS.length): 56 print("Fibonacci number at position %d:\n%s" % (FLAGS.length, n1.numpy())) 89 FLAGS, unparsed = parser.parse_known_args() variable
|
/external/llvm-project/compiler-rt/lib/tsan/go/ |
D | buildgo.sh | 174 FLAGS=" -I../rtl -I../.. -I../../sanitizer_common -I../../../include -std=c++14 -Wall -fno-exceptio… 175 DEBUG_FLAGS="$FLAGS -DSANITIZER_DEBUG=1 -g" 176 FLAGS="$FLAGS -DSANITIZER_DEBUG=0 -O3 -fomit-frame-pointer" 178 FLAGS="$FLAGS -mcpu=power8 -fno-function-sections" 180 FLAGS="$FLAGS -msse3" 187 FLAGS="$DEBUG_FLAGS" 191 echo $CC gotsan.cpp -c -o $DIR/race_$SUFFIX.syso $FLAGS $CFLAGS 193 $CC $DIR/gotsan.cpp -c -o $DIR/race_$SUFFIX.syso $FLAGS $CFLAGS
|
/external/tensorflow/tensorflow/lite/toco/python/ |
D | toco_from_protos.py | 29 FLAGS = None variable 34 with open(FLAGS.model_proto_file, "rb") as model_file: 37 with open(FLAGS.toco_proto_file, "rb") as toco_file: 40 with open(FLAGS.model_input_file, "rb") as input_file: 44 if FLAGS.debug_proto_file: 45 with open(FLAGS.debug_proto_file, "rb") as debug_info_file: 48 enable_mlir_converter = FLAGS.enable_mlir_converter 57 open(FLAGS.model_output_file, "wb").write(output_str) 62 global FLAGS 91 FLAGS, unparsed = parser.parse_known_args()
|