Home
last modified time | relevance | path

Searched refs:optimize (Results 1 – 25 of 1035) sorted by relevance

12345678910>>...42

/external/python/cpython3/Lib/distutils/command/
Dinstall_lib.py57 self.optimize = None
75 if self.optimize is None:
76 self.optimize = False
78 if not isinstance(self.optimize, int):
80 self.optimize = int(self.optimize)
81 if self.optimize not in (0, 1, 2):
132 byte_compile(files, optimize=0,
135 if self.optimize > 0:
136 byte_compile(files, optimize=self.optimize,
170 if self.optimize > 0:
[all …]
Dbuild_py.py39 self.optimize = 0
60 if not isinstance(self.optimize, int):
62 self.optimize = int(self.optimize)
63 assert 0 <= self.optimize <= 2
318 if self.optimize > 0:
320 filename, optimization=self.optimize))
388 byte_compile(files, optimize=0,
390 if self.optimize > 0:
391 byte_compile(files, optimize=self.optimize,
/external/clang/test/Parser/
Dpragma-optimize-diagnostics.cpp3 #pragma clang optimize off
5 #pragma clang optimize on
8 #pragma clang optimize on top of spaghetti // expected-error {{unexpected extra argument 'top' to …
11 #pragma clang optimize something_wrong // expected-error {{unexpected argument 'something_wrong' t…
14 #pragma clang optimize // expected-error {{missing argument to '#pragma clang optimize'; expected '…
19 #pragma clang optimize OFF
20 #pragma clang optimize ON
/external/python/cpython2/Lib/distutils/command/
Dinstall_lib.py61 self.optimize = None
79 if self.optimize is None:
80 self.optimize = 0
82 if not isinstance(self.optimize, int):
84 self.optimize = int(self.optimize)
85 if self.optimize not in (0, 1, 2):
136 byte_compile(files, optimize=0,
139 if self.optimize > 0:
140 byte_compile(files, optimize=self.optimize,
173 if self.optimize > 0:
Dbuild_py.py40 self.optimize = 0
61 if not isinstance(self.optimize, int):
63 self.optimize = int(self.optimize)
64 assert 0 <= self.optimize <= 2
318 if self.optimize > 0:
390 byte_compile(files, optimize=0,
392 if self.optimize > 0:
393 byte_compile(files, optimize=self.optimize,
/external/tensorflow/tensorflow/lite/tools/optimize/
DBUILD33 …"--test_model_file=$(location //tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_…
36 "//tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_max_plus_10.bin",
74 …"--test_model_file=$(location //tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_…
77 "//tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_max_plus_10.bin",
78 "//tensorflow/lite/tools/optimize:testdata/weight_shared_between_convs.bin",
129 …"--test_model_file=$(location //tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_…
132 "//tensorflow/lite/tools/optimize:testdata/multi_input_add_reshape.bin",
133 "//tensorflow/lite/tools/optimize:testdata/single_avg_pool_min_minus_5_max_plus_5.bin",
134 "//tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_max_plus_10.bin",
135 … "//tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_minus_127_max_plus_127.bin",
[all …]
/external/python/cpython2/Lib/distutils/tests/
Dtest_install_lib.py23 self.assertEqual(cmd.optimize, 0)
26 cmd.optimize = 'foo'
28 cmd.optimize = '4'
31 cmd.optimize = '2'
33 self.assertEqual(cmd.optimize, 2)
38 cmd.compile = cmd.optimize = 1
48 if sys.flags.optimize < 1:
58 cmd.compile = cmd.optimize = 1
75 cmd.compile = cmd.optimize = 1
92 cmd.optimize = 1
Dsetuptools_build_ext.py198 optimize = self.get_finalized_command('build_py').optimize
204 if optimize:
239 byte_compile([stub_file], optimize=0,
241 optimize = self.get_finalized_command('install_lib').optimize
242 if optimize > 0:
243 byte_compile([stub_file], optimize=optimize,
/external/python/cpython3/Lib/distutils/tests/
Dtest_install_lib.py25 self.assertEqual(cmd.optimize, 0)
28 cmd.optimize = 'foo'
30 cmd.optimize = '4'
33 cmd.optimize = '2'
35 self.assertEqual(cmd.optimize, 2)
42 cmd.compile = cmd.optimize = 1
49 optimization=cmd.optimize)
60 cmd.compile = cmd.optimize = 1
80 cmd.compile = cmd.optimize = 1
98 cmd.optimize = 1
/external/fonttools/Lib/fontTools/varLib/
Dbuilder.py42 def VarData_calculateNumShorts(self, optimize=False): argument
54 if optimize:
69 def VarData_CalculateNumShorts(self, optimize=True): argument
73 return VarData_calculateNumShorts(self, optimize=optimize)
76 return VarData_calculateNumShorts(self, optimize=True)
78 ot.VarData.optimize = VarData_optimize
81 def buildVarData(varRegionIndices, items, optimize=True): argument
91 self.calculateNumShorts(optimize=optimize)
/external/python/cpython3/Lib/
Dcompileall.py51 quiet=0, legacy=False, optimize=-1, workers=1, argument
90 optimize=optimize,
97 legacy, optimize, invalidation_mode):
102 legacy=False, optimize=-1, argument
134 if optimize >= 0:
135 opt = optimize if optimize >= 1 else ''
158 optimize=optimize,
188 legacy=False, optimize=-1, argument
215 optimize=optimize,
Dpy_compile.py79 def compile(file, cfile=None, dfile=None, doraise=False, optimize=-1, argument
125 if optimize >= 0:
126 optimization = optimize if optimize >= 1 else ''
143 _optimize=optimize)
/external/libcxx/test/std/re/re.const/re.synopt/
Dsyntax_option_type.pass.cpp40 assert(std::regex_constants::optimize != 0); in main()
50 assert((std::regex_constants::icase & std::regex_constants::optimize) == 0); in main()
59 assert((std::regex_constants::nosubs & std::regex_constants::optimize) == 0); in main()
68 assert((std::regex_constants::optimize & std::regex_constants::collate) == 0); in main()
69 assert((std::regex_constants::optimize & std::regex_constants::ECMAScript) == 0); in main()
70 assert((std::regex_constants::optimize & std::regex_constants::basic) == 0); in main()
71 assert((std::regex_constants::optimize & std::regex_constants::extended) == 0); in main()
72 assert((std::regex_constants::optimize & std::regex_constants::awk) == 0); in main()
73 assert((std::regex_constants::optimize & std::regex_constants::grep) == 0); in main()
74 assert((std::regex_constants::optimize & std::regex_constants::egrep) == 0); in main()
/external/libchrome/base/debug/
Dalias.cc12 #pragma optimize("", off)
14 #pragma clang optimize off
21 #pragma optimize("", on)
23 #pragma clang optimize on
/external/clang/test/SemaCXX/
Dpragma-optimize.cpp5 #pragma clang optimize off
67 #pragma clang optimize on
111 #pragma clang optimize off
118 #pragma clang optimize on
137 #pragma clang optimize on
/external/tensorflow/tensorflow/lite/python/optimize/
DBUILD19 "//tensorflow/lite/tools/optimize:quantize_model",
20 "//tensorflow/lite/tools/optimize/calibration:calibration_reader",
21 "//tensorflow/lite/tools/optimize/calibration:calibrator_lib",
47 "//tensorflow/lite/python/optimize:tensorflow_lite_wrap_calibration_wrapper",
64 "//tensorflow/lite/python/optimize:tensorflow_lite_wrap_calibration_wrapper",
/external/python/cpython3/Lib/test/
Dtest_property.py103 @unittest.skipIf(sys.flags.optimize >= 2,
109 @unittest.skipIf(sys.flags.optimize >= 2,
121 @unittest.skipIf(sys.flags.optimize >= 2,
154 @unittest.skipIf(sys.flags.optimize >= 2,
162 @unittest.skipIf(sys.flags.optimize >= 2,
209 @unittest.skipIf(sys.flags.optimize >= 2,
221 @unittest.skipIf(sys.flags.optimize >= 2,
254 @unittest.skipIf(sys.flags.optimize >= 2,
/external/proguard/lib/
Dproguard.jarMETA-INF/ META-INF/MANIFEST.MF proguard/ proguard/FileWordReader.class FileWordReader ...
/external/python/cpython3/Mac/PythonLauncher/
DFileSettings.m76 optimize = source->optimize;
186 optimize = [source optimize];
202 [NSNumber numberWithBool: optimize], @"optimize",
228 value = [dict objectForKey: @"optimize"];
229 if (value) optimize = [value boolValue];
283 optimize?" -O":"",
300 - (BOOL) optimize { return optimize;}; method
/external/python/cpython2/Mac/PythonLauncher/
DFileSettings.m76 optimize = source->optimize;
186 optimize = [source optimize];
202 [NSNumber numberWithBool: optimize], @"optimize",
228 value = [dict objectForKey: @"optimize"];
229 if (value) optimize = [value boolValue];
283 optimize?" -O":"",
300 - (BOOL) optimize { return optimize;}; method
/external/proguard/src/proguard/
DProGuard.java28 import proguard.optimize.Optimizer;
84 configuration.optimize || in execute()
93 configuration.optimize || in execute()
120 if (configuration.optimize) in execute()
126 if (!optimize()) in execute()
155 configuration.optimize || in execute()
309 private boolean optimize() throws IOException in optimize() method in ProGuard
/external/swiftshader/src/OpenGL/compiler/
DPragma.h20 TPragma() : optimize(true), debug(false) { } in TPragma()
21 TPragma(bool o, bool d) : optimize(o), debug(d) { } in TPragma()
23 bool optimize; member
/external/flatbuffers/tests/fuzzer/
Dflatbuffers_scalar_fuzzer.cc102 std::regex{ R"(^[-+]?[0-9]+$)", std::regex_constants::optimize }, in MatchNumber()
105 R"(^[-+]?0[xX][0-9a-fA-F]+$)", std::regex_constants::optimize } in MatchNumber()
119 std::regex{ R"(^[+]?[0-9]+$)", std::regex_constants::optimize }, in MatchNumber()
121 R"(^[+]?0[xX][0-9a-fA-F]+$)", std::regex_constants::optimize }, in MatchNumber()
123 std::regex{ R"(^[-](?:0[xX])?0+$)", std::regex_constants::optimize } in MatchNumber()
152 std::regex_constants::optimize }, in MatchNumber()
156 std::regex_constants::optimize }, in MatchNumber()
159 std::regex_constants::optimize | std::regex_constants::icase } in MatchNumber()
/external/python/cpython2/Lib/test/
Dtest_property.py103 @unittest.skipIf(sys.flags.optimize >= 2,
109 @unittest.skipIf(sys.flags.optimize >= 2,
121 @unittest.skipIf(sys.flags.optimize >= 2,
154 @unittest.skipIf(sys.flags.optimize >= 2,
166 @unittest.skipIf(sys.flags.optimize >= 2,
199 @unittest.skipIf(sys.flags.optimize >= 2,
/external/libunwind/tests/
DLtest-varargs.c14 void a (int, ...) __attribute__((optimize(0)));
15 void b (void) __attribute__((optimize(0)));
16 void c (void) __attribute__((optimize(0)));

12345678910>>...42