Home
last modified time | relevance | path

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

/frameworks/base/media/jni/mediaeditor/
DVideoEditorJava.cpp319 void* pString = M4OSA_NULL; in videoEditJava_getString() local
358 pString = videoEditOsal_alloc(pResult, pEnv, length, "String"); in videoEditJava_getString()
362 result = M4OSA_chrNCopy((M4OSA_Char*)pString, pLocal, length); in videoEditJava_getString()
372 videoEditOsal_free(pString); in videoEditJava_getString()
373 pString = M4OSA_NULL; in videoEditJava_getString()
398 return(pString); in videoEditJava_getString()
538 const char* pString = M4OSA_NULL; in videoEditJava_getConstantClassString() local
543 ((M4OSA_NULL == pString) && (index < pClass->count)); in videoEditJava_getConstantClassString()
550 pString = pClass->pConstants[index].pDescription; in videoEditJava_getConstantClassString()
555 if (M4OSA_NULL == pString) in videoEditJava_getConstantClassString()
[all …]
DVideoEditorOsal.cpp229 const char* pString = M4OSA_NULL; in videoEditOsal_getResultString() local
234 ((M4OSA_NULL == pString) && (index < gkRESULTS_COUNT)); in videoEditOsal_getResultString()
241 pString = gkRESULTS[index].pName; in videoEditOsal_getResultString()
246 if (M4OSA_NULL == pString) in videoEditOsal_getResultString()
251 pString = string; in videoEditOsal_getResultString()
255 return(pString); in videoEditOsal_getResultString()
DVideoEditorThumbnailMain.cpp157 const M4OSA_Char *pString, in ThumbnailOpen() argument
165 CHECK_PTR(ThumbnailOpen, pString, err, M4ERR_BAD_CONTEXT); in ThumbnailOpen()
180 &pContext->m_pVideoBrowser, pString) ; in ThumbnailOpen()
193 err = videoBrowserCreate(&pContext->m_pVideoBrowser, (M4OSA_Char*)pString, in ThumbnailOpen()
DVideoEditorThumbnailMain.h37 const M4OSA_Char *pString,
DVideoEditorMain.cpp1025 const char *pString = pEnv->GetStringUTFChars(filePath, NULL); in videoEditor_renderMediaItemPreviewFrame() local
1026 if (pString == M4OSA_NULL) { in videoEditor_renderMediaItemPreviewFrame()
1034 result = ThumbnailOpen(&tnContext,(const M4OSA_Char*)pString, M4OSA_TRUE); in videoEditor_renderMediaItemPreviewFrame()
1130 if (pString != NULL) { in videoEditor_renderMediaItemPreviewFrame()
1131 pEnv->ReleaseStringUTFChars(filePath, pString); in videoEditor_renderMediaItemPreviewFrame()
2203 const char *pString = env->GetStringUTFChars(path, NULL); in videoEditor_getPixels()
2204 if (pString == M4OSA_NULL) { in videoEditor_getPixels()
2211 err = ThumbnailOpen(&mContext,(const M4OSA_Char*)pString, M4OSA_FALSE); in videoEditor_getPixels()
2213 if (pString != NULL) { in videoEditor_getPixels()
2214 env->ReleaseStringUTFChars(path, pString); in videoEditor_getPixels()
[all …]
/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()
91 const char *writeString(const llvm::StringRef &pString, char *pStringPool, in writeString() argument
93 if (pString.empty()) { in writeString()
99 ::memcpy(pStringWriteStart, pString.data(), pString.size()); in writeString()
101 pStringWriteStart[ pString.size() ] = '\0'; in writeString()
103 *pWriteStart += (pString.size() + 1); in writeString()
/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/lib/Object/
DSectionMap.cpp113 unsigned int SectionMap::hash(const std::string& pString) in hash() argument
116 return hash_func(pString); in hash()
/frameworks/compile/mclinker/include/mcld/ADT/
DStringHash.h280 uint32_t operator()(const llvm::StringRef& pString) const
285 for (idx = 0; idx < pString.size(); ++idx) {
286 int cur_char = pString[idx];
/frameworks/compile/mclinker/lib/LD/
DNamePool.cpp118 llvm::StringRef NamePool::insertString(const llvm::StringRef& pString) in insertString() argument
121 ResolveInfo* resolve_info = m_Table.insert(pString, exist); in insertString()
/frameworks/compile/mclinker/include/mcld/Object/
DSectionMap.h77 static unsigned int hash(const std::string& pString);
/frameworks/compile/mclinker/include/mcld/LD/
DNamePool.h87 llvm::StringRef insertString(const llvm::StringRef& pString);