Lines Matching refs:result
151 RSInfo *result = NULL;
227 // File seems ok, create result RSInfo object.
228 result = new (std::nothrow) RSInfo(header->strPoolSize);
229 if (result == NULL) {
238 ::memcpy(&result->mHeader, header, sizeof(rsinfo::Header));
243 if (result->mStringPool == NULL) {
248 ::memcpy(result->mStringPool, data + result->mHeader.headerSize,
249 result->mHeader.strPoolSize);
252 // Populate all the data to the result object.
253 result->mSourceHash =
254 reinterpret_cast<const uint8_t*>(result->getStringFromPool(header->sourceSha1Idx));
255 if (result->mSourceHash == NULL) {
260 result->mCompileCommandLine = result->getStringFromPool(header->compileCommandLineIdx);
261 if (result->mCompileCommandLine == NULL) {
266 result->mBuildFingerprint = result->getStringFromPool(header->buildFingerprintIdx);
267 if (result->mBuildFingerprint == NULL) {
273 (data, *result, header->pragmaList, result->mPragmas)) {
278 (data, *result, header->objectSlotList, result->mObjectSlots)) {
283 (data, *result, header->exportVarNameList, result->mExportVarNames)) {
288 (data, *result, header->exportFuncNameList, result->mExportFuncNames)) {
293 (data, *result, header->exportForeachFuncList, result->mExportForeachFuncs)) {
300 return result;
307 delete result;