Searched refs:ToData (Results 1 – 5 of 5) sorted by relevance
80 static sk_data_t* ToData(SkData* data) { in ToData() function150 return ToData(AsImage(cimage)->encodeToData().release()); in sk_image_encode()415 return ToData(SkData::MakeWithCopy(src, length).release()); in sk_data_new_with_copy()419 return ToData(SkData::MakeFromMalloc(memory, length).release()); in sk_data_new_from_malloc()423 return ToData(SkData::MakeSubset(AsData(csrc), offset, length).release()); in sk_data_new_subset()
81 static sk_data_t* ToData(SkData* data) { in ToData() function154 return ToData(AsImage(cimage)->encodeToData().release()); in sk_image_encode()447 return ToData(SkData::MakeWithCopy(src, length).release()); in sk_data_new_with_copy()451 return ToData(SkData::MakeFromMalloc(memory, length).release()); in sk_data_new_from_malloc()455 return ToData(SkData::MakeSubset(AsData(csrc), offset, length).release()); in sk_data_new_subset()
168 const char *ToData = SM.getCharacterData(ToLoc); in EndOfMainFile() local169 unsigned ToLen = std::strcspn(ToData, "\n"); in EndOfMainFile()
2114 struct CXXRecordDecl::DefinitionData &ToData = ToCXX->data(); in ImportDefinition() local2116 ToData.UserDeclaredConstructor = FromData.UserDeclaredConstructor; in ImportDefinition()2117 ToData.UserDeclaredSpecialMembers = FromData.UserDeclaredSpecialMembers; in ImportDefinition()2118 ToData.Aggregate = FromData.Aggregate; in ImportDefinition()2119 ToData.PlainOldData = FromData.PlainOldData; in ImportDefinition()2120 ToData.Empty = FromData.Empty; in ImportDefinition()2121 ToData.Polymorphic = FromData.Polymorphic; in ImportDefinition()2122 ToData.Abstract = FromData.Abstract; in ImportDefinition()2123 ToData.IsStandardLayout = FromData.IsStandardLayout; in ImportDefinition()2124 ToData.HasNoNonEmptyBases = FromData.HasNoNonEmptyBases; in ImportDefinition()[all …]
1956 struct CXXRecordDecl::DefinitionData &ToData = ToCXX->data(); in ImportDefinition() local1960 ToData.Name = FromData.Name; in ImportDefinition()