Home
last modified time | relevance | path

Searched refs:RETURN_IF_ERROR (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceFileWriter.cpp27 #define RETURN_IF_ERROR(Expr) \ macro
228 RETURN_IF_ERROR(AddRes('"')); in processString()
268 RETURN_IF_ERROR(AddEscapedChar(ReadInt)); in processString()
285 RETURN_IF_ERROR(AddEscapedChar(ReadInt)); in processString()
294 RETURN_IF_ERROR(AddRes('\b')); in processString()
298 RETURN_IF_ERROR(AddRes('\n')); in processString()
302 RETURN_IF_ERROR(AddRes('\r')); in processString()
307 RETURN_IF_ERROR(AddRes('\t')); in processString()
311 RETURN_IF_ERROR(AddRes('\\')); in processString()
320 RETURN_IF_ERROR(AddRes('"')); in processString()
[all …]
DResourceScriptParser.cpp21 #define RETURN_IF_ERROR(Expr) \ macro
204 RETURN_IF_ERROR(consumeType(Kind::RightParen)); in parseIntExpr2()
411 RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); in parseAcceleratorsResource()
418 RETURN_IF_ERROR(consumeType(Kind::Comma)); in parseAcceleratorsResource()
488 RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); in parseUserDefinedResource()
495 RETURN_IF_ERROR(consumeType(Kind::Comma)); in parseUserDefinedResource()
532 RETURN_IF_ERROR(consumeType(Kind::Comma)); in parseControl()
537 RETURN_IF_ERROR(consumeType(Kind::Comma)); in parseControl()
544 RETURN_IF_ERROR(consumeType(Kind::Comma)); in parseControl()
547 RETURN_IF_ERROR(consumeType(Kind::Comma)); in parseControl()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DWindowsResource.cpp29 #define RETURN_IF_ERROR(X) \ macro
84 RETURN_IF_ERROR(loadNext()); in moveNext()
92 RETURN_IF_ERROR(Reader.readInteger(IDFlag)); in readStringOrId()
99 RETURN_IF_ERROR(Reader.readWideString(Str)); in readStringOrId()
101 RETURN_IF_ERROR(Reader.readInteger(ID)); in readStringOrId()
108 RETURN_IF_ERROR(Reader.readObject(Prefix)); in loadNext()
114 RETURN_IF_ERROR(readStringOrId(Reader, TypeID, Type, IsStringType)); in loadNext()
116 RETURN_IF_ERROR(readStringOrId(Reader, NameID, Name, IsStringName)); in loadNext()
118 RETURN_IF_ERROR(Reader.padToAlignment(WIN_RES_HEADER_ALIGNMENT)); in loadNext()
120 RETURN_IF_ERROR(Reader.readObject(Suffix)); in loadNext()
[all …]
DCOFFObjectFile.cpp1654 #define RETURN_IF_ERROR(E) \ macro
1663 RETURN_IF_ERROR(Reader.readInteger(Length)); in getDirStringAtOffset()
1665 RETURN_IF_ERROR(Reader.readArray(RawDirString, Length)); in getDirStringAtOffset()
1680 RETURN_IF_ERROR(Reader.readObject(Table)); in getTableAtOffset()
/external/protobuf/src/google/protobuf/util/
Djson_util.cc80 RETURN_IF_ERROR(resolver->ResolveMessageType(type_url, &type)); in BinaryToJsonStream()
146 RETURN_IF_ERROR(resolver->ResolveMessageType(type_url, &type)); in JsonToBinaryStream()
157 RETURN_IF_ERROR( in JsonToBinaryStream()
160 RETURN_IF_ERROR(parser.FinishParse()); in JsonToBinaryStream()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc220 RETURN_IF_ERROR(RenderField(field, field_name, ow)); in WriteMessage()
239 RETURN_IF_ERROR(RenderPacked(field, ow)); in RenderList()
245 RETURN_IF_ERROR(RenderField(field, "", ow)); in RenderList()
286 RETURN_IF_ERROR(RenderField(field, map_key, ow)); in RenderMap()
304 RETURN_IF_ERROR(RenderField(field, StringPiece(), ow)); in RenderPacked()
534 RETURN_IF_ERROR(os->RenderField(field, field_name, ow)); in RenderStructValue()
749 RETURN_IF_ERROR((*type_renderer)(this, *type, field_name, ow)); in RenderField()
751 RETURN_IF_ERROR(IncrementRecursionDepth(type->name(), field_name)); in RenderField()
752 RETURN_IF_ERROR(WriteMessage(*type, field_name, 0, true, ow)); in RenderField()
Dfield_mask_utility.cc193 RETURN_IF_ERROR(CallPathSink( in DecodeCompactFieldMaskPaths()
/external/protobuf/src/google/protobuf/stubs/
Dstatus_macros.h49 #define RETURN_IF_ERROR(expr) \ macro