/frameworks/base/media/jni/mediaeditor/ |
D | VideoEditorJava.cpp | 319 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 …]
|
D | VideoEditorOsal.cpp | 229 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()
|
D | VideoEditorThumbnailMain.cpp | 157 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()
|
D | VideoEditorThumbnailMain.h | 37 const M4OSA_Char *pString,
|
D | VideoEditorMain.cpp | 1025 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/ |
D | RSInfoExtractor.cpp | 56 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/ |
D | FwdLockConv.c | 448 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/ |
D | SectionMap.cpp | 113 unsigned int SectionMap::hash(const std::string& pString) in hash() argument 116 return hash_func(pString); in hash()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | StringHash.h | 280 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/ |
D | NamePool.cpp | 118 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/ |
D | SectionMap.h | 77 static unsigned int hash(const std::string& pString);
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | NamePool.h | 87 llvm::StringRef insertString(const llvm::StringRef& pString);
|