/external/libexif/test/ |
D | test-tagtable.c | 28 #define VALIDATE(s) if (!(s)) {printf("Test %s FAILED\n", #s); fail=1;} macro 42 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_PLANAR_CONFIGURATION, in support_level() 46 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_PLANAR_CONFIGURATION, in support_level() 50 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_PLANAR_CONFIGURATION, in support_level() 54 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_PLANAR_CONFIGURATION, in support_level() 58 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_PLANAR_CONFIGURATION, in support_level() 66 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_YCBCR_POSITIONING, in support_level() 70 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_YCBCR_POSITIONING, in support_level() 74 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_YCBCR_POSITIONING, in support_level() 78 VALIDATE(exif_tag_get_support_level_in_ifd(EXIF_TAG_YCBCR_POSITIONING, in support_level() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/model_modifier/ |
D | embedder.cc | 75 #define VALIDATE(condition, ...) \ in ValidateInputs() macro 79 VALIDATE(main_model_, "main_model may not be null"); in ValidateInputs() 80 VALIDATE(main_model_->subgraphs()->size(), "main model must have subgraphs"); in ValidateInputs() 82 VALIDATE(main_subgraph->inputs()->size() == 1, in ValidateInputs() 87 VALIDATE(shape->size() == 4, in ValidateInputs() 91 VALIDATE(shape->Get(0) == 1, in ValidateInputs() 94 VALIDATE(shape->Get(3) == 1 || shape->Get(3) == 3 || shape->Get(3) == 4, in ValidateInputs() 98 VALIDATE(!jpeg_data_.empty(), "must have at least 1 jpeg input"); in ValidateInputs() 106 VALIDATE(status.code == kTfLiteOk, in ValidateInputs() 112 VALIDATE(height == shape->Get(1) && width == shape->Get(2) && in ValidateInputs() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_def_util.cc | 187 #define VALIDATE(EXPR, ...) \ macro 199 VALIDATE(gtl::InsertIfNotPresent(names, arg.name()), in ValidateArg() 201 VALIDATE(HasAttrStyleType(arg), "Missing type", suffix); in ValidateArg() 205 VALIDATE(attr != nullptr, "No attr with name '", arg.number_attr(), "'", in ValidateArg() 207 VALIDATE(attr->type() == "int", "Attr '", attr->name(), "' used as length", in ValidateArg() 209 VALIDATE(attr->has_minimum(), "Attr '", attr->name(), "' used as length", in ValidateArg() 211 VALIDATE(attr->minimum() >= 0, "Attr '", attr->name(), "' used as length", in ValidateArg() 213 VALIDATE(arg.type_list_attr().empty(), in ValidateArg() 215 VALIDATE((arg.type() != DT_INVALID ? 1 : 0) + in ValidateArg() 223 VALIDATE(num_type_fields == 1, in ValidateArg() [all …]
|
/external/skia/src/gpu/ganesh/ |
D | GrBufferAllocPool.cpp | 74 #define VALIDATE validate macro 76 static void VALIDATE(bool = false) {} in VALIDATE() function 109 VALIDATE(); in ~GrBufferAllocPool() 114 VALIDATE(); in reset() 118 VALIDATE(); in reset() 122 VALIDATE(); in unmap() 137 VALIDATE(); in unmap() 193 VALIDATE(); in makeSpace() 214 VALIDATE(); in makeSpace() 237 VALIDATE(); in makeSpace() [all …]
|
/external/skia/src/gpu/ganesh/mtl/ |
D | GrMtlBuffer.mm | 20 #define VALIDATE() this->validate() macro 22 #define VALIDATE() do {} while(false) macro 78 VALIDATE(); 138 VALIDATE(); 144 VALIDATE(); 147 VALIDATE(); 154 VALIDATE(); 157 VALIDATE(); 164 VALIDATE();
|
/external/skia/src/gpu/ganesh/d3d/ |
D | GrD3DBuffer.cpp | 14 #define VALIDATE() this->validate() macro 16 #define VALIDATE() do {} while(false) macro 95 VALIDATE(); in GrD3DBuffer() 209 VALIDATE(); in internalMap() 223 VALIDATE(); in internalMap() 237 VALIDATE(); in internalMap() 245 VALIDATE(); in internalUnmap() 267 VALIDATE(); in internalUnmap()
|
/external/cronet/buildtools/third_party/libc++/trunk/benchmarks/ |
D | map.bench.cpp | 117 #ifndef VALIDATE in run() 138 #ifndef VALIDATE in run() 182 #ifndef VALIDATE in run() 201 #ifndef VALIDATE in run() 247 #ifndef VALIDATE in run() 289 #ifndef VALIDATE in run() 323 #ifndef VALIDATE in run() 366 #ifndef VALIDATE in run() 408 #ifndef VALIDATE in run() 442 #ifndef VALIDATE in run() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/ |
D | embedder.cc | 755 #define VALIDATE(condition, ...) \ in ValidateInputs() macro 759 VALIDATE(main_model_, "main_model may not be null"); in ValidateInputs() 760 VALIDATE(main_model_->subgraphs()->size(), "main model must have subgraphs"); in ValidateInputs() 762 VALIDATE(main_subgraph->inputs()->size() == 1, in ValidateInputs() 767 VALIDATE(shape->size() == 4, in ValidateInputs() 770 VALIDATE(shape->Get(0) == 1, in ValidateInputs() 772 VALIDATE(shape->Get(3) == 1 || shape->Get(3) == 3, in ValidateInputs() 776 VALIDATE(!jpeg_data_.empty(), "must have at least 1 jpeg input"); in ValidateInputs() 784 VALIDATE(status.code == kTfLiteOk, in ValidateInputs() 790 VALIDATE(height == shape->Get(1) && width == shape->Get(2) && in ValidateInputs() [all …]
|
/external/skia/tests/ |
D | GrMeshTest.cpp | 203 #define VALIDATE(buff) \ macro 222 VALIDATE(helper->fVertBuffer); 235 VALIDATE(helper->fIndexBuffer); 237 VALIDATE(helper->fVertBuffer); 262 VALIDATE(helper->fIndexBuffer); 264 VALIDATE(helper->fVertBuffer); 295 VALIDATE(helper->fInstBuffer); 298 VALIDATE(helper->fVertBuffer); 301 VALIDATE(helper->fVertBuffer2); 331 VALIDATE(indexBuffer); [all …]
|
/external/ComputeLibrary/tests/validation/CL/ |
D | PixelWiseMultiplication.cpp | 60 #define VALIDATE(TYPE, TOLERANCE) validate(CLAccessor(_target), _reference, AbsoluteTolerance<TYPE>… macro 62 …TION_FIXTURE_DATA_TEST_CASE(TEST_NAME, FIXTURE, MODE, SHAPES, DT1, DT2, SCALE, RP, ACT, VALIDATE) \ argument 73 …VALIDATE … 152 VALIDATE(float, 1.f)) in TEST_SUITE() 153 … ALL, TinyShapes(), F16, F16, scale_255, TO_NEAREST_UP, ActivationFunctionsDataset, VALIDATE(float, in TEST_SUITE() 160 …hapes(), F32, F32, scale_255, TO_NEAREST_UP, EmptyActivationFunctionsDataset, VALIDATE(float, 1.f)) in TEST_SUITE() 161 …TinyShapes(), F32, F32, scale_255, TO_NEAREST_UP, ActivationFunctionsDataset, VALIDATE(float, 1.f)) in TEST_SUITE() 173 VALIDATE(float, 1.f) 180 VALIDATE(float, 1.f)) 183 VALIDATE(float, 1.f))
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | rxtimestamp.c | 231 #define VALIDATE(field) \ in do_recv() macro 243 VALIDATE(tstamp); in do_recv() 244 VALIDATE(tstampns); in do_recv() 245 VALIDATE(swtstamp); in do_recv() 246 VALIDATE(hwtstamp); in do_recv() 247 #undef VALIDATE in do_recv()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_validate.c | 164 # define VALIDATE 0 in ir3_validate() macro 166 # define VALIDATE 1 in ir3_validate() 169 if (!VALIDATE) in ir3_validate()
|
/external/bazelbuild-rules_android/src/tools/enforce_min_sdk_floor/ |
D | enforce_min_sdk_floor.py | 30 VALIDATE = "validate" variable 41 [BUMP, VALIDATE, SET_DEFAULT], 251 elif FLAGS.action == VALIDATE:
|
/external/ImageMagick/tests/ |
D | validate-stream.tap | 23 ${VALIDATE} -validate stream && echo "ok" || echo "not ok"
|
D | validate-composite.tap | 23 ${VALIDATE} -validate composite && echo "ok" || echo "not ok"
|
D | validate-identify.tap | 23 ${VALIDATE} -validate identify && echo "ok" || echo "not ok"
|
D | validate-montage.tap | 23 ${VALIDATE} -validate montage && echo "ok" || echo "not ok"
|
D | validate-compare.tap | 23 ${VALIDATE} -validate compare && echo "ok" || echo "not ok"
|
D | validate-import.tap | 23 ${VALIDATE} -validate import-export && echo "ok" || echo "not ok"
|
D | validate-convert.tap | 23 ${VALIDATE} -validate convert && echo "ok" || echo "not ok"
|
D | validate-colorspace.tap | 23 ${VALIDATE} -validate colorspace && echo "ok" || echo "not ok"
|
D | validate-formats-map.tap | 23 ${VALIDATE} -validate formats-map && echo "ok" || echo "not ok"
|
D | validate-formats-memory.tap | 23 ${VALIDATE} -validate formats-memory && echo "ok" || echo "not ok"
|
D | validate-formats-disk.tap | 23 ${VALIDATE} -validate formats-disk && echo "ok" || echo "not ok"
|
/external/ComputeLibrary/tests/validation/NEON/ |
D | PixelWiseMultiplication.cpp | 87 #define VALIDATE(TYPE, TOLERANCE) validate(Accessor(_target), _reference, AbsoluteTolerance<TYPE>(T… macro 92 …_TEST_CASE(TEST_NAME, FIXTURE, MODE, SHAPES, DT1, DT2, DT3, SCALE, RP, INPLACE_DATASET, VALIDATE) \ argument 104 …VALIDATE … 538 … ALL, SmallShapes(), F16, F16, F16, scale_255, TO_NEAREST_UP, InPlaceDataSet, VALIDATE(float, 1.f)) 547 … ALL, SmallShapes(), F32, F32, F32, scale_255, TO_NEAREST_UP, InPlaceDataSet, VALIDATE(float, 1.f)) 562 VALIDATE(float, 1.f))
|