Home
last modified time | relevance | path

Searched refs:mStringPool (Results 1 – 6 of 6) sorted by relevance

/frameworks/compile/libbcc/lib/Renderscript/
DRSInfoExtractor.cpp162 if (result->mStringPool == NULL) { in ExtractFromSource()
169 result->mStringPool[ cur_string_pool_offset++ ] = '\0'; in ExtractFromSource()
190 writeString(key, result->mStringPool, &cur_string_pool_offset), in ExtractFromSource()
191 writeString(val, result->mStringPool, &cur_string_pool_offset))); in ExtractFromSource()
208 writeString(name, result->mStringPool, &cur_string_pool_offset)); in ExtractFromSource()
225 writeString(name, result->mStringPool, &cur_string_pool_offset)); in ExtractFromSource()
283 writeString(name, result->mStringPool, &cur_string_pool_offset), in ExtractFromSource()
305 writeString(llvm::StringRef("root"), result->mStringPool, in ExtractFromSource()
342 uint8_t* sha1 = reinterpret_cast<uint8_t*>(result->mStringPool + cur_string_pool_offset); in ExtractFromSource()
349 result->mCompileCommandLine = writeString(compileCommandLineToEmbed, result->mStringPool, in ExtractFromSource()
[all …]
DRSInfo.cpp91 RSInfo::RSInfo(size_t pStringPoolSize) : mStringPool(NULL) { in RSInfo()
107 mStringPool = new (std::nothrow) char [ mHeader.strPoolSize ]; in RSInfo()
108 if (mStringPool == NULL) { in RSInfo()
112 ::memset(mStringPool, 0, mHeader.strPoolSize); in RSInfo()
120 delete [] mStringPool; in ~RSInfo()
218 return &mStringPool[ pStrIdx ]; in getStringFromPool()
224 if ((mStringPool + mHeader.strPoolSize) < pStr) { in getStringIdxInPool()
228 return (pStr - mStringPool); in getStringIdxInPool()
DRSInfoReader.cpp243 if (result->mStringPool == NULL) { in ReadFromFile()
248 ::memcpy(result->mStringPool, data + result->mHeader.headerSize, in ReadFromFile()
DRSInfoWriter.cpp167 if (static_cast<size_t>(pOutput.write(mStringPool, mHeader.strPoolSize)) in write()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java152 private String[] mStringPool; field in UsageEvents
162 mStringPool = in.createStringArray(); in UsageEvents()
187 mStringPool = stringPool; in UsageEvents()
239 final int index = Arrays.binarySearch(mStringPool, str); in findStringIndex()
279 eventOut.mPackage = mStringPool[packageIndex]; in readEventFromParcel()
286 eventOut.mClass = mStringPool[classIndex]; in readEventFromParcel()
311 dest.writeStringArray(mStringPool); in writeToParcel()
/frameworks/compile/libbcc/include/bcc/Renderscript/
DRSInfo.h171 char *mStringPool; variable