Home
last modified time | relevance | path

Searched refs:Res (Results 1 – 3 of 3) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_metadata_spec_encoder.cpp138 std::pair<StringsMapTy::iterator, bool> Res = in joinString() local
141 if (!Res.second) in joinString()
145 mEncodedStrings.push_back(Res.first->first.c_str()); in joinString()
149 return (Res.first->second + 1); in joinString()
165 std::pair<TypesMapTy::iterator, bool> Res = in encodeTypeBaseAsKey() local
168 if (!Res.second) in encodeTypeBaseAsKey()
185 unsigned Res = encodeTypeBaseAsKey(RS_GET_TYPE_BASE(T)); in encodePointerType() local
188 return Res; in encodePointerType()
207 unsigned Res = encodeTypeBase(RS_GET_TYPE_BASE(T)); in encodeConstantArrayType() local
210 return Res; in encodeConstantArrayType()
[all …]
Dslang_rs_object_ref_count.cpp1336 clang::Expr *Res = NULL; in CreateZeroInitializerForRSSpecificType() local
1362 Res = new(C) clang::InitListExpr(C, Loc, &CastToNull, 1, Loc); in CreateZeroInitializerForRSSpecificType()
1404 Res = new(C) clang::InitListExpr(C, Loc, &InitExpr, 1, Loc); in CreateZeroInitializerForRSSpecificType()
1429 return Res; in CreateZeroInitializerForRSSpecificType()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp641 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]); in ParseTypeTableBody() local
642 if (Res) { in ParseTypeTableBody()
643 Res->setName(TypeName); in ParseTypeTableBody()
646 Res = StructType::createNamed(Context, TypeName); in ParseTypeTableBody()
658 Res->setBody(EltTys, Record[0]); in ParseTypeTableBody()
659 ResultTy = Res; in ParseTypeTableBody()
670 StructType *Res = cast_or_null<StructType>(TypeList[NumRecords]); in ParseTypeTableBody() local
671 if (Res) { in ParseTypeTableBody()
672 Res->setName(TypeName); in ParseTypeTableBody()
675 Res = StructType::createNamed(Context, TypeName); in ParseTypeTableBody()
[all …]