Home
last modified time | relevance | path

Searched refs:pString (Results 1 – 7 of 7) sorted by relevance

/frameworks/compile/mclinker/lib/Script/
DStrToken.cpp26 StrToken::StrToken(Kind pKind, const std::string& pString) in StrToken() argument
27 : m_Kind(pKind), m_Name(pString) in StrToken()
35 StrToken* StrToken::create(const std::string& pString) in create() argument
38 new (result) StrToken(String, pString); in create()
/frameworks/compile/libbcc/lib/Renderscript/
DRSInfoExtractor.cpp56 inline llvm::StringRef getStringFromOperand(const llvm::Value *pString) { in getStringFromOperand() argument
57 if ((pString != NULL) && (pString->getValueID() == llvm::Value::MDStringVal)) { in getStringFromOperand()
58 return static_cast<const llvm::MDString *>(pString)->getString(); in getStringFromOperand()
92 const char *writeString(const llvm::StringRef &pString, char *pStringPool, in writeString() argument
94 if (pString.empty()) { in writeString()
100 ::memcpy(pStringWriteStart, pString.data(), pString.size()); in writeString()
102 pStringWriteStart[ pString.size() ] = '\0'; in writeString()
104 *pWriteStart += (pString.size() + 1); in writeString()
/frameworks/compile/mclinker/include/mcld/Script/
DStrToken.h38 StrToken(Kind pKind, const std::string& pString);
53 static StrToken* create(const std::string& pString);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c448 static FwdLockConv_Status_t FwdLockConv_StringAppend(FwdLockConv_String_t *pString, int ch) { in FwdLockConv_StringAppend() argument
449 if (pString->length == pString->maxLength) { in FwdLockConv_StringAppend()
450 size_t newMaxLength = pString->maxLength + pString->lengthIncrement; in FwdLockConv_StringAppend()
451 char *newPtr = realloc(pString->ptr, newMaxLength + 1); in FwdLockConv_StringAppend()
455 pString->ptr = newPtr; in FwdLockConv_StringAppend()
456 pString->maxLength = newMaxLength; in FwdLockConv_StringAppend()
458 pString->ptr[pString->length++] = ch; in FwdLockConv_StringAppend()
459 pString->ptr[pString->length] = '\0'; in FwdLockConv_StringAppend()
/frameworks/compile/mclinker/include/mcld/ADT/
DStringHash.h278 uint32_t operator()(const llvm::StringRef& pString) const
283 for (idx = 0; idx < pString.size(); ++idx) {
284 int cur_char = pString[idx];
/frameworks/compile/mclinker/lib/LD/
DNamePool.cpp119 llvm::StringRef NamePool::insertString(const llvm::StringRef& pString) in insertString() argument
122 ResolveInfo* resolve_info = m_Table.insert(pString, exist); in insertString()
/frameworks/compile/mclinker/include/mcld/LD/
DNamePool.h92 llvm::StringRef insertString(const llvm::StringRef& pString);