Home
last modified time | relevance | path

Searched refs:sIf (Results 1 – 7 of 7) sorted by relevance

/system/tools/hidl/
DEnumType.cpp416 out.sIf("(o & " + valueName + ")" + in emitPackageTypeHeaderDefinitions()
426 out.sIf("o != flipped", [&] { in emitPackageTypeHeaderDefinitions()
442 out.sIf("o == " + fullName() + "::" + value->name(), [&] { in emitPackageTypeHeaderDefinitions()
493 out.sIf("o == " + value->name(), [&] { in emitJavaTypeDeclarations()
514 out.sIf("(o & " + value->name() + ") == " + value->name(), [&] { in emitJavaTypeDeclarations()
520 out.sIf("o != flipped", [&] { in emitJavaTypeDeclarations()
DCompoundType.cpp890 out.sIf("lhs.getDiscriminator() != rhs.getDiscriminator()", [&] { in emitPackageTypeHeaderDefinitions()
914 out.sIf("lhs." + field->name() + " != rhs." + field->name(), [&] { in emitPackageTypeHeaderDefinitions()
1491 out.sIf("this == otherObject", [&] { in emitJavaTypeDeclarations()
1494 out.sIf("otherObject == null", [&] { in emitJavaTypeDeclarations()
1498 out.sIf("otherObject.getClass() != " + fullJavaName() + ".class", [&] { in emitJavaTypeDeclarations()
1504 out.sIf("this.hidl_d != other.hidl_d", [&] { in emitJavaTypeDeclarations()
1507 out.sIf("!android.os.HidlSupport.deepEquals(this.hidl_o, other.hidl_o)", [&] { in emitJavaTypeDeclarations()
1516 out.sIf(condition, [&] { in emitJavaTypeDeclarations()
DgenerateCppAdapter.cpp176 out.sIf("!_hidl_out.isOkUnchecked()", [&] { out << "return _hidl_out;\n"; }); in generateAdapterMethod()
DgenerateCpp.cpp210 out.sIf("sm == nullptr", [&] { in implementServiceManagerInteractions()
444 out.sIf(name + " != nullptr && !" + name + "->isRemote()", [&] { in wrapPassthroughArg()
450 out.sIf(wrappedName + " == nullptr", [&] { in wrapPassthroughArg()
957 out.sIf(nonNull + " == nullptr", [&] { in generateCheckNonNull()
1436 out.sIf("_hidl_err == ::android::UNEXPECTED_NULL", [&] { in generateStubSource()
DInterface.cpp181 out.sIf("(*it)->getRecipient() == recipient", [&] { in fillUnlinkToDeathMethod()
/system/tools/hidl/host_utils/include/hidl-util/
DFormatter.h79 Formatter& sIf(const std::string& cond, const std::function<void(void)>& block);
/system/tools/hidl/host_utils/
DFormatter.cpp78 Formatter& Formatter::sIf(const std::string& cond, const std::function<void(void)>& block) { in sIf() function in android::Formatter