| /third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/ |
| D | if_test.cpp | 31 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 …]
|
| D | define_test.cpp | 32 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 …]
|
| D | PreprocessorTest.cpp | 13 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()
|
| D | version_test.cpp | 26 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 …]
|
| D | pragma_test.cpp | 27 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()
|
| D | PreprocessorTest.h | 36 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);
|
| D | error_test.cpp | 26 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()
|
| D | extension_test.cpp | 26 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/ |
| D | preprocess_parser.cc | 24 #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 …]
|
| D | preprocess_parser.h | 22 #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/ |
| D | Preprocess.pm | 2 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__.py | 34 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
|
| D | pure.py | 7 def preprocess(lines, filename=None): function 10 yield from preprocess(lines, filename) 13 # XXX actually preprocess...
|
| D | __main__.py | 65 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/ |
| D | comment.rs | 15 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/ |
| D | image_preprocess.h | 24 #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
|
| D | image_preprocess.cc | 17 #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 189 …PreProcess(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() 228 …PreProcess(data_pre_process_param, input_name, image_index, reinterpret_cast<void **>(&data_buffer… in PreProcessBatch() 234 MS_LOG(ERROR) << "Preprocess failed."; in PreProcessBatch() [all …]
|
| D | opencv_utils.h | 21 #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/ |
| D | model_impl.cc | 49 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/ |
| D | test_sync_wait.py | 32 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/ |
| D | setup.py | 61 # 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/ |
| D | setup.py | 78 # Run preprocess from the repository *before* doing any packaging! 79 "preprocess": _health_commands.Preprocess, 86 "preprocess": _NoOpCommand,
|
| /third_party/grpc/src/python/grpcio_reflection/ |
| D | setup.py | 79 # Run preprocess from the repository *before* doing any packaging! 80 "preprocess": _reflection_commands.Preprocess, 87 "preprocess": _NoOpCommand,
|
| /third_party/grpc/src/python/grpcio_channelz/ |
| D | setup.py | 80 # Run preprocess from the repository *before* doing any packaging! 81 "preprocess": _channelz_commands.Preprocess, 88 "preprocess": _NoOpCommand,
|
| /third_party/grpc/src/python/grpcio_status/ |
| D | setup.py | 76 # Run preprocess from the repository *before* doing any packaging! 77 "preprocess": _status_commands.Preprocess, 83 "preprocess": _NoOpCommand,
|