Home
last modified time | relevance | path

Searched full:preprocess (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
Dif_test.cpp31 preprocess(str, expected); in TEST_F()
49 preprocess(str, expected); in TEST_F()
71 preprocess(str, expected); in TEST_F()
93 preprocess(str, expected); in TEST_F()
127 preprocess(str, expected); in TEST_F()
157 preprocess(str, expected); in TEST_F()
187 preprocess(str, expected); in TEST_F()
219 preprocess(str, expected); in TEST_F()
251 preprocess(str, expected); in TEST_F()
269 preprocess(str, expected); in TEST_F()
[all …]
Ddefine_test.cpp32 preprocess(input, expected); in TEST_F()
65 preprocess(input, expected); in TEST_F()
80 preprocess(input, expected); in TEST_F()
95 preprocess(input, expected); in TEST_F()
110 preprocess(input, expected); in TEST_F()
127 preprocess(input, expected); in TEST_F()
144 preprocess(input, expected); in TEST_F()
161 preprocess(input, expected); in TEST_F()
178 preprocess(input, expected); in TEST_F()
190 preprocess(input, expected); in TEST_F()
[all …]
DPreprocessorTest.cpp13 void SimplePreprocessorTest::preprocess(const char *input, in preprocess() function in angle::SimplePreprocessorTest
35 void SimplePreprocessorTest::preprocess(const char *input, const pp::PreprocessorSettings &settings) in preprocess() function in angle::SimplePreprocessorTest
38 preprocess(input, nullptr, &preprocessor); in preprocess()
41 void SimplePreprocessorTest::preprocess(const char *input) in preprocess() function in angle::SimplePreprocessorTest
43 preprocess(input, pp::PreprocessorSettings(SH_GLES2_SPEC)); in preprocess()
46 void SimplePreprocessorTest::preprocess(const char *input, const char *expected) in preprocess() function in angle::SimplePreprocessorTest
48 preprocess(input, expected, SH_GLES2_SPEC); in preprocess()
51 void SimplePreprocessorTest::preprocess(const char *input, const char *expected, ShShaderSpec spec) in preprocess() function in angle::SimplePreprocessorTest
56 preprocess(input, &output, &preprocessor); in preprocess()
Dversion_test.cpp26 preprocess(str, expected); in TEST_F()
41 preprocess(str, expected, SH_GL_COMPATIBILITY_SPEC); in TEST_F()
63 preprocess(str, expected); in TEST_F()
77 preprocess(str, expected); in TEST_F()
94 preprocess(str, expected); in TEST_F()
111 preprocess(str, expected); in TEST_F()
124 preprocess(str); in TEST_F()
139 preprocess(str); in TEST_F()
152 preprocess(str); in TEST_F()
167 preprocess(str); in TEST_F()
[all …]
Dpragma_test.cpp27 preprocess(str, expected); in TEST_F()
40 preprocess(str, expected); in TEST_F()
53 preprocess(str, expected); in TEST_F()
66 preprocess(str, expected); in TEST_F()
80 preprocess(str, expected); in TEST_F()
108 preprocess(str, expected); in TEST_F()
122 preprocess(str, expected); in TEST_F()
140 preprocess(str, expected); in TEST_P()
DPreprocessorTest.h36 void preprocess(const char *input);
37 void preprocess(const char *input, const pp::PreprocessorSettings &settings);
40 void preprocess(const char *input, const char *expected);
41 void preprocess(const char *input, const char *expected, ShShaderSpec spec);
51 void preprocess(const char *input, std::stringstream *output, pp::Preprocessor *preprocessor);
Derror_test.cpp26 preprocess(str, expected); in TEST_F()
39 preprocess(str, expected); in TEST_F()
52 preprocess(str, expected); in TEST_F()
76 preprocess(str, expected); in TEST_F()
90 preprocess(str, expected); in TEST_F()
Dextension_test.cpp26 preprocess(str, expected); in TEST_F()
52 preprocess(str, expected); in TEST_F()
66 preprocess(str, expected); in TEST_F()
84 preprocess(str, expected); in TEST_F()
101 preprocess(str, expected); in TEST_F()
125 preprocess(param.str, expected); in TEST_P()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/config_parser/
Dpreprocess_parser.cc24 #include "tools/converter/preprocess/opencv_utils.h"
37 int PreprocessParser::ParseInputType(const std::string &input_type_str, preprocess::InputType *inpu… in ParseInputType()
39 (*input_type) = preprocess::IMAGE; in ParseInputType()
41 (*input_type) = preprocess::BIN; in ParseInputType()
43 (*input_type) = preprocess::INPUT_TYPE_MAX; in ParseInputType()
51 preprocess::DataPreProcessParam *data_pre_process) { in ParsePreprocess()
74 if (ret != RET_OK || data_pre_process->input_type == preprocess::INPUT_TYPE_MAX) { in ParsePreprocess()
83 MS_LOG(ERROR) << "image preprocess parse failed."; in ParsePreprocess()
87 if (data_pre_process->image_pre_process.image_to_format == preprocess::RGB || in ParsePreprocess()
88 data_pre_process->image_pre_process.image_to_format == preprocess::GRAY) { in ParsePreprocess()
[all …]
Dpreprocess_parser.h22 #include "tools/converter/preprocess/preprocess_param.h"
32 preprocess::DataPreProcessParam *data_pre_process);
35 static int ParseInputType(const std::string &input_type_str, preprocess::InputType *input_type);
38 preprocess::ImagePreProcessParam *image_pre_process);
41 preprocess::ImagePreProcessParam *image_pre_process);
44 preprocess::ImagePreProcessParam *image_pre_process);
47 preprocess::ImagePreProcessParam *image_pre_process);
49 …static int ParseImageToFormat(const std::string &image_to_format_str, preprocess::ImageToFormat *i…
/third_party/openssl/external/perl/Text-Template-1.56/lib/Text/Template/
DPreprocess.pm2 package Text::Template::Preprocess;
3 $Text::Template::Preprocess::VERSION = '1.56';
52 Text::Template::Preprocess - Expand template text with embedded Perl
60 use Text::Template::Preprocess;
62 my $t = Text::Template::Preprocess->new(...); # identical to Text::Template
64 # Fill in template, but preprocess each code fragment with pp().
71 C<Text::Template::Preprocess> provides a new C<PREPROCESSOR> option to
74 C<Text::Template::Preprocessor> will use this subroutine to preprocess
80 C<Text::Template::Preprocess> will then execute contents of C<$_> and
83 C<Text::Template::Preprocess> objects also support a utility method,
[all …]
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/
D__init__.py34 def preprocess(source, *, function
56 return _pure.preprocess(source, filename)
78 _preprocess = preprocess
95 def preprocess(**kwargs): function
105 return preprocess
160 'unix': _gcc.preprocess,
166 'gcc': _gcc.preprocess,
174 preprocess = _COMPILERS.get(tool)
175 if preprocess is None:
177 return preprocess
Dpure.py7 def preprocess(lines, filename=None): function
10 yield from preprocess(lines, filename)
13 # XXX actually preprocess...
D__main__.py65 preprocess = get_preprocessor(filename)
66 for line in preprocess(tool=not pure) or ():
134 'preprocess': (
135 'preprocess the given C source & header files',
151 subset='preprocess',
/third_party/rust/crates/bindgen/bindgen/ir/
Dcomment.rs15 pub(crate) fn preprocess(comment: &str) -> String { in preprocess() function
80 assert_eq!(preprocess("///"), ""); in processes_single_lines_correctly()
81 assert_eq!(preprocess("/// hello"), " hello"); in processes_single_lines_correctly()
82 assert_eq!(preprocess("// hello"), " hello"); in processes_single_lines_correctly()
83 assert_eq!(preprocess("// hello"), " hello"); in processes_single_lines_correctly()
88 assert_eq!(preprocess("/**/"), ""); in processes_multi_lines_correctly()
91 preprocess("/** hello \n * world \n * foo \n */"), in processes_multi_lines_correctly()
96 preprocess("/**\nhello\n*world\n*foo\n*/"), in processes_multi_lines_correctly()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/preprocess/
Dimage_preprocess.h24 #include "tools/converter/preprocess/preprocess_param.h"
30 namespace preprocess {
48 int PreProcess(const DataPreProcessParam &data_pre_process_param, const std::string &input_name, si…
51 int PreProcess(const preprocess::DataPreProcessParam &data_pre_process_param, const std::string &in…
54 int PreProcessBatch(const preprocess::DataPreProcessParam &data_pre_process_param, const std::strin…
57 } // namespace preprocess
Dimage_preprocess.cc17 #include "tools/converter/preprocess/image_preprocess.h"
21 #include "tools/converter/preprocess/opencv_utils.h"
24 namespace preprocess { namespace
180 int PreProcess(const preprocess::DataPreProcessParam &data_pre_process_param, const std::string &in… in PreProcess() function
189PreProcess(data_pre_process_param, input_name, image_index, reinterpret_cast<void **>(&data_buffer… in PreProcess()
195 MS_LOG(ERROR) << "Preprocess failed."; in PreProcess()
220 // preprocess input batch
221 int PreProcessBatch(const preprocess::DataPreProcessParam &data_pre_process_param, const std::strin… in PreProcessBatch()
228PreProcess(data_pre_process_param, input_name, image_index, reinterpret_cast<void **>(&data_buffer… in PreProcessBatch()
234 MS_LOG(ERROR) << "Preprocess failed."; in PreProcessBatch()
[all …]
Dopencv_utils.h21 #include "tools/converter/preprocess/preprocess_param.h"
25 namespace preprocess {
28 cv::ColorConversionCodes ConvertColorConversionCodes(preprocess::ImageToFormat format);
33 } // namespace preprocess
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/cxx_api/model/
Dmodel_impl.cc49 Status ModelImpl::Preprocess(const std::vector<std::vector<MSTensor>> &inputs, std::vector<MSTensor… in Preprocess() function in mindspore::ModelImpl
56 // Run preprocess in Preprocess()
70 // perform preprocess on each tensor separately in Preprocess()
77 CHECK_FAIL_AND_RELEASE(dlret, handle, "Run preprocess failed: " + dlret.GetErrDescription()); in Preprocess()
108 MS_LOG(ERROR) << "Data preprocess is not supported on Windows yet."; in Preprocess()
109 return Status(kMEFailed, "Data preprocess is not supported on Windows yet."); in Preprocess()
116 // Run preprocess in PredictWithPreprocess()
118 Status ret = Preprocess(inputs, &preprocess_outputs); in PredictWithPreprocess()
131 MS_LOG(ERROR) << "Predict with data preprocess is not supported on Windows yet."; in PredictWithPreprocess()
132 return Status(kMEFailed, "Predict with data preprocess is not supported on Windows yet."); in PredictWithPreprocess()
/third_party/mindspore/mindspore-src/source/tests/ut/python/dataset/
Dtest_sync_wait.py32 def preprocess(self, input_): member in Augment
51 dataset = dataset.map(operations=[aug.preprocess], input_columns=["input"])
76 dataset = dataset.map(operations=[aug.preprocess], input_columns=["input"])
101 dataset = dataset.map(operations=[aug.preprocess], input_columns=["input"])
128 dataset = dataset.map(operations=[aug.preprocess], input_columns=["input"])
153 dataset = dataset.map(operations=[aug.preprocess], input_columns=["input"])
160 dataset2 = dataset2.map(operations=[aug.preprocess], input_columns=["input"])
185 dataset = dataset.map(operations=[aug.preprocess], input_columns=["input"])
205 dataset = dataset.map(operations=[aug.preprocess], input_columns=["input"])
242 dataset = dataset.map(operations=[aug.preprocess], input_columns=["input"])
[all …]
/third_party/grpc/src/python/grpcio_testing/
Dsetup.py61 # Run preprocess from the repository *before* doing any packaging!
62 "preprocess": _testing_commands.Preprocess,
67 "preprocess": _NoOpCommand,
/third_party/grpc/src/python/grpcio_health_checking/
Dsetup.py78 # Run preprocess from the repository *before* doing any packaging!
79 "preprocess": _health_commands.Preprocess,
86 "preprocess": _NoOpCommand,
/third_party/grpc/src/python/grpcio_reflection/
Dsetup.py79 # Run preprocess from the repository *before* doing any packaging!
80 "preprocess": _reflection_commands.Preprocess,
87 "preprocess": _NoOpCommand,
/third_party/grpc/src/python/grpcio_channelz/
Dsetup.py80 # Run preprocess from the repository *before* doing any packaging!
81 "preprocess": _channelz_commands.Preprocess,
88 "preprocess": _NoOpCommand,
/third_party/grpc/src/python/grpcio_status/
Dsetup.py76 # Run preprocess from the repository *before* doing any packaging!
77 "preprocess": _status_commands.Preprocess,
83 "preprocess": _NoOpCommand,

12345678910>>...14