Searched refs:slangAssert (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/compile/slang/
H A Dslang_assert.h24 #define slangAssert(v) do {} while (0) macro
27 #define slangAssert(v) \ macro
30 fprintf(stderr, "slangAssert failed at %s:%d - '%s'\n", \
H A Dslang_rs_export_foreach.cpp39 slangAssert(Context && FD);
71 slangAssert(Context && FD);
73 slangAssert(numParams > 0);
149 slangAssert(Context && FD);
230 slangAssert(IndexOfFirstIterator != NULL);
231 slangAssert(mX == NULL && mY == NULL);
242 slangAssert(mX == NULL); // We won't be invoked if two 'x' are present.
252 slangAssert(mY == NULL); // We won't be invoked if two 'y' are present.
302 slangAssert(mOut == NULL);
303 slangAssert(mUsrDat
[all...]
H A Dslang_rs_export_element.cpp82 slangAssert(EI != NULL && "Element info not found");
90 slangAssert(EI->vsize == 1 && "Element not a primitive class (please "
98 slangAssert(EI->type == EPT->getType() && "Element has unexpected type");
103 slangAssert(EI->vsize > 1 && "Element not a vector class (please check "
113 slangAssert(EI->type == EVT->getType() && "Element has unexpected type");
114 slangAssert(EI->vsize == EVT->getNumElement() && "Element has unexpected "
H A Dslang_rs_object_ref_count.h116 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT));
120 slangAssert(false && "incorrect type");
130 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT));
134 slangAssert(false && "incorrect type");
H A Dslang_rs_export_func.h77 slangAssert((mParamPacketType != NULL) &&
82 slangAssert((mParamPacketType != NULL) &&
H A Dslang_rs_export_func.cpp37 slangAssert(Context && FD);
55 slangAssert(!Name.empty() && "Function must have a name");
105 slangAssert(!T.isNull());
117 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) &&
133 slangAssert(mParamPacketType != NULL);
H A Dslang_rs_object_ref_count.cpp61 slangAssert((FD->getNumParams() == 2) &&
65 slangAssert((FD->getNumParams() == 1) &&
75 slangAssert(PVT->isPointerType() &&
81 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT)
87 slangAssert(false && "incorrect type");
109 slangAssert(CompoundStmtCount == NewStmtCount);
123 slangAssert(CS);
152 slangAssert(Once <= 1);
156 slangAssert(Once == 0);
246 slangAssert(C
[all...]
H A Dslang_diagnostic_buffer.cpp72 slangAssert(0 && "Diagnostic not handled during diagnostic buffering!");
H A Dslang_rs_export_var.h63 slangAssert(i < mNumInits);
H A Dslang_rs_ast_replace.h45 slangAssert(mNewExpr &&
52 slangAssert(mOldStmt);
H A Dslang_rs_reflection_cpp.cpp58 slangAssert(false && "GetMatrixTypeName : Unsupported matrix dimension");
107 default: { slangAssert(false && "Unknown class of type"); }
533 default: { slangAssert(false && "Unknown class of type"); }
575 slangAssert((ET->getClass() == RSExportType::ExportClassPointer) &&
608 slangAssert(EVT != NULL);
639 slangAssert(false);
644 slangAssert(false);
649 slangAssert(false);
798 default: { slangAssert(false && "Unknown class of type"); }
868 slangAssert(!Va
[all...]
H A Dslang_rs_export_type.cpp189 slangAssert(false && "Variables should be validated before exporting");
272 slangAssert(false && "Unknown type cannot be exported");
383 slangAssert(false && "Unknown type cannot be validated");
492 slangAssert(false && "Unknown type cannot be exported");
692 slangAssert(false && "Unknown data type of the builtin");
715 slangAssert(*RI != NULL && "cannot be NULL object");
1021 slangAssert((type > DataTypeUnknown && type < DataTypeMax) &&
1149 slangAssert(false && "Unknown data type");
1235 slangAssert(false && "Max vector is 4");
1245 slangAssert(EV
[all...]
H A Dslang_rs_reflection.cpp117 slangAssert(false && "GetMatrixTypeName : Unsupported matrix dimension");
128 slangAssert((Index < (sizeof(VectorAccessorMap) / sizeof(const char *))) &&
172 slangAssert(false && "GetPackerAPIName : Unknown primitive data type");
213 default: { slangAssert(false && "Unknown class of type"); }
240 default: { slangAssert(false && "Unknown class of type"); }
258 slangAssert(false && "Vectors should be size 2, 3, 4");
274 slangAssert(false && "Unsupported dimension of matrix");
301 slangAssert(mGeneratedFileNames && "Must supply GeneratedFileNames");
302 slangAssert(!mPackageName.empty() && mPackageName != "-");
456 slangAssert(!Va
[all...]
H A Dslang_rs_export_foreach.h151 slangAssert((mParamPacketType != NULL) &&
157 slangAssert((mParamPacketType != NULL) &&
H A Dslang_backend.cpp242 slangAssert(actualWrapperLen > 0);
275 slangAssert(mpModule == M &&
366 slangAssert(false && "Invalid target API value");
384 slangAssert(false && "Unknown output type");
H A Dslang_rs_export_var.cpp93 slangAssert(false && "Unknown class of type");
H A Dslang_rs_reflect_utils.cpp220 slangAssert(false && "Couldn't generate 32-bit embedded bitcode!");
224 slangAssert(false && "Couldn't generate 64-bit embedded bitcode!");
244 slangAssert(false &&
393 slangAssert(!mIndent.empty() && "No indent");
H A Dslang_rs_context.cpp71 slangAssert(!VD->getName().empty() && "Variable name should not be empty");
89 slangAssert(!FD->getName().empty() && "Function name should not be empty");
126 slangAssert(TUDecl != NULL && "Translation unit declaration (top-level "
H A Drs_cc_options.cpp134 default: { slangAssert(false && "Invalid option in M group!"); }
157 slangAssert(false && "Invalid option in output type group!");
H A Dslang_rs_reflection.h157 slangAssert((mFieldIndexMap.find(F) == mFieldIndexMap.end()) &&
164 slangAssert((I != mFieldIndexMap.end()) &&
H A Dslang_rs_ast_replace.cpp135 slangAssert(false && "Both case and default have specialized handlers");
H A Dslang.cpp118 slangAssert((OutputFile != NULL) && (Error != NULL) &&
289 slangAssert(0 && "Not implemented");
H A Dslang_rs_backend.cpp149 slangAssert(version == 1);
291 slangAssert(F && "Function marked as exported disappeared in Bitcode");
478 slangAssert(StructInfoMetadata->getNumOperands() == 0 &&
H A Dllvm-rs-cc.cpp111 slangAssert(false && "Invalid output type!");
H A Dslang_rs.cpp287 slangAssert(false && "Should have equal number of 32/64-bit files");

Completed in 8353 milliseconds

12